Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-tour

Package Overview
Dependencies
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-tour - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

demo/.eslintrc.js

23

CHANGELOG.md

@@ -5,2 +5,25 @@ # Change Log

<a name="1.1.0"></a>
# [1.1.0](https://github.com/pulsardev/vue-tour/compare/v1.0.1...v1.1.0) (2018-10-16)
### Bug Fixes
* bump the circleci node version to allow the tests to run ([aeeb2f3](https://github.com/pulsardev/vue-tour/commit/aeeb2f3))
* Changed [@click](https://github.com/click) on Steps to [@click](https://github.com/click).prevent ([d2b7a11](https://github.com/pulsardev/vue-tour/commit/d2b7a11))
* destructuration doesn't work, the parameter(s) has to be passed directly ([bccf4ee](https://github.com/pulsardev/vue-tour/commit/bccf4ee))
* resolve vulnerabilities reported by npm ([38cb274](https://github.com/pulsardev/vue-tour/commit/38cb274))
### Features
* add a new step to show off the target handling in corners ([16fd73f](https://github.com/pulsardev/vue-tour/commit/16fd73f))
* add optional starting step to VTour ([13d6996](https://github.com/pulsardev/vue-tour/commit/13d6996))
* add options to change navigation buttons text ([f1a4302](https://github.com/pulsardev/vue-tour/commit/f1a4302))
* use jump.js for more options per step ([64eb8d1](https://github.com/pulsardev/vue-tour/commit/64eb8d1))
* **scroll:** use jump.js to scroll only when scroll options are defined ([97667bd](https://github.com/pulsardev/vue-tour/commit/97667bd))
* **steps:** add the possibility to change the text of the buttons through the tour options ([2ead09e](https://github.com/pulsardev/vue-tour/commit/2ead09e))
<a name="1.0.1"></a>

@@ -7,0 +30,0 @@ ## [1.0.1](https://github.com/pulsardev/vue-tour/compare/v1.0.0...v1.0.1) (2018-03-16)

2

demo/cypress.json
{
"pluginsFile": "test/e2e/plugins/index.js"
"pluginsFile": "tests/e2e/plugins/index.js"
}
{
"name": "docs",
"name": "demo",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve --open",
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"e2e": "vue-cli-service e2e",
"lint": "vue-cli-service lint",
"e2e:open": "vue-cli-service e2e:open"
"test:e2e": "vue-cli-service test:e2e"
},
"dependencies": {
"vue": "^2.5.13",
"vue": "^2.5.17",
"vue-router": "^3.0.1",
"vue-tour": "^1.0.0"
"vue-tour": "^1.0.1"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^3.0.0-alpha.13",
"@vue/cli-plugin-e2e-cypress": "^3.0.0-alpha.13",
"@vue/cli-plugin-eslint": "^3.0.0-alpha.13",
"@vue/cli-service": "^3.0.0-alpha.13",
"@vue/eslint-config-standard": "^3.0.0-alpha.13",
"node-sass": "^4.7.2",
"sass-loader": "^6.0.6",
"vue-template-compiler": "^2.5.13"
"@vue/cli-plugin-babel": "^3.0.0",
"@vue/cli-plugin-e2e-cypress": "^3.0.0",
"@vue/cli-plugin-eslint": "^3.0.0",
"@vue/cli-service": "^3.0.0",
"@vue/eslint-config-standard": "^3.0.1",
"vue-template-compiler": "^2.5.17"
},

@@ -27,0 +24,0 @@ "browserslist": [

@@ -1,2 +0,27 @@

(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["vue-tour"]=e():t["vue-tour"]=e()})("undefined"!==typeof self?self:this,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="./",n(n.s=0)}({"/uYw":function(t,e,n){"use strict";function r(t,e){while(t.length<e)t="0"+t;return t}function o(t,e){var n,r,o;if(0===e.length)return t;for(n=0,o=e.length;n<o;n++)r=e.charCodeAt(n),t=(t<<5)-t+r,t|=0;return t<0?-2*t:t}function i(t,e,n){return Object.keys(e).sort().reduce(r,t);function r(t,r){return s(t,e[r],r,n)}}function s(t,e,n,r){var s=o(o(o(t,n),a(e)),typeof e);return null===e?o(s,"null"):void 0===e?o(s,"undefined"):"object"===typeof e?-1!==r.indexOf(e)?o(s,"[Circular]"+n):(r.push(e),i(s,e,r)):o(s,e.toString())}function a(t){return Object.prototype.toString.call(t)}function u(t){return r(s(0,t,"",[]).toString(16),8)}t.exports=u},"/whu":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},0:function(t,e,n){t.exports=n("NHnr")},"2p1q":function(t,e,n){var r=n("lDLk"),o=n("fU25");t.exports=n("bUqO")?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},"6rc8":function(t,e){},"7gX0":function(t,e){var n=t.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},BbyF:function(t,e,n){var r=n("oeih"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},DIVP:function(t,e,n){var r=n("UKM+");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},Ds5P:function(t,e,n){var r=n("OzIq"),o=n("7gX0"),i=n("2p1q"),s=n("R3AP"),a=n("rFzY"),u="prototype",f=function(t,e,n){var c,p,l,d,h=t&f.F,m=t&f.G,v=t&f.S,b=t&f.P,g=t&f.B,y=m?r:v?r[e]||(r[e]={}):(r[e]||{})[u],w=m?o:o[e]||(o[e]={}),O=w[u]||(w[u]={});for(c in m&&(n=e),n)p=!h&&y&&void 0!==y[c],l=(p?y:n)[c],d=g&&p?a(l,r):b&&"function"==typeof l?a(Function.call,l):l,y&&s(y,c,l,t&f.U),w[c]!=l&&i(w,c,d),b&&O[c]!=l&&(O[c]=l)};r.core=o,f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,t.exports=f},DuR2:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"===typeof window&&(n=window)}t.exports=n},EuXz:function(t,e,n){var r=n("lDLk").f,o=Function.prototype,i=/^\s*function ([^ (]*)/,s="name";s in o||n("bUqO")&&r(o,s,{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},FryR:function(t,e,n){var r=n("/whu");t.exports=function(t){return Object(r(t))}},NHnr:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});n("EuXz"),n("n12u");var r={onStart:function(){},onPreviousStep:function(t){},onNextStep:function(t){},onStop:function(){}},o={useKeyboardNavigation:!0,startTimeout:0},i={placement:"bottom"},s={ARROW_RIGHT:39,ARROW_LEFT:37,ESCAPE:27},a={name:"v-tour",props:{steps:{type:Array,default:function(){return[]}},name:{type:String},options:{type:Object,default:function(){return o}},callbacks:{type:Object,default:function(){return r}}},data:function(){return{currentStep:-1}},mounted:function(){this.$tours[this.name]=this,this.customOptions.useKeyboardNavigation&&window.addEventListener("keyup",this.handleKeyup)},beforeDestroy:function(){this.customOptions.useKeyboardNavigation&&window.removeEventListener("keyup",this.handleKeyup)},computed:{customOptions:function(){return Object.assign({},o,this.options)},customCallbacks:function(){return Object.assign({},r,this.callbacks)},isRunning:function(){return this.currentStep>-1&&this.currentStep<this.numberOfSteps},isFirst:function(){return 0===this.currentStep},isLast:function(){return this.currentStep===this.steps.length-1},numberOfSteps:function(){return this.steps.length}},methods:{start:function(){var t=this;setTimeout(function(){t.customCallbacks.onStart(),t.currentStep=0},this.customOptions.startTimeout)},previousStep:function(){this.currentStep>0&&(this.customCallbacks.onPreviousStep(this.currentStep),this.currentStep--)},nextStep:function(){this.currentStep<this.numberOfSteps-1&&-1!==this.currentStep&&(this.customCallbacks.onNextStep(this.currentStep),this.currentStep++)},stop:function(){this.customCallbacks.onStop(),this.currentStep=-1},handleKeyup:function(t){switch(t.keyCode){case s.ARROW_RIGHT:this.nextStep();break;case s.ARROW_LEFT:this.previousStep();break;case s.ESCAPE:this.stop();break}}}},u=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"v-tour"},[t._t("default",t._l(t.steps,function(e,r){return t.currentStep===r?n("v-step",{key:r,attrs:{step:e,"previous-step":t.previousStep,"next-step":t.nextStep,stop:t.stop,isFirst:t.isFirst,isLast:t.isLast}}):t._e()}),{currentStep:t.currentStep,steps:t.steps,previousStep:t.previousStep,nextStep:t.nextStep,stop:t.stop,isFirst:t.isFirst,isLast:t.isLast})],2)},f=[];function c(t,e,n,r,o,i,s,a){t=t||{};var u=typeof t.default;"object"!==u&&"function"!==u||(t=t.default);var f,c="function"===typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId=i),s?(f=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=f):o&&(f=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),f)if(c.functional){c._injectStyles=f;var p=c.render;c.render=function(t,e){return f.call(e),p(t,e)}}else{var l=c.beforeCreate;c.beforeCreate=l?[].concat(l,f):[f]}return{exports:t,options:c}}var p=!1,l=null,d=null,h=null,m=c(a,u,f,p,l,d,h),v=m.exports,b=n("Zgw8"),g=n("/uYw"),y=n.n(g),w={name:"v-step",props:{step:{type:Object},previousStep:{type:Function},nextStep:{type:Function},stop:{type:Function},isFirst:{type:Boolean},isLast:{type:Boolean}},data:function(){return{hash:y()(this.step.target)}},computed:{params:function(){return Object.assign({},i,this.step.params)}},mounted:function(){var t=document.querySelector(this.step.target);t?(t.scrollIntoView({behavior:"smooth"}),new b["a"](t,this.$refs["v-step-"+this.hash],this.params)):(console.error("[Vue Tour] The target element "+this.step.target+' of .v-step[id="'+this.hash+'"] does not exist!'),this.stop())}},O=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"v-step-"+t.hash,staticClass:"v-step",attrs:{id:"v-step-"+t.hash}},[t._t("header",[t.step.header?n("div",{staticClass:"v-step__header"},[t.step.header.title?n("div",{domProps:{innerHTML:t._s(t.step.header.title)}}):t._e()]):t._e()]),t._v(" "),t._t("content",[n("div",{staticClass:"v-step__content"},[t.step.content?n("div",{domProps:{innerHTML:t._s(t.step.content)}}):n("div",[t._v("This is a demo step! The id of this step is "+t._s(t.hash)+" and it targets "+t._s(t.step.target)+".")])])]),t._v(" "),t._t("actions",[n("div",{staticClass:"v-step__buttons"},[t.isLast?t._e():n("button",{staticClass:"v-step__button",on:{click:t.stop}},[t._v("Skip tour")]),t._v(" "),t.isFirst?t._e():n("button",{staticClass:"v-step__button",on:{click:t.previousStep}},[t._v("Previous")]),t._v(" "),t.isLast?t._e():n("button",{staticClass:"v-step__button",on:{click:t.nextStep}},[t._v("Next")]),t._v(" "),t.isLast?n("button",{staticClass:"v-step__button",on:{click:t.stop}},[t._v("Finish")]):t._e()])]),t._v(" "),n("div",{staticClass:"v-step__arrow",class:{"v-step__arrow--dark":t.step.header&&t.step.header.title}})],2)},x=[];function S(t){n("6rc8")}var _=!1,E=S,L="data-v-570be51d",T=null,C=c(w,O,x,_,E,L,T),j=C.exports,k={install:function(t,e){t.component(v.name,v),t.component(j.name,j),t.prototype.$tours={}}};e["default"]=k;"undefined"!==typeof window&&window.Vue&&window.Vue.use(k)},OzIq:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},PHqh:function(t,e,n){var r=n("Q6Nf"),o=n("/whu");t.exports=function(t){return r(o(t))}},Q6Nf:function(t,e,n){var r=n("ydD5");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},QKXm:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},Qh14:function(t,e,n){var r=n("ReGu"),o=n("QKXm");t.exports=Object.keys||function(t){return r(t,o)}},R3AP:function(t,e,n){var r=n("OzIq"),o=n("2p1q"),i=n("WBcL"),s=n("ulTY")("src"),a="toString",u=Function[a],f=(""+u).split(a);n("7gX0").inspectSource=function(t){return u.call(t)},(t.exports=function(t,e,n,a){var u="function"==typeof n;u&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(u&&(i(n,s)||o(n,s,t[e]?""+t[e]:f.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,a,function(){return"function"==typeof this&&this[s]||u.call(this)})},ReGu:function(t,e,n){var r=n("WBcL"),o=n("PHqh"),i=n("ot5s")(!1),s=n("mZON")("IE_PROTO");t.exports=function(t,e){var n,a=o(t),u=0,f=[];for(n in a)n!=s&&r(a,n)&&f.push(n);while(e.length>u)r(a,n=e[u++])&&(~i(f,n)||f.push(n));return f}},"UKM+":function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},VWgF:function(t,e,n){var r=n("OzIq"),o="__core-js_shared__",i=r[o]||(r[o]={});t.exports=function(t){return i[t]||(i[t]={})}},WBcL:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},XSOZ:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},Y1N3:function(t,e){e.f=Object.getOwnPropertySymbols},Y1aA:function(t,e){e.f={}.propertyIsEnumerable},Zgw8:function(t,e,n){"use strict";(function(t){for(var n="undefined"!==typeof window&&"undefined"!==typeof document,r=["Edge","Trident","Firefox"],o=0,i=0;i<r.length;i+=1)if(n&&navigator.userAgent.indexOf(r[i])>=0){o=1;break}function s(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}function a(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},o))}}var u=n&&window.Promise,f=u?s:a;function c(t){var e={};return t&&"[object Function]"===e.toString.call(t)}function p(t,e){if(1!==t.nodeType)return[];var n=getComputedStyle(t,null);return e?n[e]:n}function l(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function d(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=p(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/(auto|scroll)/.test(n+o+r)?t:d(l(t))}function h(t){var e=t&&t.offsetParent,n=e&&e.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TD","TABLE"].indexOf(e.nodeName)&&"static"===p(e,"position")?h(e):e:t?t.ownerDocument.documentElement:document.documentElement}function m(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||h(t.firstElementChild)===t)}function v(t){return null!==t.parentNode?v(t.parentNode):t}function b(t,e){if(!t||!t.nodeType||!e||!e.nodeType)return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,o=n?e:t,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var s=i.commonAncestorContainer;if(t!==s&&e!==s||r.contains(o))return m(s)?s:h(s);var a=v(t);return a.host?b(a.host,e):b(t,v(e).host)}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var o=t.ownerDocument.documentElement,i=t.ownerDocument.scrollingElement||o;return i[n]}return t[n]}function y(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(e,"top"),o=g(e,"left"),i=n?-1:1;return t.top+=r*i,t.bottom+=r*i,t.left+=o*i,t.right+=o*i,t}function w(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+r+"Width"],10)}var O=void 0,x=function(){return void 0===O&&(O=-1!==navigator.appVersion.indexOf("MSIE 10")),O};function S(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],x()?n["offset"+t]+r["margin"+("Height"===t?"Top":"Left")]+r["margin"+("Height"===t?"Bottom":"Right")]:0)}function _(){var t=document.body,e=document.documentElement,n=x()&&getComputedStyle(e);return{height:S("Height",t,e,n),width:S("Width",t,e,n)}}var E=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},L=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),T=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},C=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function j(t){return C({},t,{right:t.left+t.width,bottom:t.top+t.height})}function k(t){var e={};if(x())try{e=t.getBoundingClientRect();var n=g(t,"top"),r=g(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}catch(t){}else e=t.getBoundingClientRect();var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i="HTML"===t.nodeName?_():{},s=i.width||t.clientWidth||o.right-o.left,a=i.height||t.clientHeight||o.bottom-o.top,u=t.offsetWidth-s,f=t.offsetHeight-a;if(u||f){var c=p(t);u-=w(c,"x"),f-=w(c,"y"),o.width-=u,o.height-=f}return j(o)}function F(t,e){var n=x(),r="HTML"===e.nodeName,o=k(t),i=k(e),s=d(t),a=p(e),u=parseFloat(a.borderTopWidth,10),f=parseFloat(a.borderLeftWidth,10),c=j({top:o.top-i.top-u,left:o.left-i.left-f,width:o.width,height:o.height});if(c.marginTop=0,c.marginLeft=0,!n&&r){var l=parseFloat(a.marginTop,10),h=parseFloat(a.marginLeft,10);c.top-=u-l,c.bottom-=u-l,c.left-=f-h,c.right-=f-h,c.marginTop=l,c.marginLeft=h}return(n?e.contains(s):e===s&&"BODY"!==s.nodeName)&&(c=y(c,e)),c}function P(t){var e=t.ownerDocument.documentElement,n=F(t,e),r=Math.max(e.clientWidth,window.innerWidth||0),o=Math.max(e.clientHeight,window.innerHeight||0),i=g(e),s=g(e,"left"),a={top:i-n.top+n.marginTop,left:s-n.left+n.marginLeft,width:r,height:o};return j(a)}function N(t){var e=t.nodeName;return"BODY"!==e&&"HTML"!==e&&("fixed"===p(t,"position")||N(l(t)))}function M(t,e,n,r){var o={top:0,left:0},i=b(t,e);if("viewport"===r)o=P(i);else{var s=void 0;"scrollParent"===r?(s=d(l(e)),"BODY"===s.nodeName&&(s=t.ownerDocument.documentElement)):s="window"===r?t.ownerDocument.documentElement:r;var a=F(s,i);if("HTML"!==s.nodeName||N(i))o=a;else{var u=_(),f=u.height,c=u.width;o.top+=a.top-a.marginTop,o.bottom=f+a.top,o.left+=a.left-a.marginLeft,o.right=c+a.left}}return o.left+=n,o.top+=n,o.right-=n,o.bottom-=n,o}function D(t){var e=t.width,n=t.height;return e*n}function R(t,e,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=M(n,r,i,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},u=Object.keys(a).map(function(t){return C({key:t},a[t],{area:D(a[t])})}).sort(function(t,e){return e.area-t.area}),f=u.filter(function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight}),c=f.length>0?f[0].key:u[0].key,p=t.split("-")[1];return c+(p?"-"+p:"")}function W(t,e,n){var r=b(e,n);return F(n,r)}function I(t){var e=getComputedStyle(t),n=parseFloat(e.marginTop)+parseFloat(e.marginBottom),r=parseFloat(e.marginLeft)+parseFloat(e.marginRight),o={width:t.offsetWidth+r,height:t.offsetHeight+n};return o}function A(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function B(t,e,n){n=n.split("-")[0];var r=I(t),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),s=i?"top":"left",a=i?"left":"top",u=i?"height":"width",f=i?"width":"height";return o[s]=e[s]+e[u]/2-r[u]/2,o[a]=n===a?e[a]-r[f]:e[A(a)],o}function H(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function U(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var r=H(t,function(t){return t[e]===n});return t.indexOf(r)}function q(t,e,n){var r=void 0===n?t:t.slice(0,U(t,"name",n));return r.forEach(function(t){t["function"]&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t["function"]||t.fn;t.enabled&&c(n)&&(e.offsets.popper=j(e.offsets.popper),e.offsets.reference=j(e.offsets.reference),e=n(e,t))}),e}function Y(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=W(this.state,this.popper,this.reference),t.placement=R(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.offsets.popper=B(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position="absolute",t=q(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function z(t,e){return t.some(function(t){var n=t.name,r=t.enabled;return r&&n===e})}function K(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length-1;r++){var o=e[r],i=o?""+o+n:t;if("undefined"!==typeof document.body.style[i])return i}return null}function V(){return this.state.isDestroyed=!0,z(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[K("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function X(t){var e=t.ownerDocument;return e?e.defaultView:window}function $(t,e,n,r){var o="BODY"===t.nodeName,i=o?t.ownerDocument.defaultView:t;i.addEventListener(e,n,{passive:!0}),o||$(d(i.parentNode),e,n,r),r.push(i)}function G(t,e,n,r){n.updateBound=r,X(t).addEventListener("resize",n.updateBound,{passive:!0});var o=d(t);return $(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function Z(){this.state.eventsEnabled||(this.state=G(this.reference,this.options,this.state,this.scheduleUpdate))}function Q(t,e){return X(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e}function J(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=Q(this.reference,this.state))}function tt(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function et(t,e){Object.keys(e).forEach(function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&tt(e[n])&&(r="px"),t.style[n]=e[n]+r})}function nt(t,e){Object.keys(e).forEach(function(n){var r=e[n];!1!==r?t.setAttribute(n,e[n]):t.removeAttribute(n)})}function rt(t){return et(t.instance.popper,t.styles),nt(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&et(t.arrowElement,t.arrowStyles),t}function ot(t,e,n,r,o){var i=W(o,e,t),s=R(n.placement,i,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",s),et(e,{position:"absolute"}),n}function it(t,e){var n=e.x,r=e.y,o=t.offsets.popper,i=H(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==i?i:e.gpuAcceleration,a=h(t.instance.popper),u=k(a),f={position:o.position},c={left:Math.floor(o.left),top:Math.floor(o.top),bottom:Math.floor(o.bottom),right:Math.floor(o.right)},p="bottom"===n?"top":"bottom",l="right"===r?"left":"right",d=K("transform"),m=void 0,v=void 0;if(v="bottom"===p?-u.height+c.bottom:c.top,m="right"===l?-u.width+c.right:c.left,s&&d)f[d]="translate3d("+m+"px, "+v+"px, 0)",f[p]=0,f[l]=0,f.willChange="transform";else{var b="bottom"===p?-1:1,g="right"===l?-1:1;f[p]=v*b,f[l]=m*g,f.willChange=p+", "+l}var y={"x-placement":t.placement};return t.attributes=C({},y,t.attributes),t.styles=C({},f,t.styles),t.arrowStyles=C({},t.offsets.arrow,t.arrowStyles),t}function st(t,e,n){var r=H(t,function(t){var n=t.name;return n===e}),o=!!r&&t.some(function(t){return t.name===n&&t.enabled&&t.order<r.order});if(!o){var i="`"+e+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}function at(t,e){var n;if(!st(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"===typeof r){if(r=t.instance.popper.querySelector(r),!r)return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],i=t.offsets,s=i.popper,a=i.reference,u=-1!==["left","right"].indexOf(o),f=u?"height":"width",c=u?"Top":"Left",l=c.toLowerCase(),d=u?"left":"top",h=u?"bottom":"right",m=I(r)[f];a[h]-m<s[l]&&(t.offsets.popper[l]-=s[l]-(a[h]-m)),a[l]+m>s[h]&&(t.offsets.popper[l]+=a[l]+m-s[h]),t.offsets.popper=j(t.offsets.popper);var v=a[l]+a[f]/2-m/2,b=p(t.instance.popper),g=parseFloat(b["margin"+c],10),y=parseFloat(b["border"+c+"Width"],10),w=v-t.offsets.popper[l]-g-y;return w=Math.max(Math.min(s[f]-m,w),0),t.arrowElement=r,t.offsets.arrow=(n={},T(n,l,Math.round(w)),T(n,d,""),n),t}function ut(t){return"end"===t?"start":"start"===t?"end":t}var ft=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],ct=ft.slice(3);function pt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=ct.indexOf(t),r=ct.slice(n+1).concat(ct.slice(0,n));return e?r.reverse():r}var lt={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function dt(t,e){if(z(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=M(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement),r=t.placement.split("-")[0],o=A(r),i=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case lt.FLIP:s=[r,o];break;case lt.CLOCKWISE:s=pt(r);break;case lt.COUNTERCLOCKWISE:s=pt(r,!0);break;default:s=e.behavior}return s.forEach(function(a,u){if(r!==a||s.length===u+1)return t;r=t.placement.split("-")[0],o=A(r);var f=t.offsets.popper,c=t.offsets.reference,p=Math.floor,l="left"===r&&p(f.right)>p(c.left)||"right"===r&&p(f.left)<p(c.right)||"top"===r&&p(f.bottom)>p(c.top)||"bottom"===r&&p(f.top)<p(c.bottom),d=p(f.left)<p(n.left),h=p(f.right)>p(n.right),m=p(f.top)<p(n.top),v=p(f.bottom)>p(n.bottom),b="left"===r&&d||"right"===r&&h||"top"===r&&m||"bottom"===r&&v,g=-1!==["top","bottom"].indexOf(r),y=!!e.flipVariations&&(g&&"start"===i&&d||g&&"end"===i&&h||!g&&"start"===i&&m||!g&&"end"===i&&v);(l||b||y)&&(t.flipped=!0,(l||b)&&(r=s[u+1]),y&&(i=ut(i)),t.placement=r+(i?"-"+i:""),t.offsets.popper=C({},t.offsets.popper,B(t.instance.popper,t.offsets.reference,t.placement)),t=q(t.instance.modifiers,t,"flip"))}),t}function ht(t){var e=t.offsets,n=e.popper,r=e.reference,o=t.placement.split("-")[0],i=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",u=s?"left":"top",f=s?"width":"height";return n[a]<i(r[u])&&(t.offsets.popper[u]=i(r[u])-n[f]),n[u]>i(r[a])&&(t.offsets.popper[u]=i(r[a])),t}function mt(t,e,n,r){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],s=o[2];if(!i)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=r}var u=j(a);return u[e]/100*i}if("vh"===s||"vw"===s){var f=void 0;return f="vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0),f/100*i}return i}function vt(t,e,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),s=t.split(/(\+|\-)/).map(function(t){return t.trim()}),a=s.indexOf(H(s,function(t){return-1!==t.search(/,|\s/)}));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,f=-1!==a?[s.slice(0,a).concat([s[a].split(u)[0]]),[s[a].split(u)[1]].concat(s.slice(a+1))]:[s];return f=f.map(function(t,r){var o=(1===r?!i:i)?"height":"width",s=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)},[]).map(function(t){return mt(t,o,e,n)})}),f.forEach(function(t,e){t.forEach(function(n,r){tt(n)&&(o[e]+=n*("-"===t[r-1]?-1:1))})}),o}function bt(t,e){var n=e.offset,r=t.placement,o=t.offsets,i=o.popper,s=o.reference,a=r.split("-")[0],u=void 0;return u=tt(+n)?[+n,0]:vt(n,i,s,a),"left"===a?(i.top+=u[0],i.left-=u[1]):"right"===a?(i.top+=u[0],i.left+=u[1]):"top"===a?(i.left+=u[0],i.top-=u[1]):"bottom"===a&&(i.left+=u[0],i.top+=u[1]),t.popper=i,t}function gt(t,e){var n=e.boundariesElement||h(t.instance.popper);t.instance.reference===n&&(n=h(n));var r=M(t.instance.popper,t.instance.reference,e.padding,n);e.boundaries=r;var o=e.priority,i=t.offsets.popper,s={primary:function(t){var n=i[t];return i[t]<r[t]&&!e.escapeWithReference&&(n=Math.max(i[t],r[t])),T({},t,n)},secondary:function(t){var n="right"===t?"left":"top",o=i[n];return i[t]>r[t]&&!e.escapeWithReference&&(o=Math.min(i[n],r[t]-("right"===t?i.width:i.height))),T({},n,o)}};return o.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";i=C({},i,s[e](t))}),t.offsets.popper=i,t}function yt(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var o=t.offsets,i=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(n),u=a?"left":"top",f=a?"width":"height",c={start:T({},u,i[u]),end:T({},u,i[u]+i[f]-s[f])};t.offsets.popper=C({},s,c[r])}return t}function wt(t){if(!st(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=H(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}function Ot(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,o=r.popper,i=r.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return o[s?"left":"top"]=i[n]-(a?o[s?"width":"height"]:0),t.placement=A(e),t.offsets.popper=j(o),t}var xt={shift:{order:100,enabled:!0,fn:yt},offset:{order:200,enabled:!0,fn:bt,offset:0},preventOverflow:{order:300,enabled:!0,fn:gt,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:ht},arrow:{order:500,enabled:!0,fn:at,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:dt,behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:Ot},hide:{order:800,enabled:!0,fn:wt},computeStyle:{order:850,enabled:!0,fn:it,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:rt,onLoad:ot,gpuAcceleration:void 0}},St={placement:"bottom",eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:xt},_t=function(){function t(e,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};E(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=f(this.update.bind(this)),this.options=C({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(C({},t.Defaults.modifiers,o.modifiers)).forEach(function(e){r.options.modifiers[e]=C({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return C({name:t},r.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&c(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)}),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return L(t,[{key:"update",value:function(){return Y.call(this)}},{key:"destroy",value:function(){return V.call(this)}},{key:"enableEventListeners",value:function(){return Z.call(this)}},{key:"disableEventListeners",value:function(){return J.call(this)}}]),t}();_t.Utils=("undefined"!==typeof window?window:t).PopperUtils,_t.placements=ft,_t.Defaults=St,e["a"]=_t}).call(e,n("DuR2"))},bUqO:function(t,e,n){t.exports=!n("zgIt")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},fU25:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},jhxf:function(t,e,n){var r=n("UKM+"),o=n("OzIq").document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},lDLk:function(t,e,n){var r=n("DIVP"),o=n("xZa+"),i=n("s4j0"),s=Object.defineProperty;e.f=n("bUqO")?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},mZON:function(t,e,n){var r=n("VWgF")("keys"),o=n("ulTY");t.exports=function(t){return r[t]||(r[t]=o(t))}},n12u:function(t,e,n){var r=n("Ds5P");r(r.S+r.F,"Object",{assign:n("oYd7")})},oYd7:function(t,e,n){"use strict";var r=n("Qh14"),o=n("Y1N3"),i=n("Y1aA"),s=n("FryR"),a=n("Q6Nf"),u=Object.assign;t.exports=!u||n("zgIt")(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){var n=s(t),u=arguments.length,f=1,c=o.f,p=i.f;while(u>f){var l,d=a(arguments[f++]),h=c?r(d).concat(c(d)):r(d),m=h.length,v=0;while(m>v)p.call(d,l=h[v++])&&(n[l]=d[l])}return n}:u},oeih:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},ot5s:function(t,e,n){var r=n("PHqh"),o=n("BbyF"),i=n("zo/l");t.exports=function(t){return function(e,n,s){var a,u=r(e),f=o(u.length),c=i(s,f);if(t&&n!=n){while(f>c)if(a=u[c++],a!=a)return!0}else for(;f>c;c++)if((t||c in u)&&u[c]===n)return t||c||0;return!t&&-1}}},rFzY:function(t,e,n){var r=n("XSOZ");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},s4j0:function(t,e,n){var r=n("UKM+");t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},ulTY:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},"xZa+":function(t,e,n){t.exports=!n("bUqO")&&!n("zgIt")(function(){return 7!=Object.defineProperty(n("jhxf")("div"),"a",{get:function(){return 7}}).a})},ydD5:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},zgIt:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"zo/l":function(t,e,n){var r=n("oeih"),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}}})["default"]});
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["vue-tour"]=e():t["vue-tour"]=e()})("undefined"!==typeof self?self:this,function(){return function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"1eb2":function(t,e,n){var o;"undefined"!==typeof window&&((o=window.document.currentScript)&&(o=o.src.match(/(.+\/)[^/]+\.js$/))&&(n.p=o[1]))},"230e":function(t,e,n){var o=n("d3f4"),r=n("7726").document,i=o(r)&&o(r.createElement);t.exports=function(t){return i?r.createElement(t):{}}},"5b1b":function(t,e,n){"use strict";var o=n("ae07"),r=n.n(o);r.a},"6a99":function(t,e,n){var o=n("d3f4");t.exports=function(t,e){if(!o(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!o(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!o(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!o(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"7f7f":function(t,e,n){var o=n("86cc").f,r=Function.prototype,i=/^\s*function ([^ (]*)/,s="name";s in r||n("9e1e")&&o(r,s,{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},8634:function(t,e,n){"use strict";function o(t,e){while(t.length<e)t="0"+t;return t}function r(t,e){var n,o,r;if(0===e.length)return t;for(n=0,r=e.length;n<r;n++)o=e.charCodeAt(n),t=(t<<5)-t+o,t|=0;return t<0?-2*t:t}function i(t,e,n){return Object.keys(e).sort().reduce(o,t);function o(t,o){return s(t,e[o],o,n)}}function s(t,e,n,o){var s=r(r(r(t,n),a(e)),typeof e);return null===e?r(s,"null"):void 0===e?r(s,"undefined"):"object"===typeof e?-1!==o.indexOf(e)?r(s,"[Circular]"+n):(o.push(e),i(s,e,o)):r(s,e.toString())}function a(t){return Object.prototype.toString.call(t)}function u(t){return o(s(0,t,"",[]).toString(16),8)}t.exports=u},"86cc":function(t,e,n){var o=n("cb7c"),r=n("c69a"),i=n("6a99"),s=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(o(t),e=i(e,!0),o(n),r)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"9e1e":function(t,e,n){t.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},ae07:function(t,e,n){},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")(function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a})},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"===typeof window&&(n=window)}t.exports=n},cb7c:function(t,e,n){var o=n("d3f4");t.exports=function(t){if(!o(t))throw TypeError(t+" is not an object!");return t}},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},f0bd:function(t,e,n){"use strict";(function(t){for(
/**!
* @fileOverview Kickass library to create and place poppers near their reference elements.
* @version 1.14.4
* @license
* Copyright (c) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
var n="undefined"!==typeof window&&"undefined"!==typeof document,o=["Edge","Trident","Firefox"],r=0,i=0;i<o.length;i+=1)if(n&&navigator.userAgent.indexOf(o[i])>=0){r=1;break}function s(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}function a(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},r))}}var u=n&&window.Promise,f=u?s:a;function p(t){var e={};return t&&"[object Function]"===e.toString.call(t)}function c(t,e){if(1!==t.nodeType)return[];var n=getComputedStyle(t,null);return e?n[e]:n}function l(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function d(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=c(t),n=e.overflow,o=e.overflowX,r=e.overflowY;return/(auto|scroll|overlay)/.test(n+r+o)?t:d(l(t))}var h=n&&!(!window.MSInputMethodContext||!document.documentMode),m=n&&/MSIE 10/.test(navigator.userAgent);function v(t){return 11===t?h:10===t?m:h||m}function b(t){if(!t)return document.documentElement;var e=v(10)?document.body:null,n=t.offsetParent;while(n===e&&t.nextElementSibling)n=(t=t.nextElementSibling).offsetParent;var o=n&&n.nodeName;return o&&"BODY"!==o&&"HTML"!==o?-1!==["TD","TABLE"].indexOf(n.nodeName)&&"static"===c(n,"position")?b(n):n:t?t.ownerDocument.documentElement:document.documentElement}function g(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||b(t.firstElementChild)===t)}function y(t){return null!==t.parentNode?y(t.parentNode):t}function w(t,e){if(!t||!t.nodeType||!e||!e.nodeType)return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,o=n?t:e,r=n?e:t,i=document.createRange();i.setStart(o,0),i.setEnd(r,0);var s=i.commonAncestorContainer;if(t!==s&&e!==s||o.contains(r))return g(s)?s:b(s);var a=y(t);return a.host?w(a.host,e):w(t,y(e).host)}function S(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",o=t.nodeName;if("BODY"===o||"HTML"===o){var r=t.ownerDocument.documentElement,i=t.ownerDocument.scrollingElement||r;return i[n]}return t[n]}function x(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=S(e,"top"),r=S(e,"left"),i=n?-1:1;return t.top+=o*i,t.bottom+=o*i,t.left+=r*i,t.right+=r*i,t}function O(t,e){var n="x"===e?"Left":"Top",o="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+o+"Width"],10)}function E(t,e,n,o){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],v(10)?parseInt(n["offset"+t])+parseInt(o["margin"+("Height"===t?"Top":"Left")])+parseInt(o["margin"+("Height"===t?"Bottom":"Right")]):0)}function _(t){var e=t.body,n=t.documentElement,o=v(10)&&getComputedStyle(n);return{height:E("Height",e,n,o),width:E("Width",e,n,o)}}var C=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},T=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),L=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},k=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t};function F(t){return k({},t,{right:t.left+t.width,bottom:t.top+t.height})}function j(t){var e={};try{if(v(10)){e=t.getBoundingClientRect();var n=S(t,"top"),o=S(t,"left");e.top+=n,e.left+=o,e.bottom+=n,e.right+=o}else e=t.getBoundingClientRect()}catch(t){}var r={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i="HTML"===t.nodeName?_(t.ownerDocument):{},s=i.width||t.clientWidth||r.right-r.left,a=i.height||t.clientHeight||r.bottom-r.top,u=t.offsetWidth-s,f=t.offsetHeight-a;if(u||f){var p=c(t);u-=O(p,"x"),f-=O(p,"y"),r.width-=u,r.height-=f}return F(r)}function M(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=v(10),r="HTML"===e.nodeName,i=j(t),s=j(e),a=d(t),u=c(e),f=parseFloat(u.borderTopWidth,10),p=parseFloat(u.borderLeftWidth,10);n&&r&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var l=F({top:i.top-s.top-f,left:i.left-s.left-p,width:i.width,height:i.height});if(l.marginTop=0,l.marginLeft=0,!o&&r){var h=parseFloat(u.marginTop,10),m=parseFloat(u.marginLeft,10);l.top-=f-h,l.bottom-=f-h,l.left-=p-m,l.right-=p-m,l.marginTop=h,l.marginLeft=m}return(o&&!n?e.contains(a):e===a&&"BODY"!==a.nodeName)&&(l=x(l,e)),l}function N(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,o=M(t,n),r=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:S(n),a=e?0:S(n,"left"),u={top:s-o.top+o.marginTop,left:a-o.left+o.marginLeft,width:r,height:i};return F(u)}function P(t){var e=t.nodeName;return"BODY"!==e&&"HTML"!==e&&("fixed"===c(t,"position")||P(l(t)))}function D(t){if(!t||!t.parentElement||v())return document.documentElement;var e=t.parentElement;while(e&&"none"===c(e,"transform"))e=e.parentElement;return e||document.documentElement}function A(t,e,n,o){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},s=r?D(t):w(t,e);if("viewport"===o)i=N(s,r);else{var a=void 0;"scrollParent"===o?(a=d(l(e)),"BODY"===a.nodeName&&(a=t.ownerDocument.documentElement)):a="window"===o?t.ownerDocument.documentElement:o;var u=M(a,s,r);if("HTML"!==a.nodeName||P(s))i=u;else{var f=_(t.ownerDocument),p=f.height,c=f.width;i.top+=u.top-u.marginTop,i.bottom=p+u.top,i.left+=u.left-u.marginLeft,i.right=c+u.left}}n=n||0;var h="number"===typeof n;return i.left+=h?n:n.left||0,i.top+=h?n:n.top||0,i.right-=h?n:n.right||0,i.bottom-=h?n:n.bottom||0,i}function R(t){var e=t.width,n=t.height;return e*n}function W(t,e,n,o,r){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=A(n,o,i,r),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},u=Object.keys(a).map(function(t){return k({key:t},a[t],{area:R(a[t])})}).sort(function(t,e){return e.area-t.area}),f=u.filter(function(t){var e=t.width,o=t.height;return e>=n.clientWidth&&o>=n.clientHeight}),p=f.length>0?f[0].key:u[0].key,c=t.split("-")[1];return p+(c?"-"+c:"")}function H(t,e,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=o?D(e):w(e,n);return M(n,r,o)}function B(t){var e=getComputedStyle(t),n=parseFloat(e.marginTop)+parseFloat(e.marginBottom),o=parseFloat(e.marginLeft)+parseFloat(e.marginRight),r={width:t.offsetWidth+o,height:t.offsetHeight+n};return r}function I(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function U(t,e,n){n=n.split("-")[0];var o=B(t),r={width:o.width,height:o.height},i=-1!==["right","left"].indexOf(n),s=i?"top":"left",a=i?"left":"top",u=i?"height":"width",f=i?"width":"height";return r[s]=e[s]+e[u]/2-o[u]/2,r[a]=n===a?e[a]-o[f]:e[I(a)],r}function $(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function V(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var o=$(t,function(t){return t[e]===n});return t.indexOf(o)}function Y(t,e,n){var o=void 0===n?t:t.slice(0,V(t,"name",n));return o.forEach(function(t){t["function"]&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t["function"]||t.fn;t.enabled&&p(n)&&(e.offsets.popper=F(e.offsets.popper),e.offsets.reference=F(e.offsets.reference),e=n(e,t))}),e}function K(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=H(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=W(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=U(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=Y(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function q(t,e){return t.some(function(t){var n=t.name,o=t.enabled;return o&&n===e})}function G(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),o=0;o<e.length;o++){var r=e[o],i=r?""+r+n:t;if("undefined"!==typeof document.body.style[i])return i}return null}function z(){return this.state.isDestroyed=!0,q(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[G("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function X(t){var e=t.ownerDocument;return e?e.defaultView:window}function J(t,e,n,o){var r="BODY"===t.nodeName,i=r?t.ownerDocument.defaultView:t;i.addEventListener(e,n,{passive:!0}),r||J(d(i.parentNode),e,n,o),o.push(i)}function Q(t,e,n,o){n.updateBound=o,X(t).addEventListener("resize",n.updateBound,{passive:!0});var r=d(t);return J(r,"scroll",n.updateBound,n.scrollParents),n.scrollElement=r,n.eventsEnabled=!0,n}function Z(){this.state.eventsEnabled||(this.state=Q(this.reference,this.options,this.state,this.scheduleUpdate))}function tt(t,e){return X(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e}function et(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=tt(this.reference,this.state))}function nt(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function ot(t,e){Object.keys(e).forEach(function(n){var o="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&nt(e[n])&&(o="px"),t.style[n]=e[n]+o})}function rt(t,e){Object.keys(e).forEach(function(n){var o=e[n];!1!==o?t.setAttribute(n,e[n]):t.removeAttribute(n)})}function it(t){return ot(t.instance.popper,t.styles),rt(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&ot(t.arrowElement,t.arrowStyles),t}function st(t,e,n,o,r){var i=H(r,e,t,n.positionFixed),s=W(n.placement,i,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",s),ot(e,{position:n.positionFixed?"fixed":"absolute"}),n}function at(t,e){var n=e.x,o=e.y,r=t.offsets.popper,i=$(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==i?i:e.gpuAcceleration,a=b(t.instance.popper),u=j(a),f={position:r.position},p={left:Math.floor(r.left),top:Math.round(r.top),bottom:Math.round(r.bottom),right:Math.floor(r.right)},c="bottom"===n?"top":"bottom",l="right"===o?"left":"right",d=G("transform"),h=void 0,m=void 0;if(m="bottom"===c?"HTML"===a.nodeName?-a.clientHeight+p.bottom:-u.height+p.bottom:p.top,h="right"===l?"HTML"===a.nodeName?-a.clientWidth+p.right:-u.width+p.right:p.left,s&&d)f[d]="translate3d("+h+"px, "+m+"px, 0)",f[c]=0,f[l]=0,f.willChange="transform";else{var v="bottom"===c?-1:1,g="right"===l?-1:1;f[c]=m*v,f[l]=h*g,f.willChange=c+", "+l}var y={"x-placement":t.placement};return t.attributes=k({},y,t.attributes),t.styles=k({},f,t.styles),t.arrowStyles=k({},t.offsets.arrow,t.arrowStyles),t}function ut(t,e,n){var o=$(t,function(t){var n=t.name;return n===e}),r=!!o&&t.some(function(t){return t.name===n&&t.enabled&&t.order<o.order});if(!r){var i="`"+e+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return r}function ft(t,e){var n;if(!ut(t.instance.modifiers,"arrow","keepTogether"))return t;var o=e.element;if("string"===typeof o){if(o=t.instance.popper.querySelector(o),!o)return t}else if(!t.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var r=t.placement.split("-")[0],i=t.offsets,s=i.popper,a=i.reference,u=-1!==["left","right"].indexOf(r),f=u?"height":"width",p=u?"Top":"Left",l=p.toLowerCase(),d=u?"left":"top",h=u?"bottom":"right",m=B(o)[f];a[h]-m<s[l]&&(t.offsets.popper[l]-=s[l]-(a[h]-m)),a[l]+m>s[h]&&(t.offsets.popper[l]+=a[l]+m-s[h]),t.offsets.popper=F(t.offsets.popper);var v=a[l]+a[f]/2-m/2,b=c(t.instance.popper),g=parseFloat(b["margin"+p],10),y=parseFloat(b["border"+p+"Width"],10),w=v-t.offsets.popper[l]-g-y;return w=Math.max(Math.min(s[f]-m,w),0),t.arrowElement=o,t.offsets.arrow=(n={},L(n,l,Math.round(w)),L(n,d,""),n),t}function pt(t){return"end"===t?"start":"start"===t?"end":t}var ct=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],lt=ct.slice(3);function dt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=lt.indexOf(t),o=lt.slice(n+1).concat(lt.slice(0,n));return e?o.reverse():o}var ht={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function mt(t,e){if(q(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=A(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),o=t.placement.split("-")[0],r=I(o),i=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case ht.FLIP:s=[o,r];break;case ht.CLOCKWISE:s=dt(o);break;case ht.COUNTERCLOCKWISE:s=dt(o,!0);break;default:s=e.behavior}return s.forEach(function(a,u){if(o!==a||s.length===u+1)return t;o=t.placement.split("-")[0],r=I(o);var f=t.offsets.popper,p=t.offsets.reference,c=Math.floor,l="left"===o&&c(f.right)>c(p.left)||"right"===o&&c(f.left)<c(p.right)||"top"===o&&c(f.bottom)>c(p.top)||"bottom"===o&&c(f.top)<c(p.bottom),d=c(f.left)<c(n.left),h=c(f.right)>c(n.right),m=c(f.top)<c(n.top),v=c(f.bottom)>c(n.bottom),b="left"===o&&d||"right"===o&&h||"top"===o&&m||"bottom"===o&&v,g=-1!==["top","bottom"].indexOf(o),y=!!e.flipVariations&&(g&&"start"===i&&d||g&&"end"===i&&h||!g&&"start"===i&&m||!g&&"end"===i&&v);(l||b||y)&&(t.flipped=!0,(l||b)&&(o=s[u+1]),y&&(i=pt(i)),t.placement=o+(i?"-"+i:""),t.offsets.popper=k({},t.offsets.popper,U(t.instance.popper,t.offsets.reference,t.placement)),t=Y(t.instance.modifiers,t,"flip"))}),t}function vt(t){var e=t.offsets,n=e.popper,o=e.reference,r=t.placement.split("-")[0],i=Math.floor,s=-1!==["top","bottom"].indexOf(r),a=s?"right":"bottom",u=s?"left":"top",f=s?"width":"height";return n[a]<i(o[u])&&(t.offsets.popper[u]=i(o[u])-n[f]),n[u]>i(o[a])&&(t.offsets.popper[u]=i(o[a])),t}function bt(t,e,n,o){var r=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+r[1],s=r[2];if(!i)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=o}var u=F(a);return u[e]/100*i}if("vh"===s||"vw"===s){var f=void 0;return f="vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0),f/100*i}return i}function gt(t,e,n,o){var r=[0,0],i=-1!==["right","left"].indexOf(o),s=t.split(/(\+|\-)/).map(function(t){return t.trim()}),a=s.indexOf($(s,function(t){return-1!==t.search(/,|\s/)}));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,f=-1!==a?[s.slice(0,a).concat([s[a].split(u)[0]]),[s[a].split(u)[1]].concat(s.slice(a+1))]:[s];return f=f.map(function(t,o){var r=(1===o?!i:i)?"height":"width",s=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)},[]).map(function(t){return bt(t,r,e,n)})}),f.forEach(function(t,e){t.forEach(function(n,o){nt(n)&&(r[e]+=n*("-"===t[o-1]?-1:1))})}),r}function yt(t,e){var n=e.offset,o=t.placement,r=t.offsets,i=r.popper,s=r.reference,a=o.split("-")[0],u=void 0;return u=nt(+n)?[+n,0]:gt(n,i,s,a),"left"===a?(i.top+=u[0],i.left-=u[1]):"right"===a?(i.top+=u[0],i.left+=u[1]):"top"===a?(i.left+=u[0],i.top-=u[1]):"bottom"===a&&(i.left+=u[0],i.top+=u[1]),t.popper=i,t}function wt(t,e){var n=e.boundariesElement||b(t.instance.popper);t.instance.reference===n&&(n=b(n));var o=G("transform"),r=t.instance.popper.style,i=r.top,s=r.left,a=r[o];r.top="",r.left="",r[o]="";var u=A(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);r.top=i,r.left=s,r[o]=a,e.boundaries=u;var f=e.priority,p=t.offsets.popper,c={primary:function(t){var n=p[t];return p[t]<u[t]&&!e.escapeWithReference&&(n=Math.max(p[t],u[t])),L({},t,n)},secondary:function(t){var n="right"===t?"left":"top",o=p[n];return p[t]>u[t]&&!e.escapeWithReference&&(o=Math.min(p[n],u[t]-("right"===t?p.width:p.height))),L({},n,o)}};return f.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";p=k({},p,c[e](t))}),t.offsets.popper=p,t}function St(t){var e=t.placement,n=e.split("-")[0],o=e.split("-")[1];if(o){var r=t.offsets,i=r.reference,s=r.popper,a=-1!==["bottom","top"].indexOf(n),u=a?"left":"top",f=a?"width":"height",p={start:L({},u,i[u]),end:L({},u,i[u]+i[f]-s[f])};t.offsets.popper=k({},s,p[o])}return t}function xt(t){if(!ut(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=$(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}function Ot(t){var e=t.placement,n=e.split("-")[0],o=t.offsets,r=o.popper,i=o.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return r[s?"left":"top"]=i[n]-(a?r[s?"width":"height"]:0),t.placement=I(e),t.offsets.popper=F(r),t}var Et={shift:{order:100,enabled:!0,fn:St},offset:{order:200,enabled:!0,fn:yt,offset:0},preventOverflow:{order:300,enabled:!0,fn:wt,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:vt},arrow:{order:500,enabled:!0,fn:ft,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:mt,behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:Ot},hide:{order:800,enabled:!0,fn:xt},computeStyle:{order:850,enabled:!0,fn:at,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:it,onLoad:st,gpuAcceleration:void 0}},_t={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:Et},Ct=function(){function t(e,n){var o=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};C(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=f(this.update.bind(this)),this.options=k({},t.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(k({},t.Defaults.modifiers,r.modifiers)).forEach(function(e){o.options.modifiers[e]=k({},t.Defaults.modifiers[e]||{},r.modifiers?r.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return k({name:t},o.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&p(t.onLoad)&&t.onLoad(o.reference,o.popper,o.options,t,o.state)}),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return T(t,[{key:"update",value:function(){return K.call(this)}},{key:"destroy",value:function(){return z.call(this)}},{key:"enableEventListeners",value:function(){return Z.call(this)}},{key:"disableEventListeners",value:function(){return et.call(this)}}]),t}();Ct.Utils=("undefined"!==typeof window?window:t).PopperUtils,Ct.placements=ct,Ct.Defaults=_t,e["a"]=Ct}).call(this,n("c8ba"))},fb15:function(t,e,n){"use strict";n.r(e);n("1eb2"),n("7f7f");var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"v-tour"},[t._t("default",t._l(t.steps,function(e,o){return t.currentStep===o?n("v-step",{key:o,attrs:{step:e,"previous-step":t.previousStep,"next-step":t.nextStep,stop:t.stop,"is-first":t.isFirst,"is-last":t.isLast,labels:t.customOptions.labels}}):t._e()}),{currentStep:t.currentStep,steps:t.steps,previousStep:t.previousStep,nextStep:t.nextStep,stop:t.stop,isFirst:t.isFirst,isLast:t.isLast,labels:t.customOptions.labels})],2)},r=[];function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),o.forEach(function(e){i(t,e,n[e])})}return t}var a={onStart:function(){},onPreviousStep:function(t){},onNextStep:function(t){},onStop:function(){}},u={useKeyboardNavigation:!0,startTimeout:0,labels:{buttonSkip:"Skip tour",buttonPrevious:"Previous",buttonNext:"Next",buttonStop:"Finish"}},f={placement:"bottom",enableScrolling:!0,modifiers:{arrow:{element:".v-step__arrow"}}},p={ARROW_RIGHT:39,ARROW_LEFT:37,ESCAPE:27},c={name:"v-tour",props:{steps:{type:Array,default:function(){return[]}},name:{type:String},options:{type:Object,default:function(){return u}},callbacks:{type:Object,default:function(){return a}}},data:function(){return{currentStep:-1}},mounted:function(){this.$tours[this.name]=this,this.customOptions.useKeyboardNavigation&&window.addEventListener("keyup",this.handleKeyup)},beforeDestroy:function(){this.customOptions.useKeyboardNavigation&&window.removeEventListener("keyup",this.handleKeyup)},computed:{customOptions:function(){return s({},u,this.options)},customCallbacks:function(){return s({},a,this.callbacks)},isRunning:function(){return this.currentStep>-1&&this.currentStep<this.numberOfSteps},isFirst:function(){return 0===this.currentStep},isLast:function(){return this.currentStep===this.steps.length-1},numberOfSteps:function(){return this.steps.length}},methods:{start:function(t){var e=this;setTimeout(function(){e.customCallbacks.onStart(),e.currentStep="undefined"!==typeof t?parseInt(t,10):0},this.customOptions.startTimeout)},previousStep:function(){this.currentStep>0&&(this.customCallbacks.onPreviousStep(this.currentStep),this.currentStep--)},nextStep:function(){this.currentStep<this.numberOfSteps-1&&-1!==this.currentStep&&(this.customCallbacks.onNextStep(this.currentStep),this.currentStep++)},stop:function(){this.customCallbacks.onStop(),this.currentStep=-1},handleKeyup:function(t){switch(t.keyCode){case p.ARROW_RIGHT:this.nextStep();break;case p.ARROW_LEFT:this.previousStep();break;case p.ESCAPE:this.stop();break}}}},l=c;function d(t,e,n,o,r,i,s,a){var u,f="function"===typeof t?t.options:t;if(e&&(f.render=e,f.staticRenderFns=n,f._compiled=!0),o&&(f.functional=!0),i&&(f._scopeId="data-v-"+i),s?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},f._ssrRegister=u):r&&(u=a?function(){r.call(this,this.$root.$options.shadowRoot)}:r),u)if(f.functional){f._injectStyles=u;var p=f.render;f.render=function(t,e){return u.call(e),p(t,e)}}else{var c=f.beforeCreate;f.beforeCreate=c?[].concat(c,u):[u]}return{exports:t,options:f}}var h=d(l,o,r,!1,null,null,null);h.options.__file="VTour.vue";var m=h.exports,v=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"v-step-"+t.hash,staticClass:"v-step",attrs:{id:"v-step-"+t.hash}},[t._t("header",[t.step.header?n("div",{staticClass:"v-step__header"},[t.step.header.title?n("div",{domProps:{innerHTML:t._s(t.step.header.title)}}):t._e()]):t._e()]),t._t("content",[n("div",{staticClass:"v-step__content"},[t.step.content?n("div",{domProps:{innerHTML:t._s(t.step.content)}}):n("div",[t._v("This is a demo step! The id of this step is "+t._s(t.hash)+" and it targets "+t._s(t.step.target)+".")])])]),t._t("actions",[n("div",{staticClass:"v-step__buttons"},[t.isLast?t._e():n("button",{staticClass:"v-step__button",on:{click:function(e){return e.preventDefault(),t.stop(e)}}},[t._v(t._s(t.labels.buttonSkip))]),t.isFirst?t._e():n("button",{staticClass:"v-step__button",on:{click:function(e){return e.preventDefault(),t.previousStep(e)}}},[t._v(t._s(t.labels.buttonPrevious))]),t.isLast?t._e():n("button",{staticClass:"v-step__button",on:{click:function(e){return e.preventDefault(),t.nextStep(e)}}},[t._v(t._s(t.labels.buttonNext))]),t.isLast?n("button",{staticClass:"v-step__button",on:{click:function(e){return e.preventDefault(),t.stop(e)}}},[t._v(t._s(t.labels.buttonStop))]):t._e()])]),n("div",{staticClass:"v-step__arrow",class:{"v-step__arrow--dark":t.step.header&&t.step.header.title}})],2)},b=[],g=n("f0bd"),y=function(t,e,n,o){return t/=o/2,t<1?n/2*t*t+e:(t--,-n/2*(t*(t-2)-1)+e)},w="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},S=function(){var t=void 0,e=void 0,n=void 0,o=void 0,r=void 0,i=void 0,s=void 0,a=void 0,u=void 0,f=void 0,p=void 0,c=void 0;function l(){return window.scrollY||window.pageYOffset}function d(t){return t.getBoundingClientRect().top+e}function h(t){u||(u=t),f=t-u,p=r(f,e,s,a),window.scrollTo(0,p),f<a?window.requestAnimationFrame(h):m()}function m(){window.scrollTo(0,e+s),t&&i&&(t.setAttribute("tabindex","-1"),t.focus()),"function"===typeof c&&c(),u=!1}function v(u){var f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(a=f.duration||1e3,o=f.offset||0,c=f.callback,r=f.easing||y,i=f.a11y||!1,e=l(),"undefined"===typeof u?"undefined":w(u)){case"number":t=void 0,i=!1,n=e+u;break;case"object":t=u,n=d(t);break;case"string":t=document.querySelector(u),n=d(t);break}switch(s=n-e+o,w(f.duration)){case"number":a=f.duration;break;case"function":a=f.duration(s);break}window.requestAnimationFrame(h)}return v},x=S(),O=x,E=n("8634"),_=n.n(E),C={name:"v-step",props:{step:{type:Object},previousStep:{type:Function},nextStep:{type:Function},stop:{type:Function},isFirst:{type:Boolean},isLast:{type:Boolean},labels:{type:Object}},data:function(){return{hash:_()(this.step.target)}},computed:{params:function(){return s({},f,this.step.params)}},methods:{createStep:function(){var t=document.querySelector(this.step.target);if(t){if(this.params.enableScrolling)if(this.step.duration||this.step.offset){var e={duration:this.step.duration||1e3,offset:this.step.offset||0,callback:void 0,a11y:!1};O(t,e)}else t.scrollIntoView({behavior:"smooth"});new g["a"](t,this.$refs["v-step-"+this.hash],this.params)}else console.error("[Vue Tour] The target element "+this.step.target+' of .v-step[id="'+this.hash+'"] does not exist!'),this.$emit("targetNotFound",this.step)}},mounted:function(){this.createStep()}},T=C,L=(n("5b1b"),d(T,v,b,!1,null,"aa0cbe42",null));L.options.__file="VStep.vue";var k=L.exports,F={install:function(t,e){t.component(m.name,m),t.component(k.name,k),t.prototype.$tours={}}},j=F;"undefined"!==typeof window&&window.Vue&&window.Vue.use(F);e["default"]=j}})});
//# sourceMappingURL=vue-tour.umd.min.js.map
{
"name": "vue-tour",
"version": "1.0.1",
"version": "1.1.0",
"description": "Vue Tour is a lightweight, simple and customizable tour plugin for use with Vue.js. It provides a quick and easy way to guide your users through your application.",

@@ -21,3 +21,3 @@ "author": "Pulsar <pulsar.dev.team@gmail.com>",

"build": "vue-cli-service build --target lib src/main.js",
"test": "vue-cli-service test",
"test:unit": "vue-cli-service test:unit",
"lint": "vue-cli-service lint"

@@ -27,16 +27,17 @@ },

"hash-sum": "^1.0.2",
"popper.js": "^1.12.9",
"vue": "^2.5.13"
"jump.js": "^1.0.2",
"popper.js": "^1.14.4",
"vue": "^2.5.17"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^3.0.0-alpha.13",
"@vue/cli-plugin-eslint": "^3.0.0-alpha.13",
"@vue/cli-plugin-unit-mocha": "^3.0.0-alpha.13",
"@vue/cli-service": "^3.0.0-alpha.13",
"@vue/eslint-config-standard": "^3.0.0-alpha.13",
"@vue/test-utils": "^1.0.0-beta.10",
"@vue/cli-plugin-babel": "^3.0.1",
"@vue/cli-plugin-eslint": "^3.0.1",
"@vue/cli-plugin-unit-mocha": "^3.0.1",
"@vue/cli-service": "^3.0.1",
"@vue/eslint-config-standard": "^3.0.1",
"@vue/test-utils": "^1.0.0-beta.24",
"chai": "^4.1.2",
"node-sass": "^4.7.2",
"sass-loader": "^6.0.6",
"vue-template-compiler": "^2.5.13"
"node-sass": "^4.9.3",
"sass-loader": "^6.0.7",
"vue-template-compiler": "^2.5.17"
},

@@ -43,0 +44,0 @@ "browserslist": [

@@ -10,7 +10,19 @@ export const DEFAULT_CALLBACKS = {

useKeyboardNavigation: true,
startTimeout: 0
startTimeout: 0,
labels: {
buttonSkip: 'Skip tour',
buttonPrevious: 'Previous',
buttonNext: 'Next',
buttonStop: 'Finish'
}
}
export const DEFAULT_STEP_OPTIONS = {
placement: 'bottom'
placement: 'bottom',
enableScrolling: true,
modifiers: {
arrow: {
element: '.v-step__arrow'
}
}
}

@@ -17,0 +29,0 @@

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 not supported yet

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

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

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 not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc