diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 63182bd..0000000 --- a/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -node_modules -*.sublime-project -*.sublime-workspace -npm-debug.log -build/bundle.js -dev/index.js -static -*.js diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 7c3e92a..0000000 --- a/.npmignore +++ /dev/null @@ -1,6 +0,0 @@ -node_modules -*.sublime-project -*.sublime-workspace -npm-debug.log -dev/index.js -static diff --git a/README.md b/README.md deleted file mode 100644 index 4bd0082..0000000 --- a/README.md +++ /dev/null @@ -1,121 +0,0 @@ -# vue-collapsible - -A simple collapsible / accordion. - -### [Demo](https://vue-comps.github.io/vue-collapsible) - -# Install - -```sh -npm install --save-dev vue-collapsible -// vue@1.0 -npm install --save-dev vue-collapsible@1 -``` -or include `build/bundle.js`. - -## Usage -```coffee -# in your component -components: - "collapsible": require("vue-collapsible/collapsible") - "collapsible-item": require("vue-collapsible/collapsible-item") -# or, when using bundle.js -components: - "collapsible": window.vueComps.collapsible - "collapsible-item": window.vueComps.collapsibleItem -``` -```html - - -

header1

-

body 1

-
- -

header21

-

body 2

-
-
-``` -For examples see [`dev/`](https://github.com/vue-comps/vue-collapsible/tree/master/dev). - -#### Props -##### Collapsible - -Name | type | default | description ----:| --- | ---| --- -accordion | Boolean | `false` | only one child opened at a time -transition | String | `collapsible-transition` | name of a reusable vue transition -transition-name | String | `collapsible` | can be used for css transition -class | String / Object / Array | `[collapsible]` | class of the `ul` -item-class | String | `collapsible-item` | class of the `li` -header-class | String | `collapsible-header` | class of the header `a` -body-class | String | `collapsible-body` | class of the body `div` -no-scroll | Boolean | `false` | disable scroll to top, on open of an item with accordion -scroll-transition | Function | `(diff) -> window?.scrollBy?(0,diff)` | function which gets used for scrolling item back into view on opening. - -##### Collapsible-item - -Name | type | default | description ----:| --- | ---| --- -transition | String | (inherit from `collapsible`) | name of a reusable vue transition -transition-name | String | (inherit from `collapsible`) | can be used for css transition -is-opened | Boolean | `false` | is child opened -stay-open | Boolean | `false` | (only with accordion) will stay open - -#### Events on collapsible-item - -Name | description ----:| --- -toggled(`isOpened`:Boolean) | emitted when gets opened or closed. - -#### Transition - -You can provide a vue transition like this: -```js -Vue.component('collapsible-transition', { - functional: true - render: function(h,context) { - // overwrite name for css transition - you could also use the transition-name prop - context.data.attrs.name = "fade" - // disable css detection for js-only transition - context.data.props = {css: false} - // js transition hooks - put emitters inside if you need events on opening/closing - context.data.on = { - enter: ... - } - return h("transition",context.data,context.children) - } -}) -``` - -## Changelog -- 2.0.0 -now compatible with vue 2.0.0 -removed transition events - your transition needs to provide them now, if needed - -- 1.1.0 -scroll bugfix -set default transition - -- 1.0.1 -changed how scroll works - -- 1.0.0 -changed header type from `div` to `a` -now using vue transitions -events are renamed after vue transitions -added toggled event -using `vue-mixins/class` to merge class on `collapsible` and `collapsible-item` -added scroll to top and `no-scroll`, `scroll-transition` props - -# Development -Clone repository. -```sh -npm install -npm run dev -``` -Browse to `http://localhost:8080/`. - -## License -Copyright (c) 2016 Paul Pflugradt -Licensed under the MIT license. diff --git a/basic.vue b/basic.vue new file mode 100644 index 0000000..8a80388 --- /dev/null +++ b/basic.vue @@ -0,0 +1,54 @@ + + + + + diff --git a/build/common.coffee b/build/common.coffee deleted file mode 100644 index 9160d84..0000000 --- a/build/common.coffee +++ /dev/null @@ -1,3 +0,0 @@ -window.vueComps ?= {} -window.vueComps.collapsible = require('../collapsible.js') -window.vueComps.collapsibleItem = require('../collapsible-item.js') diff --git a/build/webpack.config.coffee b/build/webpack.config.coffee deleted file mode 100644 index 8462906..0000000 --- a/build/webpack.config.coffee +++ /dev/null @@ -1,15 +0,0 @@ -webpack = require "webpack" - -module.exports = - entry: "./build/common.coffee" - output: - filename: "bundle.js" - path: __dirname - module: - loaders: [ - { test: /\.coffee$/, loader: "coffee"} - ] - plugins: [ - new webpack.optimize.UglifyJsPlugin compress: warnings: false - new webpack.optimize.OccurenceOrderPlugin() - ] diff --git a/dev/basic.vue b/dev/basic.vue deleted file mode 100644 index d76cf94..0000000 --- a/dev/basic.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - - - diff --git a/index.html b/index.html new file mode 100644 index 0000000..2612a2f --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +
\ No newline at end of file diff --git a/index_bundle.js b/index_bundle.js new file mode 100644 index 0000000..e3929d9 --- /dev/null +++ b/index_bundle.js @@ -0,0 +1,14 @@ +!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/",t(0)}([function(e,t,n){e.exports=n(7)},function(e,t,n){var r,o;!function(e){function t(e){var t=e.length,r=n.type(e);return"function"===r||n.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===r||0===t||"number"==typeof t&&t>0&&t-1 in e}if(!e.jQuery){var n=function(e,t){return new n.fn.init(e,t)};n.isWindow=function(e){return null!=e&&e==e.window},n.type=function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?o[a.call(e)]||"object":typeof e},n.isArray=Array.isArray||function(e){return"array"===n.type(e)},n.isPlainObject=function(e){var t;if(!e||"object"!==n.type(e)||e.nodeType||n.isWindow(e))return!1;try{if(e.constructor&&!i.call(e,"constructor")&&!i.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(r){return!1}for(t in e);return void 0===t||i.call(e,t)},n.each=function(e,n,r){var o,i=0,a=e.length,s=t(e);if(r){if(s)for(;a>i&&(o=n.apply(e[i],r),o!==!1);i++);else for(i in e)if(o=n.apply(e[i],r),o===!1)break}else if(s)for(;a>i&&(o=n.call(e[i],i,e[i]),o!==!1);i++);else for(i in e)if(o=n.call(e[i],i,e[i]),o===!1)break;return e},n.data=function(e,t,o){if(void 0===o){var i=e[n.expando],a=i&&r[i];if(void 0===t)return a;if(a&&t in a)return a[t]}else if(void 0!==t){var i=e[n.expando]||(e[n.expando]=++n.uuid);return r[i]=r[i]||{},r[i][t]=o,o}},n.removeData=function(e,t){var o=e[n.expando],i=o&&r[o];i&&n.each(t,function(e,t){delete i[t]})},n.extend=function(){var e,t,r,o,i,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[l]||{},l++),"object"!=typeof s&&"function"!==n.type(s)&&(s={}),l===u&&(s=this,l--);u>l;l++)if(null!=(i=arguments[l]))for(o in i)e=s[o],r=i[o],s!==r&&(c&&r&&(n.isPlainObject(r)||(t=n.isArray(r)))?(t?(t=!1,a=e&&n.isArray(e)?e:[]):a=e&&n.isPlainObject(e)?e:{},s[o]=n.extend(c,a,r)):void 0!==r&&(s[o]=r));return s},n.queue=function(e,r,o){function i(e,n){var r=n||[];return null!=e&&(t(Object(e))?!function(e,t){for(var n=+t.length,r=0,o=e.length;n>r;)e[o++]=t[r++];if(n!==n)for(;void 0!==t[r];)e[o++]=t[r++];return e.length=o,e}(r,"string"==typeof e?[e]:e):[].push.call(r,e)),r}if(e){r=(r||"fx")+"queue";var a=n.data(e,r);return o?(!a||n.isArray(o)?a=n.data(e,r,i(o)):a.push(o),a):a||[]}},n.dequeue=function(e,t){n.each(e.nodeType?[e]:e,function(e,r){t=t||"fx";var o=n.queue(r,t),i=o.shift();"inprogress"===i&&(i=o.shift()),i&&("fx"===t&&o.unshift("inprogress"),i.call(r,function(){n.dequeue(r,t)}))})},n.fn=n.prototype={init:function(e){if(e.nodeType)return this[0]=e,this;throw new Error("Not a DOM node.")},offset:function(){var t=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:t.top+(e.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:t.left+(e.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){function e(){for(var e=this.offsetParent||document;e&&"html"===!e.nodeType.toLowerCase&&"static"===e.style.position;)e=e.offsetParent;return e||document}var t=this[0],e=e.apply(t),r=this.offset(),o=/^(?:body|html)$/i.test(e.nodeName)?{top:0,left:0}:n(e).offset();return r.top-=parseFloat(t.style.marginTop)||0,r.left-=parseFloat(t.style.marginLeft)||0,e.style&&(o.top+=parseFloat(e.style.borderTopWidth)||0,o.left+=parseFloat(e.style.borderLeftWidth)||0),{top:r.top-o.top,left:r.left-o.left}}};var r={};n.expando="velocity"+(new Date).getTime(),n.uuid=0;for(var o={},i=o.hasOwnProperty,a=o.toString,s="Boolean Number String Function Array Date RegExp Object Error".split(" "),l=0;lo;++o){var i=u(n,e,r);if(0===i)return n;var a=l(n,e,r)-t;n-=a/i}return n}function p(){for(var t=0;b>t;++t)k[t]=l(t*_,e,r)}function d(t,n,o){var i,a,s=0;do a=n+(o-n)/2,i=l(a,e,r)-t,i>0?o=a:n=a;while(Math.abs(i)>g&&++s=m?c(t,s):0==l?s:d(t,n,n+_)}function h(){C=!0,e==n&&r==o||p()}var v=4,m=.001,g=1e-7,y=10,b=11,_=1/(b-1),w="Float32Array"in t;if(4!==arguments.length)return!1;for(var x=0;4>x;++x)if("number"!=typeof arguments[x]||isNaN(arguments[x])||!isFinite(arguments[x]))return!1;e=Math.min(e,1),r=Math.min(r,1),e=Math.max(e,0),r=Math.max(r,0);var k=w?new Float32Array(b):new Array(b),C=!1,S=function(t){return C||h(),e===n&&r===o?t:0===t?0:1===t?1:l(f(t),n,o)};S.getControlPoints=function(){return[{x:e,y:n},{x:r,y:o}]};var A="generateBezier("+[e,n,r,o]+")";return S.toString=function(){return A},S}function u(e,t){var n=e;return v.isString(e)?b.Easings[e]||(n=!1):n=v.isArray(e)&&1===e.length?s.apply(null,e):v.isArray(e)&&2===e.length?_.apply(null,e.concat([t])):v.isArray(e)&&4===e.length?l.apply(null,e):!1,n===!1&&(n=b.Easings[b.defaults.easing]?b.defaults.easing:y),n}function c(e){if(e){var t=(new Date).getTime(),n=b.State.calls.length;n>1e4&&(b.State.calls=o(b.State.calls));for(var i=0;n>i;i++)if(b.State.calls[i]){var s=b.State.calls[i],l=s[0],u=s[2],f=s[3],h=!!f,m=null;f||(f=b.State.calls[i][3]=t-16);for(var g=Math.min((t-f)/u.duration,1),y=0,_=l.length;_>y;y++){var x=l[y],C=x.element;if(a(C)){var S=!1;if(u.display!==r&&null!==u.display&&"none"!==u.display){if("flex"===u.display){var A=["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"];d.each(A,function(e,t){w.setPropertyValue(C,"display",t)})}w.setPropertyValue(C,"display",u.display)}u.visibility!==r&&"hidden"!==u.visibility&&w.setPropertyValue(C,"visibility",u.visibility);for(var $ in x)if("element"!==$){var T,O=x[$],P=v.isString(O.easing)?b.Easings[O.easing]:O.easing;if(1===g)T=O.endValue;else{var j=O.endValue-O.startValue;if(T=O.startValue+j*P(g,u,j),!h&&T===O.currentValue)continue}if(O.currentValue=T,"tween"===$)m=T;else{if(w.Hooks.registered[$]){var E=w.Hooks.getRoot($),V=a(C).rootPropertyValueCache[E];V&&(O.rootPropertyValue=V)}var L=w.setPropertyValue(C,$,O.currentValue+(0===parseFloat(T)?"":O.unitType),O.rootPropertyValue,O.scrollData);w.Hooks.registered[$]&&(w.Normalizations.registered[E]?a(C).rootPropertyValueCache[E]=w.Normalizations.registered[E]("extract",null,L[1]):a(C).rootPropertyValueCache[E]=L[1]),"transform"===L[0]&&(S=!0)}}u.mobileHA&&a(C).transformCache.translate3d===r&&(a(C).transformCache.translate3d="(0px, 0px, 0px)",S=!0),S&&w.flushTransformCache(C)}}u.display!==r&&"none"!==u.display&&(b.State.calls[i][2].display=!1),u.visibility!==r&&"hidden"!==u.visibility&&(b.State.calls[i][2].visibility=!1),u.progress&&u.progress.call(s[1],s[1],g,Math.max(0,f+u.duration-t),f,m),1===g&&p(i)}}b.State.isTicking&&k(c)}function p(e,t){if(!b.State.calls[e])return!1;for(var n=b.State.calls[e][0],o=b.State.calls[e][1],i=b.State.calls[e][2],s=b.State.calls[e][4],l=!1,u=0,c=n.length;c>u;u++){var p=n[u].element;if(t||i.loop||("none"===i.display&&w.setPropertyValue(p,"display",i.display),"hidden"===i.visibility&&w.setPropertyValue(p,"visibility",i.visibility)),i.loop!==!0&&(d.queue(p)[1]===r||!/\.velocityQueueEntryFlag/i.test(d.queue(p)[1]))&&a(p)){a(p).isAnimating=!1,a(p).rootPropertyValueCache={};var f=!1;d.each(w.Lists.transforms3D,function(e,t){var n=/^scale/.test(t)?1:0,o=a(p).transformCache[t];a(p).transformCache[t]!==r&&new RegExp("^\\("+n+"[^.]").test(o)&&(f=!0,delete a(p).transformCache[t])}),i.mobileHA&&(f=!0,delete a(p).transformCache.translate3d),f&&w.flushTransformCache(p),w.Values.removeClass(p,"velocity-animating")}if(!t&&i.complete&&!i.loop&&u===c-1)try{i.complete.call(o,o)}catch(h){setTimeout(function(){throw h},1)}s&&i.loop!==!0&&s(o),a(p)&&i.loop===!0&&!t&&(d.each(a(p).tweensContainer,function(e,t){/^rotate/.test(e)&&360===parseFloat(t.endValue)&&(t.endValue=0,t.startValue=360),/^backgroundPosition/.test(e)&&100===parseFloat(t.endValue)&&"%"===t.unitType&&(t.endValue=0,t.startValue=100)}),b(p,"reverse",{loop:!0,delay:i.delay})),i.queue!==!1&&d.dequeue(p,i.queue)}b.State.calls[e]=!1;for(var v=0,m=b.State.calls.length;m>v;v++)if(b.State.calls[v]!==!1){l=!0;break}l===!1&&(b.State.isTicking=!1,delete b.State.calls,b.State.calls=[])}var d,f=function(){if(n.documentMode)return n.documentMode;for(var e=7;e>4;e--){var t=n.createElement("div");if(t.innerHTML="",t.getElementsByTagName("span").length)return t=null,e}return r}(),h=function(){var e=0;return t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||function(t){var n,r=(new Date).getTime();return n=Math.max(0,16-(r-e)),e=r+n,setTimeout(function(){t(r+n)},n)}}(),v={isString:function(e){return"string"==typeof e},isArray:Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},isFunction:function(e){return"[object Function]"===Object.prototype.toString.call(e)},isNode:function(e){return e&&e.nodeType},isNodeList:function(e){return"object"==typeof e&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(Object.prototype.toString.call(e))&&e.length!==r&&(0===e.length||"object"==typeof e[0]&&e[0].nodeType>0)},isWrapped:function(e){return e&&(e.jquery||t.Zepto&&t.Zepto.zepto.isZ(e))},isSVG:function(e){return t.SVGElement&&e instanceof t.SVGElement},isEmptyObject:function(e){for(var t in e)return!1;return!0}},m=!1;if(e.fn&&e.fn.jquery?(d=e,m=!0):d=t.Velocity.Utilities,8>=f&&!m)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(7>=f)return void(jQuery.fn.velocity=jQuery.fn.animate);var g=400,y="swing",b={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:t.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:n.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[]},CSS:{},Utilities:d,Redirects:{},Easings:{},Promise:t.Promise,defaults:{queue:"",duration:g,easing:y,begin:r,complete:r,progress:r,display:r,visibility:r,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0},init:function(e){d.data(e,"velocity",{isSVG:v.isSVG(e),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:2,patch:2},debug:!1};t.pageYOffset!==r?(b.State.scrollAnchor=t,b.State.scrollPropertyLeft="pageXOffset",b.State.scrollPropertyTop="pageYOffset"):(b.State.scrollAnchor=n.documentElement||n.body.parentNode||n.body,b.State.scrollPropertyLeft="scrollLeft",b.State.scrollPropertyTop="scrollTop");var _=function(){function e(e){return-e.tension*e.x-e.friction*e.v}function t(t,n,r){var o={x:t.x+r.dx*n,v:t.v+r.dv*n,tension:t.tension,friction:t.friction};return{dx:o.v,dv:e(o)}}function n(n,r){var o={dx:n.v,dv:e(n)},i=t(n,.5*r,o),a=t(n,.5*r,i),s=t(n,r,a),l=1/6*(o.dx+2*(i.dx+a.dx)+s.dx),u=1/6*(o.dv+2*(i.dv+a.dv)+s.dv);return n.x=n.x+l*r,n.v=n.v+u*r,n}return function r(e,t,o){var i,a,s,l={x:-1,v:0,tension:null,friction:null},u=[0],c=0,p=1e-4,d=.016;for(e=parseFloat(e)||500,t=parseFloat(t)||20,o=o||null,l.tension=e,l.friction=t,i=null!==o,i?(c=r(e,t),a=c/o*d):a=d;;)if(s=n(s||l,a),u.push(1+s.x),c+=16,!(Math.abs(s.x)>p&&Math.abs(s.v)>p))break;return i?function(e){return u[e*(u.length-1)|0]}:c}}();b.Easings={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},spring:function(e){return 1-Math.cos(4.5*e*Math.PI)*Math.exp(6*-e)}},d.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(e,t){b.Easings[t[0]]=l.apply(null,t[1])});var w=b.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"]},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var e=0;e=f)switch(e){case"name":return"filter";case"extract":var r=n.toString().match(/alpha\(opacity=(.*)\)/i);return n=r?r[1]/100:1;case"inject":return t.style.zoom=1,parseFloat(n)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(n),10)+")"}else switch(e){case"name":return"opacity";case"extract":return n;case"inject":return n}}},register:function(){9>=f||b.State.isGingerbread||(w.Lists.transformsBase=w.Lists.transformsBase.concat(w.Lists.transforms3D));for(var e=0;eo&&(o=1),i=!/(\d)$/i.test(o);break;case"skew":i=!/(deg|\d)$/i.test(o);break;case"rotate":i=!/(deg|\d)$/i.test(o)}return i||(a(n).transformCache[t]="("+o+")"),a(n).transformCache[t]}}}();for(var e=0;e=f||3!==i.split(" ").length||(i+=" 1"),i;case"inject":return 8>=f?4===o.split(" ").length&&(o=o.split(/\s+/).slice(0,3).join(" ")):3===o.split(" ").length&&(o+=" 1"),(8>=f?"rgb":"rgba")+"("+o.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")"}}}()}},Names:{camelCase:function(e){return e.replace(/-(\w)/g,function(e,t){return t.toUpperCase()})},SVGAttribute:function(e){var t="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(f||b.State.isAndroid&&!b.State.isChrome)&&(t+="|transform"),new RegExp("^("+t+")$","i").test(e)},prefixCheck:function(e){if(b.State.prefixMatches[e])return[b.State.prefixMatches[e],!0];for(var t=["","Webkit","Moz","ms","O"],n=0,r=t.length;r>n;n++){var o;if(o=0===n?e:t[n]+e.replace(/^\w/,function(e){return e.toUpperCase()}),v.isString(b.State.prefixElement.style[o]))return b.State.prefixMatches[e]=o,[o,!0]}return[e,!1]}},Values:{hexToRgb:function(e){var t,n=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;return e=e.replace(n,function(e,t,n,r){return t+t+n+n+r+r}),t=r.exec(e),t?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:[0,0,0]},isCSSNullValue:function(e){return 0==e||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(e)},getUnitType:function(e){return/^(rotate|skew)/i.test(e)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(e)?"":"px"},getDisplayType:function(e){var t=e&&e.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(t)?"inline":/^(li)$/i.test(t)?"list-item":/^(tr)$/i.test(t)?"table-row":/^(table)$/i.test(t)?"table":/^(tbody)$/i.test(t)?"table-row-group":"block"},addClass:function(e,t){e.classList?e.classList.add(t):e.className+=(e.className.length?" ":"")+t},removeClass:function(e,t){e.classList?e.classList.remove(t):e.className=e.className.toString().replace(new RegExp("(^|\\s)"+t.split(" ").join("|")+"(\\s|$)","gi")," ")}},getPropertyValue:function(e,n,o,i){function s(e,n){function o(){u&&w.setPropertyValue(e,"display","none")}var l=0;if(8>=f)l=d.css(e,n);else{var u=!1;if(/^(width|height)$/.test(n)&&0===w.getPropertyValue(e,"display")&&(u=!0,w.setPropertyValue(e,"display",w.Values.getDisplayType(e))),!i){if("height"===n&&"border-box"!==w.getPropertyValue(e,"boxSizing").toString().toLowerCase()){var c=e.offsetHeight-(parseFloat(w.getPropertyValue(e,"borderTopWidth"))||0)-(parseFloat(w.getPropertyValue(e,"borderBottomWidth"))||0)-(parseFloat(w.getPropertyValue(e,"paddingTop"))||0)-(parseFloat(w.getPropertyValue(e,"paddingBottom"))||0);return o(),c}if("width"===n&&"border-box"!==w.getPropertyValue(e,"boxSizing").toString().toLowerCase()){var p=e.offsetWidth-(parseFloat(w.getPropertyValue(e,"borderLeftWidth"))||0)-(parseFloat(w.getPropertyValue(e,"borderRightWidth"))||0)-(parseFloat(w.getPropertyValue(e,"paddingLeft"))||0)-(parseFloat(w.getPropertyValue(e,"paddingRight"))||0);return o(),p}}var h;h=a(e)===r?t.getComputedStyle(e,null):a(e).computedStyle?a(e).computedStyle:a(e).computedStyle=t.getComputedStyle(e,null),"borderColor"===n&&(n="borderTopColor"),l=9===f&&"filter"===n?h.getPropertyValue(n):h[n],""!==l&&null!==l||(l=e.style[n]),o()}if("auto"===l&&/^(top|right|bottom|left)$/i.test(n)){var v=s(e,"position");("fixed"===v||"absolute"===v&&/top|left/i.test(n))&&(l=d(e).position()[n]+"px")}return l}var l;if(w.Hooks.registered[n]){var u=n,c=w.Hooks.getRoot(u);o===r&&(o=w.getPropertyValue(e,w.Names.prefixCheck(c)[0])),w.Normalizations.registered[c]&&(o=w.Normalizations.registered[c]("extract",e,o)),l=w.Hooks.extractValue(u,o)}else if(w.Normalizations.registered[n]){var p,h;p=w.Normalizations.registered[n]("name",e),"transform"!==p&&(h=s(e,w.Names.prefixCheck(p)[0]),w.Values.isCSSNullValue(h)&&w.Hooks.templates[n]&&(h=w.Hooks.templates[n][1])),l=w.Normalizations.registered[n]("extract",e,h)}if(!/^[\d-]/.test(l))if(a(e)&&a(e).isSVG&&w.Names.SVGAttribute(n))if(/^(height|width)$/i.test(n))try{l=e.getBBox()[n]}catch(v){l=0}else l=e.getAttribute(n);else l=s(e,w.Names.prefixCheck(n)[0]);return w.Values.isCSSNullValue(l)&&(l=0),b.debug>=2&&console.log("Get "+n+": "+l),l},setPropertyValue:function(e,n,r,o,i){var s=n;if("scroll"===n)i.container?i.container["scroll"+i.direction]=r:"Left"===i.direction?t.scrollTo(r,i.alternateValue):t.scrollTo(i.alternateValue,r);else if(w.Normalizations.registered[n]&&"transform"===w.Normalizations.registered[n]("name",e))w.Normalizations.registered[n]("inject",e,r),s="transform",r=a(e).transformCache[n];else{if(w.Hooks.registered[n]){var l=n,u=w.Hooks.getRoot(n);o=o||w.getPropertyValue(e,u),r=w.Hooks.injectValue(l,r,o),n=u}if(w.Normalizations.registered[n]&&(r=w.Normalizations.registered[n]("inject",e,r),n=w.Normalizations.registered[n]("name",e)),s=w.Names.prefixCheck(n)[0],8>=f)try{e.style[s]=r}catch(c){b.debug&&console.log("Browser does not support ["+r+"] for ["+s+"]")}else a(e)&&a(e).isSVG&&w.Names.SVGAttribute(n)?e.setAttribute(n,r):e.style[s]=r;b.debug>=2&&console.log("Set "+n+" ("+s+"): "+r)}return[s,r]},flushTransformCache:function(e){function t(t){return parseFloat(w.getPropertyValue(e,t))}var n="";if((f||b.State.isAndroid&&!b.State.isChrome)&&a(e).isSVG){var r={translate:[t("translateX"),t("translateY")],skewX:[t("skewX")],skewY:[t("skewY")],scale:1!==t("scale")?[t("scale"),t("scale")]:[t("scaleX"),t("scaleY")],rotate:[t("rotateZ"),0,0]};d.each(a(e).transformCache,function(e){/^translate/i.test(e)?e="translate":/^scale/i.test(e)?e="scale":/^rotate/i.test(e)&&(e="rotate"),r[e]&&(n+=e+"("+r[e].join(" ")+") ",delete r[e])})}else{var o,i;d.each(a(e).transformCache,function(t){return o=a(e).transformCache[t],"transformPerspective"===t?(i=o,!0):(9===f&&"rotateZ"===t&&(t="rotate"),void(n+=t+o+" "))}),i&&(n="perspective"+i+" "+n)}w.setPropertyValue(e,"transform",n)}};w.Hooks.register(),w.Normalizations.register(),b.hook=function(e,t,n){var o=r;return e=i(e),d.each(e,function(e,i){if(a(i)===r&&b.init(i),n===r)o===r&&(o=b.CSS.getPropertyValue(i,t));else{var s=b.CSS.setPropertyValue(i,t,n);"transform"===s[0]&&b.CSS.flushTransformCache(i),o=s}}),o};var x=function(){function e(){return s?$.promise||null:l}function o(){function e(e){function p(e,t){var n=r,o=r,a=r;return v.isArray(e)?(n=e[0],!v.isArray(e[1])&&/^[\d-]/.test(e[1])||v.isFunction(e[1])||w.RegEx.isHex.test(e[1])?a=e[1]:(v.isString(e[1])&&!w.RegEx.isHex.test(e[1])||v.isArray(e[1]))&&(o=t?e[1]:u(e[1],s.duration),e[2]!==r&&(a=e[2]))):n=e,t||(o=o||s.easing),v.isFunction(n)&&(n=n.call(i,C,k)),v.isFunction(a)&&(a=a.call(i,C,k)),[n||0,o,a]}function f(e,t){var n,r;return r=(t||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(e){return n=e,""}),n||(n=w.Values.getUnitType(e)),[r,n]}function g(){var e={myParent:i.parentNode||n.body,position:w.getPropertyValue(i,"position"),fontSize:w.getPropertyValue(i,"fontSize")},r=e.position===L.lastPosition&&e.myParent===L.lastParent,o=e.fontSize===L.lastFontSize;L.lastParent=e.myParent,L.lastPosition=e.position,L.lastFontSize=e.fontSize;var s=100,l={};if(o&&r)l.emToPx=L.lastEmToPx,l.percentToPxWidth=L.lastPercentToPxWidth,l.percentToPxHeight=L.lastPercentToPxHeight;else{var u=a(i).isSVG?n.createElementNS("http://www.w3.org/2000/svg","rect"):n.createElement("div");b.init(u),e.myParent.appendChild(u),d.each(["overflow","overflowX","overflowY"],function(e,t){b.CSS.setPropertyValue(u,t,"hidden")}),b.CSS.setPropertyValue(u,"position",e.position),b.CSS.setPropertyValue(u,"fontSize",e.fontSize),b.CSS.setPropertyValue(u,"boxSizing","content-box"),d.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(e,t){b.CSS.setPropertyValue(u,t,s+"%")}),b.CSS.setPropertyValue(u,"paddingLeft",s+"em"),l.percentToPxWidth=L.lastPercentToPxWidth=(parseFloat(w.getPropertyValue(u,"width",null,!0))||1)/s,l.percentToPxHeight=L.lastPercentToPxHeight=(parseFloat(w.getPropertyValue(u,"height",null,!0))||1)/s,l.emToPx=L.lastEmToPx=(parseFloat(w.getPropertyValue(u,"paddingLeft"))||1)/s,e.myParent.removeChild(u)}return null===L.remToPx&&(L.remToPx=parseFloat(w.getPropertyValue(n.body,"fontSize"))||16),null===L.vwToPx&&(L.vwToPx=parseFloat(t.innerWidth)/100,L.vhToPx=parseFloat(t.innerHeight)/100),l.remToPx=L.remToPx,l.vwToPx=L.vwToPx,l.vhToPx=L.vhToPx,b.debug>=1&&console.log("Unit ratios: "+JSON.stringify(l),i),l}if(s.begin&&0===C)try{s.begin.call(h,h)}catch(_){setTimeout(function(){throw _},1)}if("scroll"===T){var x,S,A,O=/^x$/i.test(s.axis)?"Left":"Top",P=parseFloat(s.offset)||0;s.container?v.isWrapped(s.container)||v.isNode(s.container)?(s.container=s.container[0]||s.container,x=s.container["scroll"+O],A=x+d(i).position()[O.toLowerCase()]+P):s.container=null:(x=b.State.scrollAnchor[b.State["scrollProperty"+O]],S=b.State.scrollAnchor[b.State["scrollProperty"+("Left"===O?"Top":"Left")]],A=d(i).offset()[O.toLowerCase()]+P),l={scroll:{rootPropertyValue:!1,startValue:x,currentValue:x,endValue:A,unitType:"",easing:s.easing,scrollData:{container:s.container,direction:O,alternateValue:S}},element:i},b.debug&&console.log("tweensContainer (scroll): ",l.scroll,i)}else if("reverse"===T){if(!a(i).tweensContainer)return void d.dequeue(i,s.queue);"none"===a(i).opts.display&&(a(i).opts.display="auto"),"hidden"===a(i).opts.visibility&&(a(i).opts.visibility="visible"),a(i).opts.loop=!1,a(i).opts.begin=null,a(i).opts.complete=null,y.easing||delete s.easing,y.duration||delete s.duration,s=d.extend({},a(i).opts,s);var j=d.extend(!0,{},a(i).tweensContainer);for(var E in j)if("element"!==E){var V=j[E].startValue;j[E].startValue=j[E].currentValue=j[E].endValue,j[E].endValue=V,v.isEmptyObject(y)||(j[E].easing=s.easing),b.debug&&console.log("reverse tweensContainer ("+E+"): "+JSON.stringify(j[E]),i)}l=j}else if("start"===T){var j;a(i).tweensContainer&&a(i).isAnimating===!0&&(j=a(i).tweensContainer),d.each(m,function(e,t){if(RegExp("^"+w.Lists.colors.join("$|^")+"$").test(e)){var n=p(t,!0),o=n[0],i=n[1],a=n[2];if(w.RegEx.isHex.test(o)){for(var s=["Red","Green","Blue"],l=w.Values.hexToRgb(o),u=a?w.Values.hexToRgb(a):r,c=0;cF;F++){var M={delay:P.delay,progress:P.progress};F===R-1&&(M.display=P.display,M.visibility=P.visibility,M.complete=P.complete),x(h,"reverse",M)}return e()}};b=d.extend(x,b),b.animate=x;var k=t.requestAnimationFrame||h;return b.State.isMobile||n.hidden===r||n.addEventListener("visibilitychange",function(){n.hidden?(k=function(e){return setTimeout(function(){e(!0)},16)},c()):k=t.requestAnimationFrame||h}),e.Velocity=b,e!==t&&(e.fn.velocity=x,e.fn.velocity.defaults=b.defaults),d.each(["Down","Up"],function(e,t){b.Redirects["slide"+t]=function(e,n,o,i,a,s){var l=d.extend({},n),u=l.begin,c=l.complete,p={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""},f={};l.display===r&&(l.display="Down"===t?"inline"===b.CSS.Values.getDisplayType(e)?"inline-block":"block":"none"),l.begin=function(){u&&u.call(a,a);for(var n in p){f[n]=e.style[n];var r=b.CSS.getPropertyValue(e,n);p[n]="Down"===t?[r,0]:[0,r]}f.overflow=e.style.overflow,e.style.overflow="hidden"},l.complete=function(){for(var t in f)e.style[t]=f[t];c&&c.call(a,a),s&&s.resolver(a)},b(e,p,l)}}),d.each(["In","Out"],function(e,t){b.Redirects["fade"+t]=function(e,n,o,i,a,s){var l=d.extend({},n),u={opacity:"In"===t?1:0},c=l.complete;o!==i-1?l.complete=l.begin=null:l.complete=function(){c&&c.call(a,a),s&&s.resolver(a)},l.display===r&&(l.display="In"===t?"auto":"none"),b(this,u,l)}}),b}(window.jQuery||window.Zepto||window,window,document)})},function(e,t,n){var r,o;n(21),r=n(8);var i=n(18);o=r=r||{},"object"!=typeof r["default"]&&"function"!=typeof r["default"]||(o=r=r["default"]),"function"==typeof o&&(o=o.options),o.render=i.render,o.staticRenderFns=i.staticRenderFns,e.exports=r},function(e,t,n){var r,o;r=n(9);var i=n(16);o=r=r||{},"object"!=typeof r["default"]&&"function"!=typeof r["default"]||(o=r=r["default"]),"function"==typeof o&&(o=o.options),o.render=i.render,o.staticRenderFns=i.staticRenderFns,e.exports=r},function(e,t,n){var r,o;r=n(10);var i=n(15);o=r=r||{},"object"!=typeof r["default"]&&"function"!=typeof r["default"]||(o=r=r["default"]),"function"==typeof o&&(o=o.options),o.render=i.render,o.staticRenderFns=i.staticRenderFns,e.exports=r},function(e,t,n){var r,o;r=n(11);var i=n(17);o=r=r||{},"object"!=typeof r["default"]&&"function"!=typeof r["default"]||(o=r=r["default"]),"function"==typeof o&&(o=o.options),o.render=i.render,o.staticRenderFns=i.staticRenderFns,e.exports=r},function(e,t){(function(){var t,n;t=function(e){return"string"==typeof e||e instanceof String},n=function(e){var n;return n=Array.isArray(e),t(e)&&!n&&(e=e.split(" "),n=!0),{isArray:n,obj:e}},e.exports={computed:{computedClass:function(){var e,r,o,i,a,s,l,u,c,p,d,f,h,v;if(d=n(this["class"]),r=d.isArray,c=d.obj,null==this.mergeClass)return c;if(f=n(this.mergeClass),o=f.isArray,p=f.obj,r&&o)return p.concat(c);if(h={},o)for(e=0,l=p.length;l>e;e++)if(i=p[e],t(i))h[i]=!0;else for(s in i)v=i[s],h[s]=v;else for(s in p)v=p[s],h[s]=v;if(r)for(a=0,u=c.length;u>a;a++)if(i=c[a],t(i))h[i]=!0;else for(s in i)v=i[s],h[s]=v;else for(s in c)v=c[s],h[s]=v;return h}}}}).call(this)},function(e,t,n){Vue=n(22),Vue.config.debug=!0,Router=n(19),Vue.use(Router),routes=[{path:"/basic",component:n(2)},{path:"/scroll",component:n(3)}],router=new Router({routes:[{path:"/basic",component:n(2)},{path:"/scroll",component:n(3)},{path:"/",component:n(14)}]}),router.afterEach(function(e){document.title=e.path+" - vue-dev-server"}),app=new Vue({data:function(){return{availableRoutes:routes}},template:"",router:router}).$mount("#app")},function(e,t,n){var r;r=n(1),e.exports={components:{collapsible:n(5),"collapsible-item":n(4)},created:function(){return Vue.component("collapsible2",{functional:!0,render:function(e,t){return t.data.attrs.name="fade",t.data.props={css:!1},t.data.on={enter:function(e,t){return r(e,"slideDown",{duration:350,easing:"easeOutQuart",queue:!1,complete:t})},enterCancelled:function(e){return r(e,"stop")},leave:function(e,t){return r(e,"slideUp",{duration:350,easing:"easeOutQuart",queue:!1,complete:t})},leaveCancelled:function(e){return r(e,"stop")}},e("transition",t.data,t.children)}})}}},function(e,t,n){var r;r=n(1),e.exports={components:{collapsible:n(5),"collapsible-item":n(4)},methods:{scroll:function(e){var t,n,o;return t=document.body,n=document.documentElement,o=window.pageYOffset||n.scrollTop||t.scrollTop,o+=e,r(n,"scroll",{duration:400,offset:o})}}}},function(e,t,n){e.exports={mixins:[n(24),n(6),n(25)],props:{stayOpen:{type:Boolean,"default":!1},transition:{type:String},transitionName:{type:String}},computed:{mergeClass:function(){var e;return e=[this.$parent.itemClass],this.opened&&e.push("active"),e},headerClass:function(){var e;return e=[this.$parent.headerClass],this.opened&&e.push("active"),e},bodyClass:function(){return[this.$parent.bodyClass]},cTransition:function(){var e;return e=this.transition,null==e&&(e=this.$parent.transition),this.processTransition(e,{parent:this.$parent.$parent})},cTransitionName:function(){var e;return e=this.transitionName,null==e&&(e=this.$parent.transitionName),e}},data:function(){return{isCollapsibleItem:!0}},methods:{show:function(){return this.setOpened()},hide:function(){return this.setClosed()},open:function(){return this.show(),this.$parent.accordion?this.$parent.closeAll(this):void 0},close:function(e){var t;return this.opened?(e&&!this.$parent.noScroll&&(t=this.$el.children[1].getBoundingClientRect().top,0>t&&this.$parent.scrollTransition(t)),this.hide()):void 0},toggle:function(e){if(null!=e){if(e.defaultPrevented)return;e.preventDefault()}return this.opened?this.close():this.open()}}}},function(e,t,n){e.exports={mixins:[n(6)],props:{accordion:{type:Boolean,"default":!1},"class":{"default":function(){return["collapsible"]}},itemClass:{type:String,"default":"collapsible-item"},headerClass:{type:String,"default":"collapsible-header"},bodyClass:{type:String,"default":"collapsible-body"},noScroll:{type:Boolean,"default":!1},scrollTransition:{type:Function,"default":function(e){return"undefined"!=typeof window&&null!==window&&"function"==typeof window.scrollBy?window.scrollBy(0,e):void 0}},transition:{type:String,"default":"collapsible-transition"},transitionName:{type:String,"default":"collapsible"}},methods:{closeAll:function(e){var t,n,r,o,i,a,s;for(t=!1,a=this.$children,s=[],o=r=0,i=a.length;i>r;o=++r)n=a[o],e!==n?n.isCollapsibleItem&&!n.stayOpen?s.push(n.close(!t)):s.push(void 0):t=!0;return s}}}},function(e,t,n){t=e.exports=n(13)(),t.push([e.id,".collapsible{border:1px solid #000;width:150px;list-style-type:none;padding:0}.collapsible p{margin:0}.collapsible .collapsible-header{display:block;padding:1em}.collapsible .collapsible-item{border-bottom:1px solid #000}.collapsible .collapsible-body{border-top:1px dashed #000;padding:1em 4px 1em 30px}",""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;tli{cursor:pointer}.dev-server-nav>li:hover{color:#008cff}");!function(){module.exports={computed:{availableRoutes:function(){return this.$parent.availableRoutes}}}}(),module.exports.__esModule&&(module.exports=module.exports["default"]);var __vue__options__="function"==typeof module.exports?module.exports.options:module.exports;__vue__options__.render=function(){with(this)return _h("div",{staticClass:"routes"},[_m(0),_h("ul",{staticClass:"dev-server-nav"},[_l(availableRoutes,function(e){return _h("router-link",{attrs:{to:e.path,tag:"li"}},[_h("a",[_s(e.path)])])})])])},__vue__options__.staticRenderFns=[function(){with(this)return _h("h4",["Available routes:"])}]},function(module,exports){module.exports={render:function(){with(this)return _h("li",{"class":computedClass},[_h("a",{"class":headerClass,on:{click:toggle}},[_t("header")]),_h(cTransition,{tag:"transition",attrs:{name:cTransitionName}},[opened?_h("div",{"class":bodyClass},[_t("default")]):_e()])])},staticRenderFns:[]}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"container"},[_h("collapsible",{attrs:{accordion:"accordion","scroll-transition":scroll}},[_h("collapsible-item",{attrs:{"is-opened":"is-opened"}},[_h("p",{slot:"header"},["header1"]),_m(0)]),_h("collapsible-item",[_h("p",{slot:"header"},["header2"]),_m(1)]),_h("collapsible-item",[_h("p",{slot:"header"},["header3"]),_m(2)]),_h("collapsible-item",[_h("p",{slot:"header"},["header4"]),_m(3)])]),_m(4),_m(5)])},staticRenderFns:[function(){with(this)return _h("p",["Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet."])},function(){with(this)return _h("p",["Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet."])},function(){with(this)return _h("p",["Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet."])},function(){with(this)return _h("p",["Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet."])},function(){with(this)return _h("br")},function(){with(this)return _h("a",{attrs:{href:"https://github.com/vue-comps/vue-collapsible/blob/master/dev/basic.vue"}},["source"])}]}},function(module,exports){module.exports={render:function(){with(this)return _h("ul",{"class":computedClass},[_t("default")])},staticRenderFns:[]}},function(module,exports){module.exports={render:function(){with(this)return _h("div",{staticClass:"container"},[_m(0),_h("collapsible",[_h("collapsible-item",{ref:"ci1"},[_h("p",{slot:"header"},["header1"]),_m(1)]),_h("collapsible-item",{ref:"ci2"},[_h("p",{slot:"header"},["header2"]),_m(2)]),_h("collapsible-item",{ref:"ci3"},[_h("p",{slot:"header"},["header3"]),_m(3)])]),_m(4),_h("collapsible",{attrs:{accordion:"accordion"}},[_h("collapsible-item",{ref:"ai1"},[_h("p",{slot:"header"},["header1"]),_m(5)]),_h("collapsible-item",{ref:"ai2",attrs:{"stay-open":"stay-open"}},[_h("p",{slot:"header"},["header2 / stay-open"]),_m(6)]),_h("collapsible-item",{attrs:{transition:"collapsible2"}},[_h("p",{slot:"header"},["custom transition"]),_m(7)]),_h("collapsible-item",{ref:"ai3",attrs:{"is-opened":"is-opened"}},[_h("p",{slot:"header"},["header4 / is-opened"]),_m(8)])]),_m(9),_m(10)])},staticRenderFns:[function(){with(this)return _h("p",["collapsible"])},function(){with(this)return _h("p",["body 1"])},function(){with(this)return _h("p",["body 2"])},function(){with(this)return _h("p",["body 3"])},function(){with(this)return _h("p",["accordion"])},function(){with(this)return _h("p",["body 1"])},function(){with(this)return _h("p",["body 2"])},function(){with(this)return _h("p",["body 3"])},function(){with(this)return _h("p",["body 4"])},function(){with(this)return _h("br")},function(){with(this)return _h("a",{attrs:{href:"https://github.com/vue-comps/vue-collapsible/blob/master/dev/basic.vue"}},["source"])}]}},function(e,t,n){/** + * vue-router v2.0.1 + * (c) 2016 Evan You + * @license MIT + */ +!function(t,n){e.exports=n()}(this,function(){"use strict";function e(e,t,n){if("/"===e.charAt(0))return e;if("?"===e.charAt(0)||"#"===e.charAt(0))return t+e;var r=t.split("/");n&&r[r.length-1]||r.pop();for(var o=e.replace(/^\//,"").split("/"),i=0;i=0&&(t=e.slice(r),e=e.slice(0,r));var o=e.indexOf("?");return o>=0&&(n=e.slice(o+1),e=e.slice(0,o)),{path:e,query:n,hash:t}}function n(e){return e.replace(/\/\//g,"/")}function r(e,t){if(!e)throw new Error("[vue-router] "+t)}function o(e,t){e||"undefined"!=typeof console&&console.warn("[vue-router] "+t)}function i(e,t){if(void 0===t&&(t={}),e){var n;try{n=a(e)}catch(r){o(!1,r.message),n={}}for(var i in t)n[i]=t[i];return n}return t}function a(e){var t=Object.create(null);return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach(function(e){var n=e.replace(/\+/g," ").split("="),r=le(n.shift()),o=n.length>0?le(n.join("=")):null;void 0===t[r]?t[r]=o:Array.isArray(t[r])?t[r].push(o):t[r]=[t[r],o]}),t):t}function s(e){var t=e?Object.keys(e).sort().map(function(t){var n=e[t];if(void 0===n)return"";if(null===n)return se(t);if(Array.isArray(n)){var r=[];return n.slice().forEach(function(e){void 0!==e&&(null===e?r.push(se(t)):r.push(se(t)+"="+se(e)))}),r.join("&")}return se(t)+"="+se(n)}).filter(function(e){return e.length>0}).join("&"):null;return t?"?"+t:""}function l(e,t,n){var r={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:t.query||{},params:t.params||{},fullPath:c(t),matched:e?u(e):[]};return n&&(r.redirectedFrom=c(n)),Object.freeze(r)}function u(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function c(e){var t=e.path,n=e.query;void 0===n&&(n={});var r=e.hash;return void 0===r&&(r=""),(t||"/")+s(n)+r}function p(e,t){return t===ue?e===t:t?e.path&&t.path?e.path.replace(ce,"")===t.path.replace(ce,"")&&e.hash===t.hash&&d(e.query,t.query):e.name&&t.name?e.name===t.name&&e.hash===t.hash&&d(e.query,t.query)&&d(e.params,t.params):!1:!1}function d(e,t){void 0===e&&(e={}),void 0===t&&(t={});var n=Object.keys(e),r=Object.keys(t);return n.length!==r.length?!1:n.every(function(n){return String(e[n])===String(t[n])})}function f(e,t){return 0===e.path.indexOf(t.path)&&(!t.hash||e.hash===t.hash)&&h(e.query,t.query)}function h(e,t){for(var n in t)if(!(n in e))return!1;return!0}function v(n,r,o){var a="string"==typeof n?{path:n}:n;if(a.name||a._normalized)return a;var s=t(a.path||""),l=r&&r.path||"/",u=s.path?e(s.path,l,o):r&&r.path||"/",c=i(s.query,a.query),p=a.hash||s.hash;return p&&"#"!==p.charAt(0)&&(p="#"+p),{_normalized:!0,path:u,query:c,hash:p}}function m(e){if(e)for(var t,n=0;ns;++s){var u=r[s-1],c="string"==typeof a[s]?decodeURIComponent(a[s]):a[s];u&&(t[u.name]=c)}return!0}function F(e,t,n){try{var o=xe[e]||(xe[e]=ve.compile(e));return o(t||{},{pretty:!0})}catch(i){return r(!1,"missing param for "+n+": "+i.message),""}}function M(t,n){return e(t,n.parent?n.parent.path:"/",!0)}function I(e,t,n){var r=function(o){o>=e.length?n():e[o]?t(e[o],function(){r(o+1)}):r(o+1)};r(0)}function D(e){if(!e)if(ke){var t=document.querySelector("base");e=t?t.getAttribute("href"):"/"}else e="/";return"/"!==e.charAt(0)&&(e="/"+e),e.replace(/\/$/,"")}function q(e,t){var n,r=Math.max(e.length,t.length);for(n=0;r>n&&e[n]===t[n];n++);return{activated:t.slice(n),deactivated:e.slice(n)}}function H(e){return W(e,function(e,t){var n=e&&e.beforeRouteLeave;return n?function(){return n.apply(t,arguments)}:void 0}).reverse()}function B(e,t,n){return W(e,function(e,r,o,i){var a=e&&e.beforeRouteEnter;return a?function(e,r,s){return a(e,r,function(e){s(e),"function"==typeof e&&t.push(function(){U(e,o.instances,i,n)})})}:void 0})}function U(e,t,n,r){t[n]?e(t[n]):r()&&setTimeout(function(){U(e,t,n,r)},16)}function z(e){return W(e,function(e,t,n,r){return"function"!=typeof e||e.options?void 0:function(t,i,a){var s=function(e){n.components[r]=e,a()},l=function(e){o(!1,"Failed to resolve async component "+r+": "+e),a(!1)},u=e(s,l);u&&"function"==typeof u.then&&u.then(s,l)}})}function W(e,t){return Array.prototype.concat.apply([],e.map(function(e){return Object.keys(e.components).map(function(n){return t(e.components[n],e.instances[n],e,n)})}))}function G(e){e&&window.sessionStorage.setItem(e,JSON.stringify({x:window.pageXOffset,y:window.pageYOffset}))}function J(e){return e?JSON.parse(window.sessionStorage.getItem(e)):void 0}function Y(e){var t=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{x:n.left-t.left,y:n.top-t.top}}function X(e){return Z(e.x)||Z(e.y)}function Q(e){return{x:Z(e.x)?e.x:window.pageXOffset,y:Z(e.y)?e.y:window.pageYOffset}}function Z(e){return"number"==typeof e}function K(e){var t=window.location.pathname;return e&&0===t.indexOf(e)&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}function ee(e,t){var n=window.history;try{t?n.replaceState({key:$e},"",e):($e=Ae(),n.pushState({key:$e},"",e)),G($e)}catch(r){window.location[t?"assign":"replace"](e)}}function te(e){ee(e,!0)}function ne(){var e=re();return"/"===e.charAt(0)?!0:(ie("/"+e),!1)}function re(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.slice(t+1)}function oe(e){window.location.hash=e}function ie(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)}var ae={name:"router-view",functional:!0,props:{name:{type:String,"default":"default"}},render:function(e,t){var n=t.props,r=t.children,o=t.parent,i=t.data;i.routerView=!0;for(var a=o.$route,s=o._routerViewCache||(o._routerViewCache={}),l=0,u=!1;o;)o.$vnode&&o.$vnode.data.routerView&&l++,o._inactive&&(u=!0),o=o.$parent;i.routerViewDepth=l;var c=a.matched[l];if(!c)return e();var p=n.name,d=u?s[p]:s[p]=c.components[p];if(!u){var f=i.hook||(i.hook={});f.init=function(e){c.instances[p]=e.child},f.destroy=function(e){c.instances[p]===e.child&&(c.instances[p]=void 0)}}return e(d,i,r)}},se=encodeURIComponent,le=decodeURIComponent,ue=l(null,{path:"/"}),ce=/\/$/,pe=[String,Object],de={name:"router-link",props:{to:{type:pe,required:!0},tag:{type:String,"default":"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String},render:function(e){var t=this,r=this.$router,o=this.$route,i=v(this.to,o,this.append),a=r.match(i),s=a.redirectedFrom||a.fullPath,u=r.history.base,c=u?n(u+s):s,d={},h=this.activeClass||r.options.linkActiveClass||"router-link-active",g=i.path?l(null,i):a;d[h]=this.exact?p(o,g):f(o,g);var y={click:function(e){e.metaKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||0===e.button&&(e.preventDefault(),t.replace?r.replace(i):r.push(i))}},b={"class":d};if("a"===this.tag)b.on=y,b.attrs={href:c};else{var _=m(this.$slots["default"]);if(_){var w=_.data||(_.data={});w.on=y;var x=w.attrs||(w.attrs={});x.href=c}else b.on=y}return e(this.tag,b,this.$slots["default"])}},fe=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},he=fe,ve=j,me=y,ge=b,ye=x,be=P,_e=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");ve.parse=me,ve.compile=ge,ve.tokensToFunction=ye,ve.tokensToRegExp=be;var we=Object.create(null),xe=Object.create(null),ke="undefined"!=typeof window,Ce=ke&&function(){var e=window.navigator.userAgent;return-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone")?window.history&&"pushState"in window.history:!1}(),Se=function(e,t){this.router=e,this.base=D(t),this.current=ue,this.pending=null};Se.prototype.listen=function(e){this.cb=e},Se.prototype.transitionTo=function(e,t){var n=this,r=this.router.match(e,this.current);this.confirmTransition(r,function(){n.updateRoute(r),t&&t(r),n.ensureURL()})},Se.prototype.confirmTransition=function(e,t){var n=this,r=this.current;if(p(e,r))return void this.ensureURL();var o=q(this.current.matched,e.matched),i=o.deactivated,a=o.activated,s=[].concat(H(i),this.router.beforeHooks,a.map(function(e){return e.beforeEnter}),z(a));this.pending=e;var l=function(t,o){n.pending===e&&t(e,r,function(e){e===!1?n.ensureURL():"string"==typeof e||"object"==typeof e?n.push(e):o(e)})};I(s,l,function(){var r=[],o=B(a,r,function(){return n.current===e});I(o,l,function(){n.pending===e&&(n.pending=null,t(e),n.router.app.$nextTick(function(){r.forEach(function(e){return e()})}))})})},Se.prototype.updateRoute=function(e){var t=this.current;this.current=e,this.cb&&this.cb(e),this.router.afterHooks.forEach(function(n){n&&n(e,t)})};var Ae=function(){return String(Date.now())},$e=Ae(),Te=function(e){function t(t,n){var r=this;e.call(this,t,n),this.transitionTo(K(this.base));var o=t.options.scrollBehavior;window.addEventListener("popstate",function(e){$e=e.state&&e.state.key;var t=r.current;r.transitionTo(K(r.base),function(e){o&&r.handleScroll(e,t,!0)})}),o&&window.addEventListener("scroll",function(){G($e)})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e){var t=this,r=this.current;this.transitionTo(e,function(e){ee(n(t.base+e.fullPath)),t.handleScroll(e,r,!1)})},t.prototype.replace=function(e){var t=this,r=this.current;this.transitionTo(e,function(e){te(n(t.base+e.fullPath)),t.handleScroll(e,r,!1)})},t.prototype.ensureURL=function(){K(this.base)!==this.current.fullPath&&te(n(this.base+this.current.fullPath))},t.prototype.handleScroll=function(e,t,n){var o=this.router;if(o.app){var i=o.options.scrollBehavior;i&&(r("function"==typeof i,"scrollBehavior must be a function"),o.app.$nextTick(function(){var r=J($e),o=i(e,t,n?r:null);if(o){var a="object"==typeof o;if(a&&"string"==typeof o.selector){var s=document.querySelector(o.selector);s?r=Y(s):X(o)&&(r=Q(o))}else a&&X(o)&&(r=Q(o));r&&window.scrollTo(r.x,r.y)}}))}},t}(Se),Oe=function(e){function t(t,n,r){var o=this;e.call(this,t,n),r&&this.checkFallback()||(ne(),this.transitionTo(re(),function(){window.addEventListener("hashchange",function(){o.onHashChange()})}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.checkFallback=function(){var e=K(this.base);return/^\/#/.test(e)?void 0:(window.location.replace(n(this.base+"/#"+e)),!0)},t.prototype.onHashChange=function(){ne()&&this.transitionTo(re(),function(e){ie(e.fullPath)})},t.prototype.push=function(e){this.transitionTo(e,function(e){oe(e.fullPath)})},t.prototype.replace=function(e){this.transitionTo(e,function(e){ie(e.fullPath)})},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(){re()!==this.current.fullPath&&ie(this.current.fullPath)},t}(Se),Pe=function(e){function t(t){e.call(this,t),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e){var t=this;this.transitionTo(e,function(e){t.stack=t.stack.slice(0,t.index+1).concat(e),t.index++})},t.prototype.replace=function(e){var t=this;this.transitionTo(e,function(e){t.stack=t.stack.slice(0,t.index).concat(e)})},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(0>n||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){t.index=n,t.updateRoute(r)})}},t.prototype.ensureURL=function(){},t}(Se),je=function(e){void 0===e&&(e={}),this.app=null,this.options=e,this.beforeHooks=[],this.afterHooks=[],this.match=N(e.routes||[]);var t=e.mode||"hash";this.fallback="history"===t&&!Ce,this.fallback&&(t="hash"),ke||(t="abstract"),this.mode=t},Ee={currentRoute:{}};return Ee.currentRoute.get=function(){return this.history&&this.history.current},je.prototype.init=function(e){var t=this;r(g.installed,"not installed. Make sure to call `Vue.use(VueRouter)` before creating root instance."),this.app=e;var n=this,o=n.mode,i=n.options,a=n.fallback;switch(o){case"history":this.history=new Te(this,i.base);break;case"hash":this.history=new Oe(this,i.base,a);break;case"abstract":this.history=new Pe(this);break;default:r(!1,"invalid mode: "+o)}this.history.listen(function(e){t.app._route=e})},je.prototype.beforeEach=function(e){this.beforeHooks.push(e)},je.prototype.afterEach=function(e){this.afterHooks.push(e)},je.prototype.push=function(e){this.history.push(e)},je.prototype.replace=function(e){this.history.replace(e)},je.prototype.go=function(e){this.history.go(e)},je.prototype.back=function(){this.go(-1)},je.prototype.forward=function(){this.go(1)},je.prototype.getMatchedComponents=function(){return this.currentRoute?[].concat.apply([],this.currentRoute.matched.map(function(e){return Object.keys(e.components).map(function(t){return e.components[t]})})):[]},Object.defineProperties(je.prototype,Ee),je.install=g,ke&&window.Vue&&window.Vue.use(je),je})},function(e,t,n){function r(e,t){for(var n=0;n=0&&g.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function l(e,t){var n,r,o;if(t.singleton){var i=m++;n=v||(v=s(t)),r=u.bind(null,n,i,!1),o=u.bind(null,n,i,!0)}else n=s(t),r=c.bind(null,n),o=function(){a(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function u(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=y(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function c(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&&e.setAttribute("media",r),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var p={},d=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},f=d(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),h=d(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,m=0,g=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=f()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],a=0;a-1)return e.splice(n,1)}}function o(e,t){return Tr.call(e,t)}function i(e){return"string"==typeof e||"number"==typeof e}function a(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}function s(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function l(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function u(e,t){for(var n in t)e[n]=t[n];return e}function c(e){return null!==e&&"object"==typeof e}function p(e){return Lr.call(e)===Nr}function d(e){for(var t={},n=0;nFr._maxUpdateCount)){So("You may have an infinite update loop "+(e.user?'in watcher with expression "'+e.expression+'"':"in a component render function."),e.vm);break}}Gr&&Fr.devtools&&Gr.emit("flush"),k()}function S(e){var t=e.id;if(null==ro[t]){if(ro[t]=!0,ao){for(var n=no.length-1;n>=0&&no[n].id>e.id;)n--;no.splice(Math.max(n,so)+1,0,e)}else no.push(e);io||(io=!0,Jr(C))}}function A(e,t){var n,r;t||(t=co,t.clear());var o=Array.isArray(e),i=c(e);if((o||i)&&Object.isExtensible(e)){if(e.__ob__){var a=e.__ob__.dep.id;if(t.has(a))return;t.add(a)}if(o)for(n=e.length;n--;)A(e[n],t);else if(i)for(r=Object.keys(e),n=r.length;n--;)A(e[r[n]],t)}}function $(e,t){e.__proto__=t}function T(e,t,n){for(var r=0,o=n.length;o>r;r++){var i=n[r];y(e,i,t[i])}}function O(e){if(c(e)){var t;return o(e,"__ob__")&&e.__ob__ instanceof mo?t=e.__ob__:vo.shouldConvert&&!Fr._isServer&&(Array.isArray(e)||p(e))&&Object.isExtensible(e)&&!e._isVue&&(t=new mo(e)),t}}function P(e,t,n,r){var o=new eo,i=Object.getOwnPropertyDescriptor(e,t);if(!i||i.configurable!==!1){var a=i&&i.get,s=i&&i.set,l=O(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=a?a.call(e):n;return eo.target&&(o.depend(),l&&l.dep.depend(),Array.isArray(t)&&V(t)),t},set:function(t){var i=a?a.call(e):n;t!==i&&(r&&r(),s?s.call(e,t):n=t,l=O(t),o.notify())}})}}function j(e,t,n){if(Array.isArray(e))return e.splice(t,1,n),n;if(o(e,t))return void(e[t]=n);var r=e.__ob__;return e._isVue||r&&r.vmCount?void So("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."):r?(P(r.value,t,n),r.dep.notify(),n):void(e[t]=n)}function E(e,t){var n=e.__ob__;return e._isVue||n&&n.vmCount?void So("Avoid deleting properties on a Vue instance or its root $data - just set it to null."):void(o(e,t)&&(delete e[t],n&&n.dep.notify()))}function V(e){for(var t=void 0,n=0,r=e.length;r>n;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&V(t)}function L(e){e._watchers=[],N(e),R(e),F(e),I(e),D(e)}function N(e){var t=e.$options.props;if(t){var n=e.$options.propsData||{},r=e.$options._propKeys=Object.keys(t),o=!e.$parent;vo.shouldConvert=o;for(var i=function(o){var i=r[o];P(e,i,Ee(i,t,n,e),function(){e.$parent&&!vo.isSettingProps&&So("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: \""+i+'"',e)})},a=0;ao;o++){var s=e[o],l=r[r.length-1];Array.isArray(s)?r.push.apply(r,X(s,t,(n||"")+"_"+o)):i(s)?l&&l.text?l.text+=String(s):""!==s&&r.push(Q(s)):s instanceof yo&&(s.text&&l&&l.text?l.text+=s.text:(t&&Z(s,t),s.tag&&null==s.key&&null!=n&&(s.key="__vlist"+n+"_"+o+"__"),r.push(s)))}return r}}function Q(e){return new yo(void 0,void 0,void 0,String(e))}function Z(e,t){if(e.tag&&!e.ns&&(e.ns=t,e.children))for(var n=0,r=e.children.length;r>n;n++)Z(e.children[n],t)}function K(e){return e&&e.filter(function(e){return e&&e.componentOptions})[0]}function ee(e){var t=e.$options,n=t.parent;if(n&&!t["abstract"]){for(;n.$options["abstract"]&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function te(e){e.prototype._mount=function(e,t){var n=this;return n.$el=e,n.$options.render||(n.$options.render=bo,n.$options.template?So("You are using the runtime-only build of Vue where the template option is not available. Either pre-compile the templates into render functions, or use the compiler-included build.",n):So("Failed to mount component: template or render function not defined.",n)),ne(n,"beforeMount"),n._watcher=new uo(n,function(){n._update(n._render(),t)},f),t=!1,null==n.$vnode&&(n._isMounted=!0,ne(n,"mounted")),n},e.prototype._update=function(e,t){var n=this;n._isMounted&&ne(n,"beforeUpdate");var r=n.$el,o=_o;_o=n;var i=n._vnode;n._vnode=e,i?n.$el=n.__patch__(i,e):n.$el=n.__patch__(n.$el,e,t),_o=o,r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el),n._isMounted&&ne(n,"updated")},e.prototype._updateFromParent=function(e,t,n,r){var o=this,i=!(!o.$options._renderChildren&&!r);if(o.$options._parentVnode=n,o.$options._renderChildren=r,e&&o.$options.props){vo.shouldConvert=!1,vo.isSettingProps=!0;for(var a=o.$options._propKeys||[],s=0;sr;r++)n[r].call(e);e.$emit("hook:"+t)}function re(e,t,n,r,o){if(e){if(c(e)&&(e=ke.extend(e)),"function"!=typeof e)return void So("Invalid Component definition: "+String(e),n);if(!e.cid)if(e.resolved)e=e.resolved;else if(e=ce(e,function(){n.$forceUpdate()}),!e)return;t=t||{};var i=pe(t,e);if(e.options.functional)return oe(e,i,t,n,r);var a=t.on;t.on=t.nativeOn,e.options["abstract"]&&(t={}),fe(t);var s=e.options.name||o,l=new yo("vue-component-"+e.cid+(s?"-"+s:""),t,void 0,void 0,void 0,void 0,n,{Ctor:e,propsData:i,listeners:a,tag:o,children:r});return l}}function oe(e,t,n,r,o){var i={},a=e.options.props;if(a)for(var l in a)i[l]=Ee(l,a,t);var u=e.options.render.call(null,s(ve,{_self:Object.create(r)}),{props:i,data:n,parent:r,children:X(o),slots:function(){return be(o,r)}});return u instanceof yo&&(u.functionalContext=r,n.slot&&((u.data||(u.data={})).slot=n.slot)),u}function ie(e,t){var n=e.componentOptions,r={_isComponent:!0,parent:t,propsData:n.propsData,_componentTag:n.tag,_parentVnode:e,_parentListeners:n.listeners,_renderChildren:n.children},o=e.data.inlineTemplate;return o&&(r.render=o.render,r.staticRenderFns=o.staticRenderFns),new n.Ctor(r)}function ae(e,t){if(!e.child||e.child._isDestroyed){var n=e.child=ie(e,_o);n.$mount(t?e.elm:void 0,t)}}function se(e,t){var n=t.componentOptions,r=t.child=e.child;r._updateFromParent(n.propsData,n.listeners,t,n.children)}function le(e){e.child._isMounted||(e.child._isMounted=!0,ne(e.child,"mounted")),e.data.keepAlive&&(e.child._inactive=!1,ne(e.child,"activated"))}function ue(e){e.child._isDestroyed||(e.data.keepAlive?(e.child._inactive=!0,ne(e.child,"deactivated")):e.child.$destroy())}function ce(e,t){if(!e.requested){e.requested=!0;var n=e.pendingCallbacks=[t],r=!0,o=function(t){if(c(t)&&(t=ke.extend(t)),e.resolved=t,!r)for(var o=0,i=n.length;i>o;o++)n[o](t)},i=function(t){So("Failed to resolve async component: "+String(e)+(t?"\nReason: "+t:""))},a=e(o,i);return a&&"function"==typeof a.then&&!e.resolved&&a.then(o,i),r=!1,e.resolved}e.pendingCallbacks.push(t)}function pe(e,t){var n=t.options.props;if(n){var r={},o=e.attrs,i=e.props,a=e.domProps;if(o||i||a)for(var s in n){var l=Vr(s);de(r,i,s,l,!0)||de(r,o,s,l)||de(r,a,s,l)}return r}}function de(e,t,n,r,i){if(t){if(o(t,n))return e[n]=t[n],i||delete t[n],!0;if(o(t,r))return e[n]=t[r],i||delete t[r],!0}return!1}function fe(e){e.hook||(e.hook={});for(var t=0;tr;r++)n[r]=t(e[r],r);else if("number"==typeof e)for(n=new Array(e),r=0;e>r;r++)n[r]=t(r+1,r);else if(c(e))for(i=Object.keys(e),n=new Array(i.length),r=0,o=i.length;o>r;r++)a=i[r],n[r]=t(e[a],a,r);return n},n.prototype._t=function(e,t){var n=this.$slots[e];return n&&(n._rendered&&So('Duplicate presence of slot "'+e+'" found in the same render tree - this will likely cause render errors.',this),n._rendered=!0),n||t},n.prototype._b=function(e,t,n){if(t)if(c(t)){Array.isArray(t)&&(t=d(t));for(var r in t)if("class"===r||"style"===r)e[r]=t[r];else{var o=n||Fr.mustUseProp(r)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={});o[r]=t[r]}}else So("v-bind without argument expects an Object or Array value",this);return e},n.prototype._k=function(e){return Fr.keyCodes[e]}}function be(e,t){var n={};if(!e)return n;for(var r,o,i=X(e)||[],a=[],s=0,l=i.length;l>s;s++)if(o=i[s],(o.context===t||o.functionalContext===t)&&o.data&&(r=o.data.slot)){var u=n[r]||(n[r]=[]);"template"===o.tag?u.push.apply(u,o.children):u.push(o)}else a.push(o);return a.length&&(1!==a.length||" "!==a[0].text&&!a[0].isComment)&&(n["default"]=a),n}function _e(e){e._events=Object.create(null);var t=e.$options._parentListeners,n=s(e.$on,e),r=s(e.$off,e);e._updateListeners=function(t,o){G(t,o||{},n,r,e)},t&&e._updateListeners(t)}function we(e){e.prototype.$on=function(e,t){var n=this;return(n._events[e]||(n._events[e]=[])).push(t),n},e.prototype.$once=function(e,t){function n(){r.$off(e,n),t.apply(r,arguments)}var r=this;return n.fn=t,r.$on(e,n),r},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;var r=n._events[e];if(!r)return n;if(1===arguments.length)return n._events[e]=null,n;for(var o,i=r.length;i--;)if(o=r[i],o===t||o.fn===t){r.splice(i,1);break}return n},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?l(n):n;for(var r=l(arguments,1),o=0,i=n.length;i>o;o++)n[o].apply(t,r)}return t}}function xe(e){function t(e,t){var r=e.$options=Object.create(n(e));r.parent=t.parent,r.propsData=t.propsData,r._parentVnode=t._parentVnode,r._parentListeners=t._parentListeners,r._renderChildren=t._renderChildren,r._componentTag=t._componentTag,t.render&&(r.render=t.render,r.staticRenderFns=t.staticRenderFns)}function n(e){var t=e.constructor,n=t.options;if(t["super"]){var r=t["super"].options,o=t.superOptions;r!==o&&(t.superOptions=r,n=t.options=Pe(r,t.extendOptions),n.name&&(n.components[n.name]=t))}return n}e.prototype._init=function(e){var r=this;r._uid=ko++,r._isVue=!0,e&&e._isComponent?t(r,e):r.$options=Pe(n(r),e||{},r),Qr(r),r._self=r,ee(r),_e(r),ne(r,"beforeCreate"),L(r),ne(r,"created"),ge(r)}}function ke(e){this instanceof ke||So("Vue is a constructor and should be called with the `new` keyword"),this._init(e)}function Ce(e,t){var n,r,i;for(n in t)r=e[n],i=t[n],o(e,n)?c(r)&&c(i)&&Ce(r,i):j(e,n,i);return e}function Se(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}function Ae(e,t){var n=Object.create(e||null);return t?u(n,t):n}function $e(e){if(e.components){var t,n=e.components;for(var r in n){var o=r.toLowerCase();$r(o)||Fr.isReservedTag(o)?So("Do not use built-in or reserved HTML elements as component id: "+r):(t=n[r],p(t)&&(n[r]=ke.extend(t)))}}}function Te(e){var t=e.props;if(t){var n,r,o,i={};if(Array.isArray(t))for(n=t.length;n--;)r=t[n],"string"==typeof r?(o=Pr(r),i[o]={type:null}):So("props must be strings when using array syntax.");else if(p(t))for(var a in t)r=t[a],o=Pr(a),i[o]=p(r)?r:{type:r};e.props=i}}function Oe(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"==typeof r&&(t[n]={bind:r,update:r})}}function Pe(e,t,n){function r(r){var o=To[r]||Oo;c[r]=o(e[r],t[r],n,r)}$e(t),Te(t),Oe(t);var i=t["extends"];if(i&&(e="function"==typeof i?Pe(e,i.options,n):Pe(e,i,n)),t.mixins)for(var a=0,s=t.mixins.length;s>a;a++){var l=t.mixins[a];l.prototype instanceof ke&&(l=l.options),e=Pe(e,l,n)}var u,c={};for(u in e)r(u);for(u in t)o(e,u)||r(u);return c}function je(e,t,n,r){if("string"==typeof n){var o=e[t],i=o[n]||o[Pr(n)]||o[jr(Pr(n))];return r&&!i&&So("Failed to resolve "+t.slice(0,-1)+": "+n,e),i}}function Ee(e,t,n,r){var i=t[e],a=!o(n,e),s=n[e];if(Fe(i.type)&&(a&&!o(i,"default")?s=!1:""!==s&&s!==Vr(e)||(s=!0)),void 0===s){s=Ve(r,i,e);var l=vo.shouldConvert;vo.shouldConvert=!0,O(s),vo.shouldConvert=l}return Le(i,e,s,r,a),s}function Ve(e,t,n){if(o(t,"default")){var r=t["default"];return c(r)&&So('Invalid default value for prop "'+n+'": Props with type Object/Array must use a factory function to return the default value.',e),"function"==typeof r&&t.type!==Function?r.call(e):r}}function Le(e,t,n,r,o){if(e.required&&o)return void So('Missing required prop: "'+t+'"',r);if(null!=n||e.required){var i=e.type,a=!i||i===!0,s=[];if(i){Array.isArray(i)||(i=[i]);for(var l=0;lt;t++)if("Boolean"===Re(e[t]))return!0;return!1}function Me(e){e.use=function(e){if(!e.installed){var t=l(arguments,1);return t.unshift(this),"function"==typeof e.install?e.install.apply(e,t):e.apply(null,t),e.installed=!0,this}}}function Ie(e){e.mixin=function(t){e.options=Pe(e.options,t)}}function De(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=0===n.cid;if(r&&e._Ctor)return e._Ctor;var o=e.name||n.options.name;/^[a-zA-Z][\w-]*$/.test(o)||(So('Invalid component name: "'+o+'". Component names can only contain alphanumeric characaters and the hyphen.'),o=null);var i=function(e){this._init(e)};return i.prototype=Object.create(n.prototype),i.prototype.constructor=i,i.cid=t++,i.options=Pe(n.options,e),i["super"]=n,i.extend=n.extend,Fr._assetTypes.forEach(function(e){i[e]=n[e]}),o&&(i.options.components[o]=i),i.superOptions=n.options,i.extendOptions=e,r&&(e._Ctor=i),i}}function qe(e){Fr._assetTypes.forEach(function(t){e[t]=function(n,r){return r?("component"===t&&Fr.isReservedTag(n)&&So("Do not use built-in or reserved HTML elements as component id: "+n),"component"===t&&p(r)&&(r.name=r.name||n,r=e.extend(r)),"directive"===t&&"function"==typeof r&&(r={bind:r,update:r}),this.options[t+"s"][n]=r,r):this.options[t+"s"][n]}})}function He(e){var t={};t.get=function(){return Fr},t.set=function(){So("Do not replace the Vue.config object, set individual fields instead.")},Object.defineProperty(e,"config",t),e.util=Po,e.set=j,e["delete"]=E,e.nextTick=Jr,e.options=Object.create(null),Fr._assetTypes.forEach(function(t){e.options[t+"s"]=Object.create(null)}),u(e.options.components,Eo),Me(e),Ie(e),De(e),qe(e)}function Be(e){for(var t=e.data,n=e,r=e;r.child;)r=r.child._vnode,r.data&&(t=Ue(r.data,t));for(;n=n.parent;)n.data&&(t=Ue(t,n.data));return ze(t)}function Ue(e,t){return{staticClass:We(e.staticClass,t.staticClass),"class":e["class"]?[e["class"],t["class"]]:t["class"]}}function ze(e){var t=e["class"],n=e.staticClass;return n||t?We(n,Ge(t)):""}function We(e,t){return e?t?e+" "+t:e:t||""}function Ge(e){var t="";if(!e)return t;if("string"==typeof e)return e;if(Array.isArray(e)){for(var n,r=0,o=e.length;o>r;r++)e[r]&&(n=Ge(e[r]))&&(t+=n+" ");return t.slice(0,-1)}if(c(e)){for(var i in e)e[i]&&(t+=i+" ");return t.slice(0,-1)}return t}function Je(e){return Wo(e)?"svg":"math"===e?"math":void 0}function Ye(e){if(!Dr)return!0;if(Jo(e))return!1;if(e=e.toLowerCase(),null!=Yo[e])return Yo[e];var t=document.createElement(e);return e.indexOf("-")>-1?Yo[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Yo[e]=/HTMLUnknownElement/.test(t.toString())}function Xe(e){if("string"==typeof e){var t=e;if(e=document.querySelector(e),!e)return So("Cannot find element: "+t),document.createElement("div")}return e}function Qe(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&"multiple"in t.data.attrs&&n.setAttribute("multiple","multiple"),n)}function Ze(e,t){return document.createElementNS(qo[e],t)}function Ke(e){return document.createTextNode(e)}function et(e){return document.createComment(e)}function tt(e,t,n){e.insertBefore(t,n)}function nt(e,t){e.removeChild(t)}function rt(e,t){e.appendChild(t)}function ot(e){return e.parentNode}function it(e){return e.nextSibling}function at(e){return e.tagName}function st(e,t){e.textContent=t}function lt(e){return e.childNodes}function ut(e,t,n){e.setAttribute(t,n)}function ct(e,t){var n=e.data.ref;if(n){var o=e.context,i=e.child||e.elm,a=o.$refs;t?Array.isArray(a[n])?r(a[n],i):a[n]===i&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])?a[n].push(i):a[n]=[i]:a[n]=i}}function pt(e){return null==e}function dt(e){return null!=e}function ft(e,t){return e.key===t.key&&e.tag===t.tag&&e.isComment===t.isComment&&!e.data==!t.data}function ht(e,t,n){var r,o,i={};for(r=t;n>=r;++r)o=e[r].key,dt(o)&&(i[o]=r);return i}function vt(t){function n(e){return new yo(S.tagName(e).toLowerCase(),{},[],void 0,e)}function r(e,t){function n(){0===--n.listeners&&o(e)}return n.listeners=t,n}function o(e){var t=S.parentNode(e);S.removeChild(t,e)}function a(e,t,n){var r,o=e.data;if(e.isRootInsert=!n,dt(o)&&(dt(r=o.hook)&&dt(r=r.init)&&r(e),dt(r=e.child)))return c(e,t),e.elm;var i=e.children,a=e.tag;return dt(a)?(e.ns||Fr.ignoredElements&&Fr.ignoredElements.indexOf(a)>-1||!Fr.isUnknownElement(a)||So("Unknown custom element: <"+a+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.',e.context),e.elm=e.ns?S.createElementNS(e.ns,a):S.createElement(a,e),p(e),s(e,i,t),dt(o)&&u(e,t)):e.isComment?e.elm=S.createComment(e.text):e.elm=S.createTextNode(e.text),e.elm}function s(e,t,n){if(Array.isArray(t))for(var r=0;r=r;++r)S.insertBefore(e,a(n[r],i),t)}function f(e){var t,n,r=e.data;if(dt(r))for(dt(t=r.hook)&&dt(t=t.destroy)&&t(e),t=0;t=n;++n){var o=t[n];dt(o)&&(dt(o.tag)?(v(o),f(o)):S.removeChild(e,o.elm))}}function v(e,t){if(t||dt(e.data)){var n=k.remove.length+1;for(t?t.listeners+=n:t=r(e.elm,n),dt(w=e.child)&&dt(w=w._vnode)&&dt(w.data)&&v(w,t),w=0;w=c&&y>=p;)pt(v)?v=t[++c]:pt(m)?m=t[--f]:ft(v,b)?(g(v,b,r),v=t[++c],b=n[++p]):ft(m,_)?(g(m,_,r),m=t[--f],_=n[--y]):ft(v,_)?(g(v,_,r),w&&S.insertBefore(e,v.elm,S.nextSibling(m.elm)),v=t[++c],_=n[--y]):ft(m,b)?(g(m,b,r),w&&S.insertBefore(e,m.elm,v.elm),m=t[--f],b=n[++p]):(pt(i)&&(i=ht(t,c,f)),s=dt(b.key)?i[b.key]:null,pt(s)?(S.insertBefore(e,a(b,r),v.elm),b=n[++p]):(l=t[s],l||So("It seems there are duplicate keys that is causing an update error. Make sure each v-for item has a unique key."),l.tag!==b.tag?(S.insertBefore(e,a(b,r),v.elm),b=n[++p]):(g(l,b,r),t[s]=void 0,w&&S.insertBefore(e,b.elm,v.elm),b=n[++p])));c>f?(u=pt(n[y+1])?null:n[y+1].elm,d(e,u,n,p,y,r)):p>y&&h(e,t,c,f)}function g(e,t,n,r){if(e!==t){if(t.isStatic&&e.isStatic&&t.key===e.key&&t.isCloned)return void(t.elm=e.elm);var o,i=t.data,a=dt(i);a&&dt(o=i.hook)&&dt(o=o.prepatch)&&o(e,t);var s=t.elm=e.elm,u=e.children,c=t.children;if(a&&l(t)){for(o=0;o, or missing . Bailing hydration and performing full client-side render.")}e=n(e)}if(i=e.elm,s=S.parentNode(i),a(t,c),t.parent&&(t.parent.elm=t.elm,l(t)))for(var d=0;d-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+e.getAttribute("class")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function $t(e,t){if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t);else{for(var n=" "+e.getAttribute("class")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");e.setAttribute("class",n.trim())}}function Tt(e){gi(function(){gi(e)})}function Ot(e,t){(e._transitionClasses||(e._transitionClasses=[])).push(t),At(e,t)}function Pt(e,t){e._transitionClasses&&r(e._transitionClasses,t),$t(e,t)}function jt(e,t,n){var r=Et(e,t),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===pi?hi:mi,l=0,u=function(){e.removeEventListener(s,c),n()},c=function(t){t.target===e&&++l>=a&&u()};setTimeout(function(){a>l&&u()},i+1),e.addEventListener(s,c)}function Et(e,t){var n,r=window.getComputedStyle(e),o=r[fi+"Delay"].split(", "),i=r[fi+"Duration"].split(", "),a=Vt(o,i),s=r[vi+"Delay"].split(", "),l=r[vi+"Duration"].split(", "),u=Vt(s,l),c=0,p=0;t===pi?a>0&&(n=pi,c=a,p=i.length):t===di?u>0&&(n=di,c=u,p=l.length):(c=Math.max(a,u),n=c>0?a>u?pi:di:null,p=n?n===pi?i.length:l.length:0);var d=n===pi&&yi.test(r[fi+"Property"]);return{type:n,timeout:c,propCount:p,hasTransform:d}}function Vt(e,t){return Math.max.apply(null,t.map(function(t,n){return Lt(t)+Lt(e[n])}))}function Lt(e){return 1e3*Number(e.slice(0,-1))}function Nt(e){var t=e.elm;t._leaveCb&&(t._leaveCb.cancelled=!0,t._leaveCb());var n=Ft(e.data.transition);if(n&&!t._enterCb&&1===t.nodeType){var r=n.css,o=n.type,i=n.enterClass,a=n.enterActiveClass,s=n.appearClass,l=n.appearActiveClass,u=n.beforeEnter,c=n.enter,p=n.afterEnter,d=n.enterCancelled,f=n.beforeAppear,h=n.appear,v=n.afterAppear,m=n.appearCancelled,g=_o.$vnode,y=g&&g.parent?g.parent.context:_o,b=!y._isMounted||!e.isRootInsert;if(!b||h||""===h){var _=b?s:i,w=b?l:a,x=b?f||u:u,k=b&&"function"==typeof h?h:c,C=b?v||p:p,S=b?m||d:d,A=r!==!1&&!Br,$=k&&(k._length||k.length)>1,T=t._enterCb=Mt(function(){A&&Pt(t,w),T.cancelled?(A&&Pt(t,_),S&&S(t)):C&&C(t),t._enterCb=null});e.data.show||W(e.data.hook||(e.data.hook={}),"insert",function(){var n=t.parentNode,r=n&&n._pending&&n._pending[e.key];r&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),k&&k(t,T)},"transition-insert"),x&&x(t),A&&(Ot(t,_),Ot(t,w),Tt(function(){Pt(t,_),T.cancelled||$||jt(t,o,T)})),e.data.show&&k&&k(t,T),A||$||T()}}}function Rt(e,t){function n(){m.cancelled||(e.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[e.key]=e),u&&u(r),h&&(Ot(r,s),Ot(r,l),Tt(function(){Pt(r,s),m.cancelled||v||jt(r,a,m)})),c&&c(r,m),h||v||m())}var r=e.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var o=Ft(e.data.transition);if(!o)return t();if(!r._leaveCb&&1===r.nodeType){var i=o.css,a=o.type,s=o.leaveClass,l=o.leaveActiveClass,u=o.beforeLeave,c=o.leave,p=o.afterLeave,d=o.leaveCancelled,f=o.delayLeave,h=i!==!1&&!Br,v=c&&(c._length||c.length)>1,m=r._leaveCb=Mt(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[e.key]=null),h&&Pt(r,l),m.cancelled?(h&&Pt(r,s),d&&d(r)):(t(),p&&p(r)),r._leaveCb=null});f?f(n):n()}}function Ft(e){if(e){if("object"==typeof e){var t={};return e.css!==!1&&u(t,bi(e.name||"v")),u(t,e),t}return"string"==typeof e?bi(e):void 0}}function Mt(e){var t=!1;return function(){t||(t=!0,e())}}function It(e,t,n){var r=t.value,o=e.multiple;if(o&&!Array.isArray(r))return void So('