diff --git a/public/app.js b/public/app.js index 1aaa7115..b85ecd04 100644 --- a/public/app.js +++ b/public/app.js @@ -1,2 +1,2 @@ /*! For license information please see app.js.LICENSE.txt */ -(()=>{var t,e={9669:(t,e,p)=>{t.exports=p(1609)},5448:(t,e,p)=>{"use strict";var o=p(4867),b=p(6026),n=p(4372),M=p(5327),z=p(4097),c=p(4109),a=p(7985),r=p(5061);t.exports=function(t){return new Promise((function(e,p){var i=t.data,O=t.headers,s=t.responseType;o.isFormData(i)&&delete O["Content-Type"];var l=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",A=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";O.Authorization="Basic "+btoa(d+":"+A)}var u=z(t.baseURL,t.url);function q(){if(l){var o="getAllResponseHeaders"in l?c(l.getAllResponseHeaders()):null,n={data:s&&"text"!==s&&"json"!==s?l.response:l.responseText,status:l.status,statusText:l.statusText,headers:o,config:t,request:l};b(e,p,n),l=null}}if(l.open(t.method.toUpperCase(),M(u,t.params,t.paramsSerializer),!0),l.timeout=t.timeout,"onloadend"in l?l.onloadend=q:l.onreadystatechange=function(){l&&4===l.readyState&&(0!==l.status||l.responseURL&&0===l.responseURL.indexOf("file:"))&&setTimeout(q)},l.onabort=function(){l&&(p(r("Request aborted",t,"ECONNABORTED",l)),l=null)},l.onerror=function(){p(r("Network Error",t,null,l)),l=null},l.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),p(r(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",l)),l=null},o.isStandardBrowserEnv()){var f=(t.withCredentials||a(u))&&t.xsrfCookieName?n.read(t.xsrfCookieName):void 0;f&&(O[t.xsrfHeaderName]=f)}"setRequestHeader"in l&&o.forEach(O,(function(t,e){void 0===i&&"content-type"===e.toLowerCase()?delete O[e]:l.setRequestHeader(e,t)})),o.isUndefined(t.withCredentials)||(l.withCredentials=!!t.withCredentials),s&&"json"!==s&&(l.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&l.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&l.upload&&l.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){l&&(l.abort(),p(t),l=null)})),i||(i=null),l.send(i)}))}},1609:(t,e,p)=>{"use strict";var o=p(4867),b=p(1849),n=p(321),M=p(7185);function z(t){var e=new n(t),p=b(n.prototype.request,e);return o.extend(p,n.prototype,e),o.extend(p,e),p}var c=z(p(5655));c.Axios=n,c.create=function(t){return z(M(c.defaults,t))},c.Cancel=p(5263),c.CancelToken=p(4972),c.isCancel=p(6502),c.all=function(t){return Promise.all(t)},c.spread=p(8713),c.isAxiosError=p(6268),t.exports=c,t.exports.default=c},5263:t=>{"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},4972:(t,e,p)=>{"use strict";var o=p(5263);function b(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var p=this;t((function(t){p.reason||(p.reason=new o(t),e(p.reason))}))}b.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},b.source=function(){var t;return{token:new b((function(e){t=e})),cancel:t}},t.exports=b},6502:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},321:(t,e,p)=>{"use strict";var o=p(4867),b=p(5327),n=p(782),M=p(3572),z=p(7185),c=p(4875),a=c.validators;function r(t){this.defaults=t,this.interceptors={request:new n,response:new n}}r.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=z(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&c.assertOptions(e,{silentJSONParsing:a.transitional(a.boolean,"1.0.0"),forcedJSONParsing:a.transitional(a.boolean,"1.0.0"),clarifyTimeoutError:a.transitional(a.boolean,"1.0.0")},!1);var p=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,p.unshift(e.fulfilled,e.rejected))}));var b,n=[];if(this.interceptors.response.forEach((function(t){n.push(t.fulfilled,t.rejected)})),!o){var r=[M,void 0];for(Array.prototype.unshift.apply(r,p),r=r.concat(n),b=Promise.resolve(t);r.length;)b=b.then(r.shift(),r.shift());return b}for(var i=t;p.length;){var O=p.shift(),s=p.shift();try{i=O(i)}catch(t){s(t);break}}try{b=M(i)}catch(t){return Promise.reject(t)}for(;n.length;)b=b.then(n.shift(),n.shift());return b},r.prototype.getUri=function(t){return t=z(this.defaults,t),b(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},o.forEach(["delete","get","head","options"],(function(t){r.prototype[t]=function(e,p){return this.request(z(p||{},{method:t,url:e,data:(p||{}).data}))}})),o.forEach(["post","put","patch"],(function(t){r.prototype[t]=function(e,p,o){return this.request(z(o||{},{method:t,url:e,data:p}))}})),t.exports=r},782:(t,e,p)=>{"use strict";var o=p(4867);function b(){this.handlers=[]}b.prototype.use=function(t,e,p){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!p&&p.synchronous,runWhen:p?p.runWhen:null}),this.handlers.length-1},b.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},b.prototype.forEach=function(t){o.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=b},4097:(t,e,p)=>{"use strict";var o=p(1793),b=p(7303);t.exports=function(t,e){return t&&!o(e)?b(t,e):e}},5061:(t,e,p)=>{"use strict";var o=p(481);t.exports=function(t,e,p,b,n){var M=new Error(t);return o(M,e,p,b,n)}},3572:(t,e,p)=>{"use strict";var o=p(4867),b=p(8527),n=p(6502),M=p(5655);function z(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return z(t),t.headers=t.headers||{},t.data=b.call(t,t.data,t.headers,t.transformRequest),t.headers=o.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),o.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||M.adapter)(t).then((function(e){return z(t),e.data=b.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return n(e)||(z(t),e&&e.response&&(e.response.data=b.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},481:t=>{"use strict";t.exports=function(t,e,p,o,b){return t.config=e,p&&(t.code=p),t.request=o,t.response=b,t.isAxiosError=!0,t.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}},t}},7185:(t,e,p)=>{"use strict";var o=p(4867);t.exports=function(t,e){e=e||{};var p={},b=["url","method","data"],n=["headers","auth","proxy","params"],M=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],z=["validateStatus"];function c(t,e){return o.isPlainObject(t)&&o.isPlainObject(e)?o.merge(t,e):o.isPlainObject(e)?o.merge({},e):o.isArray(e)?e.slice():e}function a(b){o.isUndefined(e[b])?o.isUndefined(t[b])||(p[b]=c(void 0,t[b])):p[b]=c(t[b],e[b])}o.forEach(b,(function(t){o.isUndefined(e[t])||(p[t]=c(void 0,e[t]))})),o.forEach(n,a),o.forEach(M,(function(b){o.isUndefined(e[b])?o.isUndefined(t[b])||(p[b]=c(void 0,t[b])):p[b]=c(void 0,e[b])})),o.forEach(z,(function(o){o in e?p[o]=c(t[o],e[o]):o in t&&(p[o]=c(void 0,t[o]))}));var r=b.concat(n).concat(M).concat(z),i=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===r.indexOf(t)}));return o.forEach(i,a),p}},6026:(t,e,p)=>{"use strict";var o=p(5061);t.exports=function(t,e,p){var b=p.config.validateStatus;p.status&&b&&!b(p.status)?e(o("Request failed with status code "+p.status,p.config,null,p.request,p)):t(p)}},8527:(t,e,p)=>{"use strict";var o=p(4867),b=p(5655);t.exports=function(t,e,p){var n=this||b;return o.forEach(p,(function(p){t=p.call(n,t,e)})),t}},5655:(t,e,p)=>{"use strict";var o=p(4155),b=p(4867),n=p(6016),M=p(481),z={"Content-Type":"application/x-www-form-urlencoded"};function c(t,e){!b.isUndefined(t)&&b.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var a,r={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==o&&"[object process]"===Object.prototype.toString.call(o))&&(a=p(5448)),a),transformRequest:[function(t,e){return n(e,"Accept"),n(e,"Content-Type"),b.isFormData(t)||b.isArrayBuffer(t)||b.isBuffer(t)||b.isStream(t)||b.isFile(t)||b.isBlob(t)?t:b.isArrayBufferView(t)?t.buffer:b.isURLSearchParams(t)?(c(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):b.isObject(t)||e&&"application/json"===e["Content-Type"]?(c(e,"application/json"),function(t,e,p){if(b.isString(t))try{return(e||JSON.parse)(t),b.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(p||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional,p=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,n=!p&&"json"===this.responseType;if(n||o&&b.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(n){if("SyntaxError"===t.name)throw M(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};r.headers={common:{Accept:"application/json, text/plain, */*"}},b.forEach(["delete","get","head"],(function(t){r.headers[t]={}})),b.forEach(["post","put","patch"],(function(t){r.headers[t]=b.merge(z)})),t.exports=r},1849:t=>{"use strict";t.exports=function(t,e){return function(){for(var p=new Array(arguments.length),o=0;o{"use strict";var o=p(4867);function b(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,p){if(!e)return t;var n;if(p)n=p(e);else if(o.isURLSearchParams(e))n=e.toString();else{var M=[];o.forEach(e,(function(t,e){null!=t&&(o.isArray(t)?e+="[]":t=[t],o.forEach(t,(function(t){o.isDate(t)?t=t.toISOString():o.isObject(t)&&(t=JSON.stringify(t)),M.push(b(e)+"="+b(t))})))})),n=M.join("&")}if(n){var z=t.indexOf("#");-1!==z&&(t=t.slice(0,z)),t+=(-1===t.indexOf("?")?"?":"&")+n}return t}},7303:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},4372:(t,e,p)=>{"use strict";var o=p(4867);t.exports=o.isStandardBrowserEnv()?{write:function(t,e,p,b,n,M){var z=[];z.push(t+"="+encodeURIComponent(e)),o.isNumber(p)&&z.push("expires="+new Date(p).toGMTString()),o.isString(b)&&z.push("path="+b),o.isString(n)&&z.push("domain="+n),!0===M&&z.push("secure"),document.cookie=z.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},6268:t=>{"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},7985:(t,e,p)=>{"use strict";var o=p(4867);t.exports=o.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),p=document.createElement("a");function b(t){var o=t;return e&&(p.setAttribute("href",o),o=p.href),p.setAttribute("href",o),{href:p.href,protocol:p.protocol?p.protocol.replace(/:$/,""):"",host:p.host,search:p.search?p.search.replace(/^\?/,""):"",hash:p.hash?p.hash.replace(/^#/,""):"",hostname:p.hostname,port:p.port,pathname:"/"===p.pathname.charAt(0)?p.pathname:"/"+p.pathname}}return t=b(window.location.href),function(e){var p=o.isString(e)?b(e):e;return p.protocol===t.protocol&&p.host===t.host}}():function(){return!0}},6016:(t,e,p)=>{"use strict";var o=p(4867);t.exports=function(t,e){o.forEach(t,(function(p,o){o!==e&&o.toUpperCase()===e.toUpperCase()&&(t[e]=p,delete t[o])}))}},4109:(t,e,p)=>{"use strict";var o=p(4867),b=["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"];t.exports=function(t){var e,p,n,M={};return t?(o.forEach(t.split("\n"),(function(t){if(n=t.indexOf(":"),e=o.trim(t.substr(0,n)).toLowerCase(),p=o.trim(t.substr(n+1)),e){if(M[e]&&b.indexOf(e)>=0)return;M[e]="set-cookie"===e?(M[e]?M[e]:[]).concat([p]):M[e]?M[e]+", "+p:p}})),M):M}},8713:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},4875:(t,e,p)=>{"use strict";var o=p(8593),b={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){b[t]=function(p){return typeof p===t||"a"+(e<1?"n ":" ")+t}}));var n={},M=o.version.split(".");function z(t,e){for(var p=e?e.split("."):M,o=t.split("."),b=0;b<3;b++){if(p[b]>o[b])return!0;if(p[b]0;){var n=o[b],M=e[n];if(M){var z=t[n],c=void 0===z||M(z,n,t);if(!0!==c)throw new TypeError("option "+n+" must be "+c)}else if(!0!==p)throw Error("Unknown option "+n)}},validators:b}},4867:(t,e,p)=>{"use strict";var o=p(1849),b=Object.prototype.toString;function n(t){return"[object Array]"===b.call(t)}function M(t){return void 0===t}function z(t){return null!==t&&"object"==typeof t}function c(t){if("[object Object]"!==b.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function a(t){return"[object Function]"===b.call(t)}function r(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),n(t))for(var p=0,o=t.length;p{"use strict";var o=Object.freeze({}),b=Array.isArray;function n(t){return null==t}function M(t){return null!=t}function z(t){return!0===t}function c(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function a(t){return"function"==typeof t}function r(t){return null!==t&&"object"==typeof t}var i=Object.prototype.toString;function O(t){return"[object Object]"===i.call(t)}function s(t){return"[object RegExp]"===i.call(t)}function l(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return M(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function A(t){return null==t?"":Array.isArray(t)||O(t)&&t.toString===i?JSON.stringify(t,null,2):String(t)}function u(t){var e=parseFloat(t);return isNaN(e)?t:e}function q(t,e){for(var p=Object.create(null),o=t.split(","),b=0;b-1)return t.splice(o,1)}}var m=Object.prototype.hasOwnProperty;function g(t,e){return m.call(t,e)}function v(t){var e=Object.create(null);return function(p){return e[p]||(e[p]=t(p))}}var R=/-(\w)/g,y=v((function(t){return t.replace(R,(function(t,e){return e?e.toUpperCase():""}))})),B=v((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),L=/\B([A-Z])/g,X=v((function(t){return t.replace(L,"-$1").toLowerCase()}));var _=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function p(p){var o=arguments.length;return o?o>1?t.apply(e,arguments):t.call(e,p):t.call(e)}return p._length=t.length,p};function N(t,e){e=e||0;for(var p=t.length-e,o=new Array(p);p--;)o[p]=t[p+e];return o}function x(t,e){for(var p in e)t[p]=e[p];return t}function w(t){for(var e={},p=0;p0,et=Q&&Q.indexOf("edge/")>0;Q&&Q.indexOf("android");var pt=Q&&/iphone|ipad|ipod|ios/.test(Q);Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q);var ot,bt=Q&&Q.match(/firefox\/(\d+)/),nt={}.watch,Mt=!1;if(K)try{var zt={};Object.defineProperty(zt,"passive",{get:function(){Mt=!0}}),window.addEventListener("test-passive",null,zt)}catch(t){}var ct=function(){return void 0===ot&&(ot=!K&&void 0!==p.g&&(p.g.process&&"server"===p.g.process.env.VUE_ENV)),ot},at=K&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function rt(t){return"function"==typeof t&&/native code/.test(t.toString())}var it,Ot="undefined"!=typeof Symbol&&rt(Symbol)&&"undefined"!=typeof Reflect&&rt(Reflect.ownKeys);it="undefined"!=typeof Set&&rt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var st=null;function lt(t){void 0===t&&(t=null),t||st&&st._scope.off(),st=t,t&&t._scope.on()}var dt=function(){function t(t,e,p,o,b,n,M,z){this.tag=t,this.data=e,this.children=p,this.text=o,this.elm=b,this.ns=void 0,this.context=n,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=M,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=z,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),At=function(t){void 0===t&&(t="");var e=new dt;return e.text=t,e.isComment=!0,e};function ut(t){return new dt(void 0,void 0,void 0,String(t))}function qt(t){var e=new dt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var ft=0,ht=[],Wt=function(){function t(){this._pending=!1,this.id=ft++,this.subs=[]}return t.prototype.addSub=function(t){this.subs.push(t)},t.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,ht.push(this))},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(t){var e=this.subs.filter((function(t){return t}));for(var p=0,o=e.length;p0&&(Jt((o=Kt(o,"".concat(e||"","_").concat(p)))[0])&&Jt(r)&&(i[a]=ut(r.text+o[0].text),o.shift()),i.push.apply(i,o)):c(o)?Jt(r)?i[a]=ut(r.text+o):""!==o&&i.push(ut(o)):Jt(o)&&Jt(r)?i[a]=ut(r.text+o.text):(z(t._isVList)&&M(o.tag)&&n(o.key)&&M(e)&&(o.key="__vlist".concat(e,"_").concat(p,"__")),i.push(o)));return i}function Qt(t,e,p,o,n,i){return(b(p)||c(p))&&(n=o,o=p,p=void 0),z(i)&&(n=2),function(t,e,p,o,n){if(M(p)&&M(p.__ob__))return At();M(p)&&M(p.is)&&(e=p.is);if(!e)return At();0;b(o)&&a(o[0])&&((p=p||{}).scopedSlots={default:o[0]},o.length=0);2===n?o=Gt(o):1===n&&(o=function(t){for(var e=0;e0,z=e?!!e.$stable:!M,c=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(z&&b&&b!==o&&c===b.$key&&!M&&!b.$hasNormal)return b;for(var a in n={},e)e[a]&&"$"!==a[0]&&(n[a]=fe(t,p,a,e[a]))}else n={};for(var r in p)r in n||(n[r]=he(p,r));return e&&Object.isExtensible(e)&&(e._normalized=n),Y(n,"$stable",z),Y(n,"$key",c),Y(n,"$hasNormal",M),n}function fe(t,e,p,o){var n=function(){var e=st;lt(t);var p=arguments.length?o.apply(null,arguments):o({}),n=(p=p&&"object"==typeof p&&!b(p)?[p]:Gt(p))&&p[0];return lt(e),p&&(!n||1===p.length&&n.isComment&&!ue(n))?void 0:p};return o.proxy&&Object.defineProperty(e,p,{get:n,enumerable:!0,configurable:!0}),n}function he(t,e){return function(){return t[e]}}function We(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};Y(e,"_v_attr_proxy",!0),me(e,t.$attrs,o,t,"$attrs")}return t._attrsProxy},get listeners(){t._listenersProxy||me(t._listenersProxy={},t.$listeners,o,t,"$listeners");return t._listenersProxy},get slots(){return function(t){t._slotsProxy||ve(t._slotsProxy={},t.$scopedSlots);return t._slotsProxy}(t)},emit:_(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(p){return Ft(t,e,p)}))}}}function me(t,e,p,o,b){var n=!1;for(var M in e)M in t?e[M]!==p[M]&&(n=!0):(n=!0,ge(t,M,o,b));for(var M in t)M in e||(n=!0,delete t[M]);return n}function ge(t,e,p,o){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return p[o][e]}})}function ve(t,e){for(var p in e)t[p]=e[p];for(var p in t)p in e||delete t[p]}var Re,ye=null;function Be(t,e){return(t.__esModule||Ot&&"Module"===t[Symbol.toStringTag])&&(t=t.default),r(t)?e.extend(t):t}function Le(t){if(b(t))for(var e=0;edocument.createEvent("Event").timeStamp&&(Ue=function(){return $e.now()})}var Ye=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function Ge(){var t,e;for(Ve=Ue(),Fe=!0,De.sort(Ye),He=0;HeHe&&De[p].id>t.id;)p--;De.splice(p+1,0,t)}else De.push(t);Ie||(Ie=!0,lp(Ge))}}var Ke="watcher";"".concat(Ke," callback"),"".concat(Ke," getter"),"".concat(Ke," cleanup");var Qe;var Ze=function(){function t(t){void 0===t&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Qe,!t&&Qe&&(this.index=(Qe.scopes||(Qe.scopes=[])).push(this)-1)}return t.prototype.run=function(t){if(this.active){var e=Qe;try{return Qe=this,t()}finally{Qe=e}}else 0},t.prototype.on=function(){Qe=this},t.prototype.off=function(){Qe=this.parent},t.prototype.stop=function(t){if(this.active){var e=void 0,p=void 0;for(e=0,p=this.effects.length;e-1)if(n&&!g(b,"default"))M=!1;else if(""===M||M===X(t)){var c=Zp(String,b.type);(c<0||z-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!s(t)&&t.test(e)}function bo(t,e){var p=t.cache,o=t.keys,b=t._vnode;for(var n in p){var M=p[n];if(M){var z=M.name;z&&!e(z)&&no(p,n,o,b)}}}function no(t,e,p,o){var b=t[e];!b||o&&b.tag===o.tag||b.componentInstance.$destroy(),t[e]=null,W(p,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=_p++,e._isVue=!0,e.__v_skip=!0,e._scope=new Ze(!0),e._scope._vm=!0,t&&t._isComponent?function(t,e){var p=t.$options=Object.create(t.constructor.options),o=e._parentVnode;p.parent=e.parent,p._parentVnode=o;var b=o.componentOptions;p.propsData=b.propsData,p._parentListeners=b.listeners,p._renderChildren=b.children,p._componentTag=b.tag,e.render&&(p.render=e.render,p.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=$p(Np(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,p=e.parent;if(p&&!e.abstract){for(;p.$options.abstract&&p.$parent;)p=p.$parent;p.$children.push(t)}t.$parent=p,t.$root=p?p.$root:t,t.$children=[],t.$refs={},t._provided=p?p._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&xe(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,p=t.$vnode=e._parentVnode,b=p&&p.context;t.$slots=de(e._renderChildren,b),t.$scopedSlots=p?qe(t.$parent,p.data.scopedSlots,t.$slots):o,t._c=function(e,p,o,b){return Qt(t,e,p,o,b,!1)},t.$createElement=function(e,p,o,b){return Qt(t,e,p,o,b,!0)};var n=p&&p.data;Et(t,"$attrs",n&&n.attrs||o,null,!0),Et(t,"$listeners",e._parentListeners||o,null,!0)}(e),Ee(e,"beforeCreate",void 0,!1),function(t){var e=Xp(t.$options.inject,t);e&&(Tt(!1),Object.keys(e).forEach((function(p){Et(t,p,e[p])})),Tt(!0))}(e),gp(e),function(t){var e=t.$options.provide;if(e){var p=a(e)?e.call(t):e;if(!r(p))return;for(var o=tp(t),b=Ot?Reflect.ownKeys(p):Object.keys(p),n=0;n1?N(p):p;for(var o=N(arguments,1),b='event handler for "'.concat(t,'"'),n=0,M=p.length;nparseInt(this.max)&&no(e,p[0],p,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)no(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){bo(t,(function(t){return oo(e,t)}))})),this.$watch("exclude",(function(e){bo(t,(function(t){return!oo(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Le(t),p=e&&e.componentOptions;if(p){var o=po(p),b=this.include,n=this.exclude;if(b&&(!o||!oo(b,o))||n&&o&&oo(n,o))return e;var M=this.cache,z=this.keys,c=null==e.key?p.Ctor.cid+(p.tag?"::".concat(p.tag):""):e.key;M[c]?(e.componentInstance=M[c].componentInstance,W(z,c),z.push(c)):(this.vnodeToCache=e,this.keyToCache=c),e.data.keepAlive=!0}return e||t&&t[0]}},co={KeepAlive:zo};!function(t){var e={get:function(){return H}};Object.defineProperty(t,"config",e),t.util={warn:Pp,extend:x,mergeOptions:$p,defineReactive:Et},t.set=Dt,t.delete=Pt,t.nextTick=lp,t.observable=function(t){return kt(t),t},t.options=Object.create(null),I.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,x(t.options.components,co),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var p=N(arguments,1);return p.unshift(this),a(t.install)?t.install.apply(t,p):a(t)&&t.apply(null,p),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=$p(this.options,t),this}}(t),eo(t),function(t){I.forEach((function(e){t[e]=function(t,p){return p?("component"===e&&O(p)&&(p.name=p.name||t,p=this.options._base.extend(p)),"directive"===e&&a(p)&&(p={bind:p,update:p}),this.options[e+"s"][t]=p,p):this.options[e+"s"][t]}}))}(t)}(to),Object.defineProperty(to.prototype,"$isServer",{get:ct}),Object.defineProperty(to.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(to,"FunctionalRenderContext",{value:xp}),to.version="2.7.13";var ao=q("style,class"),ro=q("input,textarea,option,select,progress"),io=function(t,e,p){return"value"===p&&ro(t)&&"button"!==e||"selected"===p&&"option"===t||"checked"===p&&"input"===t||"muted"===p&&"video"===t},Oo=q("contenteditable,draggable,spellcheck"),so=q("events,caret,typing,plaintext-only"),lo=q("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Ao="http://www.w3.org/1999/xlink",uo=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},qo=function(t){return uo(t)?t.slice(6,t.length):""},fo=function(t){return null==t||!1===t};function ho(t){for(var e=t.data,p=t,o=t;M(o.componentInstance);)(o=o.componentInstance._vnode)&&o.data&&(e=Wo(o.data,e));for(;M(p=p.parent);)p&&p.data&&(e=Wo(e,p.data));return function(t,e){if(M(t)||M(e))return mo(t,go(e));return""}(e.staticClass,e.class)}function Wo(t,e){return{staticClass:mo(t.staticClass,e.staticClass),class:M(t.class)?[t.class,e.class]:e.class}}function mo(t,e){return t?e?t+" "+e:t:e||""}function go(t){return Array.isArray(t)?function(t){for(var e,p="",o=0,b=t.length;o-1?Go(t,e,p):lo(e)?fo(p)?t.removeAttribute(e):(p="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,p)):Oo(e)?t.setAttribute(e,function(t,e){return fo(e)||"false"===e?"false":"contenteditable"===t&&so(e)?e:"true"}(e,p)):uo(e)?fo(p)?t.removeAttributeNS(Ao,qo(e)):t.setAttributeNS(Ao,e,p):Go(t,e,p)}function Go(t,e,p){if(fo(p))t.removeAttribute(e);else{if(Z&&!tt&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==p&&!t.__ieph){var o=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",o)};t.addEventListener("input",o),t.__ieph=!0}t.setAttribute(e,p)}}var Jo={create:$o,update:$o};function Ko(t,e){var p=e.elm,o=e.data,b=t.data;if(!(n(o.staticClass)&&n(o.class)&&(n(b)||n(b.staticClass)&&n(b.class)))){var z=ho(e),c=p._transitionClasses;M(c)&&(z=mo(z,go(c))),z!==p._prevClass&&(p.setAttribute("class",z),p._prevClass=z)}}var Qo,Zo,tb,eb,pb,ob,bb={create:Ko,update:Ko},nb=/[\w).+\-_$\]]/;function Mb(t){var e,p,o,b,n,M=!1,z=!1,c=!1,a=!1,r=0,i=0,O=0,s=0;for(o=0;o=0&&" "===(d=t.charAt(l));l--);d&&nb.test(d)||(a=!0)}}else void 0===b?(s=o+1,b=t.slice(0,o).trim()):A();function A(){(n||(n=[])).push(t.slice(s,o).trim()),s=o+1}if(void 0===b?b=t.slice(0,o).trim():0!==s&&A(),n)for(o=0;o-1?{exp:t.slice(0,eb),key:'"'+t.slice(eb+1)+'"'}:{exp:t,key:null};Zo=t,eb=pb=ob=0;for(;!gb();)vb(tb=mb())?yb(tb):91===tb&&Rb(tb);return{exp:t.slice(0,pb),key:t.slice(pb+1,ob)}}(t);return null===p.key?"".concat(t,"=").concat(e):"$set(".concat(p.exp,", ").concat(p.key,", ").concat(e,")")}function mb(){return Zo.charCodeAt(++eb)}function gb(){return eb>=Qo}function vb(t){return 34===t||39===t}function Rb(t){var e=1;for(pb=eb;!gb();)if(vb(t=mb()))yb(t);else if(91===t&&e++,93===t&&e--,0===e){ob=eb;break}}function yb(t){for(var e=t;!gb()&&(t=mb())!==e;);}var Bb,Lb="__r";function Xb(t,e,p){var o=Bb;return function b(){var n=e.apply(null,arguments);null!==n&&xb(t,b,p,o)}}var _b=Mp&&!(bt&&Number(bt[1])<=53);function Nb(t,e,p,o){if(_b){var b=Ve,n=e;e=n._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=b||t.timeStamp<=0||t.target.ownerDocument!==document)return n.apply(this,arguments)}}Bb.addEventListener(t,e,Mt?{capture:p,passive:o}:p)}function xb(t,e,p,o){(o||Bb).removeEventListener(t,e._wrapper||e,p)}function wb(t,e){if(!n(t.data.on)||!n(e.data.on)){var p=e.data.on||{},o=t.data.on||{};Bb=e.elm||t.elm,function(t){if(M(t.__r)){var e=Z?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}M(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(p),Ut(p,o,Nb,xb,Xb,e.context),Bb=void 0}}var Tb,Cb={create:wb,update:wb,destroy:function(t){return wb(t,So)}};function Sb(t,e){if(!n(t.data.domProps)||!n(e.data.domProps)){var p,o,b=e.elm,c=t.data.domProps||{},a=e.data.domProps||{};for(p in(M(a.__ob__)||z(a._v_attr_proxy))&&(a=e.data.domProps=x({},a)),c)p in a||(b[p]="");for(p in a){if(o=a[p],"textContent"===p||"innerHTML"===p){if(e.children&&(e.children.length=0),o===c[p])continue;1===b.childNodes.length&&b.removeChild(b.childNodes[0])}if("value"===p&&"PROGRESS"!==b.tagName){b._value=o;var r=n(o)?"":String(o);kb(b,r)&&(b.value=r)}else if("innerHTML"===p&&yo(b.tagName)&&n(b.innerHTML)){(Tb=Tb||document.createElement("div")).innerHTML="".concat(o,"");for(var i=Tb.firstChild;b.firstChild;)b.removeChild(b.firstChild);for(;i.firstChild;)b.appendChild(i.firstChild)}else if(o!==c[p])try{b[p]=o}catch(t){}}}}function kb(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var p=!0;try{p=document.activeElement!==t}catch(t){}return p&&t.value!==e}(t,e)||function(t,e){var p=t.value,o=t._vModifiers;if(M(o)){if(o.number)return u(p)!==u(e);if(o.trim)return p.trim()!==e.trim()}return p!==e}(t,e))}var Eb={create:Sb,update:Sb},Db=v((function(t){var e={},p=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var o=t.split(p);o.length>1&&(e[o[0].trim()]=o[1].trim())}})),e}));function Pb(t){var e=jb(t.style);return t.staticStyle?x(t.staticStyle,e):e}function jb(t){return Array.isArray(t)?w(t):"string"==typeof t?Db(t):t}var Ib,Fb=/^--/,Hb=/\s*!important$/,Vb=function(t,e,p){if(Fb.test(e))t.style.setProperty(e,p);else if(Hb.test(p))t.style.setProperty(X(e),p.replace(Hb,""),"important");else{var o=$b(e);if(Array.isArray(p))for(var b=0,n=p.length;b-1?e.split(Jb).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var p=" ".concat(t.getAttribute("class")||""," ");p.indexOf(" "+e+" ")<0&&t.setAttribute("class",(p+e).trim())}}function Qb(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Jb).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var p=" ".concat(t.getAttribute("class")||""," "),o=" "+e+" ";p.indexOf(o)>=0;)p=p.replace(o," ");(p=p.trim())?t.setAttribute("class",p):t.removeAttribute("class")}}function Zb(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&x(e,tn(t.name||"v")),x(e,t),e}return"string"==typeof t?tn(t):void 0}}var tn=v((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),en=K&&!tt,pn="transition",on="animation",bn="transition",nn="transitionend",Mn="animation",zn="animationend";en&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(bn="WebkitTransition",nn="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Mn="WebkitAnimation",zn="webkitAnimationEnd"));var cn=K?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function an(t){cn((function(){cn(t)}))}function rn(t,e){var p=t._transitionClasses||(t._transitionClasses=[]);p.indexOf(e)<0&&(p.push(e),Kb(t,e))}function On(t,e){t._transitionClasses&&W(t._transitionClasses,e),Qb(t,e)}function sn(t,e,p){var o=dn(t,e),b=o.type,n=o.timeout,M=o.propCount;if(!b)return p();var z=b===pn?nn:zn,c=0,a=function(){t.removeEventListener(z,r),p()},r=function(e){e.target===t&&++c>=M&&a()};setTimeout((function(){c0&&(p=pn,r=M,i=n.length):e===on?a>0&&(p=on,r=a,i=c.length):i=(p=(r=Math.max(M,a))>0?M>a?pn:on:null)?p===pn?n.length:c.length:0,{type:p,timeout:r,propCount:i,hasTransform:p===pn&&ln.test(o[bn+"Property"])}}function An(t,e){for(;t.length1}function mn(t,e){!0!==e.data.show&&qn(e)}var gn=function(t){var e,p,o={},a=t.modules,r=t.nodeOps;for(e=0;el?h(t,n(p[u+1])?null:p[u+1].elm,p,s,u,o):s>u&&m(e,i,l)}(i,d,u,p,a):M(u)?(M(t.text)&&r.setTextContent(i,""),h(i,null,u,0,u.length-1,p)):M(d)?m(d,0,d.length-1):M(t.text)&&r.setTextContent(i,""):t.text!==e.text&&r.setTextContent(i,e.text),M(l)&&M(s=l.hook)&&M(s=s.postpatch)&&s(t,e)}}}function y(t,e,p){if(z(p)&&M(t.parent))t.parent.data.pendingInsert=e;else for(var o=0;o-1,M.selected!==n&&(M.selected=n);else if(k(Ln(M),o))return void(t.selectedIndex!==z&&(t.selectedIndex=z));b||(t.selectedIndex=-1)}}function Bn(t,e){return e.every((function(e){return!k(e,t)}))}function Ln(t){return"_value"in t?t._value:t.value}function Xn(t){t.target.composing=!0}function _n(t){t.target.composing&&(t.target.composing=!1,Nn(t.target,"input"))}function Nn(t,e){var p=document.createEvent("HTMLEvents");p.initEvent(e,!0,!0),t.dispatchEvent(p)}function xn(t){return!t.componentInstance||t.data&&t.data.transition?t:xn(t.componentInstance._vnode)}var wn={bind:function(t,e,p){var o=e.value,b=(p=xn(p)).data&&p.data.transition,n=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;o&&b?(p.data.show=!0,qn(p,(function(){t.style.display=n}))):t.style.display=o?n:"none"},update:function(t,e,p){var o=e.value;!o!=!e.oldValue&&((p=xn(p)).data&&p.data.transition?(p.data.show=!0,o?qn(p,(function(){t.style.display=t.__vOriginalDisplay})):fn(p,(function(){t.style.display="none"}))):t.style.display=o?t.__vOriginalDisplay:"none")},unbind:function(t,e,p,o,b){b||(t.style.display=t.__vOriginalDisplay)}},Tn={model:vn,show:wn},Cn={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 Sn(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Sn(Le(e.children)):t}function kn(t){var e={},p=t.$options;for(var o in p.propsData)e[o]=t[o];var b=p._parentListeners;for(var o in b)e[y(o)]=b[o];return e}function En(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var Dn=function(t){return t.tag||ue(t)},Pn=function(t){return"show"===t.name},jn={name:"transition",props:Cn,abstract:!0,render:function(t){var e=this,p=this.$slots.default;if(p&&(p=p.filter(Dn)).length){0;var o=this.mode;0;var b=p[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return b;var n=Sn(b);if(!n)return b;if(this._leaving)return En(t,b);var M="__transition-".concat(this._uid,"-");n.key=null==n.key?n.isComment?M+"comment":M+n.tag:c(n.key)?0===String(n.key).indexOf(M)?n.key:M+n.key:n.key;var z=(n.data||(n.data={})).transition=kn(this),a=this._vnode,r=Sn(a);if(n.data.directives&&n.data.directives.some(Pn)&&(n.data.show=!0),r&&r.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(n,r)&&!ue(r)&&(!r.componentInstance||!r.componentInstance._vnode.isComment)){var i=r.data.transition=x({},z);if("out-in"===o)return this._leaving=!0,$t(i,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),En(t,b);if("in-out"===o){if(ue(n))return a;var O,s=function(){O()};$t(z,"afterEnter",s),$t(z,"enterCancelled",s),$t(i,"delayLeave",(function(t){O=t}))}}return b}}},In=x({tag:String,moveClass:String},Cn);delete In.mode;var Fn={props:In,beforeMount:function(){var t=this,e=this._update;this._update=function(p,o){var b=Te(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,b(),e.call(t,p,o)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",p=Object.create(null),o=this.prevChildren=this.children,b=this.$slots.default||[],n=this.children=[],M=kn(this),z=0;z-1?Xo[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Xo[t]=/HTMLUnknownElement/.test(e.toString())},x(to.options.directives,Tn),x(to.options.components,$n),to.prototype.__patch__=K?gn:T,to.prototype.$mount=function(t,e){return function(t,e,p){var o;t.$el=e,t.$options.render||(t.$options.render=At),Ee(t,"beforeMount"),o=function(){t._update(t._render(),p)},new hp(t,o,T,{before:function(){t._isMounted&&!t._isDestroyed&&Ee(t,"beforeUpdate")}},!0),p=!1;var b=t._preWatchers;if(b)for(var n=0;n\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,nM=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,MM="[a-zA-Z_][\\-\\.0-9_a-zA-Z".concat(V.source,"]*"),zM="((?:".concat(MM,"\\:)?").concat(MM,")"),cM=new RegExp("^<".concat(zM)),aM=/^\s*(\/?)>/,rM=new RegExp("^<\\/".concat(zM,"[^>]*>")),iM=/^]+>/i,OM=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},uM=/&(?:lt|gt|quot|amp|#39);/g,qM=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,fM=q("pre,textarea",!0),hM=function(t,e){return t&&fM(t)&&"\n"===e[0]};function WM(t,e){var p=e?qM:uM;return t.replace(p,(function(t){return AM[t]}))}function mM(t,e){for(var p,o,b=[],n=e.expectHTML,M=e.isUnaryTag||C,z=e.canBeLeftOpenTag||C,c=0,a=function(){if(p=t,o&&lM(o)){var a=0,O=o.toLowerCase(),s=dM[O]||(dM[O]=new RegExp("([\\s\\S]*?)(]*>)","i"));m=t.replace(s,(function(t,p,o){return a=o.length,lM(O)||"noscript"===O||(p=p.replace(//g,"$1").replace(//g,"$1")),hM(O,p)&&(p=p.slice(1)),e.chars&&e.chars(p),""}));c+=t.length-m.length,t=m,i(O,c-a,c)}else{var l=t.indexOf("<");if(0===l){if(OM.test(t)){var d=t.indexOf("--\x3e");if(d>=0)return e.shouldKeepComment&&e.comment&&e.comment(t.substring(4,d),c,c+d+3),r(d+3),"continue"}if(sM.test(t)){var A=t.indexOf("]>");if(A>=0)return r(A+2),"continue"}var u=t.match(iM);if(u)return r(u[0].length),"continue";var q=t.match(rM);if(q){var f=c;return r(q[0].length),i(q[1],f,c),"continue"}var h=function(){var e=t.match(cM);if(e){var p={tagName:e[1],attrs:[],start:c};r(e[0].length);for(var o=void 0,b=void 0;!(o=t.match(aM))&&(b=t.match(nM)||t.match(bM));)b.start=c,r(b[0].length),b.end=c,p.attrs.push(b);if(o)return p.unarySlash=o[1],r(o[0].length),p.end=c,p}}();if(h)return function(t){var p=t.tagName,c=t.unarySlash;n&&("p"===o&&oM(p)&&i(o),z(p)&&o===p&&i(p));for(var a=M(p)||!!c,r=t.attrs.length,O=new Array(r),s=0;s=0){for(m=t.slice(l);!(rM.test(m)||cM.test(m)||OM.test(m)||sM.test(m)||(g=m.indexOf("<",1))<0);)l+=g,m=t.slice(l);W=t.substring(0,l)}l<0&&(W=t),W&&r(W.length),e.chars&&W&&e.chars(W,c-W.length,c)}if(t===p)return e.chars&&e.chars(t),"break"};t;){if("break"===a())break}function r(e){c+=e,t=t.substring(e)}function i(t,p,n){var M,z;if(null==p&&(p=c),null==n&&(n=c),t)for(z=t.toLowerCase(),M=b.length-1;M>=0&&b[M].lowerCasedTag!==z;M--);else M=0;if(M>=0){for(var a=b.length-1;a>=M;a--)e.end&&e.end(b[a].tag,p,n);b.length=M,o=M&&b[M-1].tag}else"br"===z?e.start&&e.start(t,[],!0,p,n):"p"===z&&(e.start&&e.start(t,[],!1,p,n),e.end&&e.end(t,p,n))}i()}var gM,vM,RM,yM,BM,LM,XM,_M,NM=/^@|^v-on:/,xM=/^v-|^@|^:|^#/,wM=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,TM=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,CM=/^\(|\)$/g,SM=/^\[.*\]$/,kM=/:(.*)$/,EM=/^:|^\.|^v-bind:/,DM=/\.[^.\]]+(?=[^\]]*$)/g,PM=/^v-slot(:|$)|^#/,jM=/[\r\n]/,IM=/[ \f\t\r\n]+/g,FM=v(tM),HM="_empty_";function VM(t,e,p){return{type:1,tag:t,attrsList:e,attrsMap:QM(e),rawAttrsMap:{},parent:p,children:[]}}function UM(t,e){gM=e.warn||cb,LM=e.isPreTag||C,XM=e.mustUseProp||C,_M=e.getTagNamespace||C;var p=e.isReservedTag||C;(function(t){return!(!(t.component||t.attrsMap[":is"]||t.attrsMap["v-bind:is"])&&(t.attrsMap.is?p(t.attrsMap.is):p(t.tag)))}),RM=ab(e.modules,"transformNode"),yM=ab(e.modules,"preTransformNode"),BM=ab(e.modules,"postTransformNode"),vM=e.delimiters;var o,b,n=[],M=!1!==e.preserveWhitespace,z=e.whitespace,c=!1,a=!1;function r(t){if(i(t),c||t.processed||(t=$M(t,e)),n.length||t===o||o.if&&(t.elseif||t.else)&&GM(o,{exp:t.elseif,block:t}),b&&!t.forbidden)if(t.elseif||t.else)M=t,z=function(t){for(var e=t.length;e--;){if(1===t[e].type)return t[e];t.pop()}}(b.children),z&&z.if&&GM(z,{exp:M.elseif,block:M});else{if(t.slotScope){var p=t.slotTarget||'"default"';(b.scopedSlots||(b.scopedSlots={}))[p]=t}b.children.push(t),t.parent=b}var M,z;t.children=t.children.filter((function(t){return!t.slotScope})),i(t),t.pre&&(c=!1),LM(t.tag)&&(a=!1);for(var r=0;rc&&(z.push(n=t.slice(c,b)),M.push(JSON.stringify(n)));var a=Mb(o[1].trim());M.push("_s(".concat(a,")")),z.push({"@binding":a}),c=b+o[0].length}return c-1")+("true"===n?":(".concat(e,")"):":_q(".concat(e,",").concat(n,")"))),db(t,"change","var $$a=".concat(e,",")+"$$el=$event.target,"+"$$c=$$el.checked?(".concat(n,"):(").concat(M,");")+"if(Array.isArray($$a)){"+"var $$v=".concat(o?"_n("+b+")":b,",")+"$$i=_i($$a,$$v);"+"if($$el.checked){$$i<0&&(".concat(Wb(e,"$$a.concat([$$v])"),")}")+"else{$$i>-1&&(".concat(Wb(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))"),")}")+"}else{".concat(Wb(e,"$$c"),"}"),null,!0)}(t,o,b);else if("input"===n&&"radio"===M)!function(t,e,p){var o=p&&p.number,b=Ab(t,"value")||"null";b=o?"_n(".concat(b,")"):b,rb(t,"checked","_q(".concat(e,",").concat(b,")")),db(t,"change",Wb(e,b),null,!0)}(t,o,b);else if("input"===n||"textarea"===n)!function(t,e,p){var o=t.attrsMap.type;0;var b=p||{},n=b.lazy,M=b.number,z=b.trim,c=!n&&"range"!==o,a=n?"change":"range"===o?Lb:"input",r="$event.target.value";z&&(r="$event.target.value.trim()");M&&(r="_n(".concat(r,")"));var i=Wb(e,r);c&&(i="if($event.target.composing)return;".concat(i));rb(t,"value","(".concat(e,")")),db(t,a,i,null,!0),(z||M)&&db(t,"blur","$forceUpdate()")}(t,o,b);else{if(!H.isReservedTag(n))return hb(t,o,b),!1}return!0},text:function(t,e){e.value&&rb(t,"textContent","_s(".concat(e.value,")"),e)},html:function(t,e){e.value&&rb(t,"innerHTML","_s(".concat(e.value,")"),e)}},Mz={expectHTML:!0,modules:pz,directives:nz,isPreTag:function(t){return"pre"===t},isUnaryTag:eM,mustUseProp:io,canBeLeftOpenTag:pM,isReservedTag:Bo,getTagNamespace:Lo,staticKeys:function(t){return t.reduce((function(t,e){return t.concat(e.staticKeys||[])}),[]).join(",")}(pz)},zz=v((function(t){return q("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}));function cz(t,e){t&&(oz=zz(e.staticKeys||""),bz=e.isReservedTag||C,az(t),rz(t,!1))}function az(t){if(t.static=function(t){if(2===t.type)return!1;if(3===t.type)return!0;return!(!t.pre&&(t.hasBindings||t.if||t.for||f(t.tag)||!bz(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(oz)))}(t),1===t.type){if(!bz(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var e=0,p=t.children.length;e|^function(?:\s+[\w$]+)?\s*\(/,Oz=/\([^)]*?\);*$/,sz=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,lz={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},dz={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"]},Az=function(t){return"if(".concat(t,")return null;")},uz={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Az("$event.target !== $event.currentTarget"),ctrl:Az("!$event.ctrlKey"),shift:Az("!$event.shiftKey"),alt:Az("!$event.altKey"),meta:Az("!$event.metaKey"),left:Az("'button' in $event && $event.button !== 0"),middle:Az("'button' in $event && $event.button !== 1"),right:Az("'button' in $event && $event.button !== 2")};function qz(t,e){var p=e?"nativeOn:":"on:",o="",b="";for(var n in t){var M=fz(t[n]);t[n]&&t[n].dynamic?b+="".concat(n,",").concat(M,","):o+='"'.concat(n,'":').concat(M,",")}return o="{".concat(o.slice(0,-1),"}"),b?p+"_d(".concat(o,",[").concat(b.slice(0,-1),"])"):p+o}function fz(t){if(!t)return"function(){}";if(Array.isArray(t))return"[".concat(t.map((function(t){return fz(t)})).join(","),"]");var e=sz.test(t.value),p=iz.test(t.value),o=sz.test(t.value.replace(Oz,""));if(t.modifiers){var b="",n="",M=[],z=function(e){if(uz[e])n+=uz[e],lz[e]&&M.push(e);else if("exact"===e){var p=t.modifiers;n+=Az(["ctrl","shift","alt","meta"].filter((function(t){return!p[t]})).map((function(t){return"$event.".concat(t,"Key")})).join("||"))}else M.push(e)};for(var c in t.modifiers)z(c);M.length&&(b+=function(t){return"if(!$event.type.indexOf('key')&&"+"".concat(t.map(hz).join("&&"),")return null;")}(M)),n&&(b+=n);var a=e?"return ".concat(t.value,".apply(null, arguments)"):p?"return (".concat(t.value,").apply(null, arguments)"):o?"return ".concat(t.value):t.value;return"function($event){".concat(b).concat(a,"}")}return e||p?t.value:"function($event){".concat(o?"return ".concat(t.value):t.value,"}")}function hz(t){var e=parseInt(t,10);if(e)return"$event.keyCode!==".concat(e);var p=lz[t],o=dz[t];return"_k($event.keyCode,"+"".concat(JSON.stringify(t),",")+"".concat(JSON.stringify(p),",")+"$event.key,"+"".concat(JSON.stringify(o))+")"}var Wz={on:function(t,e){t.wrapListeners=function(t){return"_g(".concat(t,",").concat(e.value,")")}},bind:function(t,e){t.wrapData=function(p){return"_b(".concat(p,",'").concat(t.tag,"',").concat(e.value,",").concat(e.modifiers&&e.modifiers.prop?"true":"false").concat(e.modifiers&&e.modifiers.sync?",true":"",")")}},cloak:T},mz=function(t){this.options=t,this.warn=t.warn||cb,this.transforms=ab(t.modules,"transformCode"),this.dataGenFns=ab(t.modules,"genData"),this.directives=x(x({},Wz),t.directives);var e=t.isReservedTag||C;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function gz(t,e){var p=new mz(e),o=t?"script"===t.tag?"null":vz(t,p):'_c("div")';return{render:"with(this){return ".concat(o,"}"),staticRenderFns:p.staticRenderFns}}function vz(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Rz(t,e);if(t.once&&!t.onceProcessed)return yz(t,e);if(t.for&&!t.forProcessed)return Xz(t,e);if(t.if&&!t.ifProcessed)return Bz(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var p=t.slotName||'"default"',o=wz(t,e),b="_t(".concat(p).concat(o?",function(){return ".concat(o,"}"):""),n=t.attrs||t.dynamicAttrs?Sz((t.attrs||[]).concat(t.dynamicAttrs||[]).map((function(t){return{name:y(t.name),value:t.value,dynamic:t.dynamic}}))):null,M=t.attrsMap["v-bind"];!n&&!M||o||(b+=",null");n&&(b+=",".concat(n));M&&(b+="".concat(n?"":",null",",").concat(M));return b+")"}(t,e);var p=void 0;if(t.component)p=function(t,e,p){var o=e.inlineTemplate?null:wz(e,p,!0);return"_c(".concat(t,",").concat(_z(e,p)).concat(o?",".concat(o):"",")")}(t.component,t,e);else{var o=void 0,b=e.maybeComponent(t);(!t.plain||t.pre&&b)&&(o=_z(t,e));var n=void 0,M=e.options.bindings;b&&M&&!1!==M.__isScriptSetup&&(n=function(t,e){var p=y(e),o=B(p),b=function(b){return t[e]===b?e:t[p]===b?p:t[o]===b?o:void 0},n=b("setup-const")||b("setup-reactive-const");if(n)return n;var M=b("setup-let")||b("setup-ref")||b("setup-maybe-ref");if(M)return M}(M,t.tag)),n||(n="'".concat(t.tag,"'"));var z=t.inlineTemplate?null:wz(t,e,!0);p="_c(".concat(n).concat(o?",".concat(o):"").concat(z?",".concat(z):"",")")}for(var c=0;c>>0}(M)):"",")")}(t,t.scopedSlots,e),",")),t.model&&(p+="model:{value:".concat(t.model.value,",callback:").concat(t.model.callback,",expression:").concat(t.model.expression,"},")),t.inlineTemplate){var n=function(t,e){var p=t.children[0];0;if(p&&1===p.type){var o=gz(p,e.options);return"inlineTemplate:{render:function(){".concat(o.render,"},staticRenderFns:[").concat(o.staticRenderFns.map((function(t){return"function(){".concat(t,"}")})).join(","),"]}")}}(t,e);n&&(p+="".concat(n,","))}return p=p.replace(/,$/,"")+"}",t.dynamicAttrs&&(p="_b(".concat(p,',"').concat(t.tag,'",').concat(Sz(t.dynamicAttrs),")")),t.wrapData&&(p=t.wrapData(p)),t.wrapListeners&&(p=t.wrapListeners(p)),p}function Nz(t){return 1===t.type&&("slot"===t.tag||t.children.some(Nz))}function xz(t,e){var p=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!p)return Bz(t,e,xz,"null");if(t.for&&!t.forProcessed)return Xz(t,e,xz);var o=t.slotScope===HM?"":String(t.slotScope),b="function(".concat(o,"){")+"return ".concat("template"===t.tag?t.if&&p?"(".concat(t.if,")?").concat(wz(t,e)||"undefined",":undefined"):wz(t,e)||"undefined":vz(t,e),"}"),n=o?"":",proxy:true";return"{key:".concat(t.slotTarget||'"default"',",fn:").concat(b).concat(n,"}")}function wz(t,e,p,o,b){var n=t.children;if(n.length){var M=n[0];if(1===n.length&&M.for&&"template"!==M.tag&&"slot"!==M.tag){var z=p?e.maybeComponent(M)?",1":",0":"";return"".concat((o||vz)(M,e)).concat(z)}var c=p?function(t,e){for(var p=0,o=0;o':'
',jz.innerHTML.indexOf(" ")>0}var Vz=!!K&&Hz(!1),Uz=!!K&&Hz(!0),$z=v((function(t){var e=No(t);return e&&e.innerHTML})),Yz=to.prototype.$mount;to.prototype.$mount=function(t,e){if((t=t&&No(t))===document.body||t===document.documentElement)return this;var p=this.$options;if(!p.render){var o=p.template;if(o)if("string"==typeof o)"#"===o.charAt(0)&&(o=$z(o));else{if(!o.nodeType)return this;o=o.innerHTML}else t&&(o=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(o){0;var b=Fz(o,{outputSourceRange:!1,shouldDecodeNewlines:Vz,shouldDecodeNewlinesForHref:Uz,delimiters:p.delimiters,comments:p.comments},this),n=b.render,M=b.staticRenderFns;p.render=n,p.staticRenderFns=M}}return Yz.call(this,t,e)},to.compile=Fz;var Gz=p(8),Jz=p.n(Gz);function Kz(t){return function(t){if(Array.isArray(t))return Qz(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Qz(t,e);var p=Object.prototype.toString.call(t).slice(8,-1);"Object"===p&&t.constructor&&(p=t.constructor.name);if("Map"===p||"Set"===p)return Array.from(t);if("Arguments"===p||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p))return Qz(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qz(t,e){(null==e||e>t.length)&&(e=t.length);for(var p=0,o=new Array(e);p=0&&(e=t.slice(o),t=t.slice(0,o));var b=t.indexOf("?");return b>=0&&(p=t.slice(b+1),t=t.slice(0,b)),{path:t,query:p,hash:e}}(b.path||""),a=e&&e.path||"/",r=c.path?yc(c.path,a,p||b.append):a,i=function(t,e,p){void 0===e&&(e={});var o,b=p||sc;try{o=b(t||"")}catch(t){o={}}for(var n in e){var M=e[n];o[n]=Array.isArray(M)?M.map(Oc):Oc(M)}return o}(c.query,b.query,o&&o.options.parseQuery),O=b.hash||c.hash;return O&&"#"!==O.charAt(0)&&(O="#"+O),{_normalized:!0,path:r,query:i,hash:O}}var Yc,Gc=function(){},Jc={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(t){var e=this,p=this.$router,o=this.$route,b=p.resolve(this.to,o,this.append),n=b.location,M=b.route,z=b.href,c={},a=p.options.linkActiveClass,r=p.options.linkExactActiveClass,i=null==a?"router-link-active":a,O=null==r?"router-link-exact-active":r,s=null==this.activeClass?i:this.activeClass,l=null==this.exactActiveClass?O:this.exactActiveClass,d=M.redirectedFrom?Ac(null,$c(M.redirectedFrom),null,p):M;c[l]=Wc(o,d,this.exactPath),c[s]=this.exact||this.exactPath?c[l]:function(t,e){return 0===t.path.replace(dc,"/").indexOf(e.path.replace(dc,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var p in e)if(!(p in t))return!1;return!0}(t.query,e.query)}(o,d);var A=c[l]?this.ariaCurrentValue:null,u=function(t){Kc(t)&&(e.replace?p.replace(n,Gc):p.push(n,Gc))},q={click:Kc};Array.isArray(this.event)?this.event.forEach((function(t){q[t]=u})):q[this.event]=u;var f={class:c},h=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:z,route:M,navigate:u,isActive:c[s],isExactActive:c[l]});if(h){if(1===h.length)return h[0];if(h.length>1||!h.length)return 0===h.length?t():t("span",{},h)}if("a"===this.tag)f.on=q,f.attrs={href:z,"aria-current":A};else{var W=Qc(this.$slots.default);if(W){W.isStatic=!1;var m=W.data=Mc({},W.data);for(var g in m.on=m.on||{},m.on){var v=m.on[g];g in q&&(m.on[g]=Array.isArray(v)?v:[v])}for(var R in q)R in m.on?m.on[R].push(q[R]):m.on[R]=u;var y=W.data.attrs=Mc({},W.data.attrs);y.href=z,y["aria-current"]=A}else f.on=q}return t(this.tag,f,this.$slots.default)}};function Kc(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function Qc(t){if(t)for(var e,p=0;p-1&&(z.params[O]=p.params[O]);return z.path=Uc(r.path,z.params),c(r,z,M)}if(z.path){z.params={};for(var s=0;s-1}function _a(t,e){return Xa(t)&&t._isRouter&&(null==e||t.type===e)}function Na(t,e,p){var o=function(b){b>=t.length?p():t[b]?e(t[b],(function(){o(b+1)})):o(b+1)};o(0)}function xa(t){return function(e,p,o){var b=!1,n=0,M=null;wa(t,(function(t,e,p,z){if("function"==typeof t&&void 0===t.cid){b=!0,n++;var c,a=Sa((function(e){var b;((b=e).__esModule||Ca&&"Module"===b[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:Yc.extend(e),p.components[z]=e,--n<=0&&o()})),r=Sa((function(t){var e="Failed to resolve async component "+z+": "+t;M||(M=Xa(t)?t:new Error(e),o(M))}));try{c=t(a,r)}catch(t){r(t)}if(c)if("function"==typeof c.then)c.then(a,r);else{var i=c.component;i&&"function"==typeof i.then&&i.then(a,r)}}})),b||o()}}function wa(t,e){return Ta(t.map((function(t){return Object.keys(t.components).map((function(p){return e(t.components[p],t.instances[p],t,p)}))})))}function Ta(t){return Array.prototype.concat.apply([],t)}var Ca="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Sa(t){var e=!1;return function(){for(var p=[],o=arguments.length;o--;)p[o]=arguments[o];if(!e)return e=!0,t.apply(this,p)}}var ka=function(t,e){this.router=t,this.base=function(t){if(!t)if(Zc){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=qc,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function Ea(t,e,p,o){var b=wa(t,(function(t,o,b,n){var M=function(t,e){"function"!=typeof t&&(t=Yc.extend(t));return t.options[e]}(t,e);if(M)return Array.isArray(M)?M.map((function(t){return p(t,o,b,n)})):p(M,o,b,n)}));return Ta(o?b.reverse():b)}function Da(t,e){if(e)return function(){return t.apply(e,arguments)}}ka.prototype.listen=function(t){this.cb=t},ka.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},ka.prototype.onError=function(t){this.errorCbs.push(t)},ka.prototype.transitionTo=function(t,e,p){var o,b=this;try{o=this.router.match(t,this.current)}catch(t){throw this.errorCbs.forEach((function(e){e(t)})),t}var n=this.current;this.confirmTransition(o,(function(){b.updateRoute(o),e&&e(o),b.ensureURL(),b.router.afterHooks.forEach((function(t){t&&t(o,n)})),b.ready||(b.ready=!0,b.readyCbs.forEach((function(t){t(o)})))}),(function(t){p&&p(t),t&&!b.ready&&(_a(t,va.redirected)&&n===qc||(b.ready=!0,b.readyErrorCbs.forEach((function(e){e(t)}))))}))},ka.prototype.confirmTransition=function(t,e,p){var o=this,b=this.current;this.pending=t;var n,M,z=function(t){!_a(t)&&Xa(t)&&o.errorCbs.length&&o.errorCbs.forEach((function(e){e(t)})),p&&p(t)},c=t.matched.length-1,a=b.matched.length-1;if(Wc(t,b)&&c===a&&t.matched[c]===b.matched[a])return this.ensureURL(),t.hash&&Oa(this.router,b,t,!1),z(((M=Ba(n=b,t,va.duplicated,'Avoided redundant navigation to current location: "'+n.fullPath+'".')).name="NavigationDuplicated",M));var r=function(t,e){var p,o=Math.max(t.length,e.length);for(p=0;p0)){var e=this.router,p=e.options.scrollBehavior,o=Wa&&p;o&&this.listeners.push(ia());var b=function(){var p=t.current,b=ja(t.base);t.current===qc&&b===t._startLocation||t.transitionTo(b,(function(t){o&&Oa(e,t,p,!0)}))};window.addEventListener("popstate",b),this.listeners.push((function(){window.removeEventListener("popstate",b)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,p){var o=this,b=this.current;this.transitionTo(t,(function(t){ma(Bc(o.base+t.fullPath)),Oa(o.router,t,b,!1),e&&e(t)}),p)},e.prototype.replace=function(t,e,p){var o=this,b=this.current;this.transitionTo(t,(function(t){ga(Bc(o.base+t.fullPath)),Oa(o.router,t,b,!1),e&&e(t)}),p)},e.prototype.ensureURL=function(t){if(ja(this.base)!==this.current.fullPath){var e=Bc(this.base+this.current.fullPath);t?ma(e):ga(e)}},e.prototype.getCurrentLocation=function(){return ja(this.base)},e}(ka);function ja(t){var e=window.location.pathname,p=e.toLowerCase(),o=t.toLowerCase();return!t||p!==o&&0!==p.indexOf(Bc(o+"/"))||(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var Ia=function(t){function e(e,p,o){t.call(this,e,p),o&&function(t){var e=ja(t);if(!/^\/#/.test(e))return window.location.replace(Bc(t+"/#"+e)),!0}(this.base)||Fa()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router.options.scrollBehavior,p=Wa&&e;p&&this.listeners.push(ia());var o=function(){var e=t.current;Fa()&&t.transitionTo(Ha(),(function(o){p&&Oa(t.router,o,e,!0),Wa||$a(o.fullPath)}))},b=Wa?"popstate":"hashchange";window.addEventListener(b,o),this.listeners.push((function(){window.removeEventListener(b,o)}))}},e.prototype.push=function(t,e,p){var o=this,b=this.current;this.transitionTo(t,(function(t){Ua(t.fullPath),Oa(o.router,t,b,!1),e&&e(t)}),p)},e.prototype.replace=function(t,e,p){var o=this,b=this.current;this.transitionTo(t,(function(t){$a(t.fullPath),Oa(o.router,t,b,!1),e&&e(t)}),p)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;Ha()!==e&&(t?Ua(e):$a(e))},e.prototype.getCurrentLocation=function(){return Ha()},e}(ka);function Fa(){var t=Ha();return"/"===t.charAt(0)||($a("/"+t),!1)}function Ha(){var t=window.location.href,e=t.indexOf("#");return e<0?"":t=t.slice(e+1)}function Va(t){var e=window.location.href,p=e.indexOf("#");return(p>=0?e.slice(0,p):e)+"#"+t}function Ua(t){Wa?ma(Va(t)):window.location.hash=t}function $a(t){Wa?ga(Va(t)):window.location.replace(Va(t))}var Ya=function(t){function e(e,p){t.call(this,e,p),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,p){var o=this;this.transitionTo(t,(function(t){o.stack=o.stack.slice(0,o.index+1).concat(t),o.index++,e&&e(t)}),p)},e.prototype.replace=function(t,e,p){var o=this;this.transitionTo(t,(function(t){o.stack=o.stack.slice(0,o.index).concat(t),e&&e(t)}),p)},e.prototype.go=function(t){var e=this,p=this.index+t;if(!(p<0||p>=this.stack.length)){var o=this.stack[p];this.confirmTransition(o,(function(){var t=e.current;e.index=p,e.updateRoute(o),e.router.afterHooks.forEach((function(e){e&&e(o,t)}))}),(function(t){_a(t,va.duplicated)&&(e.index=p)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(ka),Ga=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=oa(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Wa&&!1!==t.fallback,this.fallback&&(e="hash"),Zc||(e="abstract"),this.mode=e,e){case"history":this.history=new Pa(this,t.base);break;case"hash":this.history=new Ia(this,t.base,this.fallback);break;case"abstract":this.history=new Ya(this,t.base)}},Ja={currentRoute:{configurable:!0}};Ga.prototype.match=function(t,e,p){return this.matcher.match(t,e,p)},Ja.currentRoute.get=function(){return this.history&&this.history.current},Ga.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var p=e.apps.indexOf(t);p>-1&&e.apps.splice(p,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var p=this.history;if(p instanceof Pa||p instanceof Ia){var o=function(t){p.setupListeners(),function(t){var o=p.current,b=e.options.scrollBehavior;Wa&&b&&"fullPath"in t&&Oa(e,t,o,!1)}(t)};p.transitionTo(p.getCurrentLocation(),o,o)}p.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},Ga.prototype.beforeEach=function(t){return Qa(this.beforeHooks,t)},Ga.prototype.beforeResolve=function(t){return Qa(this.resolveHooks,t)},Ga.prototype.afterEach=function(t){return Qa(this.afterHooks,t)},Ga.prototype.onReady=function(t,e){this.history.onReady(t,e)},Ga.prototype.onError=function(t){this.history.onError(t)},Ga.prototype.push=function(t,e,p){var o=this;if(!e&&!p&&"undefined"!=typeof Promise)return new Promise((function(e,p){o.history.push(t,e,p)}));this.history.push(t,e,p)},Ga.prototype.replace=function(t,e,p){var o=this;if(!e&&!p&&"undefined"!=typeof Promise)return new Promise((function(e,p){o.history.replace(t,e,p)}));this.history.replace(t,e,p)},Ga.prototype.go=function(t){this.history.go(t)},Ga.prototype.back=function(){this.go(-1)},Ga.prototype.forward=function(){this.go(1)},Ga.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},Ga.prototype.resolve=function(t,e,p){var o=$c(t,e=e||this.history.current,p,this),b=this.match(o,e),n=b.redirectedFrom||b.fullPath,M=function(t,e,p){var o="hash"===p?"#"+e:e;return t?Bc(t+"/"+o):o}(this.history.base,n,this.mode);return{location:o,route:b,href:M,normalizedTo:o,resolved:b}},Ga.prototype.getRoutes=function(){return this.matcher.getRoutes()},Ga.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==qc&&this.history.transitionTo(this.history.getCurrentLocation())},Ga.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==qc&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Ga.prototype,Ja);var Ka=Ga;function Qa(t,e){return t.push(e),function(){var p=t.indexOf(e);p>-1&&t.splice(p,1)}}Ga.install=function t(e){if(!t.installed||Yc!==e){t.installed=!0,Yc=e;var p=function(t){return void 0!==t},o=function(t,e){var o=t.$options._parentVnode;p(o)&&p(o=o.data)&&p(o=o.registerRouteInstance)&&o(t,e)};e.mixin({beforeCreate:function(){p(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,o(this,this)},destroyed:function(){o(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",vc),e.component("RouterLink",Jc);var b=e.config.optionMergeStrategies;b.beforeRouteEnter=b.beforeRouteLeave=b.beforeRouteUpdate=b.created}},Ga.version="3.6.5",Ga.isNavigationFailure=_a,Ga.NavigationFailureType=va,Ga.START_LOCATION=qc,Zc&&window.Vue&&window.Vue.use(Ga);var Za=p(4566),tr=p.n(Za);window.Popper=p(8981).default;try{window.$=window.jQuery=p(9755),p(3734)}catch(t){}var er=document.head.querySelector('meta[name="csrf-token"]');bc().defaults.headers.common["X-Requested-With"]="XMLHttpRequest",er&&(bc().defaults.headers.common["X-CSRF-TOKEN"]=er.content),to.use(Ka),to.prototype.$http=bc().create(),window.Horizon.basePath="/"+window.Horizon.path;var pr=window.Horizon.basePath+"/";""!==window.Horizon.path&&"/"!==window.Horizon.path||(pr="/",window.Horizon.basePath="");var or=new Ka({routes:nc,mode:"history",base:pr});to.component("vue-json-pretty",tr()),to.component("alert",p(4682).Z),to.mixin(pc),to.directive("tooltip",(function(t,e){$(t).tooltip({title:e.value,placement:e.arg,trigger:"hover"})})),new to({el:"#horizon",router:or,data:function(){return{alert:{type:null,autoClose:0,message:"",confirmationProceed:null,confirmationCancel:null},autoLoadsNewEntries:"1"===localStorage.autoLoadsNewEntries}}})},3734:function(t,e,p){!function(t,e,p){"use strict";function o(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var b=o(e),n=o(p);function M(t,e){for(var p=0;p=M)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};q.jQueryDetection(),u();var f="alert",h="4.6.2",W="bs.alert",m="."+W,g=".data-api",v=b.default.fn[f],R="alert",y="fade",B="show",L="close"+m,X="closed"+m,_="click"+m+g,N='[data-dismiss="alert"]',x=function(){function t(t){this._element=t}var e=t.prototype;return e.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},e.dispose=function(){b.default.removeData(this._element,W),this._element=null},e._getRootElement=function(t){var e=q.getSelectorFromElement(t),p=!1;return e&&(p=document.querySelector(e)),p||(p=b.default(t).closest("."+R)[0]),p},e._triggerCloseEvent=function(t){var e=b.default.Event(L);return b.default(t).trigger(e),e},e._removeElement=function(t){var e=this;if(b.default(t).removeClass(B),b.default(t).hasClass(y)){var p=q.getTransitionDurationFromElement(t);b.default(t).one(q.TRANSITION_END,(function(p){return e._destroyElement(t,p)})).emulateTransitionEnd(p)}else this._destroyElement(t)},e._destroyElement=function(t){b.default(t).detach().trigger(X).remove()},t._jQueryInterface=function(e){return this.each((function(){var p=b.default(this),o=p.data(W);o||(o=new t(this),p.data(W,o)),"close"===e&&o[e](this)}))},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},z(t,null,[{key:"VERSION",get:function(){return h}}]),t}();b.default(document).on(_,N,x._handleDismiss(new x)),b.default.fn[f]=x._jQueryInterface,b.default.fn[f].Constructor=x,b.default.fn[f].noConflict=function(){return b.default.fn[f]=v,x._jQueryInterface};var w="button",T="4.6.2",C="bs.button",S="."+C,k=".data-api",E=b.default.fn[w],D="active",P="btn",j="focus",I="click"+S+k,F="focus"+S+k+" blur"+S+k,H="load"+S+k,V='[data-toggle^="button"]',U='[data-toggle="buttons"]',$='[data-toggle="button"]',Y='[data-toggle="buttons"] .btn',G='input:not([type="hidden"])',J=".active",K=".btn",Q=function(){function t(t){this._element=t,this.shouldAvoidTriggerChange=!1}var e=t.prototype;return e.toggle=function(){var t=!0,e=!0,p=b.default(this._element).closest(U)[0];if(p){var o=this._element.querySelector(G);if(o){if("radio"===o.type)if(o.checked&&this._element.classList.contains(D))t=!1;else{var n=p.querySelector(J);n&&b.default(n).removeClass(D)}t&&("checkbox"!==o.type&&"radio"!==o.type||(o.checked=!this._element.classList.contains(D)),this.shouldAvoidTriggerChange||b.default(o).trigger("change")),o.focus(),e=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(D)),t&&b.default(this._element).toggleClass(D))},e.dispose=function(){b.default.removeData(this._element,C),this._element=null},t._jQueryInterface=function(e,p){return this.each((function(){var o=b.default(this),n=o.data(C);n||(n=new t(this),o.data(C,n)),n.shouldAvoidTriggerChange=p,"toggle"===e&&n[e]()}))},z(t,null,[{key:"VERSION",get:function(){return T}}]),t}();b.default(document).on(I,V,(function(t){var e=t.target,p=e;if(b.default(e).hasClass(P)||(e=b.default(e).closest(K)[0]),!e||e.hasAttribute("disabled")||e.classList.contains("disabled"))t.preventDefault();else{var o=e.querySelector(G);if(o&&(o.hasAttribute("disabled")||o.classList.contains("disabled")))return void t.preventDefault();"INPUT"!==p.tagName&&"LABEL"===e.tagName||Q._jQueryInterface.call(b.default(e),"toggle","INPUT"===p.tagName)}})).on(F,V,(function(t){var e=b.default(t.target).closest(K)[0];b.default(e).toggleClass(j,/^focus(in)?$/.test(t.type))})),b.default(window).on(H,(function(){for(var t=[].slice.call(document.querySelectorAll(Y)),e=0,p=t.length;e0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var e=t.prototype;return e.next=function(){this._isSliding||this._slide(ut)},e.nextWhenVisible=function(){var t=b.default(this._element);!document.hidden&&t.is(":visible")&&"hidden"!==t.css("visibility")&&this.next()},e.prev=function(){this._isSliding||this._slide(qt)},e.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(Et)&&(q.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(t){t||(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))},e.to=function(t){var e=this;this._activeElement=this._element.querySelector(Ct);var p=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)b.default(this._element).one(mt,(function(){return e.to(t)}));else{if(p===t)return this.pause(),void this.cycle();var o=t>p?ut:qt;this._slide(o,this._items[t])}},e.dispose=function(){b.default(this._element).off(pt),b.default.removeData(this._element,et),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(t){return t=c({},It,t),q.typeCheckConfig(Z,t,Ft),t},e._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=ct)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0&&this.prev(),e<0&&this.next()}},e._addEventListeners=function(){var t=this;this._config.keyboard&&b.default(this._element).on(gt,(function(e){return t._keydown(e)})),"hover"===this._config.pause&&b.default(this._element).on(vt,(function(e){return t.pause(e)})).on(Rt,(function(e){return t.cycle(e)})),this._config.touch&&this._addTouchEventListeners()},e._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var e=function(e){t._pointerEvent&&Ht[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},p=function(e){t.touchDeltaX=e.originalEvent.touches&&e.originalEvent.touches.length>1?0:e.originalEvent.touches[0].clientX-t.touchStartX},o=function(e){t._pointerEvent&&Ht[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout((function(e){return t.cycle(e)}),zt+t._config.interval))};b.default(this._element.querySelectorAll(kt)).on(Nt,(function(t){return t.preventDefault()})),this._pointerEvent?(b.default(this._element).on(Xt,(function(t){return e(t)})),b.default(this._element).on(_t,(function(t){return o(t)})),this._element.classList.add(At)):(b.default(this._element).on(yt,(function(t){return e(t)})),b.default(this._element).on(Bt,(function(t){return p(t)})),b.default(this._element).on(Lt,(function(t){return o(t)})))}},e._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case nt:t.preventDefault(),this.prev();break;case Mt:t.preventDefault(),this.next()}},e._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(St)):[],this._items.indexOf(t)},e._getItemByDirection=function(t,e){var p=t===ut,o=t===qt,b=this._getItemIndex(e),n=this._items.length-1;if((o&&0===b||p&&b===n)&&!this._config.wrap)return e;var M=(b+(t===qt?-1:1))%this._items.length;return-1===M?this._items[this._items.length-1]:this._items[M]},e._triggerSlideEvent=function(t,e){var p=this._getItemIndex(t),o=this._getItemIndex(this._element.querySelector(Ct)),n=b.default.Event(Wt,{relatedTarget:t,direction:e,from:o,to:p});return b.default(this._element).trigger(n),n},e._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var e=[].slice.call(this._indicatorsElement.querySelectorAll(Tt));b.default(e).removeClass(rt);var p=this._indicatorsElement.children[this._getItemIndex(t)];p&&b.default(p).addClass(rt)}},e._updateInterval=function(){var t=this._activeElement||this._element.querySelector(Ct);if(t){var e=parseInt(t.getAttribute("data-interval"),10);e?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=e):this._config.interval=this._config.defaultInterval||this._config.interval}},e._slide=function(t,e){var p,o,n,M=this,z=this._element.querySelector(Ct),c=this._getItemIndex(z),a=e||z&&this._getItemByDirection(t,z),r=this._getItemIndex(a),i=Boolean(this._interval);if(t===ut?(p=st,o=lt,n=ft):(p=Ot,o=dt,n=ht),a&&b.default(a).hasClass(rt))this._isSliding=!1;else if(!this._triggerSlideEvent(a,n).isDefaultPrevented()&&z&&a){this._isSliding=!0,i&&this.pause(),this._setActiveIndicatorElement(a),this._activeElement=a;var O=b.default.Event(mt,{relatedTarget:a,direction:n,from:c,to:r});if(b.default(this._element).hasClass(it)){b.default(a).addClass(o),q.reflow(a),b.default(z).addClass(p),b.default(a).addClass(p);var s=q.getTransitionDurationFromElement(z);b.default(z).one(q.TRANSITION_END,(function(){b.default(a).removeClass(p+" "+o).addClass(rt),b.default(z).removeClass(rt+" "+o+" "+p),M._isSliding=!1,setTimeout((function(){return b.default(M._element).trigger(O)}),0)})).emulateTransitionEnd(s)}else b.default(z).removeClass(rt),b.default(a).addClass(rt),this._isSliding=!1,b.default(this._element).trigger(O);i&&this.cycle()}},t._jQueryInterface=function(e){return this.each((function(){var p=b.default(this).data(et),o=c({},It,b.default(this).data());"object"==typeof e&&(o=c({},o,e));var n="string"==typeof e?e:o.slide;if(p||(p=new t(this,o),b.default(this).data(et,p)),"number"==typeof e)p.to(e);else if("string"==typeof n){if(void 0===p[n])throw new TypeError('No method named "'+n+'"');p[n]()}else o.interval&&o.ride&&(p.pause(),p.cycle())}))},t._dataApiClickHandler=function(e){var p=q.getSelectorFromElement(this);if(p){var o=b.default(p)[0];if(o&&b.default(o).hasClass(at)){var n=c({},b.default(o).data(),b.default(this).data()),M=this.getAttribute("data-slide-to");M&&(n.interval=!1),t._jQueryInterface.call(b.default(o),n),M&&b.default(o).data(et).to(M),e.preventDefault()}}},z(t,null,[{key:"VERSION",get:function(){return tt}},{key:"Default",get:function(){return It}}]),t}();b.default(document).on(wt,Pt,Vt._dataApiClickHandler),b.default(window).on(xt,(function(){for(var t=[].slice.call(document.querySelectorAll(jt)),e=0,p=t.length;e0&&(this._selector=M,this._triggerArray.push(n))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var e=t.prototype;return e.toggle=function(){b.default(this._element).hasClass(Qt)?this.hide():this.show()},e.show=function(){var e,p,o=this;if(!(this._isTransitioning||b.default(this._element).hasClass(Qt)||(this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(ae)).filter((function(t){return"string"==typeof o._config.parent?t.getAttribute("data-parent")===o._config.parent:t.classList.contains(Zt)}))).length&&(e=null),e&&(p=b.default(e).not(this._selector).data(Yt))&&p._isTransitioning))){var n=b.default.Event(be);if(b.default(this._element).trigger(n),!n.isDefaultPrevented()){e&&(t._jQueryInterface.call(b.default(e).not(this._selector),"hide"),p||b.default(e).data(Yt,null));var M=this._getDimension();b.default(this._element).removeClass(Zt).addClass(te),this._element.style[M]=0,this._triggerArray.length&&b.default(this._triggerArray).removeClass(ee).attr("aria-expanded",!0),this.setTransitioning(!0);var z=function(){b.default(o._element).removeClass(te).addClass(Zt+" "+Qt),o._element.style[M]="",o.setTransitioning(!1),b.default(o._element).trigger(ne)},c="scroll"+(M[0].toUpperCase()+M.slice(1)),a=q.getTransitionDurationFromElement(this._element);b.default(this._element).one(q.TRANSITION_END,z).emulateTransitionEnd(a),this._element.style[M]=this._element[c]+"px"}}},e.hide=function(){var t=this;if(!this._isTransitioning&&b.default(this._element).hasClass(Qt)){var e=b.default.Event(Me);if(b.default(this._element).trigger(e),!e.isDefaultPrevented()){var p=this._getDimension();this._element.style[p]=this._element.getBoundingClientRect()[p]+"px",q.reflow(this._element),b.default(this._element).addClass(te).removeClass(Zt+" "+Qt);var o=this._triggerArray.length;if(o>0)for(var n=0;n0},e._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=c({},e.offsets,t._config.offset(e.offsets,t._element)),e}:e.offset=this._config.offset,e},e._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),c({},t,this._config.popperConfig)},t._jQueryInterface=function(e){return this.each((function(){var p=b.default(this).data(Ae);if(p||(p=new t(this,"object"==typeof e?e:null),b.default(this).data(Ae,p)),"string"==typeof e){if(void 0===p[e])throw new TypeError('No method named "'+e+'"');p[e]()}}))},t._clearMenus=function(e){if(!e||e.which!==Re&&("keyup"!==e.type||e.which===me))for(var p=[].slice.call(document.querySelectorAll(Ie)),o=0,n=p.length;o0&&M--,e.which===ve&&Mdocument.documentElement.clientHeight;p||(this._element.style.overflowY="hidden"),this._element.classList.add(dp);var o=q.getTransitionDurationFromElement(this._dialog);b.default(this._element).off(q.TRANSITION_END),b.default(this._element).one(q.TRANSITION_END,(function(){t._element.classList.remove(dp),p||b.default(t._element).one(q.TRANSITION_END,(function(){t._element.style.overflowY=""})).emulateTransitionEnd(t._element,o)})).emulateTransitionEnd(o),this._element.focus()}},e._showElement=function(t){var e=this,p=b.default(this._element).hasClass(sp),o=this._dialog?this._dialog.querySelector(Xp):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"),b.default(this._dialog).hasClass(ap)&&o?o.scrollTop=0:this._element.scrollTop=0,p&&q.reflow(this._element),b.default(this._element).addClass(lp),this._config.focus&&this._enforceFocus();var n=b.default.Event(hp,{relatedTarget:t}),M=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,b.default(e._element).trigger(n)};if(p){var z=q.getTransitionDurationFromElement(this._dialog);b.default(this._dialog).one(q.TRANSITION_END,M).emulateTransitionEnd(z)}else M()},e._enforceFocus=function(){var t=this;b.default(document).off(Wp).on(Wp,(function(e){document!==e.target&&t._element!==e.target&&0===b.default(t._element).has(e.target).length&&t._element.focus()}))},e._setEscapeEvent=function(){var t=this;this._isShown?b.default(this._element).on(vp,(function(e){t._config.keyboard&&e.which===cp?(e.preventDefault(),t.hide()):t._config.keyboard||e.which!==cp||t._triggerBackdropTransition()})):this._isShown||b.default(this._element).off(vp)},e._setResizeEvent=function(){var t=this;this._isShown?b.default(window).on(mp,(function(e){return t.handleUpdate(e)})):b.default(window).off(mp)},e._hideModal=function(){var t=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(){b.default(document.body).removeClass(Op),t._resetAdjustments(),t._resetScrollbar(),b.default(t._element).trigger(qp)}))},e._removeBackdrop=function(){this._backdrop&&(b.default(this._backdrop).remove(),this._backdrop=null)},e._showBackdrop=function(t){var e=this,p=b.default(this._element).hasClass(sp)?sp:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=ip,p&&this._backdrop.classList.add(p),b.default(this._backdrop).appendTo(document.body),b.default(this._element).on(gp,(function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._triggerBackdropTransition():e.hide())})),p&&q.reflow(this._backdrop),b.default(this._backdrop).addClass(lp),!t)return;if(!p)return void t();var o=q.getTransitionDurationFromElement(this._backdrop);b.default(this._backdrop).one(q.TRANSITION_END,t).emulateTransitionEnd(o)}else if(!this._isShown&&this._backdrop){b.default(this._backdrop).removeClass(lp);var n=function(){e._removeBackdrop(),t&&t()};if(b.default(this._element).hasClass(sp)){var M=q.getTransitionDurationFromElement(this._backdrop);b.default(this._backdrop).one(q.TRANSITION_END,n).emulateTransitionEnd(M)}else n()}else t&&t()},e._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.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:Ep,popperConfig:null},ao={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},ro={HIDE:"hide"+Up,HIDDEN:"hidden"+Up,SHOW:"show"+Up,SHOWN:"shown"+Up,INSERTED:"inserted"+Up,CLICK:"click"+Up,FOCUSIN:"focusin"+Up,FOCUSOUT:"focusout"+Up,MOUSEENTER:"mouseenter"+Up,MOUSELEAVE:"mouseleave"+Up},io=function(){function t(t,e){if(void 0===n.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=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var e=t.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,p=b.default(t.currentTarget).data(e);p||(p=new this.constructor(t.currentTarget,this._getDelegateConfig()),b.default(t.currentTarget).data(e,p)),p._activeTrigger.click=!p._activeTrigger.click,p._isWithActiveTrigger()?p._enter(null,p):p._leave(null,p)}else{if(b.default(this.getTipElement()).hasClass(Qp))return void this._leave(null,this);this._enter(null,this)}},e.dispose=function(){clearTimeout(this._timeout),b.default.removeData(this.element,this.constructor.DATA_KEY),b.default(this.element).off(this.constructor.EVENT_KEY),b.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&b.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},e.show=function(){var t=this;if("none"===b.default(this.element).css("display"))throw new Error("Please use show on visible elements");var e=b.default.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){b.default(this.element).trigger(e);var p=q.findShadowRoot(this.element),o=b.default.contains(null!==p?p:this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!o)return;var M=this.getTipElement(),z=q.getUID(this.constructor.NAME);M.setAttribute("id",z),this.element.setAttribute("aria-describedby",z),this.setContent(),this.config.animation&&b.default(M).addClass(Kp);var c="function"==typeof this.config.placement?this.config.placement.call(this,M,this.element):this.config.placement,a=this._getAttachment(c);this.addAttachmentClass(a);var r=this._getContainer();b.default(M).data(this.constructor.DATA_KEY,this),b.default.contains(this.element.ownerDocument.documentElement,this.tip)||b.default(M).appendTo(r),b.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new n.default(this.element,M,this._getPopperConfig(a)),b.default(M).addClass(Qp),b.default(M).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&b.default(document.body).children().on("mouseover",null,b.default.noop);var i=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,b.default(t.element).trigger(t.constructor.Event.SHOWN),e===to&&t._leave(null,t)};if(b.default(this.tip).hasClass(Kp)){var O=q.getTransitionDurationFromElement(this.tip);b.default(this.tip).one(q.TRANSITION_END,i).emulateTransitionEnd(O)}else i()}},e.hide=function(t){var e=this,p=this.getTipElement(),o=b.default.Event(this.constructor.Event.HIDE),n=function(){e._hoverState!==Zp&&p.parentNode&&p.parentNode.removeChild(p),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),b.default(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};if(b.default(this.element).trigger(o),!o.isDefaultPrevented()){if(b.default(p).removeClass(Qp),"ontouchstart"in document.documentElement&&b.default(document.body).children().off("mouseover",null,b.default.noop),this._activeTrigger[no]=!1,this._activeTrigger[bo]=!1,this._activeTrigger[oo]=!1,b.default(this.tip).hasClass(Kp)){var M=q.getTransitionDurationFromElement(p);b.default(p).one(q.TRANSITION_END,n).emulateTransitionEnd(M)}else n();this._hoverState=""}},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(t){b.default(this.getTipElement()).addClass(Yp+"-"+t)},e.getTipElement=function(){return this.tip=this.tip||b.default(this.config.template)[0],this.tip},e.setContent=function(){var t=this.getTipElement();this.setElementContent(b.default(t.querySelectorAll(eo)),this.getTitle()),b.default(t).removeClass(Kp+" "+Qp)},e.setElementContent=function(t,e){"object"!=typeof e||!e.nodeType&&!e.jquery?this.config.html?(this.config.sanitize&&(e=Ip(e,this.config.whiteList,this.config.sanitizeFn)),t.html(e)):t.text(e):this.config.html?b.default(e).parent().is(t)||t.empty().append(e):t.text(b.default(e).text())},e.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},e._getPopperConfig=function(t){var e=this;return c({},{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:po},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}},this.config.popperConfig)},e._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=c({},e.offsets,t.config.offset(e.offsets,t.element)),e}:e.offset=this.config.offset,e},e._getContainer=function(){return!1===this.config.container?document.body:q.isElement(this.config.container)?b.default(this.config.container):b.default(document).find(this.config.container)},e._getAttachment=function(t){return zo[t.toUpperCase()]},e._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach((function(e){if("click"===e)b.default(t.element).on(t.constructor.Event.CLICK,t.config.selector,(function(e){return t.toggle(e)}));else if(e!==Mo){var p=e===oo?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,o=e===oo?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;b.default(t.element).on(p,t.config.selector,(function(e){return t._enter(e)})).on(o,t.config.selector,(function(e){return t._leave(e)}))}})),this._hideModalHandler=function(){t.element&&t.hide()},b.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=c({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},e._enter=function(t,e){var p=this.constructor.DATA_KEY;(e=e||b.default(t.currentTarget).data(p))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),b.default(t.currentTarget).data(p,e)),t&&(e._activeTrigger["focusin"===t.type?bo:oo]=!0),b.default(e.getTipElement()).hasClass(Qp)||e._hoverState===Zp?e._hoverState=Zp:(clearTimeout(e._timeout),e._hoverState=Zp,e.config.delay&&e.config.delay.show?e._timeout=setTimeout((function(){e._hoverState===Zp&&e.show()}),e.config.delay.show):e.show())},e._leave=function(t,e){var p=this.constructor.DATA_KEY;(e=e||b.default(t.currentTarget).data(p))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),b.default(t.currentTarget).data(p,e)),t&&(e._activeTrigger["focusout"===t.type?bo:oo]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=to,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout((function(){e._hoverState===to&&e.hide()}),e.config.delay.hide):e.hide())},e._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},e._getConfig=function(t){var e=b.default(this.element).data();return Object.keys(e).forEach((function(t){-1!==Jp.indexOf(t)&&delete e[t]})),"number"==typeof(t=c({},this.constructor.Default,e,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),q.typeCheckConfig(Fp,t,this.constructor.DefaultType),t.sanitize&&(t.template=Ip(t.template,t.whiteList,t.sanitizeFn)),t},e._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},e._cleanTipClass=function(){var t=b.default(this.getTipElement()),e=t.attr("class").match(Gp);null!==e&&e.length&&t.removeClass(e.join(""))},e._handlePopperPlacementChange=function(t){this.tip=t.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},e._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(b.default(t).removeClass(Kp),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},t._jQueryInterface=function(e){return this.each((function(){var p=b.default(this),o=p.data(Vp),n="object"==typeof e&&e;if((o||!/dispose|hide/.test(e))&&(o||(o=new t(this,n),p.data(Vp,o)),"string"==typeof e)){if(void 0===o[e])throw new TypeError('No method named "'+e+'"');o[e]()}}))},z(t,null,[{key:"VERSION",get:function(){return Hp}},{key:"Default",get:function(){return co}},{key:"NAME",get:function(){return Fp}},{key:"DATA_KEY",get:function(){return Vp}},{key:"Event",get:function(){return ro}},{key:"EVENT_KEY",get:function(){return Up}},{key:"DefaultType",get:function(){return ao}}]),t}();b.default.fn[Fp]=io._jQueryInterface,b.default.fn[Fp].Constructor=io,b.default.fn[Fp].noConflict=function(){return b.default.fn[Fp]=$p,io._jQueryInterface};var Oo="popover",so="4.6.2",lo="bs.popover",Ao="."+lo,uo=b.default.fn[Oo],qo="bs-popover",fo=new RegExp("(^|\\s)"+qo+"\\S+","g"),ho="fade",Wo="show",mo=".popover-header",go=".popover-body",vo=c({},io.Default,{placement:"right",trigger:"click",content:"",template:''}),Ro=c({},io.DefaultType,{content:"(string|element|function)"}),yo={HIDE:"hide"+Ao,HIDDEN:"hidden"+Ao,SHOW:"show"+Ao,SHOWN:"shown"+Ao,INSERTED:"inserted"+Ao,CLICK:"click"+Ao,FOCUSIN:"focusin"+Ao,FOCUSOUT:"focusout"+Ao,MOUSEENTER:"mouseenter"+Ao,MOUSELEAVE:"mouseleave"+Ao},Bo=function(t){function e(){return t.apply(this,arguments)||this}a(e,t);var p=e.prototype;return p.isWithContent=function(){return this.getTitle()||this._getContent()},p.addAttachmentClass=function(t){b.default(this.getTipElement()).addClass(qo+"-"+t)},p.getTipElement=function(){return this.tip=this.tip||b.default(this.config.template)[0],this.tip},p.setContent=function(){var t=b.default(this.getTipElement());this.setElementContent(t.find(mo),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(go),e),t.removeClass(ho+" "+Wo)},p._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},p._cleanTipClass=function(){var t=b.default(this.getTipElement()),e=t.attr("class").match(fo);null!==e&&e.length>0&&t.removeClass(e.join(""))},e._jQueryInterface=function(t){return this.each((function(){var p=b.default(this).data(lo),o="object"==typeof t?t:null;if((p||!/dispose|hide/.test(t))&&(p||(p=new e(this,o),b.default(this).data(lo,p)),"string"==typeof t)){if(void 0===p[t])throw new TypeError('No method named "'+t+'"');p[t]()}}))},z(e,null,[{key:"VERSION",get:function(){return so}},{key:"Default",get:function(){return vo}},{key:"NAME",get:function(){return Oo}},{key:"DATA_KEY",get:function(){return lo}},{key:"Event",get:function(){return yo}},{key:"EVENT_KEY",get:function(){return Ao}},{key:"DefaultType",get:function(){return Ro}}]),e}(io);b.default.fn[Oo]=Bo._jQueryInterface,b.default.fn[Oo].Constructor=Bo,b.default.fn[Oo].noConflict=function(){return b.default.fn[Oo]=uo,Bo._jQueryInterface};var Lo="scrollspy",Xo="4.6.2",_o="bs.scrollspy",No="."+_o,xo=".data-api",wo=b.default.fn[Lo],To="dropdown-item",Co="active",So="activate"+No,ko="scroll"+No,Eo="load"+No+xo,Do="offset",Po="position",jo='[data-spy="scroll"]',Io=".nav, .list-group",Fo=".nav-link",Ho=".nav-item",Vo=".list-group-item",Uo=".dropdown",$o=".dropdown-item",Yo=".dropdown-toggle",Go={offset:10,method:"auto",target:""},Jo={offset:"number",method:"string",target:"(string|element)"},Ko=function(){function t(t,e){var p=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+Fo+","+this._config.target+" "+Vo+","+this._config.target+" "+$o,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,b.default(this._scrollElement).on(ko,(function(t){return p._process(t)})),this.refresh(),this._process()}var e=t.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?Do:Po,p="auto"===this._config.method?e:this._config.method,o=p===Po?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(t){var e,n=q.getSelectorFromElement(t);if(n&&(e=document.querySelector(n)),e){var M=e.getBoundingClientRect();if(M.width||M.height)return[b.default(e)[p]().top+o,n]}return null})).filter(Boolean).sort((function(t,e){return t[0]-e[0]})).forEach((function(e){t._offsets.push(e[0]),t._targets.push(e[1])}))},e.dispose=function(){b.default.removeData(this._element,_o),b.default(this._scrollElement).off(No),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},e._getConfig=function(t){if("string"!=typeof(t=c({},Go,"object"==typeof t&&t?t:{})).target&&q.isElement(t.target)){var e=b.default(t.target).attr("id");e||(e=q.getUID(Lo),b.default(t.target).attr("id",e)),t.target="#"+e}return q.typeCheckConfig(Lo,t,Jo),t},e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),p=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=p){var o=this._targets[this._targets.length-1];this._activeTarget!==o&&this._activate(o)}else{if(this._activeTarget&&t0)return this._activeTarget=null,void this._clear();for(var b=this._offsets.length;b--;)this._activeTarget!==this._targets[b]&&t>=this._offsets[b]&&(void 0===this._offsets[b+1]||t1&&(b-=1)),[360*b,100*n,100*a]},b.rgb.hwb=function(t){var e=t[0],p=t[1],o=t[2];return[b.rgb.hsl(t)[0],1/255*Math.min(e,Math.min(p,o))*100,100*(o=1-1/255*Math.max(e,Math.max(p,o)))]},b.rgb.cmyk=function(t){var e,p=t[0]/255,o=t[1]/255,b=t[2]/255;return[100*((1-p-(e=Math.min(1-p,1-o,1-b)))/(1-e)||0),100*((1-o-e)/(1-e)||0),100*((1-b-e)/(1-e)||0),100*e]},b.rgb.keyword=function(t){var p=e[t];if(p)return p;var b,n=1/0;for(var M in o)if(o.hasOwnProperty(M)){var z=c(t,o[M]);z.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(p=p>.04045?Math.pow((p+.055)/1.055,2.4):p/12.92)+.1805*(o=o>.04045?Math.pow((o+.055)/1.055,2.4):o/12.92)),100*(.2126*e+.7152*p+.0722*o),100*(.0193*e+.1192*p+.9505*o)]},b.rgb.lab=function(t){var e=b.rgb.xyz(t),p=e[0],o=e[1],n=e[2];return o/=100,n/=108.883,p=(p/=95.047)>.008856?Math.pow(p,1/3):7.787*p+16/116,[116*(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116)-16,500*(p-o),200*(o-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))]},b.hsl.rgb=function(t){var e,p,o,b,n,M=t[0]/360,z=t[1]/100,c=t[2]/100;if(0===z)return[n=255*c,n,n];e=2*c-(p=c<.5?c*(1+z):c+z-c*z),b=[0,0,0];for(var a=0;a<3;a++)(o=M+1/3*-(a-1))<0&&o++,o>1&&o--,n=6*o<1?e+6*(p-e)*o:2*o<1?p:3*o<2?e+(p-e)*(2/3-o)*6:e,b[a]=255*n;return b},b.hsl.hsv=function(t){var e=t[0],p=t[1]/100,o=t[2]/100,b=p,n=Math.max(o,.01);return p*=(o*=2)<=1?o:2-o,b*=n<=1?n:2-n,[e,100*(0===o?2*b/(n+b):2*p/(o+p)),(o+p)/2*100]},b.hsv.rgb=function(t){var e=t[0]/60,p=t[1]/100,o=t[2]/100,b=Math.floor(e)%6,n=e-Math.floor(e),M=255*o*(1-p),z=255*o*(1-p*n),c=255*o*(1-p*(1-n));switch(o*=255,b){case 0:return[o,c,M];case 1:return[z,o,M];case 2:return[M,o,c];case 3:return[M,z,o];case 4:return[c,M,o];case 5:return[o,M,z]}},b.hsv.hsl=function(t){var e,p,o,b=t[0],n=t[1]/100,M=t[2]/100,z=Math.max(M,.01);return o=(2-n)*M,p=n*z,[b,100*(p=(p/=(e=(2-n)*z)<=1?e:2-e)||0),100*(o/=2)]},b.hwb.rgb=function(t){var e,p,o,b,n,M,z,c=t[0]/360,a=t[1]/100,r=t[2]/100,i=a+r;switch(i>1&&(a/=i,r/=i),o=6*c-(e=Math.floor(6*c)),0!=(1&e)&&(o=1-o),b=a+o*((p=1-r)-a),e){default:case 6:case 0:n=p,M=b,z=a;break;case 1:n=b,M=p,z=a;break;case 2:n=a,M=p,z=b;break;case 3:n=a,M=b,z=p;break;case 4:n=b,M=a,z=p;break;case 5:n=p,M=a,z=b}return[255*n,255*M,255*z]},b.cmyk.rgb=function(t){var e=t[0]/100,p=t[1]/100,o=t[2]/100,b=t[3]/100;return[255*(1-Math.min(1,e*(1-b)+b)),255*(1-Math.min(1,p*(1-b)+b)),255*(1-Math.min(1,o*(1-b)+b))]},b.xyz.rgb=function(t){var e,p,o,b=t[0]/100,n=t[1]/100,M=t[2]/100;return p=-.9689*b+1.8758*n+.0415*M,o=.0557*b+-.204*n+1.057*M,e=(e=3.2406*b+-1.5372*n+-.4986*M)>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,p=p>.0031308?1.055*Math.pow(p,1/2.4)-.055:12.92*p,o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:12.92*o,[255*(e=Math.min(Math.max(0,e),1)),255*(p=Math.min(Math.max(0,p),1)),255*(o=Math.min(Math.max(0,o),1))]},b.xyz.lab=function(t){var e=t[0],p=t[1],o=t[2];return p/=100,o/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(p=p>.008856?Math.pow(p,1/3):7.787*p+16/116)-16,500*(e-p),200*(p-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},b.lab.xyz=function(t){var e,p,o,b=t[0];e=t[1]/500+(p=(b+16)/116),o=p-t[2]/200;var n=Math.pow(p,3),M=Math.pow(e,3),z=Math.pow(o,3);return p=n>.008856?n:(p-16/116)/7.787,e=M>.008856?M:(e-16/116)/7.787,o=z>.008856?z:(o-16/116)/7.787,[e*=95.047,p*=100,o*=108.883]},b.lab.lch=function(t){var e,p=t[0],o=t[1],b=t[2];return(e=360*Math.atan2(b,o)/2/Math.PI)<0&&(e+=360),[p,Math.sqrt(o*o+b*b),e]},b.lch.lab=function(t){var e,p=t[0],o=t[1];return e=t[2]/360*2*Math.PI,[p,o*Math.cos(e),o*Math.sin(e)]},b.rgb.ansi16=function(t){var e=t[0],p=t[1],o=t[2],n=1 in arguments?arguments[1]:b.rgb.hsv(t)[2];if(0===(n=Math.round(n/50)))return 30;var M=30+(Math.round(o/255)<<2|Math.round(p/255)<<1|Math.round(e/255));return 2===n&&(M+=60),M},b.hsv.ansi16=function(t){return b.rgb.ansi16(b.hsv.rgb(t),t[2])},b.rgb.ansi256=function(t){var e=t[0],p=t[1],o=t[2];return e===p&&p===o?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(p/255*5)+Math.round(o/255*5)},b.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),[e=e/10.5*255,e,e];var p=.5*(1+~~(t>50));return[(1&e)*p*255,(e>>1&1)*p*255,(e>>2&1)*p*255]},b.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}var p;return t-=16,[Math.floor(t/36)/5*255,Math.floor((p=t%36)/6)/5*255,p%6/5*255]},b.rgb.hex=function(t){var e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},b.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var p=e[0];3===e[0].length&&(p=p.split("").map((function(t){return t+t})).join(""));var o=parseInt(p,16);return[o>>16&255,o>>8&255,255&o]},b.rgb.hcg=function(t){var e,p=t[0]/255,o=t[1]/255,b=t[2]/255,n=Math.max(Math.max(p,o),b),M=Math.min(Math.min(p,o),b),z=n-M;return e=z<=0?0:n===p?(o-b)/z%6:n===o?2+(b-p)/z:4+(p-o)/z+4,e/=6,[360*(e%=1),100*z,100*(z<1?M/(1-z):0)]},b.hsl.hcg=function(t){var e=t[1]/100,p=t[2]/100,o=1,b=0;return(o=p<.5?2*e*p:2*e*(1-p))<1&&(b=(p-.5*o)/(1-o)),[t[0],100*o,100*b]},b.hsv.hcg=function(t){var e=t[1]/100,p=t[2]/100,o=e*p,b=0;return o<1&&(b=(p-o)/(1-o)),[t[0],100*o,100*b]},b.hcg.rgb=function(t){var e=t[0]/360,p=t[1]/100,o=t[2]/100;if(0===p)return[255*o,255*o,255*o];var b=[0,0,0],n=e%1*6,M=n%1,z=1-M,c=0;switch(Math.floor(n)){case 0:b[0]=1,b[1]=M,b[2]=0;break;case 1:b[0]=z,b[1]=1,b[2]=0;break;case 2:b[0]=0,b[1]=1,b[2]=M;break;case 3:b[0]=0,b[1]=z,b[2]=1;break;case 4:b[0]=M,b[1]=0,b[2]=1;break;default:b[0]=1,b[1]=0,b[2]=z}return c=(1-p)*o,[255*(p*b[0]+c),255*(p*b[1]+c),255*(p*b[2]+c)]},b.hcg.hsv=function(t){var e=t[1]/100,p=e+t[2]/100*(1-e),o=0;return p>0&&(o=e/p),[t[0],100*o,100*p]},b.hcg.hsl=function(t){var e=t[1]/100,p=t[2]/100*(1-e)+.5*e,o=0;return p>0&&p<.5?o=e/(2*p):p>=.5&&p<1&&(o=e/(2*(1-p))),[t[0],100*o,100*p]},b.hcg.hwb=function(t){var e=t[1]/100,p=e+t[2]/100*(1-e);return[t[0],100*(p-e),100*(1-p)]},b.hwb.hcg=function(t){var e=t[1]/100,p=1-t[2]/100,o=p-e,b=0;return o<1&&(b=(p-o)/(1-o)),[t[0],100*o,100*b]},b.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},b.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},b.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},b.gray.hsl=b.gray.hsv=function(t){return[0,0,t[0]]},b.gray.hwb=function(t){return[0,100,t[0]]},b.gray.cmyk=function(t){return[0,0,0,t[0]]},b.gray.lab=function(t){return[t[0],0,0]},b.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),p=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(p.length)+p},b.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}}));function n(){for(var t={},e=Object.keys(b),p=e.length,o=0;o1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}function O(t){var e=function(e){if(null==e)return e;arguments.length>1&&(e=Array.prototype.slice.call(arguments));var p=t(e);if("object"==typeof p)for(var o=p.length,b=0;b=0&&e<1?x(Math.round(255*e)):"")}function g(t,e){return e<1||t[3]&&t[3]<1?v(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"}function v(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function R(t,e){return e<1||t[3]&&t[3]<1?y(t,e):"rgb("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%)"}function y(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function B(t,e){return e<1||t[3]&&t[3]<1?L(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"}function L(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function X(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"}function _(t){return w[t.slice(0,3)]}function N(t,e,p){return Math.min(Math.max(e,t),p)}function x(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}var w={};for(var T in l)w[l[T]]=T;var C=function(t){return t instanceof C?t:this instanceof C?(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 t?(e=d.getRgba(t))?this.setValues("rgb",e):(e=d.getHsla(t))?this.setValues("hsl",e):(e=d.getHwb(t))&&this.setValues("hwb",e):"object"==typeof t&&(void 0!==(e=t).r||void 0!==e.red?this.setValues("rgb",e):void 0!==e.l||void 0!==e.lightness?this.setValues("hsl",e):void 0!==e.v||void 0!==e.value?this.setValues("hsv",e):void 0!==e.w||void 0!==e.whiteness?this.setValues("hwb",e):void 0===e.c&&void 0===e.cyan||this.setValues("cmyk",e)))):new C(t);var e};C.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 t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t&&(t=(t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return d.hexString(this.values.rgb)},rgbString:function(){return d.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return d.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return d.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return d.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return d.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return d.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return d.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],p=0;pp?(e+.05)/(p+.05):(p+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,p=(e[0]+t)%360;return e[0]=p<0?360+p:p,this.setValues("hsl",e),this},mix:function(t,e){var p=this,o=t,b=void 0===e?.5:e,n=2*b-1,M=p.alpha()-o.alpha(),z=((n*M==-1?n:(n+M)/(1+n*M))+1)/2,c=1-z;return this.rgb(z*p.red()+c*o.red(),z*p.green()+c*o.green(),z*p.blue()+c*o.blue()).alpha(p.alpha()*b+o.alpha()*(1-b))},toJSON:function(){return this.rgb()},clone:function(){var t,e,p=new C,o=this.values,b=p.values;for(var n in o)o.hasOwnProperty(n)&&(t=o[n],"[object Array]"===(e={}.toString.call(t))?b[n]=t.slice(0):"[object Number]"===e&&(b[n]=t));return p}},C.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},C.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},C.prototype.getValues=function(t){for(var e=this.values,p={},o=0;o=0;b--)e.call(p,t[b],b);else for(b=0;b=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,p=0,o=1;return 0===t?0:1===t?1:(p||(p=.3),o<1?(o=1,e=p/4):e=p/(2*Math.PI)*Math.asin(1/o),-o*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/p))},easeOutElastic:function(t){var e=1.70158,p=0,o=1;return 0===t?0:1===t?1:(p||(p=.3),o<1?(o=1,e=p/4):e=p/(2*Math.PI)*Math.asin(1/o),o*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/p)+1)},easeInOutElastic:function(t){var e=1.70158,p=0,o=1;return 0===t?0:2==(t/=.5)?1:(p||(p=.45),o<1?(o=1,e=p/4):e=p/(2*Math.PI)*Math.asin(1/o),t<1?o*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/p)*-.5:o*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/p)*.5+1)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-j.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*j.easeInBounce(2*t):.5*j.easeOutBounce(2*t-1)+.5}},I={effects:j};P.easingEffects=j;var F=Math.PI,H=F/180,V=2*F,U=F/2,$=F/4,Y=2*F/3,G={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,p,o,b,n){if(n){var M=Math.min(n,b/2,o/2),z=e+M,c=p+M,a=e+o-M,r=p+b-M;t.moveTo(e,c),ze.left-p&&t.xe.top-p&&t.y0&&t.requestAnimationFrame()},advance:function(){for(var t,e,p,o,b=this.animations,n=0;n=p?(zt.callback(t.onAnimationComplete,[t],e),e.animating=!1,b.splice(n,1)):++n}},ft=zt.options.resolve,ht=["push","pop","shift","splice","unshift"];function Wt(t,e){t._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),ht.forEach((function(e){var p="onData"+e.charAt(0).toUpperCase()+e.slice(1),o=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),b=o.apply(this,e);return zt.each(t._chartjs.listeners,(function(t){"function"==typeof t[p]&&t[p].apply(t,e)})),b}})})))}function mt(t,e){var p=t._chartjs;if(p){var o=p.listeners,b=o.indexOf(e);-1!==b&&o.splice(b,1),o.length>0||(ht.forEach((function(e){delete t[e]})),delete t._chartjs)}}var gt=function(t,e){this.initialize(t,e)};zt.extend(gt.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(t,e){var p=this;p.chart=t,p.index=e,p.linkScales(),p.addElements(),p._type=p.getMeta().type},updateIndex:function(t){this.index=t},linkScales:function(){var t=this,e=t.getMeta(),p=t.chart,o=p.scales,b=t.getDataset(),n=p.options.scales;null!==e.xAxisID&&e.xAxisID in o&&!b.xAxisID||(e.xAxisID=b.xAxisID||n.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in o&&!b.yAxisID||(e.yAxisID=b.yAxisID||n.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},_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&&mt(this._data,this)},createMetaDataset:function(){var t=this,e=t.datasetElementType;return e&&new e({_chart:t.chart,_datasetIndex:t.index})},createMetaData:function(t){var e=this,p=e.dataElementType;return p&&new p({_chart:e.chart,_datasetIndex:e.index,_index:t})},addElements:function(){var t,e,p=this,o=p.getMeta(),b=p.getDataset().data||[],n=o.data;for(t=0,e=b.length;to&&t.insertElements(o,b-o)},insertElements:function(t,e){for(var p=0;pb?(n=b/e.innerRadius,t.arc(M,z,e.innerRadius-b,o+n,p-n,!0)):t.arc(M,z,b,o+Math.PI/2,p-Math.PI/2),t.closePath(),t.clip()}function Bt(t,e,p,o){var b,n=p.endAngle;for(o&&(p.endAngle=p.startAngle+Rt,yt(t,p),p.endAngle=n,p.endAngle===p.startAngle&&p.fullCircles&&(p.endAngle+=Rt,p.fullCircles--)),t.beginPath(),t.arc(p.x,p.y,p.innerRadius,p.startAngle+Rt,p.startAngle,!0),b=0;bz;)b-=Rt;for(;b=M&&b<=z,a=n>=p.innerRadius&&n<=p.outerRadius;return c&&a}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,p=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*p,y:t.y+Math.sin(e)*p}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,p=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*p,y:t.y+Math.sin(e)*p}},draw:function(){var t,e=this._chart.ctx,p=this._view,o="inner"===p.borderAlign?.33:0,b={x:p.x,y:p.y,innerRadius:p.innerRadius,outerRadius:Math.max(p.outerRadius-o,0),pixelMargin:o,startAngle:p.startAngle,endAngle:p.endAngle,fullCircles:Math.floor(p.circumference/Rt)};if(e.save(),e.fillStyle=p.backgroundColor,e.strokeStyle=p.borderColor,b.fullCircles){for(b.endAngle=b.startAngle+Rt,e.beginPath(),e.arc(b.x,b.y,b.outerRadius,b.startAngle,b.endAngle),e.arc(b.x,b.y,b.innerRadius,b.endAngle,b.startAngle,!0),e.closePath(),t=0;tt.x&&(e=jt(e,"left","right")):t.basep?p:o,r:c.right||b<0?0:b>e?e:b,b:c.bottom||n<0?0:n>p?p:n,l:c.left||M<0?0:M>e?e:M}}function Ht(t){var e=Pt(t),p=e.right-e.left,o=e.bottom-e.top,b=Ft(t,p/2,o/2);return{outer:{x:e.left,y:e.top,w:p,h:o},inner:{x:e.left+b.l,y:e.top+b.t,w:p-b.l-b.r,h:o-b.t-b.b}}}function Vt(t,e,p){var o=null===e,b=null===p,n=!(!t||o&&b)&&Pt(t);return n&&(o||e>=n.left&&e<=n.right)&&(b||p>=n.top&&p<=n.bottom)}Q._set("global",{elements:{rectangle:{backgroundColor:Et,borderColor:Et,borderSkipped:"bottom",borderWidth:0}}});var Ut=dt.extend({_type:"rectangle",draw:function(){var t=this._chart.ctx,e=this._view,p=Ht(e),o=p.outer,b=p.inner;t.fillStyle=e.backgroundColor,t.fillRect(o.x,o.y,o.w,o.h),o.w===b.w&&o.h===b.h||(t.save(),t.beginPath(),t.rect(o.x,o.y,o.w,o.h),t.clip(),t.fillStyle=e.borderColor,t.rect(b.x,b.y,b.w,b.h),t.fill("evenodd"),t.restore())},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){return Vt(this._view,t,e)},inLabelRange:function(t,e){var p=this._view;return Dt(p)?Vt(p,t,null):Vt(p,null,e)},inXRange:function(t){return Vt(this._view,t,null)},inYRange:function(t){return Vt(this._view,null,t)},getCenterPoint:function(){var t,e,p=this._view;return Dt(p)?(t=p.x,e=(p.y+p.base)/2):(t=(p.x+p.base)/2,e=p.y),{x:t,y:e}},getArea:function(){var t=this._view;return Dt(t)?t.width*Math.abs(t.y-t.base):t.height*Math.abs(t.x-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}}),$t={},Yt=Xt,Gt=xt,Jt=kt,Kt=Ut;$t.Arc=Yt,$t.Line=Gt,$t.Point=Jt,$t.Rectangle=Kt;var Qt=zt._deprecated,Zt=zt.valueOrDefault;function te(t,e){var p,o,b,n,M=t._length;for(b=1,n=e.length;b0?Math.min(M,Math.abs(o-p)):M,p=o;return M}function ee(t,e,p){var o,b,n=p.barThickness,M=e.stackCount,z=e.pixels[t],c=zt.isNullOrUndef(n)?te(e.scale,e.pixels):-1;return zt.isNullOrUndef(n)?(o=c*p.categoryPercentage,b=p.barPercentage):(o=n*M,b=1),{chunk:o/M,ratio:b,start:z-o/2}}function pe(t,e,p){var o,b=e.pixels,n=b[t],M=t>0?b[t-1]:null,z=t=0&&A.min>=0?A.min:A.max,W=void 0===A.start?A.end:A.max>=0&&A.min>=0?A.max-A.min:A.min-A.max,m=d.length;if(q||void 0===q&&void 0!==f)for(o=0;o=0&&a.max>=0?a.max:a.min,(A.min<0&&n<0||A.max>=0&&n>0)&&(h+=n));return M=O.getPixelForValue(h),c=(z=O.getPixelForValue(h+W))-M,void 0!==u&&Math.abs(c)=0&&!s||W<0&&s?M-u:M+u),{size:c,base:M,head:z,center:z+c/2}},calculateBarIndexPixels:function(t,e,p,o){var b=this,n="flex"===o.barThickness?pe(e,p,o):ee(e,p,o),M=b.getStackIndex(t,b.getMeta().stack),z=n.start+n.chunk*M+n.chunk/2,c=Math.min(Zt(o.maxBarThickness,1/0),n.chunk*n.ratio);return{base:z-c/2,head:z+c/2,center:z,size:c}},draw:function(){var t=this,e=t.chart,p=t._getValueScale(),o=t.getMeta().data,b=t.getDataset(),n=o.length,M=0;for(zt.canvas.clipArea(e.ctx,e.chartArea);M=ce?-ae:q<-ce?ae:0)+A,h=Math.cos(q),W=Math.sin(q),m=Math.cos(f),g=Math.sin(f),v=q<=0&&f>=0||f>=ae,R=q<=re&&f>=re||f>=ae+re,y=q<=-re&&f>=-re||f>=ce+re,B=q===-ce||f>=ce?-1:Math.min(h,h*d,m,m*d),L=y?-1:Math.min(W,W*d,g,g*d),X=v?1:Math.max(h,h*d,m,m*d),_=R?1:Math.max(W,W*d,g,g*d);a=(X-B)/2,r=(_-L)/2,i=-(X+B)/2,O=-(_+L)/2}for(o=0,b=l.length;o0&&!isNaN(t)?ae*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){var e,p,o,b,n,M,z,c,a=this,r=0,i=a.chart;if(!t)for(e=0,p=i.data.datasets.length;e(r=z>r?z:r)?c:r);return r},setHoverStyle:function(t){var e=t._model,p=t._options,o=zt.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=ze(p.hoverBackgroundColor,o(p.backgroundColor)),e.borderColor=ze(p.hoverBorderColor,o(p.borderColor)),e.borderWidth=ze(p.hoverBorderWidth,p.borderWidth)},_getRingWeightOffset:function(t){for(var e=0,p=0;p0&&de(a[t-1]._model,c)&&(p.controlPointPreviousX=r(p.controlPointPreviousX,c.left,c.right),p.controlPointPreviousY=r(p.controlPointPreviousY,c.top,c.bottom)),t0&&(n=t.getDatasetMeta(n[0]._datasetIndex).data),n},"x-axis":function(t,e){return Ne(t,e,{intersect:!1})},point:function(t,e){return Le(t,ye(e,t))},nearest:function(t,e,p){var o=ye(e,t);p.axis=p.axis||"xy";var b=_e(p.axis);return Xe(t,o,p.intersect,b)},x:function(t,e,p){var o=ye(e,t),b=[],n=!1;return Be(t,(function(t){t.inXRange(o.x)&&b.push(t),t.inRange(o.x,o.y)&&(n=!0)})),p.intersect&&!n&&(b=[]),b},y:function(t,e,p){var o=ye(e,t),b=[],n=!1;return Be(t,(function(t){t.inYRange(o.y)&&b.push(t),t.inRange(o.x,o.y)&&(n=!0)})),p.intersect&&!n&&(b=[]),b}}},we=zt.extend;function Te(t,e){return zt.where(t,(function(t){return t.pos===e}))}function Ce(t,e){return t.sort((function(t,p){var o=e?p:t,b=e?t:p;return o.weight===b.weight?o.index-b.index:o.weight-b.weight}))}function Se(t){var e,p,o,b=[];for(e=0,p=(t||[]).length;e 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",Ye=p(Object.freeze({__proto__:null,default:$e})),Ge="$chartjs",Je="chartjs-",Ke=Je+"size-monitor",Qe=Je+"render-monitor",Ze=Je+"render-animation",tp=["animationstart","webkitAnimationStart"],ep={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function pp(t,e){var p=zt.getStyle(t,e),o=p&&p.match(/^(\d+)(\.\d+)?px$/);return o?Number(o[1]):void 0}function op(t,e){var p=t.style,o=t.getAttribute("height"),b=t.getAttribute("width");if(t[Ge]={initial:{height:o,width:b,style:{display:p.display,height:p.height,width:p.width}}},p.display=p.display||"block",null===b||""===b){var n=pp(t,"width");void 0!==n&&(t.width=n)}if(null===o||""===o)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var M=pp(t,"height");void 0!==n&&(t.height=M)}return t}var bp=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}(),np=!!bp&&{passive:!0};function Mp(t,e,p){t.addEventListener(e,p,np)}function zp(t,e,p){t.removeEventListener(e,p,np)}function cp(t,e,p,o,b){return{type:t,chart:e,native:b||null,x:void 0!==p?p:null,y:void 0!==o?o:null}}function ap(t,e){var p=ep[t.type]||t.type,o=zt.getRelativePosition(t,e);return cp(p,e,o.x,o.y,t)}function rp(t,e){var p=!1,o=[];return function(){o=Array.prototype.slice.call(arguments),e=e||this,p||(p=!0,zt.requestAnimFrame.call(window,(function(){p=!1,t.apply(e,o)})))}}function ip(t){var e=document.createElement("div");return e.className=t||"",e}function Op(t){var e=1e6,p=ip(Ke),o=ip(Ke+"-expand"),b=ip(Ke+"-shrink");o.appendChild(ip()),b.appendChild(ip()),p.appendChild(o),p.appendChild(b),p._reset=function(){o.scrollLeft=e,o.scrollTop=e,b.scrollLeft=e,b.scrollTop=e};var n=function(){p._reset(),t()};return Mp(o,"scroll",n.bind(o,"expand")),Mp(b,"scroll",n.bind(b,"shrink")),p}function sp(t,e){var p=t[Ge]||(t[Ge]={}),o=p.renderProxy=function(t){t.animationName===Ze&&e()};zt.each(tp,(function(e){Mp(t,e,o)})),p.reflow=!!t.offsetParent,t.classList.add(Qe)}function lp(t){var e=t[Ge]||{},p=e.renderProxy;p&&(zt.each(tp,(function(e){zp(t,e,p)})),delete e.renderProxy),t.classList.remove(Qe)}function dp(t,e,p){var o=t[Ge]||(t[Ge]={}),b=o.resizer=Op(rp((function(){if(o.resizer){var b=p.options.maintainAspectRatio&&t.parentNode,n=b?b.clientWidth:0;e(cp("resize",p)),b&&b.clientWidth0){var n=t[0];n.label?p=n.label:n.xLabel?p=n.xLabel:b>0&&n.index-1?t.split("\n"):t}function Lp(t){var e=t._xScale,p=t._yScale||t._scale,o=t._index,b=t._datasetIndex,n=t._chart.getDatasetMeta(b).controller,M=n._getIndexScale(),z=n._getValueScale();return{xLabel:e?e.getLabelForIndex(o,b):"",yLabel:p?p.getLabelForIndex(o,b):"",label:M?""+M.getLabelForIndex(o,b):"",value:z?""+z.getLabelForIndex(o,b):"",index:o,datasetIndex:b,x:t._model.x,y:t._model.y}}function Xp(t){var e=Q.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,rtl:t.rtl,textDirection:t.textDirection,bodyFontColor:t.bodyFontColor,_bodyFontFamily:gp(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:gp(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:gp(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:gp(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:gp(t.titleFontStyle,e.defaultFontStyle),titleFontSize:gp(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:gp(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:gp(t.footerFontStyle,e.defaultFontStyle),footerFontSize:gp(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function _p(t,e){var p=t._chart.ctx,o=2*e.yPadding,b=0,n=e.body,M=n.reduce((function(t,e){return t+e.before.length+e.lines.length+e.after.length}),0);M+=e.beforeBody.length+e.afterBody.length;var z=e.title.length,c=e.footer.length,a=e.titleFontSize,r=e.bodyFontSize,i=e.footerFontSize;o+=z*a,o+=z?(z-1)*e.titleSpacing:0,o+=z?e.titleMarginBottom:0,o+=M*r,o+=M?(M-1)*e.bodySpacing:0,o+=c?e.footerMarginTop:0,o+=c*i,o+=c?(c-1)*e.footerSpacing:0;var O=0,s=function(t){b=Math.max(b,p.measureText(t).width+O)};return p.font=zt.fontString(a,e._titleFontStyle,e._titleFontFamily),zt.each(e.title,s),p.font=zt.fontString(r,e._bodyFontStyle,e._bodyFontFamily),zt.each(e.beforeBody.concat(e.afterBody),s),O=e.displayColors?r+2:0,zt.each(n,(function(t){zt.each(t.before,s),zt.each(t.lines,s),zt.each(t.after,s)})),O=0,p.font=zt.fontString(i,e._footerFontStyle,e._footerFontFamily),zt.each(e.footer,s),{width:b+=2*e.xPadding,height:o}}function Np(t,e){var p,o,b,n,M,z=t._model,c=t._chart,a=t._chart.chartArea,r="center",i="center";z.yc.height-e.height&&(i="bottom");var O=(a.left+a.right)/2,s=(a.top+a.bottom)/2;"center"===i?(p=function(t){return t<=O},o=function(t){return t>O}):(p=function(t){return t<=e.width/2},o=function(t){return t>=c.width-e.width/2}),b=function(t){return t+e.width+z.caretSize+z.caretPadding>c.width},n=function(t){return t-e.width-z.caretSize-z.caretPadding<0},M=function(t){return t<=s?"top":"bottom"},p(z.x)?(r="left",b(z.x)&&(r="center",i=M(z.y))):o(z.x)&&(r="right",n(z.x)&&(r="center",i=M(z.y)));var l=t._options;return{xAlign:l.xAlign?l.xAlign:r,yAlign:l.yAlign?l.yAlign:i}}function xp(t,e,p,o){var b=t.x,n=t.y,M=t.caretSize,z=t.caretPadding,c=t.cornerRadius,a=p.xAlign,r=p.yAlign,i=M+z,O=c+z;return"right"===a?b-=e.width:"center"===a&&((b-=e.width/2)+e.width>o.width&&(b=o.width-e.width),b<0&&(b=0)),"top"===r?n+=i:n-="bottom"===r?e.height+i:e.height/2,"center"===r?"left"===a?b+=i:"right"===a&&(b-=i):"left"===a?b-=O:"right"===a&&(b+=O),{x:b,y:n}}function wp(t,e){return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-t.xPadding:t.x+t.xPadding}function Tp(t){return yp([],Bp(t))}var Cp=dt.extend({initialize:function(){this._model=Xp(this._options),this._lastActive=[]},getTitle:function(){var t=this,e=t._options.callbacks,p=e.beforeTitle.apply(t,arguments),o=e.title.apply(t,arguments),b=e.afterTitle.apply(t,arguments),n=[];return n=yp(n,Bp(p)),n=yp(n,Bp(o)),n=yp(n,Bp(b))},getBeforeBody:function(){return Tp(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var p=this,o=p._options.callbacks,b=[];return zt.each(t,(function(t){var n={before:[],lines:[],after:[]};yp(n.before,Bp(o.beforeLabel.call(p,t,e))),yp(n.lines,o.label.call(p,t,e)),yp(n.after,Bp(o.afterLabel.call(p,t,e))),b.push(n)})),b},getAfterBody:function(){return Tp(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this,e=t._options.callbacks,p=e.beforeFooter.apply(t,arguments),o=e.footer.apply(t,arguments),b=e.afterFooter.apply(t,arguments),n=[];return n=yp(n,Bp(p)),n=yp(n,Bp(o)),n=yp(n,Bp(b))},update:function(t){var e,p,o=this,b=o._options,n=o._model,M=o._model=Xp(b),z=o._active,c=o._data,a={xAlign:n.xAlign,yAlign:n.yAlign},r={x:n.x,y:n.y},i={width:n.width,height:n.height},O={x:n.caretX,y:n.caretY};if(z.length){M.opacity=1;var s=[],l=[];O=Rp[b.position].call(o,z,o._eventPosition);var d=[];for(e=0,p=z.length;e0&&p.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var p={width:e.width,height:e.height},o={x:e.x,y:e.y},b=Math.abs(e.opacity<.001)?0:e.opacity,n=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&n&&(t.save(),t.globalAlpha=b,this.drawBackground(o,e,t,p),o.y+=e.yPadding,zt.rtl.overrideTextDirection(t,e.textDirection),this.drawTitle(o,e,t),this.drawBody(o,e,t),this.drawFooter(o,e,t),zt.rtl.restoreTextDirection(t,e.textDirection),t.restore())}},handleEvent:function(t){var e=this,p=e._options,o=!1;return e._lastActive=e._lastActive||[],"mouseout"===t.type?e._active=[]:(e._active=e._chart.getElementsAtEventForMode(t,p.mode,p),p.reverse&&e._active.reverse()),(o=!zt.arrayEquals(e._active,e._lastActive))&&(e._lastActive=e._active,(p.enabled||p.custom)&&(e._eventPosition={x:t.x,y:t.y},e.update(!0),e.pivot())),o}}),Sp=Rp,kp=Cp;kp.positioners=Sp;var Ep=zt.valueOrDefault;function Dp(){return zt.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,e,p,o){if("xAxes"===t||"yAxes"===t){var b,n,M,z=p[t].length;for(e[t]||(e[t]=[]),b=0;b=e[t].length&&e[t].push({}),!e[t][b].type||M.type&&M.type!==e[t][b].type?zt.merge(e[t][b],[mp.getScaleDefaults(n),M]):zt.merge(e[t][b],M)}else zt._merger(t,e,p,o)}})}function Pp(){return zt.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,e,p,o){var b=e[t]||Object.create(null),n=p[t];"scales"===t?e[t]=Dp(b,n):"scale"===t?e[t]=zt.merge(b,[mp.getScaleDefaults(n.type),n]):zt._merger(t,e,p,o)}})}function jp(t){var e=(t=t||Object.create(null)).data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=Pp(Q.global,Q[t.type],t.options||{}),t}function Ip(t){var e=t.options;zt.each(t.scales,(function(e){Ve.removeBox(t,e)})),e=Pp(Q.global,Q[t.config.type],e),t.options=t.config.options=e,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._options=e.tooltips,t.tooltip.initialize()}function Fp(t,e,p){var o,b=function(t){return t.id===o};do{o=e+p++}while(zt.findIndex(t,b)>=0);return o}function Hp(t){return"top"===t||"bottom"===t}function Vp(t,e){return function(p,o){return p[t]===o[t]?p[e]-o[e]:p[t]-o[t]}}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 Up=function(t,e){return this.construct(t,e),this};zt.extend(Up.prototype,{construct:function(t,e){var p=this;e=jp(e);var o=hp.acquireContext(t,e),b=o&&o.canvas,n=b&&b.height,M=b&&b.width;p.id=zt.uid(),p.ctx=o,p.canvas=b,p.config=e,p.width=M,p.height=n,p.aspectRatio=n?M/n:null,p.options=e.options,p._bufferedRender=!1,p._layers=[],p.chart=p,p.controller=p,Up.instances[p.id]=p,Object.defineProperty(p,"data",{get:function(){return p.config.data},set:function(t){p.config.data=t}}),o&&b&&(p.initialize(),p.update())},initialize:function(){var t=this;return Wp.notify(t,"beforeInit"),zt.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.initToolTip(),Wp.notify(t,"afterInit"),t},clear:function(){return zt.canvas.clear(this),this},stop:function(){return qt.cancelAnimation(this),this},resize:function(t){var e=this,p=e.options,o=e.canvas,b=p.maintainAspectRatio&&e.aspectRatio||null,n=Math.max(0,Math.floor(zt.getMaximumWidth(o))),M=Math.max(0,Math.floor(b?n/b:zt.getMaximumHeight(o)));if((e.width!==n||e.height!==M)&&(o.width=e.width=n,o.height=e.height=M,o.style.width=n+"px",o.style.height=M+"px",zt.retinaScale(e,p.devicePixelRatio),!t)){var z={width:n,height:M};Wp.notify(e,"resize",[z]),p.onResize&&p.onResize(e,z),e.stop(),e.update({duration:p.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},p=t.scale;zt.each(e.xAxes,(function(t,p){t.id||(t.id=Fp(e.xAxes,"x-axis-",p))})),zt.each(e.yAxes,(function(t,p){t.id||(t.id=Fp(e.yAxes,"y-axis-",p))})),p&&(p.id=p.id||"scale")},buildOrUpdateScales:function(){var t=this,e=t.options,p=t.scales||{},o=[],b=Object.keys(p).reduce((function(t,e){return t[e]=!1,t}),{});e.scales&&(o=o.concat((e.scales.xAxes||[]).map((function(t){return{options:t,dtype:"category",dposition:"bottom"}})),(e.scales.yAxes||[]).map((function(t){return{options:t,dtype:"linear",dposition:"left"}})))),e.scale&&o.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),zt.each(o,(function(e){var o=e.options,n=o.id,M=Ep(o.type,e.dtype);Hp(o.position)!==Hp(e.dposition)&&(o.position=e.dposition),b[n]=!0;var z=null;if(n in p&&p[n].type===M)(z=p[n]).options=o,z.ctx=t.ctx,z.chart=t;else{var c=mp.getScaleConstructor(M);if(!c)return;z=new c({id:n,type:M,options:o,ctx:t.ctx,chart:t}),p[z.id]=z}z.mergeTicksOptions(),e.isDefault&&(t.scale=z)})),zt.each(b,(function(t,e){t||delete p[e]})),t.scales=p,mp.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t,e,p=this,o=[],b=p.data.datasets;for(t=0,e=b.length;t=0;--p)o.drawDataset(e[p],t);Wp.notify(o,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var p=this,o={meta:t,index:t.index,easingValue:e};!1!==Wp.notify(p,"beforeDatasetDraw",[o])&&(t.controller.draw(e),Wp.notify(p,"afterDatasetDraw",[o]))},_drawTooltip:function(t){var e=this,p=e.tooltip,o={tooltip:p,easingValue:t};!1!==Wp.notify(e,"beforeTooltipDraw",[o])&&(p.draw(),Wp.notify(e,"afterTooltipDraw",[o]))},getElementAtEvent:function(t){return xe.modes.single(this,t)},getElementsAtEvent:function(t){return xe.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return xe.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,p){var o=xe.modes[e];return"function"==typeof o?o(this,t,p):[]},getDatasetAtEvent:function(t){return xe.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this,p=e.data.datasets[t];p._meta||(p._meta={});var o=p._meta[e.id];return o||(o=p._meta[e.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:p.order||0,index:t}),o},getVisibleDatasetCount:function(){for(var t=0,e=0,p=this.data.datasets.length;e=0;o--){var b=t[o];if(e(b))return b}},zt.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},zt.almostEquals=function(t,e,p){return Math.abs(t-e)=t},zt.max=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.max(t,e)}),Number.NEGATIVE_INFINITY)},zt.min=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.min(t,e)}),Number.POSITIVE_INFINITY)},zt.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:t>0?1:-1},zt.toRadians=function(t){return t*(Math.PI/180)},zt.toDegrees=function(t){return t*(180/Math.PI)},zt._decimalPlaces=function(t){if(zt.isFinite(t)){for(var e=1,p=0;Math.round(t*e)/e!==t;)e*=10,p++;return p}},zt.getAngleFromPoint=function(t,e){var p=e.x-t.x,o=e.y-t.y,b=Math.sqrt(p*p+o*o),n=Math.atan2(o,p);return n<-.5*Math.PI&&(n+=2*Math.PI),{angle:n,distance:b}},zt.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},zt.aliasPixel=function(t){return t%2==0?0:.5},zt._alignPixel=function(t,e,p){var o=t.currentDevicePixelRatio,b=p/2;return Math.round((e-b)*o)/o+b},zt.splineCurve=function(t,e,p,o){var b=t.skip?e:t,n=e,M=p.skip?e:p,z=Math.sqrt(Math.pow(n.x-b.x,2)+Math.pow(n.y-b.y,2)),c=Math.sqrt(Math.pow(M.x-n.x,2)+Math.pow(M.y-n.y,2)),a=z/(z+c),r=c/(z+c),i=o*(a=isNaN(a)?0:a),O=o*(r=isNaN(r)?0:r);return{previous:{x:n.x-i*(M.x-b.x),y:n.y-i*(M.y-b.y)},next:{x:n.x+O*(M.x-b.x),y:n.y+O*(M.y-b.y)}}},zt.EPSILON=Number.EPSILON||1e-14,zt.splineCurveMonotone=function(t){var e,p,o,b,n,M,z,c,a,r=(t||[]).map((function(t){return{model:t._model,deltaK:0,mK:0}})),i=r.length;for(e=0;e0?r[e-1]:null,(b=e0?r[e-1]:null,b=e=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},zt.previousItem=function(t,e,p){return p?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},zt.niceNum=function(t,e){var p=Math.floor(zt.log10(t)),o=t/Math.pow(10,p);return(e?o<1.5?1:o<3?2:o<7?5:10:o<=1?1:o<=2?2:o<=5?5:10)*Math.pow(10,p)},zt.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},zt.getRelativePosition=function(t,e){var p,o,b=t.originalEvent||t,n=t.target||t.srcElement,M=n.getBoundingClientRect(),z=b.touches;z&&z.length>0?(p=z[0].clientX,o=z[0].clientY):(p=b.clientX,o=b.clientY);var c=parseFloat(zt.getStyle(n,"padding-left")),a=parseFloat(zt.getStyle(n,"padding-top")),r=parseFloat(zt.getStyle(n,"padding-right")),i=parseFloat(zt.getStyle(n,"padding-bottom")),O=M.right-M.left-c-r,s=M.bottom-M.top-a-i;return{x:p=Math.round((p-M.left-c)/O*n.width/e.currentDevicePixelRatio),y:o=Math.round((o-M.top-a)/s*n.height/e.currentDevicePixelRatio)}},zt.getConstraintWidth=function(t){return p(t,"max-width","clientWidth")},zt.getConstraintHeight=function(t){return p(t,"max-height","clientHeight")},zt._calculatePadding=function(t,e,p){return(e=zt.getStyle(t,e)).indexOf("%")>-1?p*parseInt(e,10)/100:parseInt(e,10)},zt._getParentNode=function(t){var e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e},zt.getMaximumWidth=function(t){var e=zt._getParentNode(t);if(!e)return t.clientWidth;var p=e.clientWidth,o=p-zt._calculatePadding(e,"padding-left",p)-zt._calculatePadding(e,"padding-right",p),b=zt.getConstraintWidth(t);return isNaN(b)?o:Math.min(o,b)},zt.getMaximumHeight=function(t){var e=zt._getParentNode(t);if(!e)return t.clientHeight;var p=e.clientHeight,o=p-zt._calculatePadding(e,"padding-top",p)-zt._calculatePadding(e,"padding-bottom",p),b=zt.getConstraintHeight(t);return isNaN(b)?o:Math.min(o,b)},zt.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},zt.retinaScale=function(t,e){var p=t.currentDevicePixelRatio=e||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==p){var o=t.canvas,b=t.height,n=t.width;o.height=b*p,o.width=n*p,t.ctx.scale(p,p),o.style.height||o.style.width||(o.style.height=b+"px",o.style.width=n+"px")}},zt.fontString=function(t,e,p){return e+" "+t+"px "+p},zt.longestText=function(t,e,p,o){var b=(o=o||{}).data=o.data||{},n=o.garbageCollect=o.garbageCollect||[];o.font!==e&&(b=o.data={},n=o.garbageCollect=[],o.font=e),t.font=e;var M,z,c,a,r,i=0,O=p.length;for(M=0;Mp.length){for(M=0;Mo&&(o=n),o},zt.numberOfLabelLines=function(t){var e=1;return zt.each(t,(function(t){zt.isArray(t)&&t.length>e&&(e=t.length)})),e},zt.color=S?function(t){return t instanceof CanvasGradient&&(t=Q.global.defaultColor),S(t)}:function(t){return t},zt.getHoverColor=function(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:zt.color(t).saturate(.5).darken(.1).rgbString()}};function Gp(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function Jp(t){this.options=t||{}}zt.extend(Jp.prototype,{formats:Gp,parse:Gp,format:Gp,add:Gp,diff:Gp,startOf:Gp,endOf:Gp,_create:function(t){return t}}),Jp.override=function(t){zt.extend(Jp.prototype,t)};var Kp={_date:Jp},Qp={formatters:{values:function(t){return zt.isArray(t)?t:""+t},linear:function(t,e,p){var o=p.length>3?p[2]-p[1]:p[1]-p[0];Math.abs(o)>1&&t!==Math.floor(t)&&(o=t-Math.floor(t));var b=zt.log10(Math.abs(o)),n="";if(0!==t)if(Math.max(Math.abs(p[0]),Math.abs(p[p.length-1]))<1e-4){var M=zt.log10(Math.abs(t)),z=Math.floor(M)-Math.floor(b);z=Math.max(Math.min(z,20),0),n=t.toExponential(z)}else{var c=-1*Math.floor(b);c=Math.max(Math.min(c,20),0),n=t.toFixed(c)}else n="0";return n},logarithmic:function(t,e,p){var o=t/Math.pow(10,Math.floor(zt.log10(t)));return 0===t?"0":1===o||2===o||5===o||0===e||e===p.length-1?t.toExponential():""}}},Zp=zt.isArray,to=zt.isNullOrUndef,eo=zt.valueOrDefault,po=zt.valueAtIndexOrDefault;function oo(t,e){for(var p=[],o=t.length/e,b=0,n=t.length;bc+a)))return M}function no(t,e){zt.each(t,(function(t){var p,o=t.gc,b=o.length/2;if(b>e){for(p=0;pa)return n;return Math.max(a,1)}function lo(t){var e,p,o=[];for(e=0,p=t.length;e=O||r<=1||!z.isHorizontal()?z.labelRotation=i:(e=(t=z._getLabelSizes()).widest.width,p=t.highest.height-t.highest.offset,o=Math.min(z.maxWidth,z.chart.width-e),e+6>(b=c.offset?z.maxWidth/r:o/(r-1))&&(b=o/(r-(c.offset?.5:1)),n=z.maxHeight-zo(c.gridLines)-a.padding-co(c.scaleLabel),M=Math.sqrt(e*e+p*p),s=zt.toDegrees(Math.min(Math.asin(Math.min((t.highest.height+6)/b,1)),Math.asin(Math.min(n/M,1))-Math.asin(p/M))),s=Math.max(i,Math.min(O,s))),z.labelRotation=s)},afterCalculateTickRotation:function(){zt.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){zt.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},p=t.chart,o=t.options,b=o.ticks,n=o.scaleLabel,M=o.gridLines,z=t._isVisible(),c="bottom"===o.position,a=t.isHorizontal();if(a?e.width=t.maxWidth:z&&(e.width=zo(M)+co(n)),a?z&&(e.height=zo(M)+co(n)):e.height=t.maxHeight,b.display&&z){var r=ro(b),i=t._getLabelSizes(),O=i.first,s=i.last,l=i.widest,d=i.highest,A=.4*r.minor.lineHeight,u=b.padding;if(a){var q=0!==t.labelRotation,f=zt.toRadians(t.labelRotation),h=Math.cos(f),W=Math.sin(f),m=W*l.width+h*(d.height-(q?d.offset:0))+(q?0:A);e.height=Math.min(t.maxHeight,e.height+m+u);var g,v,R=t.getPixelForTick(0)-t.left,y=t.right-t.getPixelForTick(t.getTicks().length-1);q?(g=c?h*O.width+W*O.offset:W*(O.height-O.offset),v=c?W*(s.height-s.offset):h*s.width+W*s.offset):(g=O.width/2,v=s.width/2),t.paddingLeft=Math.max((g-R)*t.width/(t.width-R),0)+3,t.paddingRight=Math.max((v-y)*t.width/(t.width-y),0)+3}else{var B=b.mirror?0:l.width+u+A;e.width=Math.min(t.maxWidth,e.width+B),t.paddingTop=O.height/2,t.paddingBottom=s.height/2}}t.handleMargins(),a?(t.width=t._length=p.width-t.margins.left-t.margins.right,t.height=e.height):(t.width=e.width,t.height=t._length=p.height-t.margins.top-t.margins.bottom)},handleMargins:function(){var t=this;t.margins&&(t.margins.left=Math.max(t.paddingLeft,t.margins.left),t.margins.top=Math.max(t.paddingTop,t.margins.top),t.margins.right=Math.max(t.paddingRight,t.margins.right),t.margins.bottom=Math.max(t.paddingBottom,t.margins.bottom))},afterFit:function(){zt.callback(this.options.afterFit,[this])},isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(to(t))return NaN;if(("number"==typeof t||t instanceof Number)&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},_convertTicksToLabels:function(t){var e,p,o,b=this;for(b.ticks=t.map((function(t){return t.value})),b.beforeTickToLabelConversion(),e=b.convertTicksToLabels(t)||b.ticks,b.afterTickToLabelConversion(),p=0,o=t.length;po-1?null:e.getPixelForDecimal(t*b+(p?b/2:0))},getPixelForDecimal:function(t){var e=this;return e._reversePixels&&(t=1-t),e._startPixel+t*e._length},getDecimalForPixel:function(t){var e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this,e=t.min,p=t.max;return t.beginAtZero?0:e<0&&p<0?p:e>0&&p>0?e:0},_autoSkip:function(t){var e,p,o,b,n=this,M=n.options.ticks,z=n._length,c=M.maxTicksLimit||z/n._tickSize()+1,a=M.major.enabled?lo(t):[],r=a.length,i=a[0],O=a[r-1];if(r>c)return Ao(t,a,r/c),io(t);if(o=so(a,t,z,c),r>0){for(e=0,p=r-1;e1?(O-i)/(r-1):null,uo(t,o,zt.isNullOrUndef(b)?0:i-b,i),uo(t,o,O,zt.isNullOrUndef(b)?t.length:O+b),io(t)}return uo(t,o),io(t)},_tickSize:function(){var t=this,e=t.options.ticks,p=zt.toRadians(t.labelRotation),o=Math.abs(Math.cos(p)),b=Math.abs(Math.sin(p)),n=t._getLabelSizes(),M=e.autoSkipPadding||0,z=n?n.widest.width+M:0,c=n?n.highest.height+M:0;return t.isHorizontal()?c*o>z*b?z/o:c/b:c*b=0&&(M=t),void 0!==n&&(t=p.indexOf(n))>=0&&(z=t),e.minIndex=M,e.maxIndex=z,e.min=p[M],e.max=p[z]},buildTicks:function(){var t=this,e=t._getLabels(),p=t.minIndex,o=t.maxIndex;t.ticks=0===p&&o===e.length-1?e:e.slice(p,o+1)},getLabelForIndex:function(t,e){var p=this,o=p.chart;return o.getDatasetMeta(e).controller._getValueScaleId()===p.id?p.getRightValue(o.data.datasets[e].data[t]):p._getLabels()[t]},_configure:function(){var t=this,e=t.options.offset,p=t.ticks;fo.prototype._configure.call(t),t.isHorizontal()||(t._reversePixels=!t._reversePixels),p&&(t._startValue=t.minIndex-(e?.5:0),t._valueRange=Math.max(p.length-(e?0:1),1))},getPixelForValue:function(t,e,p){var o,b,n,M=this;return ho(e)||ho(p)||(t=M.chart.data.datasets[p].data[e]),ho(t)||(o=M.isHorizontal()?t.x:t.y),(void 0!==o||void 0!==t&&isNaN(e))&&(b=M._getLabels(),t=zt.valueOrDefault(o,t),e=-1!==(n=b.indexOf(t))?n:e,isNaN(e)&&(e=t)),M.getPixelForDecimal((e-M._startValue)/M._valueRange)},getPixelForTick:function(t){var e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t],t+this.minIndex)},getValueForPixel:function(t){var e=this,p=Math.round(e._startValue+e.getDecimalForPixel(t)*e._valueRange);return Math.min(Math.max(p,0),e.ticks.length-1)},getBasePixel:function(){return this.bottom}}),go=Wo;mo._defaults=go;var vo=zt.noop,Ro=zt.isNullOrUndef;function yo(t,e){var p,o,b,n,M=[],z=1e-14,c=t.stepSize,a=c||1,r=t.maxTicks-1,i=t.min,O=t.max,s=t.precision,l=e.min,d=e.max,A=zt.niceNum((d-l)/r/a)*a;if(Ar&&(A=zt.niceNum(n*A/r/a)*a),c||Ro(s)?p=Math.pow(10,zt._decimalPlaces(A)):(p=Math.pow(10,s),A=Math.ceil(A*p)/p),o=Math.floor(l/A)*A,b=Math.ceil(d/A)*A,c&&(!Ro(i)&&zt.almostWhole(i/A,A/1e3)&&(o=i),!Ro(O)&&zt.almostWhole(O/A,A/1e3)&&(b=O)),n=(b-o)/A,n=zt.almostEquals(n,Math.round(n),A/1e3)?Math.round(n):Math.ceil(n),o=Math.round(o*p)/p,b=Math.round(b*p)/p,M.push(Ro(i)?o:i);for(var u=1;u0&&o>0&&(t.min=0)}var b=void 0!==e.min||void 0!==e.suggestedMin,n=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(null===t.min?t.min=e.suggestedMin:t.min=Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(null===t.max?t.max=e.suggestedMax:t.max=Math.max(t.max,e.suggestedMax)),b!==n&&t.min>=t.max&&(b?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:function(){var t,e=this,p=e.options.ticks,o=p.stepSize,b=p.maxTicksLimit;return o?t=Math.ceil(e.max/o)-Math.floor(e.min/o)+1:(t=e._computeTickLimit(),b=b||11),b&&(t=Math.min(b,t)),t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:vo,buildTicks:function(){var t=this,e=t.options.ticks,p=t.getTickLimit(),o={maxTicks:p=Math.max(2,p),min:e.min,max:e.max,precision:e.precision,stepSize:zt.valueOrDefault(e.fixedStepSize,e.stepSize)},b=t.ticks=yo(o,t);t.handleDirectionalChanges(),t.max=zt.max(b),t.min=zt.min(b),e.reverse?(b.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){var t=this;t.ticksAsNumbers=t.ticks.slice(),t.zeroLineIndex=t.ticks.indexOf(0),fo.prototype.convertTicksToLabels.call(t)},_configure:function(){var t,e=this,p=e.getTicks(),o=e.min,b=e.max;fo.prototype._configure.call(e),e.options.offset&&p.length&&(o-=t=(b-o)/Math.max(p.length-1,1)/2,b+=t),e._startValue=o,e._endValue=b,e._valueRange=b-o}}),Lo={position:"left",ticks:{callback:Qp.formatters.linear}},Xo=0,_o=1;function No(t,e,p){var o=[p.type,void 0===e&&void 0===p.stack?p.index:"",p.stack].join(".");return void 0===t[o]&&(t[o]={pos:[],neg:[]}),t[o]}function xo(t,e,p,o){var b,n,M=t.options,z=No(e,M.stacked,p),c=z.pos,a=z.neg,r=o.length;for(b=0;be.length-1?null:this.getPixelForValue(e[t])}}),Co=Lo;To._defaults=Co;var So=zt.valueOrDefault,ko=zt.math.log10;function Eo(t,e){var p,o,b=[],n=So(t.min,Math.pow(10,Math.floor(ko(e.min)))),M=Math.floor(ko(e.max)),z=Math.ceil(e.max/Math.pow(10,M));0===n?(p=Math.floor(ko(e.minNotZero)),o=Math.floor(e.minNotZero/Math.pow(10,p)),b.push(n),n=o*Math.pow(10,p)):(p=Math.floor(ko(n)),o=Math.floor(n/Math.pow(10,p)));var c=p<0?Math.pow(10,Math.abs(p)):1;do{b.push(n),10==++o&&(o=1,c=++p>=0?1:c),n=Math.round(o*Math.pow(10,p)*c)/c}while(p=0?t:e}var jo=fo.extend({determineDataLimits:function(){var t,e,p,o,b,n,M=this,z=M.options,c=M.chart,a=c.data.datasets,r=M.isHorizontal();function i(t){return r?t.xAxisID===M.id:t.yAxisID===M.id}M.min=Number.POSITIVE_INFINITY,M.max=Number.NEGATIVE_INFINITY,M.minNotZero=Number.POSITIVE_INFINITY;var O=z.stacked;if(void 0===O)for(t=0;t0){var e=zt.min(t),p=zt.max(t);M.min=Math.min(M.min,e),M.max=Math.max(M.max,p)}}))}else for(t=0;t0?t.minNotZero=t.min:t.max<1?t.minNotZero=Math.pow(10,Math.floor(ko(t.max))):t.minNotZero=p)},buildTicks:function(){var t=this,e=t.options.ticks,p=!t.isHorizontal(),o={min:Po(e.min),max:Po(e.max)},b=t.ticks=Eo(o,t);t.max=zt.max(b),t.min=zt.min(b),e.reverse?(p=!p,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),p&&b.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),fo.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){var e=this.tickValues;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])},_getFirstTickValue:function(t){var e=Math.floor(ko(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},_configure:function(){var t=this,e=t.min,p=0;fo.prototype._configure.call(t),0===e&&(e=t._getFirstTickValue(t.minNotZero),p=So(t.options.ticks.fontSize,Q.global.defaultFontSize)/t._length),t._startValue=ko(e),t._valueOffset=p,t._valueRange=(ko(t.max)-ko(e))/(1-p)},getPixelForValue:function(t){var e=this,p=0;return(t=+e.getRightValue(t))>e.min&&t>0&&(p=(ko(t)-e._startValue)/e._valueRange+e._valueOffset),e.getPixelForDecimal(p)},getValueForPixel:function(t){var e=this,p=e.getDecimalForPixel(t);return 0===p&&0===e.min?0:Math.pow(10,e._startValue+(p-e._valueOffset)*e._valueRange)}}),Io=Do;jo._defaults=Io;var Fo=zt.valueOrDefault,Ho=zt.valueAtIndexOrDefault,Vo=zt.options.resolve,Uo={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:Qp.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function $o(t){var e=t.ticks;return e.display&&t.display?Fo(e.fontSize,Q.global.defaultFontSize)+2*e.backdropPaddingY:0}function Yo(t,e,p){return zt.isArray(p)?{w:zt.longestText(t,t.font,p),h:p.length*e}:{w:t.measureText(p).width,h:e}}function Go(t,e,p,o,b){return t===o||t===b?{start:e-p/2,end:e+p/2}:tb?{start:e-p,end:e}:{start:e,end:e+p}}function Jo(t){var e,p,o,b=zt.options._parseFont(t.options.pointLabels),n={l:0,r:t.width,t:0,b:t.height-t.paddingTop},M={};t.ctx.font=b.string,t._pointLabelSizes=[];var z=t.chart.data.labels.length;for(e=0;en.r&&(n.r=r.end,M.r=c),i.startn.b&&(n.b=i.end,M.b=c)}t.setReductions(t.drawingArea,n,M)}function Ko(t){return 0===t||180===t?"center":t<180?"left":"right"}function Qo(t,e,p,o){var b,n,M=p.y+o/2;if(zt.isArray(e))for(b=0,n=e.length;b270||t<90)&&(p.y-=e.h)}function tb(t){var e=t.ctx,p=t.options,o=p.pointLabels,b=$o(p),n=t.getDistanceFromCenterForValue(p.ticks.reverse?t.min:t.max),M=zt.options._parseFont(o);e.save(),e.font=M.string,e.textBaseline="middle";for(var z=t.chart.data.labels.length-1;z>=0;z--){var c=0===z?b/2:0,a=t.getPointPosition(z,n+c+5),r=Ho(o.fontColor,z,Q.global.defaultFontColor);e.fillStyle=r;var i=t.getIndexAngle(z),O=zt.toDegrees(i);e.textAlign=Ko(O),Zo(O,t._pointLabelSizes[z],a),Qo(e,t.pointLabels[z],a,M.lineHeight)}e.restore()}function eb(t,e,p,o){var b,n=t.ctx,M=e.circular,z=t.chart.data.labels.length,c=Ho(e.color,o-1),a=Ho(e.lineWidth,o-1);if((M||z)&&c&&a){if(n.save(),n.strokeStyle=c,n.lineWidth=a,n.setLineDash&&(n.setLineDash(e.borderDash||[]),n.lineDashOffset=e.borderDashOffset||0),n.beginPath(),M)n.arc(t.xCenter,t.yCenter,p,0,2*Math.PI);else{b=t.getPointPosition(0,p),n.moveTo(b.x,b.y);for(var r=1;r0&&o>0?p:0)},_drawGrid:function(){var t,e,p,o=this,b=o.ctx,n=o.options,M=n.gridLines,z=n.angleLines,c=Fo(z.lineWidth,M.lineWidth),a=Fo(z.color,M.color);if(n.pointLabels.display&&tb(o),M.display&&zt.each(o.ticks,(function(t,p){0!==p&&(e=o.getDistanceFromCenterForValue(o.ticksAsNumbers[p]),eb(o,M,e,p))})),z.display&&c&&a){for(b.save(),b.lineWidth=c,b.strokeStyle=a,b.setLineDash&&(b.setLineDash(Vo([z.borderDash,M.borderDash,[]])),b.lineDashOffset=Vo([z.borderDashOffset,M.borderDashOffset,0])),t=o.chart.data.labels.length-1;t>=0;t--)e=o.getDistanceFromCenterForValue(n.ticks.reverse?o.min:o.max),p=o.getPointPosition(t,e),b.beginPath(),b.moveTo(o.xCenter,o.yCenter),b.lineTo(p.x,p.y),b.stroke();b.restore()}},_drawLabels:function(){var t=this,e=t.ctx,p=t.options.ticks;if(p.display){var o,b,n=t.getIndexAngle(0),M=zt.options._parseFont(p),z=Fo(p.fontColor,Q.global.defaultFontColor);e.save(),e.font=M.string,e.translate(t.xCenter,t.yCenter),e.rotate(n),e.textAlign="center",e.textBaseline="middle",zt.each(t.ticks,(function(n,c){(0!==c||p.reverse)&&(o=t.getDistanceFromCenterForValue(t.ticksAsNumbers[c]),p.showLabelBackdrop&&(b=e.measureText(n).width,e.fillStyle=p.backdropColor,e.fillRect(-b/2-p.backdropPaddingX,-o-M.size/2-p.backdropPaddingY,b+2*p.backdropPaddingX,M.size+2*p.backdropPaddingY)),e.fillStyle=z,e.fillText(n,0,-o))})),e.restore()}},_drawTitle:zt.noop}),bb=Uo;ob._defaults=bb;var nb=zt._deprecated,Mb=zt.options.resolve,zb=zt.valueOrDefault,cb=Number.MIN_SAFE_INTEGER||-9007199254740991,ab=Number.MAX_SAFE_INTEGER||9007199254740991,rb={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}},ib=Object.keys(rb);function Ob(t,e){return t-e}function sb(t){var e,p,o,b={},n=[];for(e=0,p=t.length;ee&&z=0&&M<=z;){if(b=t[(o=M+z>>1)-1]||null,n=t[o],!b)return{lo:null,hi:n};if(n[e]p))return{lo:b,hi:n};z=o-1}}return{lo:n,hi:null}}function qb(t,e,p,o){var b=ub(t,e,p),n=b.lo?b.hi?b.lo:t[t.length-2]:t[0],M=b.lo?b.hi?b.hi:t[t.length-1]:t[1],z=M[e]-n[e],c=z?(p-n[e])/z:0,a=(M[o]-n[o])*c;return n[o]+a}function fb(t,e){var p=t._adapter,o=t.options.time,b=o.parser,n=b||o.format,M=e;return"function"==typeof b&&(M=b(M)),zt.isFinite(M)||(M="string"==typeof n?p.parse(M,n):p.parse(M)),null!==M?+M:(b||"function"!=typeof n||(M=n(e),zt.isFinite(M)||(M=p.parse(M))),M)}function hb(t,e){if(zt.isNullOrUndef(e))return null;var p=t.options.time,o=fb(t,t.getRightValue(e));return null===o||p.round&&(o=+t._adapter.startOf(o,p.round)),o}function Wb(t,e,p,o){var b,n,M,z=ib.length;for(b=ib.indexOf(t);b=ib.indexOf(p);n--)if(M=ib[n],rb[M].common&&t._adapter.diff(b,o,M)>=e-1)return M;return ib[p?ib.indexOf(p):0]}function gb(t){for(var e=ib.indexOf(t)+1,p=ib.length;e1e5*a)throw e+" and "+p+" are too far apart with stepSize of "+a+" "+c;for(b=i;b=0&&(e[n].major=!0);return e}function Bb(t,e,p){var o,b,n=[],M={},z=e.length;for(o=0;o1?sb(l).sort(Ob):l.sort(Ob),O=Math.min(O,l[0]),s=Math.max(s,l[l.length-1])),O=hb(z,lb(r))||O,s=hb(z,db(r))||s,O=O===ab?+a.startOf(Date.now(),i):O,s=s===cb?+a.endOf(Date.now(),i)+1:s,z.min=Math.min(O,s),z.max=Math.max(O+1,s),z._table=[],z._timestamps={data:l,datasets:d,labels:A}},buildTicks:function(){var t,e,p,o=this,b=o.min,n=o.max,M=o.options,z=M.ticks,c=M.time,a=o._timestamps,r=[],i=o.getLabelCapacity(b),O=z.source,s=M.distribution;for(a="data"===O||"auto"===O&&"series"===s?a.data:"labels"===O?a.labels:vb(o,b,n,i),"ticks"===M.bounds&&a.length&&(b=a[0],n=a[a.length-1]),b=hb(o,lb(M))||b,n=hb(o,db(M))||n,t=0,e=a.length;t=b&&p<=n&&r.push(p);return o.min=b,o.max=n,o._unit=c.unit||(z.autoSkip?Wb(c.minUnit,o.min,o.max,i):mb(o,r.length,c.minUnit,o.min,o.max)),o._majorUnit=z.major.enabled&&"year"!==o._unit?gb(o._unit):void 0,o._table=Ab(o._timestamps.data,b,n,s),o._offsets=Rb(o._table,r,b,n,M),z.reverse&&r.reverse(),Bb(o,r,o._majorUnit)},getLabelForIndex:function(t,e){var p=this,o=p._adapter,b=p.chart.data,n=p.options.time,M=b.labels&&t=0&&t0?z:1}}),_b=Lb;Xb._defaults=_b;var Nb={category:mo,linear:To,logarithmic:jo,radialLinear:ob,time:Xb},xb={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"};Kp._date.override("function"==typeof t?{_id:"moment",formats:function(){return xb},parse:function(e,p){return"string"==typeof e&&"string"==typeof p?e=t(e,p):e instanceof t||(e=t(e)),e.isValid()?e.valueOf():null},format:function(e,p){return t(e).format(p)},add:function(e,p,o){return t(e).add(p,o).valueOf()},diff:function(e,p,o){return t(e).diff(t(p),o)},startOf:function(e,p,o){return e=t(e),"isoWeek"===p?e.isoWeekday(o).valueOf():e.startOf(p).valueOf()},endOf:function(e,p){return t(e).endOf(p).valueOf()},_create:function(e){return t(e)}}:{}),Q._set("global",{plugins:{filler:{propagate:!0}}});var wb={dataset:function(t){var e=t.fill,p=t.chart,o=p.getDatasetMeta(e),b=o&&p.isDatasetVisible(e)&&o.dataset._children||[],n=b.length||0;return n?function(t,e){return e=p)&&o;switch(n){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return n;default:return!1}}function Cb(t){var e,p=t.el._model||{},o=t.el._scale||{},b=t.fill,n=null;if(isFinite(b))return null;if("start"===b?n=void 0===p.scaleBottom?o.bottom:p.scaleBottom:"end"===b?n=void 0===p.scaleTop?o.top:p.scaleTop:void 0!==p.scaleZero?n=p.scaleZero:o.getBasePixel&&(n=o.getBasePixel()),null!=n){if(void 0!==n.x&&void 0!==n.y)return n;if(zt.isFinite(n))return{x:(e=o.isHorizontal())?n:null,y:e?null:n}}return null}function Sb(t){var e,p,o,b,n,M=t.el._scale,z=M.options,c=M.chart.data.labels.length,a=t.fill,r=[];if(!c)return null;for(e=z.ticks.reverse?M.max:M.min,p=z.ticks.reverse?M.min:M.max,o=M.getPointPositionForValue(0,e),b=0;b0;--n)zt.canvas.lineTo(t,p[n],p[n-1],!0);else for(M=p[0].cx,z=p[0].cy,c=Math.sqrt(Math.pow(p[0].x-M,2)+Math.pow(p[0].y-z,2)),n=b-1;n>0;--n)t.arc(M,z,c,p[n].angle,p[n-1].angle,!0)}}function Ib(t,e,p,o,b,n){var M,z,c,a,r,i,O,s,l=e.length,d=o.spanGaps,A=[],u=[],q=0,f=0;for(t.beginPath(),M=0,z=l;M=0;--p)(e=c[p].$filler)&&e.visible&&(b=(o=e.el)._view,n=o._children||[],M=e.mapper,z=b.backgroundColor||Q.global.defaultColor,M&&z&&n.length&&(zt.canvas.clipArea(a,t.chartArea),Ib(a,n,M,b,z,o._loop),zt.canvas.unclipArea(a)))}},Hb=zt.rtl.getRtlAdapter,Vb=zt.noop,Ub=zt.valueOrDefault;function $b(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}Q._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var p=e.datasetIndex,o=this.chart,b=o.getDatasetMeta(p);b.hidden=null===b.hidden?!o.data.datasets[p].hidden:null,o.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data.datasets,p=t.options.legend||{},o=p.labels&&p.labels.usePointStyle;return t._getSortedDatasetMetas().map((function(p){var b=p.controller.getStyle(o?0:void 0);return{text:e[p.index].label,fillStyle:b.backgroundColor,hidden:!t.isDatasetVisible(p.index),lineCap:b.borderCapStyle,lineDash:b.borderDash,lineDashOffset:b.borderDashOffset,lineJoin:b.borderJoinStyle,lineWidth:b.borderWidth,strokeStyle:b.borderColor,pointStyle:b.pointStyle,rotation:b.rotation,datasetIndex:p.index}}),this)}}},legendCallback:function(t){var e,p,o,b=document.createElement("ul"),n=t.data.datasets;for(b.setAttribute("class",t.id+"-legend"),e=0,p=n.length;ec.width)&&(i+=M+p.padding,r[r.length-(e>0?0:1)]=0),z[e]={left:0,top:0,width:o,height:M},r[r.length-1]+=o+p.padding})),c.height+=i}else{var O=p.padding,s=t.columnWidths=[],l=t.columnHeights=[],d=p.padding,A=0,u=0;zt.each(t.legendItems,(function(t,e){var o=$b(p,M)+M/2+b.measureText(t.text).width;e>0&&u+M+2*O>c.height&&(d+=A+p.padding,s.push(A),l.push(u),A=0,u=0),A=Math.max(A,o),u+=M+O,z[e]={left:0,top:0,width:o,height:M}})),d+=A,s.push(A),l.push(u),c.width+=d}t.width=c.width,t.height=c.height}else t.width=c.width=t.height=c.height=0},afterFit:Vb,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,p=e.labels,o=Q.global,b=o.defaultColor,n=o.elements.line,M=t.height,z=t.columnHeights,c=t.width,a=t.lineWidths;if(e.display){var r,i=Hb(e.rtl,t.left,t.minSize.width),O=t.ctx,s=Ub(p.fontColor,o.defaultFontColor),l=zt.options._parseFont(p),d=l.size;O.textAlign=i.textAlign("left"),O.textBaseline="middle",O.lineWidth=.5,O.strokeStyle=s,O.fillStyle=s,O.font=l.string;var A=$b(p,d),u=t.legendHitBoxes,q=function(t,e,o){if(!(isNaN(A)||A<=0)){O.save();var M=Ub(o.lineWidth,n.borderWidth);if(O.fillStyle=Ub(o.fillStyle,b),O.lineCap=Ub(o.lineCap,n.borderCapStyle),O.lineDashOffset=Ub(o.lineDashOffset,n.borderDashOffset),O.lineJoin=Ub(o.lineJoin,n.borderJoinStyle),O.lineWidth=M,O.strokeStyle=Ub(o.strokeStyle,b),O.setLineDash&&O.setLineDash(Ub(o.lineDash,n.borderDash)),p&&p.usePointStyle){var z=A*Math.SQRT2/2,c=i.xPlus(t,A/2),a=e+d/2;zt.canvas.drawPoint(O,o.pointStyle,z,c,a,o.rotation)}else O.fillRect(i.leftForLtr(t,A),e,A,d),0!==M&&O.strokeRect(i.leftForLtr(t,A),e,A,d);O.restore()}},f=function(t,e,p,o){var b=d/2,n=i.xPlus(t,A+b),M=e+b;O.fillText(p.text,n,M),p.hidden&&(O.beginPath(),O.lineWidth=2,O.moveTo(n,M),O.lineTo(i.xPlus(n,o),M),O.stroke())},h=function(t,o){switch(e.align){case"start":return p.padding;case"end":return t-o;default:return(t-o+p.padding)/2}},W=t.isHorizontal();r=W?{x:t.left+h(c,a[0]),y:t.top+p.padding,line:0}:{x:t.left+p.padding,y:t.top+h(M,z[0]),line:0},zt.rtl.overrideTextDirection(t.ctx,e.textDirection);var m=d+p.padding;zt.each(t.legendItems,(function(e,o){var b=O.measureText(e.text).width,n=A+d/2+b,s=r.x,l=r.y;i.setWidth(t.minSize.width),W?o>0&&s+n+p.padding>t.left+t.minSize.width&&(l=r.y+=m,r.line++,s=r.x=t.left+h(c,a[r.line])):o>0&&l+m>t.top+t.minSize.height&&(s=r.x=s+t.columnWidths[r.line]+p.padding,r.line++,l=r.y=t.top+h(M,z[r.line]));var g=i.x(s);q(g,l,e),u[o].left=i.leftForLtr(g,u[o].width),u[o].top=l,f(g,l,e,b),W?r.x+=n+p.padding:r.y+=m})),zt.rtl.restoreTextDirection(t.ctx,e.textDirection)}},_getLegendItemAt:function(t,e){var p,o,b,n=this;if(t>=n.left&&t<=n.right&&e>=n.top&&e<=n.bottom)for(b=n.legendHitBoxes,p=0;p=(o=b[p]).left&&t<=o.left+o.width&&e>=o.top&&e<=o.top+o.height)return n.legendItems[p];return null},handleEvent:function(t){var e,p=this,o=p.options,b="mouseup"===t.type?"click":t.type;if("mousemove"===b){if(!o.onHover&&!o.onLeave)return}else{if("click"!==b)return;if(!o.onClick)return}e=p._getLegendItemAt(t.x,t.y),"click"===b?e&&o.onClick&&o.onClick.call(p,t.native,e):(o.onLeave&&e!==p._hoveredItem&&(p._hoveredItem&&o.onLeave.call(p,t.native,p._hoveredItem),p._hoveredItem=e),o.onHover&&e&&o.onHover.call(p,t.native,e))}});function Gb(t,e){var p=new Yb({ctx:t.ctx,options:e,chart:t});Ve.configure(t,p,e),Ve.addBox(t,p),t.legend=p}var Jb={id:"legend",_element:Yb,beforeInit:function(t){var e=t.options.legend;e&&Gb(t,e)},beforeUpdate:function(t){var e=t.options.legend,p=t.legend;e?(zt.mergeIf(e,Q.global.legend),p?(Ve.configure(t,p,e),p.options=e):Gb(t,e)):p&&(Ve.removeBox(t,p),delete t.legend)},afterEvent:function(t,e){var p=t.legend;p&&p.handleEvent(e)}},Kb=zt.noop;Q._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var Qb=dt.extend({initialize:function(t){var e=this;zt.extend(e,t),e.legendHitBoxes=[]},beforeUpdate:Kb,update:function(t,e,p){var o=this;return o.beforeUpdate(),o.maxWidth=t,o.maxHeight=e,o.margins=p,o.beforeSetDimensions(),o.setDimensions(),o.afterSetDimensions(),o.beforeBuildLabels(),o.buildLabels(),o.afterBuildLabels(),o.beforeFit(),o.fit(),o.afterFit(),o.afterUpdate(),o.minSize},afterUpdate:Kb,beforeSetDimensions:Kb,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:Kb,beforeBuildLabels:Kb,buildLabels:Kb,afterBuildLabels:Kb,beforeFit:Kb,fit:function(){var t,e=this,p=e.options,o=e.minSize={},b=e.isHorizontal();p.display?(t=(zt.isArray(p.text)?p.text.length:1)*zt.options._parseFont(p).lineHeight+2*p.padding,e.width=o.width=b?e.maxWidth:t,e.height=o.height=b?t:e.maxHeight):e.width=o.width=e.height=o.height=0},afterFit:Kb,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,p=t.options;if(p.display){var o,b,n,M=zt.options._parseFont(p),z=M.lineHeight,c=z/2+p.padding,a=0,r=t.top,i=t.left,O=t.bottom,s=t.right;e.fillStyle=zt.valueOrDefault(p.fontColor,Q.global.defaultFontColor),e.font=M.string,t.isHorizontal()?(b=i+(s-i)/2,n=r+c,o=s-i):(b="left"===p.position?i+c:s-c,n=r+(O-r)/2,o=O-r,a=Math.PI*("left"===p.position?-.5:.5)),e.save(),e.translate(b,n),e.rotate(a),e.textAlign="center",e.textBaseline="middle";var l=p.text;if(zt.isArray(l))for(var d=0,A=0;A0&&e-1 in t)}v.fn=v.prototype={jquery:g,constructor:v,length:0,toArray:function(){return z.call(this)},get:function(t){return null==t?z.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=v.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return v.each(this,t)},map:function(t){return this.pushStack(v.map(this,(function(e,p){return t.call(e,p,e)})))},slice:function(){return this.pushStack(z.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(v.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(v.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,p=+t+(t<0?e:0);return this.pushStack(p>=0&&p+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),V=new RegExp(k+"|>"),U=new RegExp(P),$=new RegExp("^"+E+"$"),Y={ID:new RegExp("^#("+E+")"),CLASS:new RegExp("^\\.("+E+")"),TAG:new RegExp("^("+E+"|[*])"),ATTR:new RegExp("^"+D),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("^(?:"+S+")$","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")},G=/HTML$/i,J=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),pt=function(t,e){var p="0x"+t.slice(1)-65536;return e||(p<0?String.fromCharCode(p+65536):String.fromCharCode(p>>10|55296,1023&p|56320))},ot=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,bt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},nt=function(){O()},Mt=ht((function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{w.apply(_=T.call(W.childNodes),W.childNodes),_[W.childNodes.length].nodeType}catch(t){w={apply:_.length?function(t,e){x.apply(t,T.call(e))}:function(t,e){for(var p=t.length,o=0;t[p++]=e[o++];);t.length=p-1}}}function zt(t,e,o,b){var n,z,a,r,i,l,u,q=e&&e.ownerDocument,W=e?e.nodeType:9;if(o=o||[],"string"!=typeof t||!t||1!==W&&9!==W&&11!==W)return o;if(!b&&(O(e),e=e||s,d)){if(11!==W&&(i=Z.exec(t)))if(n=i[1]){if(9===W){if(!(a=e.getElementById(n)))return o;if(a.id===n)return o.push(a),o}else if(q&&(a=q.getElementById(n))&&f(e,a)&&a.id===n)return o.push(a),o}else{if(i[2])return w.apply(o,e.getElementsByTagName(t)),o;if((n=i[3])&&p.getElementsByClassName&&e.getElementsByClassName)return w.apply(o,e.getElementsByClassName(n)),o}if(p.qsa&&!B[t+" "]&&(!A||!A.test(t))&&(1!==W||"object"!==e.nodeName.toLowerCase())){if(u=t,q=e,1===W&&(V.test(t)||H.test(t))){for((q=tt.test(t)&&ut(e.parentNode)||e)===e&&p.scope||((r=e.getAttribute("id"))?r=r.replace(ot,bt):e.setAttribute("id",r=h)),z=(l=M(t)).length;z--;)l[z]=(r?"#"+r:":scope")+" "+ft(l[z]);u=l.join(",")}try{return w.apply(o,q.querySelectorAll(u)),o}catch(e){B(t,!0)}finally{r===h&&e.removeAttribute("id")}}}return c(t.replace(I,"$1"),e,o,b)}function ct(){var t=[];return function e(p,b){return t.push(p+" ")>o.cacheLength&&delete e[t.shift()],e[p+" "]=b}}function at(t){return t[h]=!0,t}function rt(t){var e=s.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function it(t,e){for(var p=t.split("|"),b=p.length;b--;)o.attrHandle[p[b]]=e}function Ot(t,e){var p=e&&t,o=p&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(o)return o;if(p)for(;p=p.nextSibling;)if(p===e)return-1;return t?1:-1}function st(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function lt(t){return function(e){var p=e.nodeName.toLowerCase();return("input"===p||"button"===p)&&e.type===t}}function dt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&Mt(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function At(t){return at((function(e){return e=+e,at((function(p,o){for(var b,n=t([],p.length,e),M=n.length;M--;)p[b=n[M]]&&(p[b]=!(o[b]=p[b]))}))}))}function ut(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in p=zt.support={},n=zt.isXML=function(t){var e=t&&t.namespaceURI,p=t&&(t.ownerDocument||t).documentElement;return!G.test(e||p&&p.nodeName||"HTML")},O=zt.setDocument=function(t){var e,b,M=t?t.ownerDocument||t:W;return M!=s&&9===M.nodeType&&M.documentElement?(l=(s=M).documentElement,d=!n(s),W!=s&&(b=s.defaultView)&&b.top!==b&&(b.addEventListener?b.addEventListener("unload",nt,!1):b.attachEvent&&b.attachEvent("onunload",nt)),p.scope=rt((function(t){return l.appendChild(t).appendChild(s.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length})),p.attributes=rt((function(t){return t.className="i",!t.getAttribute("className")})),p.getElementsByTagName=rt((function(t){return t.appendChild(s.createComment("")),!t.getElementsByTagName("*").length})),p.getElementsByClassName=Q.test(s.getElementsByClassName),p.getById=rt((function(t){return l.appendChild(t).id=h,!s.getElementsByName||!s.getElementsByName(h).length})),p.getById?(o.filter.ID=function(t){var e=t.replace(et,pt);return function(t){return t.getAttribute("id")===e}},o.find.ID=function(t,e){if(void 0!==e.getElementById&&d){var p=e.getElementById(t);return p?[p]:[]}}):(o.filter.ID=function(t){var e=t.replace(et,pt);return function(t){var p=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return p&&p.value===e}},o.find.ID=function(t,e){if(void 0!==e.getElementById&&d){var p,o,b,n=e.getElementById(t);if(n){if((p=n.getAttributeNode("id"))&&p.value===t)return[n];for(b=e.getElementsByName(t),o=0;n=b[o++];)if((p=n.getAttributeNode("id"))&&p.value===t)return[n]}return[]}}),o.find.TAG=p.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):p.qsa?e.querySelectorAll(t):void 0}:function(t,e){var p,o=[],b=0,n=e.getElementsByTagName(t);if("*"===t){for(;p=n[b++];)1===p.nodeType&&o.push(p);return o}return n},o.find.CLASS=p.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&d)return e.getElementsByClassName(t)},u=[],A=[],(p.qsa=Q.test(s.querySelectorAll))&&(rt((function(t){var e;l.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&A.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),t.querySelectorAll("[selected]").length||A.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+S+")"),t.querySelectorAll("[id~="+h+"-]").length||A.push("~="),(e=s.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||A.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),t.querySelectorAll(":checked").length||A.push(":checked"),t.querySelectorAll("a#"+h+"+*").length||A.push(".#.+[+~]"),t.querySelectorAll("\\\f"),A.push("[\\r\\n\\f]")})),rt((function(t){t.innerHTML="";var e=s.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&A.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&A.push(":enabled",":disabled"),l.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&A.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),A.push(",.*:")}))),(p.matchesSelector=Q.test(q=l.matches||l.webkitMatchesSelector||l.mozMatchesSelector||l.oMatchesSelector||l.msMatchesSelector))&&rt((function(t){p.disconnectedMatch=q.call(t,"*"),q.call(t,"[s!='']:x"),u.push("!=",P)})),A=A.length&&new RegExp(A.join("|")),u=u.length&&new RegExp(u.join("|")),e=Q.test(l.compareDocumentPosition),f=e||Q.test(l.contains)?function(t,e){var p=9===t.nodeType?t.documentElement:t,o=e&&e.parentNode;return t===o||!(!o||1!==o.nodeType||!(p.contains?p.contains(o):t.compareDocumentPosition&&16&t.compareDocumentPosition(o)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},L=e?function(t,e){if(t===e)return i=!0,0;var o=!t.compareDocumentPosition-!e.compareDocumentPosition;return o||(1&(o=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!p.sortDetached&&e.compareDocumentPosition(t)===o?t==s||t.ownerDocument==W&&f(W,t)?-1:e==s||e.ownerDocument==W&&f(W,e)?1:r?C(r,t)-C(r,e):0:4&o?-1:1)}:function(t,e){if(t===e)return i=!0,0;var p,o=0,b=t.parentNode,n=e.parentNode,M=[t],z=[e];if(!b||!n)return t==s?-1:e==s?1:b?-1:n?1:r?C(r,t)-C(r,e):0;if(b===n)return Ot(t,e);for(p=t;p=p.parentNode;)M.unshift(p);for(p=e;p=p.parentNode;)z.unshift(p);for(;M[o]===z[o];)o++;return o?Ot(M[o],z[o]):M[o]==W?-1:z[o]==W?1:0},s):s},zt.matches=function(t,e){return zt(t,null,null,e)},zt.matchesSelector=function(t,e){if(O(t),p.matchesSelector&&d&&!B[e+" "]&&(!u||!u.test(e))&&(!A||!A.test(e)))try{var o=q.call(t,e);if(o||p.disconnectedMatch||t.document&&11!==t.document.nodeType)return o}catch(t){B(e,!0)}return zt(e,s,null,[t]).length>0},zt.contains=function(t,e){return(t.ownerDocument||t)!=s&&O(t),f(t,e)},zt.attr=function(t,e){(t.ownerDocument||t)!=s&&O(t);var b=o.attrHandle[e.toLowerCase()],n=b&&X.call(o.attrHandle,e.toLowerCase())?b(t,e,!d):void 0;return void 0!==n?n:p.attributes||!d?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null},zt.escape=function(t){return(t+"").replace(ot,bt)},zt.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},zt.uniqueSort=function(t){var e,o=[],b=0,n=0;if(i=!p.detectDuplicates,r=!p.sortStable&&t.slice(0),t.sort(L),i){for(;e=t[n++];)e===t[n]&&(b=o.push(n));for(;b--;)t.splice(o[b],1)}return r=null,t},b=zt.getText=function(t){var e,p="",o=0,n=t.nodeType;if(n){if(1===n||9===n||11===n){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)p+=b(t)}else if(3===n||4===n)return t.nodeValue}else for(;e=t[o++];)p+=b(e);return p},o=zt.selectors={cacheLength:50,createPseudo:at,match:Y,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,pt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,pt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||zt.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&zt.error(t[0]),t},PSEUDO:function(t){var e,p=!t[6]&&t[2];return Y.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":p&&U.test(p)&&(e=M(p,!0))&&(e=p.indexOf(")",p.length-e)-p.length)&&(t[0]=t[0].slice(0,e),t[2]=p.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,pt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=v[t+" "];return e||(e=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+t+"("+k+"|$)"))&&v(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,p){return function(o){var b=zt.attr(o,t);return null==b?"!="===e:!e||(b+="","="===e?b===p:"!="===e?b!==p:"^="===e?p&&0===b.indexOf(p):"*="===e?p&&b.indexOf(p)>-1:"$="===e?p&&b.slice(-p.length)===p:"~="===e?(" "+b.replace(j," ")+" ").indexOf(p)>-1:"|="===e&&(b===p||b.slice(0,p.length+1)===p+"-"))}},CHILD:function(t,e,p,o,b){var n="nth"!==t.slice(0,3),M="last"!==t.slice(-4),z="of-type"===e;return 1===o&&0===b?function(t){return!!t.parentNode}:function(e,p,c){var a,r,i,O,s,l,d=n!==M?"nextSibling":"previousSibling",A=e.parentNode,u=z&&e.nodeName.toLowerCase(),q=!c&&!z,f=!1;if(A){if(n){for(;d;){for(O=e;O=O[d];)if(z?O.nodeName.toLowerCase()===u:1===O.nodeType)return!1;l=d="only"===t&&!l&&"nextSibling"}return!0}if(l=[M?A.firstChild:A.lastChild],M&&q){for(f=(s=(a=(r=(i=(O=A)[h]||(O[h]={}))[O.uniqueID]||(i[O.uniqueID]={}))[t]||[])[0]===m&&a[1])&&a[2],O=s&&A.childNodes[s];O=++s&&O&&O[d]||(f=s=0)||l.pop();)if(1===O.nodeType&&++f&&O===e){r[t]=[m,s,f];break}}else if(q&&(f=s=(a=(r=(i=(O=e)[h]||(O[h]={}))[O.uniqueID]||(i[O.uniqueID]={}))[t]||[])[0]===m&&a[1]),!1===f)for(;(O=++s&&O&&O[d]||(f=s=0)||l.pop())&&((z?O.nodeName.toLowerCase()!==u:1!==O.nodeType)||!++f||(q&&((r=(i=O[h]||(O[h]={}))[O.uniqueID]||(i[O.uniqueID]={}))[t]=[m,f]),O!==e)););return(f-=b)===o||f%o==0&&f/o>=0}}},PSEUDO:function(t,e){var p,b=o.pseudos[t]||o.setFilters[t.toLowerCase()]||zt.error("unsupported pseudo: "+t);return b[h]?b(e):b.length>1?(p=[t,t,"",e],o.setFilters.hasOwnProperty(t.toLowerCase())?at((function(t,p){for(var o,n=b(t,e),M=n.length;M--;)t[o=C(t,n[M])]=!(p[o]=n[M])})):function(t){return b(t,0,p)}):b}},pseudos:{not:at((function(t){var e=[],p=[],o=z(t.replace(I,"$1"));return o[h]?at((function(t,e,p,b){for(var n,M=o(t,null,b,[]),z=t.length;z--;)(n=M[z])&&(t[z]=!(e[z]=n))})):function(t,b,n){return e[0]=t,o(e,null,n,p),e[0]=null,!p.pop()}})),has:at((function(t){return function(e){return zt(t,e).length>0}})),contains:at((function(t){return t=t.replace(et,pt),function(e){return(e.textContent||b(e)).indexOf(t)>-1}})),lang:at((function(t){return $.test(t||"")||zt.error("unsupported lang: "+t),t=t.replace(et,pt).toLowerCase(),function(e){var p;do{if(p=d?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(p=p.toLowerCase())===t||0===p.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var p=t.location&&t.location.hash;return p&&p.slice(1)===e.id},root:function(t){return t===l},focus:function(t){return t===s.activeElement&&(!s.hasFocus||s.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:dt(!1),disabled:dt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!o.pseudos.empty(t)},header:function(t){return K.test(t.nodeName)},input:function(t){return J.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:At((function(){return[0]})),last:At((function(t,e){return[e-1]})),eq:At((function(t,e,p){return[p<0?p+e:p]})),even:At((function(t,e){for(var p=0;pe?e:p;--o>=0;)t.push(o);return t})),gt:At((function(t,e,p){for(var o=p<0?p+e:p;++o1?function(e,p,o){for(var b=t.length;b--;)if(!t[b](e,p,o))return!1;return!0}:t[0]}function mt(t,e,p,o,b){for(var n,M=[],z=0,c=t.length,a=null!=e;z-1&&(n[a]=!(M[a]=i))}}else u=mt(u===M?u.splice(l,u.length):u),b?b(null,M,u,c):w.apply(M,u)}))}function vt(t){for(var e,p,b,n=t.length,M=o.relative[t[0].type],z=M||o.relative[" "],c=M?1:0,r=ht((function(t){return t===e}),z,!0),i=ht((function(t){return C(e,t)>-1}),z,!0),O=[function(t,p,o){var b=!M&&(o||p!==a)||((e=p).nodeType?r(t,p,o):i(t,p,o));return e=null,b}];c1&&Wt(O),c>1&&ft(t.slice(0,c-1).concat({value:" "===t[c-2].type?"*":""})).replace(I,"$1"),p,c0,b=t.length>0,n=function(n,M,z,c,r){var i,l,A,u=0,q="0",f=n&&[],h=[],W=a,g=n||b&&o.find.TAG("*",r),v=m+=null==W?1:Math.random()||.1,R=g.length;for(r&&(a=M==s||M||r);q!==R&&null!=(i=g[q]);q++){if(b&&i){for(l=0,M||i.ownerDocument==s||(O(i),z=!d);A=t[l++];)if(A(i,M||s,z)){c.push(i);break}r&&(m=v)}p&&((i=!A&&i)&&u--,n&&f.push(i))}if(u+=q,p&&q!==u){for(l=0;A=e[l++];)A(f,h,M,z);if(n){if(u>0)for(;q--;)f[q]||h[q]||(h[q]=N.call(c));h=mt(h)}w.apply(c,h),r&&!n&&h.length>0&&u+e.length>1&&zt.uniqueSort(c)}return r&&(m=v,a=W),f};return p?at(n):n}(n,b)),z.selector=t}return z},c=zt.select=function(t,e,p,b){var n,c,a,r,i,O="function"==typeof t&&t,s=!b&&M(t=O.selector||t);if(p=p||[],1===s.length){if((c=s[0]=s[0].slice(0)).length>2&&"ID"===(a=c[0]).type&&9===e.nodeType&&d&&o.relative[c[1].type]){if(!(e=(o.find.ID(a.matches[0].replace(et,pt),e)||[])[0]))return p;O&&(e=e.parentNode),t=t.slice(c.shift().value.length)}for(n=Y.needsContext.test(t)?0:c.length;n--&&(a=c[n],!o.relative[r=a.type]);)if((i=o.find[r])&&(b=i(a.matches[0].replace(et,pt),tt.test(c[0].type)&&ut(e.parentNode)||e))){if(c.splice(n,1),!(t=b.length&&ft(c)))return w.apply(p,b),p;break}}return(O||z(t,s))(b,e,!d,p,!e||tt.test(t)&&ut(e.parentNode)||e),p},p.sortStable=h.split("").sort(L).join("")===h,p.detectDuplicates=!!i,O(),p.sortDetached=rt((function(t){return 1&t.compareDocumentPosition(s.createElement("fieldset"))})),rt((function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")}))||it("type|href|height|width",(function(t,e,p){if(!p)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)})),p.attributes&&rt((function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}))||it("value",(function(t,e,p){if(!p&&"input"===t.nodeName.toLowerCase())return t.defaultValue})),rt((function(t){return null==t.getAttribute("disabled")}))||it(S,(function(t,e,p){var o;if(!p)return!0===t[e]?e.toLowerCase():(o=t.getAttributeNode(e))&&o.specified?o.value:null})),zt}(o);v.find=y,v.expr=y.selectors,v.expr[":"]=v.expr.pseudos,v.uniqueSort=v.unique=y.uniqueSort,v.text=y.getText,v.isXMLDoc=y.isXML,v.contains=y.contains,v.escapeSelector=y.escape;var B=function(t,e,p){for(var o=[],b=void 0!==p;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(b&&v(t).is(p))break;o.push(t)}return o},L=function(t,e){for(var p=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&p.push(t);return p},X=v.expr.match.needsContext;function _(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function x(t,e,p){return u(e)?v.grep(t,(function(t,o){return!!e.call(t,o,t)!==p})):e.nodeType?v.grep(t,(function(t){return t===e!==p})):"string"!=typeof e?v.grep(t,(function(t){return r.call(e,t)>-1!==p})):v.filter(e,t,p)}v.filter=function(t,e,p){var o=e[0];return p&&(t=":not("+t+")"),1===e.length&&1===o.nodeType?v.find.matchesSelector(o,t)?[o]:[]:v.find.matches(t,v.grep(e,(function(t){return 1===t.nodeType})))},v.fn.extend({find:function(t){var e,p,o=this.length,b=this;if("string"!=typeof t)return this.pushStack(v(t).filter((function(){for(e=0;e1?v.uniqueSort(p):p},filter:function(t){return this.pushStack(x(this,t||[],!1))},not:function(t){return this.pushStack(x(this,t||[],!0))},is:function(t){return!!x(this,"string"==typeof t&&X.test(t)?v(t):t||[],!1).length}});var w,T=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(v.fn.init=function(t,e,p){var o,b;if(!t)return this;if(p=p||w,"string"==typeof t){if(!(o="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:T.exec(t))||!o[1]&&e)return!e||e.jquery?(e||p).find(t):this.constructor(e).find(t);if(o[1]){if(e=e instanceof v?e[0]:e,v.merge(this,v.parseHTML(o[1],e&&e.nodeType?e.ownerDocument||e:f,!0)),N.test(o[1])&&v.isPlainObject(e))for(o in e)u(this[o])?this[o](e[o]):this.attr(o,e[o]);return this}return(b=f.getElementById(o[2]))&&(this[0]=b,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):u(t)?void 0!==p.ready?p.ready(t):t(v):v.makeArray(t,this)}).prototype=v.fn,w=v(f);var C=/^(?:parents|prev(?:Until|All))/,S={children:!0,contents:!0,next:!0,prev:!0};function k(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}v.fn.extend({has:function(t){var e=v(t,this),p=e.length;return this.filter((function(){for(var t=0;t-1:1===p.nodeType&&v.find.matchesSelector(p,t))){n.push(p);break}return this.pushStack(n.length>1?v.uniqueSort(n):n)},index:function(t){return t?"string"==typeof t?r.call(v(t),this[0]):r.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(v.uniqueSort(v.merge(this.get(),v(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),v.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return B(t,"parentNode")},parentsUntil:function(t,e,p){return B(t,"parentNode",p)},next:function(t){return k(t,"nextSibling")},prev:function(t){return k(t,"previousSibling")},nextAll:function(t){return B(t,"nextSibling")},prevAll:function(t){return B(t,"previousSibling")},nextUntil:function(t,e,p){return B(t,"nextSibling",p)},prevUntil:function(t,e,p){return B(t,"previousSibling",p)},siblings:function(t){return L((t.parentNode||{}).firstChild,t)},children:function(t){return L(t.firstChild)},contents:function(t){return null!=t.contentDocument&&M(t.contentDocument)?t.contentDocument:(_(t,"template")&&(t=t.content||t),v.merge([],t.childNodes))}},(function(t,e){v.fn[t]=function(p,o){var b=v.map(this,e,p);return"Until"!==t.slice(-5)&&(o=p),o&&"string"==typeof o&&(b=v.filter(o,b)),this.length>1&&(S[t]||v.uniqueSort(b),C.test(t)&&b.reverse()),this.pushStack(b)}}));var E=/[^\x20\t\r\n\f]+/g;function D(t){return t}function P(t){throw t}function j(t,e,p,o){var b;try{t&&u(b=t.promise)?b.call(t).done(e).fail(p):t&&u(b=t.then)?b.call(t,e,p):e.apply(void 0,[t].slice(o))}catch(t){p.apply(void 0,[t])}}v.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return v.each(t.match(E)||[],(function(t,p){e[p]=!0})),e}(t):v.extend({},t);var e,p,o,b,n=[],M=[],z=-1,c=function(){for(b=b||t.once,o=e=!0;M.length;z=-1)for(p=M.shift();++z-1;)n.splice(p,1),p<=z&&z--})),this},has:function(t){return t?v.inArray(t,n)>-1:n.length>0},empty:function(){return n&&(n=[]),this},disable:function(){return b=M=[],n=p="",this},disabled:function(){return!n},lock:function(){return b=M=[],p||e||(n=p=""),this},locked:function(){return!!b},fireWith:function(t,p){return b||(p=[t,(p=p||[]).slice?p.slice():p],M.push(p),e||c()),this},fire:function(){return a.fireWith(this,arguments),this},fired:function(){return!!o}};return a},v.extend({Deferred:function(t){var e=[["notify","progress",v.Callbacks("memory"),v.Callbacks("memory"),2],["resolve","done",v.Callbacks("once memory"),v.Callbacks("once memory"),0,"resolved"],["reject","fail",v.Callbacks("once memory"),v.Callbacks("once memory"),1,"rejected"]],p="pending",b={state:function(){return p},always:function(){return n.done(arguments).fail(arguments),this},catch:function(t){return b.then(null,t)},pipe:function(){var t=arguments;return v.Deferred((function(p){v.each(e,(function(e,o){var b=u(t[o[4]])&&t[o[4]];n[o[1]]((function(){var t=b&&b.apply(this,arguments);t&&u(t.promise)?t.promise().progress(p.notify).done(p.resolve).fail(p.reject):p[o[0]+"With"](this,b?[t]:arguments)}))})),t=null})).promise()},then:function(t,p,b){var n=0;function M(t,e,p,b){return function(){var z=this,c=arguments,a=function(){var o,a;if(!(t=n&&(p!==P&&(z=void 0,c=[o]),e.rejectWith(z,c))}};t?r():(v.Deferred.getStackHook&&(r.stackTrace=v.Deferred.getStackHook()),o.setTimeout(r))}}return v.Deferred((function(o){e[0][3].add(M(0,o,u(b)?b:D,o.notifyWith)),e[1][3].add(M(0,o,u(t)?t:D)),e[2][3].add(M(0,o,u(p)?p:P))})).promise()},promise:function(t){return null!=t?v.extend(t,b):b}},n={};return v.each(e,(function(t,o){var M=o[2],z=o[5];b[o[1]]=M.add,z&&M.add((function(){p=z}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),M.add(o[3].fire),n[o[0]]=function(){return n[o[0]+"With"](this===n?void 0:this,arguments),this},n[o[0]+"With"]=M.fireWith})),b.promise(n),t&&t.call(n,n),n},when:function(t){var e=arguments.length,p=e,o=Array(p),b=z.call(arguments),n=v.Deferred(),M=function(t){return function(p){o[t]=this,b[t]=arguments.length>1?z.call(arguments):p,--e||n.resolveWith(o,b)}};if(e<=1&&(j(t,n.done(M(p)).resolve,n.reject,!e),"pending"===n.state()||u(b[p]&&b[p].then)))return n.then();for(;p--;)j(b[p],M(p),n.reject);return n.promise()}});var I=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;v.Deferred.exceptionHook=function(t,e){o.console&&o.console.warn&&t&&I.test(t.name)&&o.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},v.readyException=function(t){o.setTimeout((function(){throw t}))};var F=v.Deferred();function H(){f.removeEventListener("DOMContentLoaded",H),o.removeEventListener("load",H),v.ready()}v.fn.ready=function(t){return F.then(t).catch((function(t){v.readyException(t)})),this},v.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--v.readyWait:v.isReady)||(v.isReady=!0,!0!==t&&--v.readyWait>0||F.resolveWith(f,[v]))}}),v.ready.then=F.then,"complete"===f.readyState||"loading"!==f.readyState&&!f.documentElement.doScroll?o.setTimeout(v.ready):(f.addEventListener("DOMContentLoaded",H),o.addEventListener("load",H));var V=function(t,e,p,o,b,n,M){var z=0,c=t.length,a=null==p;if("object"===m(p))for(z in b=!0,p)V(t,e,z,p[z],!0,n,M);else if(void 0!==o&&(b=!0,u(o)||(M=!0),a&&(M?(e.call(t,o),e=null):(a=e,e=function(t,e,p){return a.call(v(t),p)})),e))for(;z1,null,!0)},removeData:function(t){return this.each((function(){Z.remove(this,t)}))}}),v.extend({queue:function(t,e,p){var o;if(t)return e=(e||"fx")+"queue",o=Q.get(t,e),p&&(!o||Array.isArray(p)?o=Q.access(t,e,v.makeArray(p)):o.push(p)),o||[]},dequeue:function(t,e){e=e||"fx";var p=v.queue(t,e),o=p.length,b=p.shift(),n=v._queueHooks(t,e);"inprogress"===b&&(b=p.shift(),o--),b&&("fx"===e&&p.unshift("inprogress"),delete n.stop,b.call(t,(function(){v.dequeue(t,e)}),n)),!o&&n&&n.empty.fire()},_queueHooks:function(t,e){var p=e+"queueHooks";return Q.get(t,p)||Q.access(t,p,{empty:v.Callbacks("once memory").add((function(){Q.remove(t,[e+"queue",p])}))})}}),v.fn.extend({queue:function(t,e){var p=2;return"string"!=typeof t&&(e=t,t="fx",p--),arguments.length\x20\t\r\n\f]*)/i,qt=/^$|^module$|\/(?:java|ecma)script/i;lt=f.createDocumentFragment().appendChild(f.createElement("div")),(dt=f.createElement("input")).setAttribute("type","radio"),dt.setAttribute("checked","checked"),dt.setAttribute("name","t"),lt.appendChild(dt),A.checkClone=lt.cloneNode(!0).cloneNode(!0).lastChild.checked,lt.innerHTML="",A.noCloneChecked=!!lt.cloneNode(!0).lastChild.defaultValue,lt.innerHTML="",A.option=!!lt.lastChild;var ft={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ht(t,e){var p;return p=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&_(t,e)?v.merge([t],p):p}function Wt(t,e){for(var p=0,o=t.length;p",""]);var mt=/<|&#?\w+;/;function gt(t,e,p,o,b){for(var n,M,z,c,a,r,i=e.createDocumentFragment(),O=[],s=0,l=t.length;s-1)b&&b.push(n);else if(a=zt(n),M=ht(i.appendChild(n),"script"),a&&Wt(M),p)for(r=0;n=M[r++];)qt.test(n.type||"")&&p.push(n);return i}var vt=/^([^.]*)(?:\.(.+)|)/;function Rt(){return!0}function yt(){return!1}function Bt(t,e){return t===function(){try{return f.activeElement}catch(t){}}()==("focus"===e)}function Lt(t,e,p,o,b,n){var M,z;if("object"==typeof e){for(z in"string"!=typeof p&&(o=o||p,p=void 0),e)Lt(t,z,p,o,e[z],n);return t}if(null==o&&null==b?(b=p,o=p=void 0):null==b&&("string"==typeof p?(b=o,o=void 0):(b=o,o=p,p=void 0)),!1===b)b=yt;else if(!b)return t;return 1===n&&(M=b,b=function(t){return v().off(t),M.apply(this,arguments)},b.guid=M.guid||(M.guid=v.guid++)),t.each((function(){v.event.add(this,e,b,o,p)}))}function Xt(t,e,p){p?(Q.set(t,e,!1),v.event.add(t,e,{namespace:!1,handler:function(t){var o,b,n=Q.get(this,e);if(1&t.isTrigger&&this[e]){if(n.length)(v.event.special[e]||{}).delegateType&&t.stopPropagation();else if(n=z.call(arguments),Q.set(this,e,n),o=p(this,e),this[e](),n!==(b=Q.get(this,e))||o?Q.set(this,e,!1):b={},n!==b)return t.stopImmediatePropagation(),t.preventDefault(),b&&b.value}else n.length&&(Q.set(this,e,{value:v.event.trigger(v.extend(n[0],v.Event.prototype),n.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===Q.get(t,e)&&v.event.add(t,e,Rt)}v.event={global:{},add:function(t,e,p,o,b){var n,M,z,c,a,r,i,O,s,l,d,A=Q.get(t);if(J(t))for(p.handler&&(p=(n=p).handler,b=n.selector),b&&v.find.matchesSelector(Mt,b),p.guid||(p.guid=v.guid++),(c=A.events)||(c=A.events=Object.create(null)),(M=A.handle)||(M=A.handle=function(e){return void 0!==v&&v.event.triggered!==e.type?v.event.dispatch.apply(t,arguments):void 0}),a=(e=(e||"").match(E)||[""]).length;a--;)s=d=(z=vt.exec(e[a])||[])[1],l=(z[2]||"").split(".").sort(),s&&(i=v.event.special[s]||{},s=(b?i.delegateType:i.bindType)||s,i=v.event.special[s]||{},r=v.extend({type:s,origType:d,data:o,handler:p,guid:p.guid,selector:b,needsContext:b&&v.expr.match.needsContext.test(b),namespace:l.join(".")},n),(O=c[s])||((O=c[s]=[]).delegateCount=0,i.setup&&!1!==i.setup.call(t,o,l,M)||t.addEventListener&&t.addEventListener(s,M)),i.add&&(i.add.call(t,r),r.handler.guid||(r.handler.guid=p.guid)),b?O.splice(O.delegateCount++,0,r):O.push(r),v.event.global[s]=!0)},remove:function(t,e,p,o,b){var n,M,z,c,a,r,i,O,s,l,d,A=Q.hasData(t)&&Q.get(t);if(A&&(c=A.events)){for(a=(e=(e||"").match(E)||[""]).length;a--;)if(s=d=(z=vt.exec(e[a])||[])[1],l=(z[2]||"").split(".").sort(),s){for(i=v.event.special[s]||{},O=c[s=(o?i.delegateType:i.bindType)||s]||[],z=z[2]&&new RegExp("(^|\\.)"+l.join("\\.(?:.*\\.|)")+"(\\.|$)"),M=n=O.length;n--;)r=O[n],!b&&d!==r.origType||p&&p.guid!==r.guid||z&&!z.test(r.namespace)||o&&o!==r.selector&&("**"!==o||!r.selector)||(O.splice(n,1),r.selector&&O.delegateCount--,i.remove&&i.remove.call(t,r));M&&!O.length&&(i.teardown&&!1!==i.teardown.call(t,l,A.handle)||v.removeEvent(t,s,A.handle),delete c[s])}else for(s in c)v.event.remove(t,s+e[a],p,o,!0);v.isEmptyObject(c)&&Q.remove(t,"handle events")}},dispatch:function(t){var e,p,o,b,n,M,z=new Array(arguments.length),c=v.event.fix(t),a=(Q.get(this,"events")||Object.create(null))[c.type]||[],r=v.event.special[c.type]||{};for(z[0]=c,e=1;e=1))for(;a!==this;a=a.parentNode||this)if(1===a.nodeType&&("click"!==t.type||!0!==a.disabled)){for(n=[],M={},p=0;p-1:v.find(b,this,null,[a]).length),M[b]&&n.push(o);n.length&&z.push({elem:a,handlers:n})}return a=this,c\s*$/g;function wt(t,e){return _(t,"table")&&_(11!==e.nodeType?e:e.firstChild,"tr")&&v(t).children("tbody")[0]||t}function Tt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Ct(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function St(t,e){var p,o,b,n,M,z;if(1===e.nodeType){if(Q.hasData(t)&&(z=Q.get(t).events))for(b in Q.remove(e,"handle events"),z)for(p=0,o=z[b].length;p1&&"string"==typeof l&&!A.checkClone&&Nt.test(l))return t.each((function(b){var n=t.eq(b);d&&(e[0]=l.call(this,b,n.html())),Et(n,e,p,o)}));if(O&&(n=(b=gt(e,t[0].ownerDocument,!1,t,o)).firstChild,1===b.childNodes.length&&(b=n),n||o)){for(z=(M=v.map(ht(b,"script"),Tt)).length;i0&&Wt(M,!c&&ht(t,"script")),z},cleanData:function(t){for(var e,p,o,b=v.event.special,n=0;void 0!==(p=t[n]);n++)if(J(p)){if(e=p[Q.expando]){if(e.events)for(o in e.events)b[o]?v.event.remove(p,o):v.removeEvent(p,o,e.handle);p[Q.expando]=void 0}p[Z.expando]&&(p[Z.expando]=void 0)}}}),v.fn.extend({detach:function(t){return Dt(this,t,!0)},remove:function(t){return Dt(this,t)},text:function(t){return V(this,(function(t){return void 0===t?v.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return Et(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||wt(this,t).appendChild(t)}))},prepend:function(){return Et(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=wt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Et(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return Et(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(v.cleanData(ht(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return v.clone(this,t,e)}))},html:function(t){return V(this,(function(t){var e=this[0]||{},p=0,o=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!_t.test(t)&&!ft[(ut.exec(t)||["",""])[1].toLowerCase()]){t=v.htmlPrefilter(t);try{for(;p=0&&(c+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-n-c-z-.5))||0),c}function oe(t,e,p){var o=It(t),b=(!A.boxSizingReliable()||p)&&"border-box"===v.css(t,"boxSizing",!1,o),n=b,M=Ut(t,e,o),z="offset"+e[0].toUpperCase()+e.slice(1);if(Pt.test(M)){if(!p)return M;M="auto"}return(!A.boxSizingReliable()&&b||!A.reliableTrDimensions()&&_(t,"tr")||"auto"===M||!parseFloat(M)&&"inline"===v.css(t,"display",!1,o))&&t.getClientRects().length&&(b="border-box"===v.css(t,"boxSizing",!1,o),(n=z in t)&&(M=t[z])),(M=parseFloat(M)||0)+pe(t,e,p||(b?"border":"content"),n,o,M)+"px"}function be(t,e,p,o,b){return new be.prototype.init(t,e,p,o,b)}v.extend({cssHooks:{opacity:{get:function(t,e){if(e){var p=Ut(t,"opacity");return""===p?"1":p}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,p,o){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var b,n,M,z=G(e),c=jt.test(e),a=t.style;if(c||(e=Kt(z)),M=v.cssHooks[e]||v.cssHooks[z],void 0===p)return M&&"get"in M&&void 0!==(b=M.get(t,!1,o))?b:a[e];"string"===(n=typeof p)&&(b=bt.exec(p))&&b[1]&&(p=rt(t,e,b),n="number"),null!=p&&p==p&&("number"!==n||c||(p+=b&&b[3]||(v.cssNumber[z]?"":"px")),A.clearCloneStyle||""!==p||0!==e.indexOf("background")||(a[e]="inherit"),M&&"set"in M&&void 0===(p=M.set(t,p,o))||(c?a.setProperty(e,p):a[e]=p))}},css:function(t,e,p,o){var b,n,M,z=G(e);return jt.test(e)||(e=Kt(z)),(M=v.cssHooks[e]||v.cssHooks[z])&&"get"in M&&(b=M.get(t,!0,p)),void 0===b&&(b=Ut(t,e,o)),"normal"===b&&e in te&&(b=te[e]),""===p||p?(n=parseFloat(b),!0===p||isFinite(n)?n||0:b):b}}),v.each(["height","width"],(function(t,e){v.cssHooks[e]={get:function(t,p,o){if(p)return!Qt.test(v.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?oe(t,e,o):Ft(t,Zt,(function(){return oe(t,e,o)}))},set:function(t,p,o){var b,n=It(t),M=!A.scrollboxSize()&&"absolute"===n.position,z=(M||o)&&"border-box"===v.css(t,"boxSizing",!1,n),c=o?pe(t,e,o,z,n):0;return z&&M&&(c-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(n[e])-pe(t,e,"border",!1,n)-.5)),c&&(b=bt.exec(p))&&"px"!==(b[3]||"px")&&(t.style[e]=p,p=v.css(t,e)),ee(0,p,c)}}})),v.cssHooks.marginLeft=$t(A.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Ut(t,"marginLeft"))||t.getBoundingClientRect().left-Ft(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),v.each({margin:"",padding:"",border:"Width"},(function(t,e){v.cssHooks[t+e]={expand:function(p){for(var o=0,b={},n="string"==typeof p?p.split(" "):[p];o<4;o++)b[t+nt[o]+e]=n[o]||n[o-2]||n[0];return b}},"margin"!==t&&(v.cssHooks[t+e].set=ee)})),v.fn.extend({css:function(t,e){return V(this,(function(t,e,p){var o,b,n={},M=0;if(Array.isArray(e)){for(o=It(t),b=e.length;M1)}}),v.Tween=be,be.prototype={constructor:be,init:function(t,e,p,o,b,n){this.elem=t,this.prop=p,this.easing=b||v.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=o,this.unit=n||(v.cssNumber[p]?"":"px")},cur:function(){var t=be.propHooks[this.prop];return t&&t.get?t.get(this):be.propHooks._default.get(this)},run:function(t){var e,p=be.propHooks[this.prop];return this.options.duration?this.pos=e=v.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),p&&p.set?p.set(this):be.propHooks._default.set(this),this}},be.prototype.init.prototype=be.prototype,be.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=v.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){v.fx.step[t.prop]?v.fx.step[t.prop](t):1!==t.elem.nodeType||!v.cssHooks[t.prop]&&null==t.elem.style[Kt(t.prop)]?t.elem[t.prop]=t.now:v.style(t.elem,t.prop,t.now+t.unit)}}},be.propHooks.scrollTop=be.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},v.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},v.fx=be.prototype.init,v.fx.step={};var ne,Me,ze=/^(?:toggle|show|hide)$/,ce=/queueHooks$/;function ae(){Me&&(!1===f.hidden&&o.requestAnimationFrame?o.requestAnimationFrame(ae):o.setTimeout(ae,v.fx.interval),v.fx.tick())}function re(){return o.setTimeout((function(){ne=void 0})),ne=Date.now()}function ie(t,e){var p,o=0,b={height:t};for(e=e?1:0;o<4;o+=2-e)b["margin"+(p=nt[o])]=b["padding"+p]=t;return e&&(b.opacity=b.width=t),b}function Oe(t,e,p){for(var o,b=(se.tweeners[e]||[]).concat(se.tweeners["*"]),n=0,M=b.length;n1)},removeAttr:function(t){return this.each((function(){v.removeAttr(this,t)}))}}),v.extend({attr:function(t,e,p){var o,b,n=t.nodeType;if(3!==n&&8!==n&&2!==n)return void 0===t.getAttribute?v.prop(t,e,p):(1===n&&v.isXMLDoc(t)||(b=v.attrHooks[e.toLowerCase()]||(v.expr.match.bool.test(e)?le:void 0)),void 0!==p?null===p?void v.removeAttr(t,e):b&&"set"in b&&void 0!==(o=b.set(t,p,e))?o:(t.setAttribute(e,p+""),p):b&&"get"in b&&null!==(o=b.get(t,e))?o:null==(o=v.find.attr(t,e))?void 0:o)},attrHooks:{type:{set:function(t,e){if(!A.radioValue&&"radio"===e&&_(t,"input")){var p=t.value;return t.setAttribute("type",e),p&&(t.value=p),e}}}},removeAttr:function(t,e){var p,o=0,b=e&&e.match(E);if(b&&1===t.nodeType)for(;p=b[o++];)t.removeAttribute(p)}}),le={set:function(t,e,p){return!1===e?v.removeAttr(t,p):t.setAttribute(p,p),p}},v.each(v.expr.match.bool.source.match(/\w+/g),(function(t,e){var p=de[e]||v.find.attr;de[e]=function(t,e,o){var b,n,M=e.toLowerCase();return o||(n=de[M],de[M]=b,b=null!=p(t,e,o)?M:null,de[M]=n),b}}));var Ae=/^(?:input|select|textarea|button)$/i,ue=/^(?:a|area)$/i;function qe(t){return(t.match(E)||[]).join(" ")}function fe(t){return t.getAttribute&&t.getAttribute("class")||""}function he(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(E)||[]}v.fn.extend({prop:function(t,e){return V(this,v.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[v.propFix[t]||t]}))}}),v.extend({prop:function(t,e,p){var o,b,n=t.nodeType;if(3!==n&&8!==n&&2!==n)return 1===n&&v.isXMLDoc(t)||(e=v.propFix[e]||e,b=v.propHooks[e]),void 0!==p?b&&"set"in b&&void 0!==(o=b.set(t,p,e))?o:t[e]=p:b&&"get"in b&&null!==(o=b.get(t,e))?o:t[e]},propHooks:{tabIndex:{get:function(t){var e=v.find.attr(t,"tabindex");return e?parseInt(e,10):Ae.test(t.nodeName)||ue.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),A.optSelected||(v.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),v.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){v.propFix[this.toLowerCase()]=this})),v.fn.extend({addClass:function(t){var e,p,o,b,n,M;return u(t)?this.each((function(e){v(this).addClass(t.call(this,e,fe(this)))})):(e=he(t)).length?this.each((function(){if(o=fe(this),p=1===this.nodeType&&" "+qe(o)+" "){for(n=0;n-1;)p=p.replace(" "+b+" "," ");M=qe(p),o!==M&&this.setAttribute("class",M)}})):this:this.attr("class","")},toggleClass:function(t,e){var p,o,b,n,M=typeof t,z="string"===M||Array.isArray(t);return u(t)?this.each((function(p){v(this).toggleClass(t.call(this,p,fe(this),e),e)})):"boolean"==typeof e&&z?e?this.addClass(t):this.removeClass(t):(p=he(t),this.each((function(){if(z)for(n=v(this),b=0;b-1)return!0;return!1}});var We=/\r/g;v.fn.extend({val:function(t){var e,p,o,b=this[0];return arguments.length?(o=u(t),this.each((function(p){var b;1===this.nodeType&&(null==(b=o?t.call(this,p,v(this).val()):t)?b="":"number"==typeof b?b+="":Array.isArray(b)&&(b=v.map(b,(function(t){return null==t?"":t+""}))),(e=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,b,"value")||(this.value=b))}))):b?(e=v.valHooks[b.type]||v.valHooks[b.nodeName.toLowerCase()])&&"get"in e&&void 0!==(p=e.get(b,"value"))?p:"string"==typeof(p=b.value)?p.replace(We,""):null==p?"":p:void 0}}),v.extend({valHooks:{option:{get:function(t){var e=v.find.attr(t,"value");return null!=e?e:qe(v.text(t))}},select:{get:function(t){var e,p,o,b=t.options,n=t.selectedIndex,M="select-one"===t.type,z=M?null:[],c=M?n+1:b.length;for(o=n<0?c:M?n:0;o-1)&&(p=!0);return p||(t.selectedIndex=-1),n}}}}),v.each(["radio","checkbox"],(function(){v.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=v.inArray(v(t).val(),e)>-1}},A.checkOn||(v.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})})),A.focusin="onfocusin"in o;var me=/^(?:focusinfocus|focusoutblur)$/,ge=function(t){t.stopPropagation()};v.extend(v.event,{trigger:function(t,e,p,b){var n,M,z,c,a,r,i,O,l=[p||f],d=s.call(t,"type")?t.type:t,A=s.call(t,"namespace")?t.namespace.split("."):[];if(M=O=z=p=p||f,3!==p.nodeType&&8!==p.nodeType&&!me.test(d+v.event.triggered)&&(d.indexOf(".")>-1&&(A=d.split("."),d=A.shift(),A.sort()),a=d.indexOf(":")<0&&"on"+d,(t=t[v.expando]?t:new v.Event(d,"object"==typeof t&&t)).isTrigger=b?2:3,t.namespace=A.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+A.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=p),e=null==e?[t]:v.makeArray(e,[t]),i=v.event.special[d]||{},b||!i.trigger||!1!==i.trigger.apply(p,e))){if(!b&&!i.noBubble&&!q(p)){for(c=i.delegateType||d,me.test(c+d)||(M=M.parentNode);M;M=M.parentNode)l.push(M),z=M;z===(p.ownerDocument||f)&&l.push(z.defaultView||z.parentWindow||o)}for(n=0;(M=l[n++])&&!t.isPropagationStopped();)O=M,t.type=n>1?c:i.bindType||d,(r=(Q.get(M,"events")||Object.create(null))[t.type]&&Q.get(M,"handle"))&&r.apply(M,e),(r=a&&M[a])&&r.apply&&J(M)&&(t.result=r.apply(M,e),!1===t.result&&t.preventDefault());return t.type=d,b||t.isDefaultPrevented()||i._default&&!1!==i._default.apply(l.pop(),e)||!J(p)||a&&u(p[d])&&!q(p)&&((z=p[a])&&(p[a]=null),v.event.triggered=d,t.isPropagationStopped()&&O.addEventListener(d,ge),p[d](),t.isPropagationStopped()&&O.removeEventListener(d,ge),v.event.triggered=void 0,z&&(p[a]=z)),t.result}},simulate:function(t,e,p){var o=v.extend(new v.Event,p,{type:t,isSimulated:!0});v.event.trigger(o,null,e)}}),v.fn.extend({trigger:function(t,e){return this.each((function(){v.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var p=this[0];if(p)return v.event.trigger(t,e,p,!0)}}),A.focusin||v.each({focus:"focusin",blur:"focusout"},(function(t,e){var p=function(t){v.event.simulate(e,t.target,v.event.fix(t))};v.event.special[e]={setup:function(){var o=this.ownerDocument||this.document||this,b=Q.access(o,e);b||o.addEventListener(t,p,!0),Q.access(o,e,(b||0)+1)},teardown:function(){var o=this.ownerDocument||this.document||this,b=Q.access(o,e)-1;b?Q.access(o,e,b):(o.removeEventListener(t,p,!0),Q.remove(o,e))}}}));var ve=o.location,Re={guid:Date.now()},ye=/\?/;v.parseXML=function(t){var e,p;if(!t||"string"!=typeof t)return null;try{e=(new o.DOMParser).parseFromString(t,"text/xml")}catch(t){}return p=e&&e.getElementsByTagName("parsererror")[0],e&&!p||v.error("Invalid XML: "+(p?v.map(p.childNodes,(function(t){return t.textContent})).join("\n"):t)),e};var Be=/\[\]$/,Le=/\r?\n/g,Xe=/^(?:submit|button|image|reset|file)$/i,_e=/^(?:input|select|textarea|keygen)/i;function Ne(t,e,p,o){var b;if(Array.isArray(e))v.each(e,(function(e,b){p||Be.test(t)?o(t,b):Ne(t+"["+("object"==typeof b&&null!=b?e:"")+"]",b,p,o)}));else if(p||"object"!==m(e))o(t,e);else for(b in e)Ne(t+"["+b+"]",e[b],p,o)}v.param=function(t,e){var p,o=[],b=function(t,e){var p=u(e)?e():e;o[o.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==p?"":p)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!v.isPlainObject(t))v.each(t,(function(){b(this.name,this.value)}));else for(p in t)Ne(p,t[p],e,b);return o.join("&")},v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=v.prop(this,"elements");return t?v.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!v(this).is(":disabled")&&_e.test(this.nodeName)&&!Xe.test(t)&&(this.checked||!At.test(t))})).map((function(t,e){var p=v(this).val();return null==p?null:Array.isArray(p)?v.map(p,(function(t){return{name:e.name,value:t.replace(Le,"\r\n")}})):{name:e.name,value:p.replace(Le,"\r\n")}})).get()}});var xe=/%20/g,we=/#.*$/,Te=/([?&])_=[^&]*/,Ce=/^(.*?):[ \t]*([^\r\n]*)$/gm,Se=/^(?:GET|HEAD)$/,ke=/^\/\//,Ee={},De={},Pe="*/".concat("*"),je=f.createElement("a");function Ie(t){return function(e,p){"string"!=typeof e&&(p=e,e="*");var o,b=0,n=e.toLowerCase().match(E)||[];if(u(p))for(;o=n[b++];)"+"===o[0]?(o=o.slice(1)||"*",(t[o]=t[o]||[]).unshift(p)):(t[o]=t[o]||[]).push(p)}}function Fe(t,e,p,o){var b={},n=t===De;function M(z){var c;return b[z]=!0,v.each(t[z]||[],(function(t,z){var a=z(e,p,o);return"string"!=typeof a||n||b[a]?n?!(c=a):void 0:(e.dataTypes.unshift(a),M(a),!1)})),c}return M(e.dataTypes[0])||!b["*"]&&M("*")}function He(t,e){var p,o,b=v.ajaxSettings.flatOptions||{};for(p in e)void 0!==e[p]&&((b[p]?t:o||(o={}))[p]=e[p]);return o&&v.extend(!0,t,o),t}je.href=ve.href,v.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ve.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ve.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Pe,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":v.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?He(He(t,v.ajaxSettings),e):He(v.ajaxSettings,t)},ajaxPrefilter:Ie(Ee),ajaxTransport:Ie(De),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var p,b,n,M,z,c,a,r,i,O,s=v.ajaxSetup({},e),l=s.context||s,d=s.context&&(l.nodeType||l.jquery)?v(l):v.event,A=v.Deferred(),u=v.Callbacks("once memory"),q=s.statusCode||{},h={},W={},m="canceled",g={readyState:0,getResponseHeader:function(t){var e;if(a){if(!M)for(M={};e=Ce.exec(n);)M[e[1].toLowerCase()+" "]=(M[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=M[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return a?n:null},setRequestHeader:function(t,e){return null==a&&(t=W[t.toLowerCase()]=W[t.toLowerCase()]||t,h[t]=e),this},overrideMimeType:function(t){return null==a&&(s.mimeType=t),this},statusCode:function(t){var e;if(t)if(a)g.always(t[g.status]);else for(e in t)q[e]=[q[e],t[e]];return this},abort:function(t){var e=t||m;return p&&p.abort(e),R(0,e),this}};if(A.promise(g),s.url=((t||s.url||ve.href)+"").replace(ke,ve.protocol+"//"),s.type=e.method||e.type||s.method||s.type,s.dataTypes=(s.dataType||"*").toLowerCase().match(E)||[""],null==s.crossDomain){c=f.createElement("a");try{c.href=s.url,c.href=c.href,s.crossDomain=je.protocol+"//"+je.host!=c.protocol+"//"+c.host}catch(t){s.crossDomain=!0}}if(s.data&&s.processData&&"string"!=typeof s.data&&(s.data=v.param(s.data,s.traditional)),Fe(Ee,s,e,g),a)return g;for(i in(r=v.event&&s.global)&&0==v.active++&&v.event.trigger("ajaxStart"),s.type=s.type.toUpperCase(),s.hasContent=!Se.test(s.type),b=s.url.replace(we,""),s.hasContent?s.data&&s.processData&&0===(s.contentType||"").indexOf("application/x-www-form-urlencoded")&&(s.data=s.data.replace(xe,"+")):(O=s.url.slice(b.length),s.data&&(s.processData||"string"==typeof s.data)&&(b+=(ye.test(b)?"&":"?")+s.data,delete s.data),!1===s.cache&&(b=b.replace(Te,"$1"),O=(ye.test(b)?"&":"?")+"_="+Re.guid+++O),s.url=b+O),s.ifModified&&(v.lastModified[b]&&g.setRequestHeader("If-Modified-Since",v.lastModified[b]),v.etag[b]&&g.setRequestHeader("If-None-Match",v.etag[b])),(s.data&&s.hasContent&&!1!==s.contentType||e.contentType)&&g.setRequestHeader("Content-Type",s.contentType),g.setRequestHeader("Accept",s.dataTypes[0]&&s.accepts[s.dataTypes[0]]?s.accepts[s.dataTypes[0]]+("*"!==s.dataTypes[0]?", "+Pe+"; q=0.01":""):s.accepts["*"]),s.headers)g.setRequestHeader(i,s.headers[i]);if(s.beforeSend&&(!1===s.beforeSend.call(l,g,s)||a))return g.abort();if(m="abort",u.add(s.complete),g.done(s.success),g.fail(s.error),p=Fe(De,s,e,g)){if(g.readyState=1,r&&d.trigger("ajaxSend",[g,s]),a)return g;s.async&&s.timeout>0&&(z=o.setTimeout((function(){g.abort("timeout")}),s.timeout));try{a=!1,p.send(h,R)}catch(t){if(a)throw t;R(-1,t)}}else R(-1,"No Transport");function R(t,e,M,c){var i,O,f,h,W,m=e;a||(a=!0,z&&o.clearTimeout(z),p=void 0,n=c||"",g.readyState=t>0?4:0,i=t>=200&&t<300||304===t,M&&(h=function(t,e,p){for(var o,b,n,M,z=t.contents,c=t.dataTypes;"*"===c[0];)c.shift(),void 0===o&&(o=t.mimeType||e.getResponseHeader("Content-Type"));if(o)for(b in z)if(z[b]&&z[b].test(o)){c.unshift(b);break}if(c[0]in p)n=c[0];else{for(b in p){if(!c[0]||t.converters[b+" "+c[0]]){n=b;break}M||(M=b)}n=n||M}if(n)return n!==c[0]&&c.unshift(n),p[n]}(s,g,M)),!i&&v.inArray("script",s.dataTypes)>-1&&v.inArray("json",s.dataTypes)<0&&(s.converters["text script"]=function(){}),h=function(t,e,p,o){var b,n,M,z,c,a={},r=t.dataTypes.slice();if(r[1])for(M in t.converters)a[M.toLowerCase()]=t.converters[M];for(n=r.shift();n;)if(t.responseFields[n]&&(p[t.responseFields[n]]=e),!c&&o&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),c=n,n=r.shift())if("*"===n)n=c;else if("*"!==c&&c!==n){if(!(M=a[c+" "+n]||a["* "+n]))for(b in a)if((z=b.split(" "))[1]===n&&(M=a[c+" "+z[0]]||a["* "+z[0]])){!0===M?M=a[b]:!0!==a[b]&&(n=z[0],r.unshift(z[1]));break}if(!0!==M)if(M&&t.throws)e=M(e);else try{e=M(e)}catch(t){return{state:"parsererror",error:M?t:"No conversion from "+c+" to "+n}}}return{state:"success",data:e}}(s,h,g,i),i?(s.ifModified&&((W=g.getResponseHeader("Last-Modified"))&&(v.lastModified[b]=W),(W=g.getResponseHeader("etag"))&&(v.etag[b]=W)),204===t||"HEAD"===s.type?m="nocontent":304===t?m="notmodified":(m=h.state,O=h.data,i=!(f=h.error))):(f=m,!t&&m||(m="error",t<0&&(t=0))),g.status=t,g.statusText=(e||m)+"",i?A.resolveWith(l,[O,m,g]):A.rejectWith(l,[g,m,f]),g.statusCode(q),q=void 0,r&&d.trigger(i?"ajaxSuccess":"ajaxError",[g,s,i?O:f]),u.fireWith(l,[g,m]),r&&(d.trigger("ajaxComplete",[g,s]),--v.active||v.event.trigger("ajaxStop")))}return g},getJSON:function(t,e,p){return v.get(t,e,p,"json")},getScript:function(t,e){return v.get(t,void 0,e,"script")}}),v.each(["get","post"],(function(t,e){v[e]=function(t,p,o,b){return u(p)&&(b=b||o,o=p,p=void 0),v.ajax(v.extend({url:t,type:e,dataType:b,data:p,success:o},v.isPlainObject(t)&&t))}})),v.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),v._evalUrl=function(t,e,p){return v.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){v.globalEval(t,e,p)}})},v.fn.extend({wrapAll:function(t){var e;return this[0]&&(u(t)&&(t=t.call(this[0])),e=v(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return u(t)?this.each((function(e){v(this).wrapInner(t.call(this,e))})):this.each((function(){var e=v(this),p=e.contents();p.length?p.wrapAll(t):e.append(t)}))},wrap:function(t){var e=u(t);return this.each((function(p){v(this).wrapAll(e?t.call(this,p):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){v(this).replaceWith(this.childNodes)})),this}}),v.expr.pseudos.hidden=function(t){return!v.expr.pseudos.visible(t)},v.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},v.ajaxSettings.xhr=function(){try{return new o.XMLHttpRequest}catch(t){}};var Ve={0:200,1223:204},Ue=v.ajaxSettings.xhr();A.cors=!!Ue&&"withCredentials"in Ue,A.ajax=Ue=!!Ue,v.ajaxTransport((function(t){var e,p;if(A.cors||Ue&&!t.crossDomain)return{send:function(b,n){var M,z=t.xhr();if(z.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(M in t.xhrFields)z[M]=t.xhrFields[M];for(M in t.mimeType&&z.overrideMimeType&&z.overrideMimeType(t.mimeType),t.crossDomain||b["X-Requested-With"]||(b["X-Requested-With"]="XMLHttpRequest"),b)z.setRequestHeader(M,b[M]);e=function(t){return function(){e&&(e=p=z.onload=z.onerror=z.onabort=z.ontimeout=z.onreadystatechange=null,"abort"===t?z.abort():"error"===t?"number"!=typeof z.status?n(0,"error"):n(z.status,z.statusText):n(Ve[z.status]||z.status,z.statusText,"text"!==(z.responseType||"text")||"string"!=typeof z.responseText?{binary:z.response}:{text:z.responseText},z.getAllResponseHeaders()))}},z.onload=e(),p=z.onerror=z.ontimeout=e("error"),void 0!==z.onabort?z.onabort=p:z.onreadystatechange=function(){4===z.readyState&&o.setTimeout((function(){e&&p()}))},e=e("abort");try{z.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}})),v.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),v.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return v.globalEval(t),t}}}),v.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),v.ajaxTransport("script",(function(t){var e,p;if(t.crossDomain||t.scriptAttrs)return{send:function(o,b){e=v("