kokk
Version:
A beautiful way to create a documentation from markdown, and insert a vue component into the doc as well.
1 lines • 125 kB
JavaScript
(function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Kokk=t():e.Kokk=t()})("undefined"!=typeof self?self:this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s=7)}([function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){function n(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t&&"function"==typeof btoa){var i=r(o);return[n].concat(o.sources.map(function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"})).concat([i]).join("\n")}return[n].join("\n")}function r(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){"use strict";function r(e,t,n,r){g=n,m=r||{};var i=Object(c.a)(e,t);return o(i),function(t){for(var n=[],r=0;r<i.length;r++){var a=i[r],s=f[a.id];s.refs--,n.push(s)}t?(i=Object(c.a)(e,t),o(i)):i=[];for(var r=0;r<n.length;r++){var s=n[r];if(0===s.refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete f[s.id]}}}}function o(e){for(var t=0;t<e.length;t++){var n=e[t],r=f[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(a(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{for(var i=[],o=0;o<n.parts.length;o++)i.push(a(n.parts[o]));f[n.id]={id:n.id,refs:1,parts:i}}}}function i(){var e=document.createElement("style");return e.type="text/css",p.appendChild(e),e}function a(e){var t,n,r=document.querySelector("style["+y+'~="'+e.id+'"]');if(r){if(g)return v;r.parentNode.removeChild(r)}if(b){var o=h++;r=d||(d=i()),t=s.bind(null,r,o,!1),n=s.bind(null,r,o,!0)}else r=i(),t=l.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}function s(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=_(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 l(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&&e.setAttribute("media",r),m.ssrId&&e.setAttribute(y,t.id),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))}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var c=n(17),u="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!u)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var f={},p=u&&(document.head||document.getElementsByTagName("head")[0]),d=null,h=0,g=!1,v=function(){},m=null,y="data-vue-ssr-id",b="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase()),_=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t){e.exports=function(e,t,n,r,o,i){var a,s=e=e||{},l=typeof e.default;"object"!==l&&"function"!==l||(a=e,s=e.default);var c="function"==typeof s?s.options:s;t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0),n&&(c.functional=!0),o&&(c._scopeId=o);var u;if(i?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},c._ssrRegister=u):r&&(u=r),u){var f=c.functional,p=f?c.render:c.beforeCreate;f?(c._injectStyles=u,c.render=function(e,t){return u.call(t),p(e,t)}):c.beforeCreate=p?[].concat(p,u):[u]}return{esModule:a,exports:s,options:c}}},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,i){try{var a=t[o](i),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}return r("next")})}}var i=n(20),a=n.n(i),s=n(23),l=n(24),c=n(25),u=n(27),f=n.n(u),p=n(5),d=n.n(p),h=n(28),g=n(33),v=n.n(g),m=n(34),y=n(35),b=n.n(y);t.a={name:"Kokk",components:{Loading:f.a,DocMenu:h.a},props:{config:{type:Object,default:function(){}},component:{type:Object,default:function(){}}},data:function(){var e=this.config,t=e.titleClassname,n=e.root,r=e.mainDoc,o=e.highlight,i=e.loadingColor,a=this.component;return{expandAll:!1,html:"",htmlAfter:"",loading:!0,menu:[],hash:"",activeTitle:"",jumping:!1,titleClassname:t,root:n,mainDoc:r,highlight:o,addComponent:a.addComponent,loadingColor:i,exampleTitle:a.title,exampleOrder:a.order,exampleComponent:a.component,showExpandIcon:a.showExpandIcon}},computed:{exampleSlug:function(){return d()(this.exampleTitle)},exampleTitleWrap:function(){return'<a class="Anchor" href="#'+d()(this.exampleTitle)+'">'+v.a+"</a>"+this.exampleTitle}},created:function(){function e(){return t.apply(this,arguments)}var t=o(a.a.mark(function e(){var t,n,r,o,i,u,f,p,h,g,m,y,b,_,x,k,w,C,A,$,S=this;return a.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(s.a)(""+this.root+this.mainDoc).then(function(e){return e.text()});case 2:for(t=e.sent,n="function"==typeof this.highlight?this.highlight:c.a,r=new l.a.Renderer,o=r.heading.bind(r),i=[],u=this.addComponent,r.heading=function(e,t,n){1===t&&S.titleClassname&&(e='<span class="'+S.titleClassname+'">'+e+"</span>");var r=d()(n);return 2===t&&i.push({title:e,slug:r}),e='<a class="Anchor" href="#'+r+'">'+v.a+"</a>"+e,o(e,t,n)},f=0,p=0,h=/^<!--\s*DEMO\s*-->/,g="## DEMO-start",m=/^<!--\s*hide-on-kokk-start\s*-->/,y=/^<!--\s*hide-on-kokk-stop\s*-->/,b="#!!!hide-start!!!",_="#!!!hide-stop!!!",x=/^<!--\s*show-on-kokk\s*\n/,r.html=function(e){return h.test(e)?(f++,g):m.test(e)?(p++,b+p):y.test(e)?_+p:x.test(e)?Object(l.a)(e.replace(x,"").replace(/^-->$/m,""),{highlight:S.highlight&&n}):e},k=Object(l.a)(t,{renderer:r,highlight:this.highlight&&n}),w=0;w<p;w++)C=new RegExp(""+b+(w+1)+"([\\s\\S]*)"+_+(w+1),"gi"),k=k.replace(C,"");f&&(A=new RegExp(""+g,"gi"),u?($=k.split(A),k=$[0],this.htmlAfter=$[1],i.splice(this.exampleOrder,0,{title:this.exampleTitle,slug:d()(this.exampleTitle)})):k=k.replace(A,"")),this.html=k,this.menu=i,this.loading=!1;case 25:case"end":return e.stop()}},e,this)}));return e}(),mounted:function(){this.scrollSpy()},methods:{scrollSpy:function(){var e=this,t=function(){var t=document.querySelectorAll("h2");if(!e.jumping&&0!==t.length){var n=[].concat(r(t)).map(function(e){return{top:e.getBoundingClientRect().top,id:e.id}}),o=Object(m.a)(n.filter(function(e){return e.top<0}),"top")[0],i=Object(m.b)(n.filter(function(e){return e.top>0}),"top")[0],a={};a=o&&i&&i.top>100?o:i||n[n.length-1],a.id&&(e.activeTitle=a.id)}};document.addEventListener("scroll",b()(t,300))},toggleJump:function(e){this.jumping=e}}}},function(e,t,n){(function(t,n){e.exports=n()})(0,function(){"use strict";return function(e){return e.replace(/<(?:.|\n)*?>/gm,"").replace(/[!\"#$%&'\(\)\*\+,\/:;<=>\?\@\[\\\]\^`\{\|\}~]/g,"").replace(/(\s|\.)/g,"-").toLowerCase()}})},function(e,t,n){"use strict";var r=n(31);t.a={props:{menu:{type:Array,default:function(){return[]}},activeTitle:{type:String,default:""}},data:function(){return{hash:"",active:this.activeTitle}},watch:{activeTitle:function(e){this.active=e}},mounted:function(){this.handleHashChange(),window.addEventListener("hashchange",this.handleHashChange)},beforeDestroy:function(){window.removeEventListener("hashchange",this.handleHashChange)},methods:{isActive:function(e){return e===this.active},handleHashChange:function(){var e=location.hash.slice(1);e&&this.jumpTo(e)},jumpTo:function(e){var t=this;this.active=e,this.$emit("toggleJump",!0),Object(r.a)("#"+e,{duration:0,callback:function(){return setTimeout(function(){t.$emit("toggleJump",!1)},400)}})}}}},function(e,t,n){e.exports=n(8)},function(e,t,n){e.exports=n(9).default},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e){return new l(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(10),a=n(14),s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=function(){function e(t){r(this,e),this.config=Object.assign({titleClassname:"",root:"./",mainDoc:"README.md",highlight:!0,loadingColor:"#7175b1"},t),this.component={addComponent:!1,title:"Examples",order:3,component:function(){},showExpandIcon:!1}}return s(e,[{key:"addComponent",value:function(e){this.component=Object.assign({},this.component,e,{addComponent:!0})}},{key:"start",value:function(e){var t=this;return new i.a({el:e,render:function(e){return e(a.a,{props:{config:t.config,component:t.component}})}})}}]),e}()},function(e,t,n){"use strict";(function(e,n){function r(e){return void 0===e||null===e}function o(e){return void 0!==e&&null!==e}function i(e){return!0===e}function a(e){return!1===e}function s(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function l(e){return null!==e&&"object"==typeof e}function c(e){return"[object Object]"===dr.call(e)}function u(e){return"[object RegExp]"===dr.call(e)}function f(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function d(e){var t=parseFloat(e);return isNaN(t)?e:t}function h(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}function g(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function v(e,t){return gr.call(e,t)}function m(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function y(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 b(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function _(e,t){for(var n in t)e[n]=t[n];return e}function x(e){for(var t={},n=0;n<e.length;n++)e[n]&&_(t,e[n]);return t}function k(e,t,n){}function w(e,t){if(e===t)return!0;var n=l(e),r=l(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var o=Array.isArray(e),i=Array.isArray(t);if(o&&i)return e.length===t.length&&e.every(function(e,n){return w(e,t[n])});if(o||i)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every(function(n){return w(e[n],t[n])})}catch(e){return!1}}function C(e,t){for(var n=0;n<e.length;n++)if(w(e[n],t))return n;return-1}function A(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function $(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function S(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function O(e){if(!Sr.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}function T(e){return"function"==typeof e&&/native code/.test(e.toString())}function E(e){Jr.target&&Kr.push(Jr.target),Jr.target=e}function j(){Jr.target=Kr.pop()}function L(e){return new Xr(void 0,void 0,void 0,String(e))}function I(e,t){var n=e.componentOptions,r=new Xr(e.tag,e.data,e.children,e.text,e.elm,e.context,n,e.asyncFactory);return r.ns=e.ns,r.isStatic=e.isStatic,r.key=e.key,r.isComment=e.isComment,r.fnContext=e.fnContext,r.fnOptions=e.fnOptions,r.fnScopeId=e.fnScopeId,r.isCloned=!0,t&&(e.children&&(r.children=M(e.children,!0)),n&&n.children&&(n.children=M(n.children,!0))),r}function M(e,t){for(var n=e.length,r=new Array(n),o=0;o<n;o++)r[o]=I(e[o],t);return r}function P(e,t,n){e.__proto__=t}function N(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];S(e,i,t[i])}}function F(e,t){if(l(e)&&!(e instanceof Xr)){var n;return v(e,"__ob__")&&e.__ob__ instanceof ro?n=e.__ob__:no.shouldConvert&&!Br()&&(Array.isArray(e)||c(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new ro(e)),t&&n&&n.vmCount++,n}}function D(e,t,n,r,o){var i=new Jr,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,l=a&&a.set,c=!o&&F(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return Jr.target&&(i.depend(),c&&(c.dep.depend(),Array.isArray(t)&&H(t))),t},set:function(t){var r=s?s.call(e):n;t===r||t!==t&&r!==r||(l?l.call(e,t):n=t,c=!o&&F(t),i.notify())}})}}function R(e,t,n){if(Array.isArray(e)&&f(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(D(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function z(e,t){if(Array.isArray(e)&&f(t))return void e.splice(t,1);var n=e.__ob__;e._isVue||n&&n.vmCount||v(e,t)&&(delete e[t],n&&n.dep.notify())}function H(e){for(var t=void 0,n=0,r=e.length;n<r;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&H(t)}function U(e,t){if(!t)return e;for(var n,r,o,i=Object.keys(t),a=0;a<i.length;a++)n=i[a],r=e[n],o=t[n],v(e,n)?c(r)&&c(o)&&U(r,o):R(e,n,o);return e}function B(e,t,n){return n?function(){var r="function"==typeof t?t.call(n,n):t,o="function"==typeof e?e.call(n,n):e;return r?U(r,o):o}:t?e?function(){return U("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function q(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}function V(e,t,n,r){var o=Object.create(e||null);return t?_(o,t):o}function W(e,t){var n=e.props;if(n){var r,o,i,a={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(o=n[r])&&(i=mr(o),a[i]={type:null});else if(c(n))for(var s in n)o=n[s],i=mr(s),a[i]=c(o)?o:{type:o};e.props=a}}function G(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(n))for(var o=0;o<n.length;o++)r[n[o]]={from:n[o]};else if(c(n))for(var i in n){var a=n[i];r[i]=c(a)?_({from:i},a):{from:a}}}}function J(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 K(e,t,n){function r(r){var o=oo[r]||so;l[r]=o(e[r],t[r],n,r)}"function"==typeof t&&(t=t.options),W(t,n),G(t,n),J(t);var o=t.extends;if(o&&(e=K(e,o,n)),t.mixins)for(var i=0,a=t.mixins.length;i<a;i++)e=K(e,t.mixins[i],n);var s,l={};for(s in e)r(s);for(s in t)v(e,s)||r(s);return l}function X(e,t,n,r){if("string"==typeof n){var o=e[t];if(v(o,n))return o[n];var i=mr(n);if(v(o,i))return o[i];var a=yr(i);if(v(o,a))return o[a];return o[n]||o[i]||o[a]}}function Y(e,t,n,r){var o=t[e],i=!v(n,e),a=n[e];if(ee(Boolean,o.type)&&(i&&!v(o,"default")?a=!1:ee(String,o.type)||""!==a&&a!==_r(e)||(a=!0)),void 0===a){a=Z(r,o,e);var s=no.shouldConvert;no.shouldConvert=!0,F(a),no.shouldConvert=s}return a}function Z(e,t,n){if(v(t,"default")){var r=t.default;return e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"==typeof r&&"Function"!==Q(t.type)?r.call(e):r}}function Q(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function ee(e,t){if(!Array.isArray(t))return Q(t)===Q(e);for(var n=0,r=t.length;n<r;n++)if(Q(t[n])===Q(e))return!0;return!1}function te(e,t,n){if(t)for(var r=t;r=r.$parent;){var o=r.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{var a=!1===o[i].call(r,e,t,n);if(a)return}catch(e){ne(e,r,"errorCaptured hook")}}ne(e,t,n)}function ne(e,t,n){if($r.errorHandler)try{return $r.errorHandler.call(null,e,t,n)}catch(e){re(e,null,"config.errorHandler")}re(e,t,n)}function re(e,t,n){if(!Tr&&!Er||"undefined"==typeof console)throw e;console.error(e)}function oe(){co=!1;var e=lo.slice(0);lo.length=0;for(var t=0;t<e.length;t++)e[t]()}function ie(e){return e._withTask||(e._withTask=function(){uo=!0;var t=e.apply(null,arguments);return uo=!1,t})}function ae(e,t){var n;if(lo.push(function(){if(e)try{e.call(t)}catch(e){te(e,t,"nextTick")}else n&&n(t)}),co||(co=!0,uo?ao():io()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}function se(e){le(e,vo),vo.clear()}function le(e,t){var n,r,o=Array.isArray(e);if((o||l(e))&&!Object.isFrozen(e)){if(e.__ob__){var i=e.__ob__.dep.id;if(t.has(i))return;t.add(i)}if(o)for(n=e.length;n--;)le(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)le(e[r[n]],t)}}function ce(e){function t(){var e=arguments,n=t.fns;if(!Array.isArray(n))return n.apply(null,arguments);for(var r=n.slice(),o=0;o<r.length;o++)r[o].apply(null,e)}return t.fns=e,t}function ue(e,t,n,o,i){var a,s,l,c;for(a in e)s=e[a],l=t[a],c=mo(a),r(s)||(r(l)?(r(s.fns)&&(s=e[a]=ce(s)),n(c.name,s,c.once,c.capture,c.passive,c.params)):s!==l&&(l.fns=s,e[a]=l));for(a in t)r(e[a])&&(c=mo(a),o(c.name,t[a],c.capture))}function fe(e,t,n){function a(){n.apply(this,arguments),g(s.fns,a)}e instanceof Xr&&(e=e.data.hook||(e.data.hook={}));var s,l=e[t];r(l)?s=ce([a]):o(l.fns)&&i(l.merged)?(s=l,s.fns.push(a)):s=ce([l,a]),s.merged=!0,e[t]=s}function pe(e,t,n){var i=t.options.props;if(!r(i)){var a={},s=e.attrs,l=e.props;if(o(s)||o(l))for(var c in i){var u=_r(c);de(a,l,c,u,!0)||de(a,s,c,u,!1)}return a}}function de(e,t,n,r,i){if(o(t)){if(v(t,n))return e[n]=t[n],i||delete t[n],!0;if(v(t,r))return e[n]=t[r],i||delete t[r],!0}return!1}function he(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function ge(e){return s(e)?[L(e)]:Array.isArray(e)?me(e):void 0}function ve(e){return o(e)&&o(e.text)&&a(e.isComment)}function me(e,t){var n,a,l,c,u=[];for(n=0;n<e.length;n++)a=e[n],r(a)||"boolean"==typeof a||(l=u.length-1,c=u[l],Array.isArray(a)?a.length>0&&(a=me(a,(t||"")+"_"+n),ve(a[0])&&ve(c)&&(u[l]=L(c.text+a[0].text),a.shift()),u.push.apply(u,a)):s(a)?ve(c)?u[l]=L(c.text+a):""!==a&&u.push(L(a)):ve(a)&&ve(c)?u[l]=L(c.text+a.text):(i(e._isVList)&&o(a.tag)&&r(a.key)&&o(t)&&(a.key="__vlist"+t+"_"+n+"__"),u.push(a)));return u}function ye(e,t){return(e.__esModule||Vr&&"Module"===e[Symbol.toStringTag])&&(e=e.default),l(e)?t.extend(e):e}function be(e,t,n,r,o){var i=Zr();return i.asyncFactory=e,i.asyncMeta={data:t,context:n,children:r,tag:o},i}function _e(e,t,n){if(i(e.error)&&o(e.errorComp))return e.errorComp;if(o(e.resolved))return e.resolved;if(i(e.loading)&&o(e.loadingComp))return e.loadingComp;if(!o(e.contexts)){var a=e.contexts=[n],s=!0,c=function(){for(var e=0,t=a.length;e<t;e++)a[e].$forceUpdate()},u=A(function(n){e.resolved=ye(n,t),s||c()}),f=A(function(t){o(e.errorComp)&&(e.error=!0,c())}),p=e(u,f);return l(p)&&("function"==typeof p.then?r(e.resolved)&&p.then(u,f):o(p.component)&&"function"==typeof p.component.then&&(p.component.then(u,f),o(p.error)&&(e.errorComp=ye(p.error,t)),o(p.loading)&&(e.loadingComp=ye(p.loading,t),0===p.delay?e.loading=!0:setTimeout(function(){r(e.resolved)&&r(e.error)&&(e.loading=!0,c())},p.delay||200)),o(p.timeout)&&setTimeout(function(){r(e.resolved)&&f(null)},p.timeout))),s=!1,e.loading?e.loadingComp:e.resolved}e.contexts.push(n)}function xe(e){return e.isComment&&e.asyncFactory}function ke(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(o(n)&&(o(n.componentOptions)||xe(n)))return n}}function we(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&$e(e,t)}function Ce(e,t,n){n?go.$once(e,t):go.$on(e,t)}function Ae(e,t){go.$off(e,t)}function $e(e,t,n){go=e,ue(t,n||{},Ce,Ae,e),go=void 0}function Se(e,t){var n={};if(!e)return n;for(var r=0,o=e.length;r<o;r++){var i=e[r],a=i.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,i.context!==t&&i.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(i);else{var s=a.slot,l=n[s]||(n[s]=[]);"template"===i.tag?l.push.apply(l,i.children||[]):l.push(i)}}for(var c in n)n[c].every(Oe)&&delete n[c];return n}function Oe(e){return e.isComment&&!e.asyncFactory||" "===e.text}function Te(e,t){t=t||{};for(var n=0;n<e.length;n++)Array.isArray(e[n])?Te(e[n],t):t[e[n].key]=e[n].fn;return t}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=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function je(e,t,n){e.$el=t,e.$options.render||(e.$options.render=Zr),Ne(e,"beforeMount");var r;return r=function(){e._update(e._render(),n)},new $o(e,r,k,null,!0),n=!1,null==e.$vnode&&(e._isMounted=!0,Ne(e,"mounted")),e}function Le(e,t,n,r,o){var i=!!(o||e.$options._renderChildren||r.data.scopedSlots||e.$scopedSlots!==pr);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=o,e.$attrs=r.data&&r.data.attrs||pr,e.$listeners=n||pr,t&&e.$options.props){no.shouldConvert=!1;for(var a=e._props,s=e.$options._propKeys||[],l=0;l<s.length;l++){var c=s[l];a[c]=Y(c,e.$options.props,t,e)}no.shouldConvert=!0,e.$options.propsData=t}if(n){var u=e.$options._parentListeners;e.$options._parentListeners=n,$e(e,n,u)}i&&(e.$slots=Se(o,r.context),e.$forceUpdate())}function Ie(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function Me(e,t){if(t){if(e._directInactive=!1,Ie(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)Me(e.$children[n]);Ne(e,"activated")}}function Pe(e,t){if(!(t&&(e._directInactive=!0,Ie(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)Pe(e.$children[n]);Ne(e,"deactivated")}}function Ne(e,t){var n=e.$options[t];if(n)for(var r=0,o=n.length;r<o;r++)try{n[r].call(e)}catch(n){te(n,e,t+" hook")}e._hasHookEvent&&e.$emit("hook:"+t)}function Fe(){Co=bo.length=_o.length=0,xo={},ko=wo=!1}function De(){wo=!0;var e,t;for(bo.sort(function(e,t){return e.id-t.id}),Co=0;Co<bo.length;Co++)e=bo[Co],t=e.id,xo[t]=null,e.run();var n=_o.slice(),r=bo.slice();Fe(),He(n),Re(r),qr&&$r.devtools&&qr.emit("flush")}function Re(e){for(var t=e.length;t--;){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&Ne(r,"updated")}}function ze(e){e._inactive=!1,_o.push(e)}function He(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Me(e[t],!0)}function Ue(e){var t=e.id;if(null==xo[t]){if(xo[t]=!0,wo){for(var n=bo.length-1;n>Co&&bo[n].id>e.id;)n--;bo.splice(n+1,0,e)}else bo.push(e);ko||(ko=!0,ae(De))}}function Be(e,t,n){So.get=function(){return this[t][n]},So.set=function(e){this[t][n]=e},Object.defineProperty(e,n,So)}function qe(e){e._watchers=[];var t=e.$options;t.props&&Ve(e,t.props),t.methods&&Ye(e,t.methods),t.data?We(e):F(e._data={},!0),t.computed&&Je(e,t.computed),t.watch&&t.watch!==Dr&&Ze(e,t.watch)}function Ve(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$options._propKeys=[],i=!e.$parent;no.shouldConvert=i;for(var a in t)(function(i){o.push(i);var a=Y(i,t,n,e);D(r,i,a),i in e||Be(e,"_props",i)})(a);no.shouldConvert=!0}function We(e){var t=e.$options.data;t=e._data="function"==typeof t?Ge(t,e):t||{},c(t)||(t={});for(var n=Object.keys(t),r=e.$options.props,o=(e.$options.methods,n.length);o--;){var i=n[o];r&&v(r,i)||$(i)||Be(e,"_data",i)}F(t,!0)}function Ge(e,t){try{return e.call(t,t)}catch(e){return te(e,t,"data()"),{}}}function Je(e,t){var n=e._computedWatchers=Object.create(null),r=Br();for(var o in t){var i=t[o],a="function"==typeof i?i:i.get;r||(n[o]=new $o(e,a||k,k,Oo)),o in e||Ke(e,o,i)}}function Ke(e,t,n){var r=!Br();"function"==typeof n?(So.get=r?Xe(t):n,So.set=k):(So.get=n.get?r&&!1!==n.cache?Xe(t):n.get:k,So.set=n.set?n.set:k),Object.defineProperty(e,t,So)}function Xe(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),Jr.target&&t.depend(),t.value}}function Ye(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?k:y(t[n],e)}function Ze(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;o<r.length;o++)Qe(e,n,r[o]);else Qe(e,n,r)}}function Qe(e,t,n,r){return c(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}function et(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}function tt(e){var t=nt(e.$options.inject,e);t&&(no.shouldConvert=!1,Object.keys(t).forEach(function(n){D(e,n,t[n])}),no.shouldConvert=!0)}function nt(e,t){if(e){for(var n=Object.create(null),r=Vr?Reflect.ownKeys(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}):Object.keys(e),o=0;o<r.length;o++){for(var i=r[o],a=e[i].from,s=t;s;){if(s._provided&&a in s._provided){n[i]=s._provided[a];break}s=s.$parent}if(!s&&"default"in e[i]){var l=e[i].default;n[i]="function"==typeof l?l.call(t):l}}return n}}function rt(e,t){var n,r,i,a,s;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,i=e.length;r<i;r++)n[r]=t(e[r],r);else if("number"==typeof e)for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r);else if(l(e))for(a=Object.keys(e),n=new Array(a.length),r=0,i=a.length;r<i;r++)s=a[r],n[r]=t(e[s],s,r);return o(n)&&(n._isVList=!0),n}function ot(e,t,n,r){var o,i=this.$scopedSlots[e];if(i)n=n||{},r&&(n=_(_({},r),n)),o=i(n)||t;else{var a=this.$slots[e];a&&(a._rendered=!0),o=a||t}var s=n&&n.slot;return s?this.$createElement("template",{slot:s},o):o}function it(e){return X(this.$options,"filters",e,!0)||kr}function at(e,t,n,r){var o=$r.keyCodes[t]||n;return o?Array.isArray(o)?-1===o.indexOf(e):o!==e:r?_r(r)!==t:void 0}function st(e,t,n,r,o){if(n)if(l(n)){Array.isArray(n)&&(n=x(n));var i;for(var a in n)(function(a){if("class"===a||"style"===a||hr(a))i=e;else{var s=e.attrs&&e.attrs.type;i=r||$r.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}if(!(a in i)&&(i[a]=n[a],o)){(e.on||(e.on={}))["update:"+a]=function(e){n[a]=e}}})(a)}else;return e}function lt(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t?Array.isArray(r)?M(r):I(r):(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),ut(r,"__static__"+e,!1),r)}function ct(e,t,n){return ut(e,"__once__"+t+(n?"_"+n:""),!0),e}function ut(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&ft(e[r],t+"_"+r,n);else ft(e,t,n)}function ft(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function pt(e,t){if(t)if(c(t)){var n=e.on=e.on?_({},e.on):{};for(var r in t){var o=n[r],i=t[r];n[r]=o?[].concat(o,i):i}}else;return e}function dt(e){e._o=ct,e._n=d,e._s=p,e._l=rt,e._t=ot,e._q=w,e._i=C,e._m=lt,e._f=it,e._k=at,e._b=st,e._v=L,e._e=Zr,e._u=Te,e._g=pt}function ht(e,t,n,r,o){var a=o.options;this.data=e,this.props=t,this.children=n,this.parent=r,this.listeners=e.on||pr,this.injections=nt(a.inject,r),this.slots=function(){return Se(n,r)};var s=Object.create(r),l=i(a._compiled),c=!l;l&&(this.$options=a,this.$slots=this.slots(),this.$scopedSlots=e.scopedSlots||pr),a._scopeId?this._c=function(e,t,n,o){var i=kt(s,e,t,n,o,c);return i&&(i.fnScopeId=a._scopeId,i.fnContext=r),i}:this._c=function(e,t,n,r){return kt(s,e,t,n,r,c)}}function gt(e,t,n,r,i){var a=e.options,s={},l=a.props;if(o(l))for(var c in l)s[c]=Y(c,l,t||pr);else o(n.attrs)&&vt(s,n.attrs),o(n.props)&&vt(s,n.props);var u=new ht(n,s,i,r,e),f=a.render.call(null,u._c,u);return f instanceof Xr&&(f.fnContext=r,f.fnOptions=a,n.slot&&((f.data||(f.data={})).slot=n.slot)),f}function vt(e,t){for(var n in t)e[mr(n)]=t[n]}function mt(e,t,n,a,s){if(!r(e)){var c=n.$options._base;if(l(e)&&(e=c.extend(e)),"function"==typeof e){var u;if(r(e.cid)&&(u=e,void 0===(e=_e(u,c,n))))return be(u,t,n,a,s);t=t||{},St(e),o(t.model)&&xt(e.options,t);var f=pe(t,e,s);if(i(e.options.functional))return gt(e,f,t,n,a);var p=t.on;if(t.on=t.nativeOn,i(e.options.abstract)){var d=t.slot;t={},d&&(t.slot=d)}bt(t);var h=e.options.name||s;return new Xr("vue-component-"+e.cid+(h?"-"+h:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:f,listeners:p,tag:s,children:a},u)}}}function yt(e,t,n,r){var i={_isComponent:!0,parent:t,_parentVnode:e,_parentElm:n||null,_refElm:r||null},a=e.data.inlineTemplate;return o(a)&&(i.render=a.render,i.staticRenderFns=a.staticRenderFns),new e.componentOptions.Ctor(i)}function bt(e){e.hook||(e.hook={});for(var t=0;t<Eo.length;t++){var n=Eo[t],r=e.hook[n],o=To[n];e.hook[n]=r?_t(o,r):o}}function _t(e,t){return function(n,r,o,i){e(n,r,o,i),t(n,r,o,i)}}function xt(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.props||(t.props={}))[n]=t.model.value;var i=t.on||(t.on={});o(i[r])?i[r]=[t.model.callback].concat(i[r]):i[r]=t.model.callback}function kt(e,t,n,r,o,a){return(Array.isArray(n)||s(n))&&(o=r,r=n,n=void 0),i(a)&&(o=Lo),wt(e,t,n,r,o)}function wt(e,t,n,r,i){if(o(n)&&o(n.__ob__))return Zr();if(o(n)&&o(n.is)&&(t=n.is),!t)return Zr();Array.isArray(r)&&"function"==typeof r[0]&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),i===Lo?r=ge(r):i===jo&&(r=he(r));var a,s;if("string"==typeof t){var l;s=e.$vnode&&e.$vnode.ns||$r.getTagNamespace(t),a=$r.isReservedTag(t)?new Xr($r.parsePlatformTagName(t),n,r,void 0,void 0,e):o(l=X(e.$options,"components",t))?mt(l,n,e,r,t):new Xr(t,n,r,void 0,void 0,e)}else a=mt(t,n,e,r);return o(a)?(s&&Ct(a,s),a):Zr()}function Ct(e,t,n){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,n=!0),o(e.children))for(var a=0,s=e.children.length;a<s;a++){var l=e.children[a];o(l.tag)&&(r(l.ns)||i(n))&&Ct(l,t,n)}}function At(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,r=n&&n.context;e.$slots=Se(t._renderChildren,r),e.$scopedSlots=pr,e._c=function(t,n,r,o){return kt(e,t,n,r,o,!1)},e.$createElement=function(t,n,r,o){return kt(e,t,n,r,o,!0)};var o=n&&n.data;D(e,"$attrs",o&&o.attrs||pr,null,!0),D(e,"$listeners",t._parentListeners||pr,null,!0)}function $t(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r,n._parentElm=t._parentElm,n._refElm=t._refElm;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)}function St(e){var t=e.options;if(e.super){var n=St(e.super);if(n!==e.superOptions){e.superOptions=n;var r=Ot(e);r&&_(e.extendOptions,r),t=e.options=K(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function Ot(e){var t,n=e.options,r=e.extendOptions,o=e.sealedOptions;for(var i in n)n[i]!==o[i]&&(t||(t={}),t[i]=Tt(n[i],r[i],o[i]));return t}function Tt(e,t,n){if(Array.isArray(e)){var r=[];n=Array.isArray(n)?n:[n],t=Array.isArray(t)?t:[t];for(var o=0;o<e.length;o++)(t.indexOf(e[o])>=0||n.indexOf(e[o])<0)&&r.push(e[o]);return r}return e}function Et(e){this._init(e)}function jt(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=b(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}}function Lt(e){e.mixin=function(e){return this.options=K(this.options,e),this}}function It(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,a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=K(n.options,e),a.super=n,a.options.props&&Mt(a),a.options.computed&&Pt(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Cr.forEach(function(e){a[e]=n[e]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=_({},a.options),o[r]=a,a}}function Mt(e){var t=e.options.props;for(var n in t)Be(e.prototype,"_props",n)}function Pt(e){var t=e.options.computed;for(var n in t)Ke(e.prototype,n,t[n])}function Nt(e){Cr.forEach(function(t){e[t]=function(e,n){return n?("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]}})}function Ft(e){return e&&(e.Ctor.options.name||e.tag)}function Dt(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!u(e)&&e.test(t)}function Rt(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=Ft(a.componentOptions);s&&!t(s)&&zt(n,i,r,o)}}}function zt(e,t,n,r){var o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,g(n,t)}function Ht(e){for(var t=e.data,n=e,r=e;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Ut(r.data,t));for(;o(n=n.parent);)n&&n.data&&(t=Ut(t,n.data));return Bt(t.staticClass,t.class)}function Ut(e,t){return{staticClass:qt(e.staticClass,t.staticClass),class:o(e.class)?[e.class,t.class]:t.class}}function Bt(e,t){return o(e)||o(t)?qt(e,Vt(t)):""}function qt(e,t){return e?t?e+" "+t:e:t||""}function Vt(e){return Array.isArray(e)?Wt(e):l(e)?Gt(e):"string"==typeof e?e:""}function Wt(e){for(var t,n="",r=0,i=e.length;r<i;r++)o(t=Vt(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}function Gt(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}function Jt(e){return Xo(e)?"svg":"math"===e?"math":void 0}function Kt(e){if(!Tr)return!0;if(Yo(e))return!1;if(e=e.toLowerCase(),null!=Zo[e])return Zo[e];var t=document.createElement(e);return e.indexOf("-")>-1?Zo[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Zo[e]=/HTMLUnknownElement/.test(t.toString())}function Xt(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function Yt(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function Zt(e,t){return document.createElementNS(Jo[e],t)}function Qt(e){return document.createTextNode(e)}function en(e){return document.createComment(e)}function tn(e,t,n){e.insertBefore(t,n)}function nn(e,t){e.removeChild(t)}function rn(e,t){e.appendChild(t)}function on(e){return e.parentNode}function an(e){return e.nextSibling}function sn(e){return e.tagName}function ln(e,t){e.textContent=t}function cn(e,t,n){e.setAttribute(t,n)}function un(e,t){var n=e.data.ref;if(n){var r=e.context,o=e.componentInstance||e.elm,i=r.$refs;t?Array.isArray(i[n])?g(i[n],o):i[n]===o&&(i[n]=void 0):e.data.refInFor?Array.isArray(i[n])?i[n].indexOf(o)<0&&i[n].push(o):i[n]=[o]:i[n]=o}}function fn(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&o(e.data)===o(t.data)&&pn(e,t)||i(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&r(t.asyncFactory.error))}function pn(e,t){if("input"!==e.tag)return!0;var n,r=o(n=e.data)&&o(n=n.attrs)&&n.type,i=o(n=t.data)&&o(n=n.attrs)&&n.type;return r===i||Qo(r)&&Qo(i)}function dn(e,t,n){var r,i,a={};for(r=t;r<=n;++r)i=e[r].key,o(i)&&(a[i]=r);return a}function hn(e,t){(e.data.directives||t.data.directives)&&gn(e,t)}function gn(e,t){var n,r,o,i=e===ni,a=t===ni,s=vn(e.data.directives,e.context),l=vn(t.data.directives,t.context),c=[],u=[];for(n in l)r=s[n],o=l[n],r?(o.oldValue=r.value,yn(o,"update",t,e),o.def&&o.def.componentUpdated&&u.push(o)):(yn(o,"bind",t,e),o.def&&o.def.inserted&&c.push(o));if(c.length){var f=function(){for(var n=0;n<c.length;n++)yn(c[n],"inserted",t,e)};i?fe(t,"insert",f):f()}if(u.length&&fe(t,"postpatch",function(){for(var n=0;n<u.length;n++)yn(u[n],"componentUpdated",t,e)}),!i)for(n in s)l[n]||yn(s[n],"unbind",e,e,a)}function vn(e,t){var n=Object.create(null);if(!e)return n;var r,o;for(r=0;r<e.length;r++)o=e[r],o.modifiers||(o.modifiers=ii),n[mn(o)]=o,o.def=X(t.$options,"directives",o.name,!0);return n}function mn(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function yn(e,t,n,r,o){var i=e.def&&e.def[t];if(i)try{i(n.elm,e,n,r,o)}catch(r){te(r,n.context,"directive "+e.name+" "+t+" hook")}}function bn(e,t){var n=t.componentOptions;if(!(o(n)&&!1===n.Ctor.options.inheritAttrs||r(e.data.attrs)&&r(t.data.attrs))){var i,a,s=t.elm,l=e.data.attrs||{},c=t.data.attrs||{};o(c.__ob__)&&(c=t.data.attrs=_({},c));for(i in c)a=c[i],l[i]!==a&&_n(s,i,a);(Ir||Pr)&&c.value!==l.value&&_n(s,"value",c.value);for(i in l)r(c[i])&&(Vo(i)?s.removeAttributeNS(qo,Wo(i)):Uo(i)||s.removeAttribute(i))}}function _n(e,t,n){if(Bo(t))Go(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n));else if(Uo(t))e.setAttribute(t,Go(n)||"false"===n?"false":"true");else if(Vo(t))Go(n)?e.removeAttributeNS(qo,Wo(t)):e.setAttributeNS(qo,t,n);else if(Go(n))e.removeAttribute(t);else{if(Ir&&!Mr&&"TEXTAREA"===e.tagName&&"placeholder"===t&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}function xn(e,t){var n=t.elm,i=t.data,a=e.data;if(!(r(i.staticClass)&&r(i.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=Ht(t),l=n._transitionClasses;o(l)&&(s=qt(s,Vt(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}function kn(e){if(o(e[ci])){var t=Ir?"change":"input";e[t]=[].concat(e[ci],e[t]||[]),delete e[ci]}o(e[ui])&&(e.change=[].concat(e[ui],e.change||[]),delete e[ui])}function wn(e,t,n){var r=Fo;return function o(){null!==e.apply(null,arguments)&&An(t,o,n,r)}}function Cn(e,t,n,r,o){t=ie(t),n&&(t=wn(t,e,r)),Fo.addEventListener(e,t,Rr?{capture:r,passive:o}:r)}function An(e,t,n,r){(r||Fo).removeEventListener(e,t._withTask||t,n)}function $n(e,t){if(!r(e.data.on)||!r(t.data.on)){var n=t.data.on||{},o=e.data.on||{};Fo=t.elm,kn(n),ue(n,o,Cn,An,t.context),Fo=void 0}}function Sn(e,t){if(!r(e.data.domProps)||!r(t.data.domProps)){var n,i,a=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};o(l.__ob__)&&(l=t.data.domProps=_({},l));for(n in s)r(l[n])&&(a[n]="");for(n in l){if(i=l[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),i===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n){a._value=i;var c=r(i)?"":String(i);On(a,c)&&(a.value=c)}else a[n]=i}}}function On(e,t){return!e.composing&&("OPTION"===e.tagName||Tn(e,t)||En(e,t))}function Tn(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}function En(e,t){var n=e.value,r=e._vModifiers;if(o(r)){if(r.lazy)return!1;if(r.number)return d(n)!==d(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}function jn(e){var t=Ln(e.style);return e.staticStyle?_(e.staticStyle,t):t}function Ln(e){return Array.isArray(e)?x(e):"string"==typeof e?di(e):e}function In(e,t){var n,r={};if(t)for(var o=e;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=jn(o.data))&&_(r,n);(n=jn(e.data))&&_(r,n);for(var i=e;i=i.parent;)i.data&&(n=jn(i.data))&&_(r,n);return r}function Mn(e,t){var n=t.data,i=e.data;if(!(r(n.staticStyle)&&r(n.style)&&r(i.staticStyle)&&r(i.style))){var a,s,l=t.elm,c=i.staticStyle,u=i.normalizedStyle||i.style||{},f=c||u,p=Ln(t.data.style)||{};t.data.normalizedStyle=o(p.__ob__)?_({},p):p;var d=In(t,!0);for(s in f)r(d[s])&&vi(l,s,"");for(s in d)(a=d[s])!==f[s]&&vi(l,s,null==a?"":a)}}function Pn(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-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 Nn(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).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(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function Fn(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&_(t,_i(e.name||"v")),_(t,e),t}return"string"==typeof e?_i(e):void 0}}function Dn(e){Oi(function(){Oi(e)})}function Rn(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),Pn(e,t))}function zn(e,t){e._transitionClasses&&g(e._transitionClasses,t),Nn(e,t)}function Hn(e,t,n){var r=Un(e,t),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===ki?Ai:Si,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout(function(){l<a&&c()},i+1),e.addEventListener(s,u)}function Un(e,t){var n,r=window.getComputedStyle(e),o=r[Ci+"Delay"].split(", "),i=r[Ci+"Duration"].split(", "),a=Bn(o,i),s=r[$i+"Delay"].split(", "),l=r[$i+"Duration"].split(", "),c=Bn(s,l),u=0,f=0;return t===ki?a>0&&(n=ki,u=a,f=i.length):t===wi?c>0&&(n=wi,u=c,f=l.length):(u=Math.max(a,c),n=u>0?a>c?ki:wi:null,f=n?n===ki?i.length:l.length:0),{type:n,timeout:u,propCount:f,hasTransform:n===ki&&Ti.test(r[Ci+"Property"])}}function Bn(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(t,n){return qn(t)+qn(e[n])}))}function qn(e){return 1e3*Number(e.slice(0,-1))}function Vn(e,t){var n=e.elm;o(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=Fn(e.data.transition);if(!r(i)&&!o(n._enterCb)&&1===n.nodeType){for(var a=i.css,s=i.type,c=i.enterClass,u=i.enterToClass,f=i.enterActiveClass,p=i.appearClass,h=i.appearToClass,g=i.appearActiveClass,v=i.beforeEnter,m=i.enter,y=i.afterEnter,b=i.enterCancelled,_=i.beforeAppear,x=i.appear,k=i.afterAppear,w=i.appearCancelled,C=i.duration,$=yo,S=yo.$vnode;S&&S.parent;)S=S.parent,$=S.context;var O=!$._isMounted||!e.isRootInsert;if(!O||x||""===x){var T=O&&p?p:c,E=O&&g?g:f,j=O&&h?h:u,L=O?_||v:v,I=O&&"function"==typeof x?x:m,M=O?k||y:y,P=O?w||b:b,N=d(l(C)?C.enter:C),F=!1!==a&&!Mr,D=Jn(I),R=n._enterCb=A(function(){F&&(zn(n,j),zn(n,E)),R.cancelled?(F&&zn(n,T),P&&P(n)):M&&M(n),n._enterCb=null});e.data.show||fe(e,"insert",function(){var t=n.parentNode,r=t&&t._pending&&t._pending[e.key];r&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),I&&I(n,R)}),L&&L(n),F&&(Rn(n,T),Rn(n,E),Dn(function(){Rn(n,j),zn(n,T),R.cancelled||D||(Gn(N)?setTimeout(R,N):Hn(n,s,R))})),e.data.show&&(t&&t(),I&&I(n,R)),F||D||R()}}}function Wn(e,t){function n(){w.cancelled||(e.data.show||((i.parentNode._pending||(i.parentNode._pending={}))[e.key]=e),h&&h(i),_&&(Rn(i,u),Rn(i,p),Dn(function(){Rn(i,f),zn(i,u),w.cancelled||x||(Gn(k)?setTimeout(w,k):Hn(i,c,w))})),g&&g(i,w),_||x||w())}var i=e.elm;o(i._enterCb)&&(i._enterCb.cancelled=!0,i._enterCb());var a=Fn(e.data.transition);if(r(a)||1!==i.nodeType)return t();if(!o(i._leaveCb)){var s=a.css,c=a.type,u=a.leaveClass,f=a.leaveToClass,p=a.leaveActiveClass,h=a.beforeLeave,g=a.leave,v=a.afterLeave,m=a.leaveCancelled,y=a.delayLeave,b=a.duration,_=!1!==s&&!Mr,x=Jn(g),k=d(l(b)?b.leave:b),w=i._leaveCb=A(function(){i.parentNode&&i.parentNode._pending&&(i.parentNode._pending[e.key]=null),_&&(zn(i,f),zn(i,p)),w.cancelled?(_&&zn(i,u),m&&m(i)):(t(),v&&v(i)),i._leaveCb=null});y?y(n):n()}}function Gn(e){return"number"==typeof e&&!isNaN(e)}function Jn(e){if(r(e))return!1;var t=e.fns;return o(t)?Jn(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Kn(e,t){!0!==t.data.show&&Vn(t)}function Xn(e,t,n){Yn(e,t,n),(Ir||Pr)&&setTimeout(function(){Yn(e,t,n)},0)}function Yn(e,t,n){var r=t.value,o=e.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,l=e.options.length;s<l;s++)if(a=e.options[s],o)i=C(r,Qn(a))>-1,a.selected!==i&&(a.selected=i);else if(w(Qn(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));o||(e.selectedIndex=-1)}}function Zn(e,t){return t.every(function(t){return!w(t,e)})}function Qn(e){return"_value"in e?e._value:e.value}function er(e){e.target.composing=!0}function tr(e){e.target.composing&&(e.target.composing=!1,nr(e.target,"input"))}function nr(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function rr(e){return!e.componentInstance||e.data&&e.data.transition?e:rr(e.componentInstance._vnode)}function or(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?or(ke(t.children)):e}function ir(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var o=n._parentListeners;for(var i in o)t[mr(i)]=o[i];return t}function ar(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function sr(e){for(;e=e.parent;)if(e.data.transition)return!0}function lr(e,t){return t.key===e.key&&t.tag===e.tag}function cr(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function ur(e){e.data.newPos=e.elm.getBoundingClientRect()}function fr(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,o=t.top-n.top;if(r||o){e.data.moved=!0;var i=e.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}var pr=Object.freeze({}),dr=Object.prototype.toString,hr=(h("slot,component",!0),h("key,ref,slot,slot-scope,is")),gr=Object.prototype.hasOwnProperty,vr=/-(\w)/g,mr=m(function(e){return e.replace(vr,function(e,t){return t?t.toUpperCase():""})}),yr=m(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),br=/\B([A-Z])/g,_r=m(function(e){return e.replace(br,"-$1").toLowerCase()}),xr=function(e,t,n){return!1},kr=function(e){return e},wr="data-server-rendered",Cr=["component","directive","filter"],Ar=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],$r={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:xr,isReservedAttr:xr,isUnknownElement:xr,getTagNamespace:k,parsePlatformTagName:kr,mustUseProp:xr,_lifecycleHooks:Ar},Sr=/[^\w.$]/,Or="__proto__"in{},Tr="undefined"!=typeof window,Er="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,jr=Er&&WXEnvironment.platform.toLowerCase(),Lr=Tr&&window.navigator.userAgent.toLowerCase(),Ir=Lr&&/msie|trident/.test(Lr),Mr=Lr&&Lr.indexOf("msie 9.0")>0,Pr=Lr&&Lr.indexOf("edge/")>0,Nr=Lr&&Lr.indexOf("android")>0||"android"===jr,Fr=Lr&&/iphone|ipad|ipod|ios/.test(Lr)||"ios"===jr,Dr=(Lr&&/chrome\/\d+/.test(Lr),{}.watch),Rr=!1;if(Tr)try{var zr={};Object.defineProperty(zr,"passive",{get:function(){Rr=!0}}),window.addEventListener("test-passive",null,zr)}catch(e){}var Hr,Ur,Br=function(){return void 0===Hr&&(Hr=!Tr&&void 0!==e&&"server"===e.process.env.VUE_ENV),Hr},qr=Tr&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Vr="undefined"!=typeof Symbol&&T(Symbol)&&"undefined"!=typeof Reflect&&T(Reflect.ownKeys);Ur="undefined"!=typeof Set&&T(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 Wr=k,Gr=0,Jr=function(){this.id=Gr++,this.subs=[]};Jr.prototype.addSub=function(e){this.subs.push(e)},Jr.prototype.removeSub=function(e){g(this.subs,e)},Jr.prototype.depend=function(){Jr.target&&Jr.target.addDep(this)},Jr.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},Jr.target=null;var Kr=[],Xr=function(e,t,n,r,o,i,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},Yr={child:{configurable:!0}};Yr.child.get=function(){return this.componentInstance},Object.defineProperties(Xr.prototype,Yr);var Zr=function(e){void 0===e&&(e="");var t=new Xr;return t.text=e,t.isComment=!0,t},Qr=Array.prototype,eo=Object.create(Qr);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=Qr[e];S(eo,e,function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var o,i=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2)}return o&&a.observeArray(o),a.dep.notify(),i})});var to=Object.getOwnPropertyNames(eo),no={shouldConvert:!0},ro=function(e){if(this.value=e,this.dep=new Jr,this.vmCount=0,S(e,"__ob__",this),Array.isArray(e)){(Or?P:N)(e,eo,to),this.observeArray(e)}else this.walk(e)};ro.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)D(e,t[n],e[t[n]])},ro.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)F(e[t])};var oo=$r.optionMergeStrategies;oo.data=function(e,t,n){return n?B(e,t,n):t&&"function"!=typeof t?e:B(e,t)},Ar.forEach(function(e){oo[e]=q}),Cr.forEach(function(e){oo[e+"s"]=V}),oo.watch=function(e,t,n,r){if(e===Dr&&(e=void 0),t===Dr&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var o={};_(o,e);for(var i in t){var a=o[i],s=t[i];a&&!Array.isArray(a)&&(a=[a]),o[i]=a?a.concat(s):Array.isArray(s)?s:[s]}return o},oo.props=oo.methods=oo.inject=oo.computed=function(e,t,n,r){if(!e)return t;var o=Object.create(null);return _(o,e),t&&_(o,t),o},oo.provide=B;var io,ao,so=function(e,t){return void 0===t?e:t},lo=[],co=!1,uo=!1;if(void 0!==n&&T(n))ao=function(