mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-05 05:27:59 +08:00
1 line
82 KiB
JavaScript
1 line
82 KiB
JavaScript
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("stream");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=t(require("he")),n=Object.freeze({});function i(e){return null==e}function o(e){return null!=e}function a(e){return!0===e}function s(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function c(e){return null!==e&&"object"==typeof e}var u=Object.prototype.toString;function l(e){return"[object Object]"===u.call(e)}function f(e){return null==e?"":Array.isArray(e)||l(e)&&e.toString===u?JSON.stringify(e,null,2):String(e)}function p(e){var t=parseFloat(e);return isNaN(t)?e:t}function d(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 v=d("slot,component",!0),h=d("key,ref,slot,slot-scope,is");var m=Object.prototype.hasOwnProperty;function y(e,t){return m.call(e,t)}function g(e){var t=Object.create(null);return function(r){return t[r]||(t[r]=e(r))}}var b=/-(\w)/g,_=g((function(e){return e.replace(b,(function(e,t){return t?t.toUpperCase():""}))})),x=g((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),w=/\B([A-Z])/g,$=g((function(e){return e.replace(w,"-$1").toLowerCase()}));function S(e,t){for(var r in t)e[r]=t[r];return e}function k(e){for(var t={},r=0;r<e.length;r++)e[r]&&S(t,e[r]);return t}function O(e,t,r){}var A=function(e,t,r){return!1},C=function(e){return e};function T(e,t){if(e===t)return!0;var r=c(e),n=c(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 T(e,t[r])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(i||o)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every((function(r){return T(e[r],t[r])}))}catch(e){return!1}}function j(e,t){for(var r=0;r<e.length;r++)if(T(e[r],t))return r;return-1}var F=d("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"),P={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},N={"<":"<",">":">",'"':""","&":"&"};function E(e){return e.replace(/[<>"&]/g,I)}function I(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=d("input,textarea,option,select,progress"),D=d("contenteditable,draggable,spellcheck"),z=d("events,caret,typing,plaintext-only"),L=function(e,t){return B(t)||"false"===t?"false":"contenteditable"===e&&z(t)?t:"true"},q=d("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"),B=function(e){return null==e||!1===e},U=d("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"),J=/[>/="'\u0009\u000a\u000c\u0020]/,K=function(e){return J.test(e)},H=function(e){return U(e)||0===e.indexOf("data-")||0===e.indexOf("aria-")},V={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},W={"<":"<",">":">",'"':""","&":"&"};function Z(e){return e.replace(/[<>"&]/g,X)}function X(e){return W[e]||e}var G={"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};function Q(e,t){if(q(e)){if(!B(t))return" "+e+'="'+e+'"'}else{if(D(e))return" "+e+'="'+E(L(e,t))+'"';if(!B(t))return" "+e+'="'+E(String(t))+'"'}return""}var Y=function(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},ee={child:{configurable:!0}};ee.child.get=function(){return this.componentInstance},Object.defineProperties(Y.prototype,ee);var te=function(e){void 0===e&&(e="");var t=new Y;return t.text=e,t.isComment=!0,t};function re(e){return new Y(void 0,void 0,void 0,String(e))}function ne(e,t,r){var n=new Y(void 0,void 0,void 0,t);n.raw=r,e.children=[n]}function ie(e,t,r,n){Object.defineProperty(e,t,{value:r,enumerable:!!n,writable:!0,configurable:!0})}var oe="__proto__"in{},ae="undefined"!=typeof window,se="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,ce=(se&&WXEnvironment.platform.toLowerCase(),ae&&window.navigator.userAgent.toLowerCase()),ue=ce&&/msie|trident/.test(ce);ce&&ce.indexOf("msie 9.0");ce&&ce.indexOf("edge/");ce&&ce.indexOf("android"),ce&&/iphone|ipad|ipod|ios/.test(ce),ce&&/chrome\/\d+/.test(ce),ce&&/phantomjs/.test(ce),ce&&ce.match(/firefox\/(\d+)/);var le,fe={}.watch;if(ae)try{var pe={};Object.defineProperty(pe,"passive",{get:function(){!0}}),window.addEventListener("test-passive",null,pe)}catch(e){}var de=function(){return void 0===le&&(le=!ae&&!se&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),le};function ve(e){return"function"==typeof e&&/native code/.test(e.toString())}var he,me="undefined"!=typeof Symbol&&ve(Symbol)&&"undefined"!=typeof Reflect&&ve(Reflect.ownKeys);he="undefined"!=typeof Set&&ve(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 ye=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],ge={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:O,parsePlatformTagName:C,mustUseProp:A,async:!0,_lifecycleHooks:ye},be=0,_e=function(){this.id=be++,this.subs=[]};_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.target=null;var xe=[];function we(e){xe.push(e),_e.target=e}function $e(){xe.pop(),_e.target=xe[xe.length-1]}var Se=Array.prototype,ke=Object.create(Se);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(e){var t=Se[e];ie(ke,e,(function(){for(var r=[],n=arguments.length;n--;)r[n]=arguments[n];var i,o=t.apply(this,r),a=this.__ob__;switch(e){case"push":case"unshift":i=r;break;case"splice":i=r.slice(2)}return i&&a.observeArray(i),a.dep.notify(),o}))}));var Oe=Object.getOwnPropertyNames(ke),Ae=!0;function Ce(e){Ae=e}var Te=function(e){this.value=e,this.dep=new _e,this.vmCount=0,ie(e,"__ob__",this),Array.isArray(e)?(oe?function(e,t){e.__proto__=t}(e,ke):function(e,t,r){for(var n=0,i=r.length;n<i;n++){var o=r[n];ie(e,o,t[o])}}(e,ke,Oe),this.observeArray(e)):this.walk(e)};function je(e,t){var r;if(c(e)&&!(e instanceof Y))return y(e,"__ob__")&&e.__ob__ instanceof Te?r=e.__ob__:Ae&&!de()&&(Array.isArray(e)||l(e))&&Object.isExtensible(e)&&!e._isVue&&(r=new Te(e)),t&&r&&r.vmCount++,r}function Fe(e,t,r,n,i){var o=new _e,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&&je(r);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):r;return _e.target&&(o.depend(),u&&(u.dep.depend(),Array.isArray(t)&&Ne(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&&je(t),o.notify())}})}}function Pe(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?(Fe(n.value,t,r),n.dep.notify(),r):(e[t]=r,r)}function Ne(e){for(var t=void 0,r=0,n=e.length;r<n;r++)(t=e[r])&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&Ne(t)}Te.prototype.walk=function(e){for(var t=Object.keys(e),r=0;r<t.length;r++)Fe(e,t[r])},Te.prototype.observeArray=function(e){for(var t=0,r=e.length;t<r;t++)je(e[t])};var Ee=ge.optionMergeStrategies;function Ie(e,t){if(!t)return e;for(var r,n,i,o=me?Reflect.ownKeys(t):Object.keys(t),a=0;a<o.length;a++)"__ob__"!==(r=o[a])&&(n=e[r],i=t[r],y(e,r)?n!==i&&l(n)&&l(i)&&Ie(n,i):Pe(e,r,i));return e}function Me(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?Ie(n,i):i}:t?e?function(){return Ie("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function Re(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 De(e,t,r,n){var i=Object.create(e||null);return t?S(i,t):i}Ee.data=function(e,t,r){return r?Me(e,t,r):t&&"function"!=typeof t?e:Me(e,t)},ye.forEach((function(e){Ee[e]=Re})),["component","directive","filter"].forEach((function(e){Ee[e+"s"]=De})),Ee.watch=function(e,t,r,n){if(e===fe&&(e=void 0),t===fe&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};for(var o in S(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},Ee.props=Ee.methods=Ee.inject=Ee.computed=function(e,t,r,n){if(!e)return t;var i=Object.create(null);return S(i,e),t&&S(i,t),i},Ee.provide=Me;var ze=function(e,t){return void 0===t?e:t};function Le(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[_(i)]={type:null});else if(l(r))for(var a in r)i=r[a],o[_(a)]=l(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(l(r))for(var o in r){var a=r[o];n[o]=l(a)?S({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=Le(e,t.extends,r)),t.mixins))for(var n=0,i=t.mixins.length;n<i;n++)e=Le(e,t.mixins[n],r);var o,a={};for(o in e)s(o);for(o in t)y(e,o)||s(o);function s(n){var i=Ee[n]||ze;a[n]=i(e[n],t[n],r,n)}return a}function qe(e,t,r,n){if("string"==typeof r){var i=e[t];if(y(i,r))return i[r];var o=_(r);if(y(i,o))return i[o];var a=x(o);return y(i,a)?i[a]:i[r]||i[o]||i[a]}}function Be(e,t,r,n){var i=t[e],o=!y(r,e),a=r[e],s=He(Boolean,i.type);if(s>-1)if(o&&!y(i,"default"))a=!1;else if(""===a||a===$(e)){var c=He(String,i.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=function(e,t,r){if(!y(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"!==Je(t.type)?n.call(e):n}(n,i,e);var u=Ae;Ce(!0),je(a),Ce(u)}return a}var Ue=/^\s*function (\w+)/;function Je(e){var t=e&&e.toString().match(Ue);return t?t[1]:""}function Ke(e,t){return Je(e)===Je(t)}function He(e,t){if(!Array.isArray(t))return Ke(t,e)?0:-1;for(var r=0,n=t.length;r<n;r++)if(Ke(t[r],e))return r;return-1}function Ve(e,t,r){we();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{$e()}}function We(e,t,r,n,i){var a,s;try{(a=r?e.apply(t,r):e.call(t))&&!a._isVue&&(o(s=a)&&"function"==typeof s.then&&"function"==typeof s.catch)&&!a._handled&&(a.catch((function(e){return Ve(e,n,i+" (Promise/async)")})),a._handled=!0)}catch(e){Ve(e,n,i)}return a}function Ze(e,t,r){!function(e,t,r){if(!ae&&!se||"undefined"==typeof console)throw e;console.error(e)}(e)}var Xe=[];if("undefined"!=typeof Promise&&ve(Promise));else if(ue||"undefined"==typeof MutationObserver||!ve(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())"undefined"!=typeof setImmediate&&ve(setImmediate);else{var Ge=new MutationObserver((function(){var e=Xe.slice(0);Xe.length=0;for(var t=0;t<e.length;t++)e[t]()})),Qe=document.createTextNode(String(1));Ge.observe(Qe,{characterData:!0})}function Ye(e,t){return{staticClass:tt(e.staticClass,t.staticClass),class:o(e.class)?[e.class,t.class]:t.class}}function et(e,t){return o(e)||o(t)?tt(e,rt(t)):""}function tt(e,t){return e?t?e+" "+t:e:t||""}function rt(e){return Array.isArray(e)?function(e){for(var t,r="",n=0,i=e.length;n<i;n++)o(t=rt(e[n]))&&""!==t&&(r&&(r+=" "),r+=t);return r}(e):c(e)?function(e){var t="";for(var r in e)e[r]&&(t&&(t+=" "),t+=r);return t}(e):"string"==typeof e?e:""}var nt=d("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"),it=d("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 ot=g((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 at(e){var t=st(e.style);return e.staticStyle?S(e.staticStyle,t):t}function st(e){return Array.isArray(e)?k(e):"string"==typeof e?ot(e):e}function ct(e,t){return"string"==typeof t||"number"==typeof t&&M[e]||0===t?e+":"+t+";":""}var ut=[function(e){var t=e.data.attrs,r="",n=e.parent&&e.parent.componentOptions;if(i(n)||!1!==n.Ctor.options.inheritAttrs)for(var a=e.parent;o(a)&&(!a.componentOptions||!1!==a.componentOptions.Ctor.options.inheritAttrs);)o(a.data)&&o(a.data.attrs)&&(t=S(S({},t),a.data.attrs)),a=a.parent;if(i(t))return r;for(var s in t)K(s)||"style"!==s&&(r+=Q(s,t[s]));return r},function(e){for(var t=e.data.domProps,r="",n=e.parent;o(n);)n.data&&n.data.domProps&&(t=S(S({},t),n.data.domProps)),n=n.parent;if(i(t))return r;var a,s=e.data.attrs;for(var c in t)if("innerHTML"===c)ne(e,t[c],!0);else if("textContent"===c)ne(e,t[c],!1);else if("value"===c&&"textarea"===e.tag)ne(e,f(t[c]),!1);else{var u=P[c]||c.toLowerCase();!F(a=u)&&0!==a.indexOf("data-")&&0!==a.indexOf("aria-")||o(s)&&o(s[u])||(r+=Q(u,t[c]))}return r},function(e){var t=function(e){for(var t=e.data,r=e,n=e;o(n.componentInstance);)(n=n.componentInstance._vnode)&&n.data&&(t=Ye(n.data,t));for(;o(r=r.parent);)r&&r.data&&(t=Ye(t,r.data));return et(t.staticClass,t.class)}(e);if(""!==t)return' class="'+E(t)+'"'},function(e){var t=function(e){var t="";for(var r in e){var n=e[r],i=$(r);if(Array.isArray(n))for(var o=0,a=n.length;o<a;o++)t+=ct(i,n[o]);else t+=ct(i,n)}return t}(function(e,t){var r,n={};if(t)for(var i=e;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(r=at(i.data))&&S(n,r);(r=at(e.data))&&S(n,r);for(var o=e;o=o.parent;)o.data&&(r=at(o.data))&&S(n,r);return n}(e,!1));if(""!==t)return" style="+JSON.stringify(E(t))}];function lt(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 ft(e){var t=e.data||(e.data={});(t.attrs||(t.attrs={})).selected=""}var pt={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)&&j(r,lt(a))>-1&&ft(a);else if(T(r,lt(a)))return void ft(a)}}},dt=d("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),vt=d("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ht=function(e){return e},mt="undefined"!=typeof process&&process.nextTick?process.nextTick:"undefined"!=typeof Promise?function(e){return Promise.resolve().then(e)}:"undefined"!=typeof setTimeout?setTimeout:ht;if(mt===ht)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 yt(e,t){var r=0,n=function(i,o){i&&n.caching&&(n.cacheBuffer[n.cacheBuffer.length-1]+=i),!0!==e(i,o)&&(r>=800?mt((function(){try{o()}catch(e){t(e)}})):(r++,o(),r--))};return n.caching=!1,n.cacheBuffer=[],n.componentBuffer=[],n}var gt=function(e){function t(t){var r=this;e.call(this),this.buffer="",this.render=t,this.expectedSize=0,this.write=yt((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)})),this.end=function(){r.emit("beforeEnd"),r.done=!0,r.push(r.buffer)}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,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,a(this.done)?this.push(null):this.buffer.length>=e?this.pushBySize(e):i(this.next)?this.tryRender():this.tryNext()},t}(e.Readable),bt=function(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&&_t(t,"get"),this.has=t&&_t(t,"has"),this.next=this.next.bind(this)};function _t(e,t){var r=e[t];return i(r)?void 0:r.length>1?function(t,n){return r.call(e,t,n)}:function(t,n){return n(r.call(e,t))}}bt.prototype.next=function(){for(;;){var e=this.renderStates[this.renderStates.length-1];if(i(e))return this.done();switch(e.type){case"Element":case"Fragment":var t=e.children,r=e.total,n=e.rendered++;if(n<r)return this.renderNode(t[n],!1,this);if(this.renderStates.pop(),"Element"===e.type)return this.write(e.endTag,this.next);break;case"Component":this.renderStates.pop(),this.activeInstance=e.prevActive;break;case"ComponentWithCache":this.renderStates.pop();var o=e.buffer,a=e.bufferIndex,s=e.componentBuffer,c=e.key,u={html:o[a],components:s[a]};if(this.cache.set(c,u),0===a)this.write.caching=!1;else{o[a-1]+=u.html;var l=s[a-1];u.components.forEach((function(e){return l.add(e)}))}o.length=a,s.length=a}}};var xt=/[\w).+\-_$\]]/;function wt(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&&xt.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=$t(i,o[n]);return i}function $t(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 St=/\{\{((?:.|\r?\n)+?)\}\}/g,kt=/[-.*+?^${}()|[\]\/\\]/g,Ot=g((function(e){var t=e[0].replace(kt,"\\$&"),r=e[1].replace(kt,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+r,"g")}));function At(e,t){console.error("[Vue compiler]: "+e)}function Ct(e,t){return e?e.map((function(e){return e[t]})).filter((function(e){return e})):[]}function Tt(e,t,r,n,i){(e.props||(e.props=[])).push(Dt({name:t,value:r,dynamic:i},n)),e.plain=!1}function jt(e,t,r,n,i){(i?e.dynamicAttrs||(e.dynamicAttrs=[]):e.attrs||(e.attrs=[])).push(Dt({name:t,value:r,dynamic:i},n)),e.plain=!1}function Ft(e,t,r,n){e.attrsMap[t]=r,e.attrsList.push(Dt({name:t,value:r},n))}function Pt(e,t,r,n,i,o,a,s){(e.directives||(e.directives=[])).push(Dt({name:t,rawName:r,value:n,arg:i,isDynamicArg:o,modifiers:a},s)),e.plain=!1}function Nt(e,t,r){return r?"_p("+t+',"'+e+'")':e+t}function Et(e,t,r,i,o,a,s,c){var u;(i=i||n).right?c?t="("+t+")==='click'?'contextmenu':("+t+")":"click"===t&&(t="contextmenu",delete i.right):i.middle&&(c?t="("+t+")==='click'?'mouseup':("+t+")":"click"===t&&(t="mouseup")),i.capture&&(delete i.capture,t=Nt("!",t,c)),i.once&&(delete i.once,t=Nt("~",t,c)),i.passive&&(delete i.passive,t=Nt("&",t,c)),i.native?(delete i.native,u=e.nativeEvents||(e.nativeEvents={})):u=e.events||(e.events={});var l=Dt({value:r.trim(),dynamic:c},s);i!==n&&(l.modifiers=i);var f=u[t];Array.isArray(f)?o?f.unshift(l):f.push(l):u[t]=f?o?[l,f]:[f,l]:l,e.plain=!1}function It(e,t,r){var n=Mt(e,":"+t)||Mt(e,"v-bind:"+t);if(null!=n)return wt(n);if(!1!==r){var i=Mt(e,t);if(null!=i)return JSON.stringify(i)}}function Mt(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 Rt(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 Dt(e,t){return t&&(null!=t.start&&(e.start=t.start),null!=t.end&&(e.end=t.end)),e}var zt={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var r=Mt(e,"class");r&&(e.staticClass=JSON.stringify(r));var n=It(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,qt,Bt,Ut,Jt,Kt,Ht={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var r=Mt(e,"style");r&&(e.staticStyle=JSON.stringify(ot(r)));var n=It(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}},Vt=d("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Wt=d("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Zt=d("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"),Xt=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Gt=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Qt="[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+"]*",Yt="((?:"+Qt+"\\:)?"+Qt+")",er=new RegExp("^<"+Yt),tr=/^\s*(\/?)>/,rr=new RegExp("^<\\/"+Yt+"[^>]*>"),nr=/^<!DOCTYPE [^>]+>/i,ir=/^<!\--/,or=/^<!\[/,ar=d("script,style,textarea",!0),sr={},cr={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},ur=/&(?:lt|gt|quot|amp|#39);/g,lr=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,fr=d("pre,textarea",!0),pr=function(e,t){return e&&fr(e)&&"\n"===t[0]};function dr(e,t){var r=t?lr:ur;return e.replace(r,(function(e){return cr[e]}))}function vr(e,t,r){var n=r||{},i=n.number,o="$$v",a=o;n.trim&&(a="(typeof $$v === 'string'? $$v.trim(): $$v)"),i&&(a="_n("+a+")");var s=hr(t,a);e.model={value:"("+t+")",expression:JSON.stringify(t),callback:"function ($$v) {"+s+"}"}}function hr(e,t){var r=function(e){if(e=e.trim(),Lt=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<Lt-1)return(Ut=e.lastIndexOf("."))>-1?{exp:e.slice(0,Ut),key:'"'+e.slice(Ut+1)+'"'}:{exp:e,key:null};qt=e,Ut=Jt=Kt=0;for(;!yr();)gr(Bt=mr())?_r(Bt):91===Bt&&br(Bt);return{exp:e.slice(0,Jt),key:e.slice(Jt+1,Kt)}}(e);return null===r.key?e+"="+t:"$set("+r.exp+", "+r.key+", "+t+")"}function mr(){return qt.charCodeAt(++Ut)}function yr(){return Ut>=Lt}function gr(e){return 34===e||39===e}function br(e){var t=1;for(Jt=Ut;!yr();)if(gr(e=mr()))_r(e);else if(91===e&&t++,93===e&&t--,0===t){Kt=Ut;break}}function _r(e){for(var t=e;!yr()&&(e=mr())!==t;);}var xr,wr,$r,Sr,kr,Or,Ar,Cr,Tr=/^@|^v-on:/,jr=/^v-|^@|^:|^#/,Fr=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Pr=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Nr=/^\(|\)$/g,Er=/^\[.*\]$/,Ir=/:(.*)$/,Mr=/^:|^\.|^v-bind:/,Rr=/\.[^.\]]+(?=[^\]]*$)/g,Dr=/^v-slot(:|$)|^#/,zr=/[\r\n]/,Lr=/[ \f\t\r\n]+/g,qr=g(r.default.decode);function Br(e,t,r){return{type:1,tag:e,attrsList:t,attrsMap:Zr(t),rawAttrsMap:{},parent:r,children:[]}}function Ur(e,t){xr=t.warn||At,Or=t.isPreTag||A,Ar=t.mustUseProp||A,Cr=t.getTagNamespace||A,t.isReservedTag,$r=Ct(t.modules,"transformNode"),Sr=Ct(t.modules,"preTransformNode"),kr=Ct(t.modules,"postTransformNode"),wr=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=Jr(e,t)),i.length||e===r||r.if&&(e.elseif||e.else)&&Hr(r,{exp:e.elseif,block:e}),n&&!e.forbidden)if(e.elseif||e.else)a=e,(u=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}(n.children))&&u.if&&Hr(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),Or(e.tag)&&(c=!1);for(var f=0;f<kr.length;f++)kr[f](e,t)}function l(e){if(!c)for(var t;(t=e.children[e.children.length-1])&&3===t.type&&" "===t.text;)e.children.pop()}return function(e,t){for(var r,n,i=[],o=t.expectHTML,a=t.isUnaryTag||A,s=t.canBeLeftOpenTag||A,c=0;e;){if(r=e,n&&ar(n)){var u=0,l=n.toLowerCase(),f=sr[l]||(sr[l]=new RegExp("([\\s\\S]*?)(</"+l+"[^>]*>)","i")),p=e.replace(f,(function(e,r,n){return u=n.length,ar(l)||"noscript"===l||(r=r.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),pr(l,r)&&(r=r.slice(1)),t.chars&&t.chars(r),""}));c+=e.length-p.length,e=p,O(l,c-u,c)}else{var d=e.indexOf("<");if(0===d){if(ir.test(e)){var v=e.indexOf("--\x3e");if(v>=0){t.shouldKeepComment&&t.comment(e.substring(4,v),c,c+v+3),$(v+3);continue}}if(or.test(e)){var h=e.indexOf("]>");if(h>=0){$(h+2);continue}}var m=e.match(nr);if(m){$(m[0].length);continue}var y=e.match(rr);if(y){var g=c;$(y[0].length),O(y[1],g,c);continue}var b=S();if(b){k(b),pr(b.tagName,e)&&$(1);continue}}var _=void 0,x=void 0,w=void 0;if(d>=0){for(x=e.slice(d);!(rr.test(x)||er.test(x)||ir.test(x)||or.test(x)||(w=x.indexOf("<",1))<0);)d+=w,x=e.slice(d);_=e.substring(0,d)}d<0&&(_=e),_&&$(_.length),t.chars&&_&&t.chars(_,c-_.length,c)}if(e===r){t.chars&&t.chars(e);break}}function $(t){c+=t,e=e.substring(t)}function S(){var t=e.match(er);if(t){var r,n,i={tagName:t[1],attrs:[],start:c};for($(t[0].length);!(r=e.match(tr))&&(n=e.match(Gt)||e.match(Xt));)n.start=c,$(n[0].length),n.end=c,i.attrs.push(n);if(r)return i.unarySlash=r[1],$(r[0].length),i.end=c,i}}function k(e){var r=e.tagName,c=e.unarySlash;o&&("p"===n&&Zt(r)&&O(n),s(r)&&n===r&&O(r));for(var u=a(r)||!!c,l=e.attrs.length,f=new Array(l),p=0;p<l;p++){var d=e.attrs[p],v=d[3]||d[4]||d[5]||"",h="a"===r&&"href"===d[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;f[p]={name:d[1],value:dr(v,h)}}u||(i.push({tag:r,lowerCasedTag:r.toLowerCase(),attrs:f,start:e.start,end:e.end}),n=r),t.start&&t.start(r,f,u,e.start,e.end)}function O(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))}O()}(e,{warn:xr,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||Cr(e);ue&&"svg"===p&&(o=function(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];Xr.test(n.name)||(n.name=n.name.replace(Gr,""),t.push(n))}return t}(o));var d,v=Br(e,o,n);p&&(v.ns=p),"style"!==(d=v).tag&&("script"!==d.tag||d.attrsMap.type&&"text/javascript"!==d.attrsMap.type)||de()||(v.forbidden=!0);for(var h=0;h<Sr.length;h++)v=Sr[h](v,t)||v;s||(!function(e){null!=Mt(e,"v-pre")&&(e.pre=!0)}(v),v.pre&&(s=!0)),Or(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||(Kr(v),function(e){var t=Mt(e,"v-if");if(t)e.if=t,Hr(e,{exp:t,block:e});else{null!=Mt(e,"v-else")&&(e.else=!0);var r=Mt(e,"v-else-if");r&&(e.elseif=r)}}(v),function(e){null!=Mt(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&&(!ue||"textarea"!==n.tag||n.attrsMap.placeholder!==e)){var i,u,l,f=n.children;if(e=c||e.trim()?"script"===(i=n).tag||"style"===i.tag?e:qr(e):f.length?a?"condense"===a&&zr.test(e)?"":" ":o?" ":"":"")c||"condense"!==a||(e=e.replace(Lr," ")),!s&&" "!==e&&(u=function(e,t){var r=t?Ot(t):St;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=wt(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,wr))?l={type:2,expression:u.expression,tokens:u.tokens,text:e}:" "===e&&f.length&&" "===f[f.length-1].text||(l={type:3,text:e}),l&&f.push(l)}},comment:function(e,t,r){if(n){var i={type:3,text:e,isComment:!0};n.children.push(i)}}}),r}function Jr(e,t){var r,n;(n=It(r=e,"key"))&&(r.key=n),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,function(e){var t=It(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=Mt(e,"scope"),e.slotScope=t||Mt(e,"slot-scope")):(t=Mt(e,"slot-scope"))&&(e.slotScope=t);var r=It(e,"slot");r&&(e.slotTarget='""'===r?'"default"':r,e.slotTargetDynamic=!(!e.attrsMap[":slot"]&&!e.attrsMap["v-bind:slot"]),"template"===e.tag||e.slotScope||jt(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=Rt(e,Dr);if(n){var i=Vr(n),o=i.name,a=i.dynamic;e.slotTarget=o,e.slotTargetDynamic=a,e.slotScope=n.value||"_empty_"}}else{var s=Rt(e,Dr);if(s){var c=e.scopedSlots||(e.scopedSlots={}),u=Vr(s),l=u.name,f=u.dynamic,p=c[l]=Br("template",[],e);p.slotTarget=l,p.slotTargetDynamic=f,p.children=e.children.filter((function(e){if(!e.slotScope)return e.parent=p,!0})),p.slotScope=s.value||"_empty_",e.children=[],e.plain=!1}}}(e),function(e){"slot"===e.tag&&(e.slotName=It(e,"name"))}(e),function(e){var t;(t=It(e,"is"))&&(e.component=t);null!=Mt(e,"inline-template")&&(e.inlineTemplate=!0)}(e);for(var i=0;i<$r.length;i++)e=$r[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,jr.test(n))if(e.hasBindings=!0,(a=Wr(n.replace(jr,"")))&&(n=n.replace(Rr,"")),Mr.test(n))n=n.replace(Mr,""),o=wt(o),(c=Er.test(n))&&(n=n.slice(1,-1)),a&&(a.prop&&!c&&"innerHtml"===(n=_(n))&&(n="innerHTML"),a.camel&&!c&&(n=_(n)),a.sync&&(s=hr(o,"$event"),c?Et(e,'"update:"+('+n+")",s,null,!1,0,u[t],!0):(Et(e,"update:"+_(n),s,null,!1,0,u[t]),$(n)!==_(n)&&Et(e,"update:"+$(n),s,null,!1,0,u[t])))),a&&a.prop||!e.component&&Ar(e.tag,e.attrsMap.type,n)?Tt(e,n,o,u[t],c):jt(e,n,o,u[t],c);else if(Tr.test(n))n=n.replace(Tr,""),(c=Er.test(n))&&(n=n.slice(1,-1)),Et(e,n,o,a,!1,0,u[t],c);else{var l=(n=n.replace(jr,"")).match(Ir),f=l&&l[1];c=!1,f&&(n=n.slice(0,-(f.length+1)),Er.test(f)&&(f=f.slice(1,-1),c=!0)),Pt(e,n,i,o,f,c,a,u[t])}else jt(e,n,JSON.stringify(o),u[t]),!e.component&&"muted"===n&&Ar(e.tag,e.attrsMap.type,n)&&Tt(e,n,"true",u[t])}(e),e}function Kr(e){var t;if(t=Mt(e,"v-for")){var r=function(e){var t=e.match(Fr);if(!t)return;var r={};r.for=t[2].trim();var n=t[1].trim().replace(Nr,""),i=n.match(Pr);i?(r.alias=n.replace(Pr,"").trim(),r.iterator1=i[1].trim(),i[2]&&(r.iterator2=i[2].trim())):r.alias=n;return r}(t);r&&S(e,r)}}function Hr(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function Vr(e){var t=e.name.replace(Dr,"");return t||"#"!==e.name[0]&&(t="default"),Er.test(t)?{name:t.slice(1,-1),dynamic:!0}:{name:'"'+t+'"',dynamic:!1}}function Wr(e){var t=e.match(Rr);if(t){var r={};return t.forEach((function(e){r[e.slice(1)]=!0})),r}}function Zr(e){for(var t={},r=0,n=e.length;r<n;r++)t[e[r].name]=e[r].value;return t}var Xr=/^xmlns:NS\d+/,Gr=/^NS\d+:/;function Qr(e){return Br(e.tag,e.attrsList.slice(),e.parent)}var Yr=[zt,Ht,{preTransformNode:function(e,t){if("input"===e.tag){var r,n=e.attrsMap;if(!n["v-model"])return;if((n[":type"]||n["v-bind:type"])&&(r=It(e,"type")),n.type||r||!n["v-bind"]||(r="("+n["v-bind"]+").type"),r){var i=Mt(e,"v-if",!0),o=i?"&&("+i+")":"",a=null!=Mt(e,"v-else",!0),s=Mt(e,"v-else-if",!0),c=Qr(e);Kr(c),Ft(c,"type","checkbox"),Jr(c,t),c.processed=!0,c.if="("+r+")==='checkbox'"+o,Hr(c,{exp:c.if,block:c});var u=Qr(e);Mt(u,"v-for",!0),Ft(u,"type","radio"),Jr(u,t),Hr(c,{exp:"("+r+")==='radio'"+o,block:u});var l=Qr(e);return Mt(l,"v-for",!0),Ft(l,":type",r),Jr(l,t),Hr(c,{exp:i,block:l}),a?c.else=!0:s&&(c.elseif=s),c}}}}];var en={expectHTML:!0,modules:Yr,directives:{model:function(e,t,r){var n=t.value,i=t.modifiers,o=e.tag,a=e.attrsMap.type;if(e.component)return vr(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+" "+hr(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),Et(e,"change",n,null,!0)}(e,n,i);else if("input"===o&&"checkbox"===a)!function(e,t,r){var n=r&&r.number,i=It(e,"value")||"null",o=It(e,"true-value")||"true",a=It(e,"false-value")||"false";Tt(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),Et(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&&("+hr(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+hr(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+hr(t,"$$c")+"}",null,!0)}(e,n,i);else if("input"===o&&"radio"===a)!function(e,t,r){var n=r&&r.number,i=It(e,"value")||"null";Tt(e,"checked","_q("+t+","+(i=n?"_n("+i+")":i)+")"),Et(e,"change",hr(t,i),null,!0)}(e,n,i);else{if("input"!==o&&"textarea"!==o)return vr(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?"__r":"input",l="$event.target.value";s&&(l="$event.target.value.trim()");a&&(l="_n("+l+")");var f=hr(t,l);c&&(f="if($event.target.composing)return;"+f);Tt(e,"value","("+t+")"),Et(e,u,f,null,!0),(s||a)&&Et(e,"blur","$forceUpdate()")}(e,n,i)}return!0},text:function(e,t){t.value&&Tt(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Tt(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:Vt,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:Wt,isReservedTag:function(e){return nt(e)||it(e)},getTagNamespace:function(e){return it(e)?"svg":"math"===e?"math":void 0},staticKeys:function(e){return e.reduce((function(e,t){return e.concat(t.staticKeys||[])}),[]).join(",")}(Yr)},tn=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,rn=/\([^)]*?\);*$/,nn=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,on={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},an={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"]},sn=function(e){return"if("+e+")return null;"},cn={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:sn("$event.target !== $event.currentTarget"),ctrl:sn("!$event.ctrlKey"),shift:sn("!$event.shiftKey"),alt:sn("!$event.altKey"),meta:sn("!$event.metaKey"),left:sn("'button' in $event && $event.button !== 0"),middle:sn("'button' in $event && $event.button !== 1"),right:sn("'button' in $event && $event.button !== 2")};function un(e,t){var r=t?"nativeOn:":"on:",n="",i="";for(var o in e){var a=ln(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 ln(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map((function(e){return ln(e)})).join(",")+"]";var t=nn.test(e.value),r=tn.test(e.value),n=nn.test(e.value.replace(rn,""));if(e.modifiers){var i="",o="",a=[];for(var s in e.modifiers)if(cn[s])o+=cn[s],on[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;o+=sn(["ctrl","shift","alt","meta"].filter((function(e){return!c[e]})).map((function(e){return"$event."+e+"Key"})).join("||"))}else a.push(s);return a.length&&(i+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(fn).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 fn(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var r=on[e],n=an[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(r)+",$event.key,"+JSON.stringify(n)+")"}var pn={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:O},dn=function(e){this.options=e,this.warn=e.warn||At,this.transforms=Ct(e.modules,"transformCode"),this.dataGenFns=Ct(e.modules,"genData"),this.directives=S(S({},pn),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 vn(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return hn(e,t);if(e.once&&!e.onceProcessed)return mn(e,t);if(e.for&&!e.forProcessed)return bn(e,t);if(e.if&&!e.ifProcessed)return yn(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var r=e.slotName||'"default"',n=$n(e,t),i="_t("+r+(n?","+n:""),o=e.attrs||e.dynamicAttrs?An((e.attrs||[]).concat(e.dynamicAttrs||[]).map((function(e){return{name:_(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;if(e.component)r=function(e,t,r){var n=t.inlineTemplate?null:$n(t,r,!0);return"_c("+e+","+_n(t,r)+(n?","+n:"")+")"}(e.component,e,t);else{var n;(!e.plain||e.pre&&t.maybeComponent(e))&&(n=_n(e,t));var i=e.inlineTemplate?null:$n(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 $n(e,t)||"void 0"}function hn(e,t){e.staticProcessed=!0;var r=t.pre;return e.pre&&(t.pre=e.pre),t.staticRenderFns.push("with(this){return "+vn(e,t)+"}"),t.pre=r,"_m("+(t.staticRenderFns.length-1)+(e.staticInFor?",true":"")+")"}function mn(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return yn(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("+vn(e,t)+","+t.onceId+++","+r+")":vn(e,t)}return hn(e,t)}function yn(e,t,r,n){return e.ifProcessed=!0,gn(e.ifConditions.slice(),t,r,n)}function gn(e,t,r,n){if(!e.length)return n||"_e()";var i=e.shift();return i.exp?"("+i.exp+")?"+o(i.block)+":"+gn(e,t,r,n):""+o(i.block);function o(e){return r?r(e,t):e.once?mn(e,t):vn(e,t)}}function bn(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||vn)(e,t)+"})"}function _n(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:"+An(e.attrs)+","),e.props&&(r+="domProps:"+An(e.props)+","),e.events&&(r+=un(e.events,!1)+","),e.nativeEvents&&(r+=un(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||xn(r)})),i=!!e.if;if(!n)for(var o=e.parent;o;){if(o.slotScope&&"_empty_"!==o.slotScope||o.for){n=!0;break}o.if&&(i=!0),o=o.parent}var a=Object.keys(t).map((function(e){return wn(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 dn(t);return{render:"with(this){return "+(e?"script"===e.tag?"null":vn(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+'",'+An(e.dynamicAttrs)+")"),e.wrapData&&(r=e.wrapData(r)),e.wrapListeners&&(r=e.wrapListeners(r)),r}function xn(e){return 1===e.type&&("slot"===e.tag||e.children.some(xn))}function wn(e,t){var r=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!r)return yn(e,t,wn,"null");if(e.for&&!e.forProcessed)return bn(e,t,wn);var n="_empty_"===e.slotScope?"":String(e.slotScope),i="function("+n+"){return "+("template"===e.tag?e.if&&r?"("+e.if+")?"+($n(e,t)||"undefined")+":undefined":$n(e,t)||"undefined":vn(e,t))+"}",o=n?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+i+o+"}"}function $n(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||vn)(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(Sn(i)||i.ifConditions&&i.ifConditions.some((function(e){return Sn(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||kn;return"["+o.map((function(e){return u(e,t)})).join(",")+"]"+(c?","+c:"")}}function Sn(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function kn(e,t){return 1===e.type?vn(e,t):3===e.type&&e.isComment?function(e){return"_e("+JSON.stringify(e.text)+")"}(e):On(e)}function On(e){return"_v("+(2===e.type?e.expression:Cn(JSON.stringify(e.text)))+")"}function An(e){for(var t="",r="",n=0;n<e.length;n++){var i=e[n],o=Cn(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 Cn(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}var Tn=/^"(?:[^"\\]|\\.)*"$|^'(?:[^'\\]|\\.)*'$/;function jn(e,t){return Tn.test(t)?(t=t.replace(/^'|'$/g,'"'),D(e)&&'"false"'!==t&&(t='"true"'),{type:Ln,value:q(e)?" "+e+'="'+e+'"':'""'===t?" "+e:" "+e+'="'+JSON.parse(t)+'"'}):{type:qn,value:"_ssrAttr("+JSON.stringify(e)+","+t+")"}}var Fn,Pn=0,Nn=1,En=2,In=3,Mn=4;function Rn(e,t){e&&(Fn=t.isReservedTag||A,Dn(e,!0))}function Dn(e,t){if(function(e){if(2===e.type||3===e.type)return!1;return v(e.tag)||!Fn(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)}(e))e.ssrOptimizability=Pn;else{var r=t||function(e){return 1===e.type&&e.directives&&e.directives.some((function(e){return!zn(e.name)}))}(e),n=function(t){t.ssrOptimizability!==Nn&&(e.ssrOptimizability=r?Mn:En)};if(r&&(e.ssrOptimizability=In),1===e.type){for(var i=0,o=e.children.length;i<o;i++){var a=e.children[i];Dn(a),n(a)}if(e.ifConditions)for(var s=1,c=e.ifConditions.length;s<c;s++){var u=e.ifConditions[s].block;Dn(u,t),n(u)}null==e.ssrOptimizability||!t&&(e.attrsMap["v-html"]||e.attrsMap["v-text"])?e.ssrOptimizability=Nn:e.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:Nn}),n=[]},o=0;o<t.length;o++){var a=t[o];a.ssrOptimizability===Nn?n.push(a):(i(),r.push(a))}return i(),r}(e)}else e.ssrOptimizability=Nn}}var zn=d("text,html,show,on,bind,model,pre,cloak,once");var Ln=0,qn=2;function Bn(e,t){if(e.for&&!e.forProcessed)return bn(e,t,Bn);if(e.if&&!e.ifProcessed)return yn(e,t,Bn);if("template"===e.tag&&!e.slotTarget)return e.ssrOptimizability===Nn?Hn(e,t):Jn(e,t)||"void 0";switch(e.ssrOptimizability){case Nn:return function(e,t){return"_ssrNode("+Vn(e,t)+")"}(e,t);case En:return function(e,t){var r=Jn(e,t,!0);return"_ssrNode("+Gn(Zn(e,t))+',"</'+e.tag+'>"'+(r?","+r:"")+")"}(e,t);case In:return Un(e,t,!0);case Mn:return Un(e,t,!1);default:return vn(e,t)}}function Un(e,t,r){var n=e.plain?void 0:_n(e,t),i=r?"["+Hn(e,t)+"]":Jn(e,t,!0);return"_c('"+e.tag+"'"+(n?","+n:"")+(i?","+i:"")+")"}function Jn(e,t,r){return $n(e,t,r,Bn,Kn)}function Kn(e,t){return 1===e.type?Bn(e,t):On(e)}function Hn(e,t){return e.children.length?"_ssrNode("+Gn(Xn(e,t))+")":""}function Vn(e,t){return"("+Gn(Wn(e,t))+")"}function Wn(e,t){if(e.for&&!e.forProcessed)return e.forProcessed=!0,[{type:qn,value:bn(e,t,Vn,"_ssrList")}];if(e.if&&!e.ifProcessed)return e.ifProcessed=!0,[{type:qn,value:yn(e,t,Vn,'"\x3c!----\x3e"')}];if("template"===e.tag)return Xn(e,t);var r=Zn(e,t),n=Xn(e,t),i=t.options.isUnaryTag,o=i&&i(e.tag)?[]:[{type:Ln,value:"</"+e.tag+">"}];return r.concat(n,o)}function Zn(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:Ln,value:"<"+e.tag}];return e.attrs&&u.push.apply(u,e.attrs.map((function(e){return jn(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=V[n]||n.toLowerCase(),!H(n)||t&&t.some((function(e){return e.name===n}))||r.push(jn(n,i))})),r}(e.props,e.attrs)),(r=e.attrsMap["v-bind"])&&u.push({type:qn,value:"_ssrAttrs("+r+")"}),(r=e.attrsMap["v-bind.prop"])&&u.push({type:qn,value:"_ssrDOMProps("+r+")"}),(e.staticClass||e.classBinding)&&u.push.apply(u,(n=e.staticClass,i=e.classBinding,n&&!i?[{type:Ln,value:' class="'+JSON.parse(n)+'"'}]:[{type:qn,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:qn,value:"_ssrStyle("+(a||"null")+","+(s||"null")+", "+(c?"{ display: ("+c+") ? '' : 'none' }":"null")+")"}]:[{type:Ln,value:" style="+JSON.stringify(o)}])),t.options.scopeId&&u.push({type:Ln,value:" "+t.options.scopeId}),u.push({type:Ln,value:">"}),u}function Xn(e,t){var r;return(r=e.attrsMap["v-html"])?[{type:qn,value:"_s("+r+")"}]:(r=e.attrsMap["v-text"])||"textarea"===e.tag&&(r=e.attrsMap["v-model"])?[{type:1,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,Wn(i,t));else if(2===i.type)r.push({type:1,value:i.expression});else if(3===i.type){var o=Z(i.text);i.isComment&&(o="\x3c!--"+o+"--\x3e"),r.push({type:Ln,value:o})}}return r}(e.children,t):[]}function Gn(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===Ln?r+=o.value:1===o.type?(n(),t.push("_ssrEscape("+o.value+")")):o.type===qn&&(n(),t.push("("+o.value+")"))}return n(),t.join("+")}function Qn(e,t){try{return new Function(e)}catch(r){return t.push({err:r,code:e}),O}}function Yn(e){var t=Object.create(null);return function(r,n,i){(n=S({},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=Qn(a.render,c),s.staticRenderFns=a.staticRenderFns.map((function(e){return Qn(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 ei,ti=(ei=function(e,t){var r=Ur(e.trim(),t);Rn(r,t);var n=function(e,t){var r=new dn(t);return{render:"with(this){return "+(e?Bn(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=S(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=ei(t.trim(),n);return s.errors=i,s.tips=o,s}return{compile:t,compileToFunctions:Yn(t)}})(en).compileToFunctions;function ri(e,t){if(q(e)){if(!B(t))return" "+e+'="'+e+'"'}else{if(D(e))return" "+e+'="'+Z(L(e,t))+'"';if(!B(t))return" "+e+'="'+Z(String(t))+'"'}return""}function ni(e,t){return"string"==typeof t||"number"==typeof t&&G[e]||0===t?e+":"+t+";":""}function ii(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function oi(e){return s(e)?[re(e)]:Array.isArray(e)?si(e):void 0}function ai(e){return o(e)&&o(e.text)&&!1===e.isComment}function si(e,t){var r,n,c,u,l=[];for(r=0;r<e.length;r++)i(n=e[r])||"boolean"==typeof n||(u=l[c=l.length-1],Array.isArray(n)?n.length>0&&(ai((n=si(n,(t||"")+"_"+r))[0])&&ai(u)&&(l[c]=re(u.text+n[0].text),n.shift()),l.push.apply(l,n)):s(n)?ai(u)?l[c]=re(u.text+n):""!==n&&l.push(re(n)):ai(n)&&ai(u)?l[c]=re(u.text+n.text):(a(e._isVList)&&o(n.tag)&&i(n.key)&&o(t)&&(n.key="__vlist"+t+"_"+r+"__"),l.push(n)));return l}var ci={_ssrEscape:Z,_ssrNode:function(e,t,r,n){return new ui(e,t,r,n)},_ssrList:function(e,t){var r,n,i,o,a="";if(Array.isArray(e)||"string"==typeof e)for(r=0,n=e.length;r<n;r++)a+=t(e[r],r);else if("number"==typeof e)for(r=0;r<e;r++)a+=t(r+1,r);else if(c(e))for(i=Object.keys(e),r=0,n=i.length;r<n;r++)o=i[r],a+=t(e[o],o,r);return a},_ssrAttr:ri,_ssrAttrs:function(e){var t="";for(var r in e)K(r)||(t+=ri(r,e[r]));return t},_ssrDOMProps:function(e){var t="";for(var r in e){var n=V[r]||r.toLowerCase();H(n)&&(t+=ri(n,e[r]))}return t},_ssrClass:function(e,t){var r=et(e,t);return""===r?r:' class="'+Z(r)+'"'},_ssrStyle:function(e,t,r){var n={};e&&S(n,e);t&&S(n,st(t));r&&S(n,r);var i=function(e){var t="";for(var r in e){var n=e[r],i=$(r);if(Array.isArray(n))for(var o=0,a=n.length;o<a;o++)t+=ni(i,n[o]);else t+=ni(i,n)}return t}(n);return""===i?i:" style="+JSON.stringify(Z(i))}};var ui=function(e,t,r,n){this.isString=!0,this.open=e,this.close=t,this.children=r?1===n?ii(r):2===n?oi(r):r:void 0};var li=new he;function fi(e){pi(e,li),li.clear()}function pi(e,t){var r,n,i=Array.isArray(e);if(!(!i&&!c(e)||Object.isFrozen(e)||e instanceof Y)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i)for(r=e.length;r--;)pi(e[r],t);else for(r=(n=Object.keys(e)).length;r--;)pi(e[n[r]],t)}}var di=g((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 vi(e,t){function r(){var e=arguments,n=r.fns;if(!Array.isArray(n))return We(n,null,arguments,t,"v-on handler");for(var i=n.slice(),o=0;o<i.length;o++)We(i[o],null,e,t,"v-on handler")}return r.fns=e,r}function hi(e,t,r,n,i){if(o(t)){if(y(t,r))return e[r]=t[r],i||delete t[r],!0;if(y(t,n))return e[r]=t[n],i||delete t[n],!0}return!1}var mi;function yi(e,t,r,n,i,u){return(Array.isArray(r)||s(r))&&(i=n,n=r,r=void 0),a(u)&&(i=2),function(e,t,r,n,i){if(o(r)&&o(r.__ob__))return te();o(r)&&o(r.is)&&(t=r.is);if(!t)return te();Array.isArray(n)&&"function"==typeof n[0]&&((r=r||{}).scopedSlots={default:n[0]},n.length=0);2===i?n=oi(n):1===i&&(n=ii(n));var a,s;if("string"==typeof t){var u;s=e.$vnode&&e.$vnode.ns||ge.getTagNamespace(t),a=r&&r.pre||!o(u=qe(e.$options,"components",t))?new Y(t,r,n,void 0,void 0,e):eo(u,r,e,n,t)}else a=eo(t,r,e,n);return Array.isArray(a)?a:o(a)?(o(s)&&gi(a,s),o(r)&&function(e){c(e.style)&&fi(e.style);c(e.class)&&fi(e.class)}(r),a):te()}(e,t,r,n,i)}function gi(e,t,r){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,r=!0),o(e.children))for(var n=0,s=e.children.length;n<s;n++){var c=e.children[n];o(c.tag)&&(i(c.ns)||a(r)&&"svg"!==c.tag)&&gi(c,t,r)}}function bi(e,t){var r,n,i,a,s=null;if(Array.isArray(e)||"string"==typeof e)for(s=new Array(e.length),r=0,n=e.length;r<n;r++)s[r]=t(e[r],r);else if("number"==typeof e)for(s=new Array(e),r=0;r<e;r++)s[r]=t(r+1,r);else if(c(e))if(me&&e[Symbol.iterator]){s=[];for(var u=e[Symbol.iterator](),l=u.next();!l.done;)s.push(t(l.value,s.length)),l=u.next()}else for(i=Object.keys(e),s=new Array(i.length),r=0,n=i.length;r<n;r++)a=i[r],s[r]=t(e[a],a,r);return o(s)||(s=[]),s._isVList=!0,s}function _i(e,t,r,n){var i,o=this.$scopedSlots[e];o?(r=r||{},n&&(r=S(S({},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 xi(e){return qe(this.$options,"filters",e)||C}function wi(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function $i(e,t,r,n,i){var o=ge.keyCodes[t]||r;return i&&n&&!ge.keyCodes[t]?wi(i,n):o?wi(o,e):n?$(n)!==t:void 0}function Si(e,t,r,n,i){if(r)if(c(r)){var o;Array.isArray(r)&&(r=k(r));var a=function(a){if("class"===a||"style"===a||h(a))o=e;else{var s=e.attrs&&e.attrs.type;o=n||ge.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var c=_(a),u=$(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 s in r)a(s)}else;return e}function ki(e,t){var r=this._staticTrees||(this._staticTrees=[]),n=r[e];return n&&!t||Ai(n=r[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),n}function Oi(e,t,r){return Ai(e,"__once__"+t+(r?"_"+r:""),!0),e}function Ai(e,t,r){if(Array.isArray(e))for(var n=0;n<e.length;n++)e[n]&&"string"!=typeof e[n]&&Ci(e[n],t+"_"+n,r);else Ci(e,t,r)}function Ci(e,t,r){e.isStatic=!0,e.key=t,e.isOnce=r}function Ti(e,t){if(t)if(l(t)){var r=e.on=e.on?S({},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 ji(e,t,r,n){t=t||{$stable:!r};for(var i=0;i<e.length;i++){var o=e[i];Array.isArray(o)?ji(o,t,r):o&&(o.proxy&&(o.fn.proxy=!0),t[o.key]=o.fn)}return n&&(t.$key=n),t}function Fi(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 Pi(e,t){return"string"==typeof e?t+e:e}function Ni(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(Ei)&&delete r[u];return r}function Ei(e){return e.isComment&&!e.asyncFactory||" "===e.text}function Ii(e,t,r){var i,o=Object.keys(t).length>0,a=e?!!e.$stable:!o,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&r&&r!==n&&s===r.$key&&!o&&!r.$hasNormal)return r;for(var c in i={},e)e[c]&&"$"!==c[0]&&(i[c]=Mi(t,c,e[c]))}else i={};for(var u in t)u in i||(i[u]=Ri(t,u));return e&&Object.isExtensible(e)&&(e._normalized=i),ie(i,"$stable",a),ie(i,"$key",s),ie(i,"$hasNormal",o),i}function Mi(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]:oi(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 Ri(e,t){return function(){return e[t]}}function Di(e,t){mi.$on(e,t)}function zi(e,t){mi.$off(e,t)}function Li(e,t){var r=mi;return function n(){var i=t.apply(null,arguments);null!==i&&r.$off(e,n)}}function qi(e,t,r){mi=e,function(e,t,r,n,o,s){var c,u,l,f;for(c in e)u=e[c],l=t[c],f=di(c),i(u)||(i(l)?(i(u.fns)&&(u=e[c]=vi(u,s)),a(f.once)&&(u=e[c]=o(f.name,u,f.capture)),r(f.name,u,f.capture,f.passive,f.params)):u!==l&&(l.fns=u,e[c]=l));for(c in t)i(e[c])&&n((f=di(c)).name,t[c],f.capture)}(t,r||{},Di,zi,Li,e),mi=void 0}function Bi(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function Ui(e,t){if(t){if(e._directInactive=!1,Bi(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var r=0;r<e.$children.length;r++)Ui(e.$children[r]);Ki(e,"activated")}}function Ji(e,t){if(!(t&&(e._directInactive=!0,Bi(e))||e._inactive)){e._inactive=!0;for(var r=0;r<e.$children.length;r++)Ji(e.$children[r]);Ki(e,"deactivated")}}function Ki(e,t){we();var r=e.$options[t],n=t+" hook";if(r)for(var i=0,o=r.length;i<o;i++)We(r[i],e,null,e,n);e._hasHookEvent&&e.$emit("hook:"+t),$e()}var Hi=Date.now;if(ae&&!ue){var Vi=window.performance;Vi&&"function"==typeof Vi.now&&Hi()>document.createEvent("Event").timeStamp&&(Hi=function(){return Vi.now()})}function Wi(e){var t=e.options;if(e.super){var r=Wi(e.super);if(r!==e.superOptions){e.superOptions=r;var n=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}(e);n&&S(e.extendOptions,n),(t=e.options=Le(r,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function Zi(e,t,r,i,o){var s,c=this,u=o.options;y(i,"_uid")?(s=Object.create(i))._original=i:(s=i,i=i._original);var l=a(u._compiled),f=!l;this.data=e,this.props=t,this.children=r,this.parent=i,this.listeners=e.on||n,this.injections=function(e,t){if(e){for(var r=Object.create(null),n=me?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&&y(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,i),this.slots=function(){return c.$slots||Ii(e.scopedSlots,c.$slots=Ni(r,i)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Ii(e.scopedSlots,this.slots())}}),l&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=Ii(e.scopedSlots,this.$slots)),u._scopeId?this._c=function(e,t,r,n){var o=yi(s,e,t,r,n,f);return o&&!Array.isArray(o)&&(o.fnScopeId=u._scopeId,o.fnContext=i),o}:this._c=function(e,t,r,n){return yi(s,e,t,r,n,f)}}function Xi(e,t,r,n,i){var o=function(e){var t=new Y(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 Gi(e,t){for(var r in t)e[_(r)]=t[r]}!function(e){e._o=Oi,e._n=p,e._s=f,e._l=bi,e._t=_i,e._q=T,e._i=j,e._m=ki,e._f=xi,e._k=$i,e._b=Si,e._v=re,e._e=te,e._u=ji,e._g=Ti,e._d=Fi,e._p=Pi}(Zi.prototype);var Qi={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var r=e;Qi.prepatch(r,r)}else{(e.componentInstance=to(e,null)).$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var r=t.componentOptions;!function(e,t,r,i,o){var a=i.data.scopedSlots,s=e.$scopedSlots,c=!!(a&&!a.$stable||s!==n&&!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||n,e.$listeners=r||n,t&&e.$options.props){Ce(!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]=Be(d,v,t,e)}Ce(!0),e.$options.propsData=t}r=r||n;var h=e.$options._parentListeners;e.$options._parentListeners=r,qi(e,r,h),u&&(e.$slots=Ni(o,i.context),e.$forceUpdate())}(t.componentInstance=e.componentInstance,r.propsData,r.listeners,t,r.children)},insert:function(e){var t=e.context,r=e.componentInstance;r._isMounted||(r._isMounted=!0,Ki(r,"mounted")),e.data.keepAlive&&(t._isMounted?function(e){e._inactive=!1}(r):Ui(r,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?Ji(t,!0):t.$destroy())}},Yi=Object.keys(Qi);function eo(e,t,r,s,u){if(!i(e)){var l=r.$options._base;if(c(e)&&(e=l.extend(e)),"function"==typeof e){var f,p;if(i(e.cid)&&void 0===(e=a((p=f=e).error)&&o(p.errorComp)?p.errorComp:o(p.resolved)?p.resolved:a(p.loading)&&o(p.loadingComp)?p.loadingComp:void 0))return function(e,t,r,n,i){var o=te();return o.asyncFactory=e,o.asyncMeta={data:t,context:r,children:n,tag:i},o}(f,t,r,s,u);t=t||{},Wi(e),o(t.model)&&function(e,t){var r=e.model&&e.model.prop||"value",n=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[r]=t.model.value;var i=t.on||(t.on={}),a=i[n],s=t.model.callback;o(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(i[n]=[s].concat(a)):i[n]=s}(e.options,t);var d=function(e,t,r){var n=t.options.props;if(!i(n)){var a={},s=e.attrs,c=e.props;if(o(s)||o(c))for(var u in n){var l=$(u);hi(a,c,u,l,!0)||hi(a,s,u,l,!1)}return a}}(t,e);if(a(e.options.functional))return function(e,t,r,i,a){var s=e.options,c={},u=s.props;if(o(u))for(var l in u)c[l]=Be(l,u,t||n);else o(r.attrs)&&Gi(c,r.attrs),o(r.props)&&Gi(c,r.props);var f=new Zi(r,c,a,i,e),p=s.render.call(null,f._c,f);if(p instanceof Y)return Xi(p,r,f.parent,s);if(Array.isArray(p)){for(var d=oi(p)||[],v=new Array(d.length),h=0;h<d.length;h++)v[h]=Xi(d[h],r,f.parent,s);return v}}(e,d,t,r,s);var v=t.on;if(t.on=t.nativeOn,a(e.options.abstract)){var h=t.slot;t={},h&&(t.slot=h)}!function(e){for(var t=e.hook||(e.hook={}),r=0;r<Yi.length;r++){var n=Yi[r],i=t[n],o=Qi[n];i===o||i&&i._merged||(t[n]=i?ro(o,i):o)}}(t);var m=e.options.name||u;return new Y("vue-component-"+e.cid+(m?"-"+m:""),t,void 0,void 0,void 0,r,{Ctor:e,propsData:d,listeners:v,tag:u,children:s},f)}}}function to(e,t){var r={_isComponent:!0,_parentVnode:e,parent:t},n=e.data.inlineTemplate;return o(n)&&(r.render=n.render,r.staticRenderFns=n.staticRenderFns),new e.componentOptions.Ctor(r)}function ro(e,t){var r=function(r,n){e(r,n),t(r,n)};return r._merged=!0,r}var no=Object.create(null),io=function(e){no[e]||(no[e]=!0,console.warn("\n\x1b[31m"+e+"\x1b[39m\n"))},oo=function(e,t){var r=t?undefined():"";throw new Error("\n\x1b[31m"+e+r+"\x1b[39m\n")},ao=function(e){var t=e.$options,r=t.render,n=t.template,o=t._scopeId;if(i(r)){if(!n)throw new Error("render function or template not defined in component: "+(e.$options.name||e.$options._componentTag||"anonymous"));var a=ti(n,{scopeId:o,warn:oo},e);e.$options.render=a.render,e.$options.staticRenderFns=a.staticRenderFns}};function so(e,t,r){var n=e.$options.serverPrefetch;if(o(n)){Array.isArray(n)||(n=[n]);try{for(var i=[],a=0,s=n.length;a<s;a++){var c=n[a].call(e,e);c&&"function"==typeof c.then&&i.push(c)}return void Promise.all(i).then(t).catch(r)}catch(e){r(e)}}t()}function co(e,t,r){e.isString?function(e,t){var r=t.write,n=t.next;if(i(e.children)||0===e.children.length)r(e.open+(e.close||""),n);else{var o=e.children;t.renderStates.push({type:"Element",children:o,rendered:0,total:o.length,endTag:e.close}),r(e.open,n)}}(e,r):o(e.componentOptions)?lo(e,t,r):o(e.tag)?function(e,t,r){var n=r.write,s=r.next;a(t)&&(e.data||(e.data={}),e.data.attrs||(e.data.attrs={}),e.data.attrs["data-server-rendered"]="true");e.fnOptions&&uo(e.fnOptions,n);var c=function(e,t){var r,n="<"+e.tag,a=t.directives,s=t.modules;i(e.data)&&vo(e)&&(e.data={});if(o(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=qe(t,"directives",l);f&&f(e,c[u])}}var p=function(e){var t,r;for(;o(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 d=0;d<s.length;d++){var v=s[d](e);v&&(n+=v)}}var h=t.activeInstance;o(h)&&h!==e.context&&o(r=h.$options._scopeId)&&(n+=" "+r);if(o(e.fnScopeId))n+=" "+e.fnScopeId;else for(;o(e);)o(r=e.context.$options._scopeId)&&(n+=" "+r),e=e.parent;return n+">"}(e,r),u="</"+e.tag+">";if(r.isUnaryTag(e.tag))n(c,s);else if(i(e.children)||0===e.children.length)n(c+u,s);else{var l=e.children;r.renderStates.push({type:"Element",children:l,rendered:0,total:l.length,endTag:u}),n(c,s)}}(e,t,r):a(e.isComment)?o(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=eo(n,o,e.asyncMeta.context,a,s);c?c.componentOptions?lo(c,t,r):Array.isArray(c)?(r.renderStates.push({type:"Fragment",children:c,rendered:0,total:c.length}),r.next()):co(c,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,r):r.write("\x3c!--"+e.text+"--\x3e",r.next):r.write(e.raw?e.text:Z(String(e.text)),r.next)}function uo(e,t){var r=e._ssrRegister;return t.caching&&o(r)&&t.componentBuffer[t.componentBuffer.length-1].add(r),r}function lo(e,t,r){var n=r.write,a=r.next,s=r.userContext,c=e.componentOptions.Ctor,u=c.options.serverCacheKey,l=c.options.name,f=r.cache,p=uo(c.options,n);if(o(u)&&o(f)&&o(l)){var d=u(e.componentOptions.propsData);if(!1===d)return void po(e,t,r);var v=l+"::"+d,h=r.has,m=r.get;o(h)?h(v,(function(i){!0===i&&o(m)?m(v,(function(e){o(p)&&p(s),e.components.forEach((function(e){return e(s)})),n(e.html,a)})):fo(e,t,v,r)})):o(m)&&m(v,(function(i){o(i)?(o(p)&&p(s),i.components.forEach((function(e){return e(s)})),n(i.html,a)):fo(e,t,v,r)}))}else o(u)&&i(f)&&io("[vue-server-renderer] Component "+(c.options.name||"(anonymous)")+" implemented serverCacheKey, but no cache was provided to the renderer."),o(u)&&i(l)&&io('[vue-server-renderer] Components that implement "serverCacheKey" must also define a unique "name" option.'),po(e,t,r)}function fo(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}),po(e,t,n)}function po(e,t,r){var n=r.activeInstance;e.ssrContext=r.userContext;var i=r.activeInstance=to(e,r.activeInstance);ao(i);var o=r.done;so(i,(function(){var o=i._render();o.parent=e,r.renderStates.push({type:"Component",prevActive:n}),co(o,t,r)}),o)}function vo(e){var t=e.parent;return o(t)&&(o(t.data)||vo(t))}function ho(e,t,r,n){return function(i,o,a,s){no=Object.create(null);var c=new bt({activeInstance:i,userContext:a,write:o,done:s,renderNode:co,isUnaryTag:r,modules:e,directives:t,cache:n});!function(e){if(!e._ssrNode){for(var t=e.constructor;t.super;)t=t.super;S(t.prototype,ci),t.FunctionalRenderContext&&S(t.FunctionalRenderContext.prototype,ci)}}(i),ao(i);so(i,(function(){co(i._render(),!0,c)}),s)}}var mo=function(e){return/\.js(\?[^.]+)?$/.test(e)};function yo(){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 go=function(e){function t(t,r,n){e.call(this),this.started=!1,this.renderer=t,this.template=r,this.context=n||{},this.inject=t.inject}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,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),bo=require("lodash.template"),_o={escape:/{{([^{][\s\S]+?[^}])}}/g,interpolate:/{{{([\s\S]+?)}}}/g};function xo(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];n&&n.forEach((function(e){var n=t.all[e];n&&(t.async.indexOf(n)>-1||!/\.(js|css)($|\?)/.test(n))&&r.push(n)}));return 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 wo=require("path"),$o=require("serialize-javascript"),So=function(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:bo(e.slice(0,r),_o),neck:bo(e.slice(r,n),_o),tail:bo(e.slice(n+t.length),_o)}}(t):t:null,this.serialize=e.serializer||function(e){return $o(e,{isJSON:!0})},e.clientManifest){var r=this.clientManifest=e.clientManifest;this.publicPath=""===r.publicPath?"":r.publicPath.replace(/([^\/])$/,"$1/"),this.preloadFiles=(r.initial||[]).map(ko),this.prefetchFiles=(r.async||[]).map(ko),this.mapFiles=xo(r)}};function ko(e){var t=e.replace(/\?.*/,""),r=wo.extname(t).slice(1);return{file:e,extension:r,fileWithoutQuery:t,asType:Oo(r)}}function Oo(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":""}So.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)},So.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)},So.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||"")},So.prototype.renderResourceHints=function(e){return this.renderPreloadLinks(e)+this.renderPrefetchLinks(e)},So.prototype.getPreloadFiles=function(e){var t=this.getUsedAsyncFiles(e);return this.preloadFiles||t?(this.preloadFiles||[]).concat(t||[]):[]},So.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(""):""},So.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""},So.prototype.renderState=function(e,t){var r=t||{},n=r.contextKey;void 0===n&&(n="state");var i=r.windowKey;void 0===i&&(i="__INITIAL_STATE__");var o=this.serialize(e[n]),a=e.nonce?' nonce="'+e.nonce+'"':"";return e[n]?"<script"+a+">window."+i+"="+o+";(function(){var s;(s=document.currentScript||document.scripts[document.scripts.length-1]).parentNode.removeChild(s);}());<\/script>":""},So.prototype.renderScripts=function(e){var t=this;if(this.clientManifest){var r=this.preloadFiles.filter((function(e){var t=e.file;return mo(t)})),n=(this.getUsedAsyncFiles(e)||[]).filter((function(e){var t=e.file;return mo(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""},So.prototype.getUsedAsyncFiles=function(e){if(!e._mappedFiles&&e._registeredComponents&&this.mapFiles){var t=Array.from(e._registeredComponents);e._mappedFiles=this.mapFiles(t).map(ko)}return e._mappedFiles},So.prototype.createStream=function(e){if(!this.parsedTemplate)throw new Error("createStream cannot be called without a template.");return new go(this,this.parsedTemplate,e||{})};var Ao=require("vm"),Co=require("path"),To=require("resolve"),jo=require("module");function Fo(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 Po(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=jo.wrap(r),o=new Ao.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=Co.posix.join(".",r),e[r]?o(r,s,c):t?require(i[r]||(i[r]=To.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 No(e){if(l(e)){var t={};for(var r in e)t[r]=No(e[r]);return t}return Array.isArray(e)?e.slice():e}function Eo(e,t,r,n){var i,o,a=Po(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,Fo(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?Fo():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=No(o._styles);var c=o._renderStyles;c&&Object.defineProperty(t,"styles",{enumerable:!0,get:function(){return c(t._styles)}})}r(i(t))}))}}var Io=require("source-map").SourceMapConsumer,Mo=/\(([^)]+\.js):(\d+):(\d+)\)$/;function Ro(e,t){e&&"string"==typeof e.stack&&(e.stack=e.stack.split("\n").map((function(e){return function(e,t){var r=e.match(Mo),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(Mo,c)}return e}return e}(e,t)})).join("\n"))}var Do=require("fs"),zo=require("path"),Lo=require("stream").PassThrough,qo="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 Bo(e){return void 0===e&&(e={}),function(e){void 0===e&&(e={});var t=e.modules;void 0===t&&(t=[]);var r=e.directives;void 0===r&&(r={});var n=e.isUnaryTag;void 0===n&&(n=function(){return!1});var i=e.template,o=e.inject,a=e.cache,s=e.shouldPreload,c=e.shouldPrefetch,u=e.clientManifest,l=e.serializer,f=ho(t,r,n,a),p=new So({template:i,inject:o,shouldPreload:s,shouldPrefetch:c,clientManifest:u,serializer:l});return{renderToString:function(e,t,r){var n,o;"function"==typeof t&&(r=t,t={}),t&&p.bindRenderFns(t),r||(o=(n=yo()).promise,r=n.cb);var a="",s=yt((function(e){return a+=e,!1}),r);try{f(e,s,t,(function(e){if(e)return r(e);if(t&&t.rendered&&t.rendered(t),i)try{var n=p.render(a,t);"string"!=typeof n?n.then((function(e){return r(null,e)})).catch(r):r(null,n)}catch(e){r(e)}else r(null,a)}))}catch(e){r(e)}return o},renderToStream:function(e,t){t&&p.bindRenderFns(t);var r=new gt((function(r,n){f(e,r,t,n)}));if(i){if("function"==typeof i)throw new Error("function template is only supported in renderToString.");var n=p.createStream(t);if(r.on("error",(function(e){n.emit("error",e)})),r.pipe(n),t&&t.rendered){var o=t.rendered;r.once("beforeEnd",(function(){o(t)}))}return n}if(t&&t.rendered){var a=t.rendered;r.once("beforeEnd",(function(){a(t)}))}return r}}}(S(S({},e),{isUnaryTag:dt,canBeLeftOpenTag:vt,modules:ut,directives:S(pt,e.directives)}))}process.env.VUE_ENV="server";var Uo=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)&&zo.isAbsolute(t)){if(!Do.existsSync(t))throw new Error("Cannot locate bundle file: "+t);var s=/\.json$/.test(t);if(a=a||zo.dirname(t),t=Do.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 Io(e[r])})),t}(t.maps),"string"!=typeof i||"object"!=typeof n)throw new Error(qo)}else{if("string"!=typeof t)throw new Error(qo);i="__vue_ssr_bundle__",n={__vue_ssr_bundle__:t},o={}}var c=e(r),u=Eo(i,n,a,r.runInNewContext);return{renderToString:function(e,t){var r,n;return"function"==typeof e&&(t=e,e={}),t||(n=(r=yo()).promise,t=r.cb),u(e).catch((function(e){Ro(e,o),t(e)})).then((function(r){r&&c.renderToString(r,e,(function(e,r){Ro(e,o),t(e,r)}))})),n},renderToStream:function(e){var t=new Lo;return u(e).catch((function(e){Ro(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){Ro(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}}}}(Bo);exports.createBundleRenderer=Uo,exports.createRenderer=Bo; |