/*! For license information please see app.js.LICENSE.txt */ (()=>{var e,t={9669:(e,t,n)=>{e.exports=n(1609)},5448:(e,t,n)=>{"use strict";var r=n(4867),a=n(6026),i=n(4372),o=n(5327),s=n(4097),c=n(4109),l=n(7985),u=n(5061);e.exports=function(e){return new Promise((function(t,n){var d=e.data,f=e.headers;r.isFormData(d)&&delete f["Content-Type"];var p=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";f.Authorization="Basic "+btoa(h+":"+m)}var _=s(e.baseURL,e.url);if(p.open(e.method.toUpperCase(),o(_,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,p.onreadystatechange=function(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in p?c(p.getAllResponseHeaders()):null,i={data:e.responseType&&"text"!==e.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:r,config:e,request:p};a(t,n,i),p=null}},p.onabort=function(){p&&(n(u("Request aborted",e,"ECONNABORTED",p)),p=null)},p.onerror=function(){n(u("Network Error",e,null,p)),p=null},p.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var M=(e.withCredentials||l(_))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;M&&(f[e.xsrfHeaderName]=M)}if("setRequestHeader"in p&&r.forEach(f,(function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete f[t]:p.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(p.withCredentials=!!e.withCredentials),e.responseType)try{p.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){p&&(p.abort(),n(e),p=null)})),d||(d=null),p.send(d)}))}},1609:(e,t,n)=>{"use strict";var r=n(4867),a=n(1849),i=n(321),o=n(7185);function s(e){var t=new i(e),n=a(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var c=s(n(6419));c.Axios=i,c.create=function(e){return s(o(c.defaults,e))},c.Cancel=n(5263),c.CancelToken=n(4972),c.isCancel=n(6502),c.all=function(e){return Promise.all(e)},c.spread=n(8713),c.isAxiosError=n(6268),e.exports=c,e.exports.default=c},5263:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},4972:(e,t,n)=>{"use strict";var r=n(5263);function a(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}a.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},a.source=function(){var e;return{token:new a((function(t){e=t})),cancel:e}},e.exports=a},6502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,n)=>{"use strict";var r=n(4867),a=n(5327),i=n(782),o=n(3572),s=n(7185);function c(e){this.defaults=e,this.interceptors={request:new i,response:new i}}c.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[o,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},c.prototype.getUri=function(e){return e=s(this.defaults,e),a(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}})),e.exports=c},782:(e,t,n)=>{"use strict";var r=n(4867);function a(){this.handlers=[]}a.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},a.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},a.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=a},4097:(e,t,n)=>{"use strict";var r=n(9699),a=n(7303);e.exports=function(e,t){return e&&!r(t)?a(e,t):t}},5061:(e,t,n)=>{"use strict";var r=n(481);e.exports=function(e,t,n,a,i){var o=new Error(e);return r(o,t,n,a,i)}},3572:(e,t,n)=>{"use strict";var r=n(4867),a=n(8527),i=n(6502),o=n(6419);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=a(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||o.adapter)(e).then((function(t){return s(e),t.data=a(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(s(e),t&&t.response&&(t.response.data=a(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},481:e=>{"use strict";e.exports=function(e,t,n,r,a){return e.config=t,n&&(e.code=n),e.request=r,e.response=a,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},7185:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e,t){t=t||{};var n={},a=["url","method","data"],i=["headers","auth","proxy","params"],o=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function l(a){r.isUndefined(t[a])?r.isUndefined(e[a])||(n[a]=c(void 0,e[a])):n[a]=c(e[a],t[a])}r.forEach(a,(function(e){r.isUndefined(t[e])||(n[e]=c(void 0,t[e]))})),r.forEach(i,l),r.forEach(o,(function(a){r.isUndefined(t[a])?r.isUndefined(e[a])||(n[a]=c(void 0,e[a])):n[a]=c(void 0,t[a])})),r.forEach(s,(function(r){r in t?n[r]=c(e[r],t[r]):r in e&&(n[r]=c(void 0,e[r]))}));var u=a.concat(i).concat(o).concat(s),d=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===u.indexOf(e)}));return r.forEach(d,l),n}},6026:(e,t,n)=>{"use strict";var r=n(5061);e.exports=function(e,t,n){var a=n.config.validateStatus;n.status&&a&&!a(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},8527:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},6419:(e,t,n)=>{"use strict";var r=n(4155),a=n(4867),i=n(6016),o={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!a.isUndefined(e)&&a.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var c,l={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==r&&"[object process]"===Object.prototype.toString.call(r))&&(c=n(5448)),c),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),a.isFormData(e)||a.isArrayBuffer(e)||a.isBuffer(e)||a.isStream(e)||a.isFile(e)||a.isBlob(e)?e:a.isArrayBufferView(e)?e.buffer:a.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):a.isObject(e)?(s(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300}};l.headers={common:{Accept:"application/json, text/plain, */*"}},a.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),a.forEach(["post","put","patch"],(function(e){l.headers[e]=a.merge(o)})),e.exports=l},1849:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r{"use strict";var r=n(4867);function a(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var o=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),o.push(a(t)+"="+a(e))})))})),i=o.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},7303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:(e,t,n)=>{"use strict";var r=n(4867);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,a,i,o){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(a)&&s.push("path="+a),r.isString(i)&&s.push("domain="+i),!0===o&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},9699:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},6268:e=>{"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},7985:(e,t,n)=>{"use strict";var r=n(4867);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function a(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=a(window.location.href),function(t){var n=r.isString(t)?a(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},6016:(e,t,n)=>{"use strict";var r=n(4867);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},4109:(e,t,n)=>{"use strict";var r=n(4867),a=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,o={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(o[t]&&a.indexOf(t)>=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([n]):o[t]?o[t]+", "+n:n}})),o):o}},8713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},4867:(e,t,n)=>{"use strict";var r=n(1849),a=Object.prototype.toString;function i(e){return"[object Array]"===a.call(e)}function o(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==a.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function l(e){return"[object Function]"===a.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n{"use strict";var r=Object.freeze({});function a(e){return null==e}function i(e){return null!=e}function o(e){return!0===e}function s(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function c(e){return null!==e&&"object"==typeof e}var l=Object.prototype.toString;function u(e){return"[object Object]"===l.call(e)}function d(e){return"[object RegExp]"===l.call(e)}function f(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return i(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function h(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===l?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function _(e,t){for(var n=Object.create(null),r=e.split(","),a=0;a-1)return e.splice(n,1)}}var v=Object.prototype.hasOwnProperty;function y(e,t){return v.call(e,t)}function L(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var A=/-(\w)/g,z=L((function(e){return e.replace(A,(function(e,t){return t?t.toUpperCase():""}))})),w=L((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),T=/\B([A-Z])/g,k=L((function(e){return e.replace(T,"-$1").toLowerCase()}));var x=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function O(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function D(e,t){for(var n in t)e[n]=t[n];return e}function S(e){for(var t={},n=0;n0,te=Q&&Q.indexOf("edge/")>0,ne=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===K),re=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),ae={}.watch,ie=!1;if(J)try{var oe={};Object.defineProperty(oe,"passive",{get:function(){ie=!0}}),window.addEventListener("test-passive",null,oe)}catch(e){}var se=function(){return void 0===U&&(U=!J&&!G&&void 0!==n.g&&(n.g.process&&"server"===n.g.process.env.VUE_ENV)),U},ce=J&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function le(e){return"function"==typeof e&&/native code/.test(e.toString())}var ue,de="undefined"!=typeof Symbol&&le(Symbol)&&"undefined"!=typeof Reflect&&le(Reflect.ownKeys);ue="undefined"!=typeof Set&&le(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var fe=N,pe=0,he=function(){this.id=pe++,this.subs=[]};he.prototype.addSub=function(e){this.subs.push(e)},he.prototype.removeSub=function(e){g(this.subs,e)},he.prototype.depend=function(){he.target&&he.target.addDep(this)},he.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(i&&!y(a,"default"))o=!1;else if(""===o||o===k(e)){var c=Fe(String,a.type);(c<0||s0&&(mt((r=_t(r,(t||"")+"_"+n))[0])&&mt(l)&&(u[c]=ye(l.text+r[0].text),r.shift()),u.push.apply(u,r)):s(r)?mt(l)?u[c]=ye(l.text+r):""!==r&&u.push(ye(r)):mt(r)&&mt(l)?u[c]=ye(l.text+r.text):(o(e._isVList)&&i(r.tag)&&a(r.key)&&i(t)&&(r.key="__vlist"+t+"_"+n+"__"),u.push(r)));return u}function Mt(e,t){if(e){for(var n=Object.create(null),r=de?Reflect.ownKeys(e):Object.keys(e),a=0;a0,o=e?!!e.$stable:!i,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(o&&n&&n!==r&&s===n.$key&&!i&&!n.$hasNormal)return n;for(var c in a={},e)e[c]&&"$"!==c[0]&&(a[c]=yt(t,c,e[c]))}else a={};for(var l in t)l in a||(a[l]=Lt(t,l));return e&&Object.isExtensible(e)&&(e._normalized=a),I(a,"$stable",o),I(a,"$key",s),I(a,"$hasNormal",i),a}function yt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:ht(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function Lt(e,t){return function(){return e[t]}}function At(e,t){var n,r,a,o,s;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,a=e.length;rdocument.createEvent("Event").timeStamp&&(_n=function(){return Mn.now()})}function bn(){var e,t;for(mn=_n(),pn=!0,ln.sort((function(e,t){return e.id-t.id})),hn=0;hnhn&&ln[n].id>e.id;)n--;ln.splice(n+1,0,e)}else ln.push(e);fn||(fn=!0,it(bn))}}(this)},vn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||c(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){$e(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},vn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},vn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},vn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var yn={enumerable:!0,configurable:!0,get:N,set:N};function Ln(e,t,n){yn.get=function(){return this[t][n]},yn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,yn)}function An(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},a=e.$options._propKeys=[];e.$parent&&ke(!1);var i=function(i){a.push(i);var o=Xe(i,t,n,e);De(r,i,o),i in e||Ln(e,"_props",i)};for(var o in t)i(o);ke(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?N:x(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;u(t=e._data="function"==typeof t?function(e,t){_e();try{return e.call(t,t)}catch(e){return $e(e,t,"data()"),{}}finally{Me()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,a=(e.$options.methods,n.length);for(;a--;){var i=n[a];0,r&&y(r,i)||R(i)||Ln(e,"_data",i)}Oe(t,!0)}(e):Oe(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=se();for(var a in t){var i=t[a],o="function"==typeof i?i:i.get;0,r||(n[a]=new vn(e,o||N,N,zn)),a in e||wn(e,a,i)}}(e,t.computed),t.watch&&t.watch!==ae&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var a=0;a-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!d(e)&&e.test(t)}function Wn(e,t){var n=e.cache,r=e.keys,a=e._vnode;for(var i in n){var o=n[i];if(o){var s=Yn(o.componentOptions);s&&!t(s)&&qn(n,i,r,a)}}}function qn(e,t,n,r){var a=e[t];!a||r&&a.tag===r.tag||a.componentInstance.$destroy(),e[t]=null,g(n,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=On++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var a=r.componentOptions;n.propsData=a.propsData,n._parentListeners=a.listeners,n._renderChildren=a.children,n._componentTag=a.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Pe(Dn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&tn(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,a=n&&n.context;e.$slots=bt(t._renderChildren,a),e.$scopedSlots=r,e._c=function(t,n,r,a){return Ft(e,t,n,r,a,!1)},e.$createElement=function(t,n,r,a){return Ft(e,t,n,r,a,!0)};var i=n&&n.data;De(e,"$attrs",i&&i.attrs||r,null,!0),De(e,"$listeners",t._parentListeners||r,null,!0)}(t),cn(t,"beforeCreate"),function(e){var t=Mt(e.$options.inject,e);t&&(ke(!1),Object.keys(t).forEach((function(n){De(e,n,t[n])})),ke(!0))}(t),An(t),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(t),cn(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(Sn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Se,e.prototype.$delete=Ne,e.prototype.$watch=function(e,t,n){var r=this;if(u(t))return xn(r,e,t,n);(n=n||{}).user=!0;var a=new vn(r,e,t,n);if(n.immediate)try{t.call(r,a.value)}catch(e){$e(e,r,'callback for immediate watcher "'+a.expression+'"')}return function(){a.teardown()}}}(Sn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var a=0,i=e.length;a1?O(n):n;for(var r=O(arguments,1),a='event handler for "'+e+'"',i=0,o=n.length;iparseInt(this.max)&&qn(o,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return H}};Object.defineProperty(e,"config",t),e.util={warn:fe,extend:D,mergeOptions:Pe,defineReactive:De},e.set=Se,e.delete=Ne,e.nextTick=it,e.observable=function(e){return Oe(e),e},e.options=Object.create(null),B.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,D(e.options.components,jn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=O(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Pe(this.options,e),this}}(e),Nn(e),function(e){B.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&u(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)}(Sn),Object.defineProperty(Sn.prototype,"$isServer",{get:se}),Object.defineProperty(Sn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Sn,"FunctionalRenderContext",{value:jt}),Sn.version="2.6.12";var Bn=_("style,class"),Pn=_("input,textarea,option,select,progress"),Hn=function(e,t,n){return"value"===n&&Pn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Xn=_("contenteditable,draggable,spellcheck"),Rn=_("events,caret,typing,plaintext-only"),In=_("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"),Fn="http://www.w3.org/1999/xlink",$n=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Un=function(e){return $n(e)?e.slice(6,e.length):""},Vn=function(e){return null==e||!1===e};function Jn(e){for(var t=e.data,n=e,r=e;i(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Gn(r.data,t));for(;i(n=n.parent);)n&&n.data&&(t=Gn(t,n.data));return function(e,t){if(i(e)||i(t))return Kn(e,Qn(t));return""}(t.staticClass,t.class)}function Gn(e,t){return{staticClass:Kn(e.staticClass,t.staticClass),class:i(e.class)?[e.class,t.class]:t.class}}function Kn(e,t){return e?t?e+" "+t:e:t||""}function Qn(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,a=e.length;r-1?Ar(e,t,n):In(t)?Vn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Xn(t)?e.setAttribute(t,function(e,t){return Vn(t)||"false"===t?"false":"contenteditable"===e&&Rn(t)?t:"true"}(t,n)):$n(t)?Vn(n)?e.removeAttributeNS(Fn,Un(t)):e.setAttributeNS(Fn,t,n):Ar(e,t,n)}function Ar(e,t,n){if(Vn(n))e.removeAttribute(t);else{if(Z&&!ee&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var zr={create:yr,update:yr};function wr(e,t){var n=t.elm,r=t.data,o=e.data;if(!(a(r.staticClass)&&a(r.class)&&(a(o)||a(o.staticClass)&&a(o.class)))){var s=Jn(t),c=n._transitionClasses;i(c)&&(s=Kn(s,Qn(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Tr,kr,xr,Or,Dr,Sr,Nr={create:wr,update:wr},Yr=/[\w).+\-_$\]]/;function Cr(e){var t,n,r,a,i,o=!1,s=!1,c=!1,l=!1,u=0,d=0,f=0,p=0;for(r=0;r=0&&" "===(m=e.charAt(h));h--);m&&Yr.test(m)||(l=!0)}}else void 0===a?(p=r+1,a=e.slice(0,r).trim()):_();function _(){(i||(i=[])).push(e.slice(p,r).trim()),p=r+1}if(void 0===a?a=e.slice(0,r).trim():0!==p&&_(),i)for(r=0;r-1?{exp:e.slice(0,Or),key:'"'+e.slice(Or+1)+'"'}:{exp:e,key:null};kr=e,Or=Dr=Sr=0;for(;!Kr();)Qr(xr=Gr())?ea(xr):91===xr&&Zr(xr);return{exp:e.slice(0,Dr),key:e.slice(Dr+1,Sr)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Gr(){return kr.charCodeAt(++Or)}function Kr(){return Or>=Tr}function Qr(e){return 34===e||39===e}function Zr(e){var t=1;for(Dr=Or;!Kr();)if(Qr(e=Gr()))ea(e);else if(91===e&&t++,93===e&&t--,0===t){Sr=Or;break}}function ea(e){for(var t=e;!Kr()&&(e=Gr())!==t;);}var ta,na="__r";function ra(e,t,n){var r=ta;return function a(){var i=t.apply(null,arguments);null!==i&&oa(e,a,n,r)}}var aa=Ke&&!(re&&Number(re[1])<=53);function ia(e,t,n,r){if(aa){var a=mn,i=t;t=i._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=a||e.timeStamp<=0||e.target.ownerDocument!==document)return i.apply(this,arguments)}}ta.addEventListener(e,t,ie?{capture:n,passive:r}:n)}function oa(e,t,n,r){(r||ta).removeEventListener(e,t._wrapper||t,n)}function sa(e,t){if(!a(e.data.on)||!a(t.data.on)){var n=t.data.on||{},r=e.data.on||{};ta=t.elm,function(e){if(i(e.__r)){var t=Z?"change":"input";e[t]=[].concat(e.__r,e[t]||[]),delete e.__r}i(e.__c)&&(e.change=[].concat(e.__c,e.change||[]),delete e.__c)}(n),dt(n,r,ia,oa,ra,t.context),ta=void 0}}var ca,la={create:sa,update:sa};function ua(e,t){if(!a(e.data.domProps)||!a(t.data.domProps)){var n,r,o=t.elm,s=e.data.domProps||{},c=t.data.domProps||{};for(n in i(c.__ob__)&&(c=t.data.domProps=D({},c)),s)n in c||(o[n]="");for(n in c){if(r=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===s[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=r;var l=a(r)?"":String(r);da(o,l)&&(o.value=l)}else if("innerHTML"===n&&tr(o.tagName)&&a(o.innerHTML)){(ca=ca||document.createElement("div")).innerHTML=""+r+"";for(var u=ca.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;u.firstChild;)o.appendChild(u.firstChild)}else if(r!==s[n])try{o[n]=r}catch(e){}}}}function da(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(i(r)){if(r.number)return m(n)!==m(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var fa={create:ua,update:ua},pa=L((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));function ha(e){var t=ma(e.style);return e.staticStyle?D(e.staticStyle,t):t}function ma(e){return Array.isArray(e)?S(e):"string"==typeof e?pa(e):e}var _a,Ma=/^--/,ba=/\s*!important$/,ga=function(e,t,n){if(Ma.test(t))e.style.setProperty(t,n);else if(ba.test(n))e.style.setProperty(k(t),n.replace(ba,""),"important");else{var r=ya(t);if(Array.isArray(n))for(var a=0,i=n.length;a-1?t.split(za).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Ta(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(za).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function ka(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&D(t,xa(e.name||"v")),D(t,e),t}return"string"==typeof e?xa(e):void 0}}var xa=L((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Oa=J&&!ee,Da="transition",Sa="animation",Na="transition",Ya="transitionend",Ca="animation",Wa="animationend";Oa&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Na="WebkitTransition",Ya="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Ca="WebkitAnimation",Wa="webkitAnimationEnd"));var qa=J?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Ea(e){qa((function(){qa(e)}))}function ja(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),wa(e,t))}function Ba(e,t){e._transitionClasses&&g(e._transitionClasses,t),Ta(e,t)}function Pa(e,t,n){var r=Xa(e,t),a=r.type,i=r.timeout,o=r.propCount;if(!a)return n();var s=a===Da?Ya:Wa,c=0,l=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++c>=o&&l()};setTimeout((function(){c0&&(n=Da,u=o,d=i.length):t===Sa?l>0&&(n=Sa,u=l,d=c.length):d=(n=(u=Math.max(o,l))>0?o>l?Da:Sa:null)?n===Da?i.length:c.length:0,{type:n,timeout:u,propCount:d,hasTransform:n===Da&&Ha.test(r[Na+"Property"])}}function Ra(e,t){for(;e.length1}function Ja(e,t){!0!==t.data.show&&Fa(t)}var Ga=function(e){var t,n,r={},c=e.modules,l=e.nodeOps;for(t=0;th?g(e,a(n[M+1])?null:n[M+1].elm,n,p,M,r):p>M&&y(t,f,h)}(f,_,M,n,u):i(M)?(i(e.text)&&l.setTextContent(f,""),g(f,null,M,0,M.length-1,n)):i(_)?y(_,0,_.length-1):i(e.text)&&l.setTextContent(f,""):e.text!==t.text&&l.setTextContent(f,t.text),i(h)&&i(p=h.hook)&&i(p=p.postpatch)&&p(e,t)}}}function w(e,t,n){if(o(n)&&i(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r-1,o.selected!==i&&(o.selected=i);else if(W(ti(o),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));a||(e.selectedIndex=-1)}}function ei(e,t){return t.every((function(t){return!W(t,e)}))}function ti(e){return"_value"in e?e._value:e.value}function ni(e){e.target.composing=!0}function ri(e){e.target.composing&&(e.target.composing=!1,ai(e.target,"input"))}function ai(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function ii(e){return!e.componentInstance||e.data&&e.data.transition?e:ii(e.componentInstance._vnode)}var oi={model:Ka,show:{bind:function(e,t,n){var r=t.value,a=(n=ii(n)).data&&n.data.transition,i=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&a?(n.data.show=!0,Fa(n,(function(){e.style.display=i}))):e.style.display=r?i:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=ii(n)).data&&n.data.transition?(n.data.show=!0,r?Fa(n,(function(){e.style.display=e.__vOriginalDisplay})):$a(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,a){a||(e.style.display=e.__vOriginalDisplay)}}},si={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 ci(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?ci(Kt(t.children)):e}function li(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var a=n._parentListeners;for(var i in a)t[z(i)]=a[i];return t}function ui(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var di=function(e){return e.tag||Gt(e)},fi=function(e){return"show"===e.name},pi={name:"transition",props:si,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(di)).length){0;var r=this.mode;0;var a=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return a;var i=ci(a);if(!i)return a;if(this._leaving)return ui(e,a);var o="__transition-"+this._uid+"-";i.key=null==i.key?i.isComment?o+"comment":o+i.tag:s(i.key)?0===String(i.key).indexOf(o)?i.key:o+i.key:i.key;var c=(i.data||(i.data={})).transition=li(this),l=this._vnode,u=ci(l);if(i.data.directives&&i.data.directives.some(fi)&&(i.data.show=!0),u&&u.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(i,u)&&!Gt(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=D({},c);if("out-in"===r)return this._leaving=!0,ft(d,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),ui(e,a);if("in-out"===r){if(Gt(i))return l;var f,p=function(){f()};ft(c,"afterEnter",p),ft(c,"enterCancelled",p),ft(d,"delayLeave",(function(e){f=e}))}}return a}}},hi=D({tag:String,moveClass:String},si);function mi(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function _i(e){e.data.newPos=e.elm.getBoundingClientRect()}function Mi(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,a=t.top-n.top;if(r||a){e.data.moved=!0;var i=e.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+a+"px)",i.transitionDuration="0s"}}delete hi.mode;var bi={Transition:pi,TransitionGroup:{props:hi,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var a=rn(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,a(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,a=this.$slots.default||[],i=this.children=[],o=li(this),s=0;s-1?ar[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:ar[e]=/HTMLUnknownElement/.test(t.toString())},D(Sn.options.directives,oi),D(Sn.options.components,bi),Sn.prototype.__patch__=J?Ga:N,Sn.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=ve),cn(e,"beforeMount"),r=function(){e._update(e._render(),n)},new vn(e,r,N,{before:function(){e._isMounted&&!e._isDestroyed&&cn(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,cn(e,"mounted")),e}(this,e=e&&J?or(e):void 0,t)},J&&setTimeout((function(){H.devtools&&ce&&ce.emit("init",Sn)}),0);var gi=/\{\{((?:.|\r?\n)+?)\}\}/g,vi=/[-.*+?^${}()|[\]\/\\]/g,yi=L((function(e){var t=e[0].replace(vi,"\\$&"),n=e[1].replace(vi,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}));var Li={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Fr(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Ir(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var Ai,zi={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Fr(e,"style");n&&(e.staticStyle=JSON.stringify(pa(n)));var r=Ir(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},wi=function(e){return(Ai=Ai||document.createElement("div")).innerHTML=e,Ai.textContent},Ti=_("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),ki=_("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),xi=_("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"),Oi=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Di=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Si="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+X.source+"]*",Ni="((?:"+Si+"\\:)?"+Si+")",Yi=new RegExp("^<"+Ni),Ci=/^\s*(\/?)>/,Wi=new RegExp("^<\\/"+Ni+"[^>]*>"),qi=/^]+>/i,Ei=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},Xi=/&(?:lt|gt|quot|amp|#39);/g,Ri=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Ii=_("pre,textarea",!0),Fi=function(e,t){return e&&Ii(e)&&"\n"===t[0]};function $i(e,t){var n=t?Ri:Xi;return e.replace(n,(function(e){return Hi[e]}))}var Ui,Vi,Ji,Gi,Ki,Qi,Zi,eo,to=/^@|^v-on:/,no=/^v-|^@|^:|^#/,ro=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,ao=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,io=/^\(|\)$/g,oo=/^\[.*\]$/,so=/:(.*)$/,co=/^:|^\.|^v-bind:/,lo=/\.[^.\]]+(?=[^\]]*$)/g,uo=/^v-slot(:|$)|^#/,fo=/[\r\n]/,po=/\s+/g,ho=L(wi),mo="_empty_";function _o(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:Ao(t),rawAttrsMap:{},parent:n,children:[]}}function Mo(e,t){Ui=t.warn||qr,Qi=t.isPreTag||Y,Zi=t.mustUseProp||Y,eo=t.getTagNamespace||Y;var n=t.isReservedTag||Y;(function(e){return!!e.component||!n(e.tag)}),Ji=Er(t.modules,"transformNode"),Gi=Er(t.modules,"preTransformNode"),Ki=Er(t.modules,"postTransformNode"),Vi=t.delimiters;var r,a,i=[],o=!1!==t.preserveWhitespace,s=t.whitespace,c=!1,l=!1;function u(e){if(d(e),c||e.processed||(e=bo(e,t)),i.length||e===r||r.if&&(e.elseif||e.else)&&vo(r,{exp:e.elseif,block:e}),a&&!e.forbidden)if(e.elseif||e.else)o=e,(s=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}(a.children))&&s.if&&vo(s,{exp:o.elseif,block:o});else{if(e.slotScope){var n=e.slotTarget||'"default"';(a.scopedSlots||(a.scopedSlots={}))[n]=e}a.children.push(e),e.parent=a}var o,s;e.children=e.children.filter((function(e){return!e.slotScope})),d(e),e.pre&&(c=!1),Qi(e.tag)&&(l=!1);for(var u=0;u]*>)","i")),f=e.replace(d,(function(e,n,r){return l=r.length,Bi(u)||"noscript"===u||(n=n.replace(//g,"$1").replace(//g,"$1")),Fi(u,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""}));c+=e.length-f.length,e=f,T(u,c-l,c)}else{var p=e.indexOf("<");if(0===p){if(Ei.test(e)){var h=e.indexOf("--\x3e");if(h>=0){t.shouldKeepComment&&t.comment(e.substring(4,h),c,c+h+3),A(h+3);continue}}if(ji.test(e)){var m=e.indexOf("]>");if(m>=0){A(m+2);continue}}var _=e.match(qi);if(_){A(_[0].length);continue}var M=e.match(Wi);if(M){var b=c;A(M[0].length),T(M[1],b,c);continue}var g=z();if(g){w(g),Fi(g.tagName,e)&&A(1);continue}}var v=void 0,y=void 0,L=void 0;if(p>=0){for(y=e.slice(p);!(Wi.test(y)||Yi.test(y)||Ei.test(y)||ji.test(y)||(L=y.indexOf("<",1))<0);)p+=L,y=e.slice(p);v=e.substring(0,p)}p<0&&(v=e),v&&A(v.length),t.chars&&v&&t.chars(v,c-v.length,c)}if(e===n){t.chars&&t.chars(e);break}}function A(t){c+=t,e=e.substring(t)}function z(){var t=e.match(Yi);if(t){var n,r,a={tagName:t[1],attrs:[],start:c};for(A(t[0].length);!(n=e.match(Ci))&&(r=e.match(Di)||e.match(Oi));)r.start=c,A(r[0].length),r.end=c,a.attrs.push(r);if(n)return a.unarySlash=n[1],A(n[0].length),a.end=c,a}}function w(e){var n=e.tagName,c=e.unarySlash;i&&("p"===r&&xi(n)&&T(r),s(n)&&r===n&&T(n));for(var l=o(n)||!!c,u=e.attrs.length,d=new Array(u),f=0;f=0&&a[o].lowerCasedTag!==s;o--);else o=0;if(o>=0){for(var l=a.length-1;l>=o;l--)t.end&&t.end(a[l].tag,n,i);a.length=o,r=o&&a[o-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,i):"p"===s&&(t.start&&t.start(e,[],!1,n,i),t.end&&t.end(e,n,i))}T()}(e,{warn:Ui,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,n,o,s,d){var f=a&&a.ns||eo(e);Z&&"svg"===f&&(n=function(e){for(var t=[],n=0;nc&&(s.push(i=e.slice(c,a)),o.push(JSON.stringify(i)));var l=Cr(r[1].trim());o.push("_s("+l+")"),s.push({"@binding":l}),c=a+r[0].length}return c-1"+("true"===i?":("+t+")":":_q("+t+","+i+")")),Rr(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+i+"):("+o+");if(Array.isArray($$a)){var $$v="+(r?"_n("+a+")":a)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Jr(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Jr(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Jr(t,"$$c")+"}",null,!0)}(e,r,a);else if("input"===i&&"radio"===o)!function(e,t,n){var r=n&&n.number,a=Ir(e,"value")||"null";jr(e,"checked","_q("+t+","+(a=r?"_n("+a+")":a)+")"),Rr(e,"change",Jr(t,a),null,!0)}(e,r,a);else if("input"===i||"textarea"===i)!function(e,t,n){var r=e.attrsMap.type;0;var a=n||{},i=a.lazy,o=a.number,s=a.trim,c=!i&&"range"!==r,l=i?"change":"range"===r?na:"input",u="$event.target.value";s&&(u="$event.target.value.trim()");o&&(u="_n("+u+")");var d=Jr(t,u);c&&(d="if($event.target.composing)return;"+d);jr(e,"value","("+t+")"),Rr(e,l,d,null,!0),(s||o)&&Rr(e,"blur","$forceUpdate()")}(e,r,a);else{if(!H.isReservedTag(i))return Vr(e,r,a),!1}return!0},text:function(e,t){t.value&&jr(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&jr(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:Ti,mustUseProp:Hn,canBeLeftOpenTag:ki,isReservedTag:nr,getTagNamespace:rr,staticKeys:function(e){return e.reduce((function(e,t){return e.concat(t.staticKeys||[])}),[]).join(",")}(ko)},So=L((function(e){return _("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}));function No(e,t){e&&(xo=So(t.staticKeys||""),Oo=t.isReservedTag||Y,Yo(e),Co(e,!1))}function Yo(e){if(e.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||M(e.tag)||!Oo(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(xo)))}(e),1===e.type){if(!Oo(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var t=0,n=e.children.length;t|^function(?:\s+[\w$]+)?\s*\(/,qo=/\([^)]*?\);*$/,Eo=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,jo={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Bo={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"]},Po=function(e){return"if("+e+")return null;"},Ho={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Po("$event.target !== $event.currentTarget"),ctrl:Po("!$event.ctrlKey"),shift:Po("!$event.shiftKey"),alt:Po("!$event.altKey"),meta:Po("!$event.metaKey"),left:Po("'button' in $event && $event.button !== 0"),middle:Po("'button' in $event && $event.button !== 1"),right:Po("'button' in $event && $event.button !== 2")};function Xo(e,t){var n=t?"nativeOn:":"on:",r="",a="";for(var i in e){var o=Ro(e[i]);e[i]&&e[i].dynamic?a+=i+","+o+",":r+='"'+i+'":'+o+","}return r="{"+r.slice(0,-1)+"}",a?n+"_d("+r+",["+a.slice(0,-1)+"])":n+r}function Ro(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map((function(e){return Ro(e)})).join(",")+"]";var t=Eo.test(e.value),n=Wo.test(e.value),r=Eo.test(e.value.replace(qo,""));if(e.modifiers){var a="",i="",o=[];for(var s in e.modifiers)if(Ho[s])i+=Ho[s],jo[s]&&o.push(s);else if("exact"===s){var c=e.modifiers;i+=Po(["ctrl","shift","alt","meta"].filter((function(e){return!c[e]})).map((function(e){return"$event."+e+"Key"})).join("||"))}else o.push(s);return o.length&&(a+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(Io).join("&&")+")return null;"}(o)),i&&(a+=i),"function($event){"+a+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function Io(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=jo[e],r=Bo[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Fo={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:N},$o=function(e){this.options=e,this.warn=e.warn||qr,this.transforms=Er(e.modules,"transformCode"),this.dataGenFns=Er(e.modules,"genData"),this.directives=D(D({},Fo),e.directives);var t=e.isReservedTag||Y;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Uo(e,t){var n=new $o(t);return{render:"with(this){return "+(e?Vo(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Vo(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Jo(e,t);if(e.once&&!e.onceProcessed)return Go(e,t);if(e.for&&!e.forProcessed)return Zo(e,t);if(e.if&&!e.ifProcessed)return Ko(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=rs(e,t),a="_t("+n+(r?","+r:""),i=e.attrs||e.dynamicAttrs?os((e.attrs||[]).concat(e.dynamicAttrs||[]).map((function(e){return{name:z(e.name),value:e.value,dynamic:e.dynamic}}))):null,o=e.attrsMap["v-bind"];!i&&!o||r||(a+=",null");i&&(a+=","+i);o&&(a+=(i?"":",null")+","+o);return a+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:rs(t,n,!0);return"_c("+e+","+es(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=es(e,t));var a=e.inlineTemplate?null:rs(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(a?","+a:"")+")"}for(var i=0;i>>0}(o):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var i=function(e,t){var n=e.children[0];0;if(n&&1===n.type){var r=Uo(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map((function(e){return"function(){"+e+"}"})).join(",")+"]}"}}(e,t);i&&(n+=i+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+os(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function ts(e){return 1===e.type&&("slot"===e.tag||e.children.some(ts))}function ns(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Ko(e,t,ns,"null");if(e.for&&!e.forProcessed)return Zo(e,t,ns);var r=e.slotScope===mo?"":String(e.slotScope),a="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(rs(e,t)||"undefined")+":undefined":rs(e,t)||"undefined":Vo(e,t))+"}",i=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+a+i+"}"}function rs(e,t,n,r,a){var i=e.children;if(i.length){var o=i[0];if(1===i.length&&o.for&&"template"!==o.tag&&"slot"!==o.tag){var s=n?t.maybeComponent(o)?",1":",0":"";return""+(r||Vo)(o,t)+s}var c=n?function(e,t){for(var n=0,r=0;r':'
',ds.innerHTML.indexOf(" ")>0}var ms=!!J&&hs(!1),_s=!!J&&hs(!0),Ms=L((function(e){var t=or(e);return t&&t.innerHTML})),bs=Sn.prototype.$mount;Sn.prototype.$mount=function(e,t){if((e=e&&or(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=Ms(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){0;var a=ps(r,{outputSourceRange:!1,shouldDecodeNewlines:ms,shouldDecodeNewlinesForHref:_s,delimiters:n.delimiters,comments:n.comments},this),i=a.render,o=a.staticRenderFns;n.render=i,n.staticRenderFns=o}}return bs.call(this,e,t)},Sn.compile=ps;const gs=Sn;var vs=n(8),ys=n.n(vs);const Ls={computed:{Horizon:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){return Horizon}))},methods:{formatDate:function(e){return ys()(1e3*e).add((new Date).getTimezoneOffset()/60)},formatDateIso:function(e){return ys()(e).add((new Date).getTimezoneOffset()/60)},jobBaseName:function(e){if(!e.includes("\\"))return e;var t=e.split("\\");return t[t.length-1]},autoLoadNewEntries:function(){this.autoLoadsNewEntries?(this.autoLoadsNewEntries=!1,localStorage.autoLoadsNewEntries=0):(this.autoLoadsNewEntries=!0,localStorage.autoLoadsNewEntries=1)},readableTimestamp:function(e){return this.formatDate(e).format("YYYY-MM-DD HH:mm:ss")}}};var As=n(9669),zs=n.n(As);const ws=[{path:"/",redirect:"/dashboard"},{path:"/dashboard",name:"dashboard",component:n(3958).Z},{path:"/monitoring",name:"monitoring",component:n(2429).Z},{path:"/monitoring/:tag",component:n(675).Z,children:[{path:"jobs",name:"monitoring-jobs",component:n(2475).Z,props:{type:"jobs"}},{path:"failed",name:"monitoring-failed",component:n(2475).Z,props:{type:"failed"}}]},{path:"/metrics",redirect:"/metrics/jobs"},{path:"/metrics/",component:n(900).Z,children:[{path:"jobs",name:"metrics-jobs",component:n(2289).Z},{path:"queues",name:"metrics-queues",component:n(7994).Z}]},{path:"/metrics/:type/:slug",name:"metrics-preview",component:n(16).Z},{path:"/jobs/:type",name:"jobs",component:n(4830).Z},{path:"/jobs/pending/:jobId",name:"pending-jobs-preview",component:n(6219).Z},{path:"/jobs/completed/:jobId",name:"completed-jobs-preview",component:n(6219).Z},{path:"/failed",name:"failed-jobs",component:n(3296).Z},{path:"/failed/:jobId",name:"failed-jobs-preview",component:n(511).Z},{path:"/batches",name:"batches",component:n(5632).Z},{path:"/batches/:batchId",name:"batches-preview",component:n(9178).Z}];function Ts(e,t){for(var n in t)e[n]=t[n];return e}var ks=/[!'()*]/g,xs=function(e){return"%"+e.charCodeAt(0).toString(16)},Os=/%2C/g,Ds=function(e){return encodeURIComponent(e).replace(ks,xs).replace(Os,",")};function Ss(e){try{return decodeURIComponent(e)}catch(e){0}return e}var Ns=function(e){return null==e||"object"==typeof e?e:String(e)};function Ys(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach((function(e){var n=e.replace(/\+/g," ").split("="),r=Ss(n.shift()),a=n.length>0?Ss(n.join("=")):null;void 0===t[r]?t[r]=a:Array.isArray(t[r])?t[r].push(a):t[r]=[t[r],a]})),t):t}function Cs(e){var t=e?Object.keys(e).map((function(t){var n=e[t];if(void 0===n)return"";if(null===n)return Ds(t);if(Array.isArray(n)){var r=[];return n.forEach((function(e){void 0!==e&&(null===e?r.push(Ds(t)):r.push(Ds(t)+"="+Ds(e)))})),r.join("&")}return Ds(t)+"="+Ds(n)})).filter((function(e){return e.length>0})).join("&"):null;return t?"?"+t:""}var Ws=/\/?$/;function qs(e,t,n,r){var a=r&&r.options.stringifyQuery,i=t.query||{};try{i=Es(i)}catch(e){}var o={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:i,params:t.params||{},fullPath:Ps(t,a),matched:e?Bs(e):[]};return n&&(o.redirectedFrom=Ps(n,a)),Object.freeze(o)}function Es(e){if(Array.isArray(e))return e.map(Es);if(e&&"object"==typeof e){var t={};for(var n in e)t[n]=Es(e[n]);return t}return e}var js=qs(null,{path:"/"});function Bs(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function Ps(e,t){var n=e.path,r=e.query;void 0===r&&(r={});var a=e.hash;return void 0===a&&(a=""),(n||"/")+(t||Cs)(r)+a}function Hs(e,t,n){return t===js?e===t:!!t&&(e.path&&t.path?e.path.replace(Ws,"")===t.path.replace(Ws,"")&&(n||e.hash===t.hash&&Xs(e.query,t.query)):!(!e.name||!t.name)&&(e.name===t.name&&(n||e.hash===t.hash&&Xs(e.query,t.query)&&Xs(e.params,t.params))))}function Xs(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var n=Object.keys(e).sort(),r=Object.keys(t).sort();return n.length===r.length&&n.every((function(n,a){var i=e[n];if(r[a]!==n)return!1;var o=t[n];return null==i||null==o?i===o:"object"==typeof i&&"object"==typeof o?Xs(i,o):String(i)===String(o)}))}function Rs(e){for(var t=0;t=0&&(t=e.slice(r),e=e.slice(0,r));var a=e.indexOf("?");return a>=0&&(n=e.slice(a+1),e=e.slice(0,a)),{path:e,query:n,hash:t}}(a.path||""),l=t&&t.path||"/",u=c.path?$s(c.path,l,n||a.append):l,d=function(e,t,n){void 0===t&&(t={});var r,a=n||Ys;try{r=a(e||"")}catch(e){r={}}for(var i in t){var o=t[i];r[i]=Array.isArray(o)?o.map(Ns):Ns(o)}return r}(c.query,a.query,r&&r.options.parseQuery),f=a.hash||c.hash;return f&&"#"!==f.charAt(0)&&(f="#"+f),{_normalized:!0,path:u,query:d,hash:f}}var hc,mc=function(){},_c={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:[String,Array],default:"click"}},render:function(e){var t=this,n=this.$router,r=this.$route,a=n.resolve(this.to,r,this.append),i=a.location,o=a.route,s=a.href,c={},l=n.options.linkActiveClass,u=n.options.linkExactActiveClass,d=null==l?"router-link-active":l,f=null==u?"router-link-exact-active":u,p=null==this.activeClass?d:this.activeClass,h=null==this.exactActiveClass?f:this.exactActiveClass,m=o.redirectedFrom?qs(null,pc(o.redirectedFrom),null,n):o;c[h]=Hs(r,m,this.exactPath),c[p]=this.exact||this.exactPath?c[h]:function(e,t){return 0===e.path.replace(Ws,"/").indexOf(t.path.replace(Ws,"/"))&&(!t.hash||e.hash===t.hash)&&function(e,t){for(var n in t)if(!(n in e))return!1;return!0}(e.query,t.query)}(r,m);var _=c[h]?this.ariaCurrentValue:null,M=function(e){Mc(e)&&(t.replace?n.replace(i,mc):n.push(i,mc))},b={click:Mc};Array.isArray(this.event)?this.event.forEach((function(e){b[e]=M})):b[this.event]=M;var g={class:c},v=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:s,route:o,navigate:M,isActive:c[p],isExactActive:c[h]});if(v){if(1===v.length)return v[0];if(v.length>1||!v.length)return 0===v.length?e():e("span",{},v)}if("a"===this.tag)g.on=b,g.attrs={href:s,"aria-current":_};else{var y=bc(this.$slots.default);if(y){y.isStatic=!1;var L=y.data=Ts({},y.data);for(var A in L.on=L.on||{},L.on){var z=L.on[A];A in b&&(L.on[A]=Array.isArray(z)?z:[z])}for(var w in b)w in L.on?L.on[w].push(b[w]):L.on[w]=M;var T=y.data.attrs=Ts({},y.data.attrs);T.href=s,T["aria-current"]=_}else g.on=b}return e(this.tag,g,this.$slots.default)}};function Mc(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||void 0!==e.button&&0!==e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function bc(e){if(e)for(var t,n=0;n-1&&(s.params[f]=n.params[f]);return s.path=fc(u.path,s.params),c(u,s,o)}if(s.path){s.params={};for(var p=0;p=e.length?n():e[a]?t(e[a],(function(){r(a+1)})):r(a+1)};r(0)}var Fc={redirected:2,aborted:4,cancelled:8,duplicated:16};function $c(e,t){return Vc(e,t,Fc.redirected,'Redirected when going from "'+e.fullPath+'" to "'+function(e){if("string"==typeof e)return e;if("path"in e)return e.path;var t={};return Jc.forEach((function(n){n in e&&(t[n]=e[n])})),JSON.stringify(t,null,2)}(t)+'" via a navigation guard.')}function Uc(e,t){return Vc(e,t,Fc.cancelled,'Navigation cancelled from "'+e.fullPath+'" to "'+t.fullPath+'" with a new navigation.')}function Vc(e,t,n,r){var a=new Error(r);return a._isRouter=!0,a.from=e,a.to=t,a.type=n,a}var Jc=["params","query","hash"];function Gc(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function Kc(e,t){return Gc(e)&&e._isRouter&&(null==t||e.type===t)}function Qc(e){return function(t,n,r){var a=!1,i=0,o=null;Zc(e,(function(e,t,n,s){if("function"==typeof e&&void 0===e.cid){a=!0,i++;var c,l=nl((function(t){var a;((a=t).__esModule||tl&&"Module"===a[Symbol.toStringTag])&&(t=t.default),e.resolved="function"==typeof t?t:hc.extend(t),n.components[s]=t,--i<=0&&r()})),u=nl((function(e){var t="Failed to resolve async component "+s+": "+e;o||(o=Gc(e)?e:new Error(t),r(o))}));try{c=e(l,u)}catch(e){u(e)}if(c)if("function"==typeof c.then)c.then(l,u);else{var d=c.component;d&&"function"==typeof d.then&&d.then(l,u)}}})),a||r()}}function Zc(e,t){return el(e.map((function(e){return Object.keys(e.components).map((function(n){return t(e.components[n],e.instances[n],e,n)}))})))}function el(e){return Array.prototype.concat.apply([],e)}var tl="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function nl(e){var t=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!t)return t=!0,e.apply(this,n)}}var rl=function(e,t){this.router=e,this.base=function(e){if(!e)if(gc){var t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else e="/";"/"!==e.charAt(0)&&(e="/"+e);return e.replace(/\/$/,"")}(t),this.current=js,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function al(e,t,n,r){var a=Zc(e,(function(e,r,a,i){var o=function(e,t){"function"!=typeof e&&(e=hc.extend(e));return e.options[t]}(e,t);if(o)return Array.isArray(o)?o.map((function(e){return n(e,r,a,i)})):n(o,r,a,i)}));return el(r?a.reverse():a)}function il(e,t){if(t)return function(){return e.apply(t,arguments)}}rl.prototype.listen=function(e){this.cb=e},rl.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},rl.prototype.onError=function(e){this.errorCbs.push(e)},rl.prototype.transitionTo=function(e,t,n){var r,a=this;try{r=this.router.match(e,this.current)}catch(e){throw this.errorCbs.forEach((function(t){t(e)})),e}var i=this.current;this.confirmTransition(r,(function(){a.updateRoute(r),t&&t(r),a.ensureURL(),a.router.afterHooks.forEach((function(e){e&&e(r,i)})),a.ready||(a.ready=!0,a.readyCbs.forEach((function(e){e(r)})))}),(function(e){n&&n(e),e&&!a.ready&&(Kc(e,Fc.redirected)&&i===js||(a.ready=!0,a.readyErrorCbs.forEach((function(t){t(e)}))))}))},rl.prototype.confirmTransition=function(e,t,n){var r=this,a=this.current;this.pending=e;var i,o,s=function(e){!Kc(e)&&Gc(e)&&r.errorCbs.length&&r.errorCbs.forEach((function(t){t(e)})),n&&n(e)},c=e.matched.length-1,l=a.matched.length-1;if(Hs(e,a)&&c===l&&e.matched[c]===a.matched[l])return this.ensureURL(),s(((o=Vc(i=a,e,Fc.duplicated,'Avoided redundant navigation to current location: "'+i.fullPath+'".')).name="NavigationDuplicated",o));var u=function(e,t){var n,r=Math.max(e.length,t.length);for(n=0;n0)){var t=this.router,n=t.options.scrollBehavior,r=Hc&&n;r&&this.listeners.push(Sc());var a=function(){var n=e.current,a=sl(e.base);e.current===js&&a===e._startLocation||e.transitionTo(a,(function(e){r&&Nc(t,e,n,!0)}))};window.addEventListener("popstate",a),this.listeners.push((function(){window.removeEventListener("popstate",a)}))}},t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,n){var r=this,a=this.current;this.transitionTo(e,(function(e){Xc(Us(r.base+e.fullPath)),Nc(r.router,e,a,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var r=this,a=this.current;this.transitionTo(e,(function(e){Rc(Us(r.base+e.fullPath)),Nc(r.router,e,a,!1),t&&t(e)}),n)},t.prototype.ensureURL=function(e){if(sl(this.base)!==this.current.fullPath){var t=Us(this.base+this.current.fullPath);e?Xc(t):Rc(t)}},t.prototype.getCurrentLocation=function(){return sl(this.base)},t}(rl);function sl(e){var t=window.location.pathname;return e&&0===t.toLowerCase().indexOf(e.toLowerCase())&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var cl=function(e){function t(t,n,r){e.call(this,t,n),r&&function(e){var t=sl(e);if(!/^\/#/.test(t))return window.location.replace(Us(e+"/#"+t)),!0}(this.base)||ll()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;if(!(this.listeners.length>0)){var t=this.router.options.scrollBehavior,n=Hc&&t;n&&this.listeners.push(Sc());var r=function(){var t=e.current;ll()&&e.transitionTo(ul(),(function(r){n&&Nc(e.router,r,t,!0),Hc||pl(r.fullPath)}))},a=Hc?"popstate":"hashchange";window.addEventListener(a,r),this.listeners.push((function(){window.removeEventListener(a,r)}))}},t.prototype.push=function(e,t,n){var r=this,a=this.current;this.transitionTo(e,(function(e){fl(e.fullPath),Nc(r.router,e,a,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var r=this,a=this.current;this.transitionTo(e,(function(e){pl(e.fullPath),Nc(r.router,e,a,!1),t&&t(e)}),n)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;ul()!==t&&(e?fl(t):pl(t))},t.prototype.getCurrentLocation=function(){return ul()},t}(rl);function ll(){var e=ul();return"/"===e.charAt(0)||(pl("/"+e),!1)}function ul(){var e=window.location.href,t=e.indexOf("#");return t<0?"":e=e.slice(t+1)}function dl(e){var t=window.location.href,n=t.indexOf("#");return(n>=0?t.slice(0,n):t)+"#"+e}function fl(e){Hc?Xc(dl(e)):window.location.hash=e}function pl(e){Hc?Rc(dl(e)):window.location.replace(dl(e))}var hl=function(e){function t(t,n){e.call(this,t,n),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,n){var r=this;this.transitionTo(e,(function(e){r.stack=r.stack.slice(0,r.index+1).concat(e),r.index++,t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var r=this;this.transitionTo(e,(function(e){r.stack=r.stack.slice(0,r.index).concat(e),t&&t(e)}),n)},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){var e=t.current;t.index=n,t.updateRoute(r),t.router.afterHooks.forEach((function(t){t&&t(r,e)}))}),(function(e){Kc(e,Fc.duplicated)&&(t.index=n)}))}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(rl),ml=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Ac(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!Hc&&!1!==e.fallback,this.fallback&&(t="hash"),gc||(t="abstract"),this.mode=t,t){case"history":this.history=new ol(this,e.base);break;case"hash":this.history=new cl(this,e.base,this.fallback);break;case"abstract":this.history=new hl(this,e.base);break;default:0}},_l={currentRoute:{configurable:!0}};function Ml(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}ml.prototype.match=function(e,t,n){return this.matcher.match(e,t,n)},_l.currentRoute.get=function(){return this.history&&this.history.current},ml.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",(function(){var n=t.apps.indexOf(e);n>-1&&t.apps.splice(n,1),t.app===e&&(t.app=t.apps[0]||null),t.app||t.history.teardown()})),!this.app){this.app=e;var n=this.history;if(n instanceof ol||n instanceof cl){var r=function(e){n.setupListeners(),function(e){var r=n.current,a=t.options.scrollBehavior;Hc&&a&&"fullPath"in e&&Nc(t,e,r,!1)}(e)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(e){t.apps.forEach((function(t){t._route=e}))}))}},ml.prototype.beforeEach=function(e){return Ml(this.beforeHooks,e)},ml.prototype.beforeResolve=function(e){return Ml(this.resolveHooks,e)},ml.prototype.afterEach=function(e){return Ml(this.afterHooks,e)},ml.prototype.onReady=function(e,t){this.history.onReady(e,t)},ml.prototype.onError=function(e){this.history.onError(e)},ml.prototype.push=function(e,t,n){var r=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise((function(t,n){r.history.push(e,t,n)}));this.history.push(e,t,n)},ml.prototype.replace=function(e,t,n){var r=this;if(!t&&!n&&"undefined"!=typeof Promise)return new Promise((function(t,n){r.history.replace(e,t,n)}));this.history.replace(e,t,n)},ml.prototype.go=function(e){this.history.go(e)},ml.prototype.back=function(){this.go(-1)},ml.prototype.forward=function(){this.go(1)},ml.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map((function(e){return Object.keys(e.components).map((function(t){return e.components[t]}))}))):[]},ml.prototype.resolve=function(e,t,n){var r=pc(e,t=t||this.history.current,n,this),a=this.match(r,t),i=a.redirectedFrom||a.fullPath;return{location:r,route:a,href:function(e,t,n){var r="hash"===n?"#"+t:t;return e?Us(e+"/"+r):r}(this.history.base,i,this.mode),normalizedTo:r,resolved:a}},ml.prototype.getRoutes=function(){return this.matcher.getRoutes()},ml.prototype.addRoute=function(e,t){this.matcher.addRoute(e,t),this.history.current!==js&&this.history.transitionTo(this.history.getCurrentLocation())},ml.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==js&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(ml.prototype,_l),ml.install=function e(t){if(!e.installed||hc!==t){e.installed=!0,hc=t;var n=function(e){return void 0!==e},r=function(e,t){var r=e.$options._parentVnode;n(r)&&n(r=r.data)&&n(r=r.registerRouteInstance)&&r(e,t)};t.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",Is),t.component("RouterLink",_c);var a=t.config.optionMergeStrategies;a.beforeRouteEnter=a.beforeRouteLeave=a.beforeRouteUpdate=a.created}},ml.version="3.5.1",ml.isNavigationFailure=Kc,ml.NavigationFailureType=Fc,ml.START_LOCATION=js,gc&&window.Vue&&window.Vue.use(ml);const bl=ml;var gl=n(4566),vl=n.n(gl);window.Popper=n(8981).default;try{window.$=window.jQuery=n(9755),n(3734)}catch(e){}var yl=document.head.querySelector('meta[name="csrf-token"]');zs().defaults.headers.common["X-Requested-With"]="XMLHttpRequest",yl&&(zs().defaults.headers.common["X-CSRF-TOKEN"]=yl.content),gs.use(bl),gs.prototype.$http=zs().create(),window.Horizon.basePath="/"+window.Horizon.path;var Ll=window.Horizon.basePath+"/";""!==window.Horizon.path&&"/"!==window.Horizon.path||(Ll="/",window.Horizon.basePath="");var Al=new bl({routes:ws,mode:"history",base:Ll});gs.component("vue-json-pretty",vl()),gs.component("alert",n(6793).Z),gs.mixin(Ls),gs.directive("tooltip",(function(e,t){$(e).tooltip({title:t.value,placement:t.arg,trigger:"hover"})})),new gs({el:"#horizon",router:Al,data:function(){return{alert:{type:null,autoClose:0,message:"",confirmationProceed:null,confirmationCancel:null},autoLoadsNewEntries:"1"===localStorage.autoLoadsNewEntries}}})},3734:function(e,t,n){!function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=r(t),i=r(n);function o(e,t){for(var n=0;n=o)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};M.jQueryDetection(),_();var b="alert",g="4.6.0",v="bs.alert",y="."+v,L=".data-api",A=a.default.fn[b],z='[data-dismiss="alert"]',w="close"+y,T="closed"+y,k="click"+y+L,x="alert",O="fade",D="show",S=function(){function e(e){this._element=e}var t=e.prototype;return t.close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},t.dispose=function(){a.default.removeData(this._element,v),this._element=null},t._getRootElement=function(e){var t=M.getSelectorFromElement(e),n=!1;return t&&(n=document.querySelector(t)),n||(n=a.default(e).closest("."+x)[0]),n},t._triggerCloseEvent=function(e){var t=a.default.Event(w);return a.default(e).trigger(t),t},t._removeElement=function(e){var t=this;if(a.default(e).removeClass(D),a.default(e).hasClass(O)){var n=M.getTransitionDurationFromElement(e);a.default(e).one(M.TRANSITION_END,(function(n){return t._destroyElement(e,n)})).emulateTransitionEnd(n)}else this._destroyElement(e)},t._destroyElement=function(e){a.default(e).detach().trigger(T).remove()},e._jQueryInterface=function(t){return this.each((function(){var n=a.default(this),r=n.data(v);r||(r=new e(this),n.data(v,r)),"close"===t&&r[t](this)}))},e._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},s(e,null,[{key:"VERSION",get:function(){return g}}]),e}();a.default(document).on(k,z,S._handleDismiss(new S)),a.default.fn[b]=S._jQueryInterface,a.default.fn[b].Constructor=S,a.default.fn[b].noConflict=function(){return a.default.fn[b]=A,S._jQueryInterface};var N="button",Y="4.6.0",C="bs.button",W="."+C,q=".data-api",E=a.default.fn[N],j="active",B="btn",P="focus",H='[data-toggle^="button"]',X='[data-toggle="buttons"]',R='[data-toggle="button"]',I='[data-toggle="buttons"] .btn',F='input:not([type="hidden"])',$=".active",U=".btn",V="click"+W+q,J="focus"+W+q+" blur"+W+q,G="load"+W+q,K=function(){function e(e){this._element=e,this.shouldAvoidTriggerChange=!1}var t=e.prototype;return t.toggle=function(){var e=!0,t=!0,n=a.default(this._element).closest(X)[0];if(n){var r=this._element.querySelector(F);if(r){if("radio"===r.type)if(r.checked&&this._element.classList.contains(j))e=!1;else{var i=n.querySelector($);i&&a.default(i).removeClass(j)}e&&("checkbox"!==r.type&&"radio"!==r.type||(r.checked=!this._element.classList.contains(j)),this.shouldAvoidTriggerChange||a.default(r).trigger("change")),r.focus(),t=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(t&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(j)),e&&a.default(this._element).toggleClass(j))},t.dispose=function(){a.default.removeData(this._element,C),this._element=null},e._jQueryInterface=function(t,n){return this.each((function(){var r=a.default(this),i=r.data(C);i||(i=new e(this),r.data(C,i)),i.shouldAvoidTriggerChange=n,"toggle"===t&&i[t]()}))},s(e,null,[{key:"VERSION",get:function(){return Y}}]),e}();a.default(document).on(V,H,(function(e){var t=e.target,n=t;if(a.default(t).hasClass(B)||(t=a.default(t).closest(U)[0]),!t||t.hasAttribute("disabled")||t.classList.contains("disabled"))e.preventDefault();else{var r=t.querySelector(F);if(r&&(r.hasAttribute("disabled")||r.classList.contains("disabled")))return void e.preventDefault();"INPUT"!==n.tagName&&"LABEL"===t.tagName||K._jQueryInterface.call(a.default(t),"toggle","INPUT"===n.tagName)}})).on(J,H,(function(e){var t=a.default(e.target).closest(U)[0];a.default(t).toggleClass(P,/^focus(in)?$/.test(e.type))})),a.default(window).on(G,(function(){for(var e=[].slice.call(document.querySelectorAll(I)),t=0,n=e.length;t0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var t=e.prototype;return t.next=function(){this._isSliding||this._slide(ue)},t.nextWhenVisible=function(){var e=a.default(this._element);!document.hidden&&e.is(":visible")&&"hidden"!==e.css("visibility")&&this.next()},t.prev=function(){this._isSliding||this._slide(de)},t.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(Be)&&(M.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},t.cycle=function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},t.to=function(e){var t=this;this._activeElement=this._element.querySelector(qe);var n=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)a.default(this._element).one(me,(function(){return t.to(e)}));else{if(n===e)return this.pause(),void this.cycle();var r=e>n?ue:de;this._slide(r,this._items[e])}},t.dispose=function(){a.default(this._element).off(te),a.default.removeData(this._element,ee),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},t._getConfig=function(e){return e=c({},ce,e),M.typeCheckConfig(Q,e,le),e},t._handleSwipe=function(){var e=Math.abs(this.touchDeltaX);if(!(e<=se)){var t=e/this.touchDeltaX;this.touchDeltaX=0,t>0&&this.prev(),t<0&&this.next()}},t._addEventListeners=function(){var e=this;this._config.keyboard&&a.default(this._element).on(_e,(function(t){return e._keydown(t)})),"hover"===this._config.pause&&a.default(this._element).on(Me,(function(t){return e.pause(t)})).on(be,(function(t){return e.cycle(t)})),this._config.touch&&this._addTouchEventListeners()},t._addTouchEventListeners=function(){var e=this;if(this._touchSupported){var t=function(t){e._pointerEvent&&Re[t.originalEvent.pointerType.toUpperCase()]?e.touchStartX=t.originalEvent.clientX:e._pointerEvent||(e.touchStartX=t.originalEvent.touches[0].clientX)},n=function(t){t.originalEvent.touches&&t.originalEvent.touches.length>1?e.touchDeltaX=0:e.touchDeltaX=t.originalEvent.touches[0].clientX-e.touchStartX},r=function(t){e._pointerEvent&&Re[t.originalEvent.pointerType.toUpperCase()]&&(e.touchDeltaX=t.originalEvent.clientX-e.touchStartX),e._handleSwipe(),"hover"===e._config.pause&&(e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout((function(t){return e.cycle(t)}),oe+e._config.interval))};a.default(this._element.querySelectorAll(je)).on(ze,(function(e){return e.preventDefault()})),this._pointerEvent?(a.default(this._element).on(Le,(function(e){return t(e)})),a.default(this._element).on(Ae,(function(e){return r(e)})),this._element.classList.add(Ce)):(a.default(this._element).on(ge,(function(e){return t(e)})),a.default(this._element).on(ve,(function(e){return n(e)})),a.default(this._element).on(ye,(function(e){return r(e)})))}},t._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case ae:e.preventDefault(),this.prev();break;case ie:e.preventDefault(),this.next()}},t._getItemIndex=function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(Ee)):[],this._items.indexOf(e)},t._getItemByDirection=function(e,t){var n=e===ue,r=e===de,a=this._getItemIndex(t),i=this._items.length-1;if((r&&0===a||n&&a===i)&&!this._config.wrap)return t;var o=(a+(e===de?-1:1))%this._items.length;return-1===o?this._items[this._items.length-1]:this._items[o]},t._triggerSlideEvent=function(e,t){var n=this._getItemIndex(e),r=this._getItemIndex(this._element.querySelector(qe)),i=a.default.Event(he,{relatedTarget:e,direction:t,from:r,to:n});return a.default(this._element).trigger(i),i},t._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var t=[].slice.call(this._indicatorsElement.querySelectorAll(We));a.default(t).removeClass(xe);var n=this._indicatorsElement.children[this._getItemIndex(e)];n&&a.default(n).addClass(xe)}},t._updateInterval=function(){var e=this._activeElement||this._element.querySelector(qe);if(e){var t=parseInt(e.getAttribute("data-interval"),10);t?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=t):this._config.interval=this._config.defaultInterval||this._config.interval}},t._slide=function(e,t){var n,r,i,o=this,s=this._element.querySelector(qe),c=this._getItemIndex(s),l=t||s&&this._getItemByDirection(e,s),u=this._getItemIndex(l),d=Boolean(this._interval);if(e===ue?(n=Se,r=Ne,i=fe):(n=De,r=Ye,i=pe),l&&a.default(l).hasClass(xe))this._isSliding=!1;else if(!this._triggerSlideEvent(l,i).isDefaultPrevented()&&s&&l){this._isSliding=!0,d&&this.pause(),this._setActiveIndicatorElement(l),this._activeElement=l;var f=a.default.Event(me,{relatedTarget:l,direction:i,from:c,to:u});if(a.default(this._element).hasClass(Oe)){a.default(l).addClass(r),M.reflow(l),a.default(s).addClass(n),a.default(l).addClass(n);var p=M.getTransitionDurationFromElement(s);a.default(s).one(M.TRANSITION_END,(function(){a.default(l).removeClass(n+" "+r).addClass(xe),a.default(s).removeClass(xe+" "+r+" "+n),o._isSliding=!1,setTimeout((function(){return a.default(o._element).trigger(f)}),0)})).emulateTransitionEnd(p)}else a.default(s).removeClass(xe),a.default(l).addClass(xe),this._isSliding=!1,a.default(this._element).trigger(f);d&&this.cycle()}},e._jQueryInterface=function(t){return this.each((function(){var n=a.default(this).data(ee),r=c({},ce,a.default(this).data());"object"==typeof t&&(r=c({},r,t));var i="string"==typeof t?t:r.slide;if(n||(n=new e(this,r),a.default(this).data(ee,n)),"number"==typeof t)n.to(t);else if("string"==typeof i){if(void 0===n[i])throw new TypeError('No method named "'+i+'"');n[i]()}else r.interval&&r.ride&&(n.pause(),n.cycle())}))},e._dataApiClickHandler=function(t){var n=M.getSelectorFromElement(this);if(n){var r=a.default(n)[0];if(r&&a.default(r).hasClass(ke)){var i=c({},a.default(r).data(),a.default(this).data()),o=this.getAttribute("data-slide-to");o&&(i.interval=!1),e._jQueryInterface.call(a.default(r),i),o&&a.default(r).data(ee).to(o),t.preventDefault()}}},s(e,null,[{key:"VERSION",get:function(){return Z}},{key:"Default",get:function(){return ce}}]),e}();a.default(document).on(Te,He,Ie._dataApiClickHandler),a.default(window).on(we,(function(){for(var e=[].slice.call(document.querySelectorAll(Xe)),t=0,n=e.length;t0&&(this._selector=o,this._triggerArray.push(i))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var t=e.prototype;return t.toggle=function(){a.default(this._element).hasClass(at)?this.hide():this.show()},t.show=function(){var t,n,r=this;if(!(this._isTransitioning||a.default(this._element).hasClass(at)||(this._parent&&0===(t=[].slice.call(this._parent.querySelectorAll(ut)).filter((function(e){return"string"==typeof r._config.parent?e.getAttribute("data-parent")===r._config.parent:e.classList.contains(it)}))).length&&(t=null),t&&(n=a.default(t).not(this._selector).data(Ue))&&n._isTransitioning))){var i=a.default.Event(Ze);if(a.default(this._element).trigger(i),!i.isDefaultPrevented()){t&&(e._jQueryInterface.call(a.default(t).not(this._selector),"hide"),n||a.default(t).data(Ue,null));var o=this._getDimension();a.default(this._element).removeClass(it).addClass(ot),this._element.style[o]=0,this._triggerArray.length&&a.default(this._triggerArray).removeClass(st).attr("aria-expanded",!0),this.setTransitioning(!0);var s=function(){a.default(r._element).removeClass(ot).addClass(it+" "+at),r._element.style[o]="",r.setTransitioning(!1),a.default(r._element).trigger(et)},c="scroll"+(o[0].toUpperCase()+o.slice(1)),l=M.getTransitionDurationFromElement(this._element);a.default(this._element).one(M.TRANSITION_END,s).emulateTransitionEnd(l),this._element.style[o]=this._element[c]+"px"}}},t.hide=function(){var e=this;if(!this._isTransitioning&&a.default(this._element).hasClass(at)){var t=a.default.Event(tt);if(a.default(this._element).trigger(t),!t.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",M.reflow(this._element),a.default(this._element).addClass(ot).removeClass(it+" "+at);var r=this._triggerArray.length;if(r>0)for(var i=0;i0},t._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=c({},t.offsets,e._config.offset(t.offsets,e._element)||{}),t}:t.offset=this._config.offset,t},t._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),c({},e,this._config.popperConfig)},e._jQueryInterface=function(t){return this.each((function(){var n=a.default(this).data(mt);if(n||(n=new e(this,"object"==typeof t?t:null),a.default(this).data(mt,n)),"string"==typeof t){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}}))},e._clearMenus=function(t){if(!t||t.which!==zt&&("keyup"!==t.type||t.which===yt))for(var n=[].slice.call(document.querySelectorAll(Ht)),r=0,i=n.length;r0&&o--,t.which===At&&odocument.documentElement.clientHeight;n||(this._element.style.overflowY="hidden"),this._element.classList.add(On);var r=M.getTransitionDurationFromElement(this._dialog);a.default(this._element).off(M.TRANSITION_END),a.default(this._element).one(M.TRANSITION_END,(function(){e._element.classList.remove(On),n||a.default(e._element).one(M.TRANSITION_END,(function(){e._element.style.overflowY=""})).emulateTransitionEnd(e._element,r)})).emulateTransitionEnd(r),this._element.focus()}},t._showElement=function(e){var t=this,n=a.default(this._element).hasClass(kn),r=this._dialog?this._dialog.querySelector(Sn):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),a.default(this._dialog).hasClass(An)&&r?r.scrollTop=0:this._element.scrollTop=0,n&&M.reflow(this._element),a.default(this._element).addClass(xn),this._config.focus&&this._enforceFocus();var i=a.default.Event(mn,{relatedTarget:e}),o=function(){t._config.focus&&t._element.focus(),t._isTransitioning=!1,a.default(t._element).trigger(i)};if(n){var s=M.getTransitionDurationFromElement(this._dialog);a.default(this._dialog).one(M.TRANSITION_END,o).emulateTransitionEnd(s)}else o()},t._enforceFocus=function(){var e=this;a.default(document).off(_n).on(_n,(function(t){document!==t.target&&e._element!==t.target&&0===a.default(e._element).has(t.target).length&&e._element.focus()}))},t._setEscapeEvent=function(){var e=this;this._isShown?a.default(this._element).on(gn,(function(t){e._config.keyboard&&t.which===cn?(t.preventDefault(),e.hide()):e._config.keyboard||t.which!==cn||e._triggerBackdropTransition()})):this._isShown||a.default(this._element).off(gn)},t._setResizeEvent=function(){var e=this;this._isShown?a.default(window).on(Mn,(function(t){return e.handleUpdate(t)})):a.default(window).off(Mn)},t._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop((function(){a.default(document.body).removeClass(Tn),e._resetAdjustments(),e._resetScrollbar(),a.default(e._element).trigger(pn)}))},t._removeBackdrop=function(){this._backdrop&&(a.default(this._backdrop).remove(),this._backdrop=null)},t._showBackdrop=function(e){var t=this,n=a.default(this._element).hasClass(kn)?kn:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=wn,n&&this._backdrop.classList.add(n),a.default(this._backdrop).appendTo(document.body),a.default(this._element).on(bn,(function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===t._config.backdrop?t._triggerBackdropTransition():t.hide())})),n&&M.reflow(this._backdrop),a.default(this._backdrop).addClass(xn),!e)return;if(!n)return void e();var r=M.getTransitionDurationFromElement(this._backdrop);a.default(this._backdrop).one(M.TRANSITION_END,e).emulateTransitionEnd(r)}else if(!this._isShown&&this._backdrop){a.default(this._backdrop).removeClass(xn);var i=function(){t._removeBackdrop(),e&&e()};if(a.default(this._element).hasClass(kn)){var o=M.getTransitionDurationFromElement(this._backdrop);a.default(this._backdrop).one(M.TRANSITION_END,i).emulateTransitionEnd(o)}else i()}else e&&e()},t._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(e.left+e.right)
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",customClass:"",sanitize:!0,sanitizeFn:null,whiteList:jn,popperConfig:null},er="show",tr="out",nr={HIDE:"hide"+$n,HIDDEN:"hidden"+$n,SHOW:"show"+$n,SHOWN:"shown"+$n,INSERTED:"inserted"+$n,CLICK:"click"+$n,FOCUSIN:"focusin"+$n,FOCUSOUT:"focusout"+$n,MOUSEENTER:"mouseenter"+$n,MOUSELEAVE:"mouseleave"+$n},rr="fade",ar="show",ir=".tooltip-inner",or=".arrow",sr="hover",cr="focus",lr="click",ur="manual",dr=function(){function e(e,t){if(void 0===i.default)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var t=e.prototype;return t.enable=function(){this._isEnabled=!0},t.disable=function(){this._isEnabled=!1},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled},t.toggle=function(e){if(this._isEnabled)if(e){var t=this.constructor.DATA_KEY,n=a.default(e.currentTarget).data(t);n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),a.default(e.currentTarget).data(t,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(a.default(this.getTipElement()).hasClass(ar))return void this._leave(null,this);this._enter(null,this)}},t.dispose=function(){clearTimeout(this._timeout),a.default.removeData(this.element,this.constructor.DATA_KEY),a.default(this.element).off(this.constructor.EVENT_KEY),a.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&a.default(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},t.show=function(){var e=this;if("none"===a.default(this.element).css("display"))throw new Error("Please use show on visible elements");var t=a.default.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){a.default(this.element).trigger(t);var n=M.findShadowRoot(this.element),r=a.default.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!r)return;var o=this.getTipElement(),s=M.getUID(this.constructor.NAME);o.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&a.default(o).addClass(rr);var c="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,l=this._getAttachment(c);this.addAttachmentClass(l);var u=this._getContainer();a.default(o).data(this.constructor.DATA_KEY,this),a.default.contains(this.element.ownerDocument.documentElement,this.tip)||a.default(o).appendTo(u),a.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new i.default(this.element,o,this._getPopperConfig(l)),a.default(o).addClass(ar),a.default(o).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&a.default(document.body).children().on("mouseover",null,a.default.noop);var d=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,a.default(e.element).trigger(e.constructor.Event.SHOWN),t===tr&&e._leave(null,e)};if(a.default(this.tip).hasClass(rr)){var f=M.getTransitionDurationFromElement(this.tip);a.default(this.tip).one(M.TRANSITION_END,d).emulateTransitionEnd(f)}else d()}},t.hide=function(e){var t=this,n=this.getTipElement(),r=a.default.Event(this.constructor.Event.HIDE),i=function(){t._hoverState!==er&&n.parentNode&&n.parentNode.removeChild(n),t._cleanTipClass(),t.element.removeAttribute("aria-describedby"),a.default(t.element).trigger(t.constructor.Event.HIDDEN),null!==t._popper&&t._popper.destroy(),e&&e()};if(a.default(this.element).trigger(r),!r.isDefaultPrevented()){if(a.default(n).removeClass(ar),"ontouchstart"in document.documentElement&&a.default(document.body).children().off("mouseover",null,a.default.noop),this._activeTrigger[lr]=!1,this._activeTrigger[cr]=!1,this._activeTrigger[sr]=!1,a.default(this.tip).hasClass(rr)){var o=M.getTransitionDurationFromElement(n);a.default(n).one(M.TRANSITION_END,i).emulateTransitionEnd(o)}else i();this._hoverState=""}},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(e){a.default(this.getTipElement()).addClass(Vn+"-"+e)},t.getTipElement=function(){return this.tip=this.tip||a.default(this.config.template)[0],this.tip},t.setContent=function(){var e=this.getTipElement();this.setElementContent(a.default(e.querySelectorAll(ir)),this.getTitle()),a.default(e).removeClass(rr+" "+ar)},t.setElementContent=function(e,t){"object"!=typeof t||!t.nodeType&&!t.jquery?this.config.html?(this.config.sanitize&&(t=Xn(t,this.config.whiteList,this.config.sanitizeFn)),e.html(t)):e.text(t):this.config.html?a.default(t).parent().is(e)||e.empty().append(t):e.text(a.default(t).text())},t.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e||(e="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),e},t._getPopperConfig=function(e){var t=this;return c({},{placement:e,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:or},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}},this.config.popperConfig)},t._getOffset=function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=c({},t.offsets,e.config.offset(t.offsets,e.element)||{}),t}:t.offset=this.config.offset,t},t._getContainer=function(){return!1===this.config.container?document.body:M.isElement(this.config.container)?a.default(this.config.container):a.default(document).find(this.config.container)},t._getAttachment=function(e){return Qn[e.toUpperCase()]},t._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach((function(t){if("click"===t)a.default(e.element).on(e.constructor.Event.CLICK,e.config.selector,(function(t){return e.toggle(t)}));else if(t!==ur){var n=t===sr?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,r=t===sr?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;a.default(e.element).on(n,e.config.selector,(function(t){return e._enter(t)})).on(r,e.config.selector,(function(t){return e._leave(t)}))}})),this._hideModalHandler=function(){e.element&&e.hide()},a.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=c({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==e)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},t._enter=function(e,t){var n=this.constructor.DATA_KEY;(t=t||a.default(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),a.default(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusin"===e.type?cr:sr]=!0),a.default(t.getTipElement()).hasClass(ar)||t._hoverState===er?t._hoverState=er:(clearTimeout(t._timeout),t._hoverState=er,t.config.delay&&t.config.delay.show?t._timeout=setTimeout((function(){t._hoverState===er&&t.show()}),t.config.delay.show):t.show())},t._leave=function(e,t){var n=this.constructor.DATA_KEY;(t=t||a.default(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),a.default(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusout"===e.type?cr:sr]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=tr,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout((function(){t._hoverState===tr&&t.hide()}),t.config.delay.hide):t.hide())},t._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},t._getConfig=function(e){var t=a.default(this.element).data();return Object.keys(t).forEach((function(e){-1!==Gn.indexOf(e)&&delete t[e]})),"number"==typeof(e=c({},this.constructor.Default,t,"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),M.typeCheckConfig(Rn,e,this.constructor.DefaultType),e.sanitize&&(e.template=Xn(e.template,e.whiteList,e.sanitizeFn)),e},t._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},t._cleanTipClass=function(){var e=a.default(this.getTipElement()),t=e.attr("class").match(Jn);null!==t&&t.length&&e.removeClass(t.join(""))},t._handlePopperPlacementChange=function(e){this.tip=e.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},t._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(a.default(e).removeClass(rr),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},e._jQueryInterface=function(t){return this.each((function(){var n=a.default(this),r=n.data(Fn),i="object"==typeof t&&t;if((r||!/dispose|hide/.test(t))&&(r||(r=new e(this,i),n.data(Fn,r)),"string"==typeof t)){if(void 0===r[t])throw new TypeError('No method named "'+t+'"');r[t]()}}))},s(e,null,[{key:"VERSION",get:function(){return In}},{key:"Default",get:function(){return Zn}},{key:"NAME",get:function(){return Rn}},{key:"DATA_KEY",get:function(){return Fn}},{key:"Event",get:function(){return nr}},{key:"EVENT_KEY",get:function(){return $n}},{key:"DefaultType",get:function(){return Kn}}]),e}();a.default.fn[Rn]=dr._jQueryInterface,a.default.fn[Rn].Constructor=dr,a.default.fn[Rn].noConflict=function(){return a.default.fn[Rn]=Un,dr._jQueryInterface};var fr="popover",pr="4.6.0",hr="bs.popover",mr="."+hr,_r=a.default.fn[fr],Mr="bs-popover",br=new RegExp("(^|\\s)"+Mr+"\\S+","g"),gr=c({},dr.Default,{placement:"right",trigger:"click",content:"",template:''}),vr=c({},dr.DefaultType,{content:"(string|element|function)"}),yr="fade",Lr="show",Ar=".popover-header",zr=".popover-body",wr={HIDE:"hide"+mr,HIDDEN:"hidden"+mr,SHOW:"show"+mr,SHOWN:"shown"+mr,INSERTED:"inserted"+mr,CLICK:"click"+mr,FOCUSIN:"focusin"+mr,FOCUSOUT:"focusout"+mr,MOUSEENTER:"mouseenter"+mr,MOUSELEAVE:"mouseleave"+mr},Tr=function(e){function t(){return e.apply(this,arguments)||this}l(t,e);var n=t.prototype;return n.isWithContent=function(){return this.getTitle()||this._getContent()},n.addAttachmentClass=function(e){a.default(this.getTipElement()).addClass(Mr+"-"+e)},n.getTipElement=function(){return this.tip=this.tip||a.default(this.config.template)[0],this.tip},n.setContent=function(){var e=a.default(this.getTipElement());this.setElementContent(e.find(Ar),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(zr),t),e.removeClass(yr+" "+Lr)},n._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},n._cleanTipClass=function(){var e=a.default(this.getTipElement()),t=e.attr("class").match(br);null!==t&&t.length>0&&e.removeClass(t.join(""))},t._jQueryInterface=function(e){return this.each((function(){var n=a.default(this).data(hr),r="object"==typeof e?e:null;if((n||!/dispose|hide/.test(e))&&(n||(n=new t(this,r),a.default(this).data(hr,n)),"string"==typeof e)){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},s(t,null,[{key:"VERSION",get:function(){return pr}},{key:"Default",get:function(){return gr}},{key:"NAME",get:function(){return fr}},{key:"DATA_KEY",get:function(){return hr}},{key:"Event",get:function(){return wr}},{key:"EVENT_KEY",get:function(){return mr}},{key:"DefaultType",get:function(){return vr}}]),t}(dr);a.default.fn[fr]=Tr._jQueryInterface,a.default.fn[fr].Constructor=Tr,a.default.fn[fr].noConflict=function(){return a.default.fn[fr]=_r,Tr._jQueryInterface};var kr="scrollspy",xr="4.6.0",Or="bs.scrollspy",Dr="."+Or,Sr=".data-api",Nr=a.default.fn[kr],Yr={offset:10,method:"auto",target:""},Cr={offset:"number",method:"string",target:"(string|element)"},Wr="activate"+Dr,qr="scroll"+Dr,Er="load"+Dr+Sr,jr="dropdown-item",Br="active",Pr='[data-spy="scroll"]',Hr=".nav, .list-group",Xr=".nav-link",Rr=".nav-item",Ir=".list-group-item",Fr=".dropdown",$r=".dropdown-item",Ur=".dropdown-toggle",Vr="offset",Jr="position",Gr=function(){function e(e,t){var n=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(t),this._selector=this._config.target+" "+Xr+","+this._config.target+" "+Ir+","+this._config.target+" "+$r,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,a.default(this._scrollElement).on(qr,(function(e){return n._process(e)})),this.refresh(),this._process()}var t=e.prototype;return t.refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?Vr:Jr,n="auto"===this._config.method?t:this._config.method,r=n===Jr?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(e){var t,i=M.getSelectorFromElement(e);if(i&&(t=document.querySelector(i)),t){var o=t.getBoundingClientRect();if(o.width||o.height)return[a.default(t)[n]().top+r,i]}return null})).filter((function(e){return e})).sort((function(e,t){return e[0]-t[0]})).forEach((function(t){e._offsets.push(t[0]),e._targets.push(t[1])}))},t.dispose=function(){a.default.removeData(this._element,Or),a.default(this._scrollElement).off(Dr),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},t._getConfig=function(e){if("string"!=typeof(e=c({},Yr,"object"==typeof e&&e?e:{})).target&&M.isElement(e.target)){var t=a.default(e.target).attr("id");t||(t=M.getUID(kr),a.default(e.target).attr("id",t)),e.target="#"+t}return M.typeCheckConfig(kr,e,Cr),e},t._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},t._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},t._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},t._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=n){var r=this._targets[this._targets.length-1];this._activeTarget!==r&&this._activate(r)}else{if(this._activeTarget&&e0)return this._activeTarget=null,void this._clear();for(var a=this._offsets.length;a--;)this._activeTarget!==this._targets[a]&&e>=this._offsets[a]&&(void 0===this._offsets[a+1]||e1&&(a-=1)),[360*a,100*i,100*l]},a.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[a.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,r))*100,100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},a.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,a=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-a)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-a-t)/(1-t)||0),100*t]},a.rgb.keyword=function(e){var n=t[e];if(n)return n;var a,i=1/0;for(var o in r)if(r.hasOwnProperty(o)){var s=c(e,r[o]);s.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},a.rgb.lab=function(e){var t=a.rgb.xyz(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},a.hsl.rgb=function(e){var t,n,r,a,i,o=e[0]/360,s=e[1]/100,c=e[2]/100;if(0===s)return[i=255*c,i,i];t=2*c-(n=c<.5?c*(1+s):c+s-c*s),a=[0,0,0];for(var l=0;l<3;l++)(r=o+1/3*-(l-1))<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,a[l]=255*i;return a},a.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,a=n,i=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,a*=i<=1?i:2-i,[t,100*(0===r?2*a/(i+a):2*n/(r+n)),(r+n)/2*100]},a.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,a=Math.floor(t)%6,i=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*i),c=255*r*(1-n*(1-i));switch(r*=255,a){case 0:return[r,c,o];case 1:return[s,r,o];case 2:return[o,r,c];case 3:return[o,s,r];case 4:return[c,o,r];case 5:return[r,o,s]}},a.hsv.hsl=function(e){var t,n,r,a=e[0],i=e[1]/100,o=e[2]/100,s=Math.max(o,.01);return r=(2-i)*o,n=i*s,[a,100*(n=(n/=(t=(2-i)*s)<=1?t:2-t)||0),100*(r/=2)]},a.hwb.rgb=function(e){var t,n,r,a,i,o,s,c=e[0]/360,l=e[1]/100,u=e[2]/100,d=l+u;switch(d>1&&(l/=d,u/=d),r=6*c-(t=Math.floor(6*c)),0!=(1&t)&&(r=1-r),a=l+r*((n=1-u)-l),t){default:case 6:case 0:i=n,o=a,s=l;break;case 1:i=a,o=n,s=l;break;case 2:i=l,o=n,s=a;break;case 3:i=l,o=a,s=n;break;case 4:i=a,o=l,s=n;break;case 5:i=n,o=l,s=a}return[255*i,255*o,255*s]},a.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,a=e[3]/100;return[255*(1-Math.min(1,t*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a)),255*(1-Math.min(1,r*(1-a)+a))]},a.xyz.rgb=function(e){var t,n,r,a=e[0]/100,i=e[1]/100,o=e[2]/100;return n=-.9689*a+1.8758*i+.0415*o,r=.0557*a+-.204*i+1.057*o,t=(t=3.2406*a+-1.5372*i+-.4986*o)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},a.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},a.lab.xyz=function(e){var t,n,r,a=e[0];t=e[1]/500+(n=(a+16)/116),r=n-e[2]/200;var i=Math.pow(n,3),o=Math.pow(t,3),s=Math.pow(r,3);return n=i>.008856?i:(n-16/116)/7.787,t=o>.008856?o:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},a.lab.lch=function(e){var t,n=e[0],r=e[1],a=e[2];return(t=360*Math.atan2(a,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+a*a),t]},a.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},a.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],i=1 in arguments?arguments[1]:a.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var o=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(o+=60),o},a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])},a.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},a.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},a.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},a.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},a.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},a.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,a=e[2]/255,i=Math.max(Math.max(n,r),a),o=Math.min(Math.min(n,r),a),s=i-o;return t=s<=0?0:i===n?(r-a)/s%6:i===r?2+(a-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?o/(1-s):0)]},a.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,a=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(a=(n-.5*r)/(1-r)),[e[0],100*r,100*a]},a.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,a=0;return r<1&&(a=(n-r)/(1-r)),[e[0],100*r,100*a]},a.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var a=[0,0,0],i=t%1*6,o=i%1,s=1-o,c=0;switch(Math.floor(i)){case 0:a[0]=1,a[1]=o,a[2]=0;break;case 1:a[0]=s,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=o;break;case 3:a[0]=0,a[1]=s,a[2]=1;break;case 4:a[0]=o,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=s}return c=(1-n)*r,[255*(n*a[0]+c),255*(n*a[1]+c),255*(n*a[2]+c)]},a.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},a.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},a.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},a.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,a=0;return r<1&&(a=(n-r)/(1-r)),[e[0],100*r,100*a]},a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},a.gray.hsl=a.gray.hsv=function(e){return[0,0,e[0]]},a.gray.hwb=function(e){return[0,100,e[0]]},a.gray.cmyk=function(e){return[0,0,0,e[0]]},a.gray.lab=function(e){return[e[0],0,0]},a.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},a.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function i(){for(var e={},t=Object.keys(a),n=t.length,r=0;r1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}function f(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,a=0;a=0&&t<1?N(Math.round(255*t)):"")}function A(e,t){return t<1||e[3]&&e[3]<1?z(e,t):"rgb("+e[0]+", "+e[1]+", "+e[2]+")"}function z(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function w(e,t){return t<1||e[3]&&e[3]<1?T(e,t):"rgb("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%)"}function T(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function k(e,t){return t<1||e[3]&&e[3]<1?x(e,t):"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"}function x(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function O(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"}function D(e){return Y[e.slice(0,3)]}function S(e,t,n){return Math.min(Math.max(t,e),n)}function N(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var Y={};for(var C in h)Y[h[C]]=C;var W=function(e){return e instanceof W?e:this instanceof W?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof e?(t=m.getRgba(e))?this.setValues("rgb",t):(t=m.getHsla(e))?this.setValues("hsl",t):(t=m.getHwb(e))&&this.setValues("hwb",t):"object"==typeof e&&(void 0!==(t=e).r||void 0!==t.red?this.setValues("rgb",t):void 0!==t.l||void 0!==t.lightness?this.setValues("hsl",t):void 0!==t.v||void 0!==t.value?this.setValues("hsv",t):void 0!==t.w||void 0!==t.whiteness?this.setValues("hwb",t):void 0===t.c&&void 0===t.cyan||this.setValues("cmyk",t)))):new W(e);var t};W.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var e=this.values;return 1!==e.alpha?e.hwb.concat([e.alpha]):e.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var e=this.values;return e.rgb.concat([e.alpha])},hslaArray:function(){var e=this.values;return e.hsl.concat([e.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e=(e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return m.hexString(this.values.rgb)},rgbString:function(){return m.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return m.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return m.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return m.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return m.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return m.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return m.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var e=this.values.rgb;return e[0]<<16|e[1]<<8|e[2]},luminosity:function(){for(var e=this.values.rgb,t=[],n=0;nn?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,n=(t[0]+e)%360;return t[0]=n<0?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=this,r=e,a=void 0===t?.5:t,i=2*a-1,o=n.alpha()-r.alpha(),s=((i*o==-1?i:(i+o)/(1+i*o))+1)/2,c=1-s;return this.rgb(s*n.red()+c*r.red(),s*n.green()+c*r.green(),s*n.blue()+c*r.blue()).alpha(n.alpha()*a+r.alpha()*(1-a))},toJSON:function(){return this.rgb()},clone:function(){var e,t,n=new W,r=this.values,a=n.values;for(var i in r)r.hasOwnProperty(i)&&(e=r[i],"[object Array]"===(t={}.toString.call(e))?a[i]=e.slice(0):"[object Number]"===t&&(a[i]=e));return n}},W.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},W.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},W.prototype.getValues=function(e){for(var t=this.values,n={},r=0;r=0;a--)t.call(n,e[a],a);else for(a=0;a=1?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1===e?1:(n||(n=.3),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),-r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n))},easeOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1===e?1:(n||(n=.3),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),r*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},easeInOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:2==(e/=.5)?1:(n||(n=.45),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),e<1?r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*-.5:r*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},easeInBack:function(e){var t=1.70158;return e*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-H.easeOutBounce(1-e)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*H.easeInBounce(2*e):.5*H.easeOutBounce(2*e-1)+.5}},X={effects:H};P.easingEffects=H;var R=Math.PI,I=R/180,F=2*R,$=R/2,U=R/4,V=2*R/3,J={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,n,r,a,i){if(i){var o=Math.min(i,a/2,r/2),s=t+o,c=n+o,l=t+r-o,u=n+a-o;e.moveTo(t,c),st.left-n&&e.xt.top-n&&e.y0&&e.requestAnimationFrame()},advance:function(){for(var e,t,n,r,a=this.animations,i=0;i=n?(oe.callback(e.onAnimationComplete,[e],t),t.animating=!1,a.splice(i,1)):++i}},be=oe.options.resolve,ge=["push","pop","shift","splice","unshift"];function ve(e,t){e._chartjs?e._chartjs.listeners.push(t):(Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),ge.forEach((function(t){var n="onData"+t.charAt(0).toUpperCase()+t.slice(1),r=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:function(){var t=Array.prototype.slice.call(arguments),a=r.apply(this,t);return oe.each(e._chartjs.listeners,(function(e){"function"==typeof e[n]&&e[n].apply(e,t)})),a}})})))}function ye(e,t){var n=e._chartjs;if(n){var r=n.listeners,a=r.indexOf(t);-1!==a&&r.splice(a,1),r.length>0||(ge.forEach((function(t){delete e[t]})),delete e._chartjs)}}var Le=function(e,t){this.initialize(e,t)};oe.extend(Le.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(e,t){var n=this;n.chart=e,n.index=t,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(e){this.index=e},linkScales:function(){var e=this,t=e.getMeta(),n=e.chart,r=n.scales,a=e.getDataset(),i=n.options.scales;null!==t.xAxisID&&t.xAxisID in r&&!a.xAxisID||(t.xAxisID=a.xAxisID||i.xAxes[0].id),null!==t.yAxisID&&t.yAxisID in r&&!a.yAxisID||(t.yAxisID=a.yAxisID||i.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(e){return this.chart.scales[e]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&ye(this._data,this)},createMetaDataset:function(){var e=this,t=e.datasetElementType;return t&&new t({_chart:e.chart,_datasetIndex:e.index})},createMetaData:function(e){var t=this,n=t.dataElementType;return n&&new n({_chart:t.chart,_datasetIndex:t.index,_index:e})},addElements:function(){var e,t,n=this,r=n.getMeta(),a=n.getDataset().data||[],i=r.data;for(e=0,t=a.length;er&&e.insertElements(r,a-r)},insertElements:function(e,t){for(var n=0;na?(i=a/t.innerRadius,e.arc(o,s,t.innerRadius-a,r+i,n-i,!0)):e.arc(o,s,a,r+Math.PI/2,n-Math.PI/2),e.closePath(),e.clip()}function Te(e,t,n,r){var a,i=n.endAngle;for(r&&(n.endAngle=n.startAngle+ze,we(e,n),n.endAngle=i,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=ze,n.fullCircles--)),e.beginPath(),e.arc(n.x,n.y,n.innerRadius,n.startAngle+ze,n.startAngle,!0),a=0;as;)a-=ze;for(;a=o&&a<=s,l=i>=n.innerRadius&&i<=n.outerRadius;return c&&l}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,n=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,n=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},draw:function(){var e,t=this._chart.ctx,n=this._view,r="inner"===n.borderAlign?.33:0,a={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-r,0),pixelMargin:r,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/ze)};if(t.save(),t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor,a.fullCircles){for(a.endAngle=a.startAngle+ze,t.beginPath(),t.arc(a.x,a.y,a.outerRadius,a.startAngle,a.endAngle),t.arc(a.x,a.y,a.innerRadius,a.endAngle,a.startAngle,!0),t.closePath(),e=0;ee.x&&(t=Pe(t,"left","right")):e.basen?n:r,r:c.right||a<0?0:a>t?t:a,b:c.bottom||i<0?0:i>n?n:i,l:c.left||o<0?0:o>t?t:o}}function Re(e){var t=Be(e),n=t.right-t.left,r=t.bottom-t.top,a=Xe(e,n/2,r/2);return{outer:{x:t.left,y:t.top,w:n,h:r},inner:{x:t.left+a.l,y:t.top+a.t,w:n-a.l-a.r,h:r-a.t-a.b}}}function Ie(e,t,n){var r=null===t,a=null===n,i=!(!e||r&&a)&&Be(e);return i&&(r||t>=i.left&&t<=i.right)&&(a||n>=i.top&&n<=i.bottom)}Q._set("global",{elements:{rectangle:{backgroundColor:Ee,borderColor:Ee,borderSkipped:"bottom",borderWidth:0}}});var Fe=he.extend({_type:"rectangle",draw:function(){var e=this._chart.ctx,t=this._view,n=Re(t),r=n.outer,a=n.inner;e.fillStyle=t.backgroundColor,e.fillRect(r.x,r.y,r.w,r.h),r.w===a.w&&r.h===a.h||(e.save(),e.beginPath(),e.rect(r.x,r.y,r.w,r.h),e.clip(),e.fillStyle=t.borderColor,e.rect(a.x,a.y,a.w,a.h),e.fill("evenodd"),e.restore())},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){return Ie(this._view,e,t)},inLabelRange:function(e,t){var n=this._view;return je(n)?Ie(n,e,null):Ie(n,null,t)},inXRange:function(e){return Ie(this._view,e,null)},inYRange:function(e){return Ie(this._view,null,e)},getCenterPoint:function(){var e,t,n=this._view;return je(n)?(e=n.x,t=(n.y+n.base)/2):(e=(n.x+n.base)/2,t=n.y),{x:e,y:t}},getArea:function(){var e=this._view;return je(e)?e.width*Math.abs(e.y-e.base):e.height*Math.abs(e.x-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}}),$e={},Ue=xe,Ve=Se,Je=qe,Ge=Fe;$e.Arc=Ue,$e.Line=Ve,$e.Point=Je,$e.Rectangle=Ge;var Ke=oe._deprecated,Qe=oe.valueOrDefault;function Ze(e,t){var n,r,a,i,o=e._length;for(a=1,i=t.length;a0?Math.min(o,Math.abs(r-n)):o,n=r;return o}function et(e,t,n){var r,a,i=n.barThickness,o=t.stackCount,s=t.pixels[e],c=oe.isNullOrUndef(i)?Ze(t.scale,t.pixels):-1;return oe.isNullOrUndef(i)?(r=c*n.categoryPercentage,a=n.barPercentage):(r=i*o,a=1),{chunk:r/o,ratio:a,start:s-r/2}}function tt(e,t,n){var r,a=t.pixels,i=a[e],o=e>0?a[e-1]:null,s=e=0&&_.min>=0?_.min:_.max,y=void 0===_.start?_.end:_.max>=0&&_.min>=0?_.max-_.min:_.min-_.max,L=m.length;if(b||void 0===b&&void 0!==g)for(r=0;r=0&&l.max>=0?l.max:l.min,(_.min<0&&i<0||_.max>=0&&i>0)&&(v+=i));return o=f.getPixelForValue(v),c=(s=f.getPixelForValue(v+y))-o,void 0!==M&&Math.abs(c)=0&&!p||y<0&&p?o-M:o+M),{size:c,base:o,head:s,center:s+c/2}},calculateBarIndexPixels:function(e,t,n,r){var a=this,i="flex"===r.barThickness?tt(t,n,r):et(t,n,r),o=a.getStackIndex(e,a.getMeta().stack),s=i.start+i.chunk*o+i.chunk/2,c=Math.min(Qe(r.maxBarThickness,1/0),i.chunk*i.ratio);return{base:s-c/2,head:s+c/2,center:s,size:c}},draw:function(){var e=this,t=e.chart,n=e._getValueScale(),r=e.getMeta().data,a=e.getDataset(),i=r.length,o=0;for(oe.canvas.clipArea(t.ctx,t.chartArea);o=st?-ct:b<-st?ct:0)+_,v=Math.cos(b),y=Math.sin(b),L=Math.cos(g),A=Math.sin(g),z=b<=0&&g>=0||g>=ct,w=b<=lt&&g>=lt||g>=ct+lt,T=b<=-lt&&g>=-lt||g>=st+lt,k=b===-st||g>=st?-1:Math.min(v,v*m,L,L*m),x=T?-1:Math.min(y,y*m,A,A*m),O=z?1:Math.max(v,v*m,L,L*m),D=w?1:Math.max(y,y*m,A,A*m);l=(O-k)/2,u=(D-x)/2,d=-(O+k)/2,f=-(D+x)/2}for(r=0,a=h.length;r0&&!isNaN(e)?ct*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){var t,n,r,a,i,o,s,c,l=this,u=0,d=l.chart;if(!e)for(t=0,n=d.data.datasets.length;t(u=s>u?s:u)?c:u);return u},setHoverStyle:function(e){var t=e._model,n=e._options,r=oe.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=ot(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=ot(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=ot(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(e){for(var t=0,n=0;n0&&ht(l[e-1]._model,c)&&(n.controlPointPreviousX=u(n.controlPointPreviousX,c.left,c.right),n.controlPointPreviousY=u(n.controlPointPreviousY,c.top,c.bottom)),e0&&(i=e.getDatasetMeta(i[0]._datasetIndex).data),i},"x-axis":function(e,t){return Dt(e,t,{intersect:!1})},point:function(e,t){return kt(e,wt(t,e))},nearest:function(e,t,n){var r=wt(t,e);n.axis=n.axis||"xy";var a=Ot(n.axis);return xt(e,r,n.intersect,a)},x:function(e,t,n){var r=wt(t,e),a=[],i=!1;return Tt(e,(function(e){e.inXRange(r.x)&&a.push(e),e.inRange(r.x,r.y)&&(i=!0)})),n.intersect&&!i&&(a=[]),a},y:function(e,t,n){var r=wt(t,e),a=[],i=!1;return Tt(e,(function(e){e.inYRange(r.y)&&a.push(e),e.inRange(r.x,r.y)&&(i=!0)})),n.intersect&&!i&&(a=[]),a}}},Nt=oe.extend;function Yt(e,t){return oe.where(e,(function(e){return e.pos===t}))}function Ct(e,t){return e.sort((function(e,n){var r=t?n:e,a=t?e:n;return r.weight===a.weight?r.index-a.index:r.weight-a.weight}))}function Wt(e){var t,n,r,a=[];for(t=0,n=(e||[]).length;t div {\r\n\tposition: absolute;\r\n\twidth: 1000000px;\r\n\theight: 1000000px;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n\r\n.chartjs-size-monitor-shrink > div {\r\n\tposition: absolute;\r\n\twidth: 200%;\r\n\theight: 200%;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n",Ut=n(Object.freeze({__proto__:null,default:$t})),Vt="$chartjs",Jt="chartjs-",Gt=Jt+"size-monitor",Kt=Jt+"render-monitor",Qt=Jt+"render-animation",Zt=["animationstart","webkitAnimationStart"],en={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function tn(e,t){var n=oe.getStyle(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?Number(r[1]):void 0}function nn(e,t){var n=e.style,r=e.getAttribute("height"),a=e.getAttribute("width");if(e[Vt]={initial:{height:r,width:a,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===a||""===a){var i=tn(e,"width");void 0!==i&&(e.width=i)}if(null===r||""===r)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var o=tn(e,"height");void 0!==i&&(e.height=o)}return e}var rn=!!function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("e",null,t)}catch(e){}return e}()&&{passive:!0};function an(e,t,n){e.addEventListener(t,n,rn)}function on(e,t,n){e.removeEventListener(t,n,rn)}function sn(e,t,n,r,a){return{type:e,chart:t,native:a||null,x:void 0!==n?n:null,y:void 0!==r?r:null}}function cn(e,t){var n=en[e.type]||e.type,r=oe.getRelativePosition(e,t);return sn(n,t,r.x,r.y,e)}function ln(e,t){var n=!1,r=[];return function(){r=Array.prototype.slice.call(arguments),t=t||this,n||(n=!0,oe.requestAnimFrame.call(window,(function(){n=!1,e.apply(t,r)})))}}function un(e){var t=document.createElement("div");return t.className=e||"",t}function dn(e){var t=1e6,n=un(Gt),r=un(Gt+"-expand"),a=un(Gt+"-shrink");r.appendChild(un()),a.appendChild(un()),n.appendChild(r),n.appendChild(a),n._reset=function(){r.scrollLeft=t,r.scrollTop=t,a.scrollLeft=t,a.scrollTop=t};var i=function(){n._reset(),e()};return an(r,"scroll",i.bind(r,"expand")),an(a,"scroll",i.bind(a,"shrink")),n}function fn(e,t){var n=e[Vt]||(e[Vt]={}),r=n.renderProxy=function(e){e.animationName===Qt&&t()};oe.each(Zt,(function(t){an(e,t,r)})),n.reflow=!!e.offsetParent,e.classList.add(Kt)}function pn(e){var t=e[Vt]||{},n=t.renderProxy;n&&(oe.each(Zt,(function(t){on(e,t,n)})),delete t.renderProxy),e.classList.remove(Kt)}function hn(e,t,n){var r=e[Vt]||(e[Vt]={}),a=r.resizer=dn(ln((function(){if(r.resizer){var a=n.options.maintainAspectRatio&&e.parentNode,i=a?a.clientWidth:0;t(sn("resize",n)),a&&a.clientWidth0){var i=e[0];i.label?n=i.label:i.xLabel?n=i.xLabel:a>0&&i.index-1?e.split("\n"):e}function kn(e){var t=e._xScale,n=e._yScale||e._scale,r=e._index,a=e._datasetIndex,i=e._chart.getDatasetMeta(a).controller,o=i._getIndexScale(),s=i._getValueScale();return{xLabel:t?t.getLabelForIndex(r,a):"",yLabel:n?n.getLabelForIndex(r,a):"",label:o?""+o.getLabelForIndex(r,a):"",value:s?""+s.getLabelForIndex(r,a):"",index:r,datasetIndex:a,x:e._model.x,y:e._model.y}}function xn(e){var t=Q.global;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,rtl:e.rtl,textDirection:e.textDirection,bodyFontColor:e.bodyFontColor,_bodyFontFamily:Ln(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:Ln(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:Ln(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:Ln(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:Ln(e.titleFontStyle,t.defaultFontStyle),titleFontSize:Ln(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:Ln(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:Ln(e.footerFontStyle,t.defaultFontStyle),footerFontSize:Ln(e.footerFontSize,t.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground,displayColors:e.displayColors,borderColor:e.borderColor,borderWidth:e.borderWidth}}function On(e,t){var n=e._chart.ctx,r=2*t.yPadding,a=0,i=t.body,o=i.reduce((function(e,t){return e+t.before.length+t.lines.length+t.after.length}),0);o+=t.beforeBody.length+t.afterBody.length;var s=t.title.length,c=t.footer.length,l=t.titleFontSize,u=t.bodyFontSize,d=t.footerFontSize;r+=s*l,r+=s?(s-1)*t.titleSpacing:0,r+=s?t.titleMarginBottom:0,r+=o*u,r+=o?(o-1)*t.bodySpacing:0,r+=c?t.footerMarginTop:0,r+=c*d,r+=c?(c-1)*t.footerSpacing:0;var f=0,p=function(e){a=Math.max(a,n.measureText(e).width+f)};return n.font=oe.fontString(l,t._titleFontStyle,t._titleFontFamily),oe.each(t.title,p),n.font=oe.fontString(u,t._bodyFontStyle,t._bodyFontFamily),oe.each(t.beforeBody.concat(t.afterBody),p),f=t.displayColors?u+2:0,oe.each(i,(function(e){oe.each(e.before,p),oe.each(e.lines,p),oe.each(e.after,p)})),f=0,n.font=oe.fontString(d,t._footerFontStyle,t._footerFontFamily),oe.each(t.footer,p),{width:a+=2*t.xPadding,height:r}}function Dn(e,t){var n,r,a,i,o,s=e._model,c=e._chart,l=e._chart.chartArea,u="center",d="center";s.yc.height-t.height&&(d="bottom");var f=(l.left+l.right)/2,p=(l.top+l.bottom)/2;"center"===d?(n=function(e){return e<=f},r=function(e){return e>f}):(n=function(e){return e<=t.width/2},r=function(e){return e>=c.width-t.width/2}),a=function(e){return e+t.width+s.caretSize+s.caretPadding>c.width},i=function(e){return e-t.width-s.caretSize-s.caretPadding<0},o=function(e){return e<=p?"top":"bottom"},n(s.x)?(u="left",a(s.x)&&(u="center",d=o(s.y))):r(s.x)&&(u="right",i(s.x)&&(u="center",d=o(s.y)));var h=e._options;return{xAlign:h.xAlign?h.xAlign:u,yAlign:h.yAlign?h.yAlign:d}}function Sn(e,t,n,r){var a=e.x,i=e.y,o=e.caretSize,s=e.caretPadding,c=e.cornerRadius,l=n.xAlign,u=n.yAlign,d=o+s,f=c+s;return"right"===l?a-=t.width:"center"===l&&((a-=t.width/2)+t.width>r.width&&(a=r.width-t.width),a<0&&(a=0)),"top"===u?i+=d:i-="bottom"===u?t.height+d:t.height/2,"center"===u?"left"===l?a+=d:"right"===l&&(a-=d):"left"===l?a-=f:"right"===l&&(a+=f),{x:a,y:i}}function Nn(e,t){return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-e.xPadding:e.x+e.xPadding}function Yn(e){return wn([],Tn(e))}var Cn=he.extend({initialize:function(){this._model=xn(this._options),this._lastActive=[]},getTitle:function(){var e=this,t=e._options.callbacks,n=t.beforeTitle.apply(e,arguments),r=t.title.apply(e,arguments),a=t.afterTitle.apply(e,arguments),i=[];return i=wn(i,Tn(n)),i=wn(i,Tn(r)),i=wn(i,Tn(a))},getBeforeBody:function(){return Yn(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(e,t){var n=this,r=n._options.callbacks,a=[];return oe.each(e,(function(e){var i={before:[],lines:[],after:[]};wn(i.before,Tn(r.beforeLabel.call(n,e,t))),wn(i.lines,r.label.call(n,e,t)),wn(i.after,Tn(r.afterLabel.call(n,e,t))),a.push(i)})),a},getAfterBody:function(){return Yn(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var e=this,t=e._options.callbacks,n=t.beforeFooter.apply(e,arguments),r=t.footer.apply(e,arguments),a=t.afterFooter.apply(e,arguments),i=[];return i=wn(i,Tn(n)),i=wn(i,Tn(r)),i=wn(i,Tn(a))},update:function(e){var t,n,r=this,a=r._options,i=r._model,o=r._model=xn(a),s=r._active,c=r._data,l={xAlign:i.xAlign,yAlign:i.yAlign},u={x:i.x,y:i.y},d={width:i.width,height:i.height},f={x:i.caretX,y:i.caretY};if(s.length){o.opacity=1;var p=[],h=[];f=zn[a.position].call(r,s,r._eventPosition);var m=[];for(t=0,n=s.length;t0&&n.stroke()},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var n={width:t.width,height:t.height},r={x:t.x,y:t.y},a=Math.abs(t.opacity<.001)?0:t.opacity,i=t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length;this._options.enabled&&i&&(e.save(),e.globalAlpha=a,this.drawBackground(r,t,e,n),r.y+=t.yPadding,oe.rtl.overrideTextDirection(e,t.textDirection),this.drawTitle(r,t,e),this.drawBody(r,t,e),this.drawFooter(r,t,e),oe.rtl.restoreTextDirection(e,t.textDirection),e.restore())}},handleEvent:function(e){var t=this,n=t._options,r=!1;return t._lastActive=t._lastActive||[],"mouseout"===e.type?t._active=[]:(t._active=t._chart.getElementsAtEventForMode(e,n.mode,n),n.reverse&&t._active.reverse()),(r=!oe.arrayEquals(t._active,t._lastActive))&&(t._lastActive=t._active,(n.enabled||n.custom)&&(t._eventPosition={x:e.x,y:e.y},t.update(!0),t.pivot())),r}}),Wn=zn,qn=Cn;qn.positioners=Wn;var En=oe.valueOrDefault;function jn(){return oe.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,r){if("xAxes"===e||"yAxes"===e){var a,i,o,s=n[e].length;for(t[e]||(t[e]=[]),a=0;a=t[e].length&&t[e].push({}),!t[e][a].type||o.type&&o.type!==t[e][a].type?oe.merge(t[e][a],[yn.getScaleDefaults(i),o]):oe.merge(t[e][a],o)}else oe._merger(e,t,n,r)}})}function Bn(){return oe.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,r){var a=t[e]||Object.create(null),i=n[e];"scales"===e?t[e]=jn(a,i):"scale"===e?t[e]=oe.merge(a,[yn.getScaleDefaults(i.type),i]):oe._merger(e,t,n,r)}})}function Pn(e){var t=(e=e||Object.create(null)).data=e.data||{};return t.datasets=t.datasets||[],t.labels=t.labels||[],e.options=Bn(Q.global,Q[e.type],e.options||{}),e}function Hn(e){var t=e.options;oe.each(e.scales,(function(t){It.removeBox(e,t)})),t=Bn(Q.global,Q[e.config.type],t),e.options=e.config.options=t,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=t.tooltips,e.tooltip.initialize()}function Xn(e,t,n){var r,a=function(e){return e.id===r};do{r=t+n++}while(oe.findIndex(e,a)>=0);return r}function Rn(e){return"top"===e||"bottom"===e}function In(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}Q._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Fn=function(e,t){return this.construct(e,t),this};oe.extend(Fn.prototype,{construct:function(e,t){var n=this;t=Pn(t);var r=gn.acquireContext(e,t),a=r&&r.canvas,i=a&&a.height,o=a&&a.width;n.id=oe.uid(),n.ctx=r,n.canvas=a,n.config=t,n.width=o,n.height=i,n.aspectRatio=i?o/i:null,n.options=t.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,Fn.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(e){n.config.data=e}}),r&&a&&(n.initialize(),n.update())},initialize:function(){var e=this;return vn.notify(e,"beforeInit"),oe.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.initToolTip(),vn.notify(e,"afterInit"),e},clear:function(){return oe.canvas.clear(this),this},stop:function(){return Me.cancelAnimation(this),this},resize:function(e){var t=this,n=t.options,r=t.canvas,a=n.maintainAspectRatio&&t.aspectRatio||null,i=Math.max(0,Math.floor(oe.getMaximumWidth(r))),o=Math.max(0,Math.floor(a?i/a:oe.getMaximumHeight(r)));if((t.width!==i||t.height!==o)&&(r.width=t.width=i,r.height=t.height=o,r.style.width=i+"px",r.style.height=o+"px",oe.retinaScale(t,n.devicePixelRatio),!e)){var s={width:i,height:o};vn.notify(t,"resize",[s]),n.onResize&&n.onResize(t,s),t.stop(),t.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var e=this.options,t=e.scales||{},n=e.scale;oe.each(t.xAxes,(function(e,n){e.id||(e.id=Xn(t.xAxes,"x-axis-",n))})),oe.each(t.yAxes,(function(e,n){e.id||(e.id=Xn(t.yAxes,"y-axis-",n))})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var e=this,t=e.options,n=e.scales||{},r=[],a=Object.keys(n).reduce((function(e,t){return e[t]=!1,e}),{});t.scales&&(r=r.concat((t.scales.xAxes||[]).map((function(e){return{options:e,dtype:"category",dposition:"bottom"}})),(t.scales.yAxes||[]).map((function(e){return{options:e,dtype:"linear",dposition:"left"}})))),t.scale&&r.push({options:t.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),oe.each(r,(function(t){var r=t.options,i=r.id,o=En(r.type,t.dtype);Rn(r.position)!==Rn(t.dposition)&&(r.position=t.dposition),a[i]=!0;var s=null;if(i in n&&n[i].type===o)(s=n[i]).options=r,s.ctx=e.ctx,s.chart=e;else{var c=yn.getScaleConstructor(o);if(!c)return;s=new c({id:i,type:o,options:r,ctx:e.ctx,chart:e}),n[s.id]=s}s.mergeTicksOptions(),t.isDefault&&(e.scale=s)})),oe.each(a,(function(e,t){e||delete n[t]})),e.scales=n,yn.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e,t,n=this,r=[],a=n.data.datasets;for(e=0,t=a.length;e=0;--n)r.drawDataset(t[n],e);vn.notify(r,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var n=this,r={meta:e,index:e.index,easingValue:t};!1!==vn.notify(n,"beforeDatasetDraw",[r])&&(e.controller.draw(t),vn.notify(n,"afterDatasetDraw",[r]))},_drawTooltip:function(e){var t=this,n=t.tooltip,r={tooltip:n,easingValue:e};!1!==vn.notify(t,"beforeTooltipDraw",[r])&&(n.draw(),vn.notify(t,"afterTooltipDraw",[r]))},getElementAtEvent:function(e){return St.modes.single(this,e)},getElementsAtEvent:function(e){return St.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return St.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,n){var r=St.modes[t];return"function"==typeof r?r(this,e,n):[]},getDatasetAtEvent:function(e){return St.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(e){var t=this,n=t.data.datasets[e];n._meta||(n._meta={});var r=n._meta[t.id];return r||(r=n._meta[t.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n.order||0,index:e}),r},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;t=0;r--){var a=e[r];if(t(a))return a}},oe.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},oe.almostEquals=function(e,t,n){return Math.abs(e-t)=e},oe.max=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.max(e,t)}),Number.NEGATIVE_INFINITY)},oe.min=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.min(e,t)}),Number.POSITIVE_INFINITY)},oe.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return 0==(e=+e)||isNaN(e)?e:e>0?1:-1},oe.toRadians=function(e){return e*(Math.PI/180)},oe.toDegrees=function(e){return e*(180/Math.PI)},oe._decimalPlaces=function(e){if(oe.isFinite(e)){for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n}},oe.getAngleFromPoint=function(e,t){var n=t.x-e.x,r=t.y-e.y,a=Math.sqrt(n*n+r*r),i=Math.atan2(r,n);return i<-.5*Math.PI&&(i+=2*Math.PI),{angle:i,distance:a}},oe.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},oe.aliasPixel=function(e){return e%2==0?0:.5},oe._alignPixel=function(e,t,n){var r=e.currentDevicePixelRatio,a=n/2;return Math.round((t-a)*r)/r+a},oe.splineCurve=function(e,t,n,r){var a=e.skip?t:e,i=t,o=n.skip?t:n,s=Math.sqrt(Math.pow(i.x-a.x,2)+Math.pow(i.y-a.y,2)),c=Math.sqrt(Math.pow(o.x-i.x,2)+Math.pow(o.y-i.y,2)),l=s/(s+c),u=c/(s+c),d=r*(l=isNaN(l)?0:l),f=r*(u=isNaN(u)?0:u);return{previous:{x:i.x-d*(o.x-a.x),y:i.y-d*(o.y-a.y)},next:{x:i.x+f*(o.x-a.x),y:i.y+f*(o.y-a.y)}}},oe.EPSILON=Number.EPSILON||1e-14,oe.splineCurveMonotone=function(e){var t,n,r,a,i,o,s,c,l,u=(e||[]).map((function(e){return{model:e._model,deltaK:0,mK:0}})),d=u.length;for(t=0;t0?u[t-1]:null,(a=t0?u[t-1]:null,a=t=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},oe.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},oe.niceNum=function(e,t){var n=Math.floor(oe.log10(e)),r=e/Math.pow(10,n);return(t?r<1.5?1:r<3?2:r<7?5:10:r<=1?1:r<=2?2:r<=5?5:10)*Math.pow(10,n)},oe.requestAnimFrame="undefined"==typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},oe.getRelativePosition=function(e,t){var n,r,a=e.originalEvent||e,i=e.target||e.srcElement,o=i.getBoundingClientRect(),s=a.touches;s&&s.length>0?(n=s[0].clientX,r=s[0].clientY):(n=a.clientX,r=a.clientY);var c=parseFloat(oe.getStyle(i,"padding-left")),l=parseFloat(oe.getStyle(i,"padding-top")),u=parseFloat(oe.getStyle(i,"padding-right")),d=parseFloat(oe.getStyle(i,"padding-bottom")),f=o.right-o.left-c-u,p=o.bottom-o.top-l-d;return{x:n=Math.round((n-o.left-c)/f*i.width/t.currentDevicePixelRatio),y:r=Math.round((r-o.top-l)/p*i.height/t.currentDevicePixelRatio)}},oe.getConstraintWidth=function(e){return n(e,"max-width","clientWidth")},oe.getConstraintHeight=function(e){return n(e,"max-height","clientHeight")},oe._calculatePadding=function(e,t,n){return(t=oe.getStyle(e,t)).indexOf("%")>-1?n*parseInt(t,10)/100:parseInt(t,10)},oe._getParentNode=function(e){var t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t},oe.getMaximumWidth=function(e){var t=oe._getParentNode(e);if(!t)return e.clientWidth;var n=t.clientWidth,r=n-oe._calculatePadding(t,"padding-left",n)-oe._calculatePadding(t,"padding-right",n),a=oe.getConstraintWidth(e);return isNaN(a)?r:Math.min(r,a)},oe.getMaximumHeight=function(e){var t=oe._getParentNode(e);if(!t)return e.clientHeight;var n=t.clientHeight,r=n-oe._calculatePadding(t,"padding-top",n)-oe._calculatePadding(t,"padding-bottom",n),a=oe.getConstraintHeight(e);return isNaN(a)?r:Math.min(r,a)},oe.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},oe.retinaScale=function(e,t){var n=e.currentDevicePixelRatio=t||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var r=e.canvas,a=e.height,i=e.width;r.height=a*n,r.width=i*n,e.ctx.scale(n,n),r.style.height||r.style.width||(r.style.height=a+"px",r.style.width=i+"px")}},oe.fontString=function(e,t,n){return t+" "+e+"px "+n},oe.longestText=function(e,t,n,r){var a=(r=r||{}).data=r.data||{},i=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(a=r.data={},i=r.garbageCollect=[],r.font=t),e.font=t;var o,s,c,l,u,d=0,f=n.length;for(o=0;on.length){for(o=0;or&&(r=i),r},oe.numberOfLabelLines=function(e){var t=1;return oe.each(e,(function(e){oe.isArray(e)&&e.length>t&&(t=e.length)})),t},oe.color=q?function(e){return e instanceof CanvasGradient&&(e=Q.global.defaultColor),q(e)}:function(e){return e},oe.getHoverColor=function(e){return e instanceof CanvasPattern||e instanceof CanvasGradient?e:oe.color(e).saturate(.5).darken(.1).rgbString()}};function Vn(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function Jn(e){this.options=e||{}}oe.extend(Jn.prototype,{formats:Vn,parse:Vn,format:Vn,add:Vn,diff:Vn,startOf:Vn,endOf:Vn,_create:function(e){return e}}),Jn.override=function(e){oe.extend(Jn.prototype,e)};var Gn={_date:Jn},Kn={formatters:{values:function(e){return oe.isArray(e)?e:""+e},linear:function(e,t,n){var r=n.length>3?n[2]-n[1]:n[1]-n[0];Math.abs(r)>1&&e!==Math.floor(e)&&(r=e-Math.floor(e));var a=oe.log10(Math.abs(r)),i="";if(0!==e)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var o=oe.log10(Math.abs(e)),s=Math.floor(o)-Math.floor(a);s=Math.max(Math.min(s,20),0),i=e.toExponential(s)}else{var c=-1*Math.floor(a);c=Math.max(Math.min(c,20),0),i=e.toFixed(c)}else i="0";return i},logarithmic:function(e,t,n){var r=e/Math.pow(10,Math.floor(oe.log10(e)));return 0===e?"0":1===r||2===r||5===r||0===t||t===n.length-1?e.toExponential():""}}},Qn=oe.isArray,Zn=oe.isNullOrUndef,er=oe.valueOrDefault,tr=oe.valueAtIndexOrDefault;function nr(e,t){for(var n=[],r=e.length/t,a=0,i=e.length;ac+l)))return o}function ar(e,t){oe.each(e,(function(e){var n,r=e.gc,a=r.length/2;if(a>t){for(n=0;nl)return i;return Math.max(l,1)}function pr(e){var t,n,r=[];for(t=0,n=e.length;t=f||u<=1||!s.isHorizontal()?s.labelRotation=d:(t=(e=s._getLabelSizes()).widest.width,n=e.highest.height-e.highest.offset,r=Math.min(s.maxWidth,s.chart.width-t),t+6>(a=c.offset?s.maxWidth/u:r/(u-1))&&(a=r/(u-(c.offset?.5:1)),i=s.maxHeight-or(c.gridLines)-l.padding-sr(c.scaleLabel),o=Math.sqrt(t*t+n*n),p=oe.toDegrees(Math.min(Math.asin(Math.min((e.highest.height+6)/a,1)),Math.asin(Math.min(i/o,1))-Math.asin(n/o))),p=Math.max(d,Math.min(f,p))),s.labelRotation=p)},afterCalculateTickRotation:function(){oe.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){oe.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},n=e.chart,r=e.options,a=r.ticks,i=r.scaleLabel,o=r.gridLines,s=e._isVisible(),c="bottom"===r.position,l=e.isHorizontal();if(l?t.width=e.maxWidth:s&&(t.width=or(o)+sr(i)),l?s&&(t.height=or(o)+sr(i)):t.height=e.maxHeight,a.display&&s){var u=lr(a),d=e._getLabelSizes(),f=d.first,p=d.last,h=d.widest,m=d.highest,_=.4*u.minor.lineHeight,M=a.padding;if(l){var b=0!==e.labelRotation,g=oe.toRadians(e.labelRotation),v=Math.cos(g),y=Math.sin(g),L=y*h.width+v*(m.height-(b?m.offset:0))+(b?0:_);t.height=Math.min(e.maxHeight,t.height+L+M);var A,z,w=e.getPixelForTick(0)-e.left,T=e.right-e.getPixelForTick(e.getTicks().length-1);b?(A=c?v*f.width+y*f.offset:y*(f.height-f.offset),z=c?y*(p.height-p.offset):v*p.width+y*p.offset):(A=f.width/2,z=p.width/2),e.paddingLeft=Math.max((A-w)*e.width/(e.width-w),0)+3,e.paddingRight=Math.max((z-T)*e.width/(e.width-T),0)+3}else{var k=a.mirror?0:h.width+M+_;t.width=Math.min(e.maxWidth,t.width+k),e.paddingTop=f.height/2,e.paddingBottom=p.height/2}}e.handleMargins(),l?(e.width=e._length=n.width-e.margins.left-e.margins.right,e.height=t.height):(e.width=t.width,e.height=e._length=n.height-e.margins.top-e.margins.bottom)},handleMargins:function(){var e=this;e.margins&&(e.margins.left=Math.max(e.paddingLeft,e.margins.left),e.margins.top=Math.max(e.paddingTop,e.margins.top),e.margins.right=Math.max(e.paddingRight,e.margins.right),e.margins.bottom=Math.max(e.paddingBottom,e.margins.bottom))},afterFit:function(){oe.callback(this.options.afterFit,[this])},isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(Zn(e))return NaN;if(("number"==typeof e||e instanceof Number)&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},_convertTicksToLabels:function(e){var t,n,r,a=this;for(a.ticks=e.map((function(e){return e.value})),a.beforeTickToLabelConversion(),t=a.convertTicksToLabels(e)||a.ticks,a.afterTickToLabelConversion(),n=0,r=e.length;nr-1?null:t.getPixelForDecimal(e*a+(n?a/2:0))},getPixelForDecimal:function(e){var t=this;return t._reversePixels&&(e=1-e),t._startPixel+e*t._length},getDecimalForPixel:function(e){var t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this,t=e.min,n=e.max;return e.beginAtZero?0:t<0&&n<0?n:t>0&&n>0?t:0},_autoSkip:function(e){var t,n,r,a,i=this,o=i.options.ticks,s=i._length,c=o.maxTicksLimit||s/i._tickSize()+1,l=o.major.enabled?pr(e):[],u=l.length,d=l[0],f=l[u-1];if(u>c)return hr(e,l,u/c),ur(e);if(r=fr(l,e,s,c),u>0){for(t=0,n=u-1;t1?(f-d)/(u-1):null,mr(e,r,oe.isNullOrUndef(a)?0:d-a,d),mr(e,r,f,oe.isNullOrUndef(a)?e.length:f+a),ur(e)}return mr(e,r),ur(e)},_tickSize:function(){var e=this,t=e.options.ticks,n=oe.toRadians(e.labelRotation),r=Math.abs(Math.cos(n)),a=Math.abs(Math.sin(n)),i=e._getLabelSizes(),o=t.autoSkipPadding||0,s=i?i.widest.width+o:0,c=i?i.highest.height+o:0;return e.isHorizontal()?c*r>s*a?s/r:c/a:c*a=0&&(o=e),void 0!==i&&(e=n.indexOf(i))>=0&&(s=e),t.minIndex=o,t.maxIndex=s,t.min=n[o],t.max=n[s]},buildTicks:function(){var e=this,t=e._getLabels(),n=e.minIndex,r=e.maxIndex;e.ticks=0===n&&r===t.length-1?t:t.slice(n,r+1)},getLabelForIndex:function(e,t){var n=this,r=n.chart;return r.getDatasetMeta(t).controller._getValueScaleId()===n.id?n.getRightValue(r.data.datasets[t].data[e]):n._getLabels()[e]},_configure:function(){var e=this,t=e.options.offset,n=e.ticks;Mr.prototype._configure.call(e),e.isHorizontal()||(e._reversePixels=!e._reversePixels),n&&(e._startValue=e.minIndex-(t?.5:0),e._valueRange=Math.max(n.length-(t?0:1),1))},getPixelForValue:function(e,t,n){var r,a,i,o=this;return br(t)||br(n)||(e=o.chart.data.datasets[n].data[t]),br(e)||(r=o.isHorizontal()?e.x:e.y),(void 0!==r||void 0!==e&&isNaN(t))&&(a=o._getLabels(),e=oe.valueOrDefault(r,e),t=-1!==(i=a.indexOf(e))?i:t,isNaN(t)&&(t=e)),o.getPixelForDecimal((t-o._startValue)/o._valueRange)},getPixelForTick:function(e){var t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e],e+this.minIndex)},getValueForPixel:function(e){var t=this,n=Math.round(t._startValue+t.getDecimalForPixel(e)*t._valueRange);return Math.min(Math.max(n,0),t.ticks.length-1)},getBasePixel:function(){return this.bottom}}),yr=gr;vr._defaults=yr;var Lr=oe.noop,Ar=oe.isNullOrUndef;function zr(e,t){var n,r,a,i,o=[],s=1e-14,c=e.stepSize,l=c||1,u=e.maxTicks-1,d=e.min,f=e.max,p=e.precision,h=t.min,m=t.max,_=oe.niceNum((m-h)/u/l)*l;if(_u&&(_=oe.niceNum(i*_/u/l)*l),c||Ar(p)?n=Math.pow(10,oe._decimalPlaces(_)):(n=Math.pow(10,p),_=Math.ceil(_*n)/n),r=Math.floor(h/_)*_,a=Math.ceil(m/_)*_,c&&(!Ar(d)&&oe.almostWhole(d/_,_/1e3)&&(r=d),!Ar(f)&&oe.almostWhole(f/_,_/1e3)&&(a=f)),i=(a-r)/_,i=oe.almostEquals(i,Math.round(i),_/1e3)?Math.round(i):Math.ceil(i),r=Math.round(r*n)/n,a=Math.round(a*n)/n,o.push(Ar(d)?r:d);for(var M=1;M0&&r>0&&(e.min=0)}var a=void 0!==t.min||void 0!==t.suggestedMin,i=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(null===e.min?e.min=t.suggestedMin:e.min=Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(null===e.max?e.max=t.suggestedMax:e.max=Math.max(e.max,t.suggestedMax)),a!==i&&e.min>=e.max&&(a?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:function(){var e,t=this,n=t.options.ticks,r=n.stepSize,a=n.maxTicksLimit;return r?e=Math.ceil(t.max/r)-Math.floor(t.min/r)+1:(e=t._computeTickLimit(),a=a||11),a&&(e=Math.min(a,e)),e},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:Lr,buildTicks:function(){var e=this,t=e.options.ticks,n=e.getTickLimit(),r={maxTicks:n=Math.max(2,n),min:t.min,max:t.max,precision:t.precision,stepSize:oe.valueOrDefault(t.fixedStepSize,t.stepSize)},a=e.ticks=zr(r,e);e.handleDirectionalChanges(),e.max=oe.max(a),e.min=oe.min(a),t.reverse?(a.reverse(),e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max)},convertTicksToLabels:function(){var e=this;e.ticksAsNumbers=e.ticks.slice(),e.zeroLineIndex=e.ticks.indexOf(0),Mr.prototype.convertTicksToLabels.call(e)},_configure:function(){var e,t=this,n=t.getTicks(),r=t.min,a=t.max;Mr.prototype._configure.call(t),t.options.offset&&n.length&&(r-=e=(a-r)/Math.max(n.length-1,1)/2,a+=e),t._startValue=r,t._endValue=a,t._valueRange=a-r}}),Tr={position:"left",ticks:{callback:Kn.formatters.linear}},kr=0,xr=1;function Or(e,t,n){var r=[n.type,void 0===t&&void 0===n.stack?n.index:"",n.stack].join(".");return void 0===e[r]&&(e[r]={pos:[],neg:[]}),e[r]}function Dr(e,t,n,r){var a,i,o=e.options,s=Or(t,o.stacked,n),c=s.pos,l=s.neg,u=r.length;for(a=0;at.length-1?null:this.getPixelForValue(t[e])}}),Yr=Tr;Nr._defaults=Yr;var Cr=oe.valueOrDefault,Wr=oe.math.log10;function qr(e,t){var n,r,a=[],i=Cr(e.min,Math.pow(10,Math.floor(Wr(t.min)))),o=Math.floor(Wr(t.max)),s=Math.ceil(t.max/Math.pow(10,o));0===i?(n=Math.floor(Wr(t.minNotZero)),r=Math.floor(t.minNotZero/Math.pow(10,n)),a.push(i),i=r*Math.pow(10,n)):(n=Math.floor(Wr(i)),r=Math.floor(i/Math.pow(10,n)));var c=n<0?Math.pow(10,Math.abs(n)):1;do{a.push(i),10==++r&&(r=1,c=++n>=0?1:c),i=Math.round(r*Math.pow(10,n)*c)/c}while(n=0?e:t}var Br=Mr.extend({determineDataLimits:function(){var e,t,n,r,a,i,o=this,s=o.options,c=o.chart,l=c.data.datasets,u=o.isHorizontal();function d(e){return u?e.xAxisID===o.id:e.yAxisID===o.id}o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,o.minNotZero=Number.POSITIVE_INFINITY;var f=s.stacked;if(void 0===f)for(e=0;e0){var t=oe.min(e),n=oe.max(e);o.min=Math.min(o.min,t),o.max=Math.max(o.max,n)}}))}else for(e=0;e0?e.minNotZero=e.min:e.max<1?e.minNotZero=Math.pow(10,Math.floor(Wr(e.max))):e.minNotZero=n)},buildTicks:function(){var e=this,t=e.options.ticks,n=!e.isHorizontal(),r={min:jr(t.min),max:jr(t.max)},a=e.ticks=qr(r,e);e.max=oe.max(a),e.min=oe.min(a),t.reverse?(n=!n,e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max),n&&a.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),Mr.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(e,t){return this._getScaleLabel(this.chart.data.datasets[t].data[e])},getPixelForTick:function(e){var t=this.tickValues;return e<0||e>t.length-1?null:this.getPixelForValue(t[e])},_getFirstTickValue:function(e){var t=Math.floor(Wr(e));return Math.floor(e/Math.pow(10,t))*Math.pow(10,t)},_configure:function(){var e=this,t=e.min,n=0;Mr.prototype._configure.call(e),0===t&&(t=e._getFirstTickValue(e.minNotZero),n=Cr(e.options.ticks.fontSize,Q.global.defaultFontSize)/e._length),e._startValue=Wr(t),e._valueOffset=n,e._valueRange=(Wr(e.max)-Wr(t))/(1-n)},getPixelForValue:function(e){var t=this,n=0;return(e=+t.getRightValue(e))>t.min&&e>0&&(n=(Wr(e)-t._startValue)/t._valueRange+t._valueOffset),t.getPixelForDecimal(n)},getValueForPixel:function(e){var t=this,n=t.getDecimalForPixel(e);return 0===n&&0===t.min?0:Math.pow(10,t._startValue+(n-t._valueOffset)*t._valueRange)}}),Pr=Er;Br._defaults=Pr;var Hr=oe.valueOrDefault,Xr=oe.valueAtIndexOrDefault,Rr=oe.options.resolve,Ir={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:Kn.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}};function Fr(e){var t=e.ticks;return t.display&&e.display?Hr(t.fontSize,Q.global.defaultFontSize)+2*t.backdropPaddingY:0}function $r(e,t,n){return oe.isArray(n)?{w:oe.longestText(e,e.font,n),h:n.length*t}:{w:e.measureText(n).width,h:t}}function Ur(e,t,n,r,a){return e===r||e===a?{start:t-n/2,end:t+n/2}:ea?{start:t-n,end:t}:{start:t,end:t+n}}function Vr(e){var t,n,r,a=oe.options._parseFont(e.options.pointLabels),i={l:0,r:e.width,t:0,b:e.height-e.paddingTop},o={};e.ctx.font=a.string,e._pointLabelSizes=[];var s=e.chart.data.labels.length;for(t=0;ti.r&&(i.r=u.end,o.r=c),d.starti.b&&(i.b=d.end,o.b=c)}e.setReductions(e.drawingArea,i,o)}function Jr(e){return 0===e||180===e?"center":e<180?"left":"right"}function Gr(e,t,n,r){var a,i,o=n.y+r/2;if(oe.isArray(t))for(a=0,i=t.length;a270||e<90)&&(n.y-=t.h)}function Qr(e){var t=e.ctx,n=e.options,r=n.pointLabels,a=Fr(n),i=e.getDistanceFromCenterForValue(n.ticks.reverse?e.min:e.max),o=oe.options._parseFont(r);t.save(),t.font=o.string,t.textBaseline="middle";for(var s=e.chart.data.labels.length-1;s>=0;s--){var c=0===s?a/2:0,l=e.getPointPosition(s,i+c+5),u=Xr(r.fontColor,s,Q.global.defaultFontColor);t.fillStyle=u;var d=e.getIndexAngle(s),f=oe.toDegrees(d);t.textAlign=Jr(f),Kr(f,e._pointLabelSizes[s],l),Gr(t,e.pointLabels[s],l,o.lineHeight)}t.restore()}function Zr(e,t,n,r){var a,i=e.ctx,o=t.circular,s=e.chart.data.labels.length,c=Xr(t.color,r-1),l=Xr(t.lineWidth,r-1);if((o||s)&&c&&l){if(i.save(),i.strokeStyle=c,i.lineWidth=l,i.setLineDash&&(i.setLineDash(t.borderDash||[]),i.lineDashOffset=t.borderDashOffset||0),i.beginPath(),o)i.arc(e.xCenter,e.yCenter,n,0,2*Math.PI);else{a=e.getPointPosition(0,n),i.moveTo(a.x,a.y);for(var u=1;u0&&r>0?n:0)},_drawGrid:function(){var e,t,n,r=this,a=r.ctx,i=r.options,o=i.gridLines,s=i.angleLines,c=Hr(s.lineWidth,o.lineWidth),l=Hr(s.color,o.color);if(i.pointLabels.display&&Qr(r),o.display&&oe.each(r.ticks,(function(e,n){0!==n&&(t=r.getDistanceFromCenterForValue(r.ticksAsNumbers[n]),Zr(r,o,t,n))})),s.display&&c&&l){for(a.save(),a.lineWidth=c,a.strokeStyle=l,a.setLineDash&&(a.setLineDash(Rr([s.borderDash,o.borderDash,[]])),a.lineDashOffset=Rr([s.borderDashOffset,o.borderDashOffset,0])),e=r.chart.data.labels.length-1;e>=0;e--)t=r.getDistanceFromCenterForValue(i.ticks.reverse?r.min:r.max),n=r.getPointPosition(e,t),a.beginPath(),a.moveTo(r.xCenter,r.yCenter),a.lineTo(n.x,n.y),a.stroke();a.restore()}},_drawLabels:function(){var e=this,t=e.ctx,n=e.options.ticks;if(n.display){var r,a,i=e.getIndexAngle(0),o=oe.options._parseFont(n),s=Hr(n.fontColor,Q.global.defaultFontColor);t.save(),t.font=o.string,t.translate(e.xCenter,e.yCenter),t.rotate(i),t.textAlign="center",t.textBaseline="middle",oe.each(e.ticks,(function(i,c){(0!==c||n.reverse)&&(r=e.getDistanceFromCenterForValue(e.ticksAsNumbers[c]),n.showLabelBackdrop&&(a=t.measureText(i).width,t.fillStyle=n.backdropColor,t.fillRect(-a/2-n.backdropPaddingX,-r-o.size/2-n.backdropPaddingY,a+2*n.backdropPaddingX,o.size+2*n.backdropPaddingY)),t.fillStyle=s,t.fillText(i,0,-r))})),t.restore()}},_drawTitle:oe.noop}),na=Ir;ta._defaults=na;var ra=oe._deprecated,aa=oe.options.resolve,ia=oe.valueOrDefault,oa=Number.MIN_SAFE_INTEGER||-9007199254740991,sa=Number.MAX_SAFE_INTEGER||9007199254740991,ca={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},la=Object.keys(ca);function ua(e,t){return e-t}function da(e){var t,n,r,a={},i=[];for(t=0,n=e.length;tt&&s=0&&o<=s;){if(a=e[(r=o+s>>1)-1]||null,i=e[r],!a)return{lo:null,hi:i};if(i[t]n))return{lo:a,hi:i};s=r-1}}return{lo:i,hi:null}}function _a(e,t,n,r){var a=ma(e,t,n),i=a.lo?a.hi?a.lo:e[e.length-2]:e[0],o=a.lo?a.hi?a.hi:e[e.length-1]:e[1],s=o[t]-i[t],c=s?(n-i[t])/s:0,l=(o[r]-i[r])*c;return i[r]+l}function Ma(e,t){var n=e._adapter,r=e.options.time,a=r.parser,i=a||r.format,o=t;return"function"==typeof a&&(o=a(o)),oe.isFinite(o)||(o="string"==typeof i?n.parse(o,i):n.parse(o)),null!==o?+o:(a||"function"!=typeof i||(o=i(t),oe.isFinite(o)||(o=n.parse(o))),o)}function ba(e,t){if(oe.isNullOrUndef(t))return null;var n=e.options.time,r=Ma(e,e.getRightValue(t));return null===r||n.round&&(r=+e._adapter.startOf(r,n.round)),r}function ga(e,t,n,r){var a,i,o,s=la.length;for(a=la.indexOf(e);a=la.indexOf(n);i--)if(o=la[i],ca[o].common&&e._adapter.diff(a,r,o)>=t-1)return o;return la[n?la.indexOf(n):0]}function ya(e){for(var t=la.indexOf(e)+1,n=la.length;t1e5*l)throw t+" and "+n+" are too far apart with stepSize of "+l+" "+c;for(a=d;a=0&&(t[i].major=!0);return t}function wa(e,t,n){var r,a,i=[],o={},s=t.length;for(r=0;r1?da(h).sort(ua):h.sort(ua),f=Math.min(f,h[0]),p=Math.max(p,h[h.length-1])),f=ba(s,fa(u))||f,p=ba(s,pa(u))||p,f=f===sa?+l.startOf(Date.now(),d):f,p=p===oa?+l.endOf(Date.now(),d)+1:p,s.min=Math.min(f,p),s.max=Math.max(f+1,p),s._table=[],s._timestamps={data:h,datasets:m,labels:_}},buildTicks:function(){var e,t,n,r=this,a=r.min,i=r.max,o=r.options,s=o.ticks,c=o.time,l=r._timestamps,u=[],d=r.getLabelCapacity(a),f=s.source,p=o.distribution;for(l="data"===f||"auto"===f&&"series"===p?l.data:"labels"===f?l.labels:La(r,a,i,d),"ticks"===o.bounds&&l.length&&(a=l[0],i=l[l.length-1]),a=ba(r,fa(o))||a,i=ba(r,pa(o))||i,e=0,t=l.length;e=a&&n<=i&&u.push(n);return r.min=a,r.max=i,r._unit=c.unit||(s.autoSkip?ga(c.minUnit,r.min,r.max,d):va(r,u.length,c.minUnit,r.min,r.max)),r._majorUnit=s.major.enabled&&"year"!==r._unit?ya(r._unit):void 0,r._table=ha(r._timestamps.data,a,i,p),r._offsets=Aa(r._table,u,a,i,o),s.reverse&&u.reverse(),wa(r,u,r._majorUnit)},getLabelForIndex:function(e,t){var n=this,r=n._adapter,a=n.chart.data,i=n.options.time,o=a.labels&&e=0&&e0?s:1}}),xa=Ta;ka._defaults=xa;var Oa={category:vr,linear:Nr,logarithmic:Br,radialLinear:ta,time:ka},Da={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};Gn._date.override("function"==typeof e?{_id:"moment",formats:function(){return Da},parse:function(t,n){return"string"==typeof t&&"string"==typeof n?t=e(t,n):t instanceof e||(t=e(t)),t.isValid()?t.valueOf():null},format:function(t,n){return e(t).format(n)},add:function(t,n,r){return e(t).add(n,r).valueOf()},diff:function(t,n,r){return e(t).diff(e(n),r)},startOf:function(t,n,r){return t=e(t),"isoWeek"===n?t.isoWeekday(r).valueOf():t.startOf(n).valueOf()},endOf:function(t,n){return e(t).endOf(n).valueOf()},_create:function(t){return e(t)}}:{}),Q._set("global",{plugins:{filler:{propagate:!0}}});var Sa={dataset:function(e){var t=e.fill,n=e.chart,r=n.getDatasetMeta(t),a=r&&n.isDatasetVisible(t)&&r.dataset._children||[],i=a.length||0;return i?function(e,t){return t=n)&&r;switch(i){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return i;default:return!1}}function Ya(e){var t,n=e.el._model||{},r=e.el._scale||{},a=e.fill,i=null;if(isFinite(a))return null;if("start"===a?i=void 0===n.scaleBottom?r.bottom:n.scaleBottom:"end"===a?i=void 0===n.scaleTop?r.top:n.scaleTop:void 0!==n.scaleZero?i=n.scaleZero:r.getBasePixel&&(i=r.getBasePixel()),null!=i){if(void 0!==i.x&&void 0!==i.y)return i;if(oe.isFinite(i))return{x:(t=r.isHorizontal())?i:null,y:t?null:i}}return null}function Ca(e){var t,n,r,a,i,o=e.el._scale,s=o.options,c=o.chart.data.labels.length,l=e.fill,u=[];if(!c)return null;for(t=s.ticks.reverse?o.max:o.min,n=s.ticks.reverse?o.min:o.max,r=o.getPointPositionForValue(0,t),a=0;a0;--i)oe.canvas.lineTo(e,n[i],n[i-1],!0);else for(o=n[0].cx,s=n[0].cy,c=Math.sqrt(Math.pow(n[0].x-o,2)+Math.pow(n[0].y-s,2)),i=a-1;i>0;--i)e.arc(o,s,c,n[i].angle,n[i-1].angle,!0)}}function Pa(e,t,n,r,a,i){var o,s,c,l,u,d,f,p,h=t.length,m=r.spanGaps,_=[],M=[],b=0,g=0;for(e.beginPath(),o=0,s=h;o=0;--n)(t=c[n].$filler)&&t.visible&&(a=(r=t.el)._view,i=r._children||[],o=t.mapper,s=a.backgroundColor||Q.global.defaultColor,o&&s&&i.length&&(oe.canvas.clipArea(l,e.chartArea),Pa(l,i,o,a,s,r._loop),oe.canvas.unclipArea(l)))}},Xa=oe.rtl.getRtlAdapter,Ra=oe.noop,Ia=oe.valueOrDefault;function Fa(e,t){return e.usePointStyle&&e.boxWidth>t?t:e.boxWidth}Q._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var n=t.datasetIndex,r=this.chart,a=r.getDatasetMeta(n);a.hidden=null===a.hidden?!r.data.datasets[n].hidden:null,r.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(e){var t=e.data.datasets,n=e.options.legend||{},r=n.labels&&n.labels.usePointStyle;return e._getSortedDatasetMetas().map((function(n){var a=n.controller.getStyle(r?0:void 0);return{text:t[n.index].label,fillStyle:a.backgroundColor,hidden:!e.isDatasetVisible(n.index),lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOffset:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:a.borderWidth,strokeStyle:a.borderColor,pointStyle:a.pointStyle,rotation:a.rotation,datasetIndex:n.index}}),this)}}},legendCallback:function(e){var t,n,r,a=document.createElement("ul"),i=e.data.datasets;for(a.setAttribute("class",e.id+"-legend"),t=0,n=i.length;tc.width)&&(d+=o+n.padding,u[u.length-(t>0?0:1)]=0),s[t]={left:0,top:0,width:r,height:o},u[u.length-1]+=r+n.padding})),c.height+=d}else{var f=n.padding,p=e.columnWidths=[],h=e.columnHeights=[],m=n.padding,_=0,M=0;oe.each(e.legendItems,(function(e,t){var r=Fa(n,o)+o/2+a.measureText(e.text).width;t>0&&M+o+2*f>c.height&&(m+=_+n.padding,p.push(_),h.push(M),_=0,M=0),_=Math.max(_,r),M+=o+f,s[t]={left:0,top:0,width:r,height:o}})),m+=_,p.push(_),h.push(M),c.width+=m}e.width=c.width,e.height=c.height}else e.width=c.width=e.height=c.height=0},afterFit:Ra,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var e=this,t=e.options,n=t.labels,r=Q.global,a=r.defaultColor,i=r.elements.line,o=e.height,s=e.columnHeights,c=e.width,l=e.lineWidths;if(t.display){var u,d=Xa(t.rtl,e.left,e.minSize.width),f=e.ctx,p=Ia(n.fontColor,r.defaultFontColor),h=oe.options._parseFont(n),m=h.size;f.textAlign=d.textAlign("left"),f.textBaseline="middle",f.lineWidth=.5,f.strokeStyle=p,f.fillStyle=p,f.font=h.string;var _=Fa(n,m),M=e.legendHitBoxes,b=function(e,t,r){if(!(isNaN(_)||_<=0)){f.save();var o=Ia(r.lineWidth,i.borderWidth);if(f.fillStyle=Ia(r.fillStyle,a),f.lineCap=Ia(r.lineCap,i.borderCapStyle),f.lineDashOffset=Ia(r.lineDashOffset,i.borderDashOffset),f.lineJoin=Ia(r.lineJoin,i.borderJoinStyle),f.lineWidth=o,f.strokeStyle=Ia(r.strokeStyle,a),f.setLineDash&&f.setLineDash(Ia(r.lineDash,i.borderDash)),n&&n.usePointStyle){var s=_*Math.SQRT2/2,c=d.xPlus(e,_/2),l=t+m/2;oe.canvas.drawPoint(f,r.pointStyle,s,c,l,r.rotation)}else f.fillRect(d.leftForLtr(e,_),t,_,m),0!==o&&f.strokeRect(d.leftForLtr(e,_),t,_,m);f.restore()}},g=function(e,t,n,r){var a=m/2,i=d.xPlus(e,_+a),o=t+a;f.fillText(n.text,i,o),n.hidden&&(f.beginPath(),f.lineWidth=2,f.moveTo(i,o),f.lineTo(d.xPlus(i,r),o),f.stroke())},v=function(e,r){switch(t.align){case"start":return n.padding;case"end":return e-r;default:return(e-r+n.padding)/2}},y=e.isHorizontal();u=y?{x:e.left+v(c,l[0]),y:e.top+n.padding,line:0}:{x:e.left+n.padding,y:e.top+v(o,s[0]),line:0},oe.rtl.overrideTextDirection(e.ctx,t.textDirection);var L=m+n.padding;oe.each(e.legendItems,(function(t,r){var a=f.measureText(t.text).width,i=_+m/2+a,p=u.x,h=u.y;d.setWidth(e.minSize.width),y?r>0&&p+i+n.padding>e.left+e.minSize.width&&(h=u.y+=L,u.line++,p=u.x=e.left+v(c,l[u.line])):r>0&&h+L>e.top+e.minSize.height&&(p=u.x=p+e.columnWidths[u.line]+n.padding,u.line++,h=u.y=e.top+v(o,s[u.line]));var A=d.x(p);b(A,h,t),M[r].left=d.leftForLtr(A,M[r].width),M[r].top=h,g(A,h,t,a),y?u.x+=i+n.padding:u.y+=L})),oe.rtl.restoreTextDirection(e.ctx,t.textDirection)}},_getLegendItemAt:function(e,t){var n,r,a,i=this;if(e>=i.left&&e<=i.right&&t>=i.top&&t<=i.bottom)for(a=i.legendHitBoxes,n=0;n=(r=a[n]).left&&e<=r.left+r.width&&t>=r.top&&t<=r.top+r.height)return i.legendItems[n];return null},handleEvent:function(e){var t,n=this,r=n.options,a="mouseup"===e.type?"click":e.type;if("mousemove"===a){if(!r.onHover&&!r.onLeave)return}else{if("click"!==a)return;if(!r.onClick)return}t=n._getLegendItemAt(e.x,e.y),"click"===a?t&&r.onClick&&r.onClick.call(n,e.native,t):(r.onLeave&&t!==n._hoveredItem&&(n._hoveredItem&&r.onLeave.call(n,e.native,n._hoveredItem),n._hoveredItem=t),r.onHover&&t&&r.onHover.call(n,e.native,t))}});function Ua(e,t){var n=new $a({ctx:e.ctx,options:t,chart:e});It.configure(e,n,t),It.addBox(e,n),e.legend=n}var Va={id:"legend",_element:$a,beforeInit:function(e){var t=e.options.legend;t&&Ua(e,t)},beforeUpdate:function(e){var t=e.options.legend,n=e.legend;t?(oe.mergeIf(t,Q.global.legend),n?(It.configure(e,n,t),n.options=t):Ua(e,t)):n&&(It.removeBox(e,n),delete e.legend)},afterEvent:function(e,t){var n=e.legend;n&&n.handleEvent(t)}},Ja=oe.noop;Q._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var Ga=he.extend({initialize:function(e){var t=this;oe.extend(t,e),t.legendHitBoxes=[]},beforeUpdate:Ja,update:function(e,t,n){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=t,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:Ja,beforeSetDimensions:Ja,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:Ja,beforeBuildLabels:Ja,buildLabels:Ja,afterBuildLabels:Ja,beforeFit:Ja,fit:function(){var e,t=this,n=t.options,r=t.minSize={},a=t.isHorizontal();n.display?(e=(oe.isArray(n.text)?n.text.length:1)*oe.options._parseFont(n).lineHeight+2*n.padding,t.width=r.width=a?t.maxWidth:e,t.height=r.height=a?e:t.maxHeight):t.width=r.width=t.height=r.height=0},afterFit:Ja,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this,t=e.ctx,n=e.options;if(n.display){var r,a,i,o=oe.options._parseFont(n),s=o.lineHeight,c=s/2+n.padding,l=0,u=e.top,d=e.left,f=e.bottom,p=e.right;t.fillStyle=oe.valueOrDefault(n.fontColor,Q.global.defaultFontColor),t.font=o.string,e.isHorizontal()?(a=d+(p-d)/2,i=u+c,r=p-d):(a="left"===n.position?d+c:p-c,i=u+(f-u)/2,r=f-u,l=Math.PI*("left"===n.position?-.5:.5)),t.save(),t.translate(a,i),t.rotate(l),t.textAlign="center",t.textBaseline="middle";var h=n.text;if(oe.isArray(h))for(var m=0,_=0;_{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(3645),a=n.n(r)()((function(e){return e[1]}));a.push([e.id,"#alertModal{z-index:99999;background:rgba(0,0,0,.5)}#alertModal svg{display:block;margin:0 auto;width:4rem;height:4rem}",""]);const i=a},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var a={};if(r)for(var i=0;i0&&t-1 in e)}z.fn=z.prototype={jquery:A,constructor:z,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=z.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return z.each(this,e)},map:function(e){return this.pushStack(z.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(z.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(z.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),F=new RegExp(E+"|>"),$=new RegExp(P),U=new RegExp("^"+j+"$"),V={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),TAG:new RegExp("^("+j+"|[*])"),ATTR:new RegExp("^"+B),PSEUDO:new RegExp("^"+P),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+q+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},J=/HTML$/i,G=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ae=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){f()},oe=ve((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{Y.apply(D=C.call(y.childNodes),y.childNodes),D[y.childNodes.length].nodeType}catch(e){Y={apply:D.length?function(e,t){N.apply(e,C.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,a){var i,s,l,u,d,h,M,b=t&&t.ownerDocument,y=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return r;if(!a&&(f(t),t=t||p,m)){if(11!==y&&(d=Z.exec(e)))if(i=d[1]){if(9===y){if(!(l=t.getElementById(i)))return r;if(l.id===i)return r.push(l),r}else if(b&&(l=b.getElementById(i))&&g(t,l)&&l.id===i)return r.push(l),r}else{if(d[2])return Y.apply(r,t.getElementsByTagName(e)),r;if((i=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return Y.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!k[e+" "]&&(!_||!_.test(e))&&(1!==y||"object"!==t.nodeName.toLowerCase())){if(M=e,b=t,1===y&&(F.test(e)||I.test(e))){for((b=ee.test(e)&&Me(t.parentNode)||t)===t&&n.scope||((u=t.getAttribute("id"))?u=u.replace(re,ae):t.setAttribute("id",u=v)),s=(h=o(e)).length;s--;)h[s]=(u?"#"+u:":scope")+" "+ge(h[s]);M=h.join(",")}try{return Y.apply(r,b.querySelectorAll(M)),r}catch(t){k(e,!0)}finally{u===v&&t.removeAttribute("id")}}}return c(e.replace(X,"$1"),t,r,a)}function ce(){var e=[];return function t(n,a){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=a}}function le(e){return e[v]=!0,e}function ue(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),a=n.length;a--;)r.attrHandle[n[a]]=t}function fe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&oe(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function _e(e){return le((function(t){return t=+t,le((function(n,r){for(var a,i=e([],n.length,t),o=i.length;o--;)n[a=i[o]]&&(n[a]=!(r[a]=n[a]))}))}))}function Me(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!J.test(t||n&&n.nodeName||"HTML")},f=se.setDocument=function(e){var t,a,o=e?e.ownerDocument||e:y;return o!=p&&9===o.nodeType&&o.documentElement?(h=(p=o).documentElement,m=!i(p),y!=p&&(a=p.defaultView)&&a.top!==a&&(a.addEventListener?a.addEventListener("unload",ie,!1):a.attachEvent&&a.attachEvent("onunload",ie)),n.scope=ue((function(e){return h.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ue((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ue((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Q.test(p.getElementsByClassName),n.getById=ue((function(e){return h.appendChild(e).id=v,!p.getElementsByName||!p.getElementsByName(v).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,a,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(a=t.getElementsByName(e),r=0;i=a[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],a=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[a++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},M=[],_=[],(n.qsa=Q.test(p.querySelectorAll))&&(ue((function(e){var t;h.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&_.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||_.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+q+")"),e.querySelectorAll("[id~="+v+"-]").length||_.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||_.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll(":checked").length||_.push(":checked"),e.querySelectorAll("a#"+v+"+*").length||_.push(".#.+[+~]"),e.querySelectorAll("\\\f"),_.push("[\\r\\n\\f]")})),ue((function(e){e.innerHTML="";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&_.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&_.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&_.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),_.push(",.*:")}))),(n.matchesSelector=Q.test(b=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue((function(e){n.disconnectedMatch=b.call(e,"*"),b.call(e,"[s!='']:x"),M.push("!=",P)})),_=_.length&&new RegExp(_.join("|")),M=M.length&&new RegExp(M.join("|")),t=Q.test(h.compareDocumentPosition),g=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},x=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==p||e.ownerDocument==y&&g(y,e)?-1:t==p||t.ownerDocument==y&&g(y,t)?1:u?W(u,e)-W(u,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,a=e.parentNode,i=t.parentNode,o=[e],s=[t];if(!a||!i)return e==p?-1:t==p?1:a?-1:i?1:u?W(u,e)-W(u,t):0;if(a===i)return fe(e,t);for(n=e;n=n.parentNode;)o.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;o[r]===s[r];)r++;return r?fe(o[r],s[r]):o[r]==y?-1:s[r]==y?1:0},p):p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(f(e),n.matchesSelector&&m&&!k[t+" "]&&(!M||!M.test(t))&&(!_||!_.test(t)))try{var r=b.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){k(t,!0)}return se(t,p,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=p&&f(e),g(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=p&&f(e);var a=r.attrHandle[t.toLowerCase()],i=a&&O.call(r.attrHandle,t.toLowerCase())?a(e,t,!m):void 0;return void 0!==i?i:n.attributes||!m?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},se.escape=function(e){return(e+"").replace(re,ae)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],a=0,i=0;if(d=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(x),d){for(;t=e[i++];)t===e[i]&&(a=r.push(i));for(;a--;)e.splice(r[a],1)}return u=null,e},a=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=a(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=a(t);return n},(r=se.selectors={cacheLength:50,createPseudo:le,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&$.test(n)&&(t=o(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=z[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+E+"|$)"))&&z(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var a=se.attr(r,e);return null==a?"!="===t:!t||(a+="","="===t?a===n:"!="===t?a!==n:"^="===t?n&&0===a.indexOf(n):"*="===t?n&&a.indexOf(n)>-1:"$="===t?n&&a.slice(-n.length)===n:"~="===t?(" "+a.replace(H," ")+" ").indexOf(n)>-1:"|="===t&&(a===n||a.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,a){var i="nth"!==e.slice(0,3),o="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===a?function(e){return!!e.parentNode}:function(t,n,c){var l,u,d,f,p,h,m=i!==o?"nextSibling":"previousSibling",_=t.parentNode,M=s&&t.nodeName.toLowerCase(),b=!c&&!s,g=!1;if(_){if(i){for(;m;){for(f=t;f=f[m];)if(s?f.nodeName.toLowerCase()===M:1===f.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[o?_.firstChild:_.lastChild],o&&b){for(g=(p=(l=(u=(d=(f=_)[v]||(f[v]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===L&&l[1])&&l[2],f=p&&_.childNodes[p];f=++p&&f&&f[m]||(g=p=0)||h.pop();)if(1===f.nodeType&&++g&&f===t){u[e]=[L,p,g];break}}else if(b&&(g=p=(l=(u=(d=(f=t)[v]||(f[v]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===L&&l[1]),!1===g)for(;(f=++p&&f&&f[m]||(g=p=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==M:1!==f.nodeType)||!++g||(b&&((u=(d=f[v]||(f[v]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[L,g]),f!==t)););return(g-=a)===r||g%r==0&&g/r>=0}}},PSEUDO:function(e,t){var n,a=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return a[v]?a(t):a.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?le((function(e,n){for(var r,i=a(e,t),o=i.length;o--;)e[r=W(e,i[o])]=!(n[r]=i[o])})):function(e){return a(e,0,n)}):a}},pseudos:{not:le((function(e){var t=[],n=[],r=s(e.replace(X,"$1"));return r[v]?le((function(e,t,n,a){for(var i,o=r(e,null,a,[]),s=e.length;s--;)(i=o[s])&&(e[s]=!(t[s]=i))})):function(e,a,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:le((function(e){return function(t){return se(e,t).length>0}})),contains:le((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||a(t)).indexOf(e)>-1}})),lang:le((function(e){return U.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return K.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:_e((function(){return[0]})),last:_e((function(e,t){return[t-1]})),eq:_e((function(e,t,n){return[n<0?n+t:n]})),even:_e((function(e,t){for(var n=0;nt?t:n;--r>=0;)e.push(r);return e})),gt:_e((function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var a=e.length;a--;)if(!e[a](t,n,r))return!1;return!0}:e[0]}function Le(e,t,n,r,a){for(var i,o=[],s=0,c=e.length,l=null!=t;s-1&&(i[l]=!(o[l]=d))}}else M=Le(M===o?M.splice(h,M.length):M),a?a(null,o,M,c):Y.apply(o,M)}))}function ze(e){for(var t,n,a,i=e.length,o=r.relative[e[0].type],s=o||r.relative[" "],c=o?1:0,u=ve((function(e){return e===t}),s,!0),d=ve((function(e){return W(t,e)>-1}),s,!0),f=[function(e,n,r){var a=!o&&(r||n!==l)||((t=n).nodeType?u(e,n,r):d(e,n,r));return t=null,a}];c1&&ye(f),c>1&&ge(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(X,"$1"),n,c0,a=e.length>0,i=function(i,o,s,c,u){var d,h,_,M=0,b="0",g=i&&[],v=[],y=l,A=i||a&&r.find.TAG("*",u),z=L+=null==y?1:Math.random()||.1,w=A.length;for(u&&(l=o==p||o||u);b!==w&&null!=(d=A[b]);b++){if(a&&d){for(h=0,o||d.ownerDocument==p||(f(d),s=!m);_=e[h++];)if(_(d,o||p,s)){c.push(d);break}u&&(L=z)}n&&((d=!_&&d)&&M--,i&&g.push(d))}if(M+=b,n&&b!==M){for(h=0;_=t[h++];)_(g,v,o,s);if(i){if(M>0)for(;b--;)g[b]||v[b]||(v[b]=S.call(c));v=Le(v)}Y.apply(c,v),u&&!i&&v.length>0&&M+t.length>1&&se.uniqueSort(c)}return u&&(L=z,l=y),g};return n?le(i):i}(i,a))).selector=e}return s},c=se.select=function(e,t,n,a){var i,c,l,u,d,f="function"==typeof e&&e,p=!a&&o(e=f.selector||e);if(n=n||[],1===p.length){if((c=p[0]=p[0].slice(0)).length>2&&"ID"===(l=c[0]).type&&9===t.nodeType&&m&&r.relative[c[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(te,ne),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(c.shift().value.length)}for(i=V.needsContext.test(e)?0:c.length;i--&&(l=c[i],!r.relative[u=l.type]);)if((d=r.find[u])&&(a=d(l.matches[0].replace(te,ne),ee.test(c[0].type)&&Me(t.parentNode)||t))){if(c.splice(i,1),!(e=a.length&&ge(c)))return Y.apply(n,a),n;break}}return(f||s(e,p))(a,t,!m,n,!t||ee.test(e)&&Me(t.parentNode)||t),n},n.sortStable=v.split("").sort(x).join("")===v,n.detectDuplicates=!!d,f(),n.sortDetached=ue((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),ue((function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")}))||de("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ue((function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||de("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ue((function(e){return null==e.getAttribute("disabled")}))||de(q,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(r);z.find=T,z.expr=T.selectors,z.expr[":"]=z.expr.pseudos,z.uniqueSort=z.unique=T.uniqueSort,z.text=T.getText,z.isXMLDoc=T.isXML,z.contains=T.contains,z.escapeSelector=T.escape;var k=function(e,t,n){for(var r=[],a=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(a&&z(e).is(n))break;r.push(e)}return r},x=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},O=z.expr.match.needsContext;function D(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var S=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function N(e,t,n){return M(t)?z.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?z.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?z.grep(e,(function(e){return u.call(t,e)>-1!==n})):z.filter(t,e,n)}z.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?z.find.matchesSelector(r,e)?[r]:[]:z.find.matches(e,z.grep(t,(function(e){return 1===e.nodeType})))},z.fn.extend({find:function(e){var t,n,r=this.length,a=this;if("string"!=typeof e)return this.pushStack(z(e).filter((function(){for(t=0;t1?z.uniqueSort(n):n},filter:function(e){return this.pushStack(N(this,e||[],!1))},not:function(e){return this.pushStack(N(this,e||[],!0))},is:function(e){return!!N(this,"string"==typeof e&&O.test(e)?z(e):e||[],!1).length}});var Y,C=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(z.fn.init=function(e,t,n){var r,a;if(!e)return this;if(n=n||Y,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:C.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof z?t[0]:t,z.merge(this,z.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:g,!0)),S.test(r[1])&&z.isPlainObject(t))for(r in t)M(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(a=g.getElementById(r[2]))&&(this[0]=a,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):M(e)?void 0!==n.ready?n.ready(e):e(z):z.makeArray(e,this)}).prototype=z.fn,Y=z(g);var W=/^(?:parents|prev(?:Until|All))/,q={children:!0,contents:!0,next:!0,prev:!0};function E(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}z.fn.extend({has:function(e){var t=z(e,this),n=t.length;return this.filter((function(){for(var e=0;e-1:1===n.nodeType&&z.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?z.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?u.call(z(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(z.uniqueSort(z.merge(this.get(),z(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),z.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return k(e,"parentNode")},parentsUntil:function(e,t,n){return k(e,"parentNode",n)},next:function(e){return E(e,"nextSibling")},prev:function(e){return E(e,"previousSibling")},nextAll:function(e){return k(e,"nextSibling")},prevAll:function(e){return k(e,"previousSibling")},nextUntil:function(e,t,n){return k(e,"nextSibling",n)},prevUntil:function(e,t,n){return k(e,"previousSibling",n)},siblings:function(e){return x((e.parentNode||{}).firstChild,e)},children:function(e){return x(e.firstChild)},contents:function(e){return null!=e.contentDocument&&o(e.contentDocument)?e.contentDocument:(D(e,"template")&&(e=e.content||e),z.merge([],e.childNodes))}},(function(e,t){z.fn[e]=function(n,r){var a=z.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(a=z.filter(r,a)),this.length>1&&(q[e]||z.uniqueSort(a),W.test(e)&&a.reverse()),this.pushStack(a)}}));var j=/[^\x20\t\r\n\f]+/g;function B(e){return e}function P(e){throw e}function H(e,t,n,r){var a;try{e&&M(a=e.promise)?a.call(e).done(t).fail(n):e&&M(a=e.then)?a.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}z.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return z.each(e.match(j)||[],(function(e,n){t[n]=!0})),t}(e):z.extend({},e);var t,n,r,a,i=[],o=[],s=-1,c=function(){for(a=a||e.once,r=t=!0;o.length;s=-1)for(n=o.shift();++s-1;)i.splice(n,1),n<=s&&s--})),this},has:function(e){return e?z.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return a=o=[],i=n="",this},disabled:function(){return!i},lock:function(){return a=o=[],n||t||(i=n=""),this},locked:function(){return!!a},fireWith:function(e,n){return a||(n=[e,(n=n||[]).slice?n.slice():n],o.push(n),t||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},z.extend({Deferred:function(e){var t=[["notify","progress",z.Callbacks("memory"),z.Callbacks("memory"),2],["resolve","done",z.Callbacks("once memory"),z.Callbacks("once memory"),0,"resolved"],["reject","fail",z.Callbacks("once memory"),z.Callbacks("once memory"),1,"rejected"]],n="pending",a={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return a.then(null,e)},pipe:function(){var e=arguments;return z.Deferred((function(n){z.each(t,(function(t,r){var a=M(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=a&&a.apply(this,arguments);e&&M(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,a?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,a){var i=0;function o(e,t,n,a){return function(){var s=this,c=arguments,l=function(){var r,l;if(!(e=i&&(n!==P&&(s=void 0,c=[r]),t.rejectWith(s,c))}};e?u():(z.Deferred.getStackHook&&(u.stackTrace=z.Deferred.getStackHook()),r.setTimeout(u))}}return z.Deferred((function(r){t[0][3].add(o(0,r,M(a)?a:B,r.notifyWith)),t[1][3].add(o(0,r,M(e)?e:B)),t[2][3].add(o(0,r,M(n)?n:P))})).promise()},promise:function(e){return null!=e?z.extend(e,a):a}},i={};return z.each(t,(function(e,r){var o=r[2],s=r[5];a[r[1]]=o.add,s&&o.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),o.add(r[3].fire),i[r[0]]=function(){return i[r[0]+"With"](this===i?void 0:this,arguments),this},i[r[0]+"With"]=o.fireWith})),a.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),a=s.call(arguments),i=z.Deferred(),o=function(e){return function(n){r[e]=this,a[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(r,a)}};if(t<=1&&(H(e,i.done(o(n)).resolve,i.reject,!t),"pending"===i.state()||M(a[n]&&a[n].then)))return i.then();for(;n--;)H(a[n],o(n),i.reject);return i.promise()}});var X=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;z.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&X.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},z.readyException=function(e){r.setTimeout((function(){throw e}))};var R=z.Deferred();function I(){g.removeEventListener("DOMContentLoaded",I),r.removeEventListener("load",I),z.ready()}z.fn.ready=function(e){return R.then(e).catch((function(e){z.readyException(e)})),this},z.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--z.readyWait:z.isReady)||(z.isReady=!0,!0!==e&&--z.readyWait>0||R.resolveWith(g,[z]))}}),z.ready.then=R.then,"complete"===g.readyState||"loading"!==g.readyState&&!g.documentElement.doScroll?r.setTimeout(z.ready):(g.addEventListener("DOMContentLoaded",I),r.addEventListener("load",I));var F=function(e,t,n,r,a,i,o){var s=0,c=e.length,l=null==n;if("object"===L(n))for(s in a=!0,n)F(e,t,s,n[s],!0,i,o);else if(void 0!==r&&(a=!0,M(r)||(o=!0),l&&(o?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(z(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each((function(){Z.remove(this,e)}))}}),z.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Q.get(e,t),n&&(!r||Array.isArray(n)?r=Q.access(e,t,z.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=z.queue(e,t),r=n.length,a=n.shift(),i=z._queueHooks(e,t);"inprogress"===a&&(a=n.shift(),r--),a&&("fx"===t&&n.unshift("inprogress"),delete i.stop,a.call(e,(function(){z.dequeue(e,t)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:z.Callbacks("once memory").add((function(){Q.remove(e,[t+"queue",n])}))})}}),z.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,be=/^$|^module$|\/(?:java|ecma)script/i;he=g.createDocumentFragment().appendChild(g.createElement("div")),(me=g.createElement("input")).setAttribute("type","radio"),me.setAttribute("checked","checked"),me.setAttribute("name","t"),he.appendChild(me),_.checkClone=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="",_.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue,he.innerHTML="",_.option=!!he.lastChild;var ge={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&D(e,t)?z.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var Le=/<|&#?\w+;/;function Ae(e,t,n,r,a){for(var i,o,s,c,l,u,d=t.createDocumentFragment(),f=[],p=0,h=e.length;p-1)a&&a.push(i);else if(l=se(i),o=ve(d.appendChild(i),"script"),l&&ye(o),n)for(u=0;i=o[u++];)be.test(i.type||"")&&n.push(i);return d}var ze=/^([^.]*)(?:\.(.+)|)/;function we(){return!0}function Te(){return!1}function ke(e,t){return e===function(){try{return g.activeElement}catch(e){}}()==("focus"===t)}function xe(e,t,n,r,a,i){var o,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)xe(e,s,n,r,t[s],i);return e}if(null==r&&null==a?(a=n,r=n=void 0):null==a&&("string"==typeof n?(a=r,r=void 0):(a=r,r=n,n=void 0)),!1===a)a=Te;else if(!a)return e;return 1===i&&(o=a,(a=function(e){return z().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=z.guid++)),e.each((function(){z.event.add(this,t,a,r,n)}))}function Oe(e,t,n){n?(Q.set(e,t,!1),z.event.add(e,t,{namespace:!1,handler:function(e){var r,a,i=Q.get(this,t);if(1&e.isTrigger&&this[t]){if(i.length)(z.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=s.call(arguments),Q.set(this,t,i),r=n(this,t),this[t](),i!==(a=Q.get(this,t))||r?Q.set(this,t,!1):a={},i!==a)return e.stopImmediatePropagation(),e.preventDefault(),a&&a.value}else i.length&&(Q.set(this,t,{value:z.event.trigger(z.extend(i[0],z.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,t)&&z.event.add(e,t,we)}z.event={global:{},add:function(e,t,n,r,a){var i,o,s,c,l,u,d,f,p,h,m,_=Q.get(e);if(G(e))for(n.handler&&(n=(i=n).handler,a=i.selector),a&&z.find.matchesSelector(oe,a),n.guid||(n.guid=z.guid++),(c=_.events)||(c=_.events=Object.create(null)),(o=_.handle)||(o=_.handle=function(t){return void 0!==z&&z.event.triggered!==t.type?z.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(j)||[""]).length;l--;)p=m=(s=ze.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=z.event.special[p]||{},p=(a?d.delegateType:d.bindType)||p,d=z.event.special[p]||{},u=z.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:a,needsContext:a&&z.expr.match.needsContext.test(a),namespace:h.join(".")},i),(f=c[p])||((f=c[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,o)||e.addEventListener&&e.addEventListener(p,o)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),a?f.splice(f.delegateCount++,0,u):f.push(u),z.event.global[p]=!0)},remove:function(e,t,n,r,a){var i,o,s,c,l,u,d,f,p,h,m,_=Q.hasData(e)&&Q.get(e);if(_&&(c=_.events)){for(l=(t=(t||"").match(j)||[""]).length;l--;)if(p=m=(s=ze.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=z.event.special[p]||{},f=c[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=i=f.length;i--;)u=f[i],!a&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(f.splice(i,1),u.selector&&f.delegateCount--,d.remove&&d.remove.call(e,u));o&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,_.handle)||z.removeEvent(e,p,_.handle),delete c[p])}else for(p in c)z.event.remove(e,p+t[l],n,r,!0);z.isEmptyObject(c)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,a,i,o,s=new Array(arguments.length),c=z.event.fix(e),l=(Q.get(this,"events")||Object.create(null))[c.type]||[],u=z.event.special[c.type]||{};for(s[0]=c,t=1;t=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(i=[],o={},n=0;n-1:z.find(a,this,null,[l]).length),o[a]&&i.push(r);i.length&&s.push({elem:l,handlers:i})}return l=this,c\s*$/g;function Ye(e,t){return D(e,"table")&&D(11!==t.nodeType?t:t.firstChild,"tr")&&z(e).children("tbody")[0]||e}function Ce(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function qe(e,t){var n,r,a,i,o,s;if(1===t.nodeType){if(Q.hasData(e)&&(s=Q.get(e).events))for(a in Q.remove(t,"handle events"),s)for(n=0,r=s[a].length;n1&&"string"==typeof h&&!_.checkClone&&Se.test(h))return e.each((function(a){var i=e.eq(a);m&&(t[0]=h.call(this,a,i.html())),je(i,t,n,r)}));if(f&&(i=(a=Ae(t,e[0].ownerDocument,!1,e,r)).firstChild,1===a.childNodes.length&&(a=i),i||r)){for(s=(o=z.map(ve(a,"script"),Ce)).length;d0&&ye(o,!c&&ve(e,"script")),s},cleanData:function(e){for(var t,n,r,a=z.event.special,i=0;void 0!==(n=e[i]);i++)if(G(n)){if(t=n[Q.expando]){if(t.events)for(r in t.events)a[r]?z.event.remove(n,r):z.removeEvent(n,r,t.handle);n[Q.expando]=void 0}n[Z.expando]&&(n[Z.expando]=void 0)}}}),z.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return F(this,(function(e){return void 0===e?z.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return je(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ye(this,e).appendChild(e)}))},prepend:function(){return je(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ye(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return je(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return je(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(z.cleanData(ve(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return z.clone(this,e,t)}))},html:function(e){return F(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!De.test(e)&&!ge[(Me.exec(e)||["",""])[1].toLowerCase()]){e=z.htmlPrefilter(e);try{for(;n=0&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-c-s-.5))||0),c}function nt(e,t,n){var r=He(e),a=(!_.boxSizingReliable()||n)&&"border-box"===z.css(e,"boxSizing",!1,r),i=a,o=Ie(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Pe.test(o)){if(!n)return o;o="auto"}return(!_.boxSizingReliable()&&a||!_.reliableTrDimensions()&&D(e,"tr")||"auto"===o||!parseFloat(o)&&"inline"===z.css(e,"display",!1,r))&&e.getClientRects().length&&(a="border-box"===z.css(e,"boxSizing",!1,r),(i=s in e)&&(o=e[s])),(o=parseFloat(o)||0)+tt(e,t,n||(a?"border":"content"),i,r,o)+"px"}function rt(e,t,n,r,a){return new rt.prototype.init(e,t,n,r,a)}z.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ie(e,"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(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var a,i,o,s=J(t),c=Ke.test(t),l=e.style;if(c||(t=Je(s)),o=z.cssHooks[t]||z.cssHooks[s],void 0===n)return o&&"get"in o&&void 0!==(a=o.get(e,!1,r))?a:l[t];"string"===(i=typeof n)&&(a=ae.exec(n))&&a[1]&&(n=ue(e,t,a),i="number"),null!=n&&n==n&&("number"!==i||c||(n+=a&&a[3]||(z.cssNumber[s]?"":"px")),_.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,r))||(c?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var a,i,o,s=J(t);return Ke.test(t)||(t=Je(s)),(o=z.cssHooks[t]||z.cssHooks[s])&&"get"in o&&(a=o.get(e,!0,n)),void 0===a&&(a=Ie(e,t,r)),"normal"===a&&t in Ze&&(a=Ze[t]),""===n||n?(i=parseFloat(a),!0===n||isFinite(i)?i||0:a):a}}),z.each(["height","width"],(function(e,t){z.cssHooks[t]={get:function(e,n,r){if(n)return!Ge.test(z.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?nt(e,t,r):Xe(e,Qe,(function(){return nt(e,t,r)}))},set:function(e,n,r){var a,i=He(e),o=!_.scrollboxSize()&&"absolute"===i.position,s=(o||r)&&"border-box"===z.css(e,"boxSizing",!1,i),c=r?tt(e,t,r,s,i):0;return s&&o&&(c-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-tt(e,t,"border",!1,i)-.5)),c&&(a=ae.exec(n))&&"px"!==(a[3]||"px")&&(e.style[t]=n,n=z.css(e,t)),et(0,n,c)}}})),z.cssHooks.marginLeft=Fe(_.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Ie(e,"marginLeft"))||e.getBoundingClientRect().left-Xe(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),z.each({margin:"",padding:"",border:"Width"},(function(e,t){z.cssHooks[e+t]={expand:function(n){for(var r=0,a={},i="string"==typeof n?n.split(" "):[n];r<4;r++)a[e+ie[r]+t]=i[r]||i[r-2]||i[0];return a}},"margin"!==e&&(z.cssHooks[e+t].set=et)})),z.fn.extend({css:function(e,t){return F(this,(function(e,t,n){var r,a,i={},o=0;if(Array.isArray(t)){for(r=He(e),a=t.length;o1)}}),z.Tween=rt,rt.prototype={constructor:rt,init:function(e,t,n,r,a,i){this.elem=e,this.prop=n,this.easing=a||z.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(z.cssNumber[n]?"":"px")},cur:function(){var e=rt.propHooks[this.prop];return e&&e.get?e.get(this):rt.propHooks._default.get(this)},run:function(e){var t,n=rt.propHooks[this.prop];return this.options.duration?this.pos=t=z.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rt.propHooks._default.set(this),this}},rt.prototype.init.prototype=rt.prototype,rt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=z.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){z.fx.step[e.prop]?z.fx.step[e.prop](e):1!==e.elem.nodeType||!z.cssHooks[e.prop]&&null==e.elem.style[Je(e.prop)]?e.elem[e.prop]=e.now:z.style(e.elem,e.prop,e.now+e.unit)}}},rt.propHooks.scrollTop=rt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},z.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},z.fx=rt.prototype.init,z.fx.step={};var at,it,ot=/^(?:toggle|show|hide)$/,st=/queueHooks$/;function ct(){it&&(!1===g.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(ct):r.setTimeout(ct,z.fx.interval),z.fx.tick())}function lt(){return r.setTimeout((function(){at=void 0})),at=Date.now()}function ut(e,t){var n,r=0,a={height:e};for(t=t?1:0;r<4;r+=2-t)a["margin"+(n=ie[r])]=a["padding"+n]=e;return t&&(a.opacity=a.width=e),a}function dt(e,t,n){for(var r,a=(ft.tweeners[t]||[]).concat(ft.tweeners["*"]),i=0,o=a.length;i1)},removeAttr:function(e){return this.each((function(){z.removeAttr(this,e)}))}}),z.extend({attr:function(e,t,n){var r,a,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?z.prop(e,t,n):(1===i&&z.isXMLDoc(e)||(a=z.attrHooks[t.toLowerCase()]||(z.expr.match.bool.test(t)?pt:void 0)),void 0!==n?null===n?void z.removeAttr(e,t):a&&"set"in a&&void 0!==(r=a.set(e,n,t))?r:(e.setAttribute(t,n+""),n):a&&"get"in a&&null!==(r=a.get(e,t))?r:null==(r=z.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!_.radioValue&&"radio"===t&&D(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,a=t&&t.match(j);if(a&&1===e.nodeType)for(;n=a[r++];)e.removeAttribute(n)}}),pt={set:function(e,t,n){return!1===t?z.removeAttr(e,n):e.setAttribute(n,n),n}},z.each(z.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=ht[t]||z.find.attr;ht[t]=function(e,t,r){var a,i,o=t.toLowerCase();return r||(i=ht[o],ht[o]=a,a=null!=n(e,t,r)?o:null,ht[o]=i),a}}));var mt=/^(?:input|select|textarea|button)$/i,_t=/^(?:a|area)$/i;function Mt(e){return(e.match(j)||[]).join(" ")}function bt(e){return e.getAttribute&&e.getAttribute("class")||""}function gt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(j)||[]}z.fn.extend({prop:function(e,t){return F(this,z.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[z.propFix[e]||e]}))}}),z.extend({prop:function(e,t,n){var r,a,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&z.isXMLDoc(e)||(t=z.propFix[t]||t,a=z.propHooks[t]),void 0!==n?a&&"set"in a&&void 0!==(r=a.set(e,n,t))?r:e[t]=n:a&&"get"in a&&null!==(r=a.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=z.find.attr(e,"tabindex");return t?parseInt(t,10):mt.test(e.nodeName)||_t.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),_.optSelected||(z.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),z.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){z.propFix[this.toLowerCase()]=this})),z.fn.extend({addClass:function(e){var t,n,r,a,i,o,s,c=0;if(M(e))return this.each((function(t){z(this).addClass(e.call(this,t,bt(this)))}));if((t=gt(e)).length)for(;n=this[c++];)if(a=bt(n),r=1===n.nodeType&&" "+Mt(a)+" "){for(o=0;i=t[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a!==(s=Mt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,a,i,o,s,c=0;if(M(e))return this.each((function(t){z(this).removeClass(e.call(this,t,bt(this)))}));if(!arguments.length)return this.attr("class","");if((t=gt(e)).length)for(;n=this[c++];)if(a=bt(n),r=1===n.nodeType&&" "+Mt(a)+" "){for(o=0;i=t[o++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");a!==(s=Mt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):M(e)?this.each((function(n){z(this).toggleClass(e.call(this,n,bt(this),t),t)})):this.each((function(){var t,a,i,o;if(r)for(a=0,i=z(this),o=gt(e);t=o[a++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=bt(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Q.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+Mt(bt(n))+" ").indexOf(t)>-1)return!0;return!1}});var vt=/\r/g;z.fn.extend({val:function(e){var t,n,r,a=this[0];return arguments.length?(r=M(e),this.each((function(n){var a;1===this.nodeType&&(null==(a=r?e.call(this,n,z(this).val()):e)?a="":"number"==typeof a?a+="":Array.isArray(a)&&(a=z.map(a,(function(e){return null==e?"":e+""}))),(t=z.valHooks[this.type]||z.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,a,"value")||(this.value=a))}))):a?(t=z.valHooks[a.type]||z.valHooks[a.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(a,"value"))?n:"string"==typeof(n=a.value)?n.replace(vt,""):null==n?"":n:void 0}}),z.extend({valHooks:{option:{get:function(e){var t=z.find.attr(e,"value");return null!=t?t:Mt(z.text(e))}},select:{get:function(e){var t,n,r,a=e.options,i=e.selectedIndex,o="select-one"===e.type,s=o?null:[],c=o?i+1:a.length;for(r=i<0?c:o?i:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),z.each(["radio","checkbox"],(function(){z.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=z.inArray(z(e).val(),t)>-1}},_.checkOn||(z.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),_.focusin="onfocusin"in r;var yt=/^(?:focusinfocus|focusoutblur)$/,Lt=function(e){e.stopPropagation()};z.extend(z.event,{trigger:function(e,t,n,a){var i,o,s,c,l,u,d,f,h=[n||g],m=p.call(e,"type")?e.type:e,_=p.call(e,"namespace")?e.namespace.split("."):[];if(o=f=s=n=n||g,3!==n.nodeType&&8!==n.nodeType&&!yt.test(m+z.event.triggered)&&(m.indexOf(".")>-1&&(_=m.split("."),m=_.shift(),_.sort()),l=m.indexOf(":")<0&&"on"+m,(e=e[z.expando]?e:new z.Event(m,"object"==typeof e&&e)).isTrigger=a?2:3,e.namespace=_.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+_.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:z.makeArray(t,[e]),d=z.event.special[m]||{},a||!d.trigger||!1!==d.trigger.apply(n,t))){if(!a&&!d.noBubble&&!b(n)){for(c=d.delegateType||m,yt.test(c+m)||(o=o.parentNode);o;o=o.parentNode)h.push(o),s=o;s===(n.ownerDocument||g)&&h.push(s.defaultView||s.parentWindow||r)}for(i=0;(o=h[i++])&&!e.isPropagationStopped();)f=o,e.type=i>1?c:d.bindType||m,(u=(Q.get(o,"events")||Object.create(null))[e.type]&&Q.get(o,"handle"))&&u.apply(o,t),(u=l&&o[l])&&u.apply&&G(o)&&(e.result=u.apply(o,t),!1===e.result&&e.preventDefault());return e.type=m,a||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!G(n)||l&&M(n[m])&&!b(n)&&((s=n[l])&&(n[l]=null),z.event.triggered=m,e.isPropagationStopped()&&f.addEventListener(m,Lt),n[m](),e.isPropagationStopped()&&f.removeEventListener(m,Lt),z.event.triggered=void 0,s&&(n[l]=s)),e.result}},simulate:function(e,t,n){var r=z.extend(new z.Event,n,{type:e,isSimulated:!0});z.event.trigger(r,null,t)}}),z.fn.extend({trigger:function(e,t){return this.each((function(){z.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return z.event.trigger(e,t,n,!0)}}),_.focusin||z.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){z.event.simulate(t,e.target,z.event.fix(e))};z.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,a=Q.access(r,t);a||r.addEventListener(e,n,!0),Q.access(r,t,(a||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,a=Q.access(r,t)-1;a?Q.access(r,t,a):(r.removeEventListener(e,n,!0),Q.remove(r,t))}}}));var At=r.location,zt={guid:Date.now()},wt=/\?/;z.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||z.error("Invalid XML: "+(n?z.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Tt=/\[\]$/,kt=/\r?\n/g,xt=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;function Dt(e,t,n,r){var a;if(Array.isArray(t))z.each(t,(function(t,a){n||Tt.test(e)?r(e,a):Dt(e+"["+("object"==typeof a&&null!=a?t:"")+"]",a,n,r)}));else if(n||"object"!==L(t))r(e,t);else for(a in t)Dt(e+"["+a+"]",t[a],n,r)}z.param=function(e,t){var n,r=[],a=function(e,t){var n=M(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!z.isPlainObject(e))z.each(e,(function(){a(this.name,this.value)}));else for(n in e)Dt(n,e[n],t,a);return r.join("&")},z.fn.extend({serialize:function(){return z.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=z.prop(this,"elements");return e?z.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!z(this).is(":disabled")&&Ot.test(this.nodeName)&&!xt.test(e)&&(this.checked||!_e.test(e))})).map((function(e,t){var n=z(this).val();return null==n?null:Array.isArray(n)?z.map(n,(function(e){return{name:t.name,value:e.replace(kt,"\r\n")}})):{name:t.name,value:n.replace(kt,"\r\n")}})).get()}});var St=/%20/g,Nt=/#.*$/,Yt=/([?&])_=[^&]*/,Ct=/^(.*?):[ \t]*([^\r\n]*)$/gm,Wt=/^(?:GET|HEAD)$/,qt=/^\/\//,Et={},jt={},Bt="*/".concat("*"),Pt=g.createElement("a");function Ht(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,a=0,i=t.toLowerCase().match(j)||[];if(M(n))for(;r=i[a++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Xt(e,t,n,r){var a={},i=e===jt;function o(s){var c;return a[s]=!0,z.each(e[s]||[],(function(e,s){var l=s(t,n,r);return"string"!=typeof l||i||a[l]?i?!(c=l):void 0:(t.dataTypes.unshift(l),o(l),!1)})),c}return o(t.dataTypes[0])||!a["*"]&&o("*")}function Rt(e,t){var n,r,a=z.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((a[n]?e:r||(r={}))[n]=t[n]);return r&&z.extend(!0,e,r),e}Pt.href=At.href,z.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:At.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(At.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Bt,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":z.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Rt(Rt(e,z.ajaxSettings),t):Rt(z.ajaxSettings,e)},ajaxPrefilter:Ht(Et),ajaxTransport:Ht(jt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,a,i,o,s,c,l,u,d,f,p=z.ajaxSetup({},t),h=p.context||p,m=p.context&&(h.nodeType||h.jquery)?z(h):z.event,_=z.Deferred(),M=z.Callbacks("once memory"),b=p.statusCode||{},v={},y={},L="canceled",A={readyState:0,getResponseHeader:function(e){var t;if(l){if(!o)for(o={};t=Ct.exec(i);)o[t[1].toLowerCase()+" "]=(o[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=o[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?i:null},setRequestHeader:function(e,t){return null==l&&(e=y[e.toLowerCase()]=y[e.toLowerCase()]||e,v[e]=t),this},overrideMimeType:function(e){return null==l&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)A.always(e[A.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||L;return n&&n.abort(t),w(0,t),this}};if(_.promise(A),p.url=((e||p.url||At.href)+"").replace(qt,At.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(j)||[""],null==p.crossDomain){c=g.createElement("a");try{c.href=p.url,c.href=c.href,p.crossDomain=Pt.protocol+"//"+Pt.host!=c.protocol+"//"+c.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=z.param(p.data,p.traditional)),Xt(Et,p,t,A),l)return A;for(d in(u=z.event&&p.global)&&0==z.active++&&z.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Wt.test(p.type),a=p.url.replace(Nt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(St,"+")):(f=p.url.slice(a.length),p.data&&(p.processData||"string"==typeof p.data)&&(a+=(wt.test(a)?"&":"?")+p.data,delete p.data),!1===p.cache&&(a=a.replace(Yt,"$1"),f=(wt.test(a)?"&":"?")+"_="+zt.guid+++f),p.url=a+f),p.ifModified&&(z.lastModified[a]&&A.setRequestHeader("If-Modified-Since",z.lastModified[a]),z.etag[a]&&A.setRequestHeader("If-None-Match",z.etag[a])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&A.setRequestHeader("Content-Type",p.contentType),A.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Bt+"; q=0.01":""):p.accepts["*"]),p.headers)A.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(h,A,p)||l))return A.abort();if(L="abort",M.add(p.complete),A.done(p.success),A.fail(p.error),n=Xt(jt,p,t,A)){if(A.readyState=1,u&&m.trigger("ajaxSend",[A,p]),l)return A;p.async&&p.timeout>0&&(s=r.setTimeout((function(){A.abort("timeout")}),p.timeout));try{l=!1,n.send(v,w)}catch(e){if(l)throw e;w(-1,e)}}else w(-1,"No Transport");function w(e,t,o,c){var d,f,g,v,y,L=t;l||(l=!0,s&&r.clearTimeout(s),n=void 0,i=c||"",A.readyState=e>0?4:0,d=e>=200&&e<300||304===e,o&&(v=function(e,t,n){for(var r,a,i,o,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(a in s)if(s[a]&&s[a].test(r)){c.unshift(a);break}if(c[0]in n)i=c[0];else{for(a in n){if(!c[0]||e.converters[a+" "+c[0]]){i=a;break}o||(o=a)}i=i||o}if(i)return i!==c[0]&&c.unshift(i),n[i]}(p,A,o)),!d&&z.inArray("script",p.dataTypes)>-1&&z.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),v=function(e,t,n,r){var a,i,o,s,c,l={},u=e.dataTypes.slice();if(u[1])for(o in e.converters)l[o.toLowerCase()]=e.converters[o];for(i=u.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!c&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=i,i=u.shift())if("*"===i)i=c;else if("*"!==c&&c!==i){if(!(o=l[c+" "+i]||l["* "+i]))for(a in l)if((s=a.split(" "))[1]===i&&(o=l[c+" "+s[0]]||l["* "+s[0]])){!0===o?o=l[a]:!0!==l[a]&&(i=s[0],u.unshift(s[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+c+" to "+i}}}return{state:"success",data:t}}(p,v,A,d),d?(p.ifModified&&((y=A.getResponseHeader("Last-Modified"))&&(z.lastModified[a]=y),(y=A.getResponseHeader("etag"))&&(z.etag[a]=y)),204===e||"HEAD"===p.type?L="nocontent":304===e?L="notmodified":(L=v.state,f=v.data,d=!(g=v.error))):(g=L,!e&&L||(L="error",e<0&&(e=0))),A.status=e,A.statusText=(t||L)+"",d?_.resolveWith(h,[f,L,A]):_.rejectWith(h,[A,L,g]),A.statusCode(b),b=void 0,u&&m.trigger(d?"ajaxSuccess":"ajaxError",[A,p,d?f:g]),M.fireWith(h,[A,L]),u&&(m.trigger("ajaxComplete",[A,p]),--z.active||z.event.trigger("ajaxStop")))}return A},getJSON:function(e,t,n){return z.get(e,t,n,"json")},getScript:function(e,t){return z.get(e,void 0,t,"script")}}),z.each(["get","post"],(function(e,t){z[t]=function(e,n,r,a){return M(n)&&(a=a||r,r=n,n=void 0),z.ajax(z.extend({url:e,type:t,dataType:a,data:n,success:r},z.isPlainObject(e)&&e))}})),z.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),z._evalUrl=function(e,t,n){return z.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){z.globalEval(e,t,n)}})},z.fn.extend({wrapAll:function(e){var t;return this[0]&&(M(e)&&(e=e.call(this[0])),t=z(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return M(e)?this.each((function(t){z(this).wrapInner(e.call(this,t))})):this.each((function(){var t=z(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=M(e);return this.each((function(n){z(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){z(this).replaceWith(this.childNodes)})),this}}),z.expr.pseudos.hidden=function(e){return!z.expr.pseudos.visible(e)},z.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},z.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var It={0:200,1223:204},Ft=z.ajaxSettings.xhr();_.cors=!!Ft&&"withCredentials"in Ft,_.ajax=Ft=!!Ft,z.ajaxTransport((function(e){var t,n;if(_.cors||Ft&&!e.crossDomain)return{send:function(a,i){var o,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)s[o]=e.xhrFields[o];for(o in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||a["X-Requested-With"]||(a["X-Requested-With"]="XMLHttpRequest"),a)s.setRequestHeader(o,a[o]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(It[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),z.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),z.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return z.globalEval(e),e}}}),z.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),z.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,a){t=z("