mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-04 21:17:55 +08:00
1 line
80 KiB
JavaScript
1 line
80 KiB
JavaScript
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("stream"),t=Object.freeze({});function r(e){return null==e}function n(e){return null!=e}function i(e){return!0===e}function o(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function a(e){return null!==e&&"object"==typeof e}var s=Object.prototype.toString;function c(e){return"[object Object]"===s.call(e)}function u(e){return null==e?"":Array.isArray(e)||c(e)&&e.toString===s?JSON.stringify(e,null,2):String(e)}function l(e){var t=parseFloat(e);return isNaN(t)?e:t}function f(e,t){for(var r=Object.create(null),n=e.split(","),i=0;i<n.length;i++)r[n[i]]=!0;return t?function(e){return r[e.toLowerCase()]}:function(e){return r[e]}}var p=f("slot,component",!0),d=f("key,ref,slot,slot-scope,is");var v=Object.prototype.hasOwnProperty;function h(e,t){return v.call(e,t)}function m(e){var t=Object.create(null);return function(r){return t[r]||(t[r]=e(r))}}var y=/-(\w)/g,g=m(function(e){return e.replace(y,function(e,t){return t?t.toUpperCase():""})}),b=m(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),_=/\B([A-Z])/g,w=m(function(e){return e.replace(_,"-$1").toLowerCase()});function x(e,t){for(var r in t)e[r]=t[r];return e}function S(e){for(var t={},r=0;r<e.length;r++)e[r]&&x(t,e[r]);return t}function $(e,t,r){}var A=function(e,t,r){return!1},k=function(e){return e};function O(e,t){if(e===t)return!0;var r=a(e),n=a(t);if(!r||!n)return!r&&!n&&String(e)===String(t);try{var i=Array.isArray(e),o=Array.isArray(t);if(i&&o)return e.length===t.length&&e.every(function(e,r){return O(e,t[r])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(i||o)return!1;var s=Object.keys(e),c=Object.keys(t);return s.length===c.length&&s.every(function(r){return O(e[r],t[r])})}catch(e){return!1}}function C(e,t){for(var r=0;r<e.length;r++)if(O(e[r],t))return r;return-1}var T=f("accept,accept-charset,accesskey,action,align,alt,async,autocomplete,autofocus,autoplay,autosave,bgcolor,border,buffered,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,data,datetime,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,for,form,formaction,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,ismap,itemprop,keytype,kind,label,lang,language,list,loop,low,manifest,max,maxlength,media,method,GET,POST,min,multiple,email,file,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,seamless,selected,shape,size,type,text,password,sizes,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,usemap,value,width,wrap"),F=/[>/="'\u0009\u000a\u000c\u0020]/,j=function(e){return F.test(e)},P=function(e){return T(e)||0===e.indexOf("data-")||0===e.indexOf("aria-")},E={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},N={"<":"<",">":">",'"':""","&":"&"};function I(e){return e.replace(/[<>"&]/g,L)}function L(e){return N[e]||e}var M={"animation-iteration-count":!0,"border-image-outset":!0,"border-image-slice":!0,"border-image-width":!0,"box-flex":!0,"box-flex-group":!0,"box-ordinal-group":!0,"column-count":!0,columns:!0,flex:!0,"flex-grow":!0,"flex-positive":!0,"flex-shrink":!0,"flex-negative":!0,"flex-order":!0,"grid-row":!0,"grid-row-end":!0,"grid-row-span":!0,"grid-row-start":!0,"grid-column":!0,"grid-column-end":!0,"grid-column-span":!0,"grid-column-start":!0,"font-weight":!0,"line-clamp":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"tab-size":!0,widows:!0,"z-index":!0,zoom:!0,"fill-opacity":!0,"flood-opacity":!0,"stop-opacity":!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,"stroke-miterlimit":!0,"stroke-opacity":!0,"stroke-width":!0},R=f("input,textarea,option,select,progress"),D=f("contenteditable,draggable,spellcheck"),z=f("events,caret,typing,plaintext-only"),U=function(e,t){return q(t)||"false"===t?"false":"contenteditable"===e&&z(t)?t:"true"},B=f("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,truespeed,typemustmatch,visible"),q=function(e){return null==e||!1===e};function J(e,t){if(B(e)){if(!q(t))return" "+e+'="'+e+'"'}else{if(D(e))return" "+e+'="'+I(U(e,t))+'"';if(!q(t))return" "+e+'="'+I(String(t))+'"'}return""}var H=function(){function e(e,t,r,n,i,o,a,s){this.tag=e,this.data=t,this.children=r,this.text=n,this.elm=i,this.ns=void 0,this.context=o,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}return Object.defineProperty(e.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),e}(),K=function(e){void 0===e&&(e="");var t=new H;return t.text=e,t.isComment=!0,t};function V(e){return new H(void 0,void 0,void 0,String(e))}function W(e,t,r){var n=new H(void 0,void 0,void 0,t);n.raw=r,e.children=[n]}function Z(e,t,r,n){Object.defineProperty(e,t,{value:r,enumerable:!!n,writable:!0,configurable:!0})}var X="__proto__"in{},G="undefined"!=typeof window,Q="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,Y=(Q&&WXEnvironment.platform.toLowerCase(),G&&window.navigator.userAgent.toLowerCase()),ee=Y&&/msie|trident/.test(Y);Y&&Y.indexOf("msie 9.0");Y&&Y.indexOf("edge/");Y&&Y.indexOf("android"),Y&&/iphone|ipad|ipod|ios/.test(Y),Y&&/chrome\/\d+/.test(Y),Y&&/phantomjs/.test(Y),Y&&Y.match(/firefox\/(\d+)/);var te,re={}.watch;if(G)try{var ne={};Object.defineProperty(ne,"passive",{get:function(){!0}}),window.addEventListener("test-passive",null,ne)}catch(e){}var ie=function(){return void 0===te&&(te=!G&&!Q&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),te};function oe(e){return"function"==typeof e&&/native code/.test(e.toString())}var ae,se="undefined"!=typeof Symbol&&oe(Symbol)&&"undefined"!=typeof Reflect&&oe(Reflect.ownKeys);ae="undefined"!=typeof Set&&oe(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 ce="data-server-rendered",ue=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],le={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:A,isReservedAttr:A,isUnknownElement:A,getTagNamespace:$,parsePlatformTagName:k,mustUseProp:A,async:!0,_lifecycleHooks:ue},fe=0,pe=function(){function e(){this.id=fe++,this.subs=[]}return e.prototype.addSub=function(e){this.subs.push(e)},e.prototype.removeSub=function(e){!function(e,t){if(e.length){var r=e.indexOf(t);if(r>-1)e.splice(r,1)}}(this.subs,e)},e.prototype.depend=function(){e.target&&e.target.addDep(this)},e.prototype.notify=function(){for(var e=this.subs.slice(),t=0,r=e.length;t<r;t++)e[t].update()},e}();pe.target=null;var de=[];function ve(e){de.push(e),pe.target=e}function he(){de.pop(),pe.target=de[de.length-1]}var me=Array.prototype,ye=Object.create(me);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=me[e];Z(ye,e,function(){for(var r=arguments,n=[],i=0;i<arguments.length;i++)n[i]=r[i];var o,a=t.apply(this,n),s=this.__ob__;switch(e){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2)}return o&&s.observeArray(o),s.dep.notify(),a})});var ge=Object.getOwnPropertyNames(ye),be=!0;function _e(e){be=e}var we=function(){function e(e){var t;this.value=e,this.dep=new pe,this.vmCount=0,Z(e,"__ob__",this),Array.isArray(e)?(X?(t=ye,e.__proto__=t):function(e,t,r){for(var n=0,i=r.length;n<i;n++){var o=r[n];Z(e,o,t[o])}}(e,ye,ge),this.observeArray(e)):this.walk(e)}return e.prototype.walk=function(e){for(var t=Object.keys(e),r=0;r<t.length;r++)Se(e,t[r])},e.prototype.observeArray=function(e){for(var t=0,r=e.length;t<r;t++)xe(e[t])},e}();function xe(e,t){var r;if(a(e)&&!(e instanceof H))return h(e,"__ob__")&&e.__ob__ instanceof we?r=e.__ob__:be&&!ie()&&(Array.isArray(e)||c(e))&&Object.isExtensible(e)&&!e._isVue&&(r=new we(e)),t&&r&&r.vmCount++,r}function Se(e,t,r,n,i){var o=new pe,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,c=a&&a.set;s&&!c||2!==arguments.length||(r=e[t]);var u=!i&&xe(r);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):r;return pe.target&&(o.depend(),u&&(u.dep.depend(),Array.isArray(t)&&function e(t){for(var r=void 0,n=0,i=t.length;n<i;n++)(r=t[n])&&r.__ob__&&r.__ob__.dep.depend(),Array.isArray(r)&&e(r)}(t))),t},set:function(t){var n=s?s.call(e):r;t===n||t!=t&&n!=n||s&&!c||(c?c.call(e,t):r=t,u=!i&&xe(t),o.notify())}})}}function $e(e,t,r){if(Array.isArray(e)&&function(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}(t))return e.length=Math.max(e.length,t),e.splice(t,1,r),r;if(t in e&&!(t in Object.prototype))return e[t]=r,r;var n=e.__ob__;return e._isVue||n&&n.vmCount?r:n?(Se(n.value,t,r),n.dep.notify(),r):(e[t]=r,r)}var Ae=le.optionMergeStrategies;function ke(e,t){if(!t)return e;for(var r,n,i,o=se?Reflect.ownKeys(t):Object.keys(t),a=0;a<o.length;a++)"__ob__"!==(r=o[a])&&(n=e[r],i=t[r],h(e,r)?n!==i&&c(n)&&c(i)&&ke(n,i):$e(e,r,i));return e}function Oe(e,t,r){return r?function(){var n="function"==typeof t?t.call(r,r):t,i="function"==typeof e?e.call(r,r):e;return n?ke(n,i):i}:t?e?function(){return ke("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Ce(e,t){var r=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return r?function(e){for(var t=[],r=0;r<e.length;r++)-1===t.indexOf(e[r])&&t.push(e[r]);return t}(r):r}function Te(e,t,r,n){var i=Object.create(e||null);return t?x(i,t):i}Ae.data=function(e,t,r){return r?Oe(e,t,r):t&&"function"!=typeof t?e:Oe(e,t)},ue.forEach(function(e){Ae[e]=Ce}),["component","directive","filter"].forEach(function(e){Ae[e+"s"]=Te}),Ae.watch=function(e,t,r,n){if(e===re&&(e=void 0),t===re&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};for(var o in x(i,e),t){var a=i[o],s=t[o];a&&!Array.isArray(a)&&(a=[a]),i[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return i},Ae.props=Ae.methods=Ae.inject=Ae.computed=function(e,t,r,n){if(!e)return t;var i=Object.create(null);return x(i,e),t&&x(i,t),i},Ae.provide=Oe;var Fe=function(e,t){return void 0===t?e:t};function je(e,t,r){if("function"==typeof t&&(t=t.options),function(e,t){var r=e.props;if(r){var n,i,o={};if(Array.isArray(r))for(n=r.length;n--;)"string"==typeof(i=r[n])&&(o[g(i)]={type:null});else if(c(r))for(var a in r)i=r[a],o[g(a)]=c(i)?i:{type:i};e.props=o}}(t),function(e,t){var r=e.inject;if(r){var n=e.inject={};if(Array.isArray(r))for(var i=0;i<r.length;i++)n[r[i]]={from:r[i]};else if(c(r))for(var o in r){var a=r[o];n[o]=c(a)?x({from:o},a):{from:a}}}}(t),function(e){var t=e.directives;if(t)for(var r in t){var n=t[r];"function"==typeof n&&(t[r]={bind:n,update:n})}}(t),!t._base&&(t.extends&&(e=je(e,t.extends,r)),t.mixins))for(var n=0,i=t.mixins.length;n<i;n++)e=je(e,t.mixins[n],r);var o,a={};for(o in e)s(o);for(o in t)h(e,o)||s(o);function s(n){var i=Ae[n]||Fe;a[n]=i(e[n],t[n],r,n)}return a}function Pe(e,t,r,n){if("string"==typeof r){var i=e[t];if(h(i,r))return i[r];var o=g(r);if(h(i,o))return i[o];var a=b(o);return h(i,a)?i[a]:i[r]||i[o]||i[a]}}function Ee(e,t,r,n){var i=t[e],o=!h(r,e),a=r[e],s=Me(Boolean,i.type);if(s>-1)if(o&&!h(i,"default"))a=!1;else if(""===a||a===w(e)){var c=Me(String,i.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=function(e,t,r){if(!h(t,"default"))return;var n=t.default;if(e&&e.$options.propsData&&void 0===e.$options.propsData[r]&&void 0!==e._props[r])return e._props[r];return"function"==typeof n&&"Function"!==Ie(t.type)?n.call(e):n}(n,i,e);var u=be;_e(!0),xe(a),_e(u)}return a}var Ne=/^\s*function (\w+)/;function Ie(e){var t=e&&e.toString().match(Ne);return t?t[1]:""}function Le(e,t){return Ie(e)===Ie(t)}function Me(e,t){if(!Array.isArray(t))return Le(t,e)?0:-1;for(var r=0,n=t.length;r<n;r++)if(Le(t[r],e))return r;return-1}function Re(e,t,r){ve();try{if(t)for(var n=t;n=n.$parent;){var i=n.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{if(!1===i[o].call(n,e,t,r))return}catch(e){ze(e,n,"errorCaptured hook")}}ze(e,t,r)}finally{he()}}function De(e,t,r,i,o){var a,s;try{(a=r?e.apply(t,r):e.call(t))&&!a._isVue&&(n(s=a)&&"function"==typeof s.then&&"function"==typeof s.catch)&&!a._handled&&(a.catch(function(e){return Re(e,i,o+" (Promise/async)")}),a._handled=!0)}catch(e){Re(e,i,o)}return a}function ze(e,t,r){!function(e,t,r){if(!G&&!Q||"undefined"==typeof console)throw e;console.error(e)}(e)}var Ue=[];if("undefined"!=typeof Promise&&oe(Promise));else if(ee||"undefined"==typeof MutationObserver||!oe(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())"undefined"!=typeof setImmediate&&oe(setImmediate);else{var Be=new MutationObserver(function(){var e=Ue.slice(0);Ue.length=0;for(var t=0;t<e.length;t++)e[t]()}),qe=document.createTextNode(String(1));Be.observe(qe,{characterData:!0})}function Je(e,t){return{staticClass:Ke(e.staticClass,t.staticClass),class:n(e.class)?[e.class,t.class]:t.class}}function He(e,t){return n(e)||n(t)?Ke(e,Ve(t)):""}function Ke(e,t){return e?t?e+" "+t:e:t||""}function Ve(e){return Array.isArray(e)?function(e){for(var t,r="",i=0,o=e.length;i<o;i++)n(t=Ve(e[i]))&&""!==t&&(r&&(r+=" "),r+=t);return r}(e):a(e)?function(e){var t="";for(var r in e)e[r]&&(t&&(t+=" "),t+=r);return t}(e):"string"==typeof e?e:""}var We=f("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Ze=f("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0);var Xe=m(function(e){var t={},r=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t});function Ge(e){var t=Qe(e.style);return e.staticStyle?x(e.staticStyle,t):t}function Qe(e){return Array.isArray(e)?S(e):"string"==typeof e?Xe(e):e}function Ye(e){var t="";for(var r in e){var n=e[r],i=w(r);if(Array.isArray(n))for(var o=0,a=n.length;o<a;o++)t+=et(i,n[o]);else t+=et(i,n)}return t}function et(e,t){return"string"==typeof t||"number"==typeof t&&M[e]||0===t?e+":"+t+";":""}var tt=[function(e){var t=e.data.attrs,i="",o=e.parent&&e.parent.componentOptions;if(r(o)||!1!==o.Ctor.options.inheritAttrs)for(var a=e.parent;n(a)&&(!a.componentOptions||!1!==a.componentOptions.Ctor.options.inheritAttrs);)n(a.data)&&n(a.data.attrs)&&(t=x(x({},t),a.data.attrs)),a=a.parent;if(r(t))return i;for(var s in t)j(s)||"style"!==s&&(i+=J(s,t[s]));return i},function(e){for(var t=e.data.domProps,i="",o=e.parent;n(o);)o.data&&o.data.domProps&&(t=x(x({},t),o.data.domProps)),o=o.parent;if(r(t))return i;var a=e.data.attrs;for(var s in t)if("innerHTML"===s)W(e,t[s],!0);else if("textContent"===s)W(e,t[s],!1);else if("value"===s&&"textarea"===e.tag)W(e,u(t[s]),!1);else{var c=E[s]||s.toLowerCase();!P(c)||n(a)&&n(a[c])||(i+=J(c,t[s]))}return i},function(e){var t=function(e){for(var t=e.data,r=e,i=e;n(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=Je(i.data,t));for(;n(r=r.parent);)r&&r.data&&(t=Je(t,r.data));return He(t.staticClass,t.class)}(e);if(""!==t)return' class="'+I(t)+'"'},function(e){var t=Ye(function(e,t){var r,n={};if(t)for(var i=e;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(r=Ge(i.data))&&x(n,r);(r=Ge(e.data))&&x(n,r);for(var o=e;o=o.parent;)o.data&&(r=Ge(o.data))&&x(n,r);return n}(e,!1));if(""!==t)return" style="+JSON.stringify(I(t))}];function rt(e){var t=e.data||{};return t.attrs&&t.attrs.value||t.domProps&&t.domProps.value||e.children&&e.children[0]&&e.children[0].text}function nt(e){var t=e.data||(e.data={});(t.attrs||(t.attrs={})).selected=""}var it={show:function(e,t){if(!t.value){var r=e.data.style||(e.data.style={});Array.isArray(r)?r.push({display:"none"}):r.display="none"}},model:function(e,t){if(e.children)for(var r=t.value,n=e.data.attrs&&e.data.attrs.multiple,i=0,o=e.children.length;i<o;i++){var a=e.children[i];if("option"===a.tag)if(n)Array.isArray(r)&&C(r,rt(a))>-1&&nt(a);else if(O(r,rt(a)))return void nt(a)}}},ot=f("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),at=f("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),st=f("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),ct=function(e,t){return(ct=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function ut(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}ct(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var lt=800,ft=function(e){return e},pt="undefined"!=typeof process&&process.nextTick?process.nextTick:"undefined"!=typeof Promise?function(e){return Promise.resolve().then(e)}:"undefined"!=typeof setTimeout?setTimeout:ft;if(pt===ft)throw new Error("Your JavaScript runtime does not support any asynchronous primitives that are required by vue-server-renderer. Please use a polyfill for either Promise or setTimeout.");function dt(e,t){var r=0,n=function(i,o){i&&n.caching&&(n.cacheBuffer[n.cacheBuffer.length-1]+=i),!0!==e(i,o)&&(r>=lt?pt(function(){try{o()}catch(e){t(e)}}):(r++,o(),r--))};return n.caching=!1,n.cacheBuffer=[],n.componentBuffer=[],n}var vt=function(e){function t(t){var r=e.call(this)||this;return r.buffer="",r.render=t,r.expectedSize=0,r.write=dt(function(e,t){var n=r.expectedSize;return r.buffer+=e,r.buffer.length>=n&&(r.next=t,r.pushBySize(n),!0)},function(e){r.emit("error",e)}),r.end=function(){r.emit("beforeEnd"),r.done=!0,r.push(r.buffer)},r}return ut(t,e),t.prototype.pushBySize=function(e){var t=this.buffer.substring(0,e);this.buffer=this.buffer.substring(e),this.push(t)},t.prototype.tryRender=function(){try{this.render(this.write,this.end)}catch(e){this.emit("error",e)}},t.prototype.tryNext=function(){try{this.next()}catch(e){this.emit("error",e)}},t.prototype._read=function(e){this.expectedSize=e,i(this.done)?this.push(null):this.buffer.length>=e?this.pushBySize(e):r(this.next)?this.tryRender():this.tryNext()},t}(e.Readable),ht=function(){function e(e){this.userContext=e.userContext,this.activeInstance=e.activeInstance,this.renderStates=[],this.write=e.write,this.done=e.done,this.renderNode=e.renderNode,this.isUnaryTag=e.isUnaryTag,this.modules=e.modules,this.directives=e.directives;var t=e.cache;if(t&&(!t.get||!t.set))throw new Error("renderer cache must implement at least get & set.");this.cache=t,this.get=t&&mt(t,"get"),this.has=t&&mt(t,"has"),this.next=this.next.bind(this)}return e.prototype.next=function(){for(var e=function(){var e=t.renderStates[t.renderStates.length-1];if(r(e))return{value:t.done()};switch(e.type){case"Element":case"Fragment":var n=e.children,i=e.total,o=e.rendered++;if(o<i)return{value:t.renderNode(n[o],!1,t)};if(t.renderStates.pop(),"Element"===e.type)return{value:t.write(e.endTag,t.next)};break;case"Component":t.renderStates.pop(),t.activeInstance=e.prevActive;break;case"ComponentWithCache":t.renderStates.pop();var a=e.buffer,s=e.bufferIndex,c=e.componentBuffer,u=e.key,l={html:a[s],components:c[s]};if(t.cache.set(u,l),0===s)t.write.caching=!1;else{a[s-1]+=l.html;var f=c[s-1];l.components.forEach(function(e){return f.add(e)})}a.length=s,c.length=s}},t=this;;){var n=e();if("object"==typeof n)return n.value}},e}();function mt(e,t){var n=e[t];return r(n)?void 0:n.length>1?function(t,r){return n.call(e,t,r)}:function(t,r){return r(n.call(e,t))}}var yt=/[\w).+\-_$\]]/;function gt(e){var t,r,n,i,o,a=!1,s=!1,c=!1,u=!1,l=0,f=0,p=0,d=0;for(n=0;n<e.length;n++)if(r=t,t=e.charCodeAt(n),a)39===t&&92!==r&&(a=!1);else if(s)34===t&&92!==r&&(s=!1);else if(c)96===t&&92!==r&&(c=!1);else if(u)47===t&&92!==r&&(u=!1);else if(124!==t||124===e.charCodeAt(n+1)||124===e.charCodeAt(n-1)||l||f||p){switch(t){case 34:s=!0;break;case 39:a=!0;break;case 96:c=!0;break;case 40:p++;break;case 41:p--;break;case 91:f++;break;case 93:f--;break;case 123:l++;break;case 125:l--}if(47===t){for(var v=n-1,h=void 0;v>=0&&" "===(h=e.charAt(v));v--);h&&yt.test(h)||(u=!0)}}else void 0===i?(d=n+1,i=e.slice(0,n).trim()):m();function m(){(o||(o=[])).push(e.slice(d,n).trim()),d=n+1}if(void 0===i?i=e.slice(0,n).trim():0!==d&&m(),o)for(n=0;n<o.length;n++)i=bt(i,o[n]);return i}function bt(e,t){var r=t.indexOf("(");if(r<0)return'_f("'+t+'")('+e+")";var n=t.slice(0,r),i=t.slice(r+1);return'_f("'+n+'")('+e+(")"!==i?","+i:i)}var _t=/\{\{((?:.|\r?\n)+?)\}\}/g,wt=/[-.*+?^${}()|[\]\/\\]/g,xt=m(function(e){var t=e[0].replace(wt,"\\$&"),r=e[1].replace(wt,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+r,"g")});function St(e,t){console.error("[Vue compiler]: "+e)}function $t(e,t){return e?e.map(function(e){return e[t]}).filter(function(e){return e}):[]}function At(e,t,r,n,i){(e.props||(e.props=[])).push(Nt({name:t,value:r,dynamic:i},n)),e.plain=!1}function kt(e,t,r,n,i){(i?e.dynamicAttrs||(e.dynamicAttrs=[]):e.attrs||(e.attrs=[])).push(Nt({name:t,value:r,dynamic:i},n)),e.plain=!1}function Ot(e,t,r,n){e.attrsMap[t]=r,e.attrsList.push(Nt({name:t,value:r},n))}function Ct(e,t,r,n,i,o,a,s){(e.directives||(e.directives=[])).push(Nt({name:t,rawName:r,value:n,arg:i,isDynamicArg:o,modifiers:a},s)),e.plain=!1}function Tt(e,t,r){return r?"_p("+t+',"'+e+'")':e+t}function Ft(e,r,n,i,o,a,s,c){var u;(i=i||t).right?c?r="("+r+")==='click'?'contextmenu':("+r+")":"click"===r&&(r="contextmenu",delete i.right):i.middle&&(c?r="("+r+")==='click'?'mouseup':("+r+")":"click"===r&&(r="mouseup")),i.capture&&(delete i.capture,r=Tt("!",r,c)),i.once&&(delete i.once,r=Tt("~",r,c)),i.passive&&(delete i.passive,r=Tt("&",r,c)),i.native?(delete i.native,u=e.nativeEvents||(e.nativeEvents={})):u=e.events||(e.events={});var l=Nt({value:n.trim(),dynamic:c},s);i!==t&&(l.modifiers=i);var f=u[r];Array.isArray(f)?o?f.unshift(l):f.push(l):u[r]=f?o?[l,f]:[f,l]:l,e.plain=!1}function jt(e,t,r){var n=Pt(e,":"+t)||Pt(e,"v-bind:"+t);if(null!=n)return gt(n);if(!1!==r){var i=Pt(e,t);if(null!=i)return JSON.stringify(i)}}function Pt(e,t,r){var n;if(null!=(n=e.attrsMap[t]))for(var i=e.attrsList,o=0,a=i.length;o<a;o++)if(i[o].name===t){i.splice(o,1);break}return r&&delete e.attrsMap[t],n}function Et(e,t){for(var r=e.attrsList,n=0,i=r.length;n<i;n++){var o=r[n];if(t.test(o.name))return r.splice(n,1),o}}function Nt(e,t){return t&&(null!=t.start&&(e.start=t.start),null!=t.end&&(e.end=t.end)),e}var It={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var r=Pt(e,"class");r&&(e.staticClass=JSON.stringify(r));var n=jt(e,"class",!1);n&&(e.classBinding=n)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var Lt,Mt,Rt,Dt,zt,Ut,Bt={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var r=Pt(e,"style");r&&(e.staticStyle=JSON.stringify(Xe(r)));var n=jt(e,"style",!1);n&&(e.styleBinding=n)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},qt=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Jt=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Ht="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/.source+"]*",Kt="((?:"+Ht+"\\:)?"+Ht+")",Vt=new RegExp("^<"+Kt),Wt=/^\s*(\/?)>/,Zt=new RegExp("^<\\/"+Kt+"[^>]*>"),Xt=/^<!DOCTYPE [^>]+>/i,Gt=/^<!\--/,Qt=/^<!\[/,Yt=f("script,style,textarea",!0),er={},tr={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},rr=/&(?:lt|gt|quot|amp|#39);/g,nr=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,ir=f("pre,textarea",!0),or=function(e,t){return e&&ir(e)&&"\n"===t[0]};function ar(e,t){var r=t?nr:rr;return e.replace(r,function(e){return tr[e]})}function sr(e,t){for(var r,n,i=[],o=t.expectHTML,a=t.isUnaryTag||A,s=t.canBeLeftOpenTag||A,c=0,u=function(){if(r=e,n&&Yt(n)){var u=0,p=n.toLowerCase(),d=er[p]||(er[p]=new RegExp("([\\s\\S]*?)(</"+p+"[^>]*>)","i"));x=e.replace(d,function(e,r,n){return u=n.length,Yt(p)||"noscript"===p||(r=r.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),or(p,r)&&(r=r.slice(1)),t.chars&&t.chars(r),""});c+=e.length-x.length,e=x,f(p,c-u,c)}else{var v=e.indexOf("<");if(0===v){if(Gt.test(e)){var h=e.indexOf("--\x3e");if(h>=0)return t.shouldKeepComment&&t.comment(e.substring(4,h),c,c+h+3),l(h+3),"continue"}if(Qt.test(e)){var m=e.indexOf("]>");if(m>=0)return l(m+2),"continue"}var y=e.match(Xt);if(y)return l(y[0].length),"continue";var g=e.match(Zt);if(g){var b=c;return l(g[0].length),f(g[1],b,c),"continue"}var _=function(){var t=e.match(Vt);if(t){var r={tagName:t[1],attrs:[],start:c};l(t[0].length);for(var n=void 0,i=void 0;!(n=e.match(Wt))&&(i=e.match(Jt)||e.match(qt));)i.start=c,l(i[0].length),i.end=c,r.attrs.push(i);if(n)return r.unarySlash=n[1],l(n[0].length),r.end=c,r}}();if(_)return function(e){var r=e.tagName,c=e.unarySlash;o&&("p"===n&&st(r)&&f(n),s(r)&&n===r&&f(r));for(var u=a(r)||!!c,l=e.attrs.length,p=new Array(l),d=0;d<l;d++){var v=e.attrs[d],h=v[3]||v[4]||v[5]||"",m="a"===r&&"href"===v[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;p[d]={name:v[1],value:ar(h,m)}}u||(i.push({tag:r,lowerCasedTag:r.toLowerCase(),attrs:p,start:e.start,end:e.end}),n=r);t.start&&t.start(r,p,u,e.start,e.end)}(_),or(_.tagName,e)&&l(1),"continue"}var w=void 0,x=void 0,S=void 0;if(v>=0){for(x=e.slice(v);!(Zt.test(x)||Vt.test(x)||Gt.test(x)||Qt.test(x)||(S=x.indexOf("<",1))<0);)v+=S,x=e.slice(v);w=e.substring(0,v)}v<0&&(w=e),w&&l(w.length),t.chars&&w&&t.chars(w,c-w.length,c)}if(e===r)return t.chars&&t.chars(e),"break"};e;){if("break"===u())break}function l(t){c+=t,e=e.substring(t)}function f(e,r,o){var a,s;if(null==r&&(r=c),null==o&&(o=c),e)for(s=e.toLowerCase(),a=i.length-1;a>=0&&i[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=i.length-1;u>=a;u--)t.end&&t.end(i[u].tag,r,o);i.length=a,n=a&&i[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,r,o):"p"===s&&(t.start&&t.start(e,[],!1,r,o),t.end&&t.end(e,r,o))}f()}function cr(e,t,r){var n=r||{},i=n.number,o="$$v";n.trim&&(o="(typeof $$v === 'string'? $$v.trim(): $$v)"),i&&(o="_n("+o+")");var a=ur(t,o);e.model={value:"("+t+")",expression:JSON.stringify(t),callback:"function ($$v) {"+a+"}"}}function ur(e,t){var r=function(e){if(e=e.trim(),Lt=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<Lt-1)return(Dt=e.lastIndexOf("."))>-1?{exp:e.slice(0,Dt),key:'"'+e.slice(Dt+1)+'"'}:{exp:e,key:null};Mt=e,Dt=zt=Ut=0;for(;!fr();)pr(Rt=lr())?vr(Rt):91===Rt&&dr(Rt);return{exp:e.slice(0,zt),key:e.slice(zt+1,Ut)}}(e);return null===r.key?e+"="+t:"$set("+r.exp+", "+r.key+", "+t+")"}function lr(){return Mt.charCodeAt(++Dt)}function fr(){return Dt>=Lt}function pr(e){return 34===e||39===e}function dr(e){var t=1;for(zt=Dt;!fr();)if(pr(e=lr()))vr(e);else if(91===e&&t++,93===e&&t--,0===t){Ut=Dt;break}}function vr(e){for(var t=e;!fr()&&(e=lr())!==t;);}var hr,mr,yr,gr,br,_r,wr,xr,Sr=require("he"),$r=/^@|^v-on:/,Ar=/^v-|^@|^:|^#/,kr=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Or=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Cr=/^\(|\)$/g,Tr=/^\[.*\]$/,Fr=/:(.*)$/,jr=/^:|^\.|^v-bind:/,Pr=/\.[^.\]]+(?=[^\]]*$)/g,Er=/^v-slot(:|$)|^#/,Nr=/[\r\n]/,Ir=/[ \f\t\r\n]+/g,Lr=m(Sr.decode),Mr="_empty_";function Rr(e,t,r){return{type:1,tag:e,attrsList:t,attrsMap:Hr(t),rawAttrsMap:{},parent:r,children:[]}}function Dr(e,t){hr=t.warn||St,_r=t.isPreTag||A,wr=t.mustUseProp||A,xr=t.getTagNamespace||A,t.isReservedTag,yr=$t(t.modules,"transformNode"),gr=$t(t.modules,"preTransformNode"),br=$t(t.modules,"postTransformNode"),mr=t.delimiters;var r,n,i=[],o=!1!==t.preserveWhitespace,a=t.whitespace,s=!1,c=!1;function u(e){if(l(e),s||e.processed||(e=zr(e,t)),i.length||e===r||r.if&&(e.elseif||e.else)&&Br(r,{exp:e.elseif,block:e}),n&&!e.forbidden)if(e.elseif||e.else)a=e,(u=function(e){var t=e.length;for(;t--;){if(1===e[t].type)return e[t];e.pop()}}(n.children))&&u.if&&Br(u,{exp:a.elseif,block:a});else{if(e.slotScope){var o=e.slotTarget||'"default"';(n.scopedSlots||(n.scopedSlots={}))[o]=e}n.children.push(e),e.parent=n}var a,u;e.children=e.children.filter(function(e){return!e.slotScope}),l(e),e.pre&&(s=!1),_r(e.tag)&&(c=!1);for(var f=0;f<br.length;f++)br[f](e,t)}function l(e){if(!c)for(var t=void 0;(t=e.children[e.children.length-1])&&3===t.type&&" "===t.text;)e.children.pop()}return sr(e,{warn:hr,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,o,a,l,f){var p=n&&n.ns||xr(e);ee&&"svg"===p&&(o=function(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];Kr.test(n.name)||(n.name=n.name.replace(Vr,""),t.push(n))}return t}(o));var d,v=Rr(e,o,n);p&&(v.ns=p),"style"!==(d=v).tag&&("script"!==d.tag||d.attrsMap.type&&"text/javascript"!==d.attrsMap.type)||ie()||(v.forbidden=!0);for(var h=0;h<gr.length;h++)v=gr[h](v,t)||v;s||(!function(e){null!=Pt(e,"v-pre")&&(e.pre=!0)}(v),v.pre&&(s=!0)),_r(v.tag)&&(c=!0),s?function(e){var t=e.attrsList,r=t.length;if(r)for(var n=e.attrs=new Array(r),i=0;i<r;i++)n[i]={name:t[i].name,value:JSON.stringify(t[i].value)},null!=t[i].start&&(n[i].start=t[i].start,n[i].end=t[i].end);else e.pre||(e.plain=!0)}(v):v.processed||(Ur(v),function(e){var t=Pt(e,"v-if");if(t)e.if=t,Br(e,{exp:t,block:e});else{null!=Pt(e,"v-else")&&(e.else=!0);var r=Pt(e,"v-else-if");r&&(e.elseif=r)}}(v),function(e){null!=Pt(e,"v-once")&&(e.once=!0)}(v)),r||(r=v),a?u(v):(n=v,i.push(v))},end:function(e,t,r){var o=i[i.length-1];i.length-=1,n=i[i.length-1],u(o)},chars:function(e,t,r){if(n&&(!ee||"textarea"!==n.tag||n.attrsMap.placeholder!==e)){var i,u=n.children;if(e=c||e.trim()?"script"===(i=n).tag||"style"===i.tag?e:Lr(e):u.length?a?"condense"===a&&Nr.test(e)?"":" ":o?" ":"":""){c||"condense"!==a||(e=e.replace(Ir," "));var l=void 0,f=void 0;!s&&" "!==e&&(l=function(e,t){var r=t?xt(t):_t;if(r.test(e)){for(var n,i,o,a=[],s=[],c=r.lastIndex=0;n=r.exec(e);){(i=n.index)>c&&(s.push(o=e.slice(c,i)),a.push(JSON.stringify(o)));var u=gt(n[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=i+n[0].length}return c<e.length&&(s.push(o=e.slice(c)),a.push(JSON.stringify(o))),{expression:a.join("+"),tokens:s}}}(e,mr))?f={type:2,expression:l.expression,tokens:l.tokens,text:e}:" "===e&&u.length&&" "===u[u.length-1].text||(f={type:3,text:e}),f&&u.push(f)}}},comment:function(e,t,r){if(n){var i={type:3,text:e,isComment:!0};n.children.push(i)}}}),r}function zr(e,t){var r,n;(n=jt(r=e,"key"))&&(r.key=n),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,function(e){var t=jt(e,"ref");t&&(e.ref=t,e.refInFor=function(e){var t=e;for(;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(e))}(e),function(e){var t;"template"===e.tag?(t=Pt(e,"scope"),e.slotScope=t||Pt(e,"slot-scope")):(t=Pt(e,"slot-scope"))&&(e.slotScope=t);var r=jt(e,"slot");r&&(e.slotTarget='""'===r?'"default"':r,e.slotTargetDynamic=!(!e.attrsMap[":slot"]&&!e.attrsMap["v-bind:slot"]),"template"===e.tag||e.slotScope||kt(e,"slot",r,function(e,t){return e.rawAttrsMap[":"+t]||e.rawAttrsMap["v-bind:"+t]||e.rawAttrsMap[t]}(e,"slot")));if("template"===e.tag){var n=Et(e,Er);if(n){var i=qr(n),o=i.name,a=i.dynamic;e.slotTarget=o,e.slotTargetDynamic=a,e.slotScope=n.value||Mr}}else{var n=Et(e,Er);if(n){var s=e.scopedSlots||(e.scopedSlots={}),c=qr(n),u=c.name,a=c.dynamic,l=s[u]=Rr("template",[],e);l.slotTarget=u,l.slotTargetDynamic=a,l.children=e.children.filter(function(e){if(!e.slotScope)return e.parent=l,!0}),l.slotScope=n.value||Mr,e.children=[],e.plain=!1}}}(e),function(e){"slot"===e.tag&&(e.slotName=jt(e,"name"))}(e),function(e){var t;(t=jt(e,"is"))&&(e.component=t);null!=Pt(e,"inline-template")&&(e.inlineTemplate=!0)}(e);for(var i=0;i<yr.length;i++)e=yr[i](e,t)||e;return function(e){var t,r,n,i,o,a,s,c,u=e.attrsList;for(t=0,r=u.length;t<r;t++)if(n=i=u[t].name,o=u[t].value,Ar.test(n))if(e.hasBindings=!0,(a=Jr(n.replace(Ar,"")))&&(n=n.replace(Pr,"")),jr.test(n))n=n.replace(jr,""),o=gt(o),(c=Tr.test(n))&&(n=n.slice(1,-1)),a&&(a.prop&&!c&&"innerHtml"===(n=g(n))&&(n="innerHTML"),a.camel&&!c&&(n=g(n)),a.sync&&(s=ur(o,"$event"),c?Ft(e,'"update:"+('+n+")",s,null,!1,0,u[t],!0):(Ft(e,"update:"+g(n),s,null,!1,0,u[t]),w(n)!==g(n)&&Ft(e,"update:"+w(n),s,null,!1,0,u[t])))),a&&a.prop||!e.component&&wr(e.tag,e.attrsMap.type,n)?At(e,n,o,u[t],c):kt(e,n,o,u[t],c);else if($r.test(n))n=n.replace($r,""),(c=Tr.test(n))&&(n=n.slice(1,-1)),Ft(e,n,o,a,!1,0,u[t],c);else{var l=(n=n.replace(Ar,"")).match(Fr),f=l&&l[1];c=!1,f&&(n=n.slice(0,-(f.length+1)),Tr.test(f)&&(f=f.slice(1,-1),c=!0)),Ct(e,n,i,o,f,c,a,u[t])}else kt(e,n,JSON.stringify(o),u[t]),!e.component&&"muted"===n&&wr(e.tag,e.attrsMap.type,n)&&At(e,n,"true",u[t])}(e),e}function Ur(e){var t;if(t=Pt(e,"v-for")){var r=function(e){var t=e.match(kr);if(!t)return;var r={};r.for=t[2].trim();var n=t[1].trim().replace(Cr,""),i=n.match(Or);i?(r.alias=n.replace(Or,"").trim(),r.iterator1=i[1].trim(),i[2]&&(r.iterator2=i[2].trim())):r.alias=n;return r}(t);r&&x(e,r)}}function Br(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function qr(e){var t=e.name.replace(Er,"");return t||"#"!==e.name[0]&&(t="default"),Tr.test(t)?{name:t.slice(1,-1),dynamic:!0}:{name:'"'+t+'"',dynamic:!1}}function Jr(e){var t=e.match(Pr);if(t){var r={};return t.forEach(function(e){r[e.slice(1)]=!0}),r}}function Hr(e){for(var t={},r=0,n=e.length;r<n;r++)t[e[r].name]=e[r].value;return t}var Kr=/^xmlns:NS\d+/,Vr=/^NS\d+:/;function Wr(e){return Rr(e.tag,e.attrsList.slice(),e.parent)}var Zr=[It,Bt,{preTransformNode:function(e,t){if("input"===e.tag){var r=e.attrsMap;if(!r["v-model"])return;var n=void 0;if((r[":type"]||r["v-bind:type"])&&(n=jt(e,"type")),r.type||n||!r["v-bind"]||(n="("+r["v-bind"]+").type"),n){var i=Pt(e,"v-if",!0),o=i?"&&("+i+")":"",a=null!=Pt(e,"v-else",!0),s=Pt(e,"v-else-if",!0),c=Wr(e);Ur(c),Ot(c,"type","checkbox"),zr(c,t),c.processed=!0,c.if="("+n+")==='checkbox'"+o,Br(c,{exp:c.if,block:c});var u=Wr(e);Pt(u,"v-for",!0),Ot(u,"type","radio"),zr(u,t),Br(c,{exp:"("+n+")==='radio'"+o,block:u});var l=Wr(e);return Pt(l,"v-for",!0),Ot(l,":type",n),zr(l,t),Br(c,{exp:i,block:l}),a?c.else=!0:s&&(c.elseif=s),c}}}}],Xr="__r";var Gr={expectHTML:!0,modules:Zr,directives:{model:function(e,t,r){var n=t.value,i=t.modifiers,o=e.tag,a=e.attrsMap.type;if(e.component)return cr(e,n,i),!1;if("select"===o)!function(e,t,r){var n='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r&&r.number?"_n(val)":"val")+"});";n=n+" "+ur(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),Ft(e,"change",n,null,!0)}(e,n,i);else if("input"===o&&"checkbox"===a)!function(e,t,r){var n=r&&r.number,i=jt(e,"value")||"null",o=jt(e,"true-value")||"true",a=jt(e,"false-value")||"false";At(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),Ft(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(n?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+ur(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+ur(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+ur(t,"$$c")+"}",null,!0)}(e,n,i);else if("input"===o&&"radio"===a)!function(e,t,r){var n=r&&r.number,i=jt(e,"value")||"null";At(e,"checked","_q("+t+","+(i=n?"_n("+i+")":i)+")"),Ft(e,"change",ur(t,i),null,!0)}(e,n,i);else{if("input"!==o&&"textarea"!==o)return cr(e,n,i),!1;!function(e,t,r){var n=e.attrsMap.type,i=r||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==n,u=o?"change":"range"===n?Xr:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=ur(t,l);c&&(f="if($event.target.composing)return;"+f),At(e,"value","("+t+")"),Ft(e,u,f,null,!0),(s||a)&&Ft(e,"blur","$forceUpdate()")}(e,n,i)}return!0},text:function(e,t){t.value&&At(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&At(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:ot,mustUseProp:function(e,t,r){return"value"===r&&R(e)&&"button"!==t||"selected"===r&&"option"===e||"checked"===r&&"input"===e||"muted"===r&&"video"===e},canBeLeftOpenTag:at,isReservedTag:function(e){return We(e)||Ze(e)},getTagNamespace:function(e){return Ze(e)?"svg":"math"===e?"math":void 0},staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(Zr)},Qr=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,Yr=/\([^)]*?\);*$/,en=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,tn={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},rn={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},nn=function(e){return"if("+e+")return null;"},on={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:nn("$event.target !== $event.currentTarget"),ctrl:nn("!$event.ctrlKey"),shift:nn("!$event.shiftKey"),alt:nn("!$event.altKey"),meta:nn("!$event.metaKey"),left:nn("'button' in $event && $event.button !== 0"),middle:nn("'button' in $event && $event.button !== 1"),right:nn("'button' in $event && $event.button !== 2")};function an(e,t){var r=t?"nativeOn:":"on:",n="",i="";for(var o in e){var a=sn(e[o]);e[o]&&e[o].dynamic?i+=o+","+a+",":n+='"'+o+'":'+a+","}return n="{"+n.slice(0,-1)+"}",i?r+"_d("+n+",["+i.slice(0,-1)+"])":r+n}function sn(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return sn(e)}).join(",")+"]";var t=en.test(e.value),r=Qr.test(e.value),n=en.test(e.value.replace(Yr,""));if(e.modifiers){var i="",o="",a=[],s=function(t){if(on[t])o+=on[t],tn[t]&&a.push(t);else if("exact"===t){var r=e.modifiers;o+=nn(["ctrl","shift","alt","meta"].filter(function(e){return!r[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(t)};for(var c in e.modifiers)s(c);return a.length&&(i+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(cn).join("&&")+")return null;"}(a)),o&&(i+=o),"function($event){"+i+(t?"return "+e.value+".apply(null, arguments)":r?"return ("+e.value+").apply(null, arguments)":n?"return "+e.value:e.value)+"}"}return t||r?e.value:"function($event){"+(n?"return "+e.value:e.value)+"}"}function cn(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var r=tn[e],n=rn[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(r)+",$event.key,"+JSON.stringify(n)+")"}var un={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(r){return"_b("+r+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:$},ln=function(){return function(e){this.options=e,this.warn=e.warn||St,this.transforms=$t(e.modules,"transformCode"),this.dataGenFns=$t(e.modules,"genData"),this.directives=x(x({},un),e.directives);var t=e.isReservedTag||A;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1}}();function fn(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return pn(e,t);if(e.once&&!e.onceProcessed)return dn(e,t);if(e.for&&!e.forProcessed)return hn(e,t);if(e.if&&!e.ifProcessed)return vn(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var r=e.slotName||'"default"',n=bn(e,t),i="_t("+r+(n?","+n:""),o=e.attrs||e.dynamicAttrs?Sn((e.attrs||[]).concat(e.dynamicAttrs||[]).map(function(e){return{name:g(e.name),value:e.value,dynamic:e.dynamic}})):null,a=e.attrsMap["v-bind"];!o&&!a||n||(i+=",null");o&&(i+=","+o);a&&(i+=(o?"":",null")+","+a);return i+")"}(e,t);var r=void 0;if(e.component)r=function(e,t,r){var n=t.inlineTemplate?null:bn(t,r,!0);return"_c("+e+","+mn(t,r)+(n?","+n:"")+")"}(e.component,e,t);else{var n=void 0;(!e.plain||e.pre&&t.maybeComponent(e))&&(n=mn(e,t));var i=e.inlineTemplate?null:bn(e,t,!0);r="_c('"+e.tag+"'"+(n?","+n:"")+(i?","+i:"")+")"}for(var o=0;o<t.transforms.length;o++)r=t.transforms[o](e,r);return r}return bn(e,t)||"void 0"}function pn(e,t){e.staticProcessed=!0;var r=t.pre;return e.pre&&(t.pre=e.pre),t.staticRenderFns.push("with(this){return "+fn(e,t)+"}"),t.pre=r,"_m("+(t.staticRenderFns.length-1)+(e.staticInFor?",true":"")+")"}function dn(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return vn(e,t);if(e.staticInFor){for(var r="",n=e.parent;n;){if(n.for){r=n.key;break}n=n.parent}return r?"_o("+fn(e,t)+","+t.onceId+++","+r+")":fn(e,t)}return pn(e,t)}function vn(e,t,r,n){return e.ifProcessed=!0,function e(t,r,n,i){if(!t.length)return i||"_e()";var o=t.shift();return o.exp?"("+o.exp+")?"+a(o.block)+":"+e(t,r,n,i):""+a(o.block);function a(e){return n?n(e,r):e.once?dn(e,r):fn(e,r)}}(e.ifConditions.slice(),t,r,n)}function hn(e,t,r,n){var i=e.for,o=e.alias,a=e.iterator1?","+e.iterator1:"",s=e.iterator2?","+e.iterator2:"";return e.forProcessed=!0,(n||"_l")+"(("+i+"),function("+o+a+s+"){return "+(r||fn)(e,t)+"})"}function mn(e,t){var r="{",n=function(e,t){var r=e.directives;if(!r)return;var n,i,o,a,s="directives:[",c=!1;for(n=0,i=r.length;n<i;n++){o=r[n],a=!0;var u=t.directives[o.name];u&&(a=!!u(e,o,t.warn)),a&&(c=!0,s+='{name:"'+o.name+'",rawName:"'+o.rawName+'"'+(o.value?",value:("+o.value+"),expression:"+JSON.stringify(o.value):"")+(o.arg?",arg:"+(o.isDynamicArg?o.arg:'"'+o.arg+'"'):"")+(o.modifiers?",modifiers:"+JSON.stringify(o.modifiers):"")+"},")}if(c)return s.slice(0,-1)+"]"}(e,t);n&&(r+=n+","),e.key&&(r+="key:"+e.key+","),e.ref&&(r+="ref:"+e.ref+","),e.refInFor&&(r+="refInFor:true,"),e.pre&&(r+="pre:true,"),e.component&&(r+='tag:"'+e.tag+'",');for(var i=0;i<t.dataGenFns.length;i++)r+=t.dataGenFns[i](e);if(e.attrs&&(r+="attrs:"+Sn(e.attrs)+","),e.props&&(r+="domProps:"+Sn(e.props)+","),e.events&&(r+=an(e.events,!1)+","),e.nativeEvents&&(r+=an(e.nativeEvents,!0)+","),e.slotTarget&&!e.slotScope&&(r+="slot:"+e.slotTarget+","),e.scopedSlots&&(r+=function(e,t,r){var n=e.for||Object.keys(t).some(function(e){var r=t[e];return r.slotTargetDynamic||r.if||r.for||yn(r)}),i=!!e.if;if(!n)for(var o=e.parent;o;){if(o.slotScope&&o.slotScope!==Mr||o.for){n=!0;break}o.if&&(i=!0),o=o.parent}var a=Object.keys(t).map(function(e){return gn(t[e],r)}).join(",");return"scopedSlots:_u(["+a+"]"+(n?",null,true":"")+(!n&&i?",null,false,"+function(e){var t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return t>>>0}(a):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(r+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var o=function(e,t){var r=e.children[0];if(r&&1===r.type){var n=function(e,t){var r=new ln(t);return{render:"with(this){return "+(e?"script"===e.tag?"null":fn(e,r):'_c("div")')+"}",staticRenderFns:r.staticRenderFns}}(r,t.options);return"inlineTemplate:{render:function(){"+n.render+"},staticRenderFns:["+n.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}(e,t);o&&(r+=o+",")}return r=r.replace(/,$/,"")+"}",e.dynamicAttrs&&(r="_b("+r+',"'+e.tag+'",'+Sn(e.dynamicAttrs)+")"),e.wrapData&&(r=e.wrapData(r)),e.wrapListeners&&(r=e.wrapListeners(r)),r}function yn(e){return 1===e.type&&("slot"===e.tag||e.children.some(yn))}function gn(e,t){var r=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!r)return vn(e,t,gn,"null");if(e.for&&!e.forProcessed)return hn(e,t,gn);var n=e.slotScope===Mr?"":String(e.slotScope),i="function("+n+"){return "+("template"===e.tag?e.if&&r?"("+e.if+")?"+(bn(e,t)||"undefined")+":undefined":bn(e,t)||"undefined":fn(e,t))+"}",o=n?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+i+o+"}"}function bn(e,t,r,n,i){var o=e.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=r?t.maybeComponent(a)?",1":",0":"";return""+(n||fn)(a,t)+s}var c=r?function(e,t){for(var r=0,n=0;n<e.length;n++){var i=e[n];if(1===i.type){if(_n(i)||i.ifConditions&&i.ifConditions.some(function(e){return _n(e.block)})){r=2;break}(t(i)||i.ifConditions&&i.ifConditions.some(function(e){return t(e.block)}))&&(r=1)}}return r}(o,t.maybeComponent):0,u=i||wn;return"["+o.map(function(e){return u(e,t)}).join(",")+"]"+(c?","+c:"")}}function _n(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function wn(e,t){return 1===e.type?fn(e,t):3===e.type&&e.isComment?(r=e,"_e("+JSON.stringify(r.text)+")"):xn(e);var r}function xn(e){return"_v("+(2===e.type?e.expression:$n(JSON.stringify(e.text)))+")"}function Sn(e){for(var t="",r="",n=0;n<e.length;n++){var i=e[n],o=$n(i.value);i.dynamic?r+=i.name+","+o+",":t+='"'+i.name+'":'+o+","}return t="{"+t.slice(0,-1)+"}",r?"_d("+t+",["+r.slice(0,-1)+"])":t}function $n(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}var An=/^"(?:[^"\\]|\\.)*"$|^'(?:[^'\\]|\\.)*'$/;function kn(e,t){return An.test(t)?(t=t.replace(/^'|'$/g,'"'),D(e)&&'"false"'!==t&&(t='"true"'),{type:jn,value:B(e)?" "+e+'="'+e+'"':'""'===t?" "+e:" "+e+'="'+JSON.parse(t)+'"'}):{type:En,value:"_ssrAttr("+JSON.stringify(e)+","+t+")"}}var On,Cn={FALSE:0,FULL:1,SELF:2,CHILDREN:3,PARTIAL:4};function Tn(e,t){e&&(On=t.isReservedTag||A,function e(t,r){if(function(e){if(2===e.type||3===e.type)return!1;return p(e.tag)||!On(e.tag)||!!e.component||function(e){return 1===e.type&&"select"===e.tag&&null!=e.directives&&e.directives.some(function(e){return"model"===e.name})}(e)}(t))return void(t.ssrOptimizability=Cn.FALSE);var n=r||function(e){return 1===e.type&&e.directives&&e.directives.some(function(e){return!Fn(e.name)})}(t);var i=function(e){e.ssrOptimizability!==Cn.FULL&&(t.ssrOptimizability=n?Cn.PARTIAL:Cn.SELF)};n&&(t.ssrOptimizability=Cn.CHILDREN);if(1===t.type){for(var o=0,a=t.children.length;o<a;o++){var s=t.children[o];e(s),i(s)}if(t.ifConditions)for(var o=1,a=t.ifConditions.length;o<a;o++){var c=t.ifConditions[o].block;e(c,r),i(c)}null==t.ssrOptimizability||!r&&(t.attrsMap["v-html"]||t.attrsMap["v-text"])?t.ssrOptimizability=Cn.FULL:t.children=function(e){for(var t=e.children,r=[],n=[],i=function(){n.length&&r.push({type:1,parent:e,tag:"template",attrsList:[],attrsMap:{},rawAttrsMap:{},children:n,ssrOptimizability:Cn.FULL}),n=[]},o=0;o<t.length;o++){var a=t[o];a.ssrOptimizability===Cn.FULL?n.push(a):(i(),r.push(a))}return i(),r}(t)}else t.ssrOptimizability=Cn.FULL}(e,!0))}var Fn=f("text,html,show,on,bind,model,pre,cloak,once");var jn=0,Pn=1,En=2;function Nn(e,t){if(e.for&&!e.forProcessed)return hn(e,t,Nn);if(e.if&&!e.ifProcessed)return vn(e,t,Nn);if("template"===e.tag&&!e.slotTarget)return e.ssrOptimizability===Cn.FULL?Rn(e,t):Ln(e,t)||"void 0";switch(e.ssrOptimizability){case Cn.FULL:return function(e,t){return"_ssrNode("+Dn(e,t)+")"}(e,t);case Cn.SELF:return function(e,t){var r=Ln(e,t,!0);return"_ssrNode("+qn(Un(e,t))+',"</'+e.tag+'>"'+(r?","+r:"")+")"}(e,t);case Cn.CHILDREN:return In(e,t,!0);case Cn.PARTIAL:return In(e,t,!1);default:return fn(e,t)}}function In(e,t,r){var n=e.plain?void 0:mn(e,t),i=r?"["+Rn(e,t)+"]":Ln(e,t,!0);return"_c('"+e.tag+"'"+(n?","+n:"")+(i?","+i:"")+")"}function Ln(e,t,r){return bn(e,t,r,Nn,Mn)}function Mn(e,t){return 1===e.type?Nn(e,t):xn(e)}function Rn(e,t){return e.children.length?"_ssrNode("+qn(Bn(e,t))+")":""}function Dn(e,t){return"("+qn(zn(e,t))+")"}function zn(e,t){if(e.for&&!e.forProcessed)return e.forProcessed=!0,[{type:En,value:hn(e,t,Dn,"_ssrList")}];if(e.if&&!e.ifProcessed)return e.ifProcessed=!0,[{type:En,value:vn(e,t,Dn,'"\x3c!----\x3e"')}];if("template"===e.tag)return Bn(e,t);var r=Un(e,t),n=Bn(e,t),i=t.options.isUnaryTag,o=i&&i(e.tag)?[]:[{type:jn,value:"</"+e.tag+">"}];return r.concat(n,o)}function Un(e,t){var r;!function(e,t){if(e.directives)for(var r=0;r<e.directives.length;r++){var n=e.directives[r];if("model"===n.name){t.directives.model(e,n,t.warn),"textarea"===e.tag&&e.props&&(e.props=e.props.filter(function(e){return"value"!==e.name}));break}}}(e,t);var n,i,o,a,s,c,u=[{type:jn,value:"<"+e.tag}];return e.attrs&&u.push.apply(u,e.attrs.map(function(e){return kn(e.name,e.value)})),e.props&&u.push.apply(u,function(e,t){var r=[];return e.forEach(function(e){var n=e.name,i=e.value;n=E[n]||n.toLowerCase(),!P(n)||t&&t.some(function(e){return e.name===n})||r.push(kn(n,i))}),r}(e.props,e.attrs)),(r=e.attrsMap["v-bind"])&&u.push({type:En,value:"_ssrAttrs("+r+")"}),(r=e.attrsMap["v-bind.prop"])&&u.push({type:En,value:"_ssrDOMProps("+r+")"}),(e.staticClass||e.classBinding)&&u.push.apply(u,(n=e.staticClass,i=e.classBinding,n&&!i?[{type:jn,value:' class="'+JSON.parse(n)+'"'}]:[{type:En,value:"_ssrClass("+(n||"null")+","+(i||"null")+")"}])),(e.staticStyle||e.styleBinding||e.attrsMap["v-show"])&&u.push.apply(u,(o=e.attrsMap.style,a=e.staticStyle,s=e.styleBinding,c=e.attrsMap["v-show"],!o||s||c?[{type:En,value:"_ssrStyle("+(a||"null")+","+(s||"null")+", "+(c?"{ display: ("+c+") ? '' : 'none' }":"null")+")"}]:[{type:jn,value:" style="+JSON.stringify(o)}])),t.options.scopeId&&u.push({type:jn,value:" "+t.options.scopeId}),u.push({type:jn,value:">"}),u}function Bn(e,t){var r;return(r=e.attrsMap["v-html"])?[{type:En,value:"_s("+r+")"}]:(r=e.attrsMap["v-text"])?[{type:Pn,value:"_s("+r+")"}]:"textarea"===e.tag&&(r=e.attrsMap["v-model"])?[{type:Pn,value:"_s("+r+")"}]:e.children?function(e,t){for(var r=[],n=0;n<e.length;n++){var i=e[n];if(1===i.type)r.push.apply(r,zn(i,t));else if(2===i.type)r.push({type:Pn,value:i.expression});else if(3===i.type){var o=I(i.text);i.isComment&&(o="\x3c!--"+o+"--\x3e"),r.push({type:jn,value:o})}}return r}(e.children,t):[]}function qn(e){for(var t=[],r="",n=function(){r&&(t.push(JSON.stringify(r)),r="")},i=0;i<e.length;i++){var o=e[i];o.type===jn?r+=o.value:o.type===Pn?(n(),t.push("_ssrEscape("+o.value+")")):o.type===En&&(n(),t.push("("+o.value+")"))}return n(),t.join("+")}function Jn(e,t){try{return new Function(e)}catch(r){return t.push({err:r,code:e}),$}}function Hn(e){var t=Object.create(null);return function(r,n,i){(n=x({},n)).warn,delete n.warn;var o=n.delimiters?String(n.delimiters)+r:r;if(t[o])return t[o];var a=e(r,n),s={},c=[];return s.render=Jn(a.render,c),s.staticRenderFns=a.staticRenderFns.map(function(e){return Jn(e,c)}),t[o]=s}}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b");var Kn,Vn=(Kn=function(e,t){var r=Dr(e.trim(),t);Tn(r,t);var n=function(e,t){var r=new ln(t);return{render:"with(this){return "+(e?Nn(e,r):'_c("div")')+"}",staticRenderFns:r.staticRenderFns}}(r,t);return{ast:r,render:n.render,staticRenderFns:n.staticRenderFns}},function(e){function t(t,r){var n=Object.create(e),i=[],o=[];if(r)for(var a in r.modules&&(n.modules=(e.modules||[]).concat(r.modules)),r.directives&&(n.directives=x(Object.create(e.directives||null),r.directives)),r)"modules"!==a&&"directives"!==a&&(n[a]=r[a]);n.warn=function(e,t,r){(r?o:i).push(e)};var s=Kn(t.trim(),n);return s.errors=i,s.tips=o,s}return{compile:t,compileToFunctions:Hn(t)}})(Gr).compileToFunctions;function Wn(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function Zn(e){return o(e)?[V(e)]:Array.isArray(e)?function e(t,a){var s=[];var c,u,l,f;for(c=0;c<t.length;c++)r(u=t[c])||"boolean"==typeof u||(l=s.length-1,f=s[l],Array.isArray(u)?u.length>0&&(Xn((u=e(u,(a||"")+"_"+c))[0])&&Xn(f)&&(s[l]=V(f.text+u[0].text),u.shift()),s.push.apply(s,u)):o(u)?Xn(f)?s[l]=V(f.text+u):""!==u&&s.push(V(u)):Xn(u)&&Xn(f)?s[l]=V(f.text+u.text):(i(t._isVList)&&n(u.tag)&&r(u.key)&&n(a)&&(u.key="__vlist"+a+"_"+c+"__"),s.push(u)));return s}(e):void 0}function Xn(e){return n(e)&&n(e.text)&&!1===e.isComment}var Gn={_ssrEscape:I,_ssrNode:function(e,t,r,n){return new Qn(e,t,r,n)},_ssrList:function(e,t){var r,n,i,o,s="";if(Array.isArray(e)||"string"==typeof e)for(r=0,n=e.length;r<n;r++)s+=t(e[r],r);else if("number"==typeof e)for(r=0;r<e;r++)s+=t(r+1,r);else if(a(e))for(i=Object.keys(e),r=0,n=i.length;r<n;r++)o=i[r],s+=t(e[o],o,r);return s},_ssrAttr:J,_ssrAttrs:function(e){var t="";for(var r in e)j(r)||(t+=J(r,e[r]));return t},_ssrDOMProps:function(e){var t="";for(var r in e){var n=E[r]||r.toLowerCase();P(n)&&(t+=J(n,e[r]))}return t},_ssrClass:function(e,t){var r=He(e,t);return""===r?r:' class="'+I(r)+'"'},_ssrStyle:function(e,t,r){var n={};e&&x(n,e);t&&x(n,Qe(t));r&&x(n,r);var i=Ye(n);return""===i?i:" style="+JSON.stringify(I(i))}};var Qn=function(){return function(e,t,r,n){this.isString=!0,this.open=e,this.close=t,this.children=r?1===n?Wn(r):2===n?Zn(r):r:void 0}}();var Yn=new ae;function ei(e){!function e(t,r){var n,i;var o=Array.isArray(t);if(!o&&!a(t)||Object.isFrozen(t)||t instanceof H)return;if(t.__ob__){var s=t.__ob__.dep.id;if(r.has(s))return;r.add(s)}if(o)for(n=t.length;n--;)e(t[n],r);else for(i=Object.keys(t),n=i.length;n--;)e(t[i[n]],r)}(e,Yn),Yn.clear()}var ti=m(function(e){var t="&"===e.charAt(0),r="~"===(e=t?e.slice(1):e).charAt(0),n="!"===(e=r?e.slice(1):e).charAt(0);return{name:e=n?e.slice(1):e,once:r,capture:n,passive:t}});function ri(e,t){function r(){var e=arguments,n=r.fns;if(!Array.isArray(n))return De(n,null,arguments,t,"v-on handler");for(var i=n.slice(),o=0;o<i.length;o++)De(i[o],null,e,t,"v-on handler")}return r.fns=e,r}function ni(e,t,r,i,o){if(n(t)){if(h(t,r))return e[r]=t[r],o||delete t[r],!0;if(h(t,i))return e[r]=t[i],o||delete t[i],!0}return!1}var ii,oi=1,ai=2;function si(e,t,s,c,u,l){return(Array.isArray(s)||o(s))&&(u=c,c=s,s=void 0),i(l)&&(u=ai),function(e,t,o,s,c){if(n(o)&&n(o.__ob__))return K();n(o)&&n(o.is)&&(t=o.is);if(!t)return K();Array.isArray(s)&&"function"==typeof s[0]&&((o=o||{}).scopedSlots={default:s[0]},s.length=0);c===ai?s=Zn(s):c===oi&&(s=Wn(s));var u,l;if("string"==typeof t){var f=void 0;l=e.$vnode&&e.$vnode.ns||le.getTagNamespace(t),u=o&&o.pre||!n(f=Pe(e.$options,"components",t))?new H(t,o,s,void 0,void 0,e):zi(f,o,e,s,t)}else u=zi(t,o,e,s);return Array.isArray(u)?u:n(u)?(n(l)&&function e(t,o,a){t.ns=o;"foreignObject"===t.tag&&(o=void 0,a=!0);if(n(t.children))for(var s=0,c=t.children.length;s<c;s++){var u=t.children[s];n(u.tag)&&(r(u.ns)||i(a)&&"svg"!==u.tag)&&e(u,o,a)}}(u,l),n(o)&&function(e){a(e.style)&&ei(e.style);a(e.class)&&ei(e.class)}(o),u):K()}(e,t,s,c,u)}function ci(e,t){var r,i,o,s,c=null;if(Array.isArray(e)||"string"==typeof e)for(c=new Array(e.length),r=0,i=e.length;r<i;r++)c[r]=t(e[r],r);else if("number"==typeof e)for(c=new Array(e),r=0;r<e;r++)c[r]=t(r+1,r);else if(a(e))if(se&&e[Symbol.iterator]){c=[];for(var u=e[Symbol.iterator](),l=u.next();!l.done;)c.push(t(l.value,c.length)),l=u.next()}else for(o=Object.keys(e),c=new Array(o.length),r=0,i=o.length;r<i;r++)s=o[r],c[r]=t(e[s],s,r);return n(c)||(c=[]),c._isVList=!0,c}function ui(e,t,r,n){var i,o=this.$scopedSlots[e];o?(r=r||{},n&&(r=x(x({},n),r)),i=o(r)||t):i=this.$slots[e]||t;var a=r&&r.slot;return a?this.$createElement("template",{slot:a},i):i}function li(e){return Pe(this.$options,"filters",e)||k}function fi(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function pi(e,t,r,n,i){var o=le.keyCodes[t]||r;return i&&n&&!le.keyCodes[t]?fi(i,n):o?fi(o,e):n?w(n)!==t:void 0}function di(e,t,r,n,i){if(r)if(a(r)){Array.isArray(r)&&(r=S(r));var o=void 0,s=function(a){if("class"===a||"style"===a||d(a))o=e;else{var s=e.attrs&&e.attrs.type;o=n||le.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var c=g(a),u=w(a);c in o||u in o||(o[a]=r[a],i&&((e.on||(e.on={}))["update:"+a]=function(e){r[a]=e}))};for(var c in r)s(c)}else;return e}function vi(e,t){var r=this._staticTrees||(this._staticTrees=[]),n=r[e];return n&&!t?n:(mi(n=r[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),n)}function hi(e,t,r){return mi(e,"__once__"+t+(r?"_"+r:""),!0),e}function mi(e,t,r){if(Array.isArray(e))for(var n=0;n<e.length;n++)e[n]&&"string"!=typeof e[n]&&yi(e[n],t+"_"+n,r);else yi(e,t,r)}function yi(e,t,r){e.isStatic=!0,e.key=t,e.isOnce=r}function gi(e,t){if(t)if(c(t)){var r=e.on=e.on?x({},e.on):{};for(var n in t){var i=r[n],o=t[n];r[n]=i?[].concat(i,o):o}}else;return e}function bi(e,t,r,n){t=t||{$stable:!r};for(var i=0;i<e.length;i++){var o=e[i];Array.isArray(o)?bi(o,t,r):o&&(o.proxy&&(o.fn.proxy=!0),t[o.key]=o.fn)}return n&&(t.$key=n),t}function _i(e,t){for(var r=0;r<t.length;r+=2){var n=t[r];"string"==typeof n&&n&&(e[t[r]]=t[r+1])}return e}function wi(e,t){return"string"==typeof e?t+e:e}function xi(e,t){if(!e||!e.length)return{};for(var r={},n=0,i=e.length;n<i;n++){var o=e[n],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==t&&o.fnContext!==t||!a||null==a.slot)(r.default||(r.default=[])).push(o);else{var s=a.slot,c=r[s]||(r[s]=[]);"template"===o.tag?c.push.apply(c,o.children||[]):c.push(o)}}for(var u in r)r[u].every(Si)&&delete r[u];return r}function Si(e){return e.isComment&&!e.asyncFactory||" "===e.text}function $i(e,r,n){var i,o=Object.keys(r).length>0,a=e?!!e.$stable:!o,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&n&&n!==t&&s===n.$key&&!o&&!n.$hasNormal)return n;for(var c in i={},e)e[c]&&"$"!==c[0]&&(i[c]=Ai(r,c,e[c]))}else i={};for(var u in r)u in i||(i[u]=ki(r,u));return e&&Object.isExtensible(e)&&(e._normalized=i),Z(i,"$stable",a),Z(i,"$key",s),Z(i,"$hasNormal",o),i}function Ai(e,t,r){var n=function(){var e=arguments.length?r.apply(null,arguments):r({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:Zn(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return r.proxy&&Object.defineProperty(e,t,{get:n,enumerable:!0,configurable:!0}),n}function ki(e,t){return function(){return e[t]}}function Oi(e,t){ii.$on(e,t)}function Ci(e,t){ii.$off(e,t)}function Ti(e,t){var r=ii;return function n(){null!==t.apply(null,arguments)&&r.$off(e,n)}}function Fi(e,t,n){ii=e,function(e,t,n,o,a,s){var c,u,l,f;for(c in e)u=e[c],l=t[c],f=ti(c),r(u)||(r(l)?(r(u.fns)&&(u=e[c]=ri(u,s)),i(f.once)&&(u=e[c]=a(f.name,u,f.capture)),n(f.name,u,f.capture,f.passive,f.params)):u!==l&&(l.fns=u,e[c]=l));for(c in t)r(e[c])&&o((f=ti(c)).name,t[c],f.capture)}(t,n||{},Oi,Ci,Ti,e),ii=void 0}function ji(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function Pi(e,t){ve();var r=e.$options[t],n=t+" hook";if(r)for(var i=0,o=r.length;i<o;i++)De(r[i],e,null,e,n);e._hasHookEvent&&e.$emit("hook:"+t),he()}var Ei=Date.now;if(G&&!ee){var Ni=window.performance;Ni&&"function"==typeof Ni.now&&Ei()>document.createEvent("Event").timeStamp&&(Ei=function(){return Ni.now()})}function Ii(e,r,n,o,a){var s,c=this,u=a.options;h(o,"_uid")?(s=Object.create(o))._original=o:(s=o,o=o._original);var l=i(u._compiled),f=!l;this.data=e,this.props=r,this.children=n,this.parent=o,this.listeners=e.on||t,this.injections=function(e,t){if(e){for(var r=Object.create(null),n=se?Reflect.ownKeys(e):Object.keys(e),i=0;i<n.length;i++){var o=n[i];if("__ob__"!==o){for(var a=e[o].from,s=t;s;){if(s._provided&&h(s._provided,a)){r[o]=s._provided[a];break}s=s.$parent}if(!s&&"default"in e[o]){var c=e[o].default;r[o]="function"==typeof c?c.call(t):c}}}return r}}(u.inject,o),this.slots=function(){return c.$slots||$i(e.scopedSlots,c.$slots=xi(n,o)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return $i(e.scopedSlots,this.slots())}}),l&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=$i(e.scopedSlots,this.$slots)),u._scopeId?this._c=function(e,t,r,n){var i=si(s,e,t,r,n,f);return i&&!Array.isArray(i)&&(i.fnScopeId=u._scopeId,i.fnContext=o),i}:this._c=function(e,t,r,n){return si(s,e,t,r,n,f)}}function Li(e,t,r,n,i){var o=function(e){var t=new H(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}(e);return o.fnContext=r,o.fnOptions=n,t.slot&&((o.data||(o.data={})).slot=t.slot),o}function Mi(e,t){for(var r in t)e[g(r)]=t[r]}!function(e){e._o=hi,e._n=l,e._s=u,e._l=ci,e._t=ui,e._q=O,e._i=C,e._m=vi,e._f=li,e._k=pi,e._b=di,e._v=V,e._e=K,e._u=bi,e._g=gi,e._d=_i,e._p=wi}(Ii.prototype);var Ri={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var r=e;Ri.prepatch(r,r)}else{(e.componentInstance=Ui(e,null)).$mount(t?e.elm:void 0,t)}},prepatch:function(e,r){var n=r.componentOptions;!function(e,r,n,i,o){var a=i.data.scopedSlots,s=e.$scopedSlots,c=!!(a&&!a.$stable||s!==t&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key),u=!!(o||e.$options._renderChildren||c);if(e.$options._parentVnode=i,e.$vnode=i,e._vnode&&(e._vnode.parent=i),e.$options._renderChildren=o,e.$attrs=i.data.attrs||t,e.$listeners=n||t,r&&e.$options.props){_e(!1);for(var l=e._props,f=e.$options._propKeys||[],p=0;p<f.length;p++){var d=f[p],v=e.$options.props;l[d]=Ee(d,v,r,e)}_e(!0),e.$options.propsData=r}n=n||t;var h=e.$options._parentListeners;e.$options._parentListeners=n,Fi(e,n,h),u&&(e.$slots=xi(o,i.context),e.$forceUpdate())}(r.componentInstance=e.componentInstance,n.propsData,n.listeners,r,n.children)},insert:function(e){var t=e.context,r=e.componentInstance;r._isMounted||(r._isMounted=!0,Pi(r,"mounted")),e.data.keepAlive&&(t._isMounted?r._inactive=!1:function e(t,r){if(r){if(t._directInactive=!1,ji(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)e(t.$children[n]);Pi(t,"activated")}}(r,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,r){if(!(r&&(t._directInactive=!0,ji(t))||t._inactive)){t._inactive=!0;for(var n=0;n<t.$children.length;n++)e(t.$children[n]);Pi(t,"deactivated")}}(t,!0):t.$destroy())}},Di=Object.keys(Ri);function zi(e,o,s,c,u){if(!r(e)){var l=s.$options._base;if(a(e)&&(e=l.extend(e)),"function"==typeof e){var f,p;if(r(e.cid)&&void 0===(e=i((p=f=e).error)&&n(p.errorComp)?p.errorComp:n(p.resolved)?p.resolved:i(p.loading)&&n(p.loadingComp)?p.loadingComp:void 0))return function(e,t,r,n,i){var o=K();return o.asyncFactory=e,o.asyncMeta={data:t,context:r,children:n,tag:i},o}(f,o,s,c,u);o=o||{},function e(t){var r=t.options;if(t.super){var n=e(t.super);if(n!==t.superOptions){t.superOptions=n;var i=function(e){var t,r=e.options,n=e.sealedOptions;for(var i in r)r[i]!==n[i]&&(t||(t={}),t[i]=r[i]);return t}(t);i&&x(t.extendOptions,i),(r=t.options=je(n,t.extendOptions)).name&&(r.components[r.name]=t)}}return r}(e),n(o.model)&&function(e,t){var r=e.model&&e.model.prop||"value",i=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[r]=t.model.value;var o=t.on||(t.on={}),a=o[i],s=t.model.callback;n(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(o[i]=[s].concat(a)):o[i]=s}(e.options,o);var d=function(e,t,i){var o=t.options.props;if(!r(o)){var a={},s=e.attrs,c=e.props;if(n(s)||n(c))for(var u in o){var l=w(u);ni(a,c,u,l,!0)||ni(a,s,u,l,!1)}return a}}(o,e);if(i(e.options.functional))return function(e,r,i,o,a){var s=e.options,c={},u=s.props;if(n(u))for(var l in u)c[l]=Ee(l,u,r||t);else n(i.attrs)&&Mi(c,i.attrs),n(i.props)&&Mi(c,i.props);var f=new Ii(i,c,a,o,e),p=s.render.call(null,f._c,f);if(p instanceof H)return Li(p,i,f.parent,s);if(Array.isArray(p)){for(var d=Zn(p)||[],v=new Array(d.length),h=0;h<d.length;h++)v[h]=Li(d[h],i,f.parent,s);return v}}(e,d,o,s,c);var v=o.on;if(o.on=o.nativeOn,i(e.options.abstract)){var h=o.slot;o={},h&&(o.slot=h)}!function(e){for(var t=e.hook||(e.hook={}),r=0;r<Di.length;r++){var n=Di[r],i=t[n],o=Ri[n];i===o||i&&i._merged||(t[n]=i?Bi(o,i):o)}}(o);var m=e.options.name||u;return new H("vue-component-"+e.cid+(m?"-"+m:""),o,void 0,void 0,void 0,s,{Ctor:e,propsData:d,listeners:v,tag:u,children:c},f)}}}function Ui(e,t){var r={_isComponent:!0,_parentVnode:e,parent:t},i=e.data.inlineTemplate;return n(i)&&(r.render=i.render,r.staticRenderFns=i.staticRenderFns),new e.componentOptions.Ctor(r)}function Bi(e,t){var r=function(r,n){e(r,n),t(r,n)};return r._merged=!0,r}var qi=Object.create(null),Ji=function(e){qi[e]||(qi[e]=!0,console.warn("\n\x1b[31m"+e+"\x1b[39m\n"))},Hi=function(e,t){var r=t?(void 0)():"";throw new Error("\n\x1b[31m"+e+r+"\x1b[39m\n")},Ki=function(e){var t=e.$options,n=t.render,i=t.template,o=t._scopeId;if(r(n)){if(!i)throw new Error("render function or template not defined in component: "+(e.$options.name||e.$options._componentTag||"anonymous"));var a=Vn(i,{scopeId:o,warn:Hi},e);e.$options.render=a.render,e.$options.staticRenderFns=a.staticRenderFns}};function Vi(e,t,r){var i=e.$options.serverPrefetch;if(n(i)){Array.isArray(i)||(i=[i]);try{for(var o=[],a=0,s=i.length;a<s;a++){var c=i[a].call(e,e);c&&"function"==typeof c.then&&o.push(c)}return void Promise.all(o).then(t).catch(r)}catch(e){r(e)}}t()}function Wi(e,t,o){e.isString?function(e,t){var n=t.write,i=t.next;if(r(e.children)||0===e.children.length)n(e.open+(e.close||""),i);else{var o=e.children;t.renderStates.push({type:"Element",children:o,rendered:0,total:o.length,endTag:e.close}),n(e.open,i)}}(e,o):n(e.componentOptions)?Xi(e,t,o):n(e.tag)?function(e,t,o){var a=o.write,s=o.next;i(t)&&(e.data||(e.data={}),e.data.attrs||(e.data.attrs={}),e.data.attrs[ce]="true");e.fnOptions&&Zi(e.fnOptions,a);var c=function(e,t){var i,o="<"+e.tag,a=t.directives,s=t.modules;r(e.data)&&function e(t){var r=t.parent;return n(r)&&(n(r.data)||e(r))}(e)&&(e.data={});if(n(e.data)){var c=e.data.directives;if(c)for(var u=0;u<c.length;u++){var l=c[u].name;if("show"!==l){var f=Pe(t,"directives",l);f&&f(e,c[u])}}var p=function(e){var t,r;for(;n(e);)e.data&&e.data.directives&&(r=e.data.directives.find(function(e){return"show"===e.name}))&&(t=r),e=e.parent;return t}(e);p&&a.show(e,p);for(var u=0;u<s.length;u++){var d=s[u](e);d&&(o+=d)}}var v=t.activeInstance;n(v)&&v!==e.context&&n(i=v.$options._scopeId)&&(o+=" "+i);if(n(e.fnScopeId))o+=" "+e.fnScopeId;else for(;n(e);)n(i=e.context.$options._scopeId)&&(o+=" "+i),e=e.parent;return o+">"}(e,o),u="</"+e.tag+">";if(o.isUnaryTag(e.tag))a(c,s);else if(r(e.children)||0===e.children.length)a(c+u,s);else{var l=e.children;o.renderStates.push({type:"Element",children:l,rendered:0,total:l.length,endTag:u}),a(c,s)}}(e,t,o):i(e.isComment)?n(e.asyncFactory)?function(e,t,r){var n=e.asyncFactory,i=function(n){n.__esModule&&n.default&&(n=n.default);var i=e.asyncMeta,o=i.data,a=i.children,s=i.tag,c=e.asyncMeta.context,u=zi(n,o,c,a,s);u?u.componentOptions?Xi(u,t,r):Array.isArray(u)?(r.renderStates.push({type:"Fragment",children:u,rendered:0,total:u.length}),r.next()):Wi(u,t,r):r.write("\x3c!----\x3e",r.next)};if(n.resolved)return void i(n.resolved);var o,a=r.done;try{o=n(i,a)}catch(e){a(e)}if(o)if("function"==typeof o.then)o.then(i,a).catch(a);else{var s=o.component;s&&"function"==typeof s.then&&s.then(i,a).catch(a)}}(e,t,o):o.write("\x3c!--"+e.text+"--\x3e",o.next):o.write(e.raw?e.text:I(String(e.text)),o.next)}function Zi(e,t){var r=e._ssrRegister;return t.caching&&n(r)&&t.componentBuffer[t.componentBuffer.length-1].add(r),r}function Xi(e,t,i){var o=i.write,a=i.next,s=i.userContext,c=e.componentOptions.Ctor,u=c.options.serverCacheKey,l=c.options.name,f=i.cache,p=Zi(c.options,o);if(n(u)&&n(f)&&n(l)){var d=u(e.componentOptions.propsData);if(!1===d)return void Qi(e,t,i);var v=l+"::"+d,h=i.has,m=i.get;n(h)?h(v,function(r){!0===r&&n(m)?m(v,function(e){n(p)&&p(s),e.components.forEach(function(e){return e(s)}),o(e.html,a)}):Gi(e,t,v,i)}):n(m)&&m(v,function(r){n(r)?(n(p)&&p(s),r.components.forEach(function(e){return e(s)}),o(r.html,a)):Gi(e,t,v,i)})}else n(u)&&r(f)&&Ji("[vue-server-renderer] Component "+(c.options.name||"(anonymous)")+" implemented serverCacheKey, but no cache was provided to the renderer."),n(u)&&r(l)&&Ji('[vue-server-renderer] Components that implement "serverCacheKey" must also define a unique "name" option.'),Qi(e,t,i)}function Gi(e,t,r,n){var i=n.write;i.caching=!0;var o=i.cacheBuffer,a=o.push("")-1,s=i.componentBuffer;s.push(new Set),n.renderStates.push({type:"ComponentWithCache",key:r,buffer:o,bufferIndex:a,componentBuffer:s}),Qi(e,t,n)}function Qi(e,t,r){var n=r.activeInstance;e.ssrContext=r.userContext;var i=r.activeInstance=Ui(e,r.activeInstance);Ki(i);var o=r.done;Vi(i,function(){var o=i._render();o.parent=e,r.renderStates.push({type:"Component",prevActive:n}),Wi(o,t,r)},o)}function Yi(e,t,r,n){return function(i,o,a,s){qi=Object.create(null);var c=new ht({activeInstance:i,userContext:a,write:o,done:s,renderNode:Wi,isUnaryTag:r,modules:e,directives:t,cache:n});!function(e){if(!e._ssrNode){for(var t=e.constructor;t.super;)t=t.super;x(t.prototype,Gn),t.FunctionalRenderContext&&x(t.FunctionalRenderContext.prototype,Gn)}}(i),Ki(i);Vi(i,function(){Wi(i._render(),!0,c)},s)}}var eo=function(e){return/\.js(\?[^.]+)?$/.test(e)};function to(){var e,t;return{promise:new Promise(function(r,n){e=r,t=n}),cb:function(r,n){if(r)return t(r);e(n||"")}}}var ro=function(e){function t(t,r,n){var i=e.call(this)||this;return i.started=!1,i.renderer=t,i.template=r,i.context=n||{},i.inject=t.inject,i}return ut(t,e),t.prototype._transform=function(e,t,r){this.started||(this.emit("beforeStart"),this.start()),this.push(e),r()},t.prototype.start=function(){if(this.started=!0,this.push(this.template.head(this.context)),this.inject){this.context.head&&this.push(this.context.head);var e=this.renderer.renderResourceHints(this.context);e&&this.push(e);var t=this.renderer.renderStyles(this.context);t&&this.push(t)}this.push(this.template.neck(this.context))},t.prototype._flush=function(e){if(this.emit("beforeEnd"),this.inject){var t=this.renderer.renderState(this.context);t&&this.push(t);var r=this.renderer.renderScripts(this.context);r&&this.push(r)}this.push(this.template.tail(this.context)),e()},t}(e.Transform),no=require("lodash.template"),io={escape:/{{([^{][\s\S]+?[^}])}}/g,interpolate:/{{{([\s\S]+?)}}}/g};function oo(e){var t=function(e){var t=new Map;return Object.keys(e.modules).forEach(function(r){t.set(r,function(e,t){var r=[],n=t.modules[e];return n&&n.forEach(function(e){var n=t.all[e];n&&(t.async.indexOf(n)>-1||!/\.(js|css)($|\?)/.test(n))&&r.push(n)}),r}(r,e))}),t}(e);return function(e){for(var r=new Set,n=0;n<e.length;n++){var i=t.get(e[n]);if(i)for(var o=0;o<i.length;o++)r.add(i[o])}return Array.from(r)}}var ao=require("path"),so=require("serialize-javascript"),co=function(){function e(e){this.options=e,this.inject=!1!==e.inject;var t=e.template;if(this.parsedTemplate=t?"string"==typeof t?function(e,t){if(void 0===t&&(t="\x3c!--vue-ssr-outlet--\x3e"),"object"==typeof e)return e;var r=e.indexOf("</head>"),n=e.indexOf(t);if(n<0)throw new Error("Content placeholder not found in template.");return r<0&&(r=e.indexOf("<body>"))<0&&(r=n),{head:no(e.slice(0,r),io),neck:no(e.slice(r,n),io),tail:no(e.slice(n+t.length),io)}}(t):t:null,this.serialize=e.serializer||function(e){return so(e,{isJSON:!0})},e.clientManifest){var r=this.clientManifest=e.clientManifest;this.publicPath=""===r.publicPath?"":r.publicPath.replace(/([^\/])$/,"$1/"),this.preloadFiles=(r.initial||[]).map(uo),this.prefetchFiles=(r.async||[]).map(uo),this.mapFiles=oo(r)}}return e.prototype.bindRenderFns=function(e){var t=this;["ResourceHints","State","Scripts","Styles"].forEach(function(r){e["render"+r]=t["render"+r].bind(t,e)}),e.getPreloadFiles=t.getPreloadFiles.bind(t,e)},e.prototype.render=function(e,t){var r=this.parsedTemplate;if(!r)throw new Error("render cannot be called without a template.");return t=t||{},"function"==typeof r?r(e,t):this.inject?r.head(t)+(t.head||"")+this.renderResourceHints(t)+this.renderStyles(t)+r.neck(t)+e+this.renderState(t)+this.renderScripts(t)+r.tail(t):r.head(t)+r.neck(t)+e+r.tail(t)},e.prototype.renderStyles=function(e){var t=this,r=this.preloadFiles||[],n=this.getUsedAsyncFiles(e)||[],i=r.concat(n).filter(function(e){return function(e){return/\.css(\?[^.]+)?$/.test(e)}(e.file)});return(i.length?i.map(function(e){var r=e.file;return'<link rel="stylesheet" href="'+t.publicPath+r+'">'}).join(""):"")+(e.styles||"")},e.prototype.renderResourceHints=function(e){return this.renderPreloadLinks(e)+this.renderPrefetchLinks(e)},e.prototype.getPreloadFiles=function(e){var t=this.getUsedAsyncFiles(e);return this.preloadFiles||t?(this.preloadFiles||[]).concat(t||[]):[]},e.prototype.renderPreloadLinks=function(e){var t=this,r=this.getPreloadFiles(e),n=this.options.shouldPreload;return r.length?r.map(function(e){var r=e.file,i=e.extension,o=e.fileWithoutQuery,a=e.asType,s="";return n||"script"===a||"style"===a?n&&!n(o,a)?"":("font"===a&&(s=' type="font/'+i+'" crossorigin'),'<link rel="preload" href="'+t.publicPath+r+'"'+(""!==a?' as="'+a+'"':"")+s+">"):""}).join(""):""},e.prototype.renderPrefetchLinks=function(e){var t=this,r=this.options.shouldPrefetch;if(this.prefetchFiles){var n=this.getUsedAsyncFiles(e);return this.prefetchFiles.map(function(e){var i=e.file,o=e.fileWithoutQuery,a=e.asType;return r&&!r(o,a)?"":function(e){return n&&n.some(function(t){return t.file===e})}(i)?"":'<link rel="prefetch" href="'+t.publicPath+i+'">'}).join("")}return""},e.prototype.renderState=function(e,t){var r=t||{},n=r.contextKey,i=void 0===n?"state":n,o=r.windowKey,a=void 0===o?"__INITIAL_STATE__":o,s=this.serialize(e[i]),c=e.nonce?' nonce="'+e.nonce+'"':"";return e[i]?"<script"+c+">window."+a+"="+s+";(function(){var s;(s=document.currentScript||document.scripts[document.scripts.length-1]).parentNode.removeChild(s);}());<\/script>":""},e.prototype.renderScripts=function(e){var t=this;if(this.clientManifest){var r=this.preloadFiles.filter(function(e){var t=e.file;return eo(t)}),n=(this.getUsedAsyncFiles(e)||[]).filter(function(e){var t=e.file;return eo(t)});return[r[0]].concat(n,r.slice(1)).map(function(e){var r=e.file;return'<script src="'+t.publicPath+r+'" defer><\/script>'}).join("")}return""},e.prototype.getUsedAsyncFiles=function(e){if(!e._mappedFiles&&e._registeredComponents&&this.mapFiles){var t=Array.from(e._registeredComponents);e._mappedFiles=this.mapFiles(t).map(uo)}return e._mappedFiles},e.prototype.createStream=function(e){if(!this.parsedTemplate)throw new Error("createStream cannot be called without a template.");return new ro(this,this.parsedTemplate,e||{})},e}();function uo(e){var t=e.replace(/\?.*/,""),r=ao.extname(t).slice(1);return{file:e,extension:r,fileWithoutQuery:t,asType:lo(r)}}function lo(e){return"js"===e?"script":"css"===e?"style":/jpe?g|png|svg|gif|webp|ico/.test(e)?"image":/woff2?|ttf|otf|eot/.test(e)?"font":""}var fo=require("vm"),po=require("path"),vo=require("resolve"),ho=require("module");function mo(e){var t={Buffer:Buffer,console:console,process:process,setTimeout:setTimeout,setInterval:setInterval,setImmediate:setImmediate,clearTimeout:clearTimeout,clearInterval:clearInterval,clearImmediate:clearImmediate,__VUE_SSR_CONTEXT__:e};return t.global=t,t}function yo(e,t,r){var n={},i={};return function o(a,s,c){if(void 0===c&&(c={}),c[a])return c[a];var u=function(t){if(n[t])return n[t];var r=e[t],i=ho.wrap(r),o=new fo.Script(i,{filename:t,displayErrors:!0});return n[t]=o,o}(a),l={exports:{}};(!1===r?u.runInThisContext():u.runInNewContext(s)).call(l.exports,l.exports,function(r){return r=po.posix.join(".",r),e[r]?o(r,s,c):t?require(i[r]||(i[r]=vo.sync(r,{basedir:t}))):require(r)},l);var f=Object.prototype.hasOwnProperty.call(l.exports,"default")?l.exports.default:l.exports;return c[a]=f,f}}function go(e,t,r,n){var i,o,a=yo(t,r,n);return!1!==n&&"once"!==n?function(t){return void 0===t&&(t={}),new Promise(function(r){t._registeredComponents=new Set;var n=a(e,mo(t));r("function"==typeof n?n(t):n)})}:function(t){return void 0===t&&(t={}),new Promise(function(r){if(!i){var s="once"===n?mo():global;if(o=s.__VUE_SSR_CONTEXT__={},i=a(e,s),delete s.__VUE_SSR_CONTEXT__,"function"!=typeof i)throw new Error("bundle export should be a function when using { runInNewContext: false }.")}if(t._registeredComponents=new Set,o._styles){t._styles=function e(t){if(c(t)){var r={};for(var n in t)r[n]=e(t[n]);return r}return Array.isArray(t)?t.slice():t}(o._styles);var u=o._renderStyles;u&&Object.defineProperty(t,"styles",{enumerable:!0,get:function(){return u(t._styles)}})}r(i(t))})}}var bo=require("source-map").SourceMapConsumer,_o=/\(([^)]+\.js):(\d+):(\d+)\)$/;function wo(e,t){e&&"string"==typeof e.stack&&(e.stack=e.stack.split("\n").map(function(e){return function(e,t){var r=e.match(_o),n=r&&t[r[1]];if(null!=r&&n){var i=n.originalPositionFor({line:Number(r[2]),column:Number(r[3])});if(null!=i.source){var o=i.source,a=i.line,s=i.column,c="("+o.replace(/^webpack:\/\/\//,"")+":"+String(a)+":"+String(s)+")";return e.replace(_o,c)}return e}return e}(e,t)}).join("\n"))}var xo=require("fs"),So=require("path"),$o=require("stream").PassThrough,Ao="Invalid server-rendering bundle format. Should be a string or a bundle Object of type:\n\n{\n entry: string;\n files: { [filename: string]: string; };\n maps: { [filename: string]: string; };\n}\n";function ko(e){return void 0===e&&(e={}),function(e){var t=void 0===e?{}:e,r=t.modules,n=void 0===r?[]:r,i=t.directives,o=void 0===i?{}:i,a=t.isUnaryTag,s=void 0===a?function(){return!1}:a,c=t.template,u=t.inject,l=t.cache,f=t.shouldPreload,p=t.shouldPrefetch,d=t.clientManifest,v=t.serializer,h=Yi(n,o,s,l),m=new co({template:c,inject:u,shouldPreload:f,shouldPrefetch:p,clientManifest:d,serializer:v});return{renderToString:function(e,t,r){var n,i;"function"==typeof t&&(r=t,t={}),t&&m.bindRenderFns(t),r||(i=(n=to()).promise,r=n.cb);var o="",a=dt(function(e){return o+=e,!1},r);try{h(e,a,t,function(e){if(e)return r(e);if(t&&t.rendered&&t.rendered(t),c)try{var n=m.render(o,t);"string"!=typeof n?n.then(function(e){return r(null,e)}).catch(r):r(null,n)}catch(e){r(e)}else r(null,o)})}catch(e){r(e)}return i},renderToStream:function(e,t){t&&m.bindRenderFns(t);var r=new vt(function(r,n){h(e,r,t,n)});if(c){if("function"==typeof c)throw new Error("function template is only supported in renderToString.");var n=m.createStream(t);if(r.on("error",function(e){n.emit("error",e)}),r.pipe(n),t&&t.rendered){var i=t.rendered;r.once("beforeEnd",function(){i(t)})}return n}if(t&&t.rendered){var o=t.rendered;r.once("beforeEnd",function(){o(t)})}return r}}}(x(x({},e),{isUnaryTag:ot,canBeLeftOpenTag:at,modules:tt,directives:x(it,e.directives)}))}process.env.VUE_ENV="server";var Oo=function(e){return function(t,r){var n,i,o;void 0===r&&(r={});var a=r.basedir;if("string"==typeof t&&/\.js(on)?$/.test(t)&&So.isAbsolute(t)){if(!xo.existsSync(t))throw new Error("Cannot locate bundle file: "+t);var s=/\.json$/.test(t);if(a=a||So.dirname(t),t=xo.readFileSync(t,"utf-8"),s)try{t=JSON.parse(t)}catch(e){throw new Error("Invalid JSON bundle file: "+t)}}if("object"==typeof t){if(i=t.entry,n=t.files,a=a||t.basedir,o=function(e){var t={};return Object.keys(e).forEach(function(r){t[r]=new bo(e[r])}),t}(t.maps),"string"!=typeof i||"object"!=typeof n)throw new Error(Ao)}else{if("string"!=typeof t)throw new Error(Ao);i="__vue_ssr_bundle__",n={__vue_ssr_bundle__:t},o={}}var c=e(r),u=go(i,n,a,r.runInNewContext);return{renderToString:function(e,t){var r,n;return"function"==typeof e&&(t=e,e={}),t||(n=(r=to()).promise,t=r.cb),u(e).catch(function(e){wo(e,o),t(e)}).then(function(r){r&&c.renderToString(r,e,function(e,r){wo(e,o),t(e,r)})}),n},renderToStream:function(e){var t=new $o;return u(e).catch(function(e){wo(e,o),process.nextTick(function(){t.emit("error",e)})}).then(function(n){if(n){var i=c.renderToStream(n,e);i.on("error",function(e){wo(e,o),t.emit("error",e)}),r&&r.template&&(i.on("beforeStart",function(){t.emit("beforeStart")}),i.on("beforeEnd",function(){t.emit("beforeEnd")})),i.pipe(t)}}),t}}}}(ko);exports.createBundleRenderer=Oo,exports.createRenderer=ko; |