UNPKG

comindware-gantt-elastic

Version:

Gantt chart. Elastic javascript gantt chart. Vue and standalone gantt. Project manager responsive gantt

7 lines 278 kB
!function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={i:moduleId,l:!1,exports:{}};return modules[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.l=!0,module.exports}__webpack_require__.m=modules,__webpack_require__.c=installedModules,__webpack_require__.d=function(exports,name,getter){__webpack_require__.o(exports,name)||Object.defineProperty(exports,name,{enumerable:!0,get:getter})},__webpack_require__.r=function(exports){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.t=function(value,mode){if(1&mode&&(value=__webpack_require__(value)),8&mode)return value;if(4&mode&&"object"==typeof value&&value&&value.__esModule)return value;var ns=Object.create(null);if(__webpack_require__.r(ns),Object.defineProperty(ns,"default",{enumerable:!0,value:value}),2&mode&&"string"!=typeof value)for(var key in value)__webpack_require__.d(ns,key,function(key){return value[key]}.bind(null,key));return ns},__webpack_require__.n=function(module){var getter=module&&module.__esModule?function(){return module.default}:function(){return module};return __webpack_require__.d(getter,"a",getter),getter},__webpack_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=14)}([function(module,exports,__webpack_require__){module.exports=function(){"use strict";var t="millisecond",n="second",e="minute",r="hour",i="day",s="week",u="month",a="quarter",o="year",h=/^(\d{4})-?(\d{1,2})-?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d{1,3})?$/,f=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,c=function(t,n,e){var r=String(t);return!r||r.length>=n?t:""+Array(n+1-r.length).join(e)+t},d={s:c,z:function(t){var n=-t.utcOffset(),e=Math.abs(n),r=Math.floor(e/60),i=e%60;return(n<=0?"+":"-")+c(r,2,"0")+":"+c(i,2,"0")},m:function(t,n){var e=12*(n.year()-t.year())+(n.month()-t.month()),r=t.clone().add(e,u),i=n-r<0,s=t.clone().add(e+(i?-1:1),u);return Number(-(e+(n-r)/(i?r-s:s-r))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(h){return{M:u,y:o,w:s,d:i,h:r,m:e,s:n,ms:t,Q:a}[h]||String(h||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},$={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},l="en",m={};m[l]=$;var y=function(t){return t instanceof v},M=function(t,n,e){var r;if(!t)return l;if("string"==typeof t)m[t]&&(r=t),n&&(m[t]=n,r=t);else{var i=t.name;m[i]=t,r=i}return e||(l=r),r},g=function(t,n,e){if(y(t))return t.clone();var r=n?"string"==typeof n?{format:n,pl:e}:n:{};return r.date=t,new v(r)},D=d;D.l=M,D.i=y,D.w=function(t,n){return g(t,{locale:n.$L,utc:n.$u})};var v=function(){function c(t){this.$L=this.$L||M(t.locale,null,!0),this.parse(t)}var d=c.prototype;return d.parse=function(t){this.$d=function(t){var n=t.date,e=t.utc;if(null===n)return new Date(NaN);if(D.u(n))return new Date;if(n instanceof Date)return new Date(n);if("string"==typeof n&&!/Z$/i.test(n)){var r=n.match(h);if(r)return e?new Date(Date.UTC(r[1],r[2]-1,r[3]||1,r[4]||0,r[5]||0,r[6]||0,r[7]||0)):new Date(r[1],r[2]-1,r[3]||1,r[4]||0,r[5]||0,r[6]||0,r[7]||0)}return new Date(n)}(t),this.init()},d.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},d.$utils=function(){return D},d.isValid=function(){return!("Invalid Date"===this.$d.toString())},d.isSame=function(t,n){var e=g(t);return this.startOf(n)<=e&&e<=this.endOf(n)},d.isAfter=function(t,n){return g(t)<this.startOf(n)},d.isBefore=function(t,n){return this.endOf(n)<g(t)},d.$g=function(t,n,e){return D.u(t)?this[n]:this.set(e,t)},d.year=function(t){return this.$g(t,"$y",o)},d.month=function(t){return this.$g(t,"$M",u)},d.day=function(t){return this.$g(t,"$W",i)},d.date=function(t){return this.$g(t,"$D","date")},d.hour=function(t){return this.$g(t,"$H",r)},d.minute=function(t){return this.$g(t,"$m",e)},d.second=function(t){return this.$g(t,"$s",n)},d.millisecond=function(n){return this.$g(n,"$ms",t)},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.startOf=function(t,a){var h=this,f=!!D.u(a)||a,c=D.p(t),d=function(t,n){var e=D.w(h.$u?Date.UTC(h.$y,n,t):new Date(h.$y,n,t),h);return f?e:e.endOf(i)},$=function(t,n){return D.w(h.toDate()[t].apply(h.toDate(),(f?[0,0,0,0]:[23,59,59,999]).slice(n)),h)},l=this.$W,m=this.$M,y=this.$D,M="set"+(this.$u?"UTC":"");switch(c){case o:return f?d(1,0):d(31,11);case u:return f?d(1,m):d(0,m+1);case s:var g=this.$locale().weekStart||0,v=(l<g?l+7:l)-g;return d(f?y-v:y+(6-v),m);case i:case"date":return $(M+"Hours",0);case r:return $(M+"Minutes",1);case e:return $(M+"Seconds",2);case n:return $(M+"Milliseconds",3);default:return this.clone()}},d.endOf=function(t){return this.startOf(t,!1)},d.$set=function(s,a){var h,f=D.p(s),c="set"+(this.$u?"UTC":""),d=(h={},h.day=c+"Date",h.date=c+"Date",h[u]=c+"Month",h[o]=c+"FullYear",h[r]=c+"Hours",h[e]=c+"Minutes",h[n]=c+"Seconds",h[t]=c+"Milliseconds",h)[f],$=f===i?this.$D+(a-this.$W):a;if(f===u||f===o){var l=this.clone().set("date",1);l.$d[d]($),l.init(),this.$d=l.set("date",Math.min(this.$D,l.daysInMonth())).toDate()}else d&&this.$d[d]($);return this.init(),this},d.set=function(t,n){return this.clone().$set(t,n)},d.get=function(t){return this[D.p(t)]()},d.add=function(t,a){var h,f=this;t=Number(t);var c=D.p(a),d=function(n){var e=g(f);return D.w(e.date(e.date()+Math.round(n*t)),f)};if(c===u)return this.set(u,this.$M+t);if(c===o)return this.set(o,this.$y+t);if(c===i)return d(1);if(c===s)return d(7);var $=(h={},h[e]=6e4,h[r]=36e5,h[n]=1e3,h)[c]||1,l=this.valueOf()+t*$;return D.w(l,this)},d.subtract=function(t,n){return this.add(-1*t,n)},d.format=function(t){var n=this;if(!this.isValid())return"Invalid Date";var e=t||"YYYY-MM-DDTHH:mm:ssZ",r=D.z(this),i=this.$locale(),s=this.$H,u=this.$m,a=this.$M,o=i.weekdays,h=i.months,c=function(t,r,i,s){return t&&(t[r]||t(n,e))||i[r].substr(0,s)},d=function(t){return D.s(s%12||12,t,"0")},$=i.meridiem||function(t,n,e){var r=t<12?"AM":"PM";return e?r.toLowerCase():r},l={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:D.s(a+1,2,"0"),MMM:c(i.monthsShort,a,h,3),MMMM:h[a]||h(this,e),D:this.$D,DD:D.s(this.$D,2,"0"),d:String(this.$W),dd:c(i.weekdaysMin,this.$W,o,2),ddd:c(i.weekdaysShort,this.$W,o,3),dddd:o[this.$W],H:String(s),HH:D.s(s,2,"0"),h:d(1),hh:d(2),a:$(s,u,!0),A:$(s,u,!1),m:String(u),mm:D.s(u,2,"0"),s:String(this.$s),ss:D.s(this.$s,2,"0"),SSS:D.s(this.$ms,3,"0"),Z:r};return e.replace(f,(function(t,n){return n||l[t]||r.replace(":","")}))},d.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},d.diff=function(t,h,f){var c,d=D.p(h),$=g(t),l=6e4*($.utcOffset()-this.utcOffset()),m=this-$,y=D.m(this,$);return y=(c={},c[o]=y/12,c[u]=y,c[a]=y/3,c[s]=(m-l)/6048e5,c.day=(m-l)/864e5,c[r]=m/36e5,c[e]=m/6e4,c[n]=m/1e3,c)[d]||m,f?y:D.a(y)},d.daysInMonth=function(){return this.endOf(u).$D},d.$locale=function(){return m[this.$L]},d.locale=function(t,n){if(!t)return this.$L;var e=this.clone();return e.$L=M(t,n,!0),e},d.clone=function(){return D.w(this.toDate(),this)},d.toDate=function(){return new Date(this.$d)},d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toISOString=function(){return this.$d.toISOString()},d.toString=function(){return this.$d.toUTCString()},c}();return g.prototype=v.prototype,g.extend=function(t,n){return t(n,v,g),g},g.locale=M,g.isDayjs=y,g.unix=function(t){return g(1e3*t)},g.en=m[l],g.Ls=m,g}()},function(module,__webpack_exports__,__webpack_require__){"use strict";(function(global,setImmediate){ /*! * Vue.js v2.6.10 * (c) 2014-2019 Evan You * Released under the MIT License. */ var emptyObject=Object.freeze({});function isUndef(v){return null==v}function isDef(v){return null!=v}function isTrue(v){return!0===v}function isPrimitive(value){return"string"==typeof value||"number"==typeof value||"symbol"==typeof value||"boolean"==typeof value}function isObject(obj){return null!==obj&&"object"==typeof obj}var _toString=Object.prototype.toString;function isPlainObject(obj){return"[object Object]"===_toString.call(obj)}function isRegExp(v){return"[object RegExp]"===_toString.call(v)}function isValidArrayIndex(val){var n=parseFloat(String(val));return n>=0&&Math.floor(n)===n&&isFinite(val)}function isPromise(val){return isDef(val)&&"function"==typeof val.then&&"function"==typeof val.catch}function toString(val){return null==val?"":Array.isArray(val)||isPlainObject(val)&&val.toString===_toString?JSON.stringify(val,null,2):String(val)}function toNumber(val){var n=parseFloat(val);return isNaN(n)?val:n}function makeMap(str,expectsLowerCase){for(var map=Object.create(null),list=str.split(","),i=0;i<list.length;i++)map[list[i]]=!0;return expectsLowerCase?function(val){return map[val.toLowerCase()]}:function(val){return map[val]}}makeMap("slot,component",!0);var isReservedAttribute=makeMap("key,ref,slot,slot-scope,is");function remove(arr,item){if(arr.length){var index=arr.indexOf(item);if(index>-1)return arr.splice(index,1)}}var hasOwnProperty=Object.prototype.hasOwnProperty;function hasOwn(obj,key){return hasOwnProperty.call(obj,key)}function cached(fn){var cache=Object.create(null);return function(str){return cache[str]||(cache[str]=fn(str))}}var camelizeRE=/-(\w)/g,camelize=cached((function(str){return str.replace(camelizeRE,(function(_,c){return c?c.toUpperCase():""}))})),capitalize=cached((function(str){return str.charAt(0).toUpperCase()+str.slice(1)})),hyphenateRE=/\B([A-Z])/g,hyphenate=cached((function(str){return str.replace(hyphenateRE,"-$1").toLowerCase()}));var bind=Function.prototype.bind?function(fn,ctx){return fn.bind(ctx)}:function(fn,ctx){function boundFn(a){var l=arguments.length;return l?l>1?fn.apply(ctx,arguments):fn.call(ctx,a):fn.call(ctx)}return boundFn._length=fn.length,boundFn};function toArray(list,start){start=start||0;for(var i=list.length-start,ret=new Array(i);i--;)ret[i]=list[i+start];return ret}function extend(to,_from){for(var key in _from)to[key]=_from[key];return to}function toObject(arr){for(var res={},i=0;i<arr.length;i++)arr[i]&&extend(res,arr[i]);return res}function noop(a,b,c){}var no=function(a,b,c){return!1},identity=function(_){return _};function looseEqual(a,b){if(a===b)return!0;var isObjectA=isObject(a),isObjectB=isObject(b);if(!isObjectA||!isObjectB)return!isObjectA&&!isObjectB&&String(a)===String(b);try{var isArrayA=Array.isArray(a),isArrayB=Array.isArray(b);if(isArrayA&&isArrayB)return a.length===b.length&&a.every((function(e,i){return looseEqual(e,b[i])}));if(a instanceof Date&&b instanceof Date)return a.getTime()===b.getTime();if(isArrayA||isArrayB)return!1;var keysA=Object.keys(a),keysB=Object.keys(b);return keysA.length===keysB.length&&keysA.every((function(key){return looseEqual(a[key],b[key])}))}catch(e){return!1}}function looseIndexOf(arr,val){for(var i=0;i<arr.length;i++)if(looseEqual(arr[i],val))return i;return-1}function once(fn){var called=!1;return function(){called||(called=!0,fn.apply(this,arguments))}}var ASSET_TYPES=["component","directive","filter"],LIFECYCLE_HOOKS=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],config={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:no,isReservedAttr:no,isUnknownElement:no,getTagNamespace:noop,parsePlatformTagName:identity,mustUseProp:no,async:!0,_lifecycleHooks:LIFECYCLE_HOOKS},unicodeRegExp=/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/;function def(obj,key,val,enumerable){Object.defineProperty(obj,key,{value:val,enumerable:!!enumerable,writable:!0,configurable:!0})}var bailRE=new RegExp("[^"+unicodeRegExp.source+".$_\\d]");var _isServer,hasProto="__proto__"in{},inBrowser="undefined"!=typeof window,inWeex="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,weexPlatform=inWeex&&WXEnvironment.platform.toLowerCase(),UA=inBrowser&&window.navigator.userAgent.toLowerCase(),isIE=UA&&/msie|trident/.test(UA),isIE9=UA&&UA.indexOf("msie 9.0")>0,isEdge=UA&&UA.indexOf("edge/")>0,isIOS=(UA&&UA.indexOf("android"),UA&&/iphone|ipad|ipod|ios/.test(UA)||"ios"===weexPlatform),isFF=(UA&&/chrome\/\d+/.test(UA),UA&&/phantomjs/.test(UA),UA&&UA.match(/firefox\/(\d+)/)),nativeWatch={}.watch,supportsPassive=!1;if(inBrowser)try{var opts={};Object.defineProperty(opts,"passive",{get:function(){supportsPassive=!0}}),window.addEventListener("test-passive",null,opts)}catch(e){}var isServerRendering=function(){return void 0===_isServer&&(_isServer=!inBrowser&&!inWeex&&void 0!==global&&(global.process&&"server"===global.process.env.VUE_ENV)),_isServer},devtools=inBrowser&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function isNative(Ctor){return"function"==typeof Ctor&&/native code/.test(Ctor.toString())}var _Set,hasSymbol="undefined"!=typeof Symbol&&isNative(Symbol)&&"undefined"!=typeof Reflect&&isNative(Reflect.ownKeys);_Set="undefined"!=typeof Set&&isNative(Set)?Set:function(){function Set(){this.set=Object.create(null)}return Set.prototype.has=function(key){return!0===this.set[key]},Set.prototype.add=function(key){this.set[key]=!0},Set.prototype.clear=function(){this.set=Object.create(null)},Set}();var warn=noop,uid=0,Dep=function(){this.id=uid++,this.subs=[]};Dep.prototype.addSub=function(sub){this.subs.push(sub)},Dep.prototype.removeSub=function(sub){remove(this.subs,sub)},Dep.prototype.depend=function(){Dep.target&&Dep.target.addDep(this)},Dep.prototype.notify=function(){var subs=this.subs.slice();for(var i=0,l=subs.length;i<l;i++)subs[i].update()},Dep.target=null;var targetStack=[];function pushTarget(target){targetStack.push(target),Dep.target=target}function popTarget(){targetStack.pop(),Dep.target=targetStack[targetStack.length-1]}var VNode=function(tag,data,children,text,elm,context,componentOptions,asyncFactory){this.tag=tag,this.data=data,this.children=children,this.text=text,this.elm=elm,this.ns=void 0,this.context=context,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=data&&data.key,this.componentOptions=componentOptions,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=asyncFactory,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},prototypeAccessors={child:{configurable:!0}};prototypeAccessors.child.get=function(){return this.componentInstance},Object.defineProperties(VNode.prototype,prototypeAccessors);var createEmptyVNode=function(text){void 0===text&&(text="");var node=new VNode;return node.text=text,node.isComment=!0,node};function createTextVNode(val){return new VNode(void 0,void 0,void 0,String(val))}function cloneVNode(vnode){var cloned=new VNode(vnode.tag,vnode.data,vnode.children&&vnode.children.slice(),vnode.text,vnode.elm,vnode.context,vnode.componentOptions,vnode.asyncFactory);return cloned.ns=vnode.ns,cloned.isStatic=vnode.isStatic,cloned.key=vnode.key,cloned.isComment=vnode.isComment,cloned.fnContext=vnode.fnContext,cloned.fnOptions=vnode.fnOptions,cloned.fnScopeId=vnode.fnScopeId,cloned.asyncMeta=vnode.asyncMeta,cloned.isCloned=!0,cloned}var arrayProto=Array.prototype,arrayMethods=Object.create(arrayProto);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(method){var original=arrayProto[method];def(arrayMethods,method,(function(){for(var args=[],len=arguments.length;len--;)args[len]=arguments[len];var inserted,result=original.apply(this,args),ob=this.__ob__;switch(method){case"push":case"unshift":inserted=args;break;case"splice":inserted=args.slice(2)}return inserted&&ob.observeArray(inserted),ob.dep.notify(),result}))}));var arrayKeys=Object.getOwnPropertyNames(arrayMethods),shouldObserve=!0;function toggleObserving(value){shouldObserve=value}var Observer=function(value){this.value=value,this.dep=new Dep,this.vmCount=0,def(value,"__ob__",this),Array.isArray(value)?(hasProto?function(target,src){target.__proto__=src}(value,arrayMethods):function(target,src,keys){for(var i=0,l=keys.length;i<l;i++){var key=keys[i];def(target,key,src[key])}}(value,arrayMethods,arrayKeys),this.observeArray(value)):this.walk(value)};function observe(value,asRootData){var ob;if(isObject(value)&&!(value instanceof VNode))return hasOwn(value,"__ob__")&&value.__ob__ instanceof Observer?ob=value.__ob__:shouldObserve&&!isServerRendering()&&(Array.isArray(value)||isPlainObject(value))&&Object.isExtensible(value)&&!value._isVue&&(ob=new Observer(value)),asRootData&&ob&&ob.vmCount++,ob}function defineReactive$$1(obj,key,val,customSetter,shallow){var dep=new Dep,property=Object.getOwnPropertyDescriptor(obj,key);if(!property||!1!==property.configurable){var getter=property&&property.get,setter=property&&property.set;getter&&!setter||2!==arguments.length||(val=obj[key]);var childOb=!shallow&&observe(val);Object.defineProperty(obj,key,{enumerable:!0,configurable:!0,get:function(){var value=getter?getter.call(obj):val;return Dep.target&&(dep.depend(),childOb&&(childOb.dep.depend(),Array.isArray(value)&&dependArray(value))),value},set:function(newVal){var value=getter?getter.call(obj):val;newVal===value||newVal!=newVal&&value!=value||getter&&!setter||(setter?setter.call(obj,newVal):val=newVal,childOb=!shallow&&observe(newVal),dep.notify())}})}}function set(target,key,val){if(Array.isArray(target)&&isValidArrayIndex(key))return target.length=Math.max(target.length,key),target.splice(key,1,val),val;if(key in target&&!(key in Object.prototype))return target[key]=val,val;var ob=target.__ob__;return target._isVue||ob&&ob.vmCount?val:ob?(defineReactive$$1(ob.value,key,val),ob.dep.notify(),val):(target[key]=val,val)}function del(target,key){if(Array.isArray(target)&&isValidArrayIndex(key))target.splice(key,1);else{var ob=target.__ob__;target._isVue||ob&&ob.vmCount||hasOwn(target,key)&&(delete target[key],ob&&ob.dep.notify())}}function dependArray(value){for(var e=void 0,i=0,l=value.length;i<l;i++)(e=value[i])&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&dependArray(e)}Observer.prototype.walk=function(obj){for(var keys=Object.keys(obj),i=0;i<keys.length;i++)defineReactive$$1(obj,keys[i])},Observer.prototype.observeArray=function(items){for(var i=0,l=items.length;i<l;i++)observe(items[i])};var strats=config.optionMergeStrategies;function mergeData(to,from){if(!from)return to;for(var key,toVal,fromVal,keys=hasSymbol?Reflect.ownKeys(from):Object.keys(from),i=0;i<keys.length;i++)"__ob__"!==(key=keys[i])&&(toVal=to[key],fromVal=from[key],hasOwn(to,key)?toVal!==fromVal&&isPlainObject(toVal)&&isPlainObject(fromVal)&&mergeData(toVal,fromVal):set(to,key,fromVal));return to}function mergeDataOrFn(parentVal,childVal,vm){return vm?function(){var instanceData="function"==typeof childVal?childVal.call(vm,vm):childVal,defaultData="function"==typeof parentVal?parentVal.call(vm,vm):parentVal;return instanceData?mergeData(instanceData,defaultData):defaultData}:childVal?parentVal?function(){return mergeData("function"==typeof childVal?childVal.call(this,this):childVal,"function"==typeof parentVal?parentVal.call(this,this):parentVal)}:childVal:parentVal}function mergeHook(parentVal,childVal){var res=childVal?parentVal?parentVal.concat(childVal):Array.isArray(childVal)?childVal:[childVal]:parentVal;return res?function(hooks){for(var res=[],i=0;i<hooks.length;i++)-1===res.indexOf(hooks[i])&&res.push(hooks[i]);return res}(res):res}function mergeAssets(parentVal,childVal,vm,key){var res=Object.create(parentVal||null);return childVal?extend(res,childVal):res}strats.data=function(parentVal,childVal,vm){return vm?mergeDataOrFn(parentVal,childVal,vm):childVal&&"function"!=typeof childVal?parentVal:mergeDataOrFn(parentVal,childVal)},LIFECYCLE_HOOKS.forEach((function(hook){strats[hook]=mergeHook})),ASSET_TYPES.forEach((function(type){strats[type+"s"]=mergeAssets})),strats.watch=function(parentVal,childVal,vm,key){if(parentVal===nativeWatch&&(parentVal=void 0),childVal===nativeWatch&&(childVal=void 0),!childVal)return Object.create(parentVal||null);if(!parentVal)return childVal;var ret={};for(var key$1 in extend(ret,parentVal),childVal){var parent=ret[key$1],child=childVal[key$1];parent&&!Array.isArray(parent)&&(parent=[parent]),ret[key$1]=parent?parent.concat(child):Array.isArray(child)?child:[child]}return ret},strats.props=strats.methods=strats.inject=strats.computed=function(parentVal,childVal,vm,key){if(!parentVal)return childVal;var ret=Object.create(null);return extend(ret,parentVal),childVal&&extend(ret,childVal),ret},strats.provide=mergeDataOrFn;var defaultStrat=function(parentVal,childVal){return void 0===childVal?parentVal:childVal};function mergeOptions(parent,child,vm){if("function"==typeof child&&(child=child.options),function(options,vm){var props=options.props;if(props){var i,val,res={};if(Array.isArray(props))for(i=props.length;i--;)"string"==typeof(val=props[i])&&(res[camelize(val)]={type:null});else if(isPlainObject(props))for(var key in props)val=props[key],res[camelize(key)]=isPlainObject(val)?val:{type:val};else 0;options.props=res}}(child),function(options,vm){var inject=options.inject;if(inject){var normalized=options.inject={};if(Array.isArray(inject))for(var i=0;i<inject.length;i++)normalized[inject[i]]={from:inject[i]};else if(isPlainObject(inject))for(var key in inject){var val=inject[key];normalized[key]=isPlainObject(val)?extend({from:key},val):{from:val}}else 0}}(child),function(options){var dirs=options.directives;if(dirs)for(var key in dirs){var def$$1=dirs[key];"function"==typeof def$$1&&(dirs[key]={bind:def$$1,update:def$$1})}}(child),!child._base&&(child.extends&&(parent=mergeOptions(parent,child.extends,vm)),child.mixins))for(var i=0,l=child.mixins.length;i<l;i++)parent=mergeOptions(parent,child.mixins[i],vm);var key,options={};for(key in parent)mergeField(key);for(key in child)hasOwn(parent,key)||mergeField(key);function mergeField(key){var strat=strats[key]||defaultStrat;options[key]=strat(parent[key],child[key],vm,key)}return options}function resolveAsset(options,type,id,warnMissing){if("string"==typeof id){var assets=options[type];if(hasOwn(assets,id))return assets[id];var camelizedId=camelize(id);if(hasOwn(assets,camelizedId))return assets[camelizedId];var PascalCaseId=capitalize(camelizedId);return hasOwn(assets,PascalCaseId)?assets[PascalCaseId]:assets[id]||assets[camelizedId]||assets[PascalCaseId]}}function validateProp(key,propOptions,propsData,vm){var prop=propOptions[key],absent=!hasOwn(propsData,key),value=propsData[key],booleanIndex=getTypeIndex(Boolean,prop.type);if(booleanIndex>-1)if(absent&&!hasOwn(prop,"default"))value=!1;else if(""===value||value===hyphenate(key)){var stringIndex=getTypeIndex(String,prop.type);(stringIndex<0||booleanIndex<stringIndex)&&(value=!0)}if(void 0===value){value=function(vm,prop,key){if(!hasOwn(prop,"default"))return;var def=prop.default;0;if(vm&&vm.$options.propsData&&void 0===vm.$options.propsData[key]&&void 0!==vm._props[key])return vm._props[key];return"function"==typeof def&&"Function"!==getType(prop.type)?def.call(vm):def}(vm,prop,key);var prevShouldObserve=shouldObserve;toggleObserving(!0),observe(value),toggleObserving(prevShouldObserve)}return value}function getType(fn){var match=fn&&fn.toString().match(/^\s*function (\w+)/);return match?match[1]:""}function isSameType(a,b){return getType(a)===getType(b)}function getTypeIndex(type,expectedTypes){if(!Array.isArray(expectedTypes))return isSameType(expectedTypes,type)?0:-1;for(var i=0,len=expectedTypes.length;i<len;i++)if(isSameType(expectedTypes[i],type))return i;return-1}function handleError(err,vm,info){pushTarget();try{if(vm)for(var cur=vm;cur=cur.$parent;){var hooks=cur.$options.errorCaptured;if(hooks)for(var i=0;i<hooks.length;i++)try{if(!1===hooks[i].call(cur,err,vm,info))return}catch(e){globalHandleError(e,cur,"errorCaptured hook")}}globalHandleError(err,vm,info)}finally{popTarget()}}function invokeWithErrorHandling(handler,context,args,vm,info){var res;try{(res=args?handler.apply(context,args):handler.call(context))&&!res._isVue&&isPromise(res)&&!res._handled&&(res.catch((function(e){return handleError(e,vm,info+" (Promise/async)")})),res._handled=!0)}catch(e){handleError(e,vm,info)}return res}function globalHandleError(err,vm,info){if(config.errorHandler)try{return config.errorHandler.call(null,err,vm,info)}catch(e){e!==err&&logError(e,null,"config.errorHandler")}logError(err,vm,info)}function logError(err,vm,info){if(!inBrowser&&!inWeex||"undefined"==typeof console)throw err;console.error(err)}var timerFunc,isUsingMicroTask=!1,callbacks=[],pending=!1;function flushCallbacks(){pending=!1;var copies=callbacks.slice(0);callbacks.length=0;for(var i=0;i<copies.length;i++)copies[i]()}if("undefined"!=typeof Promise&&isNative(Promise)){var p=Promise.resolve();timerFunc=function(){p.then(flushCallbacks),isIOS&&setTimeout(noop)},isUsingMicroTask=!0}else if(isIE||"undefined"==typeof MutationObserver||!isNative(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())timerFunc=void 0!==setImmediate&&isNative(setImmediate)?function(){setImmediate(flushCallbacks)}:function(){setTimeout(flushCallbacks,0)};else{var counter=1,observer=new MutationObserver(flushCallbacks),textNode=document.createTextNode(String(counter));observer.observe(textNode,{characterData:!0}),timerFunc=function(){counter=(counter+1)%2,textNode.data=String(counter)},isUsingMicroTask=!0}function nextTick(cb,ctx){var _resolve;if(callbacks.push((function(){if(cb)try{cb.call(ctx)}catch(e){handleError(e,ctx,"nextTick")}else _resolve&&_resolve(ctx)})),pending||(pending=!0,timerFunc()),!cb&&"undefined"!=typeof Promise)return new Promise((function(resolve){_resolve=resolve}))}var seenObjects=new _Set;function traverse(val){!function _traverse(val,seen){var i,keys,isA=Array.isArray(val);if(!isA&&!isObject(val)||Object.isFrozen(val)||val instanceof VNode)return;if(val.__ob__){var depId=val.__ob__.dep.id;if(seen.has(depId))return;seen.add(depId)}if(isA)for(i=val.length;i--;)_traverse(val[i],seen);else for(keys=Object.keys(val),i=keys.length;i--;)_traverse(val[keys[i]],seen)}(val,seenObjects),seenObjects.clear()}var normalizeEvent=cached((function(name){var passive="&"===name.charAt(0),once$$1="~"===(name=passive?name.slice(1):name).charAt(0),capture="!"===(name=once$$1?name.slice(1):name).charAt(0);return{name:name=capture?name.slice(1):name,once:once$$1,capture:capture,passive:passive}}));function createFnInvoker(fns,vm){function invoker(){var arguments$1=arguments,fns=invoker.fns;if(!Array.isArray(fns))return invokeWithErrorHandling(fns,null,arguments,vm,"v-on handler");for(var cloned=fns.slice(),i=0;i<cloned.length;i++)invokeWithErrorHandling(cloned[i],null,arguments$1,vm,"v-on handler")}return invoker.fns=fns,invoker}function updateListeners(on,oldOn,add,remove$$1,createOnceHandler,vm){var name,cur,old,event;for(name in on)cur=on[name],old=oldOn[name],event=normalizeEvent(name),isUndef(cur)||(isUndef(old)?(isUndef(cur.fns)&&(cur=on[name]=createFnInvoker(cur,vm)),isTrue(event.once)&&(cur=on[name]=createOnceHandler(event.name,cur,event.capture)),add(event.name,cur,event.capture,event.passive,event.params)):cur!==old&&(old.fns=cur,on[name]=old));for(name in oldOn)isUndef(on[name])&&remove$$1((event=normalizeEvent(name)).name,oldOn[name],event.capture)}function mergeVNodeHook(def,hookKey,hook){var invoker;def instanceof VNode&&(def=def.data.hook||(def.data.hook={}));var oldHook=def[hookKey];function wrappedHook(){hook.apply(this,arguments),remove(invoker.fns,wrappedHook)}isUndef(oldHook)?invoker=createFnInvoker([wrappedHook]):isDef(oldHook.fns)&&isTrue(oldHook.merged)?(invoker=oldHook).fns.push(wrappedHook):invoker=createFnInvoker([oldHook,wrappedHook]),invoker.merged=!0,def[hookKey]=invoker}function checkProp(res,hash,key,altKey,preserve){if(isDef(hash)){if(hasOwn(hash,key))return res[key]=hash[key],preserve||delete hash[key],!0;if(hasOwn(hash,altKey))return res[key]=hash[altKey],preserve||delete hash[altKey],!0}return!1}function normalizeChildren(children){return isPrimitive(children)?[createTextVNode(children)]:Array.isArray(children)?function normalizeArrayChildren(children,nestedIndex){var i,c,lastIndex,last,res=[];for(i=0;i<children.length;i++)isUndef(c=children[i])||"boolean"==typeof c||(lastIndex=res.length-1,last=res[lastIndex],Array.isArray(c)?c.length>0&&(isTextNode((c=normalizeArrayChildren(c,(nestedIndex||"")+"_"+i))[0])&&isTextNode(last)&&(res[lastIndex]=createTextVNode(last.text+c[0].text),c.shift()),res.push.apply(res,c)):isPrimitive(c)?isTextNode(last)?res[lastIndex]=createTextVNode(last.text+c):""!==c&&res.push(createTextVNode(c)):isTextNode(c)&&isTextNode(last)?res[lastIndex]=createTextVNode(last.text+c.text):(isTrue(children._isVList)&&isDef(c.tag)&&isUndef(c.key)&&isDef(nestedIndex)&&(c.key="__vlist"+nestedIndex+"_"+i+"__"),res.push(c)));return res}(children):void 0}function isTextNode(node){return isDef(node)&&isDef(node.text)&&!1===node.isComment}function resolveInject(inject,vm){if(inject){for(var result=Object.create(null),keys=hasSymbol?Reflect.ownKeys(inject):Object.keys(inject),i=0;i<keys.length;i++){var key=keys[i];if("__ob__"!==key){for(var provideKey=inject[key].from,source=vm;source;){if(source._provided&&hasOwn(source._provided,provideKey)){result[key]=source._provided[provideKey];break}source=source.$parent}if(!source)if("default"in inject[key]){var provideDefault=inject[key].default;result[key]="function"==typeof provideDefault?provideDefault.call(vm):provideDefault}else 0}}return result}}function resolveSlots(children,context){if(!children||!children.length)return{};for(var slots={},i=0,l=children.length;i<l;i++){var child=children[i],data=child.data;if(data&&data.attrs&&data.attrs.slot&&delete data.attrs.slot,child.context!==context&&child.fnContext!==context||!data||null==data.slot)(slots.default||(slots.default=[])).push(child);else{var name=data.slot,slot=slots[name]||(slots[name]=[]);"template"===child.tag?slot.push.apply(slot,child.children||[]):slot.push(child)}}for(var name$1 in slots)slots[name$1].every(isWhitespace)&&delete slots[name$1];return slots}function isWhitespace(node){return node.isComment&&!node.asyncFactory||" "===node.text}function normalizeScopedSlots(slots,normalSlots,prevSlots){var res,hasNormalSlots=Object.keys(normalSlots).length>0,isStable=slots?!!slots.$stable:!hasNormalSlots,key=slots&&slots.$key;if(slots){if(slots._normalized)return slots._normalized;if(isStable&&prevSlots&&prevSlots!==emptyObject&&key===prevSlots.$key&&!hasNormalSlots&&!prevSlots.$hasNormal)return prevSlots;for(var key$1 in res={},slots)slots[key$1]&&"$"!==key$1[0]&&(res[key$1]=normalizeScopedSlot(normalSlots,key$1,slots[key$1]))}else res={};for(var key$2 in normalSlots)key$2 in res||(res[key$2]=proxyNormalSlot(normalSlots,key$2));return slots&&Object.isExtensible(slots)&&(slots._normalized=res),def(res,"$stable",isStable),def(res,"$key",key),def(res,"$hasNormal",hasNormalSlots),res}function normalizeScopedSlot(normalSlots,key,fn){var normalized=function(){var res=arguments.length?fn.apply(null,arguments):fn({});return(res=res&&"object"==typeof res&&!Array.isArray(res)?[res]:normalizeChildren(res))&&(0===res.length||1===res.length&&res[0].isComment)?void 0:res};return fn.proxy&&Object.defineProperty(normalSlots,key,{get:normalized,enumerable:!0,configurable:!0}),normalized}function proxyNormalSlot(slots,key){return function(){return slots[key]}}function renderList(val,render){var ret,i,l,keys,key;if(Array.isArray(val)||"string"==typeof val)for(ret=new Array(val.length),i=0,l=val.length;i<l;i++)ret[i]=render(val[i],i);else if("number"==typeof val)for(ret=new Array(val),i=0;i<val;i++)ret[i]=render(i+1,i);else if(isObject(val))if(hasSymbol&&val[Symbol.iterator]){ret=[];for(var iterator=val[Symbol.iterator](),result=iterator.next();!result.done;)ret.push(render(result.value,ret.length)),result=iterator.next()}else for(keys=Object.keys(val),ret=new Array(keys.length),i=0,l=keys.length;i<l;i++)key=keys[i],ret[i]=render(val[key],key,i);return isDef(ret)||(ret=[]),ret._isVList=!0,ret}function renderSlot(name,fallback,props,bindObject){var nodes,scopedSlotFn=this.$scopedSlots[name];scopedSlotFn?(props=props||{},bindObject&&(props=extend(extend({},bindObject),props)),nodes=scopedSlotFn(props)||fallback):nodes=this.$slots[name]||fallback;var target=props&&props.slot;return target?this.$createElement("template",{slot:target},nodes):nodes}function resolveFilter(id){return resolveAsset(this.$options,"filters",id)||identity}function isKeyNotMatch(expect,actual){return Array.isArray(expect)?-1===expect.indexOf(actual):expect!==actual}function checkKeyCodes(eventKeyCode,key,builtInKeyCode,eventKeyName,builtInKeyName){var mappedKeyCode=config.keyCodes[key]||builtInKeyCode;return builtInKeyName&&eventKeyName&&!config.keyCodes[key]?isKeyNotMatch(builtInKeyName,eventKeyName):mappedKeyCode?isKeyNotMatch(mappedKeyCode,eventKeyCode):eventKeyName?hyphenate(eventKeyName)!==key:void 0}function bindObjectProps(data,tag,value,asProp,isSync){if(value)if(isObject(value)){var hash;Array.isArray(value)&&(value=toObject(value));var loop=function(key){if("class"===key||"style"===key||isReservedAttribute(key))hash=data;else{var type=data.attrs&&data.attrs.type;hash=asProp||config.mustUseProp(tag,type,key)?data.domProps||(data.domProps={}):data.attrs||(data.attrs={})}var camelizedKey=camelize(key),hyphenatedKey=hyphenate(key);camelizedKey in hash||hyphenatedKey in hash||(hash[key]=value[key],isSync&&((data.on||(data.on={}))["update:"+key]=function($event){value[key]=$event}))};for(var key in value)loop(key)}else;return data}function renderStatic(index,isInFor){var cached=this._staticTrees||(this._staticTrees=[]),tree=cached[index];return tree&&!isInFor||markStatic(tree=cached[index]=this.$options.staticRenderFns[index].call(this._renderProxy,null,this),"__static__"+index,!1),tree}function markOnce(tree,index,key){return markStatic(tree,"__once__"+index+(key?"_"+key:""),!0),tree}function markStatic(tree,key,isOnce){if(Array.isArray(tree))for(var i=0;i<tree.length;i++)tree[i]&&"string"!=typeof tree[i]&&markStaticNode(tree[i],key+"_"+i,isOnce);else markStaticNode(tree,key,isOnce)}function markStaticNode(node,key,isOnce){node.isStatic=!0,node.key=key,node.isOnce=isOnce}function bindObjectListeners(data,value){if(value)if(isPlainObject(value)){var on=data.on=data.on?extend({},data.on):{};for(var key in value){var existing=on[key],ours=value[key];on[key]=existing?[].concat(existing,ours):ours}}else;return data}function resolveScopedSlots(fns,res,hasDynamicKeys,contentHashKey){res=res||{$stable:!hasDynamicKeys};for(var i=0;i<fns.length;i++){var slot=fns[i];Array.isArray(slot)?resolveScopedSlots(slot,res,hasDynamicKeys):slot&&(slot.proxy&&(slot.fn.proxy=!0),res[slot.key]=slot.fn)}return contentHashKey&&(res.$key=contentHashKey),res}function bindDynamicKeys(baseObj,values){for(var i=0;i<values.length;i+=2){var key=values[i];"string"==typeof key&&key&&(baseObj[values[i]]=values[i+1])}return baseObj}function prependModifier(value,symbol){return"string"==typeof value?symbol+value:value}function installRenderHelpers(target){target._o=markOnce,target._n=toNumber,target._s=toString,target._l=renderList,target._t=renderSlot,target._q=looseEqual,target._i=looseIndexOf,target._m=renderStatic,target._f=resolveFilter,target._k=checkKeyCodes,target._b=bindObjectProps,target._v=createTextVNode,target._e=createEmptyVNode,target._u=resolveScopedSlots,target._g=bindObjectListeners,target._d=bindDynamicKeys,target._p=prependModifier}function FunctionalRenderContext(data,props,children,parent,Ctor){var contextVm,this$1=this,options=Ctor.options;hasOwn(parent,"_uid")?(contextVm=Object.create(parent))._original=parent:(contextVm=parent,parent=parent._original);var isCompiled=isTrue(options._compiled),needNormalization=!isCompiled;this.data=data,this.props=props,this.children=children,this.parent=parent,this.listeners=data.on||emptyObject,this.injections=resolveInject(options.inject,parent),this.slots=function(){return this$1.$slots||normalizeScopedSlots(data.scopedSlots,this$1.$slots=resolveSlots(children,parent)),this$1.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return normalizeScopedSlots(data.scopedSlots,this.slots())}}),isCompiled&&(this.$options=options,this.$slots=this.slots(),this.$scopedSlots=normalizeScopedSlots(data.scopedSlots,this.$slots)),options._scopeId?this._c=function(a,b,c,d){var vnode=createElement(contextVm,a,b,c,d,needNormalization);return vnode&&!Array.isArray(vnode)&&(vnode.fnScopeId=options._scopeId,vnode.fnContext=parent),vnode}:this._c=function(a,b,c,d){return createElement(contextVm,a,b,c,d,needNormalization)}}function cloneAndMarkFunctionalResult(vnode,data,contextVm,options,renderContext){var clone=cloneVNode(vnode);return clone.fnContext=contextVm,clone.fnOptions=options,data.slot&&((clone.data||(clone.data={})).slot=data.slot),clone}function mergeProps(to,from){for(var key in from)to[camelize(key)]=from[key]}installRenderHelpers(FunctionalRenderContext.prototype);var componentVNodeHooks={init:function(vnode,hydrating){if(vnode.componentInstance&&!vnode.componentInstance._isDestroyed&&vnode.data.keepAlive){var mountedNode=vnode;componentVNodeHooks.prepatch(mountedNode,mountedNode)}else{(vnode.componentInstance=function(vnode,parent){var options={_isComponent:!0,_parentVnode:vnode,parent:parent},inlineTemplate=vnode.data.inlineTemplate;isDef(inlineTemplate)&&(options.render=inlineTemplate.render,options.staticRenderFns=inlineTemplate.staticRenderFns);return new vnode.componentOptions.Ctor(options)}(vnode,activeInstance)).$mount(hydrating?vnode.elm:void 0,hydrating)}},prepatch:function(oldVnode,vnode){var options=vnode.componentOptions;!function(vm,propsData,listeners,parentVnode,renderChildren){0;var newScopedSlots=parentVnode.data.scopedSlots,oldScopedSlots=vm.$scopedSlots,hasDynamicScopedSlot=!!(newScopedSlots&&!newScopedSlots.$stable||oldScopedSlots!==emptyObject&&!oldScopedSlots.$stable||newScopedSlots&&vm.$scopedSlots.$key!==newScopedSlots.$key),needsForceUpdate=!!(renderChildren||vm.$options._renderChildren||hasDynamicScopedSlot);vm.$options._parentVnode=parentVnode,vm.$vnode=parentVnode,vm._vnode&&(vm._vnode.parent=parentVnode);if(vm.$options._renderChildren=renderChildren,vm.$attrs=parentVnode.data.attrs||emptyObject,vm.$listeners=listeners||emptyObject,propsData&&vm.$options.props){toggleObserving(!1);for(var props=vm._props,propKeys=vm.$options._propKeys||[],i=0;i<propKeys.length;i++){var key=propKeys[i],propOptions=vm.$options.props;props[key]=validateProp(key,propOptions,propsData,vm)}toggleObserving(!0),vm.$options.propsData=propsData}listeners=listeners||emptyObject;var oldListeners=vm.$options._parentListeners;vm.$options._parentListeners=listeners,updateComponentListeners(vm,listeners,oldListeners),needsForceUpdate&&(vm.$slots=resolveSlots(renderChildren,parentVnode.context),vm.$forceUpdate());0}(vnode.componentInstance=oldVnode.componentInstance,options.propsData,options.listeners,vnode,options.children)},insert:function(vnode){var vm,context=vnode.context,componentInstance=vnode.componentInstance;componentInstance._isMounted||(componentInstance._isMounted=!0,callHook(componentInstance,"mounted")),vnode.data.keepAlive&&(context._isMounted?((vm=componentInstance)._inactive=!1,activatedChildren.push(vm)):activateChildComponent(componentInstance,!0))},destroy:function(vnode){var componentInstance=vnode.componentInstance;componentInstance._isDestroyed||(vnode.data.keepAlive?function deactivateChildComponent(vm,direct){if(direct&&(vm._directInactive=!0,isInInactiveTree(vm)))return;if(!vm._inactive){vm._inactive=!0;for(var i=0;i<vm.$children.length;i++)deactivateChildComponent(vm.$children[i]);callHook(vm,"deactivated")}}(componentInstance,!0):componentInstance.$destroy())}},hooksToMerge=Object.keys(componentVNodeHooks);function createComponent(Ctor,data,context,children,tag){if(!isUndef(Ctor)){var baseCtor=context.$options._base;if(isObject(Ctor)&&(Ctor=baseCtor.extend(Ctor)),"function"==typeof Ctor){var asyncFactory;if(isUndef(Ctor.cid)&&void 0===(Ctor=function(factory,baseCtor){if(isTrue(factory.error)&&isDef(factory.errorComp))return factory.errorComp;if(isDef(factory.resolved))return factory.resolved;var owner=currentRenderingInstance;owner&&isDef(factory.owners)&&-1===factory.owners.indexOf(owner)&&factory.owners.push(owner);if(isTrue(factory.loading)&&isDef(factory.loadingComp))return factory.loadingComp;if(owner&&!isDef(factory.owners)){var owners=factory.owners=[owner],sync=!0,timerLoading=null,timerTimeout=null;owner.$on("hook:destroyed",(function(){return remove(owners,owner)}));var forceRender=function(renderCompleted){for(var i=0,l=owners.length;i<l;i++)owners[i].$forceUpdate();renderCompleted&&(owners.length=0,null!==timerLoading&&(clearTimeout(timerLoading),timerLoading=null),null!==timerTimeout&&(clearTimeout(timerTimeout),timerTimeout=null))},resolve=once((function(res){factory.resolved=ensureCtor(res,baseCtor),sync?owners.length=0:forceRender(!0)})),reject=once((function(reason){isDef(factory.errorComp)&&(factory.error=!0,forceRender(!0))})),res=factory(resolve,reject);return isObject(res)&&(isPromise(res)?isUndef(factory.resolved)&&res.then(resolve,reject):isPromise(res.component)&&(res.component.then(resolve,reject),isDef(res.error)&&(factory.errorComp=ensureCtor(res.error,baseCtor)),isDef(res.loading)&&(factory.loadingComp=ensureCtor(res.loading,baseCtor),0===res.delay?factory.loading=!0:timerLoading=setTimeout((function(){timerLoading=null,isUndef(factory.resolved)&&isUndef(factory.error)&&(factory.loading=!0,forceRender(!1))}),res.delay||200)),isDef(res.timeout)&&(timerTimeout=setTimeout((function(){timerTimeout=null,isUndef(factory.resolved)&&reject(null)}),res.timeout)))),sync=!1,factory.loading?factory.loadingComp:factory.resolved}}(asyncFactory=Ctor,baseCtor)))return function(factory,data,context,children,tag){var node=createEmptyVNode();return node.asyncFactory=factory,node.asyncMeta={data:data,context:context,children:children,tag:tag},node}(asyncFactory,data,context,children,tag);data=data||{},resolveConstructorOptions(Ctor),isDef(data.model)&&function(options,data){var prop=options.model&&options.model.prop||"value",event=options.model&&options.model.event||"input";(data.attrs||(data.attrs={}))[prop]=data.model.value;var on=data.on||(data.on={}),existing=on[event],callback=data.model.callback;isDef(existing)?(Array.isArray(existing)?-1===existing.indexOf(callback):existing!==callback)&&(on[event]=[callback].concat(existing)):on[event]=callback}(Ctor.options,data);var propsData=function(data,Ctor,tag){var propOptions=Ctor.options.props;if(!isUndef(propOptions)){var res={},attrs=data.attrs,props=data.props;if(isDef(attrs)||isDef(props))for(var key in propOptions){var altKey=hyphenate(key);checkProp(res,props,key,altKey,!0)||checkProp(res,attrs,key,altKey,!1)}return res}}(data,Ctor);if(isTrue(Ctor.options.functional))return function(Ctor,propsData,data,contextVm,children){var options=Ctor.options,props={},propOptions=options.props;if(isDef(propOptions))for(var key in propOptions)props[key]=validateProp(key,propOptions,propsData||emptyObject);else isDef(data.attrs)&&mergeProps(props,data.attrs),isDef(data.props)&&mergeProps(props,data.props);var renderContext=new FunctionalRenderContext(data,props,children,contextVm,Ctor),vnode=options.render.call(null,renderContext._c,renderContext);if(vnode instanceof VNode)return cloneAndMarkFunctionalResult(vnode,data,renderContext.parent,options,renderContext);if(Array.isArray(vnode)){for(var vnodes=normalizeChildren(vnode)||[],res=new Array(vnodes.length),i=0;i<vnodes.length;i++)res[i]=cloneAndMarkFunctionalResult(vnodes[i],data,renderContext.parent,options,renderContext);return res}}(Ctor,propsData,data,context,children);var listeners=data.on;if(data.on=data.nativeOn,isTrue(Ctor.options.abstract)){var slot=data.slot;data={},slot&&(data.slot=slot)}!function(data){for(var hooks=data.hook||(data.hook={}),i=0;i<hooksToMerge.length;i++){var key=hooksToMerge[i],existing=hooks[key],toMerge=componentVNodeHooks[key];existing===toMerge||existing&&existing._merged||(hooks[key]=existing?mergeHook$1(toMerge,existing):toMerge)}}(data);var name=Ctor.options.name||tag;return new VNode("vue-component-"+Ctor.cid+(name?"-"+name:""),data,void 0,void 0,void 0,context,{Ctor:Ctor,propsData:propsData,listeners:listeners,tag:tag,children:children},asyncFactory)}}}function mergeHook$1(f1,f2){var merged=function(a,b){f1(a,b),f2(a,b)};return merged._merged=!0,merged}function createElement(context,tag,data,children,normalizationType,alwaysNormalize){return(Array.isArray(data)||isPrimitive(data))&&(normalizationType=children,children=data,data=void 0),isTrue(alwaysNormalize)&&(normalizationType=2),function(context,tag,data,children,normalizationType){if(isDef(data)&&isDef(data.__ob__))return createEmptyVNode();isDef(data)&&isDef(data.is)&&(tag=data.is);if(!tag)return createEmptyVNode();0;Array.isArray(children)&&"function"==typeof children[0]&&((data=data||{}).scopedSlots={default:children[0]},children.length=0);2===normalizationType?children=normalizeChildren(children):1===normalizationType&&(children=function(children){for(var i=0;i<children.length;i++)if(Array.isArray(children[i]))return Array.prototype.concat.apply([],children);return children}(children));var vnode,ns;if("string"==typeof tag){var Ctor;ns=context.$vnode&&context.$vnode.ns||config.getTagNamespace(tag),vnode=config.isReservedTag(tag)?new VNode(config.parsePlatformTagName(tag),data,children,void 0,void 0,context):data&&data.pre||!isDef(Ctor=resolveAsset(context.$options,"components",tag))?new VNode(tag,data,children,void 0,void 0,context):createComponent(Ctor,data,context,children,tag)}else vnode=createComponent(tag,data,context,children);return Array.isArray(vnode)?vnode:isDef(vnode)?(isDef(ns)&&function applyNS(vnode,ns,force){vnode.ns=ns,"foreignObject"===vnode.tag&&(ns=void 0,force=!0);if(isDef(vnode.children))for(var i=0,l=vnode.children.length;i<l;i++){var child=vnode.children[i];isDef(child.tag)&&(isUndef(child.ns)||isTrue(force)&&"svg"!==child.tag)&&applyNS(child,ns,force)}}(vnode,ns),isDef(data)&&function(data){isObject(data.style)&&traverse(data.style);isObject(data.class)&&traverse(data.class)}(data),vnode):createEmptyVNode()}(context,tag,data,children,normalizationType)}var target,currentRenderingInstance=null;function ensureCtor(comp,base){return(comp.__esModule||hasSymbol&&"Module"===comp[Symbol.toStringTag])&&(comp=comp.default),isObject(comp)?base.extend(comp):comp}function isAsyncPlaceholder(node){return node.isComment&&node.asyncFactory}function getFirstComponentChild(children){if(Array.isArray(children))for(var i=0;i<children.length;i++){var c=children[i];if(isDef(c)&&(isDef(c.componentOptions)||isAsyncPlaceholder(c)))return c}}function add(event,fn){target.$on(event,fn)}function remove$1(event,fn){target.$off(event,fn)}function createOnceHandler(event,fn){var _target=target;return function onceHandler(){var res=fn.apply(null,arguments);null!==res&&_target.$off(event,onceHandler)}}function updateComponentListeners(vm,listeners,oldListeners){target=vm,updateListeners(listeners,oldListeners||{},add,remove$1,createOnceHandler,vm),target=void 0}var activeInstance=null;function setActiveInstance(vm){var prevActiveInstance=activeInstance;return activeInstance=vm,function(){activeInstance=prevActiveInstance}}function isInInactiveTree(vm){for(;vm&&(vm=vm.$parent);)if(vm._inactive)return!0;return!1}function activateChildComponent(vm,direct){if(direct){if(vm._directInactive=!1,isInInactiveTree(vm))return}else if(vm._directInactive)return;if(vm._inactive||null===vm._inactive){vm._inactive=!1;for(var i=0;i<vm.$children.length;i++)activateChildComponent(vm.$children[i]);callHook(vm,"activated")}}function callHook(vm,hook){pushTarget();var handlers=vm.$options[hook],info=hook+" hook";if(handlers)for(var i=0,j=handlers.length;i<j;i++)invokeWithErrorHandling(handlers[i],vm,null,vm,info);vm._hasHookEvent&&vm.$emit("hook:"+hook),popTarget()}var queue=[],activatedChildren=[],has={},waiting=!1,flushing=!1,index=0;var currentFlushTimestamp=0,getNow=Date.now;if(inBrowser&&!isIE){var performance=window.performance;performance&&"function"==typeof performance.now&&getNow()>document.createEvent("Event").timeStamp&&(getNow=function(){return performance.now()})}function flushSchedulerQueue(){var watcher,id;for(currentFlushTimestamp=getNow(),flushing=!0,queue.sort((function(a,b){return a.id-b.id})),index=0;index<queue.length;index++)(watcher=queue[index]).before&&watcher.before(),id=watcher.id,has[id]=null,watcher.run();var activatedQueue=activatedChildren.slice(),updatedQueue=queue.slice();index=queue.length=activatedChildren.length=0,has={},waiting=flushing=!1,function(queue){for(var i=0;i<queue.length;i++)queue[i]._inactive=!0,activateChildComponent(queue[i],!0)}(activatedQueue),function(queue){var i=queue.length;for(;i--;){var watcher=queue[i],vm=watcher.vm;vm._watcher===watcher&&vm._isMounted&&!vm._isDestroyed&&callHook(vm,"updated")}}(updatedQueue),devtools&&config.devtools&&devtools.emit("flush")}var uid$2=0,Watcher=function(vm,expOrFn,cb,options,isRenderWatcher){this.vm=vm,isRenderWatcher&&(vm._watcher=this),vm._watchers.push(thi