You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

intro.js

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

intro.js - npm Package Compare versions

Comparing version

to
8.2.0-beta.1

src/packages/hint/components/HintTooltip.test.d.ts

8

intro.module.js
/*!
* Intro.js v8.1.0-beta.1
* Intro.js v8.2.0-beta.1
* https://introjs.com
*
* Copyright (C) 2012-2024 Afshin Mehrabani (@afshinmeh).
* Copyright (C) 2012-2025 Afshin Mehrabani (@afshinmeh).
* https://introjs.com
*
* Date: Wed, 11 Sep 2024 20:44:03 GMT
* Date: Mon, 21 Apr 2025 09:09:19 GMT
*/
function t(){t=function(){return e};var e={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function c(t,e,n,r){var o=e&&e.prototype instanceof d?e:d,a=Object.create(o.prototype),s=new O(r||[]);return i(a,"_invoke",{value:x(t,n,s)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=c;var h={};function d(){}function v(){}function p(){}var g={};u(g,a,(function(){return this}));var b=Object.getPrototypeOf,m=b&&b(b(E([])));m&&m!==n&&r.call(m,a)&&(g=m);var y=p.prototype=d.prototype=Object.create(g);function w(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function n(i,o,a,s){var l=f(t[i],t,o);if("throw"!==l.type){var u=l.arg,c=u.value;return c&&"object"==typeof c&&r.call(c,"__await")?e.resolve(c.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(c).then((function(t){u.value=t,a(u)}),(function(t){return n("throw",t,a,s)}))}s(l.arg)}var o;i(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,i){n(t,r,e,i)}))}return o=o?o.then(i,i):i()}})}function x(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return A()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=f(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===h)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function S(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var i=f(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,h;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,h):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,h)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function E(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:A}}function A(){return{value:void 0,done:!0}}return v.prototype=p,i(y,"constructor",{value:p,configurable:!0}),i(p,"constructor",{value:v,configurable:!0}),v.displayName=u(p,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,u(t,l,"GeneratorFunction")),t.prototype=Object.create(y),t},e.awrap=function(t){return{__await:t}},w(k.prototype),u(k.prototype,s,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new k(c(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(y),u(y,l,"Generator"),u(y,a,(function(){return this})),u(y,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=E,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(_),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),l=r.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,h):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),_(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;_(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:E(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},e}function e(t){return e="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},e(t)}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(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,y(r.key),r)}}function i(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function o(t,e,n){return(e=y(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},a(t)}function s(t,e){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},s(t,e)}function l(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function u(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=a(t);if(e){var i=a(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return l(this,n)}}function c(t,e){return d(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(t,e)||p(t,e)||b()}function f(t){return d(t)||v(t)||p(t)||b()}function h(t){return function(t){if(Array.isArray(t))return g(t)}(t)||v(t)||p(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(t){if(Array.isArray(t))return t}function v(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function p(t,e){if(t){if("string"==typeof t)return g(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(t,e):void 0}}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function b(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=p(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function y(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}function w(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}function k(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{l(r.next(t))}catch(t){o(t)}}function s(t){try{l(r.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}l((r=r.apply(t,e||[])).next())}))}function x(t){if(null===t||"object"!==e(t)||"nodeType"in t)return t;var n={};for(var r in t)"jQuery"in window&&window.jQuery&&t[r]instanceof window.jQuery?n[r]=t[r]:n[r]=x(t[r]);return n}"function"==typeof SuppressedError&&SuppressedError;var S=function(t,e){return(null!=e?e:document).querySelector(t)},C=function(t,e){return(null!=e?e:document).querySelectorAll(t)},_=function(t){t.setHints([]);var e=t.getTargetElement(),n=t.getOption("hints");if(n&&n.length>0){var r,i=m(n);try{for(i.s();!(r=i.n()).done;){var o=x(r.value);"string"==typeof o.element&&(o.element=S(o.element)),o.hintPosition=o.hintPosition||t.getOption("hintPosition"),o.hintAnimation=o.hintAnimation||t.getOption("hintAnimation"),null!==o.element&&t.addHint(o)}}catch(t){i.e(t)}finally{i.f()}}else{var a=Array.from(C("*[".concat("data-hint","]"),e));if(!a||!a.length)return!1;for(var s=0,l=a;s<l.length;s++){var u=l[s],c=u.getAttribute("data-hint-position"),f=t.getOption("hintAnimation");c&&(f="true"===c),t.addHint({element:u,hint:u.getAttribute("data-hint")||"",hintPosition:u.getAttribute("data-hint-position")||t.getOption("hintPosition"),hintAnimation:f,tooltipClass:u.getAttribute("data-tooltip-class")||void 0,position:u.getAttribute("data-position")||t.getOption("tooltipPosition")})}}return!0};function O(t,e,n){return t[e]=n,t}function E(t,e){for(var n=0,r=Object.entries(e);n<r.length;n++){var i=c(r[n],2);t=O(t,i[0],i[1])}return t}var A=function(t){return"function"==typeof t};var P,j,L,N,T,H=new(function(){function t(){n(this,t)}return i(t,[{key:"on",value:function(t,e,n,r){"addEventListener"in t?t.addEventListener(e,n,r):"attachEvent"in t&&t.attachEvent("on".concat(e),n)}},{key:"off",value:function(t,e,n,r){"removeEventListener"in t?t.removeEventListener(e,n,r):"detachEvent"in t&&t.detachEvent("on".concat(e),n)}}]),t}()),R=function(t){return t?"string"==typeof t?function(t,e){var n=S(t,e);if(!n)throw new Error("Element with selector ".concat(t," not found"));return n}(t):t:document.body};function B(e,n){var r;return k(this,void 0,void 0,t().mark((function i(){var o;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(o=n.isActive)&&(o.val=!1),e.hideHintDialog(),null===(r=e.callback("hintClose"))||void 0===r||r.call(e,n);case 4:case"end":return t.stop()}}),i)})))}function D(e){return k(this,void 0,void 0,t().mark((function n(){var r,i,o;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=m(e.getHints()),t.prev=1,r.s();case 3:if((i=r.n()).done){t.next=9;break}return o=i.value,t.next=7,B(e,o);case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),r.e(t.t0);case 14:return t.prev=14,r.f(),t.finish(14);case 17:case"end":return t.stop()}}),n,null,[[1,11,14,17]])})))}function I(e){return k(this,void 0,void 0,t().mark((function n(){var r,i;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.isRendered()){t.next=5;break}r=m(e.getHints());try{for(r.s();!(i=r.n()).done;)V(i.value)}catch(t){r.e(t)}finally{r.f()}t.next=7;break;case 5:return t.next=7,e.render();case 7:case"end":return t.stop()}}),n)})))}function V(t){var e=t.isActive;e&&(e.val=!0)}var F=Object,z=document,G=F.getPrototypeOf,W={isConnected:1},J={},M=G(W),K=Function.prototype,Y=function(t,e,n,r){return void 0===t&&(setTimeout(n,r),t=new Set),t.add(e),t},Q=function(t,e,n){var r=L;L=e;try{return t(n)}catch(t){return console.error(t),n}finally{L=r}},q=function(t){return t.filter((function(t){var e;return null===(e=t._dom)||void 0===e?void 0:e.isConnected}))},U=function(t){T=Y(T,t,(function(){if(T){var t,e=m(T);try{for(e.s();!(t=e.n()).done;){var n=t.value;n._bindings=q(n._bindings),n._listeners=q(n._listeners)}}catch(t){e.e(t)}finally{e.f()}T=undefined}}),1e3)},X={get val(){var t;return null===(t=null==L?void 0:L._getters)||void 0===t||t.add(this),this.rawVal},get oldVal(){var t;return null===(t=null==L?void 0:L._getters)||void 0===t||t.add(this),this._oldVal},set val(t){var e,n=this;null===(e=null==L?void 0:L._setters)||void 0===e||e.add(n),t!==n.rawVal&&(n.rawVal=t,n._bindings.length+n._listeners.length?(null==j||j.add(n),P=Y(P,n,st)):n._oldVal=t)}},Z=function(t){return{writable:!0,configurable:!0,enumerable:!0,value:t}},$=function(t){return F.create(X,{rawVal:Z(t),_oldVal:Z(t),_bindings:Z([]),_listeners:Z([])})},tt=function(t,e){var n={_getters:new Set,_setters:new Set},r={f:t},i=N;N=[];var o=Q(t,n,e);o=(null!=o?o:z).nodeType?o:new Text(o);var a,s=m(n._getters);try{for(s.s();!(a=s.n()).done;){var l=a.value;n._setters.has(l)||(U(l),l._bindings.push(r))}}catch(t){s.e(t)}finally{s.f()}var u,c=m(N);try{for(c.s();!(u=c.n()).done;){u.value._dom=o}}catch(t){c.e(t)}finally{c.f()}return N=i,r._dom=o},et=function(t,e,n){var r;e=null!=e?e:$();var i={_getters:new Set,_setters:new Set},o={f:t,s:e};o._dom=null!==(r=null!=n?n:null==N?void 0:N.push(o))&&void 0!==r?r:W,e.val=Q(t,i,e.rawVal);var a,s=m(i._getters);try{for(s.s();!(a=s.n()).done;){var l=a.value;i._setters.has(l)||(U(l),l._listeners.push(o))}}catch(t){s.e(t)}finally{s.f()}return e},nt=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i,o=m(n.flat(1/0));try{var a=function(){var e=i.value,n=G(null!=e?e:0),r=n===X?tt((function(){return e.val})):n===K?tt(e):e;null!=r&&t.append(r)};for(o.s();!(i=o.n()).done;)a()}catch(t){o.e(t)}finally{o.f()}return t},rt=function(t,e){for(var n,r,i,o,a=arguments.length,s=new Array(a>2?a-2:0),l=2;l<a;l++)s[l-2]=arguments[l];var u,d=G(null!==(n=s[0])&&void 0!==n?n:0)===M?s:[{}].concat(s),v=f(d),p=v[0],g=v.slice(1),b=t?z.createElementNS(t,e):z.createElement(e),y=m(F.entries(p));try{var w=function(){var t=c(u.value,2),n=t[0],a=t[1],s="".concat(e,",").concat(n),l=null!==(r=J[s])&&void 0!==r?r:J[s]=null!==(o=null===(i=function t(e){var r;return e?null!==(r=F.getOwnPropertyDescriptor(e,n))&&void 0!==r?r:t(G(e)):undefined}(G(b)))||void 0===i?void 0:i.set)&&void 0!==o?o:0,f=n.startsWith("on")?function(t,e){var r=n.slice(2);e&&b.removeEventListener(r,e),b.addEventListener(r,t)}:l?l.bind(b):b.setAttribute.bind(b,n),h=G(null!=a?a:0);n.startsWith("on")||h===K&&(a=et(a),h=X),h===X?tt((function(){return f(a.val,a._oldVal),b})):f(a)};for(y.s();!(u=y.n()).done;)w()}catch(t){y.e(t)}finally{y.f()}return nt.apply(void 0,[b].concat(h(g)))},it=function(t){return{get:function(e,n){return rt.bind(undefined,null!=t?t:null,n)}}},ot=new Proxy((function(t){return new Proxy(rt,it(t))}),it()),at=function(t,e){e?e!==t&&t.replaceWith(e):t.remove()},st=function(){var t=0,e=P?h(P).filter((function(t){return t.rawVal!==t._oldVal})):[];do{j=new Set;var n,r=m(new Set(e.flatMap((function(t){return t._listeners=q(t._listeners)}))));try{for(r.s();!(n=r.n()).done;){var i=n.value;et(i.f,i.s,i._dom),i._dom=undefined}}catch(t){r.e(t)}finally{r.f()}}while(++t<100&&(e=h(j)).length);var o=P?h(P).filter((function(t){return t.rawVal!==t._oldVal})):[];P=undefined;var a,s=m(new Set(o.flatMap((function(t){return t._bindings=q(t._bindings)}))));try{for(s.s();!(a=s.n()).done;){var l=a.value;l._dom&&at(l._dom,tt(l.f,l._dom)),l._dom=undefined}}catch(t){s.e(t)}finally{s.f()}var u,c=m(o);try{for(c.s();!(u=c.n()).done;){var f=u.value;f._oldVal=f.rawVal}}catch(t){c.e(t)}finally{c.f()}},lt={add:nt,tags:ot,state:$,derive:et,hydrate:function(t,e){return at(t,tt(e,t))}},ut="introjs-hints";function ct(t,e){var n="";return"currentStyle"in t?n=t.currentStyle[e]:document.defaultView&&document.defaultView.getComputedStyle&&(n=document.defaultView.getComputedStyle(t,null).getPropertyValue(e)),n&&n.toLowerCase?n.toLowerCase():n}function ft(t){var e=t.parentElement;return!(!e||"HTML"===e.nodeName)&&("fixed"===ct(t,"position")||ft(e))}function ht(t,e){var n=document.body,r=document.documentElement,i=window.pageYOffset||r.scrollTop||n.scrollTop,o=window.pageXOffset||r.scrollLeft||n.scrollLeft;e=e||n;var a=t.getBoundingClientRect(),s=e.getBoundingClientRect(),l=ct(e,"position"),u={top:0,left:0};return u="body"!==e.tagName.toLowerCase()&&"relative"===l||"sticky"===l?Object.assign(u,{top:a.top-s.top,left:a.left-s.left}):ft(t)?Object.assign(u,{top:a.top,left:a.left}):Object.assign(u,{top:a.top+i,left:a.left+o}),Object.assign(Object.assign({},u),{width:a.width,height:a.height,bottom:u.top+a.height,right:u.left+a.width,absoluteTop:a.top,absoluteLeft:a.left,absoluteBottom:a.bottom,absoluteRight:a.right})}var dt=lt.tags,vt=dt.a,pt=dt.div,gt=function(t){var e,n=t.index,r=t.hintItem,i=t.onClick,a=t.refreshesSignal,s=vt((o(e={},"data-step",n.toString()),o(e,"className",(function(){return function(t){var e,n=["introjs-hint"];return t.hintAnimation||n.push("introjs-hint-no-anim"),ft(t.element)&&n.push("introjs-fixedhint"),(null===(e=t.isActive)||void 0===e?void 0:e.val)||n.push("introjs-hidehint"),n.join(" ")}(r)})),o(e,"role","button"),o(e,"tabindex",0),o(e,"onclick",i),e),pt({className:"introjs-hint-dot"}),pt({className:"introjs-hint-pulse"}));return lt.derive((function(){void 0!==a.val&&function(t,e,n){if(void 0!==n){var r=ht(n),i=20,o=20;switch(t){default:case"top-left":e.style.left="".concat(r.left,"px"),e.style.top="".concat(r.top,"px");break;case"top-right":e.style.left="".concat(r.left+r.width-i,"px"),e.style.top="".concat(r.top,"px");break;case"bottom-left":e.style.left="".concat(r.left,"px"),e.style.top="".concat(r.top+r.height-o,"px");break;case"bottom-right":e.style.left="".concat(r.left+r.width-i,"px"),e.style.top="".concat(r.top+r.height-o,"px");break;case"middle-left":e.style.left="".concat(r.left,"px"),e.style.top="".concat(r.top+(r.height-o)/2,"px");break;case"middle-right":e.style.left="".concat(r.left+r.width-i,"px"),e.style.top="".concat(r.top+(r.height-o)/2,"px");break;case"middle-middle":e.style.left="".concat(r.left+(r.width-i)/2,"px"),e.style.top="".concat(r.top+(r.height-o)/2,"px");break;case"bottom-middle":e.style.left="".concat(r.left+(r.width-i)/2,"px"),e.style.top="".concat(r.top+r.height-o,"px");break;case"top-middle":e.style.left="".concat(r.left+(r.width-i)/2,"px"),e.style.top="".concat(r.top,"px")}}}(r.hintPosition,s,r.element)})),s},bt=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i];if(t instanceof SVGElement){var s=t.getAttribute("class")||"";s.match(a)||mt(t,s,a)}else void 0!==t.classList?t.classList.add(a):t.className.match(a)||mt(t,t.className,a)}},mt=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=n.filter(Boolean).join(" ");t instanceof SVGElement?t.setAttribute("class",i):void 0!==t.classList?t.classList.value=i:t.className=i},yt=function(t,e){if(t instanceof SVGElement){var n=t.getAttribute("class")||"";t.setAttribute("class",n.replace(e,"").replace(/\s\s+/g," ").trim())}else t.className=t.className.replace(e,"").replace(/\s\s+/g," ").trim()},wt=function(t){var e="";for(var n in t)e+="".concat(n,":").concat(t[n],";");return e};var kt=function(t,e,n,r){var i=function(t,e,n,r){if(e&&t&&n){n instanceof Element&&ft(n)?bt(e,"introjs-fixedTooltip"):yt(e,"introjs-fixedTooltip");var i=ht(n,t);return{width:"".concat(i.width+r,"px"),height:"".concat(i.height+r,"px"),top:"".concat(i.top-r/2,"px"),left:"".concat(i.left-r/2,"px")}}}(t,e,n,r);i&&function(t,e){var n="";t.style.cssText&&(n+=t.style.cssText),n+="string"==typeof e?e:wt(e),t.style.cssText=n}(e,i)};function xt(){if(void 0!==window.innerWidth)return{width:window.innerWidth,height:window.innerHeight};var t=document.documentElement;return{width:t.clientWidth,height:t.clientHeight}}function St(t,e){t.includes(e)&&t.splice(t.indexOf(e),1)}function Ct(t,e,n,r,i,o){var a=t.slice();r+=10,n+=20;var s="floating";if(e.absoluteBottom+r>o.height&&St(a,"bottom"),e.absoluteTop-r<0&&St(a,"top"),e.absoluteRight+n>o.width&&St(a,"right"),e.absoluteLeft-n<0&&St(a,"left"),i&&(i=i.split("-")[0]),a.length&&(s=a[0],a.includes(i)&&(s=i)),"top"===s||"bottom"===s){var l,u=[];"top"===s?(l="top-middle-aligned",u=["top-left-aligned","top-middle-aligned","top-right-aligned"]):(l="bottom-middle-aligned",u=["bottom-left-aligned","bottom-middle-aligned","bottom-right-aligned"]),s=function(t,e,n,r){var i=e/2,o=Math.min(n,window.screen.width);return o-t<e&&(St(r,"top-left-aligned"),St(r,"bottom-left-aligned")),(t<i||o-t<i)&&(St(r,"top-middle-aligned"),St(r,"bottom-middle-aligned")),t<e&&(St(r,"top-right-aligned"),St(r,"bottom-right-aligned")),r.length?r[0]:null}(e.absoluteLeft,n,o.width,u)||l}return s}var _t=lt.tags.div;function Ot(t,e,n,r,i){return t.left+t.width-e-n<0?(r.val="-".concat(t.left,"px"),!1):(i.val="".concat(e,"px"),!0)}function Et(t,e,n,r,i){return t.left+n+r>e.width?(i.val="".concat(e.width-r-t.left,"px"),!1):(i.val="".concat(n,"px"),!0)}var At=function(t,e){var n=t.position,r=t.element,i=t.refreshes,o=t.hintMode,a=void 0!==o&&o,s=t.showStepNumbers,l=void 0!==s&&s,u=t.transitionDuration,c=void 0===u?0:u,f=t.autoPosition,h=void 0===f||f,d=t.positionPrecedence,v=void 0===d?[]:d,p=t.onClick,g=lt.state("auto"),b=lt.state("auto"),m=lt.state("auto"),y=lt.state("auto"),w=lt.state("0"),k=lt.state("0"),x=lt.state(0),S=lt.state(250),C=lt.state(300),_=lt.state(n),O=lt.state(xt()),E=lt.state(ht(r)),A=lt.derive((function(){return E.val.top+S.val>O.val.height}));lt.derive((function(){void 0!==i.val&&(O.val=xt(),E.val=ht(r))})),lt.derive((function(){void 0!==_.val&&"floating"!==n&&h&&C.val&&S.val&&E.val&&O.val&&(_.val=Ct(v,E.val,C.val,S.val,n,O.val))})),lt.derive((function(){void 0!==C.val&&void 0!==S.val&&void 0!==A.val&&void 0!==_.val&&void 0!==E.val&&void 0!==O.val&&function(t,e,n,r,i,o,a,s,l,u,c,f,h,d){o.val="auto",a.val="auto",s.val="auto",l.val="auto",u.val="0",c.val="0";var v=e.width/2-r/2;switch(t){case"top-right-aligned":var p=0;Ot(e,p,r,s,l),a.val="".concat(e.height+20,"px");break;case"top-middle-aligned":d&&(v+=5),Ot(e,v,r,s,l)&&(l.val=void 0,Et(e,n,v,r,s)),a.val="".concat(e.height+20,"px");break;case"top-left-aligned":case"top":Et(e,n,d?0:15,r,s),a.val="".concat(e.height+20,"px");break;case"right":s.val="".concat(e.width+20,"px"),f.val&&(o.val="-".concat(i-e.height-20,"px"));break;case"left":d||!0!==h||(o.val="15px"),f.val&&(o.val="-".concat(i-e.height-20,"px")),l.val="".concat(e.width+20,"px");break;case"floating":s.val="50%",o.val="50%",u.val="-".concat(r/2,"px"),c.val="-".concat(i/2,"px");break;case"bottom-right-aligned":Ot(e,p=0,r,s,l),o.val="".concat(e.height+20,"px");break;case"bottom-middle-aligned":d&&(v+=5),Ot(e,v,r,s,l)&&(l.val="",Et(e,n,v,r,s)),o.val="".concat(e.height+20,"px");break;default:Et(e,n,0,r,s),o.val="".concat(e.height+20,"px")}}(_.val,E.val,O.val,C.val,S.val,g,m,y,b,w,k,A,l,a)}));var P,j,L=_t({style:function(){return"top: ".concat(g.val,"; right: ").concat(b.val,"; bottom: ").concat(m.val,"; left: ").concat(y.val,"; margin-left: ").concat(w.val,"; margin-top: ").concat(k.val,";opacity: ").concat(x.val)},className:function(){return"".concat("introjs-tooltip"," introjs-").concat(_.val)},role:"dialog",onclick:null!=p?p:null},[(P={tooltipPosition:_,tooltipBottomOverflow:A},j=lt.derive((function(){var t=["introjs-arrow"];switch(P.tooltipPosition.val){case"top-right-aligned":t.push("bottom-right");break;case"top-middle-aligned":t.push("bottom-middle");break;case"top-left-aligned":case"top":t.push("bottom");break;case"right":P.tooltipBottomOverflow.val?t.push("left-bottom"):t.push("left");break;case"left":P.tooltipBottomOverflow.val?t.push("right-bottom"):t.push("right");break;case"floating":break;case"bottom-right-aligned":t.push("top-right");break;case"bottom-middle-aligned":t.push("top-middle");break;default:t.push("top")}return t})),_t({className:function(){var t;return null===(t=j.val)||void 0===t?void 0:t.filter(Boolean).join(" ")},style:function(){return"display: ".concat("floating"===P.tooltipPosition.val?"none":"block",";")}})),[e]]);return setTimeout((function(){x.val=1}),c),setTimeout((function(){S.val=L.offsetHeight,C.val=L.offsetWidth}),1),L},Pt=lt.tags,jt=Pt.a,Lt=Pt.p,Nt=Pt.div,Tt=lt.tags.div,Ht=function(t){var e=t.activeHintSignal,n=t.targetElement,r=t.helperElementPadding,i=w(t,["activeHintSignal","targetElement","helperElementPadding"]),a=e.val;return function(){var t;if(null==e.val)return null;if(a!==e.val)return null;var s=Tt((o(t={},"data-step",e.val),o(t,"className","".concat("introjs-tooltipReferenceLayer"," ").concat("introjs-hintReference")),t),function(t){var e=t.hintItem,n=t.closeButtonEnabled,r=t.closeButtonOnClick,i=t.closeButtonLabel,o=t.closeButtonClassName,a=w(t,["hintItem","closeButtonEnabled","closeButtonOnClick","closeButtonLabel","closeButtonClassName"]);return At(Object.assign(Object.assign({},a),{element:e.hintTooltipElement,position:e.position,hintMode:!0,onClick:function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0}}),[Nt({className:"introjs-tooltiptext"},Lt(e.hint||""),n?jt({className:o,role:"button",onclick:function(){return r(e)}},i):null)])}(i));return setTimeout((function(){kt(n,s,i.hintItem.hintTooltipElement,r)}),1),s}},Rt=lt.tags.div,Bt=function(t,e){return function(n){var r=n||window.event;r&&r.stopPropagation&&r.stopPropagation(),r&&null!==r.cancelBubble&&(r.cancelBubble=!0),t.showHintDialog(e)}},Dt=function(){function e(t,r){n(this,e),this._hints=[],this._activeHintSignal=lt.state(void 0),this._refreshesSignal=lt.state(0),this.callbacks={},this._targetElement=R(t),this._options=r?E(this._options,r):{hints:[],isActive:!0,tooltipPosition:"bottom",tooltipClass:"",hintPosition:"top-middle",hintButtonLabel:"Got it",hintShowButton:!0,hintAutoRefreshInterval:10,hintAnimation:!0,buttonClass:"introjs-button",helperElementPadding:10,autoPosition:!0,positionPrecedence:["bottom","top","right","left"]}}return i(e,[{key:"callback",value:function(t){var e=this.callbacks[t];if(A(e))return e}},{key:"getTargetElement",value:function(){return this._targetElement}},{key:"getHints",value:function(){return this._hints}},{key:"getHint",value:function(t){return this._hints[t]}},{key:"setHints",value:function(t){return this._hints=t,this}},{key:"addHint",value:function(t){return t.isActive=lt.state(!0),this._hints.push(t),this}},{key:"getActiveHintSignal",value:function(){return this._activeHintSignal}},{key:"getRefreshesSignal",value:function(){return this._refreshesSignal}},{key:"isRendered",value:function(){return void 0!==this._root}},{key:"createRoot",value:function(){this._root=function(t){var e,n=t.hint,r=[],i=m(n.getHints().entries());try{for(i.s();!(e=i.n()).done;){var o=c(e.value,2),a=o[0],s=o[1],l=gt({index:a,hintItem:s,onClick:Bt(n,a),refreshesSignal:n.getRefreshesSignal()});s.hintTooltipElement=l,r.push(l)}}catch(t){i.e(t)}finally{i.f()}var u=Rt.apply(void 0,[{className:ut}].concat(r));return lt.derive((function(){var t=n.getActiveHintSignal();if(void 0!==t.val){var e=t.val,r=n.getHints()[e];if(r){var i=Ht({activeHintSignal:t,hintItem:r,helperElementPadding:n.getOption("helperElementPadding"),targetElement:n.getTargetElement(),refreshes:n.getRefreshesSignal(),showStepNumbers:!1,autoPosition:n.getOption("autoPosition"),positionPrecedence:n.getOption("positionPrecedence"),closeButtonEnabled:n.getOption("hintShowButton"),closeButtonLabel:n.getOption("hintButtonLabel"),closeButtonClassName:n.getOption("buttonClass"),closeButtonOnClick:function(t){return B(n,t)}});lt.add(u,i)}}})),u}({hint:this}),lt.add(this._targetElement,this._root)}},{key:"recreateRoot",value:function(){this._root&&(this._root.remove(),this.createRoot())}},{key:"render",value:function(){var e;return k(this,void 0,void 0,t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isActive()){t.next=2;break}return t.abrupt("return",this);case 2:if(!this.isRendered()){t.next=4;break}return t.abrupt("return",this);case 4:return _(this),this.createRoot(),null===(e=this.callback("hintsAdded"))||void 0===e||e.call(this),this.enableHintAutoRefresh(),this.enableCloseDialogOnWindowClick(),t.abrupt("return",this);case 10:case"end":return t.stop()}}),n,this)})))}},{key:"enableCloseDialogOnWindowClick",value:function(){var t=this;this._windowClickFunction=function(){t._activeHintSignal.val=void 0},H.on(document,"click",this._windowClickFunction,!1)}},{key:"disableCloseDialogOnWindowClick",value:function(){this._windowClickFunction&&H.off(document,"click",this._windowClickFunction,!1)}},{key:"addHints",value:function(){return k(this,void 0,void 0,t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.render());case 1:case"end":return t.stop()}}),e,this)})))}},{key:"hideHint",value:function(e){return k(this,void 0,void 0,t().mark((function n(){var r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(r=this.getHint(e))){t.next=4;break}return t.next=4,B(this,r);case 4:return t.abrupt("return",this);case 5:case"end":return t.stop()}}),n,this)})))}},{key:"hideHints",value:function(){return k(this,void 0,void 0,t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,D(this);case 2:return t.abrupt("return",this);case 3:case"end":return t.stop()}}),e,this)})))}},{key:"showHint",value:function(t){var e=this.getHint(t);return e&&V(e),this}},{key:"showHints",value:function(){return k(this,void 0,void 0,t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,I(this);case 2:return t.abrupt("return",this);case 3:case"end":return t.stop()}}),e,this)})))}},{key:"destroy",value:function(){return this._root&&(this._root.remove(),this._root=void 0),this.disableHintAutoRefresh(),this.disableCloseDialogOnWindowClick(),this}},{key:"removeHints",value:function(){return this.destroy(),this}},{key:"removeHint",value:function(t){return this._hints=this._hints.filter((function(e,n){return n!==t})),this.recreateRoot(),this}},{key:"showHintDialog",value:function(e){var n;return k(this,void 0,void 0,t().mark((function r(){var i;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=this.getHint(e)){t.next=3;break}return t.abrupt("return");case 3:if(this._activeHintSignal.val===e){t.next=9;break}return this._activeHintSignal.val=e,t.next=7,null===(n=this.callback("hintClick"))||void 0===n?void 0:n.call(this,i);case 7:t.next=10;break;case 9:this._activeHintSignal.val=void 0;case 10:return t.abrupt("return",this);case 11:case"end":return t.stop()}}),r,this)})))}},{key:"hideHintDialog",value:function(){return this._activeHintSignal.val=void 0,this}},{key:"refresh",value:function(){return this.isRendered()?(void 0!==this._refreshesSignal.val&&(this._refreshesSignal.val+=1),this):this}},{key:"enableHintAutoRefresh",value:function(){var t,e,n,r=this,i=this.getOption("hintAutoRefreshInterval");return i>=0&&(this._hintsAutoRefreshFunction=(t=function(){return r.refresh()},e=i,function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];window.clearTimeout(n),n=window.setTimeout((function(){t(i)}),e)}),H.on(window,"scroll",this._hintsAutoRefreshFunction,!0),H.on(window,"resize",this._hintsAutoRefreshFunction,!0)),this}},{key:"disableHintAutoRefresh",value:function(){return this._hintsAutoRefreshFunction&&(H.off(window,"scroll",this._hintsAutoRefreshFunction,!0),H.on(window,"resize",this._hintsAutoRefreshFunction,!0),this._hintsAutoRefreshFunction=void 0),this}},{key:"getOption",value:function(t){return this._options[t]}},{key:"setOptions",value:function(t){return this._options=E(this._options,t),this}},{key:"setOption",value:function(t,e){return this._options=O(this._options,t,e),this}},{key:"clone",value:function(){return new e(this._targetElement,this._options)}},{key:"isActive",value:function(){return this.getOption("isActive")}},{key:"onHintsAdded",value:function(t){if(!A(t))throw new Error("Provided callback for onhintsadded was not a function.");return this.callbacks.hintsAdded=t,this}},{key:"onhintsadded",value:function(t){this.onHintsAdded(t)}},{key:"onHintClick",value:function(t){if(!A(t))throw new Error("Provided callback for onhintclick was not a function.");return this.callbacks.hintClick=t,this}},{key:"onhintclick",value:function(t){this.onHintClick(t)}},{key:"onHintClose",value:function(t){if(!A(t))throw new Error("Provided callback for onhintclose was not a function.");return this.callbacks.hintClose=t,this}},{key:"onhintclose",value:function(t){this.onHintClose(t)}}]),e}();function It(t){bt(t,"introjs-showElement");var e=ct(t,"position");"absolute"!==e&&"relative"!==e&&"sticky"!==e&&"fixed"!==e&&bt(t,"introjs-relativePosition")}function Vt(e,n){var r,i;return k(this,void 0,void 0,t().mark((function o(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return null===(r=e.callback("change"))||void 0===r||r.call(e,n.element),Ft(),It(n.element),t.next=5,null===(i=e.callback("afterChange"))||void 0===i?void 0:i.call(e,n.element);case 5:case"end":return t.stop()}}),o)})))}function Ft(){for(var t,e=0,n=Array.from(C(".".concat("introjs-showElement"),t));e<n.length;e++){var r=n[e];yt(r,/introjs-[a-zA-Z]+/g)}}function zt(e){var n,r;return k(this,void 0,void 0,t().mark((function i(){var o,a;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.incrementCurrentStep(),void 0!==(o=e.getCurrentStep())){t.next=4;break}return t.abrupt("return",!1);case 4:return a=e.getStep(o),!0,t.next=8,null===(n=e.callback("beforeChange"))||void 0===n?void 0:n.call(e,a&&a.element,e.getCurrentStep(),e.getDirection());case 8:if(!1!==t.sent){t.next=12;break}return e.decrementCurrentStep(),t.abrupt("return",!1);case 12:if(!e.isEnd()){t.next=18;break}return t.next=15,null===(r=e.callback("complete"))||void 0===r?void 0:r.call(e,e.getCurrentStep(),"end");case 15:return t.next=17,e.exit();case 17:return t.abrupt("return",!1);case 18:return t.next=20,Vt(e,a);case 20:return t.abrupt("return",!0);case 21:case"end":return t.stop()}}),i)})))}function Gt(e){var n;return k(this,void 0,void 0,t().mark((function r(){var i,o;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(void 0===(i=e.getCurrentStep())||i<=0)){t.next=3;break}return t.abrupt("return",!1);case 3:if(e.decrementCurrentStep(),void 0!==(i=e.getCurrentStep())){t.next=7;break}return t.abrupt("return",!1);case 7:return o=e.getStep(i),!0,t.next=11,null===(n=e.callback("beforeChange"))||void 0===n?void 0:n.call(e,o&&o.element,e.getCurrentStep(),e.getDirection());case 11:if(!1!==t.sent){t.next=15;break}return e.incrementCurrentStep(),t.abrupt("return",!1);case 15:return t.next=17,Vt(e,o);case 17:return t.abrupt("return",!0);case 18:case"end":return t.stop()}}),r)})))}var Wt=function(t){var e,n=[];if(null===(e=t.getOption("steps"))||void 0===e?void 0:e.length){var r,i=m(t.getOption("steps"));try{for(i.s();!(r=i.n()).done;){var o=x(r.value);o.step=n.length+1,o.title=o.title||"","string"==typeof o.element&&(o.element=S(o.element)||void 0),o.element||(o.element=t.appendFloatingElement(),o.position="floating"),o.position=o.position||t.getOption("tooltipPosition"),o.scrollTo=o.scrollTo||t.getOption("scrollTo"),void 0===o.disableInteraction&&(o.disableInteraction=t.getOption("disableInteraction")),null!==o.element&&n.push(o)}}catch(t){i.e(t)}finally{i.f()}}else{var a=Array.from(C("*[".concat("data-intro","]"),t.getTargetElement()));if(a.length<1)return[];for(var s=[],l=0,u=a;l<u.length;l++){var c=u[l];if((!t.getOption("group")||c.getAttribute("data-intro-group")===t.getOption("group"))&&"none"!==c.style.display){var f=parseInt(c.getAttribute("data-step")||"0",10),h=t.getOption("disableInteraction");c.hasAttribute("data-disable-interaction")&&(h=!!c.getAttribute("data-disable-interaction"));var d={step:f,element:c,title:c.getAttribute("data-title")||"",intro:c.getAttribute("data-intro")||"",tooltipClass:c.getAttribute("data-tooltip-class")||void 0,highlightClass:c.getAttribute("data-highlight-class")||void 0,position:c.getAttribute("data-position")||t.getOption("tooltipPosition"),scrollTo:c.getAttribute("data-scroll-to")||t.getOption("scrollTo"),disableInteraction:h};f>0?n[f-1]=d:s.push(d)}}for(var v=0;s.length>0;v++)if(void 0===n[v]){var p=s.shift();if(!p)break;p.step=v+1,n[v]=p}}return(n=n.filter((function(t){return t}))).sort((function(t,e){return t.step-e.step})),n};var Jt=function(e){return k(void 0,void 0,void 0,t().mark((function n(){var r,i;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.isActive()){t.next=2;break}return t.abrupt("return",!1);case 2:if(!e.hasStarted()){t.next=4;break}return t.abrupt("return",!1);case 4:return t.next=6,null===(r=e.callback("start"))||void 0===r?void 0:r.call(e,e.getTargetElement());case 6:if(0!==(i=Wt(e)).length){t.next=9;break}return t.abrupt("return",!1);case 9:return e.setSteps(i),t.next=12,zt(e);case 12:return t.abrupt("return",!0);case 13:case"end":return t.stop()}}),n)})))};function Mt(e){var n,r,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return k(this,void 0,void 0,t().mark((function o(){var a,s;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.getTargetElement(),s=!0,t.next=4,null===(n=e.callback("beforeExit"))||void 0===n?void 0:n.call(e,a);case 4:if(s=t.sent,i||!1!==s){t.next=7;break}return t.abrupt("return",!1);case 7:return Ft(),t.next=10,null===(r=e.callback("exit"))||void 0===r?void 0:r.call(e);case 10:return e.resetCurrentStep(),t.abrupt("return",!0);case 12:case"end":return t.stop()}}),o)})))}function Kt(t,e,n){var r,i=(o(r={},t,e),o(r,"path","/"),o(r,"expires",void 0),r);if(n){var a=new Date;a.setTime(a.getTime()+24*n*60*60*1e3),i.expires=a.toUTCString()}var s=[];for(var l in i)s.push("".concat(l,"=").concat(i[l]));return document.cookie=s.join("; "),Yt(t)}function Yt(t){return(e={},document.cookie.split(";").forEach((function(t){var n=c(t.split("="),2),r=n[0],i=n[1];e[r.trim()]=i})),e)[t];var e}function Qt(t,e,n){t?Kt(e,"true",n):Kt(e,"",-1)}var qt=function(t,e,n,r){kt(t,e,n.element,"floating"===n.position?0:r)};function Ut(t,e){if(t){var n=function(t){var e=window.getComputedStyle(t),n="absolute"===e.position,r=/(auto|scroll)/;if("fixed"===e.position)return document.body;for(var i=t;i=i.parentElement;)if(e=window.getComputedStyle(i),(!n||"static"!==e.position)&&r.test(e.overflow+e.overflowY+e.overflowX))return i;return document.body}(e);n!==document.body&&(n.scrollTop=e.offsetTop-n.offsetTop)}}function Xt(t,e,n,r,i){var o;if("off"!==e&&(t&&(o="tooltip"===e?i.getBoundingClientRect():r.getBoundingClientRect(),!function(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom+80<=window.innerHeight&&e.right<=window.innerWidth}(r)))){var a=xt().height;o.bottom-(o.bottom-o.top)<0||r.clientHeight>a?window.scrollBy(0,o.top-(a/2-o.height/2)-n):window.scrollBy(0,o.top-(a/2-o.height/2)+n)}}var Zt=lt.tags,$t=Zt.h1,te=Zt.div,ee=Zt.input,ne=Zt.label,re=Zt.ul,ie=Zt.li,oe=Zt.a,ae=function(t){var e=t.label,n=t.onClick,r=t.disabled,i=t.className;return oe({role:"button",tabIndex:0,ariaDisabled:null!=r&&r,onclick:n,className:null!=i?i:""},[e])},se=function(t){var e=t.steps,n=t.currentStep,r=t.buttonClass,i=t.nextToDone,o=t.doneLabel,a=t.hideNext,s=t.nextLabel,l=t.onNextClick,u=t.hidePrev,c=t.prevLabel,f=t.onPrevClick;return te({className:"introjs-tooltipbuttons"},e.length>1?function(t){var e=t.label,n=t.steps,r=t.currentStep,i=t.hidePrev,o=t.hideNext,a=t.onClick,s=t.buttonClass,l=0===r&&n.length>1,u=l&&!i,c=l&&i,f=(r===n.length-1||1===n.length)&&o;return ae({label:e,onClick:a,disabled:u,className:function(){var t=[s,"introjs-prevbutton"];return f&&t.push("introjs-fullbutton"),u&&t.push("introjs-disabled"),c&&t.push("introjs-hidden"),t.filter(Boolean).join(" ")}})}({label:c,steps:e,currentStep:n,hidePrev:u,hideNext:a,onClick:f,buttonClass:r}):null,function(t){var e=t.steps,n=t.currentStep,r=t.nextLabel,i=t.doneLabel,o=t.hideNext,a=t.hidePrev,s=t.nextToDone,l=t.onClick,u=t.buttonClass,c=0===n&&e.length>1&&a,f=n===e.length-1||1===e.length,h=lt.derive((function(){return f&&!o&&!s})),d=lt.derive((function(){return f&&!o&&s})),v=ae({label:d.val?i:r,onClick:l,className:function(){var t=[u,"introjs-nextbutton"];return d.val&&t.push("introjs-donebutton"),h.val&&t.push("introjs-disabled"),c&&t.push("introjs-fullbutton"),t.filter(Boolean).join(" ")}});return setTimeout((function(){v.focus()}),1),v}({currentStep:n,steps:e,doneLabel:o,nextLabel:s,onClick:l,hideNext:a,hidePrev:u,nextToDone:i,buttonClass:r}))},le=function(t){var e=t.step,n=t.currentStep,r=t.steps,i=t.onBulletClick,a=t.bullets,s=t.buttons,l=t.nextLabel,u=t.onNextClick,c=t.prevLabel,f=t.onPrevClick,d=t.skipLabel,v=t.onSkipClick,p=t.buttonClass,g=t.nextToDone,b=t.doneLabel,m=t.hideNext,y=t.hidePrev,k=t.progress,x=t.progressBarAdditionalClass,S=t.stepNumbers,C=t.stepNumbersOfLabel,_=t.scrollToElement,O=t.scrollPadding,E=t.dontShowAgain,A=t.onDontShowAgainChange,P=t.dontShowAgainLabel,j=w(t,["step","currentStep","steps","onBulletClick","bullets","buttons","nextLabel","onNextClick","prevLabel","onPrevClick","skipLabel","onSkipClick","buttonClass","nextToDone","doneLabel","hideNext","hidePrev","progress","progressBarAdditionalClass","stepNumbers","stepNumbersOfLabel","scrollToElement","scrollPadding","dontShowAgain","onDontShowAgainChange","dontShowAgainLabel"]),L=[],N=e.title,T=e.intro,H=e.position;L.push(function(t){var e=t.title,n=t.skipLabel,r=t.onSkipClick;return te({className:"introjs-tooltip-header"},[$t({className:"introjs-tooltip-title"},e),ae({className:"introjs-skipbutton",label:n,onClick:r})])}({title:N,skipLabel:d,onSkipClick:v})),L.push(te({className:"introjs-tooltiptext"},T)),E&&L.push(function(t){var e=t.dontShowAgainLabel,n=t.onDontShowAgainChange;return te({className:"introjs-dontShowAgain"},[ee({type:"checkbox",id:"introjs-dontShowAgain",name:"introjs-dontShowAgain",onchange:function(t){n(t.target.checked)}}),ne({for:"introjs-dontShowAgain"},e)])}({dontShowAgainLabel:P,onDontShowAgainChange:A})),a&&L.push(function(t){var e=t.step,n=t.steps,r=t.onBulletClick;return te({className:"introjs-bullets"},[re({role:"tablist"},h(n.map((function(t){var n=t.step;return ie({role:"presentation"},[oe(o({role:"tab",className:function(){return"".concat(e.step===n?"active":"")},onclick:function(t){var e=t.target.getAttribute("data-step-number");e&&r(parseInt(e,10))},innerHTML:"&nbsp;"},"data-step-number",n))])}))))])}({step:e,steps:r,onBulletClick:i})),k&&L.push(function(t){var e=t.steps,n=t.currentStep,r=t.progressBarAdditionalClass,i=(n+1)/e.length*100;return te({className:"introjs-progress"},[te({className:"".concat("introjs-progressbar"," ").concat(r||""),role:"progress","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":function(){return i.toString()},style:"width:".concat(i,"%;")})])}({steps:r,currentStep:n,progressBarAdditionalClass:x})),S&&L.push(function(t){var e=t.step,n=t.steps,r=t.stepNumbersOfLabel;return te({className:"introjs-helperNumberLayer"},["".concat(e.step," ").concat(r," ").concat(n.length)])}({step:e,steps:r,stepNumbersOfLabel:C})),s&&L.push(se({steps:r,currentStep:n,nextLabel:l,onNextClick:u,prevLabel:c,onPrevClick:f,buttonClass:p,nextToDone:g,doneLabel:b,hideNext:m,hidePrev:y}));var R=At(Object.assign(Object.assign({},j),{element:e.element,hintMode:!1,position:H}),L);return function(t){var e=t.step,n=t.tooltip,r=t.scrollToElement,i=t.scrollPadding;Ut(r,e.element),Xt(r,e.scrollTo,i,e.element,n)}({step:e,tooltip:R,scrollToElement:_,scrollPadding:O}),R},ue=lt.tags.div,ce=lt.tags.div,fe=lt.tags.div,he=lt.tags.div,de=lt.tags.div,ve=function(e){var n=e.tour,r=n.getCurrentStepSignal(),i=n.getRefreshesSignal(),o=n.getSteps(),a=function(t){var e=t.currentStep,n=t.steps,r=t.refreshes,i=t.targetElement,o=t.tourHighlightClass,a=t.overlayOpacity,s=t.helperLayerPadding,l=lt.derive((function(){return void 0!==e.val?n[e.val]:null})),u=ce({className:function(){return function(t){var e=t.step,n=t.tourHighlightClass,r="introjs-helperLayer";return e.val&&"string"==typeof e.val.highlightClass&&(r+=" ".concat(e.val.highlightClass)),"string"==typeof n&&(r+=" ".concat(n)),r}({step:l,tourHighlightClass:o})},style:wt({"box-shadow":"0 0 1px 2px rgba(33, 33, 33, 0.8), rgba(33, 33, 33, ".concat(a.toString(),") 0 0 0 5000px")})});return lt.derive((function(){l.val&&void 0!==r.val&&qt(i,u,l.val,s)})),u}({currentStep:r,steps:o,refreshes:i,targetElement:n.getTargetElement(),tourHighlightClass:n.getOption("highlightClass"),overlayOpacity:n.getOption("overlayOpacity"),helperLayerPadding:n.getOption("helperElementPadding")}),s=lt.state(0),l=0,u=de({className:"introjs-tour",style:function(){return wt({opacity:"".concat(s.val)})}},a,(function(){if(void 0===r.val)return null;var e=lt.derive((function(){return void 0!==r.val?o[r.val]:null}));if(!e.val)return null;var a=function(e){var n=e.exitOnOverlayClick,r=e.onExitTour,i=he({className:"introjs-overlay",style:wt({top:0,bottom:0,left:0,right:0,position:"fixed",cursor:n?"pointer":"auto"})});return n&&(i.onclick=function(){return k(void 0,void 0,void 0,t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r();case 2:case"end":return t.stop()}}),e)})))}),i}({exitOnOverlayClick:!0===n.getOption("exitOnOverlayClick"),onExitTour:function(){return k(void 0,void 0,void 0,t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",n.exit());case 1:case"end":return t.stop()}}),e)})))}}),s=function(t){var e=t.targetElement,n=t.helperElementPadding,r=w(t,["targetElement","helperElementPadding"]),i=ue({className:"introjs-tooltipReferenceLayer"},le(r));return lt.derive((function(){null!=r.refreshes.val&&qt(e,i,r.step,n)})),i}({step:e.val,targetElement:n.getTargetElement(),refreshes:i,helperElementPadding:n.getOption("helperElementPadding"),transitionDuration:l,positionPrecedence:n.getOption("positionPrecedence"),autoPosition:n.getOption("autoPosition"),showStepNumbers:n.getOption("showStepNumbers"),steps:n.getSteps(),currentStep:r.val,onBulletClick:function(t){n.goToStep(t)},bullets:n.getOption("showBullets"),buttons:n.getOption("showButtons"),nextLabel:"Next",onNextClick:function(e){return k(void 0,void 0,void 0,t().mark((function r(){var i;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n.isLastStep()){t.next=5;break}return t.next=3,zt(n);case 3:t.next=10;break;case 5:if(!new RegExp("introjs-donebutton","gi").test(e.target.className)){t.next=10;break}return t.next=8,null===(i=n.callback("complete"))||void 0===i?void 0:i.call(n,n.getCurrentStep(),"done");case 8:return t.next=10,n.exit();case 10:case"end":return t.stop()}}),r)})))},prevLabel:n.getOption("prevLabel"),onPrevClick:function(){return k(void 0,void 0,void 0,t().mark((function e(){var r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(void 0!==(r=n.getCurrentStep())&&r>0)){t.next=4;break}return t.next=4,Gt(n);case 4:case"end":return t.stop()}}),e)})))},skipLabel:n.getOption("skipLabel"),onSkipClick:function(){return k(void 0,void 0,void 0,t().mark((function e(){var r,i;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!n.isLastStep()){t.next=3;break}return t.next=3,null===(r=n.callback("complete"))||void 0===r?void 0:r.call(n,n.getCurrentStep(),"skip");case 3:return t.next=5,null===(i=n.callback("skip"))||void 0===i?void 0:i.call(n,n.getCurrentStep());case 5:return t.next=7,n.exit();case 7:case"end":return t.stop()}}),e)})))},buttonClass:n.getOption("buttonClass"),nextToDone:n.getOption("nextToDone"),doneLabel:n.getOption("doneLabel"),hideNext:n.getOption("hideNext"),hidePrev:n.getOption("hidePrev"),progress:n.getOption("showProgress"),progressBarAdditionalClass:n.getOption("progressBarAdditionalClass"),stepNumbers:n.getOption("showStepNumbers"),stepNumbersOfLabel:n.getOption("stepNumbersOfLabel"),scrollToElement:n.getOption("scrollToElement"),scrollPadding:n.getOption("scrollPadding"),dontShowAgain:n.getOption("dontShowAgain"),onDontShowAgainChange:function(t){n.setDontShowAgain(t)},dontShowAgainLabel:n.getOption("dontShowAgainLabel")}),u=e.val.disableInteraction?function(t){var e=t.currentStep,n=t.steps,r=t.refreshes,i=t.targetElement,o=t.helperElementPadding,a=lt.derive((function(){return void 0!==e.val?n[e.val]:null}));return function(){if(!a.val)return null;var t=fe({className:"introjs-disableInteraction"});return lt.derive((function(){a.val&&null!=r.val&&qt(i,t,a.val,o)})),t}}({currentStep:r,steps:n.getSteps(),refreshes:i,targetElement:n.getTargetElement(),helperElementPadding:n.getOption("helperElementPadding")}):null;return l=300,de(a,s,u)}));return lt.derive((function(){void 0===r.val&&(s.val=0,setTimeout((function(){u.remove()}),250))})),setTimeout((function(){s.val=1}),1),u},pe=lt.tags.div,ge=function(){function e(t,r){n(this,e),this._steps=[],this._currentStepSignal=lt.state(void 0),this._refreshesSignal=lt.state(0),this.callbacks={},this._targetElement=R(t),this._options=r?E(this._options,r):{steps:[],isActive:!0,nextLabel:"Next",prevLabel:"Back",skipLabel:"×",doneLabel:"Done",hidePrev:!1,hideNext:!1,nextToDone:!0,tooltipPosition:"bottom",tooltipClass:"",group:"",highlightClass:"",exitOnEsc:!0,exitOnOverlayClick:!0,showStepNumbers:!1,stepNumbersOfLabel:"of",keyboardNavigation:!0,showButtons:!0,showBullets:!0,showProgress:!1,scrollToElement:!0,scrollTo:"element",scrollPadding:30,overlayOpacity:.5,autoPosition:!0,positionPrecedence:["bottom","top","right","left"],disableInteraction:!1,dontShowAgain:!1,dontShowAgainLabel:"Don't show this again",dontShowAgainCookie:"introjs-dontShowAgain",dontShowAgainCookieDays:365,helperElementPadding:10,buttonClass:"introjs-button",progressBarAdditionalClass:""}}return i(e,[{key:"callback",value:function(t){var e=this.callbacks[t];if(A(e))return e}},{key:"goToStep",value:function(e){return k(this,void 0,void 0,t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.setCurrentStep(e-2),t.next=3,zt(this);case 3:return t.abrupt("return",this);case 4:case"end":return t.stop()}}),n,this)})))}},{key:"goToStepNumber",value:function(e){return k(this,void 0,void 0,t().mark((function n(){var r;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=0;case 1:if(!(r<this._steps.length)){t.next=9;break}if(this._steps[r].step!==e){t.next=6;break}return this.setCurrentStep(r-1),t.abrupt("break",9);case 6:r++,t.next=1;break;case 9:return t.next=11,zt(this);case 11:return t.abrupt("return",this);case 12:case"end":return t.stop()}}),n,this)})))}},{key:"addStep",value:function(t){return this._options.steps||(this._options.steps=[]),this._options.steps.push(t),this}},{key:"addSteps",value:function(t){if(!t.length)return this;var e,n=m(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;this.addStep(r)}}catch(t){n.e(t)}finally{n.f()}return this}},{key:"setSteps",value:function(t){return this._steps=t,this}},{key:"getSteps",value:function(){return this._steps}},{key:"getStep",value:function(t){return this._steps[t]}},{key:"getCurrentStepSignal",value:function(){return this._currentStepSignal}},{key:"getRefreshesSignal",value:function(){return this._refreshesSignal}},{key:"getCurrentStep",value:function(){return this._currentStepSignal.val}},{key:"currentStep",value:function(){return this._currentStepSignal.val}},{key:"resetCurrentStep",value:function(){this._currentStepSignal.val=void 0}},{key:"setCurrentStep",value:function(t){return void 0===this._currentStepSignal.val||t>=this._currentStepSignal.val?this._direction="forward":this._direction="backward",this._currentStepSignal.val=t,this}},{key:"incrementCurrentStep",value:function(){var t=this.getCurrentStep();return void 0===t?this.setCurrentStep(0):this.setCurrentStep(t+1),this}},{key:"decrementCurrentStep",value:function(){var t=this.getCurrentStep();return void 0!==t&&t>0&&this.setCurrentStep(t-1),this}},{key:"getDirection",value:function(){return this._direction}},{key:"nextStep",value:function(){return k(this,void 0,void 0,t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,zt(this);case 2:return t.abrupt("return",this);case 3:case"end":return t.stop()}}),e,this)})))}},{key:"previousStep",value:function(){return k(this,void 0,void 0,t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Gt(this);case 2:return t.abrupt("return",this);case 3:case"end":return t.stop()}}),e,this)})))}},{key:"isEnd",value:function(){var t=this.getCurrentStep();return void 0!==t&&t>=this._steps.length}},{key:"isLastStep",value:function(){return this.getCurrentStep()===this._steps.length-1}},{key:"getTargetElement",value:function(){return this._targetElement}},{key:"setOptions",value:function(t){return this._options=E(this._options,t),this}},{key:"setOption",value:function(t,e){return this._options=O(this._options,t,e),this}},{key:"getOption",value:function(t){return this._options[t]}},{key:"clone",value:function(){return new e(this._targetElement,this._options)}},{key:"isActive",value:function(){return(!this.getOption("dontShowAgain")||(t=this.getOption("dontShowAgainCookie"),""===(e=Yt(t))||"true"!==e))&&this.getOption("isActive");var t,e}},{key:"hasStarted",value:function(){return void 0!==this.getCurrentStep()}},{key:"setDontShowAgain",value:function(t){return Qt(t,this.getOption("dontShowAgainCookie"),this.getOption("dontShowAgainCookieDays")),this}},{key:"enableKeyboardNavigation",value:function(){var e=this;return this.getOption("keyboardNavigation")&&(this._keyboardNavigationHandler=function(n){return function(e,n){var r;return k(this,void 0,void 0,t().mark((function i(){var o,a;return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null===(o=void 0===n.code?n.which:n.code)&&(o=null===n.charCode?n.keyCode:n.charCode),"Escape"!==o&&27!==o||!0!==e.getOption("exitOnEsc")){t.next=7;break}return t.next=5,e.exit();case 5:t.next=39;break;case 7:if("ArrowLeft"!==o&&37!==o){t.next=12;break}return t.next=10,Gt(e);case 10:t.next=39;break;case 12:if("ArrowRight"!==o&&39!==o){t.next=17;break}return t.next=15,zt(e);case 15:t.next=39;break;case 17:if("Enter"!==o&&"NumpadEnter"!==o&&13!==o){t.next=39;break}if(!(a=n.target||n.srcElement)||!a.className.match("introjs-prevbutton")){t.next=24;break}return t.next=22,Gt(e);case 22:t.next=38;break;case 24:if(!a||!a.className.match("introjs-skipbutton")){t.next=32;break}if(!e.isEnd()){t.next=28;break}return t.next=28,null===(r=e.callback("complete"))||void 0===r?void 0:r.call(e,e.getCurrentStep(),"skip");case 28:return t.next=30,e.exit();case 30:t.next=38;break;case 32:if(!a||!a.getAttribute("data-step-number")){t.next=36;break}a.click(),t.next=38;break;case 36:return t.next=38,zt(e);case 38:n.preventDefault?n.preventDefault():n.returnValue=!1;case 39:case"end":return t.stop()}}),i)})))}(e,n)},H.on(window,"keydown",this._keyboardNavigationHandler,!0)),this}},{key:"disableKeyboardNavigation",value:function(){return this._keyboardNavigationHandler&&(H.off(window,"keydown",this._keyboardNavigationHandler,!0),this._keyboardNavigationHandler=void 0),this}},{key:"enableRefreshOnResize",value:function(){var t=this;this._refreshOnResizeHandler=function(e){return t.refresh()},H.on(window,"resize",this._refreshOnResizeHandler,!0)}},{key:"disableRefreshOnResize",value:function(){this._refreshOnResizeHandler&&(H.off(window,"resize",this._refreshOnResizeHandler,!0),this._refreshOnResizeHandler=void 0)}},{key:"appendFloatingElement",value:function(){var t,e,n;return this._floatingElement||(this._floatingElement=(t={currentStep:this.getCurrentStepSignal()},e=t.currentStep,n=pe({className:"introjsFloatingElement"}),lt.derive((function(){void 0===e.val&&n.remove()})),n),lt.add(this.getTargetElement(),this._floatingElement)),this._floatingElement}},{key:"createRoot",value:function(){this._root||(this._root=ve({tour:this}),lt.add(this.getTargetElement(),this._root))}},{key:"recreateRoot",value:function(){this._root&&(this._root.remove(),this._root=void 0,this.createRoot())}},{key:"start",value:function(){return k(this,void 0,void 0,t().mark((function e(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Jt(this);case 2:if(!t.sent){t.next=6;break}this.createRoot(),this.enableKeyboardNavigation(),this.enableRefreshOnResize();case 6:return t.abrupt("return",this);case 7:case"end":return t.stop()}}),e,this)})))}},{key:"exit",value:function(e){return k(this,void 0,void 0,t().mark((function n(){return t().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Mt(this,null!=e&&e);case 2:if(!t.sent){t.next=5;break}this.disableKeyboardNavigation(),this.disableRefreshOnResize();case 5:return t.abrupt("return",this);case 6:case"end":return t.stop()}}),n,this)})))}},{key:"refresh",value:function(t){return void 0===this.getCurrentStep()||(void 0!==this._refreshesSignal.val&&(this._refreshesSignal.val+=1),t&&(this.setSteps(Wt(this)),this.recreateRoot())),this}},{key:"onbeforechange",value:function(t){return this.onBeforeChange(t)}},{key:"onBeforeChange",value:function(t){if(!A(t))throw new Error("Provided callback for onBeforeChange was not a function");return this.callbacks.beforeChange=t,this}},{key:"onchange",value:function(t){this.onChange(t)}},{key:"onChange",value:function(t){if(!A(t))throw new Error("Provided callback for onChange was not a function.");return this.callbacks.change=t,this}},{key:"onafterchange",value:function(t){this.onAfterChange(t)}},{key:"onAfterChange",value:function(t){if(!A(t))throw new Error("Provided callback for onAfterChange was not a function");return this.callbacks.afterChange=t,this}},{key:"oncomplete",value:function(t){return this.onComplete(t)}},{key:"onComplete",value:function(t){if(!A(t))throw new Error("Provided callback for oncomplete was not a function.");return this.callbacks.complete=t,this}},{key:"onstart",value:function(t){return this.onStart(t)}},{key:"onStart",value:function(t){if(!A(t))throw new Error("Provided callback for onstart was not a function.");return this.callbacks.start=t,this}},{key:"onexit",value:function(t){return this.onExit(t)}},{key:"onExit",value:function(t){if(!A(t))throw new Error("Provided callback for onexit was not a function.");return this.callbacks.exit=t,this}},{key:"onskip",value:function(t){return this.onSkip(t)}},{key:"onSkip",value:function(t){if(!A(t))throw new Error("Provided callback for onskip was not a function.");return this.callbacks.skip=t,this}},{key:"onbeforeexit",value:function(t){return this.onBeforeExit(t)}},{key:"onBeforeExit",value:function(t){if(!A(t))throw new Error("Provided callback for onbeforeexit was not a function.");return this.callbacks.beforeExit=t,this}}]),e}(),be=function(t){!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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e)}(r,ge);var e=u(r);function r(){return n(this,r),e.apply(this,arguments)}return i(r,[{key:"addHints",value:function(){console.error("introJs().addHints() is deprecated, please use introJs.hint.addHints() instead.")}},{key:"addHint",value:function(){console.error("introJs().addHint() is deprecated, please use introJs.hint.addHint() instead.")}},{key:"removeHints",value:function(){console.error("introJs().removeHints() is deprecated, please use introJs.hint.removeHints() instead.")}}]),r}(),me=function(t){return console.warn("introJs() is deprecated. Please use introJs.tour() or introJs.hint() instead."),new be(t)};me.tour=function(t){return new ge(t)},me.hint=function(t){return new Dt(t)},me.version="8.1.0-beta.1";export{me as default};
function t(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function e(t){if(Array.isArray(t))return t}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(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,m(r.key),r)}}function i(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function o(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=w(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function a(t){var e=u();return function(){var n,r=l(t);if(e){var i=l(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return f(this,n)}}function s(t,e,n){return(e=m(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},l(t)}function u(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(u=function(){return!!t})()}function c(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function h(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function d(){d=function(){return e};var t,e={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function c(t,e,n,r){var o=e&&e.prototype instanceof b?e:b,a=Object.create(o.prototype),s=new j(r||[]);return i(a,"_invoke",{value:O(t,n,s)}),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=c;var f="suspendedStart",v="executing",p="completed",g={};function b(){}function m(){}function y(){}var w={};u(w,a,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(L([])));x&&x!==n&&r.call(x,a)&&(w=x);var S=y.prototype=b.prototype=Object.create(w);function C(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function n(i,o,a,s){var l=h(t[i],t,o);if("throw"!==l.type){var u=l.arg,c=u.value;return c&&"object"==typeof c&&r.call(c,"__await")?e.resolve(c.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(c).then((function(t){u.value=t,a(u)}),(function(t){return n("throw",t,a,s)}))}s(l.arg)}var o;i(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,i){n(t,r,e,i)}))}return o=o?o.then(i,i):i()}})}function O(e,n,r){var i=f;return function(o,a){if(i===v)throw Error("Generator is already running");if(i===p){if("throw"===o)throw a;return{value:t,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var l=E(s,r);if(l){if(l===g)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===f)throw i=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=v;var u=h(e,n,r);if("normal"===u.type){if(i=r.done?p:"suspendedYield",u.arg===g)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(i=p,r.method="throw",r.arg=u.arg)}}}function E(e,n){var r=n.method,i=e.iterator[r];if(i===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,E(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=h(i,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function L(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function n(){for(;++i<e.length;)if(r.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=y,i(S,"constructor",{value:y,configurable:!0}),i(y,"constructor",{value:m,configurable:!0}),m.displayName=u(y,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,u(t,l,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},C(_.prototype),u(_.prototype,s,(function(){return this})),e.AsyncIterator=_,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new _(c(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},C(S),u(S,l,"Generator"),u(S,a,(function(){return this})),u(S,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=L,j.prototype={constructor:j,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function i(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;P(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:L(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),g}},e}function v(t,e){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},v(t,e)}function p(t,n){return e(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(t,n)||w(t,n)||h()}function g(t){return e(t)||c(t)||w(t)||h()}function b(e){return function(e){if(Array.isArray(e))return t(e)}(e)||c(e)||w(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}function y(t){return y="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},y(t)}function w(e,n){if(e){if("string"==typeof e)return t(e,n);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}function k(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}function x(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{l(r.next(t))}catch(t){o(t)}}function s(t){try{l(r.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}l((r=r.apply(t,e||[])).next())}))}function S(t){if(null===t||"object"!==y(t)||"nodeType"in t)return t;var e={};for(var n in t)"jQuery"in window&&window.jQuery&&t[n]instanceof window.jQuery?e[n]=t[n]:e[n]=S(t[n]);return e}"function"==typeof SuppressedError&&SuppressedError;var C=function(t,e){return(null!=e?e:document).querySelector(t)},_=function(t,e){return(null!=e?e:document).querySelectorAll(t)},O=function(t){t.setHints([]);var e=t.getTargetElement(),n=t.getOption("hints");if(n&&n.length>0){var r,i=o(n);try{for(i.s();!(r=i.n()).done;){var a=S(r.value);"string"==typeof a.element&&(a.element=C(a.element)),a.hintPosition=a.hintPosition||t.getOption("hintPosition"),a.hintAnimation=a.hintAnimation||t.getOption("hintAnimation"),null!==a.element&&t.addHint(a)}}catch(t){i.e(t)}finally{i.f()}}else{var s=Array.from(_("*[".concat("data-hint","]"),e));if(!s||!s.length)return!1;for(var l=0,u=s;l<u.length;l++){var c=u[l],h=c.getAttribute("data-hint-position"),f=t.getOption("hintAnimation");h&&(f="true"===h),t.addHint({element:c,hint:c.getAttribute("data-hint")||"",hintPosition:c.getAttribute("data-hint-position")||t.getOption("hintPosition"),hintAnimation:f,tooltipClass:c.getAttribute("data-tooltip-class")||void 0,position:c.getAttribute("data-position")||t.getOption("tooltipPosition")})}}return!0};function E(t,e,n){return t[e]=n,t}function A(t,e){for(var n=0,r=Object.entries(e);n<r.length;n++){var i=p(r[n],2);t=E(t,i[0],i[1])}return t}var P=function(t){return"function"==typeof t};var j,L,N,H,T,R=new(function(){function t(){n(this,t)}return i(t,[{key:"on",value:function(t,e,n,r){"addEventListener"in t?t.addEventListener(e,n,r):"attachEvent"in t&&t.attachEvent("on".concat(e),n)}},{key:"off",value:function(t,e,n,r){"removeEventListener"in t?t.removeEventListener(e,n,r):"detachEvent"in t&&t.detachEvent("on".concat(e),n)}}]),t}()),B=function(t){return t?"string"==typeof t?function(t,e){var n=C(t,e);if(!n)throw new Error("Element with selector ".concat(t," not found"));return n}(t):t:document.body};function D(t,e){var n;return x(this,void 0,void 0,d().mark((function r(){var i;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:(i=e.isActive)&&(i.val=!1),t.hideHintDialog(),null===(n=t.callback("hintClose"))||void 0===n||n.call(t,e);case 4:case"end":return r.stop()}}),r)})))}function I(t){return x(this,void 0,void 0,d().mark((function e(){var n,r,i;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=o(t.getHints()),e.prev=1,n.s();case 3:if((r=n.n()).done){e.next=9;break}return i=r.value,e.next=7,D(t,i);case 7:e.next=3;break;case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),n.e(e.t0);case 14:return e.prev=14,n.f(),e.finish(14);case 17:case"end":return e.stop()}}),e,null,[[1,11,14,17]])})))}function V(t){return x(this,void 0,void 0,d().mark((function e(){var n,r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.isRendered()){e.next=5;break}n=o(t.getHints());try{for(n.s();!(r=n.n()).done;)F(r.value)}catch(t){n.e(t)}finally{n.f()}e.next=7;break;case 5:return e.next=7,t.render();case 7:case"end":return e.stop()}}),e)})))}function F(t){var e=t.isActive;e&&(e.val=!0)}var z=Object,G=document,W=z.getPrototypeOf,M={isConnected:1},J={},K=W(M),Y=Function.prototype,Q=function(t,e,n,r){return void 0===t&&(setTimeout(n,r),t=new Set),t.add(e),t},q=function(t,e,n){var r=N;N=e;try{return t(n)}catch(t){return console.error(t),n}finally{N=r}},U=function(t){return t.filter((function(t){var e;return null===(e=t._dom)||void 0===e?void 0:e.isConnected}))},X=function(t){T=Q(T,t,(function(){if(T){var t,e=o(T);try{for(e.s();!(t=e.n()).done;){var n=t.value;n._bindings=U(n._bindings),n._listeners=U(n._listeners)}}catch(t){e.e(t)}finally{e.f()}T=undefined}}),1e3)},Z={get val(){var t;return null===(t=null==N?void 0:N._getters)||void 0===t||t.add(this),this.rawVal},get oldVal(){var t;return null===(t=null==N?void 0:N._getters)||void 0===t||t.add(this),this._oldVal},set val(t){var e,n=this;null===(e=null==N?void 0:N._setters)||void 0===e||e.add(n),t!==n.rawVal&&(n.rawVal=t,n._bindings.length+n._listeners.length?(null==L||L.add(n),j=Q(j,n,lt)):n._oldVal=t)}},$=function(t){return{writable:!0,configurable:!0,enumerable:!0,value:t}},tt=function(t){return z.create(Z,{rawVal:$(t),_oldVal:$(t),_bindings:$([]),_listeners:$([])})},et=function(t,e){var n={_getters:new Set,_setters:new Set},r={f:t},i=H;H=[];var a=q(t,n,e);a=(null!=a?a:G).nodeType?a:new Text(a);var s,l=o(n._getters);try{for(l.s();!(s=l.n()).done;){var u=s.value;n._setters.has(u)||(X(u),u._bindings.push(r))}}catch(t){l.e(t)}finally{l.f()}var c,h=o(H);try{for(h.s();!(c=h.n()).done;){c.value._dom=a}}catch(t){h.e(t)}finally{h.f()}return H=i,r._dom=a},nt=function(t,e,n){var r;e=null!=e?e:tt();var i={_getters:new Set,_setters:new Set},a={f:t,s:e};a._dom=null!==(r=null!=n?n:null==H?void 0:H.push(a))&&void 0!==r?r:M,e.val=q(t,i,e.rawVal);var s,l=o(i._getters);try{for(l.s();!(s=l.n()).done;){var u=s.value;i._setters.has(u)||(X(u),u._listeners.push(a))}}catch(t){l.e(t)}finally{l.f()}return e},rt=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i,a=o(n.flat(1/0));try{var s=function(){var e=i.value,n=W(null!=e?e:0),r=n===Z?et((function(){return e.val})):n===Y?et(e):e;null!=r&&t.append(r)};for(a.s();!(i=a.n()).done;)s()}catch(t){a.e(t)}finally{a.f()}return t},it=function(t,e){for(var n,r,i,a,s=arguments.length,l=new Array(s>2?s-2:0),u=2;u<s;u++)l[u-2]=arguments[u];var c,h=W(null!==(n=l[0])&&void 0!==n?n:0)===K?l:[{}].concat(l),f=g(h),d=f[0],v=f.slice(1),m=t?G.createElementNS(t,e):G.createElement(e),y=o(z.entries(d));try{var w=function(){var t=p(c.value,2),n=t[0],o=t[1],s="".concat(e,",").concat(n),l=null!==(r=J[s])&&void 0!==r?r:J[s]=null!==(a=null===(i=function t(e){var r;return e?null!==(r=z.getOwnPropertyDescriptor(e,n))&&void 0!==r?r:t(W(e)):undefined}(W(m)))||void 0===i?void 0:i.set)&&void 0!==a?a:0,u=n.startsWith("on")?function(t,e){var r=n.slice(2);e&&m.removeEventListener(r,e),m.addEventListener(r,t)}:l?l.bind(m):m.setAttribute.bind(m,n),h=W(null!=o?o:0);n.startsWith("on")||h===Y&&(o=nt(o),h=Z),h===Z?et((function(){return u(o.val,o._oldVal),m})):u(o)};for(y.s();!(c=y.n()).done;)w()}catch(t){y.e(t)}finally{y.f()}return rt.apply(void 0,[m].concat(b(v)))},ot=function(t){return{get:function(e,n){return it.bind(undefined,null!=t?t:null,n)}}},at=new Proxy((function(t){return new Proxy(it,ot(t))}),ot()),st=function(t,e){e?e!==t&&t.replaceWith(e):t.remove()},lt=function(){var t=0,e=j?b(j).filter((function(t){return t.rawVal!==t._oldVal})):[];do{L=new Set;var n,r=o(new Set(e.flatMap((function(t){return t._listeners=U(t._listeners)}))));try{for(r.s();!(n=r.n()).done;){var i=n.value;nt(i.f,i.s,i._dom),i._dom=undefined}}catch(t){r.e(t)}finally{r.f()}}while(++t<100&&(e=b(L)).length);var a=j?b(j).filter((function(t){return t.rawVal!==t._oldVal})):[];j=undefined;var s,l=o(new Set(a.flatMap((function(t){return t._bindings=U(t._bindings)}))));try{for(l.s();!(s=l.n()).done;){var u=s.value;u._dom&&st(u._dom,et(u.f,u._dom)),u._dom=undefined}}catch(t){l.e(t)}finally{l.f()}var c,h=o(a);try{for(h.s();!(c=h.n()).done;){var f=c.value;f._oldVal=f.rawVal}}catch(t){h.e(t)}finally{h.f()}},ut={add:rt,tags:at,state:tt,derive:nt,hydrate:function(t,e){return st(t,et(e,t))}},ct="introjs-hints";function ht(t,e){var n="";return"currentStyle"in t?n=t.currentStyle[e]:document.defaultView&&document.defaultView.getComputedStyle&&(n=document.defaultView.getComputedStyle(t,null).getPropertyValue(e)),n&&n.toLowerCase?n.toLowerCase():n}function ft(t){var e=t.parentElement;return!(!e||"HTML"===e.nodeName)&&("fixed"===ht(t,"position")||ft(e))}function dt(t,e){var n=document.body,r=document.documentElement,i=window.pageYOffset||r.scrollTop||n.scrollTop,o=window.pageXOffset||r.scrollLeft||n.scrollLeft;e=e||n;var a=t.getBoundingClientRect(),s=e.getBoundingClientRect(),l=ht(e,"position"),u={top:0,left:0};return u="body"!==e.tagName.toLowerCase()&&"relative"===l||"sticky"===l?Object.assign(u,{top:a.top-s.top,left:a.left-s.left}):ft(t)?Object.assign(u,{top:a.top,left:a.left}):Object.assign(u,{top:a.top+i,left:a.left+o}),Object.assign(Object.assign({},u),{width:a.width,height:a.height,bottom:u.top+a.height,right:u.left+a.width,absoluteTop:a.top,absoluteLeft:a.left,absoluteBottom:a.bottom,absoluteRight:a.right})}var vt=ut.tags,pt=vt.a,gt=vt.div,bt=function(t){var e,n=t.index,r=t.hintItem,i=t.onClick,o=t.refreshesSignal,a=pt((s(e={},"data-step",n.toString()),s(e,"className",(function(){return function(t){var e,n=["introjs-hint"];return t.hintAnimation||n.push("introjs-hint-no-anim"),ft(t.element)&&n.push("introjs-fixedhint"),(null===(e=t.isActive)||void 0===e?void 0:e.val)||n.push("introjs-hidehint"),n.join(" ")}(r)})),s(e,"role","button"),s(e,"tabindex",0),s(e,"onclick",i),e),gt({className:"introjs-hint-dot"}),gt({className:"introjs-hint-pulse"}));return ut.derive((function(){void 0!==o.val&&function(t,e,n){if(void 0!==n){var r=dt(n),i=20,o=20;switch(t){default:case"top-left":e.style.left="".concat(r.left,"px"),e.style.top="".concat(r.top,"px");break;case"top-right":e.style.left="".concat(r.left+r.width-i,"px"),e.style.top="".concat(r.top,"px");break;case"bottom-left":e.style.left="".concat(r.left,"px"),e.style.top="".concat(r.top+r.height-o,"px");break;case"bottom-right":e.style.left="".concat(r.left+r.width-i,"px"),e.style.top="".concat(r.top+r.height-o,"px");break;case"middle-left":e.style.left="".concat(r.left,"px"),e.style.top="".concat(r.top+(r.height-o)/2,"px");break;case"middle-right":e.style.left="".concat(r.left+r.width-i,"px"),e.style.top="".concat(r.top+(r.height-o)/2,"px");break;case"middle-middle":e.style.left="".concat(r.left+(r.width-i)/2,"px"),e.style.top="".concat(r.top+(r.height-o)/2,"px");break;case"bottom-middle":e.style.left="".concat(r.left+(r.width-i)/2,"px"),e.style.top="".concat(r.top+r.height-o,"px");break;case"top-middle":e.style.left="".concat(r.left+(r.width-i)/2,"px"),e.style.top="".concat(r.top,"px")}}}(r.hintPosition,a,r.element)})),a},mt=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i];if(t instanceof SVGElement){var s=t.getAttribute("class")||"";s.match(a)||yt(t,s,a)}else void 0!==t.classList?t.classList.add(a):t.className.match(a)||yt(t,t.className,a)}},yt=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=n.filter(Boolean).join(" ");t instanceof SVGElement?t.setAttribute("class",i):void 0!==t.classList?t.classList.value=i:t.className=i},wt=function(t,e){if(t instanceof SVGElement){var n=t.getAttribute("class")||"";t.setAttribute("class",n.replace(e,"").replace(/\s\s+/g," ").trim())}else t.className=t.className.replace(e,"").replace(/\s\s+/g," ").trim()},kt=function(t){var e="";for(var n in t)e+="".concat(n,":").concat(t[n],";");return e};var xt=function(t,e,n,r){var i=function(t,e,n,r){if(e&&t&&n){n instanceof Element&&ft(n)?mt(e,"introjs-fixedTooltip"):wt(e,"introjs-fixedTooltip");var i=dt(n,t);return{width:"".concat(i.width+r,"px"),height:"".concat(i.height+r,"px"),top:"".concat(i.top-r/2,"px"),left:"".concat(i.left-r/2,"px")}}}(t,e,n,r);i&&function(t,e){var n="";t.style.cssText&&(n+=t.style.cssText),n+="string"==typeof e?e:kt(e),t.style.cssText=n}(e,i)};function St(){if(void 0!==window.innerWidth)return{width:window.innerWidth,height:window.innerHeight};var t=document.documentElement;return{width:t.clientWidth,height:t.clientHeight}}function Ct(t,e){t.includes(e)&&t.splice(t.indexOf(e),1)}function _t(t,e,n,r,i,o){var a=t.slice();r+=10,n+=20;var s="floating";if(e.absoluteBottom+r>o.height&&Ct(a,"bottom"),e.absoluteTop-r<0&&Ct(a,"top"),e.absoluteRight+n>o.width&&Ct(a,"right"),e.absoluteLeft-n<0&&Ct(a,"left"),i&&(i=i.split("-")[0]),a.length&&(s=a[0],a.includes(i)&&(s=i)),"top"===s||"bottom"===s){var l,u=[];"top"===s?(l="top-middle-aligned",u=["top-left-aligned","top-middle-aligned","top-right-aligned"]):(l="bottom-middle-aligned",u=["bottom-left-aligned","bottom-middle-aligned","bottom-right-aligned"]),s=function(t,e,n,r){var i=e/2,o=Math.min(n,window.screen.width);return o-t<e&&(Ct(r,"top-left-aligned"),Ct(r,"bottom-left-aligned")),(t<i||o-t<i)&&(Ct(r,"top-middle-aligned"),Ct(r,"bottom-middle-aligned")),t<e&&(Ct(r,"top-right-aligned"),Ct(r,"bottom-right-aligned")),r.length?r[0]:null}(e.absoluteLeft,n,o.width,u)||l}return s}var Ot=ut.tags.div;function Et(t,e,n,r,i){return t.left+t.width-e-n<0?(r.val="-".concat(t.left,"px"),!1):(i.val="".concat(e,"px"),!0)}function At(t,e,n,r,i){return t.left+n+r>e.width?(i.val="".concat(e.width-r-t.left,"px"),!1):(i.val="".concat(n,"px"),!0)}var Pt=function(t,e){var n=t.position,r=t.element,i=t.refreshes,o=t.hintMode,a=void 0!==o&&o,s=t.showStepNumbers,l=void 0!==s&&s,u=t.transitionDuration,c=void 0===u?0:u,h=t.positionPrecedence,f=void 0===h?[]:h,d=t.className,v=t.autoPosition,p=void 0===v||v,g=t.onClick,b=ut.state("auto"),m=ut.state("auto"),y=ut.state("auto"),w=ut.state("auto"),k=ut.state("0"),x=ut.state("0"),S=ut.state(0),C=ut.state(250),_=ut.state(300),O=ut.state(n),E=ut.state(St()),A=ut.state(dt(r)),P=ut.derive((function(){return A.val.top+C.val>E.val.height}));ut.derive((function(){void 0!==i.val&&(E.val=St(),A.val=dt(r))})),ut.derive((function(){void 0!==O.val&&"floating"!==n&&p&&_.val&&C.val&&A.val&&E.val&&(O.val=_t(f,A.val,_.val,C.val,n,E.val))})),ut.derive((function(){void 0!==_.val&&void 0!==C.val&&void 0!==P.val&&void 0!==O.val&&void 0!==A.val&&void 0!==E.val&&function(t,e,n,r,i,o,a,s,l,u,c,h,f,d){o.val="auto",a.val="auto",s.val="auto",l.val="auto",u.val="0",c.val="0";var v=e.width/2-r/2;switch(t){case"top-right-aligned":var p=0;Et(e,p,r,s,l),a.val="".concat(e.height+20,"px");break;case"top-middle-aligned":d&&(v+=5),Et(e,v,r,s,l)&&(l.val=void 0,At(e,n,v,r,s)),a.val="".concat(e.height+20,"px");break;case"top-left-aligned":case"top":At(e,n,d?0:15,r,s),a.val="".concat(e.height+20,"px");break;case"right":s.val="".concat(e.width+20,"px"),h.val&&(o.val="-".concat(i-e.height-20,"px"));break;case"left":d||!0!==f||(o.val="15px"),h.val&&(o.val="-".concat(i-e.height-20,"px")),l.val="".concat(e.width+20,"px");break;case"floating":s.val="50%",o.val="50%",u.val="-".concat(r/2,"px"),c.val="-".concat(i/2,"px");break;case"bottom-right-aligned":Et(e,p=0,r,s,l),o.val="".concat(e.height+20,"px");break;case"bottom-middle-aligned":d&&(v+=5),Et(e,v,r,s,l)&&(l.val="",At(e,n,v,r,s)),o.val="".concat(e.height+20,"px");break;default:At(e,n,0,r,s),o.val="".concat(e.height+20,"px")}}(O.val,A.val,E.val,_.val,C.val,b,y,w,m,k,x,P,l,a)}));var j,L,N=Ot({style:function(){return"top: ".concat(b.val,"; right: ").concat(m.val,"; bottom: ").concat(y.val,"; left: ").concat(w.val,"; margin-left: ").concat(k.val,"; margin-top: ").concat(x.val,";opacity: ").concat(S.val)},className:function(){return"".concat("introjs-tooltip"," introjs-").concat(O.val," ").concat(d||"")},role:"dialog",onclick:null!=g?g:null},[(j={tooltipPosition:O,tooltipBottomOverflow:P},L=ut.derive((function(){var t=["introjs-arrow"];switch(j.tooltipPosition.val){case"top-right-aligned":t.push("bottom-right");break;case"top-middle-aligned":t.push("bottom-middle");break;case"top-left-aligned":case"top":t.push("bottom");break;case"right":j.tooltipBottomOverflow.val?t.push("left-bottom"):t.push("left");break;case"left":j.tooltipBottomOverflow.val?t.push("right-bottom"):t.push("right");break;case"floating":break;case"bottom-right-aligned":t.push("top-right");break;case"bottom-middle-aligned":t.push("top-middle");break;default:t.push("top")}return t})),Ot({className:function(){var t;return null===(t=L.val)||void 0===t?void 0:t.filter(Boolean).join(" ")},style:function(){return"display: ".concat("floating"===j.tooltipPosition.val?"none":"block",";")}})),[e]]);return setTimeout((function(){S.val=1}),c),setTimeout((function(){C.val=N.offsetHeight,_.val=N.offsetWidth}),1),N},jt=ut.tags.div,Lt=function(t){var e=t.text,n=t.tooltipRenderAsHtml,r=t.className,i=jt({className:r||"introjs-tooltiptext"});return ut.derive((function(){var t=i;if(t)if(t.innerHTML="",n&&e){var r=document.createRange().createContextualFragment(e);t.appendChild(r)}else t.textContent=e})),i},Nt=ut.tags,Ht=Nt.a,Tt=Nt.p,Rt=Nt.div,Bt=ut.tags.div,Dt=function(t){var e=t.activeHintSignal,n=t.targetElement,r=t.helperElementPadding,i=k(t,["activeHintSignal","targetElement","helperElementPadding"]),o=e.val;return function(){var t;if(null==e.val)return null;if(o!==e.val)return null;var a=Bt((s(t={},"data-step",e.val),s(t,"className","".concat("introjs-tooltipReferenceLayer"," ").concat("introjs-hintReference")),t),function(t){var e=t.hintItem,n=t.closeButtonEnabled,r=t.closeButtonOnClick,i=t.closeButtonLabel,o=t.closeButtonClassName,a=t.className,s=t.renderAsHtml,l=k(t,["hintItem","closeButtonEnabled","closeButtonOnClick","closeButtonLabel","closeButtonClassName","className","renderAsHtml"]),u=e.hint;return Pt(Object.assign(Object.assign({},l),{element:e.hintTooltipElement,position:e.position,hintMode:!0,onClick:function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0}}),[Rt({className:"".concat("introjs-tooltiptext"," ").concat(a||"")},Lt({text:u||"",tooltipRenderAsHtml:s,className:"introjs-tooltiptext"}),Tt(e.hint||""),n?Ht({className:o,role:"button",onclick:function(){return r(e)}},i):null)])}(i));return setTimeout((function(){xt(n,a,i.hintItem.hintTooltipElement,r)}),1),a}},It=ut.tags.div,Vt=function(t,e){return function(n){var r=n||window.event;r&&r.stopPropagation&&r.stopPropagation(),r&&null!==r.cancelBubble&&(r.cancelBubble=!0),t.showHintDialog(e)}},Ft=function(){function t(e,r){n(this,t),this._hints=[],this._activeHintSignal=ut.state(void 0),this._refreshesSignal=ut.state(0),this.callbacks={},this._targetElement=B(e),this._options=r?A(this._options,r):{hints:[],isActive:!0,tooltipPosition:"bottom",tooltipClass:"",hintPosition:"top-middle",hintButtonLabel:"Got it",hintShowButton:!0,hintAutoRefreshInterval:10,hintAnimation:!0,buttonClass:"introjs-button",helperElementPadding:10,autoPosition:!0,positionPrecedence:["bottom","top","right","left"],tooltipRenderAsHtml:!0}}return i(t,[{key:"callback",value:function(t){var e=this.callbacks[t];if(P(e))return e}},{key:"getTargetElement",value:function(){return this._targetElement}},{key:"getHints",value:function(){return this._hints}},{key:"getHint",value:function(t){return this._hints[t]}},{key:"setHints",value:function(t){return this._hints=t,this}},{key:"addHint",value:function(t){return t.isActive=ut.state(!0),this._hints.push(t),this}},{key:"getActiveHintSignal",value:function(){return this._activeHintSignal}},{key:"getRefreshesSignal",value:function(){return this._refreshesSignal}},{key:"isRendered",value:function(){return void 0!==this._root}},{key:"createRoot",value:function(){this._root=function(t){var e,n=t.hint,r=[],i=o(n.getHints().entries());try{for(i.s();!(e=i.n()).done;){var a=p(e.value,2),s=a[0],l=a[1],u=bt({index:s,hintItem:l,onClick:Vt(n,s),refreshesSignal:n.getRefreshesSignal()});l.hintTooltipElement=u,r.push(u)}}catch(t){i.e(t)}finally{i.f()}var c=It.apply(void 0,[{className:ct}].concat(r));return ut.derive((function(){var t=n.getActiveHintSignal();if(void 0!==t.val){var e=t.val,r=n.getHints()[e];if(r){var i=Dt({activeHintSignal:t,hintItem:r,helperElementPadding:n.getOption("helperElementPadding"),targetElement:n.getTargetElement(),refreshes:n.getRefreshesSignal(),showStepNumbers:!1,autoPosition:n.getOption("autoPosition"),positionPrecedence:n.getOption("positionPrecedence"),closeButtonEnabled:n.getOption("hintShowButton"),closeButtonLabel:n.getOption("hintButtonLabel"),closeButtonClassName:n.getOption("buttonClass"),closeButtonOnClick:function(t){return D(n,t)},className:n.getOption("tooltipClass")});ut.add(c,i)}}})),c}({hint:this}),ut.add(this._targetElement,this._root)}},{key:"recreateRoot",value:function(){this._root&&(this._root.remove(),this.createRoot())}},{key:"render",value:function(){var t;return x(this,void 0,void 0,d().mark((function e(){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.isActive()){e.next=2;break}return e.abrupt("return",this);case 2:if(!this.isRendered()){e.next=4;break}return e.abrupt("return",this);case 4:return O(this),this.createRoot(),null===(t=this.callback("hintsAdded"))||void 0===t||t.call(this),this.enableHintAutoRefresh(),this.enableCloseDialogOnWindowClick(),e.abrupt("return",this);case 10:case"end":return e.stop()}}),e,this)})))}},{key:"enableCloseDialogOnWindowClick",value:function(){var t=this;this._windowClickFunction=function(){t._activeHintSignal.val=void 0},R.on(document,"click",this._windowClickFunction,!1)}},{key:"disableCloseDialogOnWindowClick",value:function(){this._windowClickFunction&&R.off(document,"click",this._windowClickFunction,!1)}},{key:"addHints",value:function(){return x(this,void 0,void 0,d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.render());case 1:case"end":return t.stop()}}),t,this)})))}},{key:"hideHint",value:function(t){return x(this,void 0,void 0,d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=this.getHint(t))){e.next=4;break}return e.next=4,D(this,n);case 4:return e.abrupt("return",this);case 5:case"end":return e.stop()}}),e,this)})))}},{key:"hideHints",value:function(){return x(this,void 0,void 0,d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,I(this);case 2:return t.abrupt("return",this);case 3:case"end":return t.stop()}}),t,this)})))}},{key:"showHint",value:function(t){var e=this.getHint(t);return e&&F(e),this}},{key:"showHints",value:function(){return x(this,void 0,void 0,d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,V(this);case 2:return t.abrupt("return",this);case 3:case"end":return t.stop()}}),t,this)})))}},{key:"destroy",value:function(){return this._root&&(this._root.remove(),this._root=void 0),this.disableHintAutoRefresh(),this.disableCloseDialogOnWindowClick(),this}},{key:"removeHints",value:function(){return this.destroy(),this}},{key:"removeHint",value:function(t){return this._hints=this._hints.filter((function(e,n){return n!==t})),this.recreateRoot(),this}},{key:"showHintDialog",value:function(t){var e;return x(this,void 0,void 0,d().mark((function n(){var r;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=this.getHint(t)){n.next=3;break}return n.abrupt("return");case 3:if(this._activeHintSignal.val===t){n.next=9;break}return this._activeHintSignal.val=t,n.next=7,null===(e=this.callback("hintClick"))||void 0===e?void 0:e.call(this,r);case 7:n.next=10;break;case 9:this._activeHintSignal.val=void 0;case 10:return n.abrupt("return",this);case 11:case"end":return n.stop()}}),n,this)})))}},{key:"hideHintDialog",value:function(){return this._activeHintSignal.val=void 0,this}},{key:"refresh",value:function(){return this.isRendered()?(void 0!==this._refreshesSignal.val&&(this._refreshesSignal.val+=1),this):this}},{key:"enableHintAutoRefresh",value:function(){var t,e,n,r=this,i=this.getOption("hintAutoRefreshInterval");return i>=0&&(this._hintsAutoRefreshFunction=(t=function(){return r.refresh()},e=i,function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];window.clearTimeout(n),n=window.setTimeout((function(){t(i)}),e)}),R.on(window,"scroll",this._hintsAutoRefreshFunction,!0),R.on(window,"resize",this._hintsAutoRefreshFunction,!0)),this}},{key:"disableHintAutoRefresh",value:function(){return this._hintsAutoRefreshFunction&&(R.off(window,"scroll",this._hintsAutoRefreshFunction,!0),R.on(window,"resize",this._hintsAutoRefreshFunction,!0),this._hintsAutoRefreshFunction=void 0),this}},{key:"getOption",value:function(t){return this._options[t]}},{key:"setOptions",value:function(t){return this._options=A(this._options,t),this}},{key:"setOption",value:function(t,e){return this._options=E(this._options,t,e),this}},{key:"clone",value:function(){return new t(this._targetElement,this._options)}},{key:"isActive",value:function(){return this.getOption("isActive")}},{key:"onHintsAdded",value:function(t){if(!P(t))throw new Error("Provided callback for onhintsadded was not a function.");return this.callbacks.hintsAdded=t,this}},{key:"onhintsadded",value:function(t){this.onHintsAdded(t)}},{key:"onHintClick",value:function(t){if(!P(t))throw new Error("Provided callback for onhintclick was not a function.");return this.callbacks.hintClick=t,this}},{key:"onhintclick",value:function(t){this.onHintClick(t)}},{key:"onHintClose",value:function(t){if(!P(t))throw new Error("Provided callback for onhintclose was not a function.");return this.callbacks.hintClose=t,this}},{key:"onhintclose",value:function(t){this.onHintClose(t)}}]),t}();function zt(t){mt(t,"introjs-showElement");var e=ht(t,"position");"absolute"!==e&&"relative"!==e&&"sticky"!==e&&"fixed"!==e&&mt(t,"introjs-relativePosition")}function Gt(t,e){var n,r;return x(this,void 0,void 0,d().mark((function i(){return d().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return null===(n=t.callback("change"))||void 0===n||n.call(t,e.element),Wt(),zt(e.element),i.next=5,null===(r=t.callback("afterChange"))||void 0===r?void 0:r.call(t,e.element);case 5:case"end":return i.stop()}}),i)})))}function Wt(){for(var t,e=0,n=Array.from(_(".".concat("introjs-showElement"),t));e<n.length;e++){var r=n[e];wt(r,/introjs-[a-zA-Z]+/g)}}function Mt(t){var e,n;return x(this,void 0,void 0,d().mark((function r(){var i,o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(t.incrementCurrentStep(),void 0!==(i=t.getCurrentStep())){r.next=4;break}return r.abrupt("return",!1);case 4:return o=t.getStep(i),!0,r.next=8,null===(e=t.callback("beforeChange"))||void 0===e?void 0:e.call(t,o&&o.element,t.getCurrentStep(),t.getDirection());case 8:if(!1!==r.sent){r.next=12;break}return t.decrementCurrentStep(),r.abrupt("return",!1);case 12:if(!t.isEnd()){r.next=18;break}return r.next=15,null===(n=t.callback("complete"))||void 0===n?void 0:n.call(t,t.getCurrentStep(),"end");case 15:return r.next=17,t.exit();case 17:return r.abrupt("return",!1);case 18:return r.next=20,Gt(t,o);case 20:return r.abrupt("return",!0);case 21:case"end":return r.stop()}}),r)})))}function Jt(t){var e;return x(this,void 0,void 0,d().mark((function n(){var r,i;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!(void 0===(r=t.getCurrentStep())||r<=0)){n.next=3;break}return n.abrupt("return",!1);case 3:if(t.decrementCurrentStep(),void 0!==(r=t.getCurrentStep())){n.next=7;break}return n.abrupt("return",!1);case 7:return i=t.getStep(r),!0,n.next=11,null===(e=t.callback("beforeChange"))||void 0===e?void 0:e.call(t,i&&i.element,t.getCurrentStep(),t.getDirection());case 11:if(!1!==n.sent){n.next=15;break}return t.incrementCurrentStep(),n.abrupt("return",!1);case 15:return n.next=17,Gt(t,i);case 17:return n.abrupt("return",!0);case 18:case"end":return n.stop()}}),n)})))}var Kt=function(t){var e,n=[];if(null===(e=t.getOption("steps"))||void 0===e?void 0:e.length){var r,i=o(t.getOption("steps"));try{for(i.s();!(r=i.n()).done;){var a=S(r.value);a.step=n.length+1,a.title=a.title||"","string"==typeof a.element&&(a.element=C(a.element)||void 0),a.element||(a.element=t.appendFloatingElement(),a.position="floating"),a.position=a.position||t.getOption("tooltipPosition"),a.scrollTo=a.scrollTo||t.getOption("scrollTo"),void 0===a.disableInteraction&&(a.disableInteraction=t.getOption("disableInteraction")),null!==a.element&&n.push(a)}}catch(t){i.e(t)}finally{i.f()}}else{var s=Array.from(_("*[".concat("data-intro","]"),t.getTargetElement()));if(s.length<1)return[];for(var l=[],u=0,c=s;u<c.length;u++){var h=c[u];if((!t.getOption("group")||h.getAttribute("data-intro-group")===t.getOption("group"))&&"none"!==h.style.display){var f=parseInt(h.getAttribute("data-step")||"0",10),d=t.getOption("disableInteraction");h.hasAttribute("data-disable-interaction")&&(d=!!h.getAttribute("data-disable-interaction"));var v={step:f,element:h,title:h.getAttribute("data-title")||"",intro:h.getAttribute("data-intro")||"",tooltipClass:h.getAttribute("data-tooltip-class")||void 0,highlightClass:h.getAttribute("data-highlight-class")||void 0,position:h.getAttribute("data-position")||t.getOption("tooltipPosition"),scrollTo:h.getAttribute("data-scroll-to")||t.getOption("scrollTo"),disableInteraction:d};f>0?n[f-1]=v:l.push(v)}}for(var p=0;l.length>0;p++)if(void 0===n[p]){var g=l.shift();if(!g)break;g.step=p+1,n[p]=g}}return(n=n.filter((function(t){return t}))).sort((function(t,e){return t.step-e.step})),n};var Yt=function(t){return x(void 0,void 0,void 0,d().mark((function e(){var n,r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.isActive()){e.next=2;break}return e.abrupt("return",!1);case 2:if(!t.hasStarted()){e.next=4;break}return e.abrupt("return",!1);case 4:return e.next=6,null===(n=t.callback("start"))||void 0===n?void 0:n.call(t,t.getTargetElement());case 6:if(0!==(r=Kt(t)).length){e.next=9;break}return e.abrupt("return",!1);case 9:return t.setSteps(r),e.next=12,Mt(t);case 12:return e.abrupt("return",!0);case 13:case"end":return e.stop()}}),e)})))};function Qt(t){var e,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return x(this,void 0,void 0,d().mark((function i(){var o,a;return d().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return o=t.getTargetElement(),a=!0,i.next=4,null===(e=t.callback("beforeExit"))||void 0===e?void 0:e.call(t,o);case 4:if(a=i.sent,r||!1!==a){i.next=7;break}return i.abrupt("return",!1);case 7:return Wt(),i.next=10,null===(n=t.callback("exit"))||void 0===n?void 0:n.call(t);case 10:return t.resetCurrentStep(),i.abrupt("return",!0);case 12:case"end":return i.stop()}}),i)})))}function qt(t,e,n){var r,i=(s(r={},t,e),s(r,"path","/"),s(r,"expires",void 0),r);if(n){var o=new Date;o.setTime(o.getTime()+24*n*60*60*1e3),i.expires=o.toUTCString()}var a=[];for(var l in i)a.push("".concat(l,"=").concat(i[l]));return document.cookie=a.join("; "),Ut(t)}function Ut(t){return(e={},document.cookie.split(";").forEach((function(t){var n=p(t.split("="),2),r=n[0],i=n[1];e[r.trim()]=i})),e)[t];var e}function Xt(t,e,n){t?qt(e,"true",n):qt(e,"",-1)}var Zt=function(t,e,n,r){xt(t,e,n.element,"floating"===n.position?0:r)};function $t(t,e){if(t){var n=function(t){var e=window.getComputedStyle(t),n="absolute"===e.position,r=/(auto|scroll)/;if("fixed"===e.position)return document.body;for(var i=t;i=i.parentElement;)if(e=window.getComputedStyle(i),(!n||"static"!==e.position)&&r.test(e.overflow+e.overflowY+e.overflowX))return i;return document.body}(e);n!==document.body&&(n.scrollTop=e.offsetTop-n.offsetTop)}}function te(t,e,n,r,i){var o;if("off"!==e&&(t&&(o="tooltip"===e?i.getBoundingClientRect():r.getBoundingClientRect(),!function(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom+80<=window.innerHeight&&e.right<=window.innerWidth}(r)))){var a=St().height;o.bottom-(o.bottom-o.top)<0||r.clientHeight>a?window.scrollBy(0,o.top-(a/2-o.height/2)-n):window.scrollBy(0,o.top-(a/2-o.height/2)+n)}}var ee=ut.tags,ne=ee.h1,re=ee.div,ie=ee.input,oe=ee.label,ae=ee.ul,se=ee.li,le=ee.a,ue=function(t){var e=t.label,n=t.onClick,r=t.disabled,i=t.className;return le({role:"button",tabIndex:0,ariaDisabled:null!=r&&r,onclick:n,className:null!=i?i:""},[e])},ce=function(t){var e=t.steps,n=t.currentStep,r=t.buttonClass,i=t.nextToDone,o=t.doneLabel,a=t.hideNext,s=t.nextLabel,l=t.onNextClick,u=t.hidePrev,c=t.prevLabel,h=t.onPrevClick;return re({className:"introjs-tooltipbuttons"},e.length>1?function(t){var e=t.label,n=t.steps,r=t.currentStep,i=t.hidePrev,o=t.hideNext,a=t.onClick,s=t.buttonClass,l=0===r&&n.length>1,u=l&&!i,c=l&&i,h=(r===n.length-1||1===n.length)&&o;return ue({label:e,onClick:a,disabled:u,className:function(){var t=[s,"introjs-prevbutton"];return h&&t.push("introjs-fullbutton"),u&&t.push("introjs-disabled"),c&&t.push("introjs-hidden"),t.filter(Boolean).join(" ")}})}({label:c,steps:e,currentStep:n,hidePrev:u,hideNext:a,onClick:h,buttonClass:r}):null,function(t){var e=t.steps,n=t.currentStep,r=t.nextLabel,i=t.doneLabel,o=t.hideNext,a=t.hidePrev,s=t.nextToDone,l=t.onClick,u=t.buttonClass,c=0===n&&e.length>1&&a,h=n===e.length-1||1===e.length,f=ut.derive((function(){return h&&!o&&!s})),d=ut.derive((function(){return h&&!o&&s})),v=ue({label:d.val?i:r,onClick:l,className:function(){var t=[u,"introjs-nextbutton"];return d.val&&t.push("introjs-donebutton"),f.val&&t.push("introjs-disabled"),c&&t.push("introjs-fullbutton"),t.filter(Boolean).join(" ")}});return setTimeout((function(){v.focus()}),1),v}({currentStep:n,steps:e,doneLabel:o,nextLabel:s,onClick:l,hideNext:a,hidePrev:u,nextToDone:i,buttonClass:r}))},he=function(t){var e=t.step,n=t.currentStep,r=t.steps,i=t.onBulletClick,o=t.bullets,a=t.buttons,l=t.nextLabel,u=t.onNextClick,c=t.prevLabel,h=t.onPrevClick,f=t.skipLabel,d=t.onSkipClick,v=t.buttonClass,p=t.nextToDone,g=t.doneLabel,m=t.hideNext,y=t.hidePrev,w=t.progress,x=t.progressBarAdditionalClass,S=t.stepNumbers,C=t.stepNumbersOfLabel,_=t.scrollToElement,O=t.scrollPadding,E=t.dontShowAgain,A=t.onDontShowAgainChange,P=t.dontShowAgainLabel,j=t.renderAsHtml,L=k(t,["step","currentStep","steps","onBulletClick","bullets","buttons","nextLabel","onNextClick","prevLabel","onPrevClick","skipLabel","onSkipClick","buttonClass","nextToDone","doneLabel","hideNext","hidePrev","progress","progressBarAdditionalClass","stepNumbers","stepNumbersOfLabel","scrollToElement","scrollPadding","dontShowAgain","onDontShowAgainChange","dontShowAgainLabel","renderAsHtml"]),N=[],H=e.title,T=e.intro,R=e.position;N.push(function(t){var e=t.title,n=t.skipLabel,r=t.onSkipClick;return re({className:"introjs-tooltip-header"},[ne({className:"introjs-tooltip-title"},e),ue({className:"introjs-skipbutton",label:n,onClick:r})])}({title:H,skipLabel:f,onSkipClick:d})),N.push(Lt({text:T,tooltipRenderAsHtml:j,className:"introjs-tooltiptext"})),E&&N.push(function(t){var e=t.dontShowAgainLabel,n=t.onDontShowAgainChange;return re({className:"introjs-dontShowAgain"},[ie({type:"checkbox",id:"introjs-dontShowAgain",name:"introjs-dontShowAgain",onchange:function(t){n(t.target.checked)}}),oe({for:"introjs-dontShowAgain"},e)])}({dontShowAgainLabel:P,onDontShowAgainChange:A})),o&&N.push(function(t){var e=t.step,n=t.steps,r=t.onBulletClick;return re({className:"introjs-bullets"},[ae({role:"tablist"},b(n.map((function(t){var n=t.step;return se({role:"presentation"},[le(s({role:"tab",className:function(){return"".concat(e.step===n?"active":"")},onclick:function(t){var e=t.target.getAttribute("data-step-number");e&&r(parseInt(e,10))},innerHTML:"&nbsp;"},"data-step-number",n))])}))))])}({step:e,steps:r,onBulletClick:i})),w&&N.push(function(t){var e=t.steps,n=t.currentStep,r=t.progressBarAdditionalClass,i=(n+1)/e.length*100;return re({className:"introjs-progress"},[re({className:"".concat("introjs-progressbar"," ").concat(r||""),role:"progress","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":function(){return i.toString()},style:"width:".concat(i,"%;")})])}({steps:r,currentStep:n,progressBarAdditionalClass:x})),S&&N.push(function(t){var e=t.step,n=t.steps,r=t.stepNumbersOfLabel;return re({className:"introjs-helperNumberLayer"},["".concat(e.step," ").concat(r," ").concat(n.length)])}({step:e,steps:r,stepNumbersOfLabel:C})),a&&N.push(ce({steps:r,currentStep:n,nextLabel:l,onNextClick:u,prevLabel:c,onPrevClick:h,buttonClass:v,nextToDone:p,doneLabel:g,hideNext:m,hidePrev:y}));var B=Pt(Object.assign(Object.assign({},L),{element:e.element,hintMode:!1,position:R}),N);return function(t){var e=t.step,n=t.tooltip,r=t.scrollToElement,i=t.scrollPadding;$t(r,e.element),te(r,e.scrollTo,i,e.element,n)}({step:e,tooltip:B,scrollToElement:_,scrollPadding:O}),B},fe=ut.tags.div,de=ut.tags.div,ve=ut.tags.div,pe=ut.tags.div,ge=ut.tags.div,be=function(t){var e=t.tour,n=e.getCurrentStepSignal(),r=e.getRefreshesSignal(),i=e.getSteps(),o=function(t){var e=t.currentStep,n=t.steps,r=t.refreshes,i=t.targetElement,o=t.tourHighlightClass,a=t.overlayOpacity,s=t.helperLayerPadding,l=ut.derive((function(){return void 0!==e.val?n[e.val]:null})),u=de({className:function(){return function(t){var e=t.step,n=t.tourHighlightClass,r="introjs-helperLayer";return e.val&&"string"==typeof e.val.highlightClass&&(r+=" ".concat(e.val.highlightClass)),"string"==typeof n&&(r+=" ".concat(n)),r}({step:l,tourHighlightClass:o})},style:kt({"box-shadow":"0 0 1px 2px rgba(33, 33, 33, 0.8), rgba(33, 33, 33, ".concat(a.toString(),") 0 0 0 5000px")})});return ut.derive((function(){l.val&&void 0!==r.val&&Zt(i,u,l.val,s)})),u}({currentStep:n,steps:i,refreshes:r,targetElement:e.getTargetElement(),tourHighlightClass:e.getOption("highlightClass"),overlayOpacity:e.getOption("overlayOpacity"),helperLayerPadding:e.getOption("helperElementPadding")}),a=ut.state(0),s=0,l=ge({className:"introjs-tour",style:function(){return kt({opacity:"".concat(a.val)})}},o,(function(){if(void 0===n.val)return null;var t=ut.derive((function(){return void 0!==n.val?i[n.val]:null}));if(!t.val)return null;var o=function(t){var e=t.exitOnOverlayClick,n=t.onExitTour,r=pe({className:"introjs-overlay",style:kt({top:0,bottom:0,left:0,right:0,position:"fixed",cursor:e?"pointer":"auto"})});return e&&(r.onclick=function(){return x(void 0,void 0,void 0,d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n();case 2:case"end":return t.stop()}}),t)})))}),r}({exitOnOverlayClick:!0===e.getOption("exitOnOverlayClick"),onExitTour:function(){return x(void 0,void 0,void 0,d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",e.exit());case 1:case"end":return t.stop()}}),t)})))}}),a=function(t){var e=t.targetElement,n=t.helperElementPadding,r=k(t,["targetElement","helperElementPadding"]),i=fe({className:"introjs-tooltipReferenceLayer"},he(r));return ut.derive((function(){null!=r.refreshes.val&&Zt(e,i,r.step,n)})),i}({step:t.val,targetElement:e.getTargetElement(),refreshes:r,helperElementPadding:e.getOption("helperElementPadding"),transitionDuration:s,positionPrecedence:e.getOption("positionPrecedence"),autoPosition:e.getOption("autoPosition"),showStepNumbers:e.getOption("showStepNumbers"),steps:e.getSteps(),currentStep:n.val,onBulletClick:function(t){e.goToStep(t)},bullets:e.getOption("showBullets"),buttons:e.getOption("showButtons"),nextLabel:"Next",onNextClick:function(t){return x(void 0,void 0,void 0,d().mark((function n(){var r;return d().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e.isLastStep()){n.next=5;break}return n.next=3,Mt(e);case 3:n.next=10;break;case 5:if(!new RegExp("introjs-donebutton","gi").test(t.target.className)){n.next=10;break}return n.next=8,null===(r=e.callback("complete"))||void 0===r?void 0:r.call(e,e.getCurrentStep(),"done");case 8:return n.next=10,e.exit();case 10:case"end":return n.stop()}}),n)})))},prevLabel:e.getOption("prevLabel"),onPrevClick:function(){return x(void 0,void 0,void 0,d().mark((function t(){var n;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(void 0!==(n=e.getCurrentStep())&&n>0)){t.next=4;break}return t.next=4,Jt(e);case 4:case"end":return t.stop()}}),t)})))},skipLabel:e.getOption("skipLabel"),onSkipClick:function(){return x(void 0,void 0,void 0,d().mark((function t(){var n,r;return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.isLastStep()){t.next=3;break}return t.next=3,null===(n=e.callback("complete"))||void 0===n?void 0:n.call(e,e.getCurrentStep(),"skip");case 3:return t.next=5,null===(r=e.callback("skip"))||void 0===r?void 0:r.call(e,e.getCurrentStep());case 5:return t.next=7,e.exit();case 7:case"end":return t.stop()}}),t)})))},buttonClass:e.getOption("buttonClass"),nextToDone:e.getOption("nextToDone"),doneLabel:e.getOption("doneLabel"),hideNext:e.getOption("hideNext"),hidePrev:e.getOption("hidePrev"),className:e.getOption("tooltipClass"),progress:e.getOption("showProgress"),progressBarAdditionalClass:e.getOption("progressBarAdditionalClass"),stepNumbers:e.getOption("showStepNumbers"),stepNumbersOfLabel:e.getOption("stepNumbersOfLabel"),scrollToElement:e.getOption("scrollToElement"),scrollPadding:e.getOption("scrollPadding"),dontShowAgain:e.getOption("dontShowAgain"),onDontShowAgainChange:function(t){e.setDontShowAgain(t)},dontShowAgainLabel:e.getOption("dontShowAgainLabel"),renderAsHtml:e.getOption("tooltipRenderAsHtml")}),l=t.val.disableInteraction?function(t){var e=t.currentStep,n=t.steps,r=t.refreshes,i=t.targetElement,o=t.helperElementPadding,a=ut.derive((function(){return void 0!==e.val?n[e.val]:null}));return function(){if(!a.val)return null;var t=ve({className:"introjs-disableInteraction"});return ut.derive((function(){a.val&&null!=r.val&&Zt(i,t,a.val,o)})),t}}({currentStep:n,steps:e.getSteps(),refreshes:r,targetElement:e.getTargetElement(),helperElementPadding:e.getOption("helperElementPadding")}):null;return s=300,ge(o,a,l)}));return ut.derive((function(){void 0===n.val&&(a.val=0,setTimeout((function(){l.remove()}),250))})),setTimeout((function(){a.val=1}),1),l},me=ut.tags.div,ye=function(){function t(e,r){n(this,t),this._steps=[],this._currentStepSignal=ut.state(void 0),this._refreshesSignal=ut.state(0),this.callbacks={},this._targetElement=B(e),this._options=r?A(this._options,r):{steps:[],isActive:!0,nextLabel:"Next",prevLabel:"Back",skipLabel:"×",doneLabel:"Done",hidePrev:!1,hideNext:!1,nextToDone:!0,tooltipPosition:"bottom",tooltipClass:"",group:"",highlightClass:"",exitOnEsc:!0,exitOnOverlayClick:!0,showStepNumbers:!1,stepNumbersOfLabel:"of",keyboardNavigation:!0,showButtons:!0,showBullets:!0,showProgress:!1,scrollToElement:!0,scrollTo:"element",scrollPadding:30,overlayOpacity:.5,autoPosition:!0,positionPrecedence:["bottom","top","right","left"],disableInteraction:!1,dontShowAgain:!1,dontShowAgainLabel:"Don't show this again",dontShowAgainCookie:"introjs-dontShowAgain",dontShowAgainCookieDays:365,helperElementPadding:10,buttonClass:"introjs-button",progressBarAdditionalClass:"",tooltipRenderAsHtml:!0}}return i(t,[{key:"callback",value:function(t){var e=this.callbacks[t];if(P(e))return e}},{key:"goToStep",value:function(t){return x(this,void 0,void 0,d().mark((function e(){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.setCurrentStep(t-2),e.next=3,Mt(this);case 3:return e.abrupt("return",this);case 4:case"end":return e.stop()}}),e,this)})))}},{key:"goToStepNumber",value:function(t){return x(this,void 0,void 0,d().mark((function e(){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=0;case 1:if(!(n<this._steps.length)){e.next=9;break}if(this._steps[n].step!==t){e.next=6;break}return this.setCurrentStep(n-1),e.abrupt("break",9);case 6:n++,e.next=1;break;case 9:return e.next=11,Mt(this);case 11:return e.abrupt("return",this);case 12:case"end":return e.stop()}}),e,this)})))}},{key:"addStep",value:function(t){return this._options.steps||(this._options.steps=[]),this._options.steps.push(t),this}},{key:"addSteps",value:function(t){if(!t.length)return this;var e,n=o(t);try{for(n.s();!(e=n.n()).done;){var r=e.value;this.addStep(r)}}catch(t){n.e(t)}finally{n.f()}return this}},{key:"setSteps",value:function(t){return this._steps=t,this}},{key:"getSteps",value:function(){return this._steps}},{key:"getStep",value:function(t){return this._steps[t]}},{key:"getCurrentStepSignal",value:function(){return this._currentStepSignal}},{key:"getRefreshesSignal",value:function(){return this._refreshesSignal}},{key:"getCurrentStep",value:function(){return this._currentStepSignal.val}},{key:"currentStep",value:function(){return this._currentStepSignal.val}},{key:"resetCurrentStep",value:function(){this._currentStepSignal.val=void 0}},{key:"setCurrentStep",value:function(t){return void 0===this._currentStepSignal.val||t>=this._currentStepSignal.val?this._direction="forward":this._direction="backward",this._currentStepSignal.val=t,this}},{key:"incrementCurrentStep",value:function(){var t=this.getCurrentStep();return void 0===t?this.setCurrentStep(0):this.setCurrentStep(t+1),this}},{key:"decrementCurrentStep",value:function(){var t=this.getCurrentStep();return void 0!==t&&t>0&&this.setCurrentStep(t-1),this}},{key:"getDirection",value:function(){return this._direction}},{key:"nextStep",value:function(){return x(this,void 0,void 0,d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Mt(this);case 2:return t.abrupt("return",this);case 3:case"end":return t.stop()}}),t,this)})))}},{key:"previousStep",value:function(){return x(this,void 0,void 0,d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Jt(this);case 2:return t.abrupt("return",this);case 3:case"end":return t.stop()}}),t,this)})))}},{key:"isEnd",value:function(){var t=this.getCurrentStep();return void 0!==t&&t>=this._steps.length}},{key:"isLastStep",value:function(){return this.getCurrentStep()===this._steps.length-1}},{key:"getTargetElement",value:function(){return this._targetElement}},{key:"setOptions",value:function(t){return this._options=A(this._options,t),this}},{key:"setOption",value:function(t,e){return this._options=E(this._options,t,e),this}},{key:"getOption",value:function(t){return this._options[t]}},{key:"clone",value:function(){return new t(this._targetElement,this._options)}},{key:"isActive",value:function(){return(!this.getOption("dontShowAgain")||(t=this.getOption("dontShowAgainCookie"),""===(e=Ut(t))||"true"!==e))&&this.getOption("isActive");var t,e}},{key:"hasStarted",value:function(){return void 0!==this.getCurrentStep()}},{key:"setDontShowAgain",value:function(t){return Xt(t,this.getOption("dontShowAgainCookie"),this.getOption("dontShowAgainCookieDays")),this}},{key:"enableKeyboardNavigation",value:function(){var t=this;return this.getOption("keyboardNavigation")&&(this._keyboardNavigationHandler=function(e){return function(t,e){var n;return x(this,void 0,void 0,d().mark((function r(){var i,o;return d().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(null===(i=void 0===e.code?e.which:e.code)&&(i=null===e.charCode?e.keyCode:e.charCode),"Escape"!==i&&27!==i||!0!==t.getOption("exitOnEsc")){r.next=7;break}return r.next=5,t.exit();case 5:r.next=39;break;case 7:if("ArrowLeft"!==i&&37!==i){r.next=12;break}return r.next=10,Jt(t);case 10:r.next=39;break;case 12:if("ArrowRight"!==i&&39!==i){r.next=17;break}return r.next=15,Mt(t);case 15:r.next=39;break;case 17:if("Enter"!==i&&"NumpadEnter"!==i&&13!==i){r.next=39;break}if(!(o=e.target||e.srcElement)||!o.className.match("introjs-prevbutton")){r.next=24;break}return r.next=22,Jt(t);case 22:r.next=38;break;case 24:if(!o||!o.className.match("introjs-skipbutton")){r.next=32;break}if(!t.isEnd()){r.next=28;break}return r.next=28,null===(n=t.callback("complete"))||void 0===n?void 0:n.call(t,t.getCurrentStep(),"skip");case 28:return r.next=30,t.exit();case 30:r.next=38;break;case 32:if(!o||!o.getAttribute("data-step-number")){r.next=36;break}o.click(),r.next=38;break;case 36:return r.next=38,Mt(t);case 38:e.preventDefault?e.preventDefault():e.returnValue=!1;case 39:case"end":return r.stop()}}),r)})))}(t,e)},R.on(window,"keydown",this._keyboardNavigationHandler,!0)),this}},{key:"disableKeyboardNavigation",value:function(){return this._keyboardNavigationHandler&&(R.off(window,"keydown",this._keyboardNavigationHandler,!0),this._keyboardNavigationHandler=void 0),this}},{key:"enableRefreshOnResize",value:function(){var t=this;this._refreshOnResizeHandler=function(e){return t.refresh()},R.on(window,"resize",this._refreshOnResizeHandler,!0)}},{key:"disableRefreshOnResize",value:function(){this._refreshOnResizeHandler&&(R.off(window,"resize",this._refreshOnResizeHandler,!0),this._refreshOnResizeHandler=void 0)}},{key:"appendFloatingElement",value:function(){var t,e,n;return this._floatingElement||(this._floatingElement=(t={currentStep:this.getCurrentStepSignal()},e=t.currentStep,n=me({className:"introjsFloatingElement"}),ut.derive((function(){void 0===e.val&&n.remove()})),n),ut.add(this.getTargetElement(),this._floatingElement)),this._floatingElement}},{key:"createRoot",value:function(){this._root||(this._root=be({tour:this}),ut.add(this.getTargetElement(),this._root))}},{key:"recreateRoot",value:function(){this._root&&(this._root.remove(),this._root=void 0,this.createRoot())}},{key:"start",value:function(){return x(this,void 0,void 0,d().mark((function t(){return d().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Yt(this);case 2:if(!t.sent){t.next=6;break}this.createRoot(),this.enableKeyboardNavigation(),this.enableRefreshOnResize();case 6:return t.abrupt("return",this);case 7:case"end":return t.stop()}}),t,this)})))}},{key:"exit",value:function(t){return x(this,void 0,void 0,d().mark((function e(){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Qt(this,null!=t&&t);case 2:if(!e.sent){e.next=5;break}this.disableKeyboardNavigation(),this.disableRefreshOnResize();case 5:return e.abrupt("return",this);case 6:case"end":return e.stop()}}),e,this)})))}},{key:"refresh",value:function(t){return void 0===this.getCurrentStep()||(void 0!==this._refreshesSignal.val&&(this._refreshesSignal.val+=1),t&&(this.setSteps(Kt(this)),this.recreateRoot())),this}},{key:"onbeforechange",value:function(t){return this.onBeforeChange(t)}},{key:"onBeforeChange",value:function(t){if(!P(t))throw new Error("Provided callback for onBeforeChange was not a function");return this.callbacks.beforeChange=t,this}},{key:"onchange",value:function(t){this.onChange(t)}},{key:"onChange",value:function(t){if(!P(t))throw new Error("Provided callback for onChange was not a function.");return this.callbacks.change=t,this}},{key:"onafterchange",value:function(t){this.onAfterChange(t)}},{key:"onAfterChange",value:function(t){if(!P(t))throw new Error("Provided callback for onAfterChange was not a function");return this.callbacks.afterChange=t,this}},{key:"oncomplete",value:function(t){return this.onComplete(t)}},{key:"onComplete",value:function(t){if(!P(t))throw new Error("Provided callback for oncomplete was not a function.");return this.callbacks.complete=t,this}},{key:"onstart",value:function(t){return this.onStart(t)}},{key:"onStart",value:function(t){if(!P(t))throw new Error("Provided callback for onstart was not a function.");return this.callbacks.start=t,this}},{key:"onexit",value:function(t){return this.onExit(t)}},{key:"onExit",value:function(t){if(!P(t))throw new Error("Provided callback for onexit was not a function.");return this.callbacks.exit=t,this}},{key:"onskip",value:function(t){return this.onSkip(t)}},{key:"onSkip",value:function(t){if(!P(t))throw new Error("Provided callback for onskip was not a function.");return this.callbacks.skip=t,this}},{key:"onbeforeexit",value:function(t){return this.onBeforeExit(t)}},{key:"onBeforeExit",value:function(t){if(!P(t))throw new Error("Provided callback for onbeforeexit was not a function.");return this.callbacks.beforeExit=t,this}}]),t}(),we=function(t){!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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&v(t,e)}(r,ye);var e=a(r);function r(){return n(this,r),e.apply(this,arguments)}return i(r,[{key:"addHints",value:function(){console.error("introJs().addHints() is deprecated, please use introJs.hint.addHints() instead.")}},{key:"addHint",value:function(){console.error("introJs().addHint() is deprecated, please use introJs.hint.addHint() instead.")}},{key:"removeHints",value:function(){console.error("introJs().removeHints() is deprecated, please use introJs.hint.removeHints() instead.")}}]),r}(),ke=function(t){return console.warn("introJs() is deprecated. Please use introJs.tour() or introJs.hint() instead."),new we(t)};ke.tour=function(t){return new ye(t)},ke.hint=function(t){return new Ft(t)},ke.version="8.2.0-beta.1";export{ke as default};
//# sourceMappingURL=intro.module.js.map
{
"name": "intro.js",
"version": "8.1.0-beta.1",
"version": "8.2.0-beta.1",
"description": "User Onboarding and Product Walkthrough Library",

@@ -25,2 +25,3 @@ "keywords": [

"prettier": "prettier --write '(src|tests)/**/*.(js|ts|json|html)' '!tests/cypress/setup/dist'",
"cypress:updatesnapshots": "start-server-and-test dev http://localhost:10001/dist/intro.js 'docker run -it -v $PWD:/e2e -w /e2e --entrypoint=cypress cypress/included:cypress-13.17.0-node-22.13.0-chrome-131.0.6778.264-1-ff-134.0-edge-131.0.2903.112-1 run --env visualRegressionType=base'",
"test": "run-p test:prettier test:jest test:cypress",

@@ -30,3 +31,3 @@ "test:prettier": "prettier --check '(src|tests)/**/*.(js|ts|json|html)' '!tests/cypress/setup/dist'",

"test:jest": "jest --coverage --silent --ci --coverage --coverageReporters=\"text\" --coverageReporters=\"text-summary\"",
"test:cypress": "start-server-and-test dev http://localhost:10001/dist/intro.js 'docker run -it -v $PWD:/e2e -w /e2e --entrypoint=cypress cypress/included run --env visualRegressionType=regression || cypress run --env visualRegressionType=regression'",
"test:cypress": "start-server-and-test dev http://localhost:10001/dist/intro.js 'docker run -it -v $PWD:/e2e -w /e2e --entrypoint=cypress cypress/included:cypress-13.17.0-node-22.13.0-chrome-131.0.6778.264-1-ff-134.0-edge-131.0.2903.112-1 run --env visualRegressionType=regression || cypress run --env visualRegressionType=regression'",
"release": "./bin/release.sh || true",

@@ -33,0 +34,0 @@ "prebuild": "rimraf ./dist",

@@ -9,3 +9,5 @@ import { TooltipProps } from "../../tooltip/tooltip";

closeButtonClassName: string;
className?: string;
renderAsHtml?: boolean;
};
export declare const HintTooltip: ({ hintItem, closeButtonEnabled, closeButtonOnClick, closeButtonLabel, closeButtonClassName, ...props }: HintTooltipProps) => HTMLDivElement;
export declare const HintTooltip: ({ hintItem, closeButtonEnabled, closeButtonOnClick, closeButtonLabel, closeButtonClassName, className, renderAsHtml, ...props }: HintTooltipProps) => HTMLDivElement;

@@ -17,3 +17,4 @@ import { TooltipPosition } from "../../packages/tooltip";

positionPrecedence: TooltipPosition[];
tooltipRenderAsHtml?: boolean;
}
export declare function getDefaultHintOptions(): HintOptions;

@@ -17,3 +17,4 @@ import { ChildDom, State } from "../dom";

onClick?: (e: any) => void;
className?: string;
};
export declare const Tooltip: ({ position: initialPosition, element, refreshes, hintMode, showStepNumbers, transitionDuration, autoPosition, positionPrecedence, onClick, }: TooltipProps, children?: ChildDom[]) => HTMLDivElement;
export declare const Tooltip: ({ position: initialPosition, element, refreshes, hintMode, showStepNumbers, transitionDuration, positionPrecedence, className, autoPosition, onClick, }: TooltipProps, children?: ChildDom[]) => HTMLDivElement;

@@ -29,4 +29,5 @@ import { type TooltipProps } from "../../tooltip/tooltip";

dontShowAgainLabel: string;
renderAsHtml?: boolean;
onDontShowAgainChange: (checked: boolean) => void;
};
export declare const TourTooltip: ({ step, currentStep, steps, onBulletClick, bullets, buttons, nextLabel, onNextClick, prevLabel, onPrevClick, skipLabel, onSkipClick, buttonClass, nextToDone, doneLabel, hideNext, hidePrev, progress, progressBarAdditionalClass, stepNumbers, stepNumbersOfLabel, scrollToElement, scrollPadding, dontShowAgain, onDontShowAgainChange, dontShowAgainLabel, ...props }: TourTooltipProps) => HTMLDivElement;
export declare const TourTooltip: ({ step, currentStep, steps, onBulletClick, bullets, buttons, nextLabel, onNextClick, prevLabel, onPrevClick, skipLabel, onSkipClick, buttonClass, nextToDone, doneLabel, hideNext, hidePrev, progress, progressBarAdditionalClass, stepNumbers, stepNumbersOfLabel, scrollToElement, scrollPadding, dontShowAgain, onDontShowAgainChange, dontShowAgainLabel, renderAsHtml, ...props }: TourTooltipProps) => HTMLDivElement;

@@ -39,3 +39,4 @@ import { TooltipPosition } from "../../packages/tooltip";

progressBarAdditionalClass: string;
tooltipRenderAsHtml?: boolean;
}
export declare function getDefaultTourOptions(): TourOptions;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet