diff --git a/.eslintrc.js b/.eslintrc.js index a7d3ced96..0d12aec52 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -6,7 +6,7 @@ module.exports = { rules: { indent: [ 'error', 'tab' ], 'space-in-parens': [ 'error', 'always' ], - camelcase: [ 2, { properties: 'never' } ], + camelcase: 0, 'no-undef': 0, eqeqeq: 0, 'no-unused-expressions': [ 'error', { allowShortCircuit: true } ], diff --git a/assets/js/vendor/plugins.all.js b/assets/js/vendor/plugins.all.js index 5faf38246..c1445cb23 100644 --- a/assets/js/vendor/plugins.all.js +++ b/assets/js/vendor/plugins.all.js @@ -1 +1,359 @@ -if(!Object.prototype.watchChange){var isFunction=function(e){return e&&"[object Function]"==={}.toString.call(e)};Object.defineProperty(Object.prototype,"watchChange",{enumerable:!1,configurable:!0,writable:!1,value:function(e,t){var n=this;function o(e,t){var o=n[e],s=o;delete n[e]&&Object.defineProperty(n,e,{get:function(){return s},set:function(r){return s=t.call(n,e,o,r)},enumerable:!0,configurable:!0})}if(isFunction(e))for(var s in this)new o(s,e);else new o(e,t)}})}Object.prototype.unwatchChange||Object.defineProperty(Object.prototype,"unwatchChange",{enumerable:!1,configurable:!0,writable:!1,value:function(e){var t=this[e];delete this[e],this[e]=t}}),function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof module&&module.exports?module.exports=e(require("jquery")):e(jQuery)}((function(e){"use strict";var t=e.scrollTo=function(t,n,o){return e(window).scrollTo(t,n,o)};function n(t){return!t.nodeName||-1!==e.inArray(t.nodeName.toLowerCase(),["iframe","#document","html","body"])}function o(t){return e.isFunction(t)||e.isPlainObject(t)?t:{top:t,left:t}}return t.defaults={axis:"xy",duration:0,limit:!0},e.fn.scrollTo=function(s,r,i){"object"==typeof r&&(i=r,r=0),"function"==typeof i&&(i={onAfter:i}),"max"===s&&(s=9e9),i=e.extend({},t.defaults,i),r=r||i.duration;var a=i.queue&&i.axis.length>1;return a&&(r/=2),i.offset=o(i.offset),i.over=o(i.over),this.each((function(){if(null!==s){var c,u=n(this),l=u?this.contentWindow||window:this,f=e(l),d=s,h={};switch(typeof d){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(d)){d=o(d);break}d=u?e(d):e(d,l);case"object":if(0===d.length)return;(d.is||d.style)&&(c=(d=e(d)).offset())}var m=e.isFunction(i.offset)&&i.offset(l,d)||i.offset;e.each(i.axis.split(""),(function(e,n){var o="x"===n?"Left":"Top",s=o.toLowerCase(),r="scroll"+o,p=f[r](),g=t.max(l,n);if(c)h[r]=c[s]+(u?0:p-f.offset()[s]),i.margin&&(h[r]-=parseInt(d.css("margin"+o),10)||0,h[r]-=parseInt(d.css("border"+o+"Width"),10)||0),h[r]+=m[s]||0,i.over[s]&&(h[r]+=d["x"===n?"width":"height"]()*i.over[s]);else{var v=d[s];h[r]=v.slice&&"%"===v.slice(-1)?parseFloat(v)/100*g:v}i.limit&&/^\d+$/.test(h[r])&&(h[r]=h[r]<=0?0:Math.min(h[r],g)),!e&&i.axis.length>1&&(p===h[r]?h={}:a&&(_(i.onAfterFirst),h={}))})),_(i.onAfter)}function _(t){var n=e.extend({},i,{queue:!0,duration:r,complete:t&&function(){t.call(l,d,i)}});f.animate(h,n)}}))},t.max=function(t,o){var s="x"===o?"Width":"Height",r="scroll"+s;if(!n(t))return t[r]-e(t)[s.toLowerCase()]();var i="client"+s,a=t.ownerDocument||t.document,c=a.documentElement,u=a.body;return Math.max(c[r],u[r])-Math.min(c[i],u[i])},e.Tween.propHooks.scrollLeft=e.Tween.propHooks.scrollTop={get:function(t){return e(t.elem)[t.prop]()},set:function(t){var n=this.get(t);if(t.options.interrupt&&t._last&&t._last!==n)return e(t.elem).stop();var o=Math.round(t.now);n!==o&&(e(t.elem)[t.prop](o),t._last=this.get(t))}},t})),function(e){e.backward_timer=function(t){var n={seconds:5,step:1,format:"h%:m%:s%",value_setter:void 0,on_exhausted:function(e){},on_tick:function(e){}},o=this;o.seconds_left=0,o.target=e(t),o.timeout=void 0,o.settings={},o.methods={init:function(t){o.settings=e.extend({},n,t),null==o.settings.value_setter&&(o.target.is("input")?o.settings.value_setter="val":o.settings.value_setter="text"),o.methods.reset()},start:function(){if(null==o.timeout){var e=o.seconds_left==o.settings.seconds?0:1e3*o.settings.step;setTimeout(o.methods._on_tick,e,e)}},cancel:function(){null!=o.timeout&&(clearTimeout(o.timeout),o.timeout=void 0)},reset:function(){o.seconds_left=o.settings.seconds,o.methods._render_seconds()},_on_tick:function(e){if(0!=e&&o.settings.on_tick(o),o.methods._render_seconds(),o.seconds_left>0){if(o.seconds_left 1; + if (queue) { + // Let's keep the overall duration + duration /= 2; + } + settings.offset = both(settings.offset); + settings.over = both(settings.over); + + return this.each(function() { + // Null target yields nothing, just like jQuery does + if (target === null) return; + + var win = isWin(this), + elem = win ? this.contentWindow || window : this, + $elem = $(elem), + targ = target, + attr = {}, + toff; + + switch (typeof targ) { + // A number will pass the regex + case 'number': + case 'string': + if (/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(targ)) { + targ = both(targ); + // We are done + break; + } + // Relative/Absolute selector + targ = win ? $(targ) : $(targ, elem); + /* falls through */ + case 'object': + if (targ.length === 0) return; + // DOMElement / jQuery + if (targ.is || targ.style) { + // Get the real position of the target + toff = (targ = $(targ)).offset(); + } + } + + var offset = $.isFunction(settings.offset) && settings.offset(elem, targ) || settings.offset; + + $.each(settings.axis.split(''), function(i, axis) { + var Pos = axis === 'x' ? 'Left' : 'Top', + pos = Pos.toLowerCase(), + key = 'scroll' + Pos, + prev = $elem[key](), + max = $scrollTo.max(elem, axis); + + if (toff) {// jQuery / DOMElement + attr[key] = toff[pos] + (win ? 0 : prev - $elem.offset()[pos]); + + // If it's a dom element, reduce the margin + if (settings.margin) { + attr[key] -= parseInt(targ.css('margin'+Pos), 10) || 0; + attr[key] -= parseInt(targ.css('border'+Pos+'Width'), 10) || 0; + } + + attr[key] += offset[pos] || 0; + + if (settings.over[pos]) { + // Scroll to a fraction of its width/height + attr[key] += targ[axis === 'x'?'width':'height']() * settings.over[pos]; + } + } else { + var val = targ[pos]; + // Handle percentage values + attr[key] = val.slice && val.slice(-1) === '%' ? + parseFloat(val) / 100 * max + : val; + } + + // Number or 'number' + if (settings.limit && /^\d+$/.test(attr[key])) { + // Check the limits + attr[key] = attr[key] <= 0 ? 0 : Math.min(attr[key], max); + } + + // Don't waste time animating, if there's no need. + if (!i && settings.axis.length > 1) { + if (prev === attr[key]) { + // No animation needed + attr = {}; + } else if (queue) { + // Intermediate animation + animate(settings.onAfterFirst); + // Don't animate this axis again in the next iteration. + attr = {}; + } + } + }); + + animate(settings.onAfter); + + function animate(callback) { + var opts = $.extend({}, settings, { + // The queue setting conflicts with animate() + // Force it to always be true + queue: true, + duration: duration, + complete: callback && function() { + callback.call(elem, targ, settings); + } + }); + $elem.animate(attr, opts); + } + }); + }; + + // Max scrolling position, works on quirks mode + // It only fails (not too badly) on IE, quirks mode. + $scrollTo.max = function(elem, axis) { + var Dim = axis === 'x' ? 'Width' : 'Height', + scroll = 'scroll'+Dim; + + if (!isWin(elem)) + return elem[scroll] - $(elem)[Dim.toLowerCase()](); + + var size = 'client' + Dim, + doc = elem.ownerDocument || elem.document, + html = doc.documentElement, + body = doc.body; + + return Math.max(html[scroll], body[scroll]) - Math.min(html[size], body[size]); + }; + + function both(val) { + return $.isFunction(val) || $.isPlainObject(val) ? val : { top:val, left:val }; + } + + // Add special hooks so that window scroll properties can be animated + $.Tween.propHooks.scrollLeft = + $.Tween.propHooks.scrollTop = { + get: function(t) { + return $(t.elem)[t.prop](); + }, + set: function(t) { + var curr = this.get(t); + // If interrupt is true and user scrolled, stop animating + if (t.options.interrupt && t._last && t._last !== curr) { + return $(t.elem).stop(); + } + var next = Math.round(t.now); + // Don't waste CPU + // Browsers don't render floating point scroll + if (curr !== next) { + $(t.elem)[t.prop](next); + t._last = this.get(t); + } + } + }; + + // AMD requirement + return $scrollTo; +}); +(function (e) { + e.backward_timer = function (t) { + var n = {seconds: 5, step: 1, format: "h%:m%:s%", value_setter: undefined, on_exhausted: function (e) { + }, on_tick : function (e) { + }}, r = this; + r.seconds_left = 0; + r.target = e(t); + r.timeout = undefined; + r.settings = {}; + r.methods = {init : function (t) { + r.settings = e.extend({}, n, t); + if (r.settings.value_setter == undefined) { + if (r.target.is("input")) { + r.settings.value_setter = "val" + } else { + r.settings.value_setter = "text" + } + } + r.methods.reset() + }, start : function () { + if (r.timeout == undefined) { + var e = r.seconds_left == r.settings.seconds ? 0 : r.settings.step * 1e3; + setTimeout(r.methods._on_tick, e, e) + } + }, cancel : function () { + if (r.timeout != undefined) { + clearTimeout(r.timeout); + r.timeout = undefined + } + }, reset : function () { + r.seconds_left = r.settings.seconds; + r.methods._render_seconds() + }, _on_tick : function (e) { + if (e != 0) { + r.settings.on_tick(r) + } + r.methods._render_seconds(); + if (r.seconds_left > 0) { + if (r.seconds_left < r.settings.step) { + var t = r.seconds_left + } else { + var t = r.settings.step + } + r.seconds_left -= t; + var n = t * 1e3; + r.timeout = setTimeout(r.methods._on_tick, n, n) + } else { + r.timeout = undefined; + r.settings.on_exhausted(r) + } + }, _render_seconds : function () { + var e = r.methods._seconds_to_dhms(r.seconds_left), t = r.settings.format; + if (t.indexOf("d%") !== -1) { + t = t.replace("d%", e.d).replace("h%", r.methods._check_leading_zero(e.h)) + } else { + t = t.replace("h%", e.d * 24 + e.h) + } + t = t.replace("m%", r.methods._check_leading_zero(e.m)).replace("s%", r.methods._check_leading_zero(e.s)); + r.target[r.settings.value_setter](t) + }, _seconds_to_dhms : function (e) { + var t = Math.floor(e / (24 * 3600)), e = e - t * 24 * 3600, n = Math.floor(e / 3600), e = e - n * 3600, r = Math.floor(e / 60), i = Math.floor(e - r * 60); + return{d: t, h: n, m: r, s: i} + }, _check_leading_zero: function (e) { + return e < 10 ? "0" + e : "" + e + }} + }; + e.fn.backward_timer = function (t) { + var n = arguments; + return this.each(function () { + var r = e(this).data("backward_timer"); + if (r == undefined) { + r = new e.backward_timer(this); + e(this).data("backward_timer", r) + } + if (r.methods[t]) { + return r.methods[t].apply(this, Array.prototype.slice.call(n, 1)) + } else if (typeof t === "object" || !t) { + return r.methods.init.apply(this, n) + } else { + e.error("Method " + t + " does not exist on jQuery.backward_timer") + } + }) + } +})(jQuery); diff --git a/assets/js/vendor/vue/vue_libs.js b/assets/js/vendor/vue/vue_libs.js index 1db02911f..600566d8c 100644 --- a/assets/js/vendor/vue/vue_libs.js +++ b/assets/js/vendor/vue/vue_libs.js @@ -1 +1,14524 @@ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Vue=t()}(this,(function(){"use strict";var e=Object.freeze({});function t(e){return null==e}function n(e){return null!=e}function r(e){return!0===e}function o(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function i(e){return null!==e&&"object"==typeof e}var a=Object.prototype.toString;function s(e){return a.call(e).slice(8,-1)}function c(e){return"[object Object]"===a.call(e)}function u(e){return"[object RegExp]"===a.call(e)}function l(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function f(e){return n(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function p(e){return null==e?"":Array.isArray(e)||c(e)&&e.toString===a?JSON.stringify(e,null,2):String(e)}function d(e){var t=parseFloat(e);return isNaN(t)?e:t}function v(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o-1)return e.splice(n,1)}}var g=Object.prototype.hasOwnProperty;function b(e,t){return g.call(e,t)}function _(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var w=/-(\w)/g,x=_((function(e){return e.replace(w,(function(e,t){return t?t.toUpperCase():""}))})),$=_((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),C=/\B([A-Z])/g,k=_((function(e){return e.replace(C,"-$1").toLowerCase()})),A=Function.prototype.bind?function(e,t){return e.bind(t)}:function(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 O(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function S(e,t){for(var n in t)e[n]=t[n];return e}function T(e){for(var t={},n=0;n0,Y=W&&W.indexOf("edge/")>0,Q=(W&&W.indexOf("android"),W&&/iphone|ipad|ipod|ios/.test(W)||"ios"===K),ee=(W&&/chrome\/\d+/.test(W),W&&/phantomjs/.test(W),W&&W.match(/firefox\/(\d+)/)),te={}.watch,ne=!1;if(J)try{var re={};Object.defineProperty(re,"passive",{get:function(){ne=!0}}),window.addEventListener("test-passive",null,re)}catch(e){}var oe=function(){return void 0===B&&(B=!J&&!G&&"undefined"!=typeof global&&global.process&&"server"===global.process.env.VUE_ENV),B},ie=J&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ae(e){return"function"==typeof e&&/native code/.test(e.toString())}var se,ce="undefined"!=typeof Symbol&&ae(Symbol)&&"undefined"!=typeof Reflect&&ae(Reflect.ownKeys);se="undefined"!=typeof Set&&ae(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ue,le,fe,pe=j,de="undefined"!=typeof console,ve=/(?:^|[-_])(\w)/g;ue=function(e,t){var n=t?pe(t):"";F.warnHandler?F.warnHandler.call(null,e,t,n):de&&!F.silent&&console.error("[Vue warn]: "+e+n)},le=function(e,t){de&&!F.silent&&console.warn("[Vue tip]: "+e+(t?pe(t):""))},fe=function(e,t){if(e.$root===e)return"";var n="function"==typeof e&&null!=e.cid?e.options:e._isVue?e.$options||e.constructor.options:e,r=n.name||n._componentTag,o=n.__file;if(!r&&o){var i=o.match(/([^/\\]+)\.vue$/);r=i&&i[1]}return(r?"<"+function(e){return e.replace(ve,(function(e){return e.toUpperCase()})).replace(/[-_]/g,"")}(r)+">":"")+(o&&!1!==t?" at "+o:"")},pe=function(e){if(e._isVue&&e.$parent){for(var t=[],n=0;e;){if(t.length>0){var r=t[t.length-1];if(r.constructor===e.constructor){n++,e=e.$parent;continue}n>0&&(t[t.length-1]=[r,n],n=0)}t.push(e),e=e.$parent}return"\n\nfound in\n\n"+t.map((function(e,t){return""+(0===t?"---\x3e ":function(e,t){for(var n="";t;)t%2==1&&(n+=e),t>1&&(e+=e),t>>=1;return n}(" ",5+2*t))+(Array.isArray(e)?fe(e[0])+"... ("+e[1]+" recursive calls)":fe(e))})).join("\n")}return"\n\n(found in "+fe(e)+")"};var he=0,me=function(){this.id=he++,this.subs=[]};me.prototype.addSub=function(e){this.subs.push(e)},me.prototype.removeSub=function(e){y(this.subs,e)},me.prototype.depend=function(){me.target&&me.target.addDep(this)},me.prototype.notify=function(){var e=this.subs.slice();F.async||e.sort((function(e,t){return e.id-t.id}));for(var t=0,n=e.length;t-1)if(a&&!b(o,"default"))c=!1;else if(""===c||c===k(e)){var l=Ze(String,o.type);(l<0||u0&&(Pt((s=It(s,(i||"")+"_"+a))[0])&&Pt(u)&&(l[c]=$e(u.text+s[0].text),s.shift()),l.push.apply(l,s)):o(s)?Pt(u)?l[c]=$e(u.text+s):""!==s&&l.push($e(s)):Pt(s)&&Pt(u)?l[c]=$e(u.text+s.text):(r(e._isVList)&&n(s.tag)&&t(s.key)&&n(i)&&(s.key="__vlist"+i+"_"+a+"__"),l.push(s)));return l}function Lt(e,t){if(e){for(var n=Object.create(null),r=ce?Reflect.ownKeys(e):Object.keys(e),o=0;o0,a=t?!!t.$stable:!i,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&r&&r!==e&&s===r.$key&&!i&&!r.$hasNormal)return r;for(var c in o={},t)t[c]&&"$"!==c[0]&&(o[c]=Ut(n,c,t[c]))}else o={};for(var u in n)u in o||(o[u]=Ht(n,u));return t&&Object.isExtensible(t)&&(t._normalized=o),V(o,"$stable",a),V(o,"$key",s),V(o,"$hasNormal",i),o}function Ut(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:Nt(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function Ht(e,t){return function(){return e[t]}}function Vt(e,t){var r,o,a,s,c;if(Array.isArray(e)||"string"==typeof e)for(r=new Array(e.length),o=0,a=e.length;odocument.createEvent("Event").timeStamp&&(Rn=function(){return Fn.now()})}function Un(){var e,t;for(Dn=Rn(),In=!0,jn.sort((function(e,t){return e.id-t.id})),Ln=0;Ln100)){ue("You may have an infinite update loop "+(e.user?'in watcher with expression "'+e.expression+'"':"in a component render function."),e.vm);break}var n=En.slice(),r=jn.slice();Ln=jn.length=En.length=0,Mn={},Nn={},Pn=In=!1,function(e){for(var t=0;tLn&&jn[n].id>e.id;)n--;jn.splice(n+1,0,e)}else jn.push(e);if(!Pn){if(Pn=!0,!F.async)return void Un();ht(Un)}}}(this)},Vn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||i(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){et(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},Vn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Vn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},Vn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var Bn={enumerable:!0,configurable:!0,get:j,set:j};function qn(e,t,n){Bn.get=function(){return this[t][n]},Bn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Bn)}var zn={lazy:!0};function Jn(e,t,n){var r=!oe();"function"==typeof n?(Bn.get=r?Gn(t):Kn(n),Bn.set=j):(Bn.get=n.get?r&&!1!==n.cache?Gn(t):Kn(n.get):j,Bn.set=n.set||j),Bn.set===j&&(Bn.set=function(){ue('Computed property "'+t+'" was assigned to but it has no setter.',this)}),Object.defineProperty(e,t,Bn)}function Gn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),me.target&&t.depend(),t.value}}function Kn(e){return function(){return e.call(this,this)}}function Wn(e,t,n,r){return c(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}var Xn=0;function Zn(e){var t=e.options;if(e.super){var n=Zn(e.super);if(n!==e.superOptions){e.superOptions=n;var r=function(e){var t,n=e.options,r=e.sealedOptions;for(var o in n)n[o]!==r[o]&&(t||(t={}),t[o]=n[o]);return t}(e);r&&S(e.extendOptions,r),(t=e.options=qe(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function Yn(e){this instanceof Yn||ue("Vue is a constructor and should be called with the `new` keyword"),this._init(e)}function Qn(e){return e&&(e.Ctor.options.name||e.tag)}function er(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!u(e)&&e.test(t)}function tr(e,t){var n=e.cache,r=e.keys,o=e._vnode;for(var i in n){var a=n[i];if(a){var s=Qn(a.componentOptions);s&&!t(s)&&nr(n,i,r,o)}}}function nr(e,t,n,r){var o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,y(n,t)}!function(t){t.prototype._init=function(t){var n,r,o=this;o._uid=Xn++,F.performance&&it&&(n="vue-perf-start:"+o._uid,r="vue-perf-end:"+o._uid,it(n)),o._isVue=!0,t&&t._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(o,t):o.$options=qe(Zn(o.constructor),t||{},o),mt(o),o._self=o,function(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=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(o),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&xn(e,t)}(o),function(t){t._vnode=null,t._staticTrees=null;var n=t.$options,r=t.$vnode=n._parentVnode,o=r&&r.context;t.$slots=Dt(n._renderChildren,o),t.$scopedSlots=e,t._c=function(e,n,r,o){return fn(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return fn(t,e,n,r,o,!0)};var i=r&&r.data;Me(t,"$attrs",i&&i.attrs||e,(function(){!Cn&&ue("$attrs is readonly.",t)}),!0),Me(t,"$listeners",n._parentListeners||e,(function(){!Cn&&ue("$listeners is readonly.",t)}),!0)}(o),Tn(o,"beforeCreate"),function(e){var t=Lt(e.$options.inject,e);t&&(Te(!1),Object.keys(t).forEach((function(n){Me(e,n,t[n],(function(){ue('Avoid mutating an injected value directly since the changes will be overwritten whenever the provided component re-renders. injection being mutated: "'+n+'"',e)}))})),Te(!0))}(o),function(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$options._propKeys=[],i=!e.$parent;i||Te(!1);var a=function(a){o.push(a);var s=Je(a,t,n,e),c=k(a);(m(c)||F.isReservedAttr(c))&&ue('"'+c+'" is a reserved attribute and cannot be used as component prop.',e),Me(r,a,s,(function(){i||Cn||ue("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: \""+a+'"',e)})),a in e||qn(e,"_props",a)};for(var s in t)a(s);Te(!0)}(e,t.props),t.methods&&function(e,t){var n=e.$options.props;for(var r in t)"function"!=typeof t[r]&&ue('Method "'+r+'" has type "'+typeof t[r]+'" in the component definition. Did you reference the function correctly?',e),n&&b(n,r)&&ue('Method "'+r+'" has already been defined as a prop.',e),r in e&&H(r)&&ue('Method "'+r+'" conflicts with an existing Vue instance method. Avoid defining component methods that start with _ or $.'),e[r]="function"!=typeof t[r]?j:A(t[r],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;c(t=e._data="function"==typeof t?function(e,t){ge();try{return e.call(t,t)}catch(e){return et(e,t,"data()"),{}}finally{be()}}(t,e):t||{})||(t={},ue("data functions should return an object:\nhttps://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function",e));for(var n=Object.keys(t),r=e.$options.props,o=e.$options.methods,i=n.length;i--;){var a=n[i];o&&b(o,a)&&ue('Method "'+a+'" has already been defined as a data property.',e),r&&b(r,a)?ue('The data property "'+a+'" is already declared as a prop. Use prop default value instead.',e):H(a)||qn(e,"_data",a)}Ee(t,!0)}(e):Ee(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=oe();for(var o in t){var i=t[o],a="function"==typeof i?i:i.get;null==a&&ue('Getter is missing for computed property "'+o+'".',e),r||(n[o]=new Vn(e,a||j,j,zn)),o in e?o in e.$data?ue('The computed property "'+o+'" is already defined in data.',e):e.$options.props&&o in e.$options.props&&ue('The computed property "'+o+'" is already defined as a prop.',e):Jn(e,o,i)}}(e,t.computed),t.watch&&t.watch!==te&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;o1?O(r):r;for(var o=O(arguments,1),i='event handler for "'+e+'"',a=0,s=r.length;aparseInt(this.max)&&nr(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return F},set:function(){ue("Do not replace the Vue.config object, set individual fields instead.")}};Object.defineProperty(e,"config",t),e.util={warn:ue,extend:S,mergeOptions:qe,defineReactive:Me},e.set=Ne,e.delete=Pe,e.nextTick=ht,e.observable=function(e){return Ee(e),e},e.options=Object.create(null),D.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,S(e.options.components,or),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=O(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=qe(this.options,e),this}}(e),function(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,o=e._Ctor||(e._Ctor={});if(o[r])return o[r];var i=e.name||n.options.name;i&&Ve(i);var a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=qe(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)qn(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)Jn(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,D.forEach((function(e){a[e]=n[e]})),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=S({},a.options),o[r]=a,a}}(e),function(e){D.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&Ve(e),"component"===t&&c(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)}(Yn),Object.defineProperty(Yn.prototype,"$isServer",{get:oe}),Object.defineProperty(Yn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Yn,"FunctionalRenderContext",{value:rn}),Yn.version="2.6.10";var ir=v("style,class"),ar=v("input,textarea,option,select,progress"),sr=function(e,t,n){return"value"===n&&ar(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},cr=v("contenteditable,draggable,spellcheck"),ur=v("events,caret,typing,plaintext-only"),lr=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),fr="http://www.w3.org/1999/xlink",pr=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},dr=function(e){return pr(e)?e.slice(6,e.length):""},vr=function(e){return null==e||!1===e};function hr(e,t){return{staticClass:mr(e.staticClass,t.staticClass),class:n(e.class)?[e.class,t.class]:t.class}}function mr(e,t){return e?t?e+" "+t:e:t||""}function yr(e){return Array.isArray(e)?function(e){for(var t,r="",o=0,i=e.length;o-1?Vr(e,t,n):lr(t)?vr(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):cr(t)?e.setAttribute(t,function(e,t){return vr(t)||"false"===t?"false":"contenteditable"===e&&ur(t)?t:"true"}(t,n)):pr(t)?vr(n)?e.removeAttributeNS(fr,dr(t)):e.setAttributeNS(fr,t,n):Vr(e,t,n)}function Vr(e,t,n){if(vr(n))e.removeAttribute(t);else{if(X&&!Z&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var Br={create:Ur,update:Ur};function qr(e,r){var o=r.elm,i=r.data,a=e.data;if(!(t(i.staticClass)&&t(i.class)&&(t(a)||t(a.staticClass)&&t(a.class)))){var s=function(e){for(var t=e.data,r=e,o=e;n(o.componentInstance);)(o=o.componentInstance._vnode)&&o.data&&(t=hr(o.data,t));for(;n(r=r.parent);)r&&r.data&&(t=hr(t,r.data));return i=t.staticClass,a=t.class,n(i)||n(a)?mr(i,yr(a)):"";var i,a}(r),c=o._transitionClasses;n(c)&&(s=mr(s,yr(c))),s!==o._prevClass&&(o.setAttribute("class",s),o._prevClass=s)}}var zr,Jr,Gr,Kr,Wr,Xr,Zr,Yr={create:qr,update:qr},Qr=/[\w).+\-_$\]]/;function eo(e){var t,n,r,o,i,a=!1,s=!1,c=!1,u=!1,l=0,f=0,p=0,d=0;for(r=0;r=0&&" "===(h=e.charAt(v));v--);h&&Qr.test(h)||(u=!0)}}else void 0===o?(d=r+1,o=e.slice(0,r).trim()):m();function m(){(i||(i=[])).push(e.slice(d,r).trim()),d=r+1}if(void 0===o?o=e.slice(0,r).trim():0!==d&&m(),i)for(r=0;r-1?{exp:e.slice(0,Kr),key:'"'+e.slice(Kr+1)+'"'}:{exp:e,key:null};for(Jr=e,Kr=Wr=Xr=0;!bo();)_o(Gr=go())?xo(Gr):91===Gr&&wo(Gr);return{exp:e.slice(0,Wr),key:e.slice(Wr+1,Xr)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function go(){return Jr.charCodeAt(++Kr)}function bo(){return Kr>=zr}function _o(e){return 34===e||39===e}function wo(e){var t=1;for(Wr=Kr;!bo();)if(_o(e=go()))xo(e);else if(91===e&&t++,93===e&&t--,0===t){Xr=Kr;break}}function xo(e){for(var t=e;!bo()&&(e=go())!==t;);}var $o;function Co(e,t,n){var r=$o;return function o(){var i=t.apply(null,arguments);null!==i&&Oo(e,o,n,r)}}var ko=st&&!(ee&&Number(ee[1])<=53);function Ao(e,t,n,r){if(ko){var o=Dn,i=t;t=i._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=o||e.timeStamp<=0||e.target.ownerDocument!==document)return i.apply(this,arguments)}}$o.addEventListener(e,t,ne?{capture:n,passive:r}:n)}function Oo(e,t,n,r){(r||$o).removeEventListener(e,t._wrapper||t,n)}function So(e,r){if(!t(e.data.on)||!t(r.data.on)){var o=r.data.on||{},i=e.data.on||{};$o=r.elm,function(e){if(n(e.__r)){var t=X?"change":"input";e[t]=[].concat(e.__r,e[t]||[]),delete e.__r}n(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}(o),jt(o,i,Ao,Oo,Co,r.context),$o=void 0}}var To,jo={create:So,update:So};function Eo(e,r){if(!t(e.data.domProps)||!t(r.data.domProps)){var o,i,a=r.elm,s=e.data.domProps||{},c=r.data.domProps||{};for(o in n(c.__ob__)&&(c=r.data.domProps=S({},c)),s)o in c||(a[o]="");for(o in c){if(i=c[o],"textContent"===o||"innerHTML"===o){if(r.children&&(r.children.length=0),i===s[o])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===o&&"PROGRESS"!==a.tagName){a._value=i;var u=t(i)?"":String(i);Mo(a,u)&&(a.value=u)}else if("innerHTML"===o&&_r(a.tagName)&&t(a.innerHTML)){(To=To||document.createElement("div")).innerHTML=""+i+"";for(var l=To.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else if(i!==s[o])try{a[o]=i}catch(e){}}}}function Mo(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var r=e.value,o=e._vModifiers;if(n(o)){if(o.number)return d(r)!==d(t);if(o.trim)return r.trim()!==t.trim()}return r!==t}(e,t))}var No={create:Eo,update:Eo},Po=_((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));function Io(e){var t=Lo(e.style);return e.staticStyle?S(e.staticStyle,t):t}function Lo(e){return Array.isArray(e)?T(e):"string"==typeof e?Po(e):e}var Do,Ro=/^--/,Fo=/\s*!important$/,Uo=function(e,t,n){if(Ro.test(t))e.style.setProperty(t,n);else if(Fo.test(n))e.style.setProperty(k(t),n.replace(Fo,""),"important");else{var r=Vo(t);if(Array.isArray(n))for(var o=0,i=n.length;o-1?t.split(zo).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 Go(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(zo).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function Ko(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&S(t,Wo(e.name||"v")),S(t,e),t}return"string"==typeof e?Wo(e):void 0}}var Wo=_((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Xo=J&&!Z,Zo="transition",Yo="animation",Qo="transition",ei="transitionend",ti="animation",ni="animationend";Xo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Qo="WebkitTransition",ei="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ti="WebkitAnimation",ni="webkitAnimationEnd"));var ri=J?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function oi(e){ri((function(){ri(e)}))}function ii(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Jo(e,t))}function ai(e,t){e._transitionClasses&&y(e._transitionClasses,t),Go(e,t)}function si(e,t,n){var r=ui(e,t),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===Zo?ei:ni,c=0,u=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++c>=a&&u()};setTimeout((function(){c0&&(n=Zo,l=a,f=i.length):t===Yo?u>0&&(n=Yo,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?Zo:Yo:null)?n===Zo?i.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===Zo&&ci.test(r[Qo+"Property"])}}function li(e,t){for(;e.length explicit "+t+" duration is not a valid number - got "+JSON.stringify(e)+".",n.context):isNaN(e)&&ue(" explicit "+t+" duration is NaN - the duration expression might be incorrect.",n.context)}function hi(e){return"number"==typeof e&&!isNaN(e)}function mi(e){if(t(e))return!1;var r=e.fns;return n(r)?mi(Array.isArray(r)?r[0]:r):(e._length||e.length)>1}function yi(e,t){!0!==t.data.show&&pi(t)}var gi=function(e){var i,a,s={},c=e.modules,l=e.nodeOps;for(i=0;i - did you register the component correctly? For recursive components, make sure to provide the "name" option.',e.context),e.elm=e.ns?l.createElementNS(e.ns,h):l.createElement(h,e),w(e),g(e,v,t),n(f)&&_(e,t),y(o,e.elm,i),f&&f.pre&&d--):r(e.isComment)?(e.elm=l.createComment(e.text),y(o,e.elm,i)):(e.elm=l.createTextNode(e.text),y(o,e.elm,i))}}function m(e,t){n(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,b(e)?(_(e,t),w(e)):(Sr(e),t.push(e))}function y(e,t,r){n(e)&&(n(r)?l.parentNode(r)===e&&l.insertBefore(e,t,r):l.appendChild(e,t))}function g(e,t,n){if(Array.isArray(t)){A(t);for(var r=0;rd?x(e,t(o[y+1])?null:o[y+1].elm,o,p,y,i):p>y&&C(0,r,f,d)}(f,v,m,i,u):n(m)?(A(m),n(e.text)&&l.setTextContent(f,""),x(f,null,m,0,m.length-1,i)):n(v)?C(0,v,0,v.length-1):n(e.text)&&l.setTextContent(f,""):e.text!==o.text&&l.setTextContent(f,o.text),n(d)&&n(p=d.hook)&&n(p=p.postpatch)&&p(e,o)}}}function T(e,t,o){if(r(o)&&n(e.parent))e.parent.data.pendingInsert=t;else for(var i=0;i, or missing . Bailing hydration and performing full client-side render.")}c=e,e=new _e(l.tagName(c).toLowerCase(),{},[],void 0,c)}var d=e.elm,v=l.parentNode(d);if(h(o,f,d._leaveCb?null:v,l.nextSibling(d)),n(o.parent))for(var m=o.parent,y=b(o);m;){for(var g=0;g-1,a.selected!==i&&(a.selected=i);else if(N($i(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));o||(e.selectedIndex=-1)}else ue('