From 832dbb7e25bacf7b72ebbfbfd4cd4f6c8d21b495 Mon Sep 17 00:00:00 2001 From: David Stone Date: Sat, 20 Sep 2025 09:11:16 -0600 Subject: [PATCH] fix(assets): use Vue 2.7.14 production build and expose window.wu_vue wrapper (closes #24) --- assets/js/lib/vue.min.js | 14 +++++++++++++- tests/unit/VueBuild_Test.php | 22 ++++++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 tests/unit/VueBuild_Test.php diff --git a/assets/js/lib/vue.min.js b/assets/js/lib/vue.min.js index f1e7bcf5..8bd4ea71 100644 --- a/assets/js/lib/vue.min.js +++ b/assets/js/lib/vue.min.js @@ -1 +1,13 @@ -(()=>{var L=Object.freeze({}),F=Array.isArray;function R(e){return null==e}function V(e){return null!=e}function U(e){return!0===e}function d(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function I(e){return"function"==typeof e}function H(e){return null!==e&&"object"==typeof e}var g=Object.prototype.toString;function S(e){return g.call(e).slice(8,-1)}function N(e){return"[object Object]"===g.call(e)}function M(e){return"[object RegExp]"===g.call(e)}function y(e){var t=parseFloat(String(e));return 0<=t&&Math.floor(t)===t&&isFinite(e)}function Z(e){return V(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function _(e){return null==e?"":Array.isArray(e)||N(e)&&e.toString===g?JSON.stringify(e,null,2):String(e)}function G(e){var t=parseFloat(e);return isNaN(t)?e:t}function o(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o"Map"===(e=S(e))||"WeakMap"===e||"Set"===e||"WeakSet"===e)(n)&&q("Vue 2 does not support reactive collection types such as Map or Set.")),ce(e,"__v_isShallow",!0),e}function st(e){return e&&e.__v_isReadonly}function h(e){return!(!e||!0!==e.__v_isRef)}function ct(e,n,r){Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:function(){var e,t=n[r];return h(t)?t.value:((e=t&&t.__ob__)&&e.dep.depend(),t)},set:function(e){var t=n[r];h(t)&&!h(e)?t.value=e:n[r]=e}})}var lt=i&&window.performance,ut=(lt&<.mark&<.measure&<.clearMarks&<.clearMeasures&&(f=function(e){return lt.mark(e)},Xe=function(e,t,n){lt.measure(e,t,n),lt.clearMarks(t),lt.clearMarks(n)}),e(function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),r="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=r?e.slice(1):e,once:n,capture:r,passive:t}}));function dt(e,r){function o(){var e=o.fns;if(!F(e))return yn(e,null,arguments,r,"v-on handler");for(var t=e.slice(),n=0;n{for(var t=0;t."),e),new z(D.parsePlatformTagName(t),n,r,void 0,void 0,e)):n&&n.pre||!V(a=pr(e.$options,"components",t))?new z(t,n,r,void 0,void 0,e):Yn(a,n,e,r,t)):Yn(t,n,e,r),F(a)?a:V(a)?(V(i)&&function e(t,n,r){t.ns=n;"foreignObject"===t.tag&&(r=!(n=void 0));if(V(t.children))for(var o=0,a=t.children.length;o{c="class"===t||"style"===t||Y(t)?r:(e=r.attrs&&r.attrs.type,i||D.mustUseProp(o,e,t)?r.domProps||(r.domProps={}):r.attrs||(r.attrs={}));var e=E(t),n=Q(t);e in c||n in c||(c[t]=a[t],s&&((r.on||(r.on={}))["update:".concat(t)]=function(e){a[t]=e}))})(e)}else q("v-bind without argument expects an Object or Array value",this);return r}function St(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||Tt(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,this._c,this),"__static__".concat(e),!1),r}function Ot(e,t,n){return Tt(e,"__once__".concat(t).concat(n?"_".concat(n):""),!0),e}function Tt(e,t,n){if(F(e))for(var r=0;r{function n(){var e=Ce,t=(Se(r),arguments.length?o.apply(null,arguments):o({})),n=(t=t&&"object"==typeof t&&!F(t)?[t]:ht(t))&&t[0];return Se(e),t&&(!n||1===t.length&&n.isComment&&!Lt(n))?void 0:t}return o.proxy&&Object.defineProperty(e,t,{get:n,enumerable:!0,configurable:!0}),n})(e,n,l,t[l]))}else o={};for(a in n)a in o||(o[a]=((e,t)=>function(){return e[t]})(n,a));return t&&Object.isExtensible(t)&&(t._normalized=o),ce(o,"$stable",s),ce(o,"$key",c),ce(o,"$hasNormal",i),o}function Rt(e){var n,r,t=e.$options,o=t.setup;if(o){var a=e._setupContext=(n=e,r=!1,{get attrs(){var e;return n._attrsProxy||(ce(e=n._attrsProxy={},"_v_attr_proxy",!0),Vt(e,n.$attrs,L,n,"$attrs")),n._attrsProxy},get listeners(){return n._listenersProxy||Vt(n._listenersProxy={},n.$listeners,L,n,"$listeners"),n._listenersProxy},get slots(){var e=n;return e._slotsProxy||Ut(e._slotsProxy={},e.$scopedSlots),e._slotsProxy},emit:ee(n.$emit,n),expose:function(t){r&&q("expose() should be called only once per setup().",n),r=!0,t&&Object.keys(t).forEach(function(e){return ct(n,t,e)})}}),i=(Se(e),ze(),yn(o,null,[e._props||it({}),a],e,"setup"));if(qe(),Se(),I(i))t.render=i;else if(H(i))if(i instanceof z&&q("setup() should not return VNodes directly - return a render function instead."),(e._setupState=i).__sfc){var s=e._setupProxy={};for(c in i)"__sfc"!==c&&ct(s,i,c)}else for(var c in i)se(c)?q("Avoid using variables that start with _ or $ in setup()."):ct(e,i,c);else void 0!==i&&q("setup() should return an object. Received: ".concat(null===i?"null":typeof i))}}function Vt(e,t,n,r,o){var a,i=!1;for(a in t)a in e?t[a]!==n[a]&&(i=!0):(i=!0,((e,t,n,r)=>{Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){return n[r][t]}})})(e,a,r,o));for(a in e)a in t||(i=!0,delete e[a]);return i}function Ut(e,t){for(var n in t)e[n]=t[n];for(var n in e)n in t||delete e[n]}var Ht,Bt=null;function zt(e,t){return H(e=e.__esModule||$e&&"Module"===e[Symbol.toStringTag]?e.default:e)?t.extend(e):e}function qt(e){if(F(e))for(var t=0;tdocument.createEvent("Event").timeStamp&&(pn=function(){return un.now()}),function(e,t){if(e.post){if(!t.post)return 1}else if(t.post)return-1;return e.id-t.id});function vn(){var e,t;for(dn=pn(),cn=!0,nn.sort(fn),ln=0;lntn)){q("You may have an infinite update loop "+(e.user?'in watcher with expression "'.concat(e.expression,'"'):"in a component render function."),e.vm);break}for(var n=rn.slice(),r=nn.slice(),o=(ln=nn.length=rn.length=0,on={},sn=cn=!(an={}),n),a=0;ae.id;)n--;nn.splice(n+1,0,e)}else nn.push(e);sn||(sn=!0,D.async?Tn(vn):vn())}}},In.prototype.run=function(){var e,t,n;this.active&&((e=this.get())!==this.value||H(e)||this.deep)&&(t=this.value,this.value=e,this.user?(n='callback for watcher "'.concat(this.expression,'"'),yn(this.cb,this.vm,[e,t],this.vm,n)):this.cb.call(this.vm,e,t))},In.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},In.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},In.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&X(this.vm._scope.effects,this),this.active){for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},In);function In(e,t,n,r,o){var a,i;a=this,(i=void 0===(i=s&&!s._vm?s:e?e._scope:void 0)?s:i)&&i.active&&i.effects.push(a),(this.vm=e)&&o&&(e._watcher=this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before,this.onTrack=r.onTrack,this.onTrigger=r.onTrigger):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++jn,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ke,this.newDepIds=new ke,this.expression=t.toString(),I(t)?this.getter=t:(this.getter=(e=>{var n;if(!le.test(e))return n=e.split("."),function(e){for(var t=0;t{s.push(e);var t=fr(e,o,a,r),n=Q(e);(Y(n)||D.isReservedAttr(n))&&q('"'.concat(n,'" is a reserved attribute and cannot be used as component prop.'),r),rt(i,e,t,function(){c||Yt||q("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's "+'value. Prop being mutated: "'.concat(e,'"'),r)}),e in r||En(r,"_props",e)})(n);Ye(!0)}if(Rt(e),t.methods){var l,u=e,d=t.methods,p=u.$options.props;for(l in d)"function"!=typeof d[l]&&q('Method "'.concat(l,'" has type "').concat(typeof d[l],'" in the component definition. ')+"Did you reference the function correctly?",u),p&&B(p,l)&&q('Method "'.concat(l,'" has already been defined as a prop.'),u),l in u&&se(l)&&q('Method "'.concat(l,'" conflicts with an existing Vue instance method. ')+"Avoid defining component methods that start with _ or $."),u[l]="function"!=typeof d[l]?P:ee(d[l],u)}if(t.data){for(var f=e,v=f.$options.data,h=(N(v=f._data=I(v)?((e,t)=>{ze();try{return e.call(t,t)}catch(e){return gn(e,t,"data()"),{}}finally{qe()}})(v,f):v||{})||(v={},q("data functions should return an object:\nhttps://v2.vuejs.org/v2/guide/components.html#data-Must-Be-a-Function",f)),Object.keys(v)),m=f.$options.props,g=f.$options.methods,y=h.length;y--;){var _=h[y];g&&B(g,_)&&q('Method "'.concat(_,'" has already been defined as a data property.'),f),m&&B(m,_)?q('The data property "'.concat(_,'" is already declared as a prop. ')+"Use prop default value instead.",f):se(_)||En(f,"_data",_)}(v=nt(v))&&v.vmCount++}else{v=nt(e._data={});v&&v.vmCount++}if(t.computed){var b,w=e,$=t.computed,x=w._computedWatchers=Object.create(null),k=_e();for(b in $){var C=$[b],S=I(C)?C:C.get;null==S&&q('Getter is missing for computed property "'.concat(b,'".'),w),k||(x[b]=new Nn(w,S||P,P,Dn)),b in w?b in w.$data?q('The computed property "'.concat(b,'" is already defined in data.'),w):w.$options.props&&b in w.$options.props?q('The computed property "'.concat(b,'" is already defined as a prop.'),w):w.$options.methods&&b in w.$options.methods&&q('The computed property "'.concat(b,'" is already defined as a method.'),w):Ln(w,b,C)}}if(t.watch&&t.watch!==me){var O,T=e,A=t.watch;for(O in A){var M=A[O];if(F(M))for(var j=0;j{var t,n,r=e.options,o=e.sealedOptions;for(n in r)r[n]!==o[n]&&((t=t||{})[n]=r[n]);return t})(e))&&k(e.extendOptions,n),(r=e.options=dr(t,e.extendOptions)).name)&&(r.components[r.name]=e),r}function qn(e,t,n,o,r){var a,i=this,s=r.options,r=(B(o,"_uid")?(a=Object.create(o))._original=o:o=(a=o)._original,U(s._compiled)),c=!r;this.data=e,this.props=t,this.children=n,this.parent=o,this.listeners=e.on||L,this.injections=Hn(s.inject,o),this.slots=function(){return i.$slots||Ft(o,e.scopedSlots,i.$slots=Pt(n,o)),i.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Ft(o,e.scopedSlots,this.slots())}}),r&&(this.$options=s,this.$slots=this.slots(),this.$scopedSlots=Ft(o,e.scopedSlots,this.$slots)),s._scopeId?this._c=function(e,t,n,r){e=_t(a,e,t,n,r,c);return e&&!F(e)&&(e.fnScopeId=s._scopeId,e.fnContext=o),e}:this._c=function(e,t,n,r){return _t(a,e,t,n,r,c)}}function Jn(e,t,n,r,o){e=Me(e);return e.fnContext=n,e.fnOptions=r,(e.devtoolsMeta=e.devtoolsMeta||{}).renderContext=o,t.slot&&((e.data||(e.data={})).slot=t.slot),e}function Kn(e,t){for(var n in t)e[E(n)]=t[n]}function Wn(e){return e.name||e.__name||e._componentTag}Et(qn.prototype);var Zn={init:function(e,t){e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive?Zn.prepatch(e,e):(e.componentInstance=((e,t)=>{var t={_isComponent:!0,_parentVnode:e,parent:t},n=e.data.inlineTemplate;return V(n)&&(t.render=n.render,t.staticRenderFns=n.staticRenderFns),new e.componentOptions.Ctor(t)})(e,Gt)).$mount(t?e.elm:void 0,t)},prepatch:function(e,t){var n=t.componentOptions,r=t.componentInstance=e.componentInstance,o=n.propsData,e=n.listeners,n=n.children,a=(Yt=!0,t.data.scopedSlots),i=r.$scopedSlots,i=!!(a&&!a.$stable||i!==L&&!i.$stable||a&&r.$scopedSlots.$key!==a.$key||!a&&r.$scopedSlots.$key),a=!!(n||r.$options._renderChildren||i),i=r.$vnode,s=(r.$options._parentVnode=t,r.$vnode=t,r._vnode&&(r._vnode.parent=t),r.$options._renderChildren=n,t.data.attrs||L),i=(r._attrsProxy&&Vt(r._attrsProxy,s,i.data&&i.data.attrs||L,r,"$attrs")&&(a=!0),r.$attrs=s,e=e||L,r.$options._parentListeners);if(r._listenersProxy&&Vt(r._listenersProxy,e,i||L,r,"$listeners"),r.$listeners=r.$options._parentListeners=e,Zt(r,e,i),o&&r.$options.props){Ye(!1);for(var c=r._props,l=r.$options._propKeys||[],u=0;u{var r=t.options.props;if(!R(r)){var o={},a=e.attrs,i=e.props;if(V(a)||V(i))for(var s in r){var c=Q(s),l=s.toLowerCase();s!==l&&a&&B(a,l)&&Qn('Prop "'.concat(l,'" is passed to component ')+"".concat(nr(n||t),", but the declared prop name is")+' "'.concat(s,'". ')+"Note that HTML attributes are case-insensitive and camelCased props need to use their kebab-case equivalents when using in-DOM "+'templates. You should probably use "'.concat(c,'" instead of "').concat(s,'".')),vt(o,i,s,c,!0)||vt(o,a,s,c,!1)}return o}})(t,e,o);if(!U(e.options.functional)){for(var b=t.on,y=(t.on=t.nativeOn,U(e.options.abstract)&&(y=t.slot,t={},y)&&(t.slot=y),t),w=y.hook||(y.hook={}),$=0;${function e(e,t){n(e,t),r(e,t)}return e._merged=!0,e})(C,k):C)}y=Wn(e.options)||o;return new z("vue-component-".concat(e.cid).concat(y?"-".concat(y):""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:_,listeners:b,tag:o,children:r},O)}var y=e,D=_,S=t,o=n,O=r,T=y.options,A={},M=T.props;if(V(M))for(var j in M)A[j]=fr(j,M,D||L);else V(S.attrs)&&Kn(A,S.attrs),V(S.props)&&Kn(A,S.props);var N=new qn(S,A,O,o,y);if((O=T.render.call(null,N._c,N))instanceof z)return Jn(O,S,N.parent,T,N);if(F(O)){for(var I=ht(O)||[],E=new Array(I.length),P=0;P":(r=Wn(e=I(e)&&null!=e.cid?e.options:e._isVue?e.$options||e.constructor.options:e),e=e.__file,((r=!r&&e?(n=e.match(/([^/\\]+)\.vue$/))&&n[1]:r)?"<".concat(Xn(r),">"):"")+(e&&!1!==t?" at ".concat(e):""))},rr=function(e){if(e._isVue&&e.$parent){for(var t=[],n=0;e;){if(0{for(var n="";t;)t%2==1&&(n+=e),1>=1;return n})(" ",5+2*t)).concat(F(e)?"".concat(nr(e[0]),"... (").concat(e[1]," recursive calls)"):nr(e))}).join("\n")}return"\n\n(found in ".concat(nr(e),")")},C=D.optionMergeStrategies;function or(e,t,n){if(void 0===n&&(n=!0),t)for(var r,o,a,i=$e?Reflect.ownKeys(t):Object.keys(t),s=0;s{for(var t=[],n=0;n{var r;if(B(t,"default"))return H(r=t.default)&&q('Invalid default value for prop "'+n+'": Props with type Object/Array must use a factory function to return the default value.',e),e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:I(r)&&"Function"!==mr(t.type)?r.call(e):r})(r,t,e),a=Ge,Ye(!0),nt(n),Ye(a)),t),a=e,s=n,c=r,t=o;if(i.required&&t)q('Missing required prop: "'+a+'"',c);else if(null!=s||i.required){var l=i.type,u=!l||!0===l,d=[];if(l){F(l)||(l=[l]);for(var p=0;p{var r,o=mr(t);if(vr.test(o)){var a=typeof e;(r=a===o.toLowerCase())||"object"!=a||(r=e instanceof t)}else if("Object"===o)r=N(e);else if("Array"===o)r=F(e);else try{r=e instanceof t}catch(e){q('Invalid prop type: "'+String(t)+'" is not a constructor',n),r=!1}return{valid:r,expectedType:o}})(s,l[p],c);d.push(f.expectedType||""),u=f.valid}}t=d.some(function(e){return e});!u&&t?q(((e,t,n)=>{var e='Invalid prop: type check failed for prop "'.concat(e,'".')+" Expected ".concat(n.map(x).join(", ")),r=n[0],o=S(t);return 1===n.length&&xr(r)&&xr(typeof t)&&!function(){for(var e=[],t=0;tparseInt(this.max)&&Tr(n,r[0],r,this._vnode),this.vnodeToCache=null)}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Tr(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",function(t){Or(e,function(e){return Sr(t,e)})}),this.$watch("exclude",function(t){Or(e,function(e){return!Sr(t,e)})})},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=qt(e),n=t&&t.componentOptions;if(n){var r=Cr(n),o=this.include,a=this.exclude;if(o&&(!r||!Sr(o,r))||a&&r&&Sr(a,r))return t;o=this.cache,a=this.keys,r=null==t.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):t.key;o[r]?(t.componentInstance=o[r].componentInstance,X(a,r),a.push(r)):(this.vnodeToCache=t,this.keyToCache=r),t.data.keepAlive=!0}return t||e&&e[0]}}};u=l,p={get:function(){return D},set:function(){q("Do not replace the Vue.config object, set individual fields instead.")}},Object.defineProperty(u,"config",p),u.util={warn:q,extend:k,mergeOptions:dr,defineReactive:rt},u.set=ot,u.delete=at,u.nextTick=Tn,u.observable=function(e){return nt(e),e},u.options=Object.create(null),ae.forEach(function(e){u.options[e+"s"]=Object.create(null)}),k((u.options._base=u).options.components,t),u.use=function(e){var t,n=this._installedPlugins||(this._installedPlugins=[]);return-1{var n,r=t.indexOf("(");return r<0?'_f("'.concat(t,'")(').concat(e,")"):(n=t.slice(0,r),t=t.slice(r+1),'_f("'.concat(n,'")(').concat(e).concat(")"!==t?","+t:t))})(r,o[f]);return r}function ko(e,t){console.error("[Vue compiler]: ".concat(e))}function Co(e,t){return e?e.map(function(e){return e[t]}).filter(function(e){return e}):[]}function So(e,t,n,r,o){(e.props||(e.props=[])).push(Io({name:t,value:n,dynamic:o},r)),e.plain=!1}function Oo(e,t,n,r,o){(o?e.dynamicAttrs||(e.dynamicAttrs=[]):e.attrs||(e.attrs=[])).push(Io({name:t,value:n,dynamic:o},r)),e.plain=!1}function To(e,t,n,r){e.attrsMap[t]=n,e.attrsList.push(Io({name:t,value:n},r))}function Ao(e,t,n){return n?"_p(".concat(t,',"').concat(e,'")'):e+t}function Mo(e,t,n,r,o,a,i,s){r=r||L,a&&r.prevent&&r.passive&&a("passive and prevent can't be used together. Passive handler can't prevent default event.",i),r.right?s?t="(".concat(t,")==='click'?'contextmenu':(").concat(t,")"):"click"===t&&(t="contextmenu",delete r.right):r.middle&&(s?t="(".concat(t,")==='click'?'mouseup':(").concat(t,")"):"click"===t&&(t="mouseup")),r.capture&&(delete r.capture,t=Ao("!",t,s)),r.once&&(delete r.once,t=Ao("~",t,s)),r.passive&&(delete r.passive,t=Ao("&",t,s)),a=r.native?(delete r.native,e.nativeEvents||(e.nativeEvents={})):e.events||(e.events={});n=Io({value:n.trim(),dynamic:s},i),r!==L&&(n.modifiers=r),s=a[t];Array.isArray(s)?o?s.unshift(n):s.push(n):a[t]=s?o?[n,s]:[s,n]:n,e.plain=!1}function jo(e,t){return e.rawAttrsMap[":"+t]||e.rawAttrsMap["v-bind:"+t]||e.rawAttrsMap[t]}function J(e,t,n){var r=K(e,":"+t)||K(e,"v-bind:"+t);if(null!=r)return xo(r);if(!1!==n){r=K(e,t);if(null!=r)return JSON.stringify(r)}}function K(e,t,n){var r;if(null!=(r=e.attrsMap[t]))for(var o=e.attrsList,a=0,i=o.length;a{if(e=e.trim(),vo=e.length,e.indexOf("[")<0||e.lastIndexOf("]")=o||e.timeStamp<=0||e.target.ownerDocument!==document)return a.apply(this,arguments)}),Vo.addEventListener(e,t,ge?{capture:n,passive:r}:n)}function Jo(e,t,n,r){(r||Vo).removeEventListener(e,t._wrapper||t,n)}function Ko(e,t){var n,r,o;R(e.data.on)&&R(t.data.on)||(n=t.data.on||{},r=e.data.on||{},Vo=t.elm||e.elm,V((e=n)[Uo])&&(e[o=pe?"change":"input"]=[].concat(e[Uo],e[o]||[]),delete e[Uo]),V(e[Ho])&&(e.change=[].concat(e[Ho],e.change||[]),delete e[Ho]),pt(n,r,qo,Jo,Bo,t.context),Vo=void 0)}var Wo,ye={create:Ko,update:Ko,destroy:function(e){return Ko(e,to)}};function Zo(e,t){if(!R(e.data.domProps)||!R(t.data.domProps)){var n,r,o,a,i=t.elm,s=e.data.domProps||{},c=t.data.domProps||{};for(n in(V(c.__ob__)||U(c._v_attr_proxy))&&(c=t.data.domProps=k({},c)),s)n in c||(i[n]="");for(n in c){if(r=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===s[n])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===n&&"PROGRESS"!==i.tagName){var l=R(i._value=r)?"":String(r);a=l,(o=i).composing||"OPTION"!==o.tagName&&!((e,t)=>{var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t})(o,a)&&!((e,t)=>{var n=e.value;if(V(e=e._vModifiers)){if(e.number)return G(n)!==G(t);if(e.trim)return n.trim()!==t.trim()}return n!==t})(o,a)||(i.value=l)}else if("innerHTML"===n&&Kr(i.tagName)&&R(i.innerHTML)){(Wo=Wo||document.createElement("div")).innerHTML="".concat(r,"");for(var u=Wo.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;u.firstChild;)i.appendChild(u.firstChild)}else if(r!==s[n])try{i[n]=r}catch(e){}}}}var n={create:Zo,update:Zo},Go=e(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){e&&1<(e=e.split(n)).length&&(t[e[0].trim()]=e[1].trim())}),t});function Yo(e){var t=Xo(e.style);return e.staticStyle?k(e.staticStyle,t):t}function Xo(e){return Array.isArray(e)?A(e):"string"==typeof e?Go(e):e}function Qo(e,t,n){if(ta.test(t))e.style.setProperty(t,n);else if(na.test(n))e.style.setProperty(Q(t),n.replace(na,""),"important");else{var r=oa(t);if(Array.isArray(n))for(var o=0,a=n.length;o{var n,r={};if(t)for(var o=e;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=Yo(o.data))&&k(r,n);(n=Yo(e.data))&&k(r,n);for(var a=e;a=a.parent;)a.data&&(n=Yo(a.data))&&k(r,n);return r})(t,!0));for(o in i)R(s[o])&&Qo(a,o,"");for(o in s)(r=s[o])!==i[o]&&Qo(a,o,null==r?"":r)}}var ia={create:aa,update:aa},sa=/\s+/;function ca(t,e){var n;(e=e&&e.trim())&&(t.classList?-1=a&&l()}var s=r===fa?ma:ya,c=0,l=function(){t.removeEventListener(s,i),n()};setTimeout(function(){c explicit ".concat(t," duration is not a valid number - ")+"got ".concat(JSON.stringify(e),"."),n.context):isNaN(e)&&q(" explicit ".concat(t," duration is NaN - ")+"the duration expression might be incorrect.",n.context)}function ja(e){return"number"==typeof e&&!isNaN(e)}function Na(e){var t;return!R(e)&&(V(t=e.fns)?Na(Array.isArray(t)?t[0]:t):1<(e._length||e.length))}function Ia(e,t){!0!==t.data.show&&Ta(t)}var t=(e=>{for(var t,f={},n=e.modules,g=e.nodeOps,r=0;r{var o=e.data;if(V(o)){i=V(e.componentInstance)&&o.keepAlive,V(o=o.hook)&&V(o=o.init)&&o(e,!1);if(V(e.componentInstance)){_(e,t),l(n,e.elm,r);if(U(i)){o=e;var a=t;var i=n;e=r;for(var s,c=o;c.componentInstance;)if(c=c.componentInstance._vnode,V(s=c.data)&&V(s=s.transition)){for(s=0;s - did you register the component correctly? For recursive components, make sure to provide the "name" option.',e.context),e.elm=e.ns?g.createElementNS(e.ns,o):g.createElement(o,e),c(e),b(e,i,t),V(a)&&w(e,t),l(n,e.elm,r),a&&a.pre&&s--):(U(e.isComment)?e.elm=g.createComment(e.text):e.elm=g.createTextNode(e.text),l(n,e.elm,r)))}function _(e,t){V(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,v(e)?(w(e,t),c(e)):(Qr(e),t.push(e))}function l(e,t,n){V(e)&&(V(n)?g.parentNode(n)===e&&g.insertBefore(e,t,n):g.appendChild(e,t))}function b(e,t,n){if(F(t)){k(t);for(var r=0;r{for(var r,o={},a=t;a<=n;++a)V(r=e[a].key)&&(o[r]=a);return o})(t,c,u)),!R(i=V(v.key)?a[v.key]:((e,t,n,r)=>{for(var o=n;o, or missing . Bailing hydration and performing full client-side render.")}r=e,e=new z(g.tagName(r).toLowerCase(),{},[],void 0,r)}i=e.elm,n=g.parentNode(i);if(y(t,a,i._leaveCb?null:n,g.nextSibling(i)),V(t.parent))for(var s=t.parent,c=v(t);s;){for(var l=0;l ')+"expects an Array value for its binding, but got ".concat(Object.prototype.toString.call(r).slice(8,-1)),n);else{for(var a,i,s=0,c=e.options.length;s can only be used on a single element. Use for lists.",this.$parent);var r=this.mode,n=(r&&"in-out"!==r&&"out-in"!==r&&q("invalid mode: "+r,this.$parent),n[0]);if(!(e=>{for(;e=e.parent;)if(e.data.transition)return 1})(this.$vnode)){var o=Ba(n);if(o){if(this._leaving)return qa(e,n);var a="__transition-".concat(this._uid,"-"),a=(o.key=null==o.key?o.isComment?a+"comment":a+o.tag:!d(o.key)||0===String(o.key).indexOf(a)?o.key:a+o.key,(o.data||(o.data={})).transition=za(this)),i=this._vnode,s=Ba(i);if(o.data.directives&&o.data.directives.some(Ka)&&(o.data.show=!0),s&&s.data&&(u=o,(c=s).key!==u.key||c.tag!==u.tag)&&!Lt(s)&&(!s.componentInstance||!s.componentInstance._vnode.isComment)){var c=s.data.transition=k({},a);if("out-in"===r)return this._leaving=!0,ft(c,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),qa(e,n);if("in-out"===r){if(Lt(o))return i;var l,u=function(){l()};ft(a,"afterEnter",u),ft(a,"enterCancelled",u),ft(c,"delayLeave",function(e){l=e})}}}}return n}}},n=k({tag:String,moveClass:String},wo);function Wa(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Za(e){e.data.newPos=e.elm.getBoundingClientRect()}function Ga(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,t=t.top-n.top;(r||t)&&(e.data.moved=!0,(n=e.elm.style).transform=n.WebkitTransform="translate(".concat(r,"px,").concat(t,"px)"),n.transitionDuration="0s")}delete n.mode;var ia={Transition:ye,TransitionGroup:{props:n,beforeMount:function(){var r=this,o=this._update;this._update=function(e,t){var n=Xt(r);r.__patch__(r._vnode,r.kept,!1,!0),r._vnode=r.kept,n(),o.call(r,e,t)}},render:function(e){for(var t,n=this.tag||this.$vnode.data.tag||"span",r=Object.create(null),o=this.prevChildren=this.children,a=this.$slots.default||[],i=this.children=[],s=za(this),c=0;c children must be keyed: <".concat(t,">"))));if(o){for(var l,u=[],d=[],c=0;c, use
.',e.rawAttrsMap.class),r&&(e.staticClass=JSON.stringify(r.replace(/\s+/g," ").trim())),(t=J(e,"class",!1))&&(e.classBinding=t)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:".concat(e.staticClass,",")),e.classBinding&&(t+="class:".concat(e.classBinding,",")),t}};var ti,wo={staticKeys:["staticStyle"],transformNode:function(e,t){var n=t.warn||ko,r=K(e,"style");r&&(ei(r,t.delimiters)&&n('style="'.concat(r,'": ')+'Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of
, use
.',e.rawAttrsMap.style),e.staticStyle=JSON.stringify(Go(r))),(t=J(e,"style",!1))&&(e.styleBinding=t)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:".concat(e.staticStyle,",")),e.styleBinding&&(t+="style:(".concat(e.styleBinding,"),")),t}},ye=function(e){return(ti=ti||document.createElement("div")).innerHTML=e,ti.textContent},n=o("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),p=o("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ni=o("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"),ri=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,oi=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,po="[a-zA-Z_][\\-\\.0-9_a-zA-Z".concat(ie.source,"]*"),ia="((?:".concat(po,"\\:)?").concat(po,")"),ai=new RegExp("^<".concat(ia)),ii=/^\s*(\/?)>/,si=new RegExp("^<\\/".concat(ia,"[^>]*>")),ci=/^]+>/i,li=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},vi=/&(?:lt|gt|quot|amp|#39);/g,hi=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,mi=o("pre,textarea",!0),gi=function(e,t){return e&&mi(e)&&"\n"===t[0]};function yi(h,m){for(var g,y,_=[],b=m.expectHTML,w=m.isUnaryTag||r,$=m.canBeLeftOpenTag||r,x=0,e=function(){if(g=h,y&&di(y)){var r=0,o=y.toLowerCase(),e=pi[o]||(pi[o]=new RegExp("([\\s\\S]*?)(]*>)","i")),t=h.replace(e,function(e,t,n){return r=n.length,di(o)||"noscript"===o||(t=t.replace(//g,"$1").replace(//g,"$1")),gi(o,t)&&(t=t.slice(1)),m.chars&&m.chars(t),""});x+=h.length-t.length,h=t,C(o,x-r,x)}else{var n=h.indexOf("<");if(0===n){if(li.test(h)){e=h.indexOf("--\x3e");if(0<=e)return m.shouldKeepComment&&m.comment&&m.comment(h.substring(4,e),x,x+e+3),k(e+3),"continue"}if(ui.test(h)){e=h.indexOf("]>");if(0<=e)return k(e+2),"continue"}e=h.match(ci);if(e)return k(e[0].length),"continue";e=h.match(si);if(e)return s=x,k(e[0].length),C(e[1],s,x),"continue";e=(()=>{var e=h.match(ai);if(e){for(var t={tagName:e[1],attrs:[],start:x},n=(k(e[0].length),void 0),r=void 0;!(n=h.match(ii))&&(r=h.match(oi)||h.match(ri));)r.start=x,k(r[0].length),r.end=x,t.attrs.push(r);if(n)return t.unarySlash=n[1],k(n[0].length),t.end=x,t}})();if(e){var a=e,i=a.tagName,s=a.unarySlash;b&&("p"===y&&ni(i)&&C(y),$(i))&&y===i&&C(i);for(var s=w(i)||!!s,c=a.attrs.length,l=new Array(c),u=0;ue.replace(t?hi:vi,function(e){return fi[e]}))(p,f)},m.outputSourceRange&&(l[u].start=d.start+d[0].match(/^\s*/).length,l[u].end=d.end)}return s||(_.push({tag:i,lowerCasedTag:i.toLowerCase(),attrs:l,start:a.start,end:a.end}),y=i),m.start&&m.start(i,l,s,a.start,a.end),gi(e.tagName,h)&&k(1),"continue"}}var v,e=void 0,t=void 0;if(0<=n){for(t=h.slice(n);!(si.test(t)||ai.test(t)||li.test(t)||ui.test(t)||(v=t.indexOf("<",1))<0);)t=h.slice(n+=v);e=h.substring(0,n)}(e=n<0?h:e)&&k(e.length),m.chars&&e&&m.chars(e,x-e.length,x)}if(h===g)return m.chars&&m.chars(h),!_.length&&m.warn&&m.warn('Mal-formatted tag at end of template: "'.concat(h,'"'),{start:x+h.length}),"break"};h&&"break"!==e(););function k(e){x+=e,h=h.substring(e)}function C(e,t,n){var r,o;if(null==t&&(t=x),null==n&&(n=x),e)for(o=e.toLowerCase(),r=_.length-1;0<=r&&_[r].lowerCasedTag!==o;r--);else r=0;if(0<=r){for(var a=_.length-1;r<=a;a--)(r has no matching end tag."),{start:_[a].start,end:_[a].end}),m.end&&m.end(_[a].tag,t,n);_.length=r,y=r&&_[r-1].tag}else"br"===o?m.start&&m.start(e,[],!0,t,n):"p"===o&&(m.start&&m.start(e,[],!1,t,n),m.end)&&m.end(e,t,n)}C()}var W,_i,bi,wi,$i,xi,ki,Ci,Si,Oi=/^@|^v-on:/,Ti=/^v-|^@|^:|^#/,Ai=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Mi=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ji=/^\(|\)$/g,Ni=/^\[.*\]$/,Ii=/:(.*)$/,Ei=/^:|^\.|^v-bind:/,Pi=/\.[^.\]]+(?=[^\]]*$)/g,Di=/^v-slot(:|$)|^#/,Li=/[\r\n]/,Fi=/[ \f\t\r\n]+/g,Ri=/[\s"'<>\/=]/,Vi=e(ye),Ui="_empty_";function Hi(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:(e=>{for(var t={},n=0,r=e.length;n{for(var t=e.length;t--;){if(1===e[t].type)return e[t];" "!==e[t].text&&W('text "'.concat(e[t].text.trim(),'" between v-if and v-else(-if) ')+"will be ignored.",e[t]),e.pop()}})((n=v).children))&&n.if?Ji(n,{exp:t.elseif,block:t}):W("v-".concat(t.elseif?'else-if="'+t.elseif+'"':"else"," ")+"used on element <".concat(t.tag,"> without corresponding v-if."),t.rawAttrsMap[t.elseif?"v-else-if":"v-else"])):(e.slotScope&&(n=e.slotTarget||'"default"',(v.scopedSlots||(v.scopedSlots={}))[n]=e),v.children.push(e),e.parent=v)),e.children=e.children.filter(function(e){return!e.slotScope}),o(e),e.pre&&(m=!1),xi(e.tag)&&(g=!1);for(var r=0;r<$i.length;r++)$i[r](e,p)}function o(e){if(!g)for(var t;(t=e.children[e.children.length-1])&&3===t.type&&" "===t.text;)e.children.pop()}function _(e){"slot"!==e.tag&&"template"!==e.tag||l("Cannot use <".concat(e.tag,"> as component root element because it may ")+"contain multiple nodes.",{start:e.start}),e.attrsMap.hasOwnProperty("v-for")&&l("Cannot use v-for on stateful component root element because it renders multiple elements.",e.rawAttrsMap["v-for"])}return yi(i,{warn:W,expectHTML:p.expectHTML,isUnaryTag:p.isUnaryTag,canBeLeftOpenTag:p.canBeLeftOpenTag,shouldDecodeNewlines:p.shouldDecodeNewlines,shouldDecodeNewlinesForHref:p.shouldDecodeNewlinesForHref,shouldKeepComment:p.comments,outputSourceRange:p.outputSourceRange,start:function(e,t,n,r,o){var a=v&&v.ns||Ci(e),i=Hi(e,t=pe&&"svg"===a?(e=>{for(var t=[],n=0;n, / or =.",p.outputSourceRange?{start:e.start+e.name.indexOf("["),end:e.start+e.name.length}:void 0)}),"style"!==(a=i).tag&&("script"!==a.tag||a.attrsMap.type&&"text/javascript"!==a.attrsMap.type)||_e()||(i.forbidden=!0,W("Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as "+"<".concat(e,">")+", as they will not be parsed.",{start:i.start}));for(var s=0;s cannot be keyed. Place the key on real elements instead.",jo(o,"key")),o.for&&(n=o.iterator2||o.iterator1,r=o.parent,n)&&n===a&&r&&"transition-group"===r.tag&&W("Do not use v-for index as key on children, this is the same as not using keys.",jo(o,"key"),!0),o.key=a),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,(r=J(n=e,"ref"))&&(n.ref=r,n.refInFor=(e=>{for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1})(n)),e);"template"===o.tag?((u=K(o,"scope"))&&W('the "scope" attribute for scoped slots have been deprecated and replaced by "slot-scope" since 2.5. The new "slot-scope" attribute can also be used on plain elements in addition to