From 07df1f2847311736053fe31aa2eb7afb21bea372 Mon Sep 17 00:00:00 2001 From: Roberto Tonino Date: Thu, 16 Jul 2020 22:20:13 +0200 Subject: [PATCH] moved downloads logic to Vue (except for 1 function) and basic tested --- public/js/bundle.js | 8 +- src/js/app.js | 2 - src/js/components/TheDownloadTab.vue | 226 +++++++++++++++++++++++++- src/js/components/TheErrorsTab.vue | 1 + src/js/components/TheFavoritesTab.vue | 1 - src/js/downloads.js | 220 +------------------------ src/js/tabs.js | 1 - 7 files changed, 230 insertions(+), 229 deletions(-) diff --git a/public/js/bundle.js b/public/js/bundle.js index 033415b..c1d3f6b 100644 --- a/public/js/bundle.js +++ b/public/js/bundle.js @@ -3,7 +3,7 @@ * (c) 2014-2019 Evan You * Released under the MIT License. */ -var t=Object.freeze({});function e(t){return null==t}function n(t){return null!=t}function a(t){return!0===t}function i(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function r(t){return null!==t&&"object"==typeof t}var s=Object.prototype.toString;function o(t){return"[object Object]"===s.call(t)}function l(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function c(t){return n(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function u(t){return null==t?"":Array.isArray(t)||o(t)&&t.toString===s?JSON.stringify(t,null,2):String(t)}function d(t){var e=parseFloat(t);return isNaN(e)?t:e}function p(t,e){for(var n=Object.create(null),a=t.split(","),i=0;i-1)return t.splice(n,1)}}var m=Object.prototype.hasOwnProperty;function g(t,e){return m.call(t,e)}function _(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var y=/-(\w)/g,b=_((function(t){return t.replace(y,(function(t,e){return e?e.toUpperCase():""}))})),w=_((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),x=/\B([A-Z])/g,k=_((function(t){return t.replace(x,"-$1").toLowerCase()}));var C=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var a=arguments.length;return a?a>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function A(t,e){e=e||0;for(var n=t.length-e,a=new Array(n);n--;)a[n]=t[n+e];return a}function T(t,e){for(var n in e)t[n]=e[n];return t}function S(t){for(var e={},n=0;n0,Y=W&&W.indexOf("edge/")>0,J=(W&&W.indexOf("android"),W&&/iphone|ipad|ipod|ios/.test(W)||"ios"===Q),X=(W&&/chrome\/\d+/.test(W),W&&/phantomjs/.test(W),W&&W.match(/firefox\/(\d+)/)),Z={}.watch,tt=!1;if(z)try{var et={};Object.defineProperty(et,"passive",{get:function(){tt=!0}}),window.addEventListener("test-passive",null,et)}catch(t){}var nt=function(){return void 0===U&&(U=!z&&!V&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),U},at=z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function it(t){return"function"==typeof t&&/native code/.test(t.toString())}var rt,st="undefined"!=typeof Symbol&&it(Symbol)&&"undefined"!=typeof Reflect&&it(Reflect.ownKeys);rt="undefined"!=typeof Set&&it(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ot=E,lt=0,ct=function(){this.id=lt++,this.subs=[]};ct.prototype.addSub=function(t){this.subs.push(t)},ct.prototype.removeSub=function(t){h(this.subs,t)},ct.prototype.depend=function(){ct.target&&ct.target.addDep(this)},ct.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e-1)if(r&&!g(i,"default"))s=!1;else if(""===s||s===k(t)){var l=Bt(String,i.type);(l<0||o0&&(ce((l=t(l,(s||"")+"_"+o))[0])&&ce(u)&&(d[c]=mt(u.text+l[0].text),l.shift()),d.push.apply(d,l)):i(l)?ce(u)?d[c]=mt(u.text+l):""!==l&&d.push(mt(l)):ce(l)&&ce(u)?d[c]=mt(u.text+l.text):(a(r._isVList)&&n(l.tag)&&e(l.key)&&n(s)&&(l.key="__vlist"+s+"_"+o+"__"),d.push(l)));return d}(t):void 0}function ce(t){return n(t)&&n(t.text)&&!1===t.isComment}function ue(t,e){if(t){for(var n=Object.create(null),a=st?Reflect.ownKeys(t):Object.keys(t),i=0;i0,s=e?!!e.$stable:!r,o=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&a&&a!==t&&o===a.$key&&!r&&!a.$hasNormal)return a;for(var l in i={},e)e[l]&&"$"!==l[0]&&(i[l]=ve(n,l,e[l]))}else i={};for(var c in n)c in i||(i[c]=he(n,c));return e&&Object.isExtensible(e)&&(e._normalized=i),B(i,"$stable",s),B(i,"$key",o),B(i,"$hasNormal",r),i}function ve(t,e,n){var a=function(){var t=arguments.length?n.apply(null,arguments):n({});return(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:le(t))&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:a,enumerable:!0,configurable:!0}),a}function he(t,e){return function(){return t[e]}}function me(t,e){var a,i,s,o,l;if(Array.isArray(t)||"string"==typeof t)for(a=new Array(t.length),i=0,s=t.length;idocument.createEvent("Event").timeStamp&&(on=function(){return ln.now()})}function cn(){var t,e;for(sn=on(),an=!0,Ze.sort((function(t,e){return t.id-e.id})),rn=0;rnrn&&Ze[n].id>t.id;)n--;Ze.splice(n+1,0,t)}else Ze.push(t);nn||(nn=!0,te(cn))}}(this)},dn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||r(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){qt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},dn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},dn.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},dn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||h(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var pn={enumerable:!0,configurable:!0,get:E,set:E};function fn(t,e,n){pn.get=function(){return this[e][n]},pn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,pn)}function vn(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},a=t._props={},i=t.$options._propKeys=[];t.$parent&&xt(!1);var r=function(r){i.push(r);var s=Mt(r,e,n,t);At(a,r,s),r in t||fn(t,"_props",r)};for(var s in e)r(s);xt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?E:C(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;o(e=t._data="function"==typeof e?function(t,e){dt();try{return t.call(e,e)}catch(t){return qt(t,e,"data()"),{}}finally{pt()}}(e,t):e||{})||(e={});var n=Object.keys(e),a=t.$options.props,i=(t.$options.methods,n.length);for(;i--;){var r=n[i];a&&g(a,r)||F(r)||fn(t,"_data",r)}Ct(e,!0)}(t):Ct(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),a=nt();for(var i in e){var r=e[i],s="function"==typeof r?r:r.get;a||(n[i]=new dn(t,s||E,E,hn)),i in t||mn(t,i,r)}}(t,e.computed),e.watch&&e.watch!==Z&&function(t,e){for(var n in e){var a=e[n];if(Array.isArray(a))for(var i=0;i-1:"string"==typeof t?t.split(",").indexOf(e)>-1:(n=t,"[object RegExp]"===s.call(n)&&t.test(e));var n}function Tn(t,e){var n=t.cache,a=t.keys,i=t._vnode;for(var r in n){var s=n[r];if(s){var o=Cn(s.componentOptions);o&&!e(o)&&Sn(n,r,a,i)}}}function Sn(t,e,n,a){var i=t[e];!i||a&&i.tag===a.tag||i.componentInstance.$destroy(),t[e]=null,h(n,e)}!function(e){e.prototype._init=function(e){var n=this;n._uid=bn++,n._isVue=!0,e&&e._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),a=e._parentVnode;n.parent=e.parent,n._parentVnode=a;var i=a.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(n,e):n.$options=jt(wn(n.constructor),e||{},n),n._renderProxy=n,n._self=n,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(n),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&We(t,e)}(n),function(e){e._vnode=null,e._staticTrees=null;var n=e.$options,a=e.$vnode=n._parentVnode,i=a&&a.context;e.$slots=de(n._renderChildren,i),e.$scopedSlots=t,e._c=function(t,n,a,i){return Re(e,t,n,a,i,!1)},e.$createElement=function(t,n,a,i){return Re(e,t,n,a,i,!0)};var r=a&&a.data;At(e,"$attrs",r&&r.attrs||t,null,!0),At(e,"$listeners",n._parentListeners||t,null,!0)}(n),Xe(n,"beforeCreate"),function(t){var e=ue(t.$options.inject,t);e&&(xt(!1),Object.keys(e).forEach((function(n){At(t,n,e[n])})),xt(!0))}(n),vn(n),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(n),Xe(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}(xn),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Tt,t.prototype.$delete=St,t.prototype.$watch=function(t,e,n){if(o(e))return yn(this,t,e,n);(n=n||{}).user=!0;var a=new dn(this,t,e,n);if(n.immediate)try{e.call(this,a.value)}catch(t){qt(t,this,'callback for immediate watcher "'+a.expression+'"')}return function(){a.teardown()}}}(xn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var a=this;if(Array.isArray(t))for(var i=0,r=t.length;i1?A(n):n;for(var a=A(arguments,1),i='event handler for "'+t+'"',r=0,s=n.length;rparseInt(this.max)&&Sn(s,o[0],o,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return M}};Object.defineProperty(t,"config",e),t.util={warn:ot,extend:T,mergeOptions:jt,defineReactive:At},t.set=Tt,t.delete=St,t.nextTick=te,t.observable=function(t){return Ct(t),t},t.options=Object.create(null),j.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,T(t.options.components,En),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=A(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=jt(this.options,t),this}}(t),kn(t),function(t){j.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&o(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(xn),Object.defineProperty(xn.prototype,"$isServer",{get:nt}),Object.defineProperty(xn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(xn,"FunctionalRenderContext",{value:De}),xn.version="2.6.11";var Nn=p("style,class"),Dn=p("input,textarea,option,select,progress"),Pn=function(t,e,n){return"value"===n&&Dn(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Ln=p("contenteditable,draggable,spellcheck"),On=p("events,caret,typing,plaintext-only"),jn=p("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,translate,truespeed,typemustmatch,visible"),In="http://www.w3.org/1999/xlink",Mn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Rn=function(t){return Mn(t)?t.slice(6,t.length):""},Fn=function(t){return null==t||!1===t};function Bn(t){for(var e=t.data,a=t,i=t;n(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(e=qn(i.data,e));for(;n(a=a.parent);)a&&a.data&&(e=qn(e,a.data));return function(t,e){if(n(t)||n(e))return Un(t,Hn(e));return""}(e.staticClass,e.class)}function qn(t,e){return{staticClass:Un(t.staticClass,e.staticClass),class:n(t.class)?[t.class,e.class]:e.class}}function Un(t,e){return t?e?t+" "+e:t:e||""}function Hn(t){return Array.isArray(t)?function(t){for(var e,a="",i=0,r=t.length;i-1?va(t,e,n):jn(e)?Fn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Ln(e)?t.setAttribute(e,function(t,e){return Fn(e)||"false"===e?"false":"contenteditable"===t&&On(e)?e:"true"}(e,n)):Mn(e)?Fn(n)?t.removeAttributeNS(In,Rn(e)):t.setAttributeNS(In,e,n):va(t,e,n)}function va(t,e,n){if(Fn(n))t.removeAttribute(e);else{if(G&&!K&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var a=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",a)};t.addEventListener("input",a),t.__ieph=!0}t.setAttribute(e,n)}}var ha={create:pa,update:pa};function ma(t,a){var i=a.elm,r=a.data,s=t.data;if(!(e(r.staticClass)&&e(r.class)&&(e(s)||e(s.staticClass)&&e(s.class)))){var o=Bn(a),l=i._transitionClasses;n(l)&&(o=Un(o,Hn(l))),o!==i._prevClass&&(i.setAttribute("class",o),i._prevClass=o)}}var ga,_a,ya,ba,wa,xa,ka={create:ma,update:ma},Ca=/[\w).+\-_$\]]/;function Aa(t){var e,n,a,i,r,s=!1,o=!1,l=!1,c=!1,u=0,d=0,p=0,f=0;for(a=0;a=0&&" "===(h=t.charAt(v));v--);h&&Ca.test(h)||(c=!0)}}else void 0===i?(f=a+1,i=t.slice(0,a).trim()):m();function m(){(r||(r=[])).push(t.slice(f,a).trim()),f=a+1}if(void 0===i?i=t.slice(0,a).trim():0!==f&&m(),r)for(a=0;a-1?{exp:t.slice(0,ba),key:'"'+t.slice(ba+1)+'"'}:{exp:t,key:null};_a=t,ba=wa=xa=0;for(;!Ua();)Ha(ya=qa())?Va(ya):91===ya&&za(ya);return{exp:t.slice(0,wa),key:t.slice(wa+1,xa)}}(t);return null===n.key?t+"="+e:"$set("+n.exp+", "+n.key+", "+e+")"}function qa(){return _a.charCodeAt(++ba)}function Ua(){return ba>=ga}function Ha(t){return 34===t||39===t}function za(t){var e=1;for(wa=ba;!Ua();)if(Ha(t=qa()))Va(t);else if(91===t&&e++,93===t&&e--,0===e){xa=ba;break}}function Va(t){for(var e=t;!Ua()&&(t=qa())!==e;);}var Qa;function Wa(t,e,n){var a=Qa;return function i(){var r=e.apply(null,arguments);null!==r&&Ya(t,i,n,a)}}var Ga=Qt&&!(X&&Number(X[1])<=53);function Ka(t,e,n,a){if(Ga){var i=sn,r=e;e=r._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return r.apply(this,arguments)}}Qa.addEventListener(t,e,tt?{capture:n,passive:a}:n)}function Ya(t,e,n,a){(a||Qa).removeEventListener(t,e._wrapper||e,n)}function Ja(t,a){if(!e(t.data.on)||!e(a.data.on)){var i=a.data.on||{},r=t.data.on||{};Qa=a.elm,function(t){if(n(t.__r)){var e=G?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}n(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(i),re(i,r,Ka,Ya,Wa,a.context),Qa=void 0}}var Xa,Za={create:Ja,update:Ja};function ti(t,a){if(!e(t.data.domProps)||!e(a.data.domProps)){var i,r,s=a.elm,o=t.data.domProps||{},l=a.data.domProps||{};for(i in n(l.__ob__)&&(l=a.data.domProps=T({},l)),o)i in l||(s[i]="");for(i in l){if(r=l[i],"textContent"===i||"innerHTML"===i){if(a.children&&(a.children.length=0),r===o[i])continue;1===s.childNodes.length&&s.removeChild(s.childNodes[0])}if("value"===i&&"PROGRESS"!==s.tagName){s._value=r;var c=e(r)?"":String(r);ei(s,c)&&(s.value=c)}else if("innerHTML"===i&&Qn(s.tagName)&&e(s.innerHTML)){(Xa=Xa||document.createElement("div")).innerHTML=""+r+"";for(var u=Xa.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;u.firstChild;)s.appendChild(u.firstChild)}else if(r!==o[i])try{s[i]=r}catch(t){}}}}function ei(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var a=t.value,i=t._vModifiers;if(n(i)){if(i.number)return d(a)!==d(e);if(i.trim)return a.trim()!==e.trim()}return a!==e}(t,e))}var ni={create:ti,update:ti},ai=_((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var a=t.split(n);a.length>1&&(e[a[0].trim()]=a[1].trim())}})),e}));function ii(t){var e=ri(t.style);return t.staticStyle?T(t.staticStyle,e):e}function ri(t){return Array.isArray(t)?S(t):"string"==typeof t?ai(t):t}var si,oi=/^--/,li=/\s*!important$/,ci=function(t,e,n){if(oi.test(e))t.style.setProperty(e,n);else if(li.test(n))t.style.setProperty(k(e),n.replace(li,""),"important");else{var a=di(e);if(Array.isArray(n))for(var i=0,r=n.length;i-1?e.split(vi).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function mi(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(vi).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",a=" "+e+" ";n.indexOf(a)>=0;)n=n.replace(a," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function gi(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&T(e,_i(t.name||"v")),T(e,t),e}return"string"==typeof t?_i(t):void 0}}var _i=_((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),yi=z&&!K,bi="transition",wi="transitionend",xi="animation",ki="animationend";yi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(bi="WebkitTransition",wi="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(xi="WebkitAnimation",ki="webkitAnimationEnd"));var Ci=z?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Ai(t){Ci((function(){Ci(t)}))}function Ti(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),hi(t,e))}function Si(t,e){t._transitionClasses&&h(t._transitionClasses,e),mi(t,e)}function $i(t,e,n){var a=Ni(t,e),i=a.type,r=a.timeout,s=a.propCount;if(!i)return n();var o="transition"===i?wi:ki,l=0,c=function(){t.removeEventListener(o,u),n()},u=function(e){e.target===t&&++l>=s&&c()};setTimeout((function(){l0&&(n="transition",u=s,d=r.length):"animation"===e?c>0&&(n="animation",u=c,d=l.length):d=(n=(u=Math.max(s,c))>0?s>c?"transition":"animation":null)?"transition"===n?r.length:l.length:0,{type:n,timeout:u,propCount:d,hasTransform:"transition"===n&&Ei.test(a[bi+"Property"])}}function Di(t,e){for(;t.length1}function Mi(t,e){!0!==e.data.show&&Li(e)}var Ri=function(t){var r,s,o={},l=t.modules,c=t.nodeOps;for(r=0;rv?y(t,e(i[g+1])?null:i[g+1].elm,i,f,g,r):f>g&&w(a,p,v)}(p,h,g,r,u):n(g)?(n(t.text)&&c.setTextContent(p,""),y(p,null,g,0,g.length-1,r)):n(h)?w(h,0,h.length-1):n(t.text)&&c.setTextContent(p,""):t.text!==i.text&&c.setTextContent(p,i.text),n(v)&&n(f=v.hook)&&n(f=f.postpatch)&&f(t,i)}}}function A(t,e,i){if(a(i)&&n(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r-1,s.selected!==r&&(s.selected=r);else if(P(Hi(s),a))return void(t.selectedIndex!==o&&(t.selectedIndex=o));i||(t.selectedIndex=-1)}}function Ui(t,e){return e.every((function(e){return!P(e,t)}))}function Hi(t){return"_value"in t?t._value:t.value}function zi(t){t.target.composing=!0}function Vi(t){t.target.composing&&(t.target.composing=!1,Qi(t.target,"input"))}function Qi(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Wi(t){return!t.componentInstance||t.data&&t.data.transition?t:Wi(t.componentInstance._vnode)}var Gi={model:Fi,show:{bind:function(t,e,n){var a=e.value,i=(n=Wi(n)).data&&n.data.transition,r=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;a&&i?(n.data.show=!0,Li(n,(function(){t.style.display=r}))):t.style.display=a?r:"none"},update:function(t,e,n){var a=e.value;!a!=!e.oldValue&&((n=Wi(n)).data&&n.data.transition?(n.data.show=!0,a?Li(n,(function(){t.style.display=t.__vOriginalDisplay})):Oi(n,(function(){t.style.display="none"}))):t.style.display=a?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,a,i){i||(t.style.display=t.__vOriginalDisplay)}}},Ki={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Yi(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Yi(He(e.children)):t}function Ji(t){var e={},n=t.$options;for(var a in n.propsData)e[a]=t[a];var i=n._parentListeners;for(var r in i)e[b(r)]=i[r];return e}function Xi(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var Zi=function(t){return t.tag||Ue(t)},tr=function(t){return"show"===t.name},er={name:"transition",props:Ki,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Zi)).length){var a=this.mode,r=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return r;var s=Yi(r);if(!s)return r;if(this._leaving)return Xi(t,r);var o="__transition-"+this._uid+"-";s.key=null==s.key?s.isComment?o+"comment":o+s.tag:i(s.key)?0===String(s.key).indexOf(o)?s.key:o+s.key:s.key;var l=(s.data||(s.data={})).transition=Ji(this),c=this._vnode,u=Yi(c);if(s.data.directives&&s.data.directives.some(tr)&&(s.data.show=!0),u&&u.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(s,u)&&!Ue(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=T({},l);if("out-in"===a)return this._leaving=!0,se(d,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Xi(t,r);if("in-out"===a){if(Ue(s))return c;var p,f=function(){p()};se(l,"afterEnter",f),se(l,"enterCancelled",f),se(d,"delayLeave",(function(t){p=t}))}}return r}}},nr=T({tag:String,moveClass:String},Ki);function ar(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function ir(t){t.data.newPos=t.elm.getBoundingClientRect()}function rr(t){var e=t.data.pos,n=t.data.newPos,a=e.left-n.left,i=e.top-n.top;if(a||i){t.data.moved=!0;var r=t.elm.style;r.transform=r.WebkitTransform="translate("+a+"px,"+i+"px)",r.transitionDuration="0s"}}delete nr.mode;var sr={Transition:er,TransitionGroup:{props:nr,beforeMount:function(){var t=this,e=this._update;this._update=function(n,a){var i=Ke(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,a)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),a=this.prevChildren=this.children,i=this.$slots.default||[],r=this.children=[],s=Ji(this),o=0;o-1?Kn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Kn[t]=/HTMLUnknownElement/.test(e.toString())},T(xn.options.directives,Gi),T(xn.options.components,sr),xn.prototype.__patch__=z?Ri:E,xn.prototype.$mount=function(t,e){return function(t,e,n){var a;return t.$el=e,t.$options.render||(t.$options.render=ht),Xe(t,"beforeMount"),a=function(){t._update(t._render(),n)},new dn(t,a,E,{before:function(){t._isMounted&&!t._isDestroyed&&Xe(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,Xe(t,"mounted")),t}(this,t=t&&z?Jn(t):void 0,e)},z&&setTimeout((function(){M.devtools&&at&&at.emit("init",xn)}),0);var or=/\{\{((?:.|\r?\n)+?)\}\}/g,lr=/[-.*+?^${}()|[\]\/\\]/g,cr=_((function(t){var e=t[0].replace(lr,"\\$&"),n=t[1].replace(lr,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}));var ur={staticKeys:["staticClass"],transformNode:function(t,e){e.warn;var n=Ia(t,"class");n&&(t.staticClass=JSON.stringify(n));var a=ja(t,"class",!1);a&&(t.classBinding=a)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}};var dr,pr={staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;var n=Ia(t,"style");n&&(t.staticStyle=JSON.stringify(ai(n)));var a=ja(t,"style",!1);a&&(t.styleBinding=a)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}},fr=function(t){return(dr=dr||document.createElement("div")).innerHTML=t,dr.textContent},vr=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),hr=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),mr=p("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"),gr=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,_r=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,yr="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+R.source+"]*",br="((?:"+yr+"\\:)?"+yr+")",wr=new RegExp("^<"+br),xr=/^\s*(\/?)>/,kr=new RegExp("^<\\/"+br+"[^>]*>"),Cr=/^]+>/i,Ar=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},Nr=/&(?:lt|gt|quot|amp|#39);/g,Dr=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Pr=p("pre,textarea",!0),Lr=function(t,e){return t&&Pr(t)&&"\n"===e[0]};function Or(t,e){var n=e?Dr:Nr;return t.replace(n,(function(t){return Er[t]}))}var jr,Ir,Mr,Rr,Fr,Br,qr,Ur,Hr=/^@|^v-on:/,zr=/^v-|^@|^:|^#/,Vr=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Qr=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Wr=/^\(|\)$/g,Gr=/^\[.*\]$/,Kr=/:(.*)$/,Yr=/^:|^\.|^v-bind:/,Jr=/\.[^.\]]+(?=[^\]]*$)/g,Xr=/^v-slot(:|$)|^#/,Zr=/[\r\n]/,ts=/\s+/g,es=_(fr);function ns(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:cs(e),rawAttrsMap:{},parent:n,children:[]}}function as(t,e){jr=e.warn||Sa,Br=e.isPreTag||N,qr=e.mustUseProp||N,Ur=e.getTagNamespace||N;e.isReservedTag;Mr=$a(e.modules,"transformNode"),Rr=$a(e.modules,"preTransformNode"),Fr=$a(e.modules,"postTransformNode"),Ir=e.delimiters;var n,a,i=[],r=!1!==e.preserveWhitespace,s=e.whitespace,o=!1,l=!1;function c(t){if(u(t),o||t.processed||(t=is(t,e)),i.length||t===n||n.if&&(t.elseif||t.else)&&ss(n,{exp:t.elseif,block:t}),a&&!t.forbidden)if(t.elseif||t.else)s=t,(c=function(t){for(var e=t.length;e--;){if(1===t[e].type)return t[e];t.pop()}}(a.children))&&c.if&&ss(c,{exp:s.elseif,block:s});else{if(t.slotScope){var r=t.slotTarget||'"default"';(a.scopedSlots||(a.scopedSlots={}))[r]=t}a.children.push(t),t.parent=a}var s,c;t.children=t.children.filter((function(t){return!t.slotScope})),u(t),t.pre&&(o=!1),Br(t.tag)&&(l=!1);for(var d=0;d]*>)","i")),p=t.replace(d,(function(t,n,a){return c=a.length,Sr(u)||"noscript"===u||(n=n.replace(//g,"$1").replace(//g,"$1")),Lr(u,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""}));l+=t.length-p.length,t=p,T(u,l-c,l)}else{var f=t.indexOf("<");if(0===f){if(Ar.test(t)){var v=t.indexOf("--\x3e");if(v>=0){e.shouldKeepComment&&e.comment(t.substring(4,v),l,l+v+3),k(v+3);continue}}if(Tr.test(t)){var h=t.indexOf("]>");if(h>=0){k(h+2);continue}}var m=t.match(Cr);if(m){k(m[0].length);continue}var g=t.match(kr);if(g){var _=l;k(g[0].length),T(g[1],_,l);continue}var y=C();if(y){A(y),Lr(y.tagName,t)&&k(1);continue}}var b=void 0,w=void 0,x=void 0;if(f>=0){for(w=t.slice(f);!(kr.test(w)||wr.test(w)||Ar.test(w)||Tr.test(w)||(x=w.indexOf("<",1))<0);)f+=x,w=t.slice(f);b=t.substring(0,f)}f<0&&(b=t),b&&k(b.length),e.chars&&b&&e.chars(b,l-b.length,l)}if(t===n){e.chars&&e.chars(t);break}}function k(e){l+=e,t=t.substring(e)}function C(){var e=t.match(wr);if(e){var n,a,i={tagName:e[1],attrs:[],start:l};for(k(e[0].length);!(n=t.match(xr))&&(a=t.match(_r)||t.match(gr));)a.start=l,k(a[0].length),a.end=l,i.attrs.push(a);if(n)return i.unarySlash=n[1],k(n[0].length),i.end=l,i}}function A(t){var n=t.tagName,l=t.unarySlash;r&&("p"===a&&mr(n)&&T(a),o(n)&&a===n&&T(n));for(var c=s(n)||!!l,u=t.attrs.length,d=new Array(u),p=0;p=0&&i[s].lowerCasedTag!==o;s--);else s=0;if(s>=0){for(var c=i.length-1;c>=s;c--)e.end&&e.end(i[c].tag,n,r);i.length=s,a=s&&i[s-1].tag}else"br"===o?e.start&&e.start(t,[],!0,n,r):"p"===o&&(e.start&&e.start(t,[],!1,n,r),e.end&&e.end(t,n,r))}T()}(t,{warn:jr,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,r,s,u,d){var p=a&&a.ns||Ur(t);G&&"svg"===p&&(r=function(t){for(var e=[],n=0;nl&&(o.push(r=t.slice(l,i)),s.push(JSON.stringify(r)));var c=Aa(a[1].trim());s.push("_s("+c+")"),o.push({"@binding":c}),l=i+a[0].length}return l-1"+("true"===r?":("+e+")":":_q("+e+","+r+")")),Oa(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+r+"):("+s+");if(Array.isArray($$a)){var $$v="+(a?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Ba(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Ba(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Ba(e,"$$c")+"}",null,!0)}(t,a,i);else if("input"===r&&"radio"===s)!function(t,e,n){var a=n&&n.number,i=ja(t,"value")||"null";Ea(t,"checked","_q("+e+","+(i=a?"_n("+i+")":i)+")"),Oa(t,"change",Ba(e,i),null,!0)}(t,a,i);else if("input"===r||"textarea"===r)!function(t,e,n){var a=t.attrsMap.type,i=n||{},r=i.lazy,s=i.number,o=i.trim,l=!r&&"range"!==a,c=r?"change":"range"===a?"__r":"input",u="$event.target.value";o&&(u="$event.target.value.trim()");s&&(u="_n("+u+")");var d=Ba(e,u);l&&(d="if($event.target.composing)return;"+d);Ea(t,"value","("+e+")"),Oa(t,c,d,null,!0),(o||s)&&Oa(t,"blur","$forceUpdate()")}(t,a,i);else if(!M.isReservedTag(r))return Fa(t,a,i),!1;return!0},text:function(t,e){e.value&&Ea(t,"textContent","_s("+e.value+")",e)},html:function(t,e){e.value&&Ea(t,"innerHTML","_s("+e.value+")",e)}},isPreTag:function(t){return"pre"===t},isUnaryTag:vr,mustUseProp:Pn,canBeLeftOpenTag:hr,isReservedTag:Wn,getTagNamespace:Gn,staticKeys:function(t){return t.reduce((function(t,e){return t.concat(e.staticKeys||[])}),[]).join(",")}(fs)},gs=_((function(t){return p("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}));function _s(t,e){t&&(vs=gs(e.staticKeys||""),hs=e.isReservedTag||N,function t(e){if(e.static=function(t){if(2===t.type)return!1;if(3===t.type)return!0;return!(!t.pre&&(t.hasBindings||t.if||t.for||f(t.tag)||!hs(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(vs)))}(e),1===e.type){if(!hs(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var n=0,a=e.children.length;n|^function(?:\s+[\w$]+)?\s*\(/,bs=/\([^)]*?\);*$/,ws=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,xs={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},ks={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"]},Cs=function(t){return"if("+t+")return null;"},As={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Cs("$event.target !== $event.currentTarget"),ctrl:Cs("!$event.ctrlKey"),shift:Cs("!$event.shiftKey"),alt:Cs("!$event.altKey"),meta:Cs("!$event.metaKey"),left:Cs("'button' in $event && $event.button !== 0"),middle:Cs("'button' in $event && $event.button !== 1"),right:Cs("'button' in $event && $event.button !== 2")};function Ts(t,e){var n=e?"nativeOn:":"on:",a="",i="";for(var r in t){var s=Ss(t[r]);t[r]&&t[r].dynamic?i+=r+","+s+",":a+='"'+r+'":'+s+","}return a="{"+a.slice(0,-1)+"}",i?n+"_d("+a+",["+i.slice(0,-1)+"])":n+a}function Ss(t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map((function(t){return Ss(t)})).join(",")+"]";var e=ws.test(t.value),n=ys.test(t.value),a=ws.test(t.value.replace(bs,""));if(t.modifiers){var i="",r="",s=[];for(var o in t.modifiers)if(As[o])r+=As[o],xs[o]&&s.push(o);else if("exact"===o){var l=t.modifiers;r+=Cs(["ctrl","shift","alt","meta"].filter((function(t){return!l[t]})).map((function(t){return"$event."+t+"Key"})).join("||"))}else s.push(o);return s.length&&(i+=function(t){return"if(!$event.type.indexOf('key')&&"+t.map($s).join("&&")+")return null;"}(s)),r&&(i+=r),"function($event){"+i+(e?"return "+t.value+"($event)":n?"return ("+t.value+")($event)":a?"return "+t.value:t.value)+"}"}return e||n?t.value:"function($event){"+(a?"return "+t.value:t.value)+"}"}function $s(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=xs[t],a=ks[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(a)+")"}var Es={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:E},Ns=function(t){this.options=t,this.warn=t.warn||Sa,this.transforms=$a(t.modules,"transformCode"),this.dataGenFns=$a(t.modules,"genData"),this.directives=T(T({},Es),t.directives);var e=t.isReservedTag||N;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Ds(t,e){var n=new Ns(e);return{render:"with(this){return "+(t?Ps(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Ps(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Ls(t,e);if(t.once&&!t.onceProcessed)return Os(t,e);if(t.for&&!t.forProcessed)return Is(t,e);if(t.if&&!t.ifProcessed)return js(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',a=Bs(t,e),i="_t("+n+(a?","+a:""),r=t.attrs||t.dynamicAttrs?Hs((t.attrs||[]).concat(t.dynamicAttrs||[]).map((function(t){return{name:b(t.name),value:t.value,dynamic:t.dynamic}}))):null,s=t.attrsMap["v-bind"];!r&&!s||a||(i+=",null");r&&(i+=","+r);s&&(i+=(r?"":",null")+","+s);return i+")"}(t,e);var n;if(t.component)n=function(t,e,n){var a=e.inlineTemplate?null:Bs(e,n,!0);return"_c("+t+","+Ms(e,n)+(a?","+a:"")+")"}(t.component,t,e);else{var a;(!t.plain||t.pre&&e.maybeComponent(t))&&(a=Ms(t,e));var i=t.inlineTemplate?null:Bs(t,e,!0);n="_c('"+t.tag+"'"+(a?","+a:"")+(i?","+i:"")+")"}for(var r=0;r>>0}(s):"")+")"}(t,t.scopedSlots,e)+","),t.model&&(n+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var r=function(t,e){var n=t.children[0];if(n&&1===n.type){var a=Ds(n,e.options);return"inlineTemplate:{render:function(){"+a.render+"},staticRenderFns:["+a.staticRenderFns.map((function(t){return"function(){"+t+"}"})).join(",")+"]}"}}(t,e);r&&(n+=r+",")}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b("+n+',"'+t.tag+'",'+Hs(t.dynamicAttrs)+")"),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function Rs(t){return 1===t.type&&("slot"===t.tag||t.children.some(Rs))}function Fs(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return js(t,e,Fs,"null");if(t.for&&!t.forProcessed)return Is(t,e,Fs);var a="_empty_"===t.slotScope?"":String(t.slotScope),i="function("+a+"){return "+("template"===t.tag?t.if&&n?"("+t.if+")?"+(Bs(t,e)||"undefined")+":undefined":Bs(t,e)||"undefined":Ps(t,e))+"}",r=a?"":",proxy:true";return"{key:"+(t.slotTarget||'"default"')+",fn:"+i+r+"}"}function Bs(t,e,n,a,i){var r=t.children;if(r.length){var s=r[0];if(1===r.length&&s.for&&"template"!==s.tag&&"slot"!==s.tag){var o=n?e.maybeComponent(s)?",1":",0":"";return""+(a||Ps)(s,e)+o}var l=n?function(t,e){for(var n=0,a=0;a':'
',Gs.innerHTML.indexOf(" ")>0}var Js=!!z&&Ys(!1),Xs=!!z&&Ys(!0),Zs=_((function(t){var e=Jn(t);return e&&e.innerHTML})),to=xn.prototype.$mount;xn.prototype.$mount=function(t,e){if((t=t&&Jn(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var a=n.template;if(a)if("string"==typeof a)"#"===a.charAt(0)&&(a=Zs(a));else{if(!a.nodeType)return this;a=a.innerHTML}else t&&(a=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(a){var i=Ks(a,{outputSourceRange:!1,shouldDecodeNewlines:Js,shouldDecodeNewlinesForHref:Xs,delimiters:n.delimiters,comments:n.comments},this),r=i.render,s=i.staticRenderFns;n.render=r,n.staticRenderFns=s}}return to.call(this,t,e)},xn.compile=Ks;var eo="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function no(t,e){return t(e={exports:{}},e.exports),e.exports}var ao=no((function(t){ +var t=Object.freeze({});function e(t){return null==t}function n(t){return null!=t}function a(t){return!0===t}function i(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function r(t){return null!==t&&"object"==typeof t}var s=Object.prototype.toString;function o(t){return"[object Object]"===s.call(t)}function l(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function c(t){return n(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function u(t){return null==t?"":Array.isArray(t)||o(t)&&t.toString===s?JSON.stringify(t,null,2):String(t)}function d(t){var e=parseFloat(t);return isNaN(e)?t:e}function p(t,e){for(var n=Object.create(null),a=t.split(","),i=0;i-1)return t.splice(n,1)}}var m=Object.prototype.hasOwnProperty;function g(t,e){return m.call(t,e)}function _(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var y=/-(\w)/g,b=_((function(t){return t.replace(y,(function(t,e){return e?e.toUpperCase():""}))})),w=_((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),x=/\B([A-Z])/g,k=_((function(t){return t.replace(x,"-$1").toLowerCase()}));var C=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var a=arguments.length;return a?a>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function A(t,e){e=e||0;for(var n=t.length-e,a=new Array(n);n--;)a[n]=t[n+e];return a}function T(t,e){for(var n in e)t[n]=e[n];return t}function S(t){for(var e={},n=0;n0,K=Q&&Q.indexOf("edge/")>0,Y=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===V),J=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),X={}.watch,Z=!1;if(H)try{var tt={};Object.defineProperty(tt,"passive",{get:function(){Z=!0}}),window.addEventListener("test-passive",null,tt)}catch(t){}var et=function(){return void 0===q&&(q=!H&&!z&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),q},nt=H&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function at(t){return"function"==typeof t&&/native code/.test(t.toString())}var it,rt="undefined"!=typeof Symbol&&at(Symbol)&&"undefined"!=typeof Reflect&&at(Reflect.ownKeys);it="undefined"!=typeof Set&&at(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var st=$,ot=0,lt=function(){this.id=ot++,this.subs=[]};lt.prototype.addSub=function(t){this.subs.push(t)},lt.prototype.removeSub=function(t){h(this.subs,t)},lt.prototype.depend=function(){lt.target&<.target.addDep(this)},lt.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e-1)if(r&&!g(i,"default"))s=!1;else if(""===s||s===k(t)){var l=Ft(String,i.type);(l<0||o0&&(le((l=t(l,(s||"")+"_"+o))[0])&&le(u)&&(d[c]=ht(u.text+l[0].text),l.shift()),d.push.apply(d,l)):i(l)?le(u)?d[c]=ht(u.text+l):""!==l&&d.push(ht(l)):le(l)&&le(u)?d[c]=ht(u.text+l.text):(a(r._isVList)&&n(l.tag)&&e(l.key)&&n(s)&&(l.key="__vlist"+s+"_"+o+"__"),d.push(l)));return d}(t):void 0}function le(t){return n(t)&&n(t.text)&&!1===t.isComment}function ce(t,e){if(t){for(var n=Object.create(null),a=rt?Reflect.ownKeys(t):Object.keys(t),i=0;i0,s=e?!!e.$stable:!r,o=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&a&&a!==t&&o===a.$key&&!r&&!a.$hasNormal)return a;for(var l in i={},e)e[l]&&"$"!==l[0]&&(i[l]=fe(n,l,e[l]))}else i={};for(var c in n)c in i||(i[c]=ve(n,c));return e&&Object.isExtensible(e)&&(e._normalized=i),F(i,"$stable",s),F(i,"$key",o),F(i,"$hasNormal",r),i}function fe(t,e,n){var a=function(){var t=arguments.length?n.apply(null,arguments):n({});return(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:oe(t))&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:a,enumerable:!0,configurable:!0}),a}function ve(t,e){return function(){return t[e]}}function he(t,e){var a,i,s,o,l;if(Array.isArray(t)||"string"==typeof t)for(a=new Array(t.length),i=0,s=t.length;idocument.createEvent("Event").timeStamp&&(sn=function(){return on.now()})}function ln(){var t,e;for(rn=sn(),nn=!0,Xe.sort((function(t,e){return t.id-e.id})),an=0;anan&&Xe[n].id>t.id;)n--;Xe.splice(n+1,0,t)}else Xe.push(t);en||(en=!0,Zt(ln))}}(this)},un.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||r(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Bt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},un.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},un.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},un.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||h(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var dn={enumerable:!0,configurable:!0,get:$,set:$};function pn(t,e,n){dn.get=function(){return this[e][n]},dn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,dn)}function fn(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},a=t._props={},i=t.$options._propKeys=[];t.$parent&&wt(!1);var r=function(r){i.push(r);var s=It(r,e,n,t);Ct(a,r,s),r in t||pn(t,"_props",r)};for(var s in e)r(s);wt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?$:C(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;o(e=t._data="function"==typeof e?function(t,e){ut();try{return t.call(e,e)}catch(t){return Bt(t,e,"data()"),{}}finally{dt()}}(e,t):e||{})||(e={});var n=Object.keys(e),a=t.$options.props,i=(t.$options.methods,n.length);for(;i--;){var r=n[i];a&&g(a,r)||R(r)||pn(t,"_data",r)}kt(e,!0)}(t):kt(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),a=et();for(var i in e){var r=e[i],s="function"==typeof r?r:r.get;a||(n[i]=new un(t,s||$,$,vn)),i in t||hn(t,i,r)}}(t,e.computed),e.watch&&e.watch!==X&&function(t,e){for(var n in e){var a=e[n];if(Array.isArray(a))for(var i=0;i-1:"string"==typeof t?t.split(",").indexOf(e)>-1:(n=t,"[object RegExp]"===s.call(n)&&t.test(e));var n}function An(t,e){var n=t.cache,a=t.keys,i=t._vnode;for(var r in n){var s=n[r];if(s){var o=kn(s.componentOptions);o&&!e(o)&&Tn(n,r,a,i)}}}function Tn(t,e,n,a){var i=t[e];!i||a&&i.tag===a.tag||i.componentInstance.$destroy(),t[e]=null,h(n,e)}!function(e){e.prototype._init=function(e){var n=this;n._uid=yn++,n._isVue=!0,e&&e._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),a=e._parentVnode;n.parent=e.parent,n._parentVnode=a;var i=a.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(n,e):n.$options=Ot(bn(n.constructor),e||{},n),n._renderProxy=n,n._self=n,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(n),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Qe(t,e)}(n),function(e){e._vnode=null,e._staticTrees=null;var n=e.$options,a=e.$vnode=n._parentVnode,i=a&&a.context;e.$slots=ue(n._renderChildren,i),e.$scopedSlots=t,e._c=function(t,n,a,i){return Me(e,t,n,a,i,!1)},e.$createElement=function(t,n,a,i){return Me(e,t,n,a,i,!0)};var r=a&&a.data;Ct(e,"$attrs",r&&r.attrs||t,null,!0),Ct(e,"$listeners",n._parentListeners||t,null,!0)}(n),Je(n,"beforeCreate"),function(t){var e=ce(t.$options.inject,t);e&&(wt(!1),Object.keys(e).forEach((function(n){Ct(t,n,e[n])})),wt(!0))}(n),fn(n),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(n),Je(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}(wn),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=At,t.prototype.$delete=Tt,t.prototype.$watch=function(t,e,n){if(o(e))return _n(this,t,e,n);(n=n||{}).user=!0;var a=new un(this,t,e,n);if(n.immediate)try{e.call(this,a.value)}catch(t){Bt(t,this,'callback for immediate watcher "'+a.expression+'"')}return function(){a.teardown()}}}(wn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var a=this;if(Array.isArray(t))for(var i=0,r=t.length;i1?A(n):n;for(var a=A(arguments,1),i='event handler for "'+t+'"',r=0,s=n.length;rparseInt(this.max)&&Tn(s,o[0],o,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return I}};Object.defineProperty(t,"config",e),t.util={warn:st,extend:T,mergeOptions:Ot,defineReactive:Ct},t.set=At,t.delete=Tt,t.nextTick=Zt,t.observable=function(t){return kt(t),t},t.options=Object.create(null),O.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,T(t.options.components,$n),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=A(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Ot(this.options,t),this}}(t),xn(t),function(t){O.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&o(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(wn),Object.defineProperty(wn.prototype,"$isServer",{get:et}),Object.defineProperty(wn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(wn,"FunctionalRenderContext",{value:Ne}),wn.version="2.6.11";var En=p("style,class"),Nn=p("input,textarea,option,select,progress"),Dn=function(t,e,n){return"value"===n&&Nn(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Ln=p("contenteditable,draggable,spellcheck"),Pn=p("events,caret,typing,plaintext-only"),On=p("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,translate,truespeed,typemustmatch,visible"),jn="http://www.w3.org/1999/xlink",In=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Mn=function(t){return In(t)?t.slice(6,t.length):""},Rn=function(t){return null==t||!1===t};function Fn(t){for(var e=t.data,a=t,i=t;n(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(e=Bn(i.data,e));for(;n(a=a.parent);)a&&a.data&&(e=Bn(e,a.data));return function(t,e){if(n(t)||n(e))return qn(t,Un(e));return""}(e.staticClass,e.class)}function Bn(t,e){return{staticClass:qn(t.staticClass,e.staticClass),class:n(t.class)?[t.class,e.class]:e.class}}function qn(t,e){return t?e?t+" "+e:t:e||""}function Un(t){return Array.isArray(t)?function(t){for(var e,a="",i=0,r=t.length;i-1?fa(t,e,n):On(e)?Rn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Ln(e)?t.setAttribute(e,function(t,e){return Rn(e)||"false"===e?"false":"contenteditable"===t&&Pn(e)?e:"true"}(e,n)):In(e)?Rn(n)?t.removeAttributeNS(jn,Mn(e)):t.setAttributeNS(jn,e,n):fa(t,e,n)}function fa(t,e,n){if(Rn(n))t.removeAttribute(e);else{if(W&&!G&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var a=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",a)};t.addEventListener("input",a),t.__ieph=!0}t.setAttribute(e,n)}}var va={create:da,update:da};function ha(t,a){var i=a.elm,r=a.data,s=t.data;if(!(e(r.staticClass)&&e(r.class)&&(e(s)||e(s.staticClass)&&e(s.class)))){var o=Fn(a),l=i._transitionClasses;n(l)&&(o=qn(o,Un(l))),o!==i._prevClass&&(i.setAttribute("class",o),i._prevClass=o)}}var ma,ga,_a,ya,ba,wa,xa={create:ha,update:ha},ka=/[\w).+\-_$\]]/;function Ca(t){var e,n,a,i,r,s=!1,o=!1,l=!1,c=!1,u=0,d=0,p=0,f=0;for(a=0;a=0&&" "===(h=t.charAt(v));v--);h&&ka.test(h)||(c=!0)}}else void 0===i?(f=a+1,i=t.slice(0,a).trim()):m();function m(){(r||(r=[])).push(t.slice(f,a).trim()),f=a+1}if(void 0===i?i=t.slice(0,a).trim():0!==f&&m(),r)for(a=0;a-1?{exp:t.slice(0,ya),key:'"'+t.slice(ya+1)+'"'}:{exp:t,key:null};ga=t,ya=ba=wa=0;for(;!qa();)Ua(_a=Ba())?za(_a):91===_a&&Ha(_a);return{exp:t.slice(0,ba),key:t.slice(ba+1,wa)}}(t);return null===n.key?t+"="+e:"$set("+n.exp+", "+n.key+", "+e+")"}function Ba(){return ga.charCodeAt(++ya)}function qa(){return ya>=ma}function Ua(t){return 34===t||39===t}function Ha(t){var e=1;for(ba=ya;!qa();)if(Ua(t=Ba()))za(t);else if(91===t&&e++,93===t&&e--,0===e){wa=ya;break}}function za(t){for(var e=t;!qa()&&(t=Ba())!==e;);}var Va;function Qa(t,e,n){var a=Va;return function i(){var r=e.apply(null,arguments);null!==r&&Ka(t,i,n,a)}}var Wa=Vt&&!(J&&Number(J[1])<=53);function Ga(t,e,n,a){if(Wa){var i=rn,r=e;e=r._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return r.apply(this,arguments)}}Va.addEventListener(t,e,Z?{capture:n,passive:a}:n)}function Ka(t,e,n,a){(a||Va).removeEventListener(t,e._wrapper||e,n)}function Ya(t,a){if(!e(t.data.on)||!e(a.data.on)){var i=a.data.on||{},r=t.data.on||{};Va=a.elm,function(t){if(n(t.__r)){var e=W?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}n(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(i),ie(i,r,Ga,Ka,Qa,a.context),Va=void 0}}var Ja,Xa={create:Ya,update:Ya};function Za(t,a){if(!e(t.data.domProps)||!e(a.data.domProps)){var i,r,s=a.elm,o=t.data.domProps||{},l=a.data.domProps||{};for(i in n(l.__ob__)&&(l=a.data.domProps=T({},l)),o)i in l||(s[i]="");for(i in l){if(r=l[i],"textContent"===i||"innerHTML"===i){if(a.children&&(a.children.length=0),r===o[i])continue;1===s.childNodes.length&&s.removeChild(s.childNodes[0])}if("value"===i&&"PROGRESS"!==s.tagName){s._value=r;var c=e(r)?"":String(r);ti(s,c)&&(s.value=c)}else if("innerHTML"===i&&Vn(s.tagName)&&e(s.innerHTML)){(Ja=Ja||document.createElement("div")).innerHTML=""+r+"";for(var u=Ja.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;u.firstChild;)s.appendChild(u.firstChild)}else if(r!==o[i])try{s[i]=r}catch(t){}}}}function ti(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var a=t.value,i=t._vModifiers;if(n(i)){if(i.number)return d(a)!==d(e);if(i.trim)return a.trim()!==e.trim()}return a!==e}(t,e))}var ei={create:Za,update:Za},ni=_((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var a=t.split(n);a.length>1&&(e[a[0].trim()]=a[1].trim())}})),e}));function ai(t){var e=ii(t.style);return t.staticStyle?T(t.staticStyle,e):e}function ii(t){return Array.isArray(t)?S(t):"string"==typeof t?ni(t):t}var ri,si=/^--/,oi=/\s*!important$/,li=function(t,e,n){if(si.test(e))t.style.setProperty(e,n);else if(oi.test(n))t.style.setProperty(k(e),n.replace(oi,""),"important");else{var a=ui(e);if(Array.isArray(n))for(var i=0,r=n.length;i-1?e.split(fi).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function hi(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(fi).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",a=" "+e+" ";n.indexOf(a)>=0;)n=n.replace(a," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function mi(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&T(e,gi(t.name||"v")),T(e,t),e}return"string"==typeof t?gi(t):void 0}}var gi=_((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),_i=H&&!G,yi="transition",bi="transitionend",wi="animation",xi="animationend";_i&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(yi="WebkitTransition",bi="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(wi="WebkitAnimation",xi="webkitAnimationEnd"));var ki=H?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Ci(t){ki((function(){ki(t)}))}function Ai(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),vi(t,e))}function Ti(t,e){t._transitionClasses&&h(t._transitionClasses,e),hi(t,e)}function Si(t,e,n){var a=Ei(t,e),i=a.type,r=a.timeout,s=a.propCount;if(!i)return n();var o="transition"===i?bi:xi,l=0,c=function(){t.removeEventListener(o,u),n()},u=function(e){e.target===t&&++l>=s&&c()};setTimeout((function(){l0&&(n="transition",u=s,d=r.length):"animation"===e?c>0&&(n="animation",u=c,d=l.length):d=(n=(u=Math.max(s,c))>0?s>c?"transition":"animation":null)?"transition"===n?r.length:l.length:0,{type:n,timeout:u,propCount:d,hasTransform:"transition"===n&&$i.test(a[yi+"Property"])}}function Ni(t,e){for(;t.length1}function Ii(t,e){!0!==e.data.show&&Li(e)}var Mi=function(t){var r,s,o={},l=t.modules,c=t.nodeOps;for(r=0;rv?y(t,e(i[g+1])?null:i[g+1].elm,i,f,g,r):f>g&&w(a,p,v)}(p,h,g,r,u):n(g)?(n(t.text)&&c.setTextContent(p,""),y(p,null,g,0,g.length-1,r)):n(h)?w(h,0,h.length-1):n(t.text)&&c.setTextContent(p,""):t.text!==i.text&&c.setTextContent(p,i.text),n(v)&&n(f=v.hook)&&n(f=f.postpatch)&&f(t,i)}}}function A(t,e,i){if(a(i)&&n(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r-1,s.selected!==r&&(s.selected=r);else if(D(Ui(s),a))return void(t.selectedIndex!==o&&(t.selectedIndex=o));i||(t.selectedIndex=-1)}}function qi(t,e){return e.every((function(e){return!D(e,t)}))}function Ui(t){return"_value"in t?t._value:t.value}function Hi(t){t.target.composing=!0}function zi(t){t.target.composing&&(t.target.composing=!1,Vi(t.target,"input"))}function Vi(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Qi(t){return!t.componentInstance||t.data&&t.data.transition?t:Qi(t.componentInstance._vnode)}var Wi={model:Ri,show:{bind:function(t,e,n){var a=e.value,i=(n=Qi(n)).data&&n.data.transition,r=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;a&&i?(n.data.show=!0,Li(n,(function(){t.style.display=r}))):t.style.display=a?r:"none"},update:function(t,e,n){var a=e.value;!a!=!e.oldValue&&((n=Qi(n)).data&&n.data.transition?(n.data.show=!0,a?Li(n,(function(){t.style.display=t.__vOriginalDisplay})):Pi(n,(function(){t.style.display="none"}))):t.style.display=a?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,a,i){i||(t.style.display=t.__vOriginalDisplay)}}},Gi={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Ki(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Ki(Ue(e.children)):t}function Yi(t){var e={},n=t.$options;for(var a in n.propsData)e[a]=t[a];var i=n._parentListeners;for(var r in i)e[b(r)]=i[r];return e}function Ji(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var Xi=function(t){return t.tag||qe(t)},Zi=function(t){return"show"===t.name},tr={name:"transition",props:Gi,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Xi)).length){var a=this.mode,r=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return r;var s=Ki(r);if(!s)return r;if(this._leaving)return Ji(t,r);var o="__transition-"+this._uid+"-";s.key=null==s.key?s.isComment?o+"comment":o+s.tag:i(s.key)?0===String(s.key).indexOf(o)?s.key:o+s.key:s.key;var l=(s.data||(s.data={})).transition=Yi(this),c=this._vnode,u=Ki(c);if(s.data.directives&&s.data.directives.some(Zi)&&(s.data.show=!0),u&&u.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(s,u)&&!qe(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=T({},l);if("out-in"===a)return this._leaving=!0,re(d,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Ji(t,r);if("in-out"===a){if(qe(s))return c;var p,f=function(){p()};re(l,"afterEnter",f),re(l,"enterCancelled",f),re(d,"delayLeave",(function(t){p=t}))}}return r}}},er=T({tag:String,moveClass:String},Gi);function nr(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function ar(t){t.data.newPos=t.elm.getBoundingClientRect()}function ir(t){var e=t.data.pos,n=t.data.newPos,a=e.left-n.left,i=e.top-n.top;if(a||i){t.data.moved=!0;var r=t.elm.style;r.transform=r.WebkitTransform="translate("+a+"px,"+i+"px)",r.transitionDuration="0s"}}delete er.mode;var rr={Transition:tr,TransitionGroup:{props:er,beforeMount:function(){var t=this,e=this._update;this._update=function(n,a){var i=Ge(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,a)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),a=this.prevChildren=this.children,i=this.$slots.default||[],r=this.children=[],s=Yi(this),o=0;o-1?Gn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Gn[t]=/HTMLUnknownElement/.test(e.toString())},T(wn.options.directives,Wi),T(wn.options.components,rr),wn.prototype.__patch__=H?Mi:$,wn.prototype.$mount=function(t,e){return function(t,e,n){var a;return t.$el=e,t.$options.render||(t.$options.render=vt),Je(t,"beforeMount"),a=function(){t._update(t._render(),n)},new un(t,a,$,{before:function(){t._isMounted&&!t._isDestroyed&&Je(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,Je(t,"mounted")),t}(this,t=t&&H?Yn(t):void 0,e)},H&&setTimeout((function(){I.devtools&&nt&&nt.emit("init",wn)}),0);var sr=/\{\{((?:.|\r?\n)+?)\}\}/g,or=/[-.*+?^${}()|[\]\/\\]/g,lr=_((function(t){var e=t[0].replace(or,"\\$&"),n=t[1].replace(or,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}));var cr={staticKeys:["staticClass"],transformNode:function(t,e){e.warn;var n=ja(t,"class");n&&(t.staticClass=JSON.stringify(n));var a=Oa(t,"class",!1);a&&(t.classBinding=a)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}};var ur,dr={staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;var n=ja(t,"style");n&&(t.staticStyle=JSON.stringify(ni(n)));var a=Oa(t,"style",!1);a&&(t.styleBinding=a)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}},pr=function(t){return(ur=ur||document.createElement("div")).innerHTML=t,ur.textContent},fr=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),vr=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),hr=p("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"),mr=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,gr=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,_r="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+M.source+"]*",yr="((?:"+_r+"\\:)?"+_r+")",br=new RegExp("^<"+yr),wr=/^\s*(\/?)>/,xr=new RegExp("^<\\/"+yr+"[^>]*>"),kr=/^]+>/i,Cr=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},Er=/&(?:lt|gt|quot|amp|#39);/g,Nr=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Dr=p("pre,textarea",!0),Lr=function(t,e){return t&&Dr(t)&&"\n"===e[0]};function Pr(t,e){var n=e?Nr:Er;return t.replace(n,(function(t){return $r[t]}))}var Or,jr,Ir,Mr,Rr,Fr,Br,qr,Ur=/^@|^v-on:/,Hr=/^v-|^@|^:|^#/,zr=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Vr=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Qr=/^\(|\)$/g,Wr=/^\[.*\]$/,Gr=/:(.*)$/,Kr=/^:|^\.|^v-bind:/,Yr=/\.[^.\]]+(?=[^\]]*$)/g,Jr=/^v-slot(:|$)|^#/,Xr=/[\r\n]/,Zr=/\s+/g,ts=_(pr);function es(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:ls(e),rawAttrsMap:{},parent:n,children:[]}}function ns(t,e){Or=e.warn||Ta,Fr=e.isPreTag||E,Br=e.mustUseProp||E,qr=e.getTagNamespace||E;e.isReservedTag;Ir=Sa(e.modules,"transformNode"),Mr=Sa(e.modules,"preTransformNode"),Rr=Sa(e.modules,"postTransformNode"),jr=e.delimiters;var n,a,i=[],r=!1!==e.preserveWhitespace,s=e.whitespace,o=!1,l=!1;function c(t){if(u(t),o||t.processed||(t=as(t,e)),i.length||t===n||n.if&&(t.elseif||t.else)&&rs(n,{exp:t.elseif,block:t}),a&&!t.forbidden)if(t.elseif||t.else)s=t,(c=function(t){for(var e=t.length;e--;){if(1===t[e].type)return t[e];t.pop()}}(a.children))&&c.if&&rs(c,{exp:s.elseif,block:s});else{if(t.slotScope){var r=t.slotTarget||'"default"';(a.scopedSlots||(a.scopedSlots={}))[r]=t}a.children.push(t),t.parent=a}var s,c;t.children=t.children.filter((function(t){return!t.slotScope})),u(t),t.pre&&(o=!1),Fr(t.tag)&&(l=!1);for(var d=0;d]*>)","i")),p=t.replace(d,(function(t,n,a){return c=a.length,Tr(u)||"noscript"===u||(n=n.replace(//g,"$1").replace(//g,"$1")),Lr(u,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""}));l+=t.length-p.length,t=p,T(u,l-c,l)}else{var f=t.indexOf("<");if(0===f){if(Cr.test(t)){var v=t.indexOf("--\x3e");if(v>=0){e.shouldKeepComment&&e.comment(t.substring(4,v),l,l+v+3),k(v+3);continue}}if(Ar.test(t)){var h=t.indexOf("]>");if(h>=0){k(h+2);continue}}var m=t.match(kr);if(m){k(m[0].length);continue}var g=t.match(xr);if(g){var _=l;k(g[0].length),T(g[1],_,l);continue}var y=C();if(y){A(y),Lr(y.tagName,t)&&k(1);continue}}var b=void 0,w=void 0,x=void 0;if(f>=0){for(w=t.slice(f);!(xr.test(w)||br.test(w)||Cr.test(w)||Ar.test(w)||(x=w.indexOf("<",1))<0);)f+=x,w=t.slice(f);b=t.substring(0,f)}f<0&&(b=t),b&&k(b.length),e.chars&&b&&e.chars(b,l-b.length,l)}if(t===n){e.chars&&e.chars(t);break}}function k(e){l+=e,t=t.substring(e)}function C(){var e=t.match(br);if(e){var n,a,i={tagName:e[1],attrs:[],start:l};for(k(e[0].length);!(n=t.match(wr))&&(a=t.match(gr)||t.match(mr));)a.start=l,k(a[0].length),a.end=l,i.attrs.push(a);if(n)return i.unarySlash=n[1],k(n[0].length),i.end=l,i}}function A(t){var n=t.tagName,l=t.unarySlash;r&&("p"===a&&hr(n)&&T(a),o(n)&&a===n&&T(n));for(var c=s(n)||!!l,u=t.attrs.length,d=new Array(u),p=0;p=0&&i[s].lowerCasedTag!==o;s--);else s=0;if(s>=0){for(var c=i.length-1;c>=s;c--)e.end&&e.end(i[c].tag,n,r);i.length=s,a=s&&i[s-1].tag}else"br"===o?e.start&&e.start(t,[],!0,n,r):"p"===o&&(e.start&&e.start(t,[],!1,n,r),e.end&&e.end(t,n,r))}T()}(t,{warn:Or,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,r,s,u,d){var p=a&&a.ns||qr(t);W&&"svg"===p&&(r=function(t){for(var e=[],n=0;nl&&(o.push(r=t.slice(l,i)),s.push(JSON.stringify(r)));var c=Ca(a[1].trim());s.push("_s("+c+")"),o.push({"@binding":c}),l=i+a[0].length}return l-1"+("true"===r?":("+e+")":":_q("+e+","+r+")")),Pa(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+r+"):("+s+");if(Array.isArray($$a)){var $$v="+(a?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Fa(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Fa(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Fa(e,"$$c")+"}",null,!0)}(t,a,i);else if("input"===r&&"radio"===s)!function(t,e,n){var a=n&&n.number,i=Oa(t,"value")||"null";$a(t,"checked","_q("+e+","+(i=a?"_n("+i+")":i)+")"),Pa(t,"change",Fa(e,i),null,!0)}(t,a,i);else if("input"===r||"textarea"===r)!function(t,e,n){var a=t.attrsMap.type,i=n||{},r=i.lazy,s=i.number,o=i.trim,l=!r&&"range"!==a,c=r?"change":"range"===a?"__r":"input",u="$event.target.value";o&&(u="$event.target.value.trim()");s&&(u="_n("+u+")");var d=Fa(e,u);l&&(d="if($event.target.composing)return;"+d);$a(t,"value","("+e+")"),Pa(t,c,d,null,!0),(o||s)&&Pa(t,"blur","$forceUpdate()")}(t,a,i);else if(!I.isReservedTag(r))return Ra(t,a,i),!1;return!0},text:function(t,e){e.value&&$a(t,"textContent","_s("+e.value+")",e)},html:function(t,e){e.value&&$a(t,"innerHTML","_s("+e.value+")",e)}},isPreTag:function(t){return"pre"===t},isUnaryTag:fr,mustUseProp:Dn,canBeLeftOpenTag:vr,isReservedTag:Qn,getTagNamespace:Wn,staticKeys:function(t){return t.reduce((function(t,e){return t.concat(e.staticKeys||[])}),[]).join(",")}(ps)},ms=_((function(t){return p("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}));function gs(t,e){t&&(fs=ms(e.staticKeys||""),vs=e.isReservedTag||E,function t(e){if(e.static=function(t){if(2===t.type)return!1;if(3===t.type)return!0;return!(!t.pre&&(t.hasBindings||t.if||t.for||f(t.tag)||!vs(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(fs)))}(e),1===e.type){if(!vs(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var n=0,a=e.children.length;n|^function(?:\s+[\w$]+)?\s*\(/,ys=/\([^)]*?\);*$/,bs=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,ws={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},xs={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"]},ks=function(t){return"if("+t+")return null;"},Cs={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:ks("$event.target !== $event.currentTarget"),ctrl:ks("!$event.ctrlKey"),shift:ks("!$event.shiftKey"),alt:ks("!$event.altKey"),meta:ks("!$event.metaKey"),left:ks("'button' in $event && $event.button !== 0"),middle:ks("'button' in $event && $event.button !== 1"),right:ks("'button' in $event && $event.button !== 2")};function As(t,e){var n=e?"nativeOn:":"on:",a="",i="";for(var r in t){var s=Ts(t[r]);t[r]&&t[r].dynamic?i+=r+","+s+",":a+='"'+r+'":'+s+","}return a="{"+a.slice(0,-1)+"}",i?n+"_d("+a+",["+i.slice(0,-1)+"])":n+a}function Ts(t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map((function(t){return Ts(t)})).join(",")+"]";var e=bs.test(t.value),n=_s.test(t.value),a=bs.test(t.value.replace(ys,""));if(t.modifiers){var i="",r="",s=[];for(var o in t.modifiers)if(Cs[o])r+=Cs[o],ws[o]&&s.push(o);else if("exact"===o){var l=t.modifiers;r+=ks(["ctrl","shift","alt","meta"].filter((function(t){return!l[t]})).map((function(t){return"$event."+t+"Key"})).join("||"))}else s.push(o);return s.length&&(i+=function(t){return"if(!$event.type.indexOf('key')&&"+t.map(Ss).join("&&")+")return null;"}(s)),r&&(i+=r),"function($event){"+i+(e?"return "+t.value+"($event)":n?"return ("+t.value+")($event)":a?"return "+t.value:t.value)+"}"}return e||n?t.value:"function($event){"+(a?"return "+t.value:t.value)+"}"}function Ss(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=ws[t],a=xs[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(a)+")"}var $s={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:$},Es=function(t){this.options=t,this.warn=t.warn||Ta,this.transforms=Sa(t.modules,"transformCode"),this.dataGenFns=Sa(t.modules,"genData"),this.directives=T(T({},$s),t.directives);var e=t.isReservedTag||E;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Ns(t,e){var n=new Es(e);return{render:"with(this){return "+(t?Ds(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Ds(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Ls(t,e);if(t.once&&!t.onceProcessed)return Ps(t,e);if(t.for&&!t.forProcessed)return js(t,e);if(t.if&&!t.ifProcessed)return Os(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',a=Fs(t,e),i="_t("+n+(a?","+a:""),r=t.attrs||t.dynamicAttrs?Us((t.attrs||[]).concat(t.dynamicAttrs||[]).map((function(t){return{name:b(t.name),value:t.value,dynamic:t.dynamic}}))):null,s=t.attrsMap["v-bind"];!r&&!s||a||(i+=",null");r&&(i+=","+r);s&&(i+=(r?"":",null")+","+s);return i+")"}(t,e);var n;if(t.component)n=function(t,e,n){var a=e.inlineTemplate?null:Fs(e,n,!0);return"_c("+t+","+Is(e,n)+(a?","+a:"")+")"}(t.component,t,e);else{var a;(!t.plain||t.pre&&e.maybeComponent(t))&&(a=Is(t,e));var i=t.inlineTemplate?null:Fs(t,e,!0);n="_c('"+t.tag+"'"+(a?","+a:"")+(i?","+i:"")+")"}for(var r=0;r>>0}(s):"")+")"}(t,t.scopedSlots,e)+","),t.model&&(n+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var r=function(t,e){var n=t.children[0];if(n&&1===n.type){var a=Ns(n,e.options);return"inlineTemplate:{render:function(){"+a.render+"},staticRenderFns:["+a.staticRenderFns.map((function(t){return"function(){"+t+"}"})).join(",")+"]}"}}(t,e);r&&(n+=r+",")}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b("+n+',"'+t.tag+'",'+Us(t.dynamicAttrs)+")"),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function Ms(t){return 1===t.type&&("slot"===t.tag||t.children.some(Ms))}function Rs(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return Os(t,e,Rs,"null");if(t.for&&!t.forProcessed)return js(t,e,Rs);var a="_empty_"===t.slotScope?"":String(t.slotScope),i="function("+a+"){return "+("template"===t.tag?t.if&&n?"("+t.if+")?"+(Fs(t,e)||"undefined")+":undefined":Fs(t,e)||"undefined":Ds(t,e))+"}",r=a?"":",proxy:true";return"{key:"+(t.slotTarget||'"default"')+",fn:"+i+r+"}"}function Fs(t,e,n,a,i){var r=t.children;if(r.length){var s=r[0];if(1===r.length&&s.for&&"template"!==s.tag&&"slot"!==s.tag){var o=n?e.maybeComponent(s)?",1":",0":"";return""+(a||Ds)(s,e)+o}var l=n?function(t,e){for(var n=0,a=0;a':'
',Ws.innerHTML.indexOf(" ")>0}var Ys=!!H&&Ks(!1),Js=!!H&&Ks(!0),Xs=_((function(t){var e=Yn(t);return e&&e.innerHTML})),Zs=wn.prototype.$mount;wn.prototype.$mount=function(t,e){if((t=t&&Yn(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var a=n.template;if(a)if("string"==typeof a)"#"===a.charAt(0)&&(a=Xs(a));else{if(!a.nodeType)return this;a=a.innerHTML}else t&&(a=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(a){var i=Gs(a,{outputSourceRange:!1,shouldDecodeNewlines:Ys,shouldDecodeNewlinesForHref:Js,delimiters:n.delimiters,comments:n.comments},this),r=i.render,s=i.staticRenderFns;n.render=r,n.staticRenderFns=s}}return Zs.call(this,t,e)},wn.compile=Gs;var to="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function eo(t,e){return t(e={exports:{}},e.exports),e.exports}var no=eo((function(t){ /*! * jQuery JavaScript Library v3.5.1 * https://jquery.com/ @@ -17,7 +17,7 @@ var t=Object.freeze({});function e(t){return null==t}function n(t){return null!= * * Date: 2020-05-04T22:49Z */ -!function(e,n){t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}}("undefined"!=typeof window?window:eo,(function(t,e){var n=[],a=Object.getPrototypeOf,i=n.slice,r=n.flat?function(t){return n.flat.call(t)}:function(t){return n.concat.apply([],t)},s=n.push,o=n.indexOf,l={},c=l.toString,u=l.hasOwnProperty,d=u.toString,p=d.call(Object),f={},v=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},h=function(t){return null!=t&&t===t.window},m=t.document,g={type:!0,src:!0,nonce:!0,noModule:!0};function _(t,e,n){var a,i,r=(n=n||m).createElement("script");if(r.text=t,e)for(a in g)(i=e[a]||e.getAttribute&&e.getAttribute(a))&&r.setAttribute(a,i);n.head.appendChild(r).parentNode.removeChild(r)}function y(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?l[c.call(t)]||"object":typeof t}var b=function(t,e){return new b.fn.init(t,e)};function w(t){var e=!!t&&"length"in t&&t.length,n=y(t);return!v(t)&&!h(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}b.fn=b.prototype={jquery:"3.5.1",constructor:b,length:0,toArray:function(){return i.call(this)},get:function(t){return null==t?i.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=b.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return b.each(this,t)},map:function(t){return this.pushStack(b.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return this.pushStack(i.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(b.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(b.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n0&&e-1 in t)}b.fn=b.prototype={jquery:"3.5.1",constructor:b,length:0,toArray:function(){return i.call(this)},get:function(t){return null==t?i.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=b.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return b.each(this,t)},map:function(t){return this.pushStack(b.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return this.pushStack(i.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(b.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(b.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n+~]|"+M+")"+M+"*"),V=new RegExp(M+"|>"),Q=new RegExp(B),W=new RegExp("^"+R+"$"),G={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+I+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,Y=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,X=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),nt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},at=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,it=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},rt=function(){p()},st=bt((function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{L.apply(N=O.call(w.childNodes),w.childNodes),N[w.childNodes.length].nodeType}catch(t){L={apply:N.length?function(t,e){P.apply(t,O.call(e))}:function(t,e){for(var n=t.length,a=0;t[n++]=e[a++];);t.length=n-1}}}function ot(t,e,a,i){var r,o,c,u,d,v,g,_=e&&e.ownerDocument,w=e?e.nodeType:9;if(a=a||[],"string"!=typeof t||!t||1!==w&&9!==w&&11!==w)return a;if(!i&&(p(e),e=e||f,h)){if(11!==w&&(d=Z.exec(t)))if(r=d[1]){if(9===w){if(!(c=e.getElementById(r)))return a;if(c.id===r)return a.push(c),a}else if(_&&(c=_.getElementById(r))&&y(e,c)&&c.id===r)return a.push(c),a}else{if(d[2])return L.apply(a,e.getElementsByTagName(t)),a;if((r=d[3])&&n.getElementsByClassName&&e.getElementsByClassName)return L.apply(a,e.getElementsByClassName(r)),a}if(n.qsa&&!S[t+" "]&&(!m||!m.test(t))&&(1!==w||"object"!==e.nodeName.toLowerCase())){if(g=t,_=e,1===w&&(V.test(t)||z.test(t))){for((_=tt.test(t)&>(e.parentNode)||e)===e&&n.scope||((u=e.getAttribute("id"))?u=u.replace(at,it):e.setAttribute("id",u=b)),o=(v=s(t)).length;o--;)v[o]=(u?"#"+u:":scope")+" "+yt(v[o]);g=v.join(",")}try{return L.apply(a,_.querySelectorAll(g)),a}catch(e){S(t,!0)}finally{u===b&&e.removeAttribute("id")}}}return l(t.replace(U,"$1"),e,a,i)}function lt(){var t=[];return function e(n,i){return t.push(n+" ")>a.cacheLength&&delete e[t.shift()],e[n+" "]=i}}function ct(t){return t[b]=!0,t}function ut(t){var e=f.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function dt(t,e){for(var n=t.split("|"),i=n.length;i--;)a.attrHandle[n[i]]=e}function pt(t,e){var n=e&&t,a=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(a)return a;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function ft(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function vt(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function ht(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&st(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function mt(t){return ct((function(e){return e=+e,ct((function(n,a){for(var i,r=t([],n.length,e),s=r.length;s--;)n[i=r[s]]&&(n[i]=!(a[i]=n[i]))}))}))}function gt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=ot.support={},r=ot.isXML=function(t){var e=t.namespaceURI,n=(t.ownerDocument||t).documentElement;return!K.test(e||n&&n.nodeName||"HTML")},p=ot.setDocument=function(t){var e,i,s=t?t.ownerDocument||t:w;return s!=f&&9===s.nodeType&&s.documentElement?(v=(f=s).documentElement,h=!r(f),w!=f&&(i=f.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",rt,!1):i.attachEvent&&i.attachEvent("onunload",rt)),n.scope=ut((function(t){return v.appendChild(t).appendChild(f.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length})),n.attributes=ut((function(t){return t.className="i",!t.getAttribute("className")})),n.getElementsByTagName=ut((function(t){return t.appendChild(f.createComment("")),!t.getElementsByTagName("*").length})),n.getElementsByClassName=X.test(f.getElementsByClassName),n.getById=ut((function(t){return v.appendChild(t).id=b,!f.getElementsByName||!f.getElementsByName(b).length})),n.getById?(a.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}},a.find.ID=function(t,e){if(void 0!==e.getElementById&&h){var n=e.getElementById(t);return n?[n]:[]}}):(a.filter.ID=function(t){var e=t.replace(et,nt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},a.find.ID=function(t,e){if(void 0!==e.getElementById&&h){var n,a,i,r=e.getElementById(t);if(r){if((n=r.getAttributeNode("id"))&&n.value===t)return[r];for(i=e.getElementsByName(t),a=0;r=i[a++];)if((n=r.getAttributeNode("id"))&&n.value===t)return[r]}return[]}}),a.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,a=[],i=0,r=e.getElementsByTagName(t);if("*"===t){for(;n=r[i++];)1===n.nodeType&&a.push(n);return a}return r},a.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&h)return e.getElementsByClassName(t)},g=[],m=[],(n.qsa=X.test(f.querySelectorAll))&&(ut((function(t){var e;v.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+M+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||m.push("\\["+M+"*(?:value|"+I+")"),t.querySelectorAll("[id~="+b+"-]").length||m.push("~="),(e=f.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||m.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||m.push(":checked"),t.querySelectorAll("a#"+b+"+*").length||m.push(".#.+[+~]"),t.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")})),ut((function(t){t.innerHTML="";var e=f.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&m.push("name"+M+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),v.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),m.push(",.*:")}))),(n.matchesSelector=X.test(_=v.matches||v.webkitMatchesSelector||v.mozMatchesSelector||v.oMatchesSelector||v.msMatchesSelector))&&ut((function(t){n.disconnectedMatch=_.call(t,"*"),_.call(t,"[s!='']:x"),g.push("!=",B)})),m=m.length&&new RegExp(m.join("|")),g=g.length&&new RegExp(g.join("|")),e=X.test(v.compareDocumentPosition),y=e||X.test(v.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,a=e&&e.parentNode;return t===a||!(!a||1!==a.nodeType||!(n.contains?n.contains(a):t.compareDocumentPosition&&16&t.compareDocumentPosition(a)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},$=e?function(t,e){if(t===e)return d=!0,0;var a=!t.compareDocumentPosition-!e.compareDocumentPosition;return a||(1&(a=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===a?t==f||t.ownerDocument==w&&y(w,t)?-1:e==f||e.ownerDocument==w&&y(w,e)?1:u?j(u,t)-j(u,e):0:4&a?-1:1)}:function(t,e){if(t===e)return d=!0,0;var n,a=0,i=t.parentNode,r=e.parentNode,s=[t],o=[e];if(!i||!r)return t==f?-1:e==f?1:i?-1:r?1:u?j(u,t)-j(u,e):0;if(i===r)return pt(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)o.unshift(n);for(;s[a]===o[a];)a++;return a?pt(s[a],o[a]):s[a]==w?-1:o[a]==w?1:0},f):f},ot.matches=function(t,e){return ot(t,null,null,e)},ot.matchesSelector=function(t,e){if(p(t),n.matchesSelector&&h&&!S[e+" "]&&(!g||!g.test(e))&&(!m||!m.test(e)))try{var a=_.call(t,e);if(a||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return a}catch(t){S(e,!0)}return ot(e,f,null,[t]).length>0},ot.contains=function(t,e){return(t.ownerDocument||t)!=f&&p(t),y(t,e)},ot.attr=function(t,e){(t.ownerDocument||t)!=f&&p(t);var i=a.attrHandle[e.toLowerCase()],r=i&&E.call(a.attrHandle,e.toLowerCase())?i(t,e,!h):void 0;return void 0!==r?r:n.attributes||!h?t.getAttribute(e):(r=t.getAttributeNode(e))&&r.specified?r.value:null},ot.escape=function(t){return(t+"").replace(at,it)},ot.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},ot.uniqueSort=function(t){var e,a=[],i=0,r=0;if(d=!n.detectDuplicates,u=!n.sortStable&&t.slice(0),t.sort($),d){for(;e=t[r++];)e===t[r]&&(i=a.push(r));for(;i--;)t.splice(a[i],1)}return u=null,t},i=ot.getText=function(t){var e,n="",a=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=i(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[a++];)n+=i(e);return n},(a=ot.selectors={cacheLength:50,createPseudo:ct,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,nt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,nt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||ot.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&ot.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return G.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&Q.test(n)&&(e=s(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=C[t+" "];return e||(e=new RegExp("(^|"+M+")"+t+"("+M+"|$)"))&&C(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,n){return function(a){var i=ot.attr(a,t);return null==i?"!="===e:!e||(i+="","="===e?i===n:"!="===e?i!==n:"^="===e?n&&0===i.indexOf(n):"*="===e?n&&i.indexOf(n)>-1:"$="===e?n&&i.slice(-n.length)===n:"~="===e?(" "+i.replace(q," ")+" ").indexOf(n)>-1:"|="===e&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,a,i){var r="nth"!==t.slice(0,3),s="last"!==t.slice(-4),o="of-type"===e;return 1===a&&0===i?function(t){return!!t.parentNode}:function(e,n,l){var c,u,d,p,f,v,h=r!==s?"nextSibling":"previousSibling",m=e.parentNode,g=o&&e.nodeName.toLowerCase(),_=!l&&!o,y=!1;if(m){if(r){for(;h;){for(p=e;p=p[h];)if(o?p.nodeName.toLowerCase()===g:1===p.nodeType)return!1;v=h="only"===t&&!v&&"nextSibling"}return!0}if(v=[s?m.firstChild:m.lastChild],s&&_){for(y=(f=(c=(u=(d=(p=m)[b]||(p[b]={}))[p.uniqueID]||(d[p.uniqueID]={}))[t]||[])[0]===x&&c[1])&&c[2],p=f&&m.childNodes[f];p=++f&&p&&p[h]||(y=f=0)||v.pop();)if(1===p.nodeType&&++y&&p===e){u[t]=[x,f,y];break}}else if(_&&(y=f=(c=(u=(d=(p=e)[b]||(p[b]={}))[p.uniqueID]||(d[p.uniqueID]={}))[t]||[])[0]===x&&c[1]),!1===y)for(;(p=++f&&p&&p[h]||(y=f=0)||v.pop())&&((o?p.nodeName.toLowerCase()!==g:1!==p.nodeType)||!++y||(_&&((u=(d=p[b]||(p[b]={}))[p.uniqueID]||(d[p.uniqueID]={}))[t]=[x,y]),p!==e)););return(y-=i)===a||y%a==0&&y/a>=0}}},PSEUDO:function(t,e){var n,i=a.pseudos[t]||a.setFilters[t.toLowerCase()]||ot.error("unsupported pseudo: "+t);return i[b]?i(e):i.length>1?(n=[t,t,"",e],a.setFilters.hasOwnProperty(t.toLowerCase())?ct((function(t,n){for(var a,r=i(t,e),s=r.length;s--;)t[a=j(t,r[s])]=!(n[a]=r[s])})):function(t){return i(t,0,n)}):i}},pseudos:{not:ct((function(t){var e=[],n=[],a=o(t.replace(U,"$1"));return a[b]?ct((function(t,e,n,i){for(var r,s=a(t,null,i,[]),o=t.length;o--;)(r=s[o])&&(t[o]=!(e[o]=r))})):function(t,i,r){return e[0]=t,a(e,null,r,n),e[0]=null,!n.pop()}})),has:ct((function(t){return function(e){return ot(t,e).length>0}})),contains:ct((function(t){return t=t.replace(et,nt),function(e){return(e.textContent||i(e)).indexOf(t)>-1}})),lang:ct((function(t){return W.test(t||"")||ot.error("unsupported lang: "+t),t=t.replace(et,nt).toLowerCase(),function(e){var n;do{if(n=h?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===v},focus:function(t){return t===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:ht(!1),disabled:ht(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!a.pseudos.empty(t)},header:function(t){return J.test(t.nodeName)},input:function(t){return Y.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:mt((function(){return[0]})),last:mt((function(t,e){return[e-1]})),eq:mt((function(t,e,n){return[n<0?n+e:n]})),even:mt((function(t,e){for(var n=0;ne?e:n;--a>=0;)t.push(a);return t})),gt:mt((function(t,e,n){for(var a=n<0?n+e:n;++a1?function(e,n,a){for(var i=t.length;i--;)if(!t[i](e,n,a))return!1;return!0}:t[0]}function xt(t,e,n,a,i){for(var r,s=[],o=0,l=t.length,c=null!=e;o-1&&(r[c]=!(s[c]=d))}}else g=xt(g===s?g.splice(v,g.length):g),i?i(null,s,g,l):L.apply(s,g)}))}function Ct(t){for(var e,n,i,r=t.length,s=a.relative[t[0].type],o=s||a.relative[" "],l=s?1:0,u=bt((function(t){return t===e}),o,!0),d=bt((function(t){return j(e,t)>-1}),o,!0),p=[function(t,n,a){var i=!s&&(a||n!==c)||((e=n).nodeType?u(t,n,a):d(t,n,a));return e=null,i}];l1&&wt(p),l>1&&yt(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(U,"$1"),n,l0,i=t.length>0,r=function(r,s,o,l,u){var d,v,m,g=0,_="0",y=r&&[],b=[],w=c,k=r||i&&a.find.TAG("*",u),C=x+=null==w?1:Math.random()||.1,A=k.length;for(u&&(c=s==f||s||u);_!==A&&null!=(d=k[_]);_++){if(i&&d){for(v=0,s||d.ownerDocument==f||(p(d),o=!h);m=t[v++];)if(m(d,s||f,o)){l.push(d);break}u&&(x=C)}n&&((d=!m&&d)&&g--,r&&y.push(d))}if(g+=_,n&&_!==g){for(v=0;m=e[v++];)m(y,b,s,o);if(r){if(g>0)for(;_--;)y[_]||b[_]||(b[_]=D.call(l));b=xt(b)}L.apply(l,b),u&&!r&&b.length>0&&g+e.length>1&&ot.uniqueSort(l)}return u&&(x=C,c=w),y};return n?ct(r):r}(r,i))).selector=t}return o},l=ot.select=function(t,e,n,i){var r,l,c,u,d,p="function"==typeof t&&t,f=!i&&s(t=p.selector||t);if(n=n||[],1===f.length){if((l=f[0]=f[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===e.nodeType&&h&&a.relative[l[1].type]){if(!(e=(a.find.ID(c.matches[0].replace(et,nt),e)||[])[0]))return n;p&&(e=e.parentNode),t=t.slice(l.shift().value.length)}for(r=G.needsContext.test(t)?0:l.length;r--&&(c=l[r],!a.relative[u=c.type]);)if((d=a.find[u])&&(i=d(c.matches[0].replace(et,nt),tt.test(l[0].type)&>(e.parentNode)||e))){if(l.splice(r,1),!(t=i.length&&yt(l)))return L.apply(n,i),n;break}}return(p||o(t,f))(i,e,!h,n,!e||tt.test(t)&>(e.parentNode)||e),n},n.sortStable=b.split("").sort($).join("")===b,n.detectDuplicates=!!d,p(),n.sortDetached=ut((function(t){return 1&t.compareDocumentPosition(f.createElement("fieldset"))})),ut((function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")}))||dt("type|href|height|width",(function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)})),n.attributes&&ut((function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}))||dt("value",(function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue})),ut((function(t){return null==t.getAttribute("disabled")}))||dt(I,(function(t,e,n){var a;if(!n)return!0===t[e]?e.toLowerCase():(a=t.getAttributeNode(e))&&a.specified?a.value:null})),ot}(t);b.find=x,b.expr=x.selectors,b.expr[":"]=b.expr.pseudos,b.uniqueSort=b.unique=x.uniqueSort,b.text=x.getText,b.isXMLDoc=x.isXML,b.contains=x.contains,b.escapeSelector=x.escape;var k=function(t,e,n){for(var a=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&b(t).is(n))break;a.push(t)}return a},C=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},A=b.expr.match.needsContext;function T(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var S=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function $(t,e,n){return v(e)?b.grep(t,(function(t,a){return!!e.call(t,a,t)!==n})):e.nodeType?b.grep(t,(function(t){return t===e!==n})):"string"!=typeof e?b.grep(t,(function(t){return o.call(e,t)>-1!==n})):b.filter(e,t,n)}b.filter=function(t,e,n){var a=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===a.nodeType?b.find.matchesSelector(a,t)?[a]:[]:b.find.matches(t,b.grep(e,(function(t){return 1===t.nodeType})))},b.fn.extend({find:function(t){var e,n,a=this.length,i=this;if("string"!=typeof t)return this.pushStack(b(t).filter((function(){for(e=0;e1?b.uniqueSort(n):n},filter:function(t){return this.pushStack($(this,t||[],!1))},not:function(t){return this.pushStack($(this,t||[],!0))},is:function(t){return!!$(this,"string"==typeof t&&A.test(t)?b(t):t||[],!1).length}});var E,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(b.fn.init=function(t,e,n){var a,i;if(!t)return this;if(n=n||E,"string"==typeof t){if(!(a="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:N.exec(t))||!a[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(a[1]){if(e=e instanceof b?e[0]:e,b.merge(this,b.parseHTML(a[1],e&&e.nodeType?e.ownerDocument||e:m,!0)),S.test(a[1])&&b.isPlainObject(e))for(a in e)v(this[a])?this[a](e[a]):this.attr(a,e[a]);return this}return(i=m.getElementById(a[2]))&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):v(t)?void 0!==n.ready?n.ready(t):t(b):b.makeArray(t,this)}).prototype=b.fn,E=b(m);var D=/^(?:parents|prev(?:Until|All))/,P={children:!0,contents:!0,next:!0,prev:!0};function L(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}b.fn.extend({has:function(t){var e=b(t,this),n=e.length;return this.filter((function(){for(var t=0;t-1:1===n.nodeType&&b.find.matchesSelector(n,t))){r.push(n);break}return this.pushStack(r.length>1?b.uniqueSort(r):r)},index:function(t){return t?"string"==typeof t?o.call(b(t),this[0]):o.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(b.uniqueSort(b.merge(this.get(),b(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),b.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return k(t,"parentNode")},parentsUntil:function(t,e,n){return k(t,"parentNode",n)},next:function(t){return L(t,"nextSibling")},prev:function(t){return L(t,"previousSibling")},nextAll:function(t){return k(t,"nextSibling")},prevAll:function(t){return k(t,"previousSibling")},nextUntil:function(t,e,n){return k(t,"nextSibling",n)},prevUntil:function(t,e,n){return k(t,"previousSibling",n)},siblings:function(t){return C((t.parentNode||{}).firstChild,t)},children:function(t){return C(t.firstChild)},contents:function(t){return null!=t.contentDocument&&a(t.contentDocument)?t.contentDocument:(T(t,"template")&&(t=t.content||t),b.merge([],t.childNodes))}},(function(t,e){b.fn[t]=function(n,a){var i=b.map(this,e,n);return"Until"!==t.slice(-5)&&(a=n),a&&"string"==typeof a&&(i=b.filter(a,i)),this.length>1&&(P[t]||b.uniqueSort(i),D.test(t)&&i.reverse()),this.pushStack(i)}}));var O=/[^\x20\t\r\n\f]+/g;function j(t){return t}function I(t){throw t}function M(t,e,n,a){var i;try{t&&v(i=t.promise)?i.call(t).done(e).fail(n):t&&v(i=t.then)?i.call(t,e,n):e.apply(void 0,[t].slice(a))}catch(t){n.apply(void 0,[t])}}b.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return b.each(t.match(O)||[],(function(t,n){e[n]=!0})),e}(t):b.extend({},t);var e,n,a,i,r=[],s=[],o=-1,l=function(){for(i=i||t.once,a=e=!0;s.length;o=-1)for(n=s.shift();++o-1;)r.splice(n,1),n<=o&&o--})),this},has:function(t){return t?b.inArray(t,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return i=s=[],r=n="",this},disabled:function(){return!r},lock:function(){return i=s=[],n||e||(r=n=""),this},locked:function(){return!!i},fireWith:function(t,n){return i||(n=[t,(n=n||[]).slice?n.slice():n],s.push(n),e||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!a}};return c},b.extend({Deferred:function(e){var n=[["notify","progress",b.Callbacks("memory"),b.Callbacks("memory"),2],["resolve","done",b.Callbacks("once memory"),b.Callbacks("once memory"),0,"resolved"],["reject","fail",b.Callbacks("once memory"),b.Callbacks("once memory"),1,"rejected"]],a="pending",i={state:function(){return a},always:function(){return r.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return b.Deferred((function(e){b.each(n,(function(n,a){var i=v(t[a[4]])&&t[a[4]];r[a[1]]((function(){var t=i&&i.apply(this,arguments);t&&v(t.promise)?t.promise().progress(e.notify).done(e.resolve).fail(e.reject):e[a[0]+"With"](this,i?[t]:arguments)}))})),t=null})).promise()},then:function(e,a,i){var r=0;function s(e,n,a,i){return function(){var o=this,l=arguments,c=function(){var t,c;if(!(e=r&&(a!==I&&(o=void 0,l=[t]),n.rejectWith(o,l))}};e?u():(b.Deferred.getStackHook&&(u.stackTrace=b.Deferred.getStackHook()),t.setTimeout(u))}}return b.Deferred((function(t){n[0][3].add(s(0,t,v(i)?i:j,t.notifyWith)),n[1][3].add(s(0,t,v(e)?e:j)),n[2][3].add(s(0,t,v(a)?a:I))})).promise()},promise:function(t){return null!=t?b.extend(t,i):i}},r={};return b.each(n,(function(t,e){var s=e[2],o=e[5];i[e[1]]=s.add,o&&s.add((function(){a=o}),n[3-t][2].disable,n[3-t][3].disable,n[0][2].lock,n[0][3].lock),s.add(e[3].fire),r[e[0]]=function(){return r[e[0]+"With"](this===r?void 0:this,arguments),this},r[e[0]+"With"]=s.fireWith})),i.promise(r),e&&e.call(r,r),r},when:function(t){var e=arguments.length,n=e,a=Array(n),r=i.call(arguments),s=b.Deferred(),o=function(t){return function(n){a[t]=this,r[t]=arguments.length>1?i.call(arguments):n,--e||s.resolveWith(a,r)}};if(e<=1&&(M(t,s.done(o(n)).resolve,s.reject,!e),"pending"===s.state()||v(r[n]&&r[n].then)))return s.then();for(;n--;)M(r[n],o(n),s.reject);return s.promise()}});var R=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;b.Deferred.exceptionHook=function(e,n){t.console&&t.console.warn&&e&&R.test(e.name)&&t.console.warn("jQuery.Deferred exception: "+e.message,e.stack,n)},b.readyException=function(e){t.setTimeout((function(){throw e}))};var F=b.Deferred();function B(){m.removeEventListener("DOMContentLoaded",B),t.removeEventListener("load",B),b.ready()}b.fn.ready=function(t){return F.then(t).catch((function(t){b.readyException(t)})),this},b.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--b.readyWait:b.isReady)||(b.isReady=!0,!0!==t&&--b.readyWait>0||F.resolveWith(m,[b]))}}),b.ready.then=F.then,"complete"===m.readyState||"loading"!==m.readyState&&!m.documentElement.doScroll?t.setTimeout(b.ready):(m.addEventListener("DOMContentLoaded",B),t.addEventListener("load",B));var q=function(t,e,n,a,i,r,s){var o=0,l=t.length,c=null==n;if("object"===y(n))for(o in i=!0,n)q(t,e,o,n[o],!0,r,s);else if(void 0!==a&&(i=!0,v(a)||(s=!0),c&&(s?(e.call(t,a),e=null):(c=e,e=function(t,e,n){return c.call(b(t),n)})),e))for(;o1,null,!0)},removeData:function(t){return this.each((function(){K.remove(this,t)}))}}),b.extend({queue:function(t,e,n){var a;if(t)return e=(e||"fx")+"queue",a=G.get(t,e),n&&(!a||Array.isArray(n)?a=G.access(t,e,b.makeArray(n)):a.push(n)),a||[]},dequeue:function(t,e){e=e||"fx";var n=b.queue(t,e),a=n.length,i=n.shift(),r=b._queueHooks(t,e);"inprogress"===i&&(i=n.shift(),a--),i&&("fx"===e&&n.unshift("inprogress"),delete r.stop,i.call(t,(function(){b.dequeue(t,e)}),r)),!a&&r&&r.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return G.get(t,n)||G.access(t,n,{empty:b.Callbacks("once memory").add((function(){G.remove(t,[e+"queue",n])}))})}}),b.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length\x20\t\r\n\f]*)/i,pt=/^$|^module$|\/(?:java|ecma)script/i;!function(){var t=m.createDocumentFragment().appendChild(m.createElement("div")),e=m.createElement("input");e.setAttribute("type","radio"),e.setAttribute("checked","checked"),e.setAttribute("name","t"),t.appendChild(e),f.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="",f.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,t.innerHTML="",f.option=!!t.lastChild}();var ft={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function vt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&T(t,e)?b.merge([t],n):n}function ht(t,e){for(var n=0,a=t.length;n",""]);var mt=/<|&#?\w+;/;function gt(t,e,n,a,i){for(var r,s,o,l,c,u,d=e.createDocumentFragment(),p=[],f=0,v=t.length;f-1)i&&i.push(r);else if(c=at(r),s=vt(d.appendChild(r),"script"),c&&ht(s),n)for(u=0;r=s[u++];)pt.test(r.type||"")&&n.push(r);return d}var _t=/^key/,yt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,bt=/^([^.]*)(?:\.(.+)|)/;function wt(){return!0}function xt(){return!1}function kt(t,e){return t===function(){try{return m.activeElement}catch(t){}}()==("focus"===e)}function Ct(t,e,n,a,i,r){var s,o;if("object"==typeof e){for(o in"string"!=typeof n&&(a=a||n,n=void 0),e)Ct(t,o,n,a,e[o],r);return t}if(null==a&&null==i?(i=n,a=n=void 0):null==i&&("string"==typeof n?(i=a,a=void 0):(i=a,a=n,n=void 0)),!1===i)i=xt;else if(!i)return t;return 1===r&&(s=i,(i=function(t){return b().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=b.guid++)),t.each((function(){b.event.add(this,e,i,a,n)}))}function At(t,e,n){n?(G.set(t,e,!1),b.event.add(t,e,{namespace:!1,handler:function(t){var a,r,s=G.get(this,e);if(1&t.isTrigger&&this[e]){if(s.length)(b.event.special[e]||{}).delegateType&&t.stopPropagation();else if(s=i.call(arguments),G.set(this,e,s),a=n(this,e),this[e](),s!==(r=G.get(this,e))||a?G.set(this,e,!1):r={},s!==r)return t.stopImmediatePropagation(),t.preventDefault(),r.value}else s.length&&(G.set(this,e,{value:b.event.trigger(b.extend(s[0],b.Event.prototype),s.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===G.get(t,e)&&b.event.add(t,e,wt)}b.event={global:{},add:function(t,e,n,a,i){var r,s,o,l,c,u,d,p,f,v,h,m=G.get(t);if(Q(t))for(n.handler&&(n=(r=n).handler,i=r.selector),i&&b.find.matchesSelector(nt,i),n.guid||(n.guid=b.guid++),(l=m.events)||(l=m.events=Object.create(null)),(s=m.handle)||(s=m.handle=function(e){return void 0!==b&&b.event.triggered!==e.type?b.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(O)||[""]).length;c--;)f=h=(o=bt.exec(e[c])||[])[1],v=(o[2]||"").split(".").sort(),f&&(d=b.event.special[f]||{},f=(i?d.delegateType:d.bindType)||f,d=b.event.special[f]||{},u=b.extend({type:f,origType:h,data:a,handler:n,guid:n.guid,selector:i,needsContext:i&&b.expr.match.needsContext.test(i),namespace:v.join(".")},r),(p=l[f])||((p=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,a,v,s)||t.addEventListener&&t.addEventListener(f,s)),d.add&&(d.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,u):p.push(u),b.event.global[f]=!0)},remove:function(t,e,n,a,i){var r,s,o,l,c,u,d,p,f,v,h,m=G.hasData(t)&&G.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match(O)||[""]).length;c--;)if(f=h=(o=bt.exec(e[c])||[])[1],v=(o[2]||"").split(".").sort(),f){for(d=b.event.special[f]||{},p=l[f=(a?d.delegateType:d.bindType)||f]||[],o=o[2]&&new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=p.length;r--;)u=p[r],!i&&h!==u.origType||n&&n.guid!==u.guid||o&&!o.test(u.namespace)||a&&a!==u.selector&&("**"!==a||!u.selector)||(p.splice(r,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(t,u));s&&!p.length&&(d.teardown&&!1!==d.teardown.call(t,v,m.handle)||b.removeEvent(t,f,m.handle),delete l[f])}else for(f in l)b.event.remove(t,f+e[c],n,a,!0);b.isEmptyObject(l)&&G.remove(t,"handle events")}},dispatch:function(t){var e,n,a,i,r,s,o=new Array(arguments.length),l=b.event.fix(t),c=(G.get(this,"events")||Object.create(null))[l.type]||[],u=b.event.special[l.type]||{};for(o[0]=l,e=1;e=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(r=[],s={},n=0;n-1:b.find(i,this,null,[c]).length),s[i]&&r.push(a);r.length&&o.push({elem:c,handlers:r})}return c=this,l\s*$/g;function Et(t,e){return T(t,"table")&&T(11!==e.nodeType?e:e.firstChild,"tr")&&b(t).children("tbody")[0]||t}function Nt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Dt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Pt(t,e){var n,a,i,r,s,o;if(1===e.nodeType){if(G.hasData(t)&&(o=G.get(t).events))for(i in G.remove(e,"handle events"),o)for(n=0,a=o[i].length;n1&&"string"==typeof m&&!f.checkClone&&St.test(m))return t.each((function(i){var r=t.eq(i);g&&(e[0]=m.call(this,i,r.html())),Ot(r,e,n,a)}));if(p&&(s=(i=gt(e,t[0].ownerDocument,!1,t,a)).firstChild,1===i.childNodes.length&&(i=s),s||a)){for(l=(o=b.map(vt(i,"script"),Nt)).length;d0&&ht(s,!l&&vt(t,"script")),o},cleanData:function(t){for(var e,n,a,i=b.event.special,r=0;void 0!==(n=t[r]);r++)if(Q(n)){if(e=n[G.expando]){if(e.events)for(a in e.events)i[a]?b.event.remove(n,a):b.removeEvent(n,a,e.handle);n[G.expando]=void 0}n[K.expando]&&(n[K.expando]=void 0)}}}),b.fn.extend({detach:function(t){return jt(this,t,!0)},remove:function(t){return jt(this,t)},text:function(t){return q(this,(function(t){return void 0===t?b.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return Ot(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Et(this,t).appendChild(t)}))},prepend:function(){return Ot(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Et(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Ot(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return Ot(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(b.cleanData(vt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return b.clone(this,t,e)}))},html:function(t){return q(this,(function(t){var e=this[0]||{},n=0,a=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Tt.test(t)&&!ft[(dt.exec(t)||["",""])[1].toLowerCase()]){t=b.htmlPrefilter(t);try{for(;n3,nt.removeChild(e)),o}}))}();var Ut=["Webkit","Moz","ms"],Ht=m.createElement("div").style,zt={};function Vt(t){var e=b.cssProps[t]||zt[t];return e||(t in Ht?t:zt[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=Ut.length;n--;)if((t=Ut[n]+e)in Ht)return t}(t)||t)}var Qt=/^(none|table(?!-c[ea]).+)/,Wt=/^--/,Gt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:"0",fontWeight:"400"};function Yt(t,e,n){var a=tt.exec(e);return a?Math.max(0,a[2]-(n||0))+(a[3]||"px"):e}function Jt(t,e,n,a,i,r){var s="width"===e?1:0,o=0,l=0;if(n===(a?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(l+=b.css(t,n+et[s],!0,i)),a?("content"===n&&(l-=b.css(t,"padding"+et[s],!0,i)),"margin"!==n&&(l-=b.css(t,"border"+et[s]+"Width",!0,i))):(l+=b.css(t,"padding"+et[s],!0,i),"padding"!==n?l+=b.css(t,"border"+et[s]+"Width",!0,i):o+=b.css(t,"border"+et[s]+"Width",!0,i));return!a&&r>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-r-l-o-.5))||0),l}function Xt(t,e,n){var a=Mt(t),i=(!f.boxSizingReliable()||n)&&"border-box"===b.css(t,"boxSizing",!1,a),r=i,s=Bt(t,e,a),o="offset"+e[0].toUpperCase()+e.slice(1);if(It.test(s)){if(!n)return s;s="auto"}return(!f.boxSizingReliable()&&i||!f.reliableTrDimensions()&&T(t,"tr")||"auto"===s||!parseFloat(s)&&"inline"===b.css(t,"display",!1,a))&&t.getClientRects().length&&(i="border-box"===b.css(t,"boxSizing",!1,a),(r=o in t)&&(s=t[o])),(s=parseFloat(s)||0)+Jt(t,e,n||(i?"border":"content"),r,a,s)+"px"}function Zt(t,e,n,a,i){return new Zt.prototype.init(t,e,n,a,i)}b.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Bt(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,a){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,r,s,o=V(e),l=Wt.test(e),c=t.style;if(l||(e=Vt(o)),s=b.cssHooks[e]||b.cssHooks[o],void 0===n)return s&&"get"in s&&void 0!==(i=s.get(t,!1,a))?i:c[e];"string"===(r=typeof n)&&(i=tt.exec(n))&&i[1]&&(n=st(t,e,i),r="number"),null!=n&&n==n&&("number"!==r||l||(n+=i&&i[3]||(b.cssNumber[o]?"":"px")),f.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,a))||(l?c.setProperty(e,n):c[e]=n))}},css:function(t,e,n,a){var i,r,s,o=V(e);return Wt.test(e)||(e=Vt(o)),(s=b.cssHooks[e]||b.cssHooks[o])&&"get"in s&&(i=s.get(t,!0,n)),void 0===i&&(i=Bt(t,e,a)),"normal"===i&&e in Kt&&(i=Kt[e]),""===n||n?(r=parseFloat(i),!0===n||isFinite(r)?r||0:i):i}}),b.each(["height","width"],(function(t,e){b.cssHooks[e]={get:function(t,n,a){if(n)return!Qt.test(b.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?Xt(t,e,a):Rt(t,Gt,(function(){return Xt(t,e,a)}))},set:function(t,n,a){var i,r=Mt(t),s=!f.scrollboxSize()&&"absolute"===r.position,o=(s||a)&&"border-box"===b.css(t,"boxSizing",!1,r),l=a?Jt(t,e,a,o,r):0;return o&&s&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(r[e])-Jt(t,e,"border",!1,r)-.5)),l&&(i=tt.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=b.css(t,e)),Yt(0,n,l)}}})),b.cssHooks.marginLeft=qt(f.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Bt(t,"marginLeft"))||t.getBoundingClientRect().left-Rt(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),b.each({margin:"",padding:"",border:"Width"},(function(t,e){b.cssHooks[t+e]={expand:function(n){for(var a=0,i={},r="string"==typeof n?n.split(" "):[n];a<4;a++)i[t+et[a]+e]=r[a]||r[a-2]||r[0];return i}},"margin"!==t&&(b.cssHooks[t+e].set=Yt)})),b.fn.extend({css:function(t,e){return q(this,(function(t,e,n){var a,i,r={},s=0;if(Array.isArray(e)){for(a=Mt(t),i=e.length;s1)}}),b.Tween=Zt,Zt.prototype={constructor:Zt,init:function(t,e,n,a,i,r){this.elem=t,this.prop=n,this.easing=i||b.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=a,this.unit=r||(b.cssNumber[n]?"":"px")},cur:function(){var t=Zt.propHooks[this.prop];return t&&t.get?t.get(this):Zt.propHooks._default.get(this)},run:function(t){var e,n=Zt.propHooks[this.prop];return this.options.duration?this.pos=e=b.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Zt.propHooks._default.set(this),this}},Zt.prototype.init.prototype=Zt.prototype,Zt.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=b.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){b.fx.step[t.prop]?b.fx.step[t.prop](t):1!==t.elem.nodeType||!b.cssHooks[t.prop]&&null==t.elem.style[Vt(t.prop)]?t.elem[t.prop]=t.now:b.style(t.elem,t.prop,t.now+t.unit)}}},Zt.propHooks.scrollTop=Zt.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},b.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},b.fx=Zt.prototype.init,b.fx.step={};var te,ee,ne,ae,ie=/^(?:toggle|show|hide)$/,re=/queueHooks$/;function se(){ee&&(!1===m.hidden&&t.requestAnimationFrame?t.requestAnimationFrame(se):t.setTimeout(se,b.fx.interval),b.fx.tick())}function oe(){return t.setTimeout((function(){te=void 0})),te=Date.now()}function le(t,e){var n,a=0,i={height:t};for(e=e?1:0;a<4;a+=2-e)i["margin"+(n=et[a])]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function ce(t,e,n){for(var a,i=(ue.tweeners[e]||[]).concat(ue.tweeners["*"]),r=0,s=i.length;r1)},removeAttr:function(t){return this.each((function(){b.removeAttr(this,t)}))}}),b.extend({attr:function(t,e,n){var a,i,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===t.getAttribute?b.prop(t,e,n):(1===r&&b.isXMLDoc(t)||(i=b.attrHooks[e.toLowerCase()]||(b.expr.match.bool.test(e)?de:void 0)),void 0!==n?null===n?void b.removeAttr(t,e):i&&"set"in i&&void 0!==(a=i.set(t,n,e))?a:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(a=i.get(t,e))?a:null==(a=b.find.attr(t,e))?void 0:a)},attrHooks:{type:{set:function(t,e){if(!f.radioValue&&"radio"===e&&T(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,a=0,i=e&&e.match(O);if(i&&1===t.nodeType)for(;n=i[a++];)t.removeAttribute(n)}}),de={set:function(t,e,n){return!1===e?b.removeAttr(t,n):t.setAttribute(n,n),n}},b.each(b.expr.match.bool.source.match(/\w+/g),(function(t,e){var n=pe[e]||b.find.attr;pe[e]=function(t,e,a){var i,r,s=e.toLowerCase();return a||(r=pe[s],pe[s]=i,i=null!=n(t,e,a)?s:null,pe[s]=r),i}}));var fe=/^(?:input|select|textarea|button)$/i,ve=/^(?:a|area)$/i;function he(t){return(t.match(O)||[]).join(" ")}function me(t){return t.getAttribute&&t.getAttribute("class")||""}function ge(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(O)||[]}b.fn.extend({prop:function(t,e){return q(this,b.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[b.propFix[t]||t]}))}}),b.extend({prop:function(t,e,n){var a,i,r=t.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&b.isXMLDoc(t)||(e=b.propFix[e]||e,i=b.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(a=i.set(t,n,e))?a:t[e]=n:i&&"get"in i&&null!==(a=i.get(t,e))?a:t[e]},propHooks:{tabIndex:{get:function(t){var e=b.find.attr(t,"tabindex");return e?parseInt(e,10):fe.test(t.nodeName)||ve.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),f.optSelected||(b.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),b.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){b.propFix[this.toLowerCase()]=this})),b.fn.extend({addClass:function(t){var e,n,a,i,r,s,o,l=0;if(v(t))return this.each((function(e){b(this).addClass(t.call(this,e,me(this)))}));if((e=ge(t)).length)for(;n=this[l++];)if(i=me(n),a=1===n.nodeType&&" "+he(i)+" "){for(s=0;r=e[s++];)a.indexOf(" "+r+" ")<0&&(a+=r+" ");i!==(o=he(a))&&n.setAttribute("class",o)}return this},removeClass:function(t){var e,n,a,i,r,s,o,l=0;if(v(t))return this.each((function(e){b(this).removeClass(t.call(this,e,me(this)))}));if(!arguments.length)return this.attr("class","");if((e=ge(t)).length)for(;n=this[l++];)if(i=me(n),a=1===n.nodeType&&" "+he(i)+" "){for(s=0;r=e[s++];)for(;a.indexOf(" "+r+" ")>-1;)a=a.replace(" "+r+" "," ");i!==(o=he(a))&&n.setAttribute("class",o)}return this},toggleClass:function(t,e){var n=typeof t,a="string"===n||Array.isArray(t);return"boolean"==typeof e&&a?e?this.addClass(t):this.removeClass(t):v(t)?this.each((function(n){b(this).toggleClass(t.call(this,n,me(this),e),e)})):this.each((function(){var e,i,r,s;if(a)for(i=0,r=b(this),s=ge(t);e=s[i++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else void 0!==t&&"boolean"!==n||((e=me(this))&&G.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":G.get(this,"__className__")||""))}))},hasClass:function(t){var e,n,a=0;for(e=" "+t+" ";n=this[a++];)if(1===n.nodeType&&(" "+he(me(n))+" ").indexOf(e)>-1)return!0;return!1}});var _e=/\r/g;b.fn.extend({val:function(t){var e,n,a,i=this[0];return arguments.length?(a=v(t),this.each((function(n){var i;1===this.nodeType&&(null==(i=a?t.call(this,n,b(this).val()):t)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=b.map(i,(function(t){return null==t?"":t+""}))),(e=b.valHooks[this.type]||b.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))}))):i?(e=b.valHooks[i.type]||b.valHooks[i.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(_e,""):null==n?"":n:void 0}}),b.extend({valHooks:{option:{get:function(t){var e=b.find.attr(t,"value");return null!=e?e:he(b.text(t))}},select:{get:function(t){var e,n,a,i=t.options,r=t.selectedIndex,s="select-one"===t.type,o=s?null:[],l=s?r+1:i.length;for(a=r<0?l:s?r:0;a-1)&&(n=!0);return n||(t.selectedIndex=-1),r}}}}),b.each(["radio","checkbox"],(function(){b.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=b.inArray(b(t).val(),e)>-1}},f.checkOn||(b.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})})),f.focusin="onfocusin"in t;var ye=/^(?:focusinfocus|focusoutblur)$/,be=function(t){t.stopPropagation()};b.extend(b.event,{trigger:function(e,n,a,i){var r,s,o,l,c,d,p,f,g=[a||m],_=u.call(e,"type")?e.type:e,y=u.call(e,"namespace")?e.namespace.split("."):[];if(s=f=o=a=a||m,3!==a.nodeType&&8!==a.nodeType&&!ye.test(_+b.event.triggered)&&(_.indexOf(".")>-1&&(y=_.split("."),_=y.shift(),y.sort()),c=_.indexOf(":")<0&&"on"+_,(e=e[b.expando]?e:new b.Event(_,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=y.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=a),n=null==n?[e]:b.makeArray(n,[e]),p=b.event.special[_]||{},i||!p.trigger||!1!==p.trigger.apply(a,n))){if(!i&&!p.noBubble&&!h(a)){for(l=p.delegateType||_,ye.test(l+_)||(s=s.parentNode);s;s=s.parentNode)g.push(s),o=s;o===(a.ownerDocument||m)&&g.push(o.defaultView||o.parentWindow||t)}for(r=0;(s=g[r++])&&!e.isPropagationStopped();)f=s,e.type=r>1?l:p.bindType||_,(d=(G.get(s,"events")||Object.create(null))[e.type]&&G.get(s,"handle"))&&d.apply(s,n),(d=c&&s[c])&&d.apply&&Q(s)&&(e.result=d.apply(s,n),!1===e.result&&e.preventDefault());return e.type=_,i||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(g.pop(),n)||!Q(a)||c&&v(a[_])&&!h(a)&&((o=a[c])&&(a[c]=null),b.event.triggered=_,e.isPropagationStopped()&&f.addEventListener(_,be),a[_](),e.isPropagationStopped()&&f.removeEventListener(_,be),b.event.triggered=void 0,o&&(a[c]=o)),e.result}},simulate:function(t,e,n){var a=b.extend(new b.Event,n,{type:t,isSimulated:!0});b.event.trigger(a,null,e)}}),b.fn.extend({trigger:function(t,e){return this.each((function(){b.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var n=this[0];if(n)return b.event.trigger(t,e,n,!0)}}),f.focusin||b.each({focus:"focusin",blur:"focusout"},(function(t,e){var n=function(t){b.event.simulate(e,t.target,b.event.fix(t))};b.event.special[e]={setup:function(){var a=this.ownerDocument||this.document||this,i=G.access(a,e);i||a.addEventListener(t,n,!0),G.access(a,e,(i||0)+1)},teardown:function(){var a=this.ownerDocument||this.document||this,i=G.access(a,e)-1;i?G.access(a,e,i):(a.removeEventListener(t,n,!0),G.remove(a,e))}}}));var we=t.location,xe={guid:Date.now()},ke=/\?/;b.parseXML=function(e){var n;if(!e||"string"!=typeof e)return null;try{n=(new t.DOMParser).parseFromString(e,"text/xml")}catch(t){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||b.error("Invalid XML: "+e),n};var Ce=/\[\]$/,Ae=/\r?\n/g,Te=/^(?:submit|button|image|reset|file)$/i,Se=/^(?:input|select|textarea|keygen)/i;function $e(t,e,n,a){var i;if(Array.isArray(e))b.each(e,(function(e,i){n||Ce.test(t)?a(t,i):$e(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,a)}));else if(n||"object"!==y(e))a(t,e);else for(i in e)$e(t+"["+i+"]",e[i],n,a)}b.param=function(t,e){var n,a=[],i=function(t,e){var n=v(e)?e():e;a[a.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!b.isPlainObject(t))b.each(t,(function(){i(this.name,this.value)}));else for(n in t)$e(n,t[n],e,i);return a.join("&")},b.fn.extend({serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=b.prop(this,"elements");return t?b.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!b(this).is(":disabled")&&Se.test(this.nodeName)&&!Te.test(t)&&(this.checked||!ut.test(t))})).map((function(t,e){var n=b(this).val();return null==n?null:Array.isArray(n)?b.map(n,(function(t){return{name:e.name,value:t.replace(Ae,"\r\n")}})):{name:e.name,value:n.replace(Ae,"\r\n")}})).get()}});var Ee=/%20/g,Ne=/#.*$/,De=/([?&])_=[^&]*/,Pe=/^(.*?):[ \t]*([^\r\n]*)$/gm,Le=/^(?:GET|HEAD)$/,Oe=/^\/\//,je={},Ie={},Me="*/".concat("*"),Re=m.createElement("a");function Fe(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var a,i=0,r=e.toLowerCase().match(O)||[];if(v(n))for(;a=r[i++];)"+"===a[0]?(a=a.slice(1)||"*",(t[a]=t[a]||[]).unshift(n)):(t[a]=t[a]||[]).push(n)}}function Be(t,e,n,a){var i={},r=t===Ie;function s(o){var l;return i[o]=!0,b.each(t[o]||[],(function(t,o){var c=o(e,n,a);return"string"!=typeof c||r||i[c]?r?!(l=c):void 0:(e.dataTypes.unshift(c),s(c),!1)})),l}return s(e.dataTypes[0])||!i["*"]&&s("*")}function qe(t,e){var n,a,i=b.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:a||(a={}))[n]=e[n]);return a&&b.extend(!0,t,a),t}Re.href=we.href,b.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:we.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(we.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Me,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":b.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?qe(qe(t,b.ajaxSettings),e):qe(b.ajaxSettings,t)},ajaxPrefilter:Fe(je),ajaxTransport:Fe(Ie),ajax:function(e,n){"object"==typeof e&&(n=e,e=void 0),n=n||{};var a,i,r,s,o,l,c,u,d,p,f=b.ajaxSetup({},n),v=f.context||f,h=f.context&&(v.nodeType||v.jquery)?b(v):b.event,g=b.Deferred(),_=b.Callbacks("once memory"),y=f.statusCode||{},w={},x={},k="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(c){if(!s)for(s={};e=Pe.exec(r);)s[e[1].toLowerCase()+" "]=(s[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=s[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return c?r:null},setRequestHeader:function(t,e){return null==c&&(t=x[t.toLowerCase()]=x[t.toLowerCase()]||t,w[t]=e),this},overrideMimeType:function(t){return null==c&&(f.mimeType=t),this},statusCode:function(t){var e;if(t)if(c)C.always(t[C.status]);else for(e in t)y[e]=[y[e],t[e]];return this},abort:function(t){var e=t||k;return a&&a.abort(e),A(0,e),this}};if(g.promise(C),f.url=((e||f.url||we.href)+"").replace(Oe,we.protocol+"//"),f.type=n.method||n.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(O)||[""],null==f.crossDomain){l=m.createElement("a");try{l.href=f.url,l.href=l.href,f.crossDomain=Re.protocol+"//"+Re.host!=l.protocol+"//"+l.host}catch(t){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=b.param(f.data,f.traditional)),Be(je,f,n,C),c)return C;for(d in(u=b.event&&f.global)&&0==b.active++&&b.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Le.test(f.type),i=f.url.replace(Ne,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Ee,"+")):(p=f.url.slice(i.length),f.data&&(f.processData||"string"==typeof f.data)&&(i+=(ke.test(i)?"&":"?")+f.data,delete f.data),!1===f.cache&&(i=i.replace(De,"$1"),p=(ke.test(i)?"&":"?")+"_="+xe.guid+++p),f.url=i+p),f.ifModified&&(b.lastModified[i]&&C.setRequestHeader("If-Modified-Since",b.lastModified[i]),b.etag[i]&&C.setRequestHeader("If-None-Match",b.etag[i])),(f.data&&f.hasContent&&!1!==f.contentType||n.contentType)&&C.setRequestHeader("Content-Type",f.contentType),C.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Me+"; q=0.01":""):f.accepts["*"]),f.headers)C.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(!1===f.beforeSend.call(v,C,f)||c))return C.abort();if(k="abort",_.add(f.complete),C.done(f.success),C.fail(f.error),a=Be(Ie,f,n,C)){if(C.readyState=1,u&&h.trigger("ajaxSend",[C,f]),c)return C;f.async&&f.timeout>0&&(o=t.setTimeout((function(){C.abort("timeout")}),f.timeout));try{c=!1,a.send(w,A)}catch(t){if(c)throw t;A(-1,t)}}else A(-1,"No Transport");function A(e,n,s,l){var d,p,m,w,x,k=n;c||(c=!0,o&&t.clearTimeout(o),a=void 0,r=l||"",C.readyState=e>0?4:0,d=e>=200&&e<300||304===e,s&&(w=function(t,e,n){for(var a,i,r,s,o=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===a&&(a=t.mimeType||e.getResponseHeader("Content-Type"));if(a)for(i in o)if(o[i]&&o[i].test(a)){l.unshift(i);break}if(l[0]in n)r=l[0];else{for(i in n){if(!l[0]||t.converters[i+" "+l[0]]){r=i;break}s||(s=i)}r=r||s}if(r)return r!==l[0]&&l.unshift(r),n[r]}(f,C,s)),!d&&b.inArray("script",f.dataTypes)>-1&&(f.converters["text script"]=function(){}),w=function(t,e,n,a){var i,r,s,o,l,c={},u=t.dataTypes.slice();if(u[1])for(s in t.converters)c[s.toLowerCase()]=t.converters[s];for(r=u.shift();r;)if(t.responseFields[r]&&(n[t.responseFields[r]]=e),!l&&a&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=u.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(s=c[l+" "+r]||c["* "+r]))for(i in c)if((o=i.split(" "))[1]===r&&(s=c[l+" "+o[0]]||c["* "+o[0]])){!0===s?s=c[i]:!0!==c[i]&&(r=o[0],u.unshift(o[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}(f,w,C,d),d?(f.ifModified&&((x=C.getResponseHeader("Last-Modified"))&&(b.lastModified[i]=x),(x=C.getResponseHeader("etag"))&&(b.etag[i]=x)),204===e||"HEAD"===f.type?k="nocontent":304===e?k="notmodified":(k=w.state,p=w.data,d=!(m=w.error))):(m=k,!e&&k||(k="error",e<0&&(e=0))),C.status=e,C.statusText=(n||k)+"",d?g.resolveWith(v,[p,k,C]):g.rejectWith(v,[C,k,m]),C.statusCode(y),y=void 0,u&&h.trigger(d?"ajaxSuccess":"ajaxError",[C,f,d?p:m]),_.fireWith(v,[C,k]),u&&(h.trigger("ajaxComplete",[C,f]),--b.active||b.event.trigger("ajaxStop")))}return C},getJSON:function(t,e,n){return b.get(t,e,n,"json")},getScript:function(t,e){return b.get(t,void 0,e,"script")}}),b.each(["get","post"],(function(t,e){b[e]=function(t,n,a,i){return v(n)&&(i=i||a,a=n,n=void 0),b.ajax(b.extend({url:t,type:e,dataType:i,data:n,success:a},b.isPlainObject(t)&&t))}})),b.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),b._evalUrl=function(t,e,n){return b.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){b.globalEval(t,e,n)}})},b.fn.extend({wrapAll:function(t){var e;return this[0]&&(v(t)&&(t=t.call(this[0])),e=b(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return v(t)?this.each((function(e){b(this).wrapInner(t.call(this,e))})):this.each((function(){var e=b(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)}))},wrap:function(t){var e=v(t);return this.each((function(n){b(this).wrapAll(e?t.call(this,n):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){b(this).replaceWith(this.childNodes)})),this}}),b.expr.pseudos.hidden=function(t){return!b.expr.pseudos.visible(t)},b.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},b.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(t){}};var Ue={0:200,1223:204},He=b.ajaxSettings.xhr();f.cors=!!He&&"withCredentials"in He,f.ajax=He=!!He,b.ajaxTransport((function(e){var n,a;if(f.cors||He&&!e.crossDomain)return{send:function(i,r){var s,o=e.xhr();if(o.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)o[s]=e.xhrFields[s];for(s in e.mimeType&&o.overrideMimeType&&o.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)o.setRequestHeader(s,i[s]);n=function(t){return function(){n&&(n=a=o.onload=o.onerror=o.onabort=o.ontimeout=o.onreadystatechange=null,"abort"===t?o.abort():"error"===t?"number"!=typeof o.status?r(0,"error"):r(o.status,o.statusText):r(Ue[o.status]||o.status,o.statusText,"text"!==(o.responseType||"text")||"string"!=typeof o.responseText?{binary:o.response}:{text:o.responseText},o.getAllResponseHeaders()))}},o.onload=n(),a=o.onerror=o.ontimeout=n("error"),void 0!==o.onabort?o.onabort=a:o.onreadystatechange=function(){4===o.readyState&&t.setTimeout((function(){n&&a()}))},n=n("abort");try{o.send(e.hasContent&&e.data||null)}catch(t){if(n)throw t}},abort:function(){n&&n()}}})),b.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return b.globalEval(t),t}}}),b.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),b.ajaxTransport("script",(function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(a,i){e=b(" diff --git a/src/js/components/TheFavoritesTab.vue b/src/js/components/TheFavoritesTab.vue index b9d4c29..7015cc2 100644 --- a/src/js/components/TheFavoritesTab.vue +++ b/src/js/components/TheFavoritesTab.vue @@ -215,7 +215,6 @@ export default { target: { id } } = event let selectedTab = null - console.log(id) switch (id) { case 'favorites_playlist_tab': diff --git a/src/js/downloads.js b/src/js/downloads.js index 84b42b8..12359a7 100644 --- a/src/js/downloads.js +++ b/src/js/downloads.js @@ -1,229 +1,11 @@ -import $ from 'jquery' import { socket } from '@/js/socket.js' -import { toast } from '@/js/toasts.js' -import EventBus from '@/js/EventBus' - -/* ===== Locals ===== */ - -let queueList = {} -let queue = [] -let queueComplete = [] -let listEl - -function init() { - // Find download DOM elements - listEl = document.getElementById('download_list') -} function sendAddToQueue(url, bitrate = null) { if (url != '') { - socket.emit('addToQueue', { url: url, bitrate: bitrate }) + socket.emit('addToQueue', { url: url, bitrate: bitrate }, () => {}) } } -function _addToQueue(queueItem, current = false) { - queueList[queueItem.uuid] = queueItem - if (queueItem.downloaded + queueItem.failed == queueItem.size) { - if (queueComplete.indexOf(queueItem.uuid) == -1) queueComplete.push(queueItem.uuid) - } else { - if (queue.indexOf(queueItem.uuid) == -1) queue.push(queueItem.uuid) - } - let queueDOM = document.getElementById('download_' + queueItem.uuid) - if (typeof queueDOM == 'undefined' || queueDOM == null) { - $(listEl).append( - `
-
- Cover ${queueItem.title} -
- ${queueItem.title} - - ${queueItem.artist} -
-
- ${queueItem.downloaded + queueItem.failed}/${ - queueItem.size - } -
-
-
-
- remove -
-
` - ) - } - if (queueItem.progress > 0 || current) { - $('#bar_' + queueItem.uuid) - .removeClass('indeterminate') - .addClass('determinate') - } - $('#bar_' + queueItem.uuid).css('width', queueItem.progress + '%') - if (queueItem.failed >= 1 && $('#download_' + queueItem.uuid + ' .queue_failed').length == 0) { - $('#download_' + queueItem.uuid + ' .download_info_status').append( - `(${ - queueItem.failed - }error_outline)` - ) - } - if (queueItem.downloaded + queueItem.failed == queueItem.size) { - let result_icon = $('#download_' + queueItem.uuid).find('.queue_icon') - if (queueItem.failed == 0) { - result_icon.text('done') - } else { - let failed_button = $('#download_' + queueItem.uuid).find('.queue_failed_button') - result_icon.addClass('clickable') - failed_button.addClass('clickable') - result_icon.bind('click', { item: queueItem }, showErrorsTab) - failed_button.bind('click', { item: queueItem }, showErrorsTab) - if (queueItem.failed >= queueItem.size) { - result_icon.text('error') - } else { - result_icon.text('warning') - } - } - } - if (!queueItem.init) toast(`${queueItem.title} added to queue`, 'playlist_add_check') -} - -// ? Temporary? -function showErrorsTab(clickEvent) { - EventBus.$emit('showTabErrors', clickEvent.data.item, clickEvent.target) -} - -function _initQueue(data) { - const { queue, queueComplete, currentItem, queueList } = data - - if (queueComplete.length) { - queueComplete.forEach(item => { - queueList[item].init = true - _addToQueue(queueList[item]) - }) - } - - if (currentItem) { - queueList[currentItem].init = true - _addToQueue(queueList[currentItem], true) - } - - queue.forEach(item => { - queueList[item].init = true - _addToQueue(queueList[item]) - }) -} - -function _startDownload(uuid) { - $('#bar_' + uuid) - .removeClass('indeterminate') - .addClass('determinate') -} - -socket.on('startDownload', _startDownload) - -socket.on('init_downloadQueue', _initQueue) -socket.on('addedToQueue', _addToQueue) - -function _removeFromQueue(uuid) { - let index = queue.indexOf(uuid) - if (index > -1) { - queue.splice(index, 1) - $(`#download_${queueList[uuid].uuid}`).remove() - delete queueList[uuid] - } -} - -socket.on('removedFromQueue', _removeFromQueue) - -function _finishDownload(uuid) { - if (queue.indexOf(uuid) > -1) { - toast(`${queueList[uuid].title} finished downloading.`, 'done') - $('#bar_' + uuid).css('width', '100%') - let result_icon = $('#download_' + uuid).find('.queue_icon') - if (queueList[uuid].failed == 0) { - result_icon.text('done') - } else { - let failed_button = $('#download_' + uuid).find('.queue_failed_button') - result_icon.addClass('clickable') - failed_button.addClass('clickable') - result_icon.bind('click', { item: queueList[uuid] }, showErrorsTab) - failed_button.bind('click', { item: queueList[uuid] }, showErrorsTab) - if (queueList[uuid].failed >= queueList[uuid].size) { - result_icon.text('error') - } else { - result_icon.text('warning') - } - } - - let index = queue.indexOf(uuid) - if (index > -1) { - queue.splice(index, 1) - queueComplete.push(uuid) - } - if (queue.length <= 0) { - toast('All downloads completed!', 'done_all') - } - } -} - -socket.on('finishDownload', _finishDownload) - -function _removeAllDownloads(currentItem) { - queueComplete = [] - if (currentItem == '') { - queue = [] - queueList = {} - $(listEl).html('') - } else { - queue = [currentItem] - let tempQueueItem = queueList[currentItem] - queueList = {} - queueList[currentItem] = tempQueueItem - $('.download_object').each(function(index) { - if ($(this).attr('id') != 'download_' + currentItem) $(this).remove() - }) - } -} - -socket.on('removedAllDownloads', _removeAllDownloads) - -function _removedFinishedDownloads() { - queueComplete.forEach(item => { - $('#download_' + item).remove() - }) - queueComplete = [] -} - -socket.on('removedFinishedDownloads', _removedFinishedDownloads) - -function _updateQueue(update) { - // downloaded and failed default to false? - const { uuid, downloaded, failed, progress } = update - - if (uuid && queue.indexOf(uuid) > -1) { - if (downloaded) { - queueList[uuid].downloaded++ - $('#download_' + uuid + ' .queue_downloaded').text(queueList[uuid].downloaded + queueList[uuid].failed) - } - if (failed) { - queueList[uuid].failed++ - $('#download_' + uuid + ' .queue_downloaded').text(queueList[uuid].downloaded + queueList[uuid].failed) - if (queueList[uuid].failed == 1 && $('#download_' + uuid + ' .queue_failed').length == 0) { - $('#download_' + uuid + ' .download_info_status').append( - `(1 error_outline)` - ) - } else { - $('#download_' + uuid + ' .queue_failed').text(queueList[uuid].failed) - } - queueList[uuid].errors.push({ message: update.error, data: update.data }) - } - if (progress) { - queueList[uuid].progress = progress - $('#bar_' + uuid).css('width', progress + '%') - } - } -} - -socket.on('updateQueue', _updateQueue) - export default { - init, sendAddToQueue } diff --git a/src/js/tabs.js b/src/js/tabs.js index bab09d9..607d183 100644 --- a/src/js/tabs.js +++ b/src/js/tabs.js @@ -45,7 +45,6 @@ export function showView(viewType, event) { */ export function changeTab(sidebarEl, section, tabName) { // console.error('CHANGE TAB') - // console.log(Array.from(arguments)) window.windows_stack = [] window.currentStack = {}