{"version":3,"file":"\\js\\app.js","sources":["webpack:////js/app.js"],"sourcesContent":["webpackJsonp([1],{\"+lzb\":function(t,e){function n(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}t.exports=n,n.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=0==(1&Math.floor(10*e))?t-n:t+n}return 0|Math.min(t,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(t){this.ms=t},n.prototype.setMax=function(t){this.max=t},n.prototype.setJitter=function(t){this.jitter=t}},\"+uBL\":function(t,e){},0:function(t,e,n){n(\"sV/x\"),n(\"I89W\"),n(\"IP1e\"),n(\"ppVS\"),n(\"SXvd\"),n(\"na0y\"),n(\"iWuk\"),n(\"6QbC\"),n(\"f9qA\"),n(\"S1sv\"),n(\"IqDs\"),n(\"DDUC\"),n(\"+uBL\"),n(\"asgh\"),t.exports=n(\"e4dT\")},1:function(t,e){},\"2gBs\":function(t,e){t.exports=Object.keys||function(t){var e=[],n=Object.prototype.hasOwnProperty;for(var r in t)n.call(t,r)&&e.push(r);return e}},\"4ThM\":function(t,e,n){var r=n(\"dtwh\")(\"socket.io-parser\"),i=n(\"pnVU\"),o=n(\"CdYZ\"),a=n(\"sOR5\"),s=n(\"sVLd\");function l(){}e.protocol=4,e.types=[\"CONNECT\",\"DISCONNECT\",\"EVENT\",\"ACK\",\"ERROR\",\"BINARY_EVENT\",\"BINARY_ACK\"],e.CONNECT=0,e.DISCONNECT=1,e.EVENT=2,e.ACK=3,e.ERROR=4,e.BINARY_EVENT=5,e.BINARY_ACK=6,e.Encoder=l,e.Decoder=d;var u=e.ERROR+'\"encode error\"';function c(t){var n=\"\"+t.type;if(e.BINARY_EVENT!==t.type&&e.BINARY_ACK!==t.type||(n+=t.attachments+\"-\"),t.nsp&&\"/\"!==t.nsp&&(n+=t.nsp+\",\"),null!=t.id&&(n+=t.id),null!=t.data){var i=function(t){try{return JSON.stringify(t)}catch(t){return!1}}(t.data);if(!1===i)return u;n+=i}return r(\"encoded %j as %s\",t,n),n}function d(){this.reconstructor=null}function h(t){this.reconPack=t,this.buffers=[]}function f(t){return{type:e.ERROR,data:\"parser error: \"+t}}l.prototype.encode=function(t,n){(r(\"encoding packet %j\",t),e.BINARY_EVENT===t.type||e.BINARY_ACK===t.type)?function(t,e){o.removeBlobs(t,function(t){var n=o.deconstructPacket(t),r=c(n.packet),i=n.buffers;i.unshift(r),e(i)})}(t,n):n([c(t)])},i(d.prototype),d.prototype.add=function(t){var n;if(\"string\"==typeof t){if(this.reconstructor)throw new Error(\"got plaintext data when reconstructing a packet\");n=function(t){var n=0,i={type:Number(t.charAt(0))};if(null==e.types[i.type])return f(\"unknown packet type \"+i.type);if(e.BINARY_EVENT===i.type||e.BINARY_ACK===i.type){for(var o=n+1;\"-\"!==t.charAt(++n)&&n!=t.length;);var s=t.substring(o,n);if(s!=Number(s)||\"-\"!==t.charAt(n))throw new Error(\"Illegal attachments\");i.attachments=Number(s)}if(\"/\"===t.charAt(n+1)){for(var o=n+1;++n;){var l=t.charAt(n);if(\",\"===l)break;if(n===t.length)break}i.nsp=t.substring(o,n)}else i.nsp=\"/\";var u=t.charAt(n+1);if(\"\"!==u&&Number(u)==u){for(var o=n+1;++n;){var l=t.charAt(n);if(null==l||Number(l)!=l){--n;break}if(n===t.length)break}i.id=Number(t.substring(o,n+1))}if(t.charAt(++n)){var c=function(t){try{return JSON.parse(t)}catch(t){return!1}}(t.substr(n)),d=!1!==c&&(i.type===e.ERROR||a(c));if(!d)return f(\"invalid payload\");i.data=c}return r(\"decoded %s as %j\",t,i),i}(t),e.BINARY_EVENT===n.type||e.BINARY_ACK===n.type?(this.reconstructor=new h(n),0===this.reconstructor.reconPack.attachments&&this.emit(\"decoded\",n)):this.emit(\"decoded\",n)}else{if(!s(t)&&!t.base64)throw new Error(\"Unknown type: \"+t);if(!this.reconstructor)throw new Error(\"got binary data when not reconstructing a packet\");(n=this.reconstructor.takeBinaryData(t))&&(this.reconstructor=null,this.emit(\"decoded\",n))}},d.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},h.prototype.takeBinaryData=function(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){var e=o.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null},h.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},\"5+9/\":function(t,e,n){var r=n(\"ZOjo\"),i=n(\"gVZZ\"),o=n(\"ElvI\"),a=n(\"QamB\"),s=n(\"9rXv\"),l=n(\"ARv7\")(\"engine.io-client:polling\");t.exports=c;var u=null!=new(n(\"E/tS\"))({xdomain:!1}).responseType;function c(t){var e=t&&t.forceBase64;u&&!e||(this.supportsBinary=!1),r.call(this,t)}a(c,r),c.prototype.name=\"polling\",c.prototype.doOpen=function(){this.poll()},c.prototype.pause=function(t){var e=this;function n(){l(\"paused\"),e.readyState=\"paused\",t()}if(this.readyState=\"pausing\",this.polling||!this.writable){var r=0;this.polling&&(l(\"we are currently polling - waiting to pause\"),r++,this.once(\"pollComplete\",function(){l(\"pre-pause polling complete\"),--r||n()})),this.writable||(l(\"we are currently writing - waiting to pause\"),r++,this.once(\"drain\",function(){l(\"pre-pause writing complete\"),--r||n()}))}else n()},c.prototype.poll=function(){l(\"polling\"),this.polling=!0,this.doPoll(),this.emit(\"poll\")},c.prototype.onData=function(t){var e=this;l(\"polling got data %s\",t);o.decodePayload(t,this.socket.binaryType,function(t,n,r){if(\"opening\"===e.readyState&&\"open\"===t.type&&e.onOpen(),\"close\"===t.type)return e.onClose(),!1;e.onPacket(t)}),\"closed\"!==this.readyState&&(this.polling=!1,this.emit(\"pollComplete\"),\"open\"===this.readyState?this.poll():l('ignoring poll - transport state \"%s\"',this.readyState))},c.prototype.doClose=function(){var t=this;function e(){l(\"writing close packet\"),t.write([{type:\"close\"}])}\"open\"===this.readyState?(l(\"transport open - closing\"),e()):(l(\"transport not open - deferring close\"),this.once(\"open\",e))},c.prototype.write=function(t){var e=this;this.writable=!1;var n=function(){e.writable=!0,e.emit(\"drain\")};o.encodePayload(t,this.supportsBinary,function(t){e.doWrite(t,n)})},c.prototype.uri=function(){var t=this.query||{},e=this.secure?\"https\":\"http\",n=\"\";return!1!==this.timestampRequests&&(t[this.timestampParam]=s()),this.supportsBinary||t.sid||(t.b64=1),t=i.encode(t),this.port&&(\"https\"===e&&443!==Number(this.port)||\"http\"===e&&80!==Number(this.port))&&(n=\":\"+this.port),t.length&&(t=\"?\"+t),e+\"://\"+(-1!==this.hostname.indexOf(\":\")?\"[\"+this.hostname+\"]\":this.hostname)+n+this.path+t}},\"5+KW\":function(t,e,n){(function(e){var r=n(\"sOR5\"),i=Object.prototype.toString,o=\"function\"==typeof Blob||\"undefined\"!=typeof Blob&&\"[object BlobConstructor]\"===i.call(Blob),a=\"function\"==typeof File||\"undefined\"!=typeof File&&\"[object FileConstructor]\"===i.call(File);t.exports=function t(n){if(!n||\"object\"!=typeof n)return!1;if(r(n)){for(var i=0,s=n.length;i=a())throw new RangeError(\"Attempt to allocate Buffer larger than maximum size: 0x\"+a().toString(16)+\" bytes\");return 0|t}function p(t,e){if(l.isBuffer(t))return t.length;if(\"undefined\"!=typeof ArrayBuffer&&\"function\"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;\"string\"!=typeof t&&(t=\"\"+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case\"ascii\":case\"latin1\":case\"binary\":return n;case\"utf8\":case\"utf-8\":case void 0:return z(t).length;case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return 2*n;case\"hex\":return n>>>1;case\"base64\":return W(t).length;default:if(r)return z(t).length;e=(\"\"+e).toLowerCase(),r=!0}}function g(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function m(t,e,n,r,i){if(0===t.length)return-1;if(\"string\"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if(\"string\"==typeof e&&(e=l.from(e,r)),l.isBuffer(e))return 0===e.length?-1:y(t,e,n,r,i);if(\"number\"==typeof e)return e&=255,l.TYPED_ARRAY_SUPPORT&&\"function\"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):y(t,[e],n,r,i);throw new TypeError(\"val must be string, number or Buffer\")}function y(t,e,n,r,i){var o,a=1,s=t.length,l=e.length;if(void 0!==r&&(\"ucs2\"===(r=String(r).toLowerCase())||\"ucs-2\"===r||\"utf16le\"===r||\"utf-16le\"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,l/=2,n/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var c=-1;for(o=n;os&&(n=s-l),o=n;o>=0;o--){for(var d=!0,h=0;hi&&(r=i):r=i;var o=e.length;if(o%2!=0)throw new TypeError(\"Invalid hex string\");r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function S(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function A(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i239?4:u>223?3:u>191?2:1;if(i+d<=n)switch(d){case 1:u<128&&(c=u);break;case 2:128==(192&(o=t[i+1]))&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=t[i+1],a=t[i+2],128==(192&o)&&128==(192&a)&&(l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,d=1):c>65535&&(c-=65536,r.push(c>>>10&1023|55296),c=56320|1023&c),r.push(c),i+=d}return function(t){var e=t.length;if(e<=T)return String.fromCharCode.apply(String,t);var n=\"\",r=0;for(;rthis.length)return\"\";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return\"\";if((n>>>=0)<=(e>>>=0))return\"\";for(t||(t=\"utf8\");;)switch(t){case\"hex\":return F(this,e,n);case\"utf8\":case\"utf-8\":return A(this,e,n);case\"ascii\":return M(this,e,n);case\"latin1\":case\"binary\":return I(this,e,n);case\"base64\":return S(this,e,n);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return D(this,e,n);default:if(r)throw new TypeError(\"Unknown encoding: \"+t);t=(t+\"\").toLowerCase(),r=!0}}.apply(this,arguments)},l.prototype.equals=function(t){if(!l.isBuffer(t))throw new TypeError(\"Argument must be a Buffer\");return this===t||0===l.compare(this,t)},l.prototype.inspect=function(){var t=\"\",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString(\"hex\",0,n).match(/.{2}/g).join(\" \"),this.length>n&&(t+=\" ... \")),\"\"},l.prototype.compare=function(t,e,n,r,i){if(!l.isBuffer(t))throw new TypeError(\"Argument must be a Buffer\");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError(\"out of range index\");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,i>>>=0,this===t)return 0;for(var o=i-r,a=n-e,s=Math.min(o,a),u=this.slice(r,i),c=t.slice(e,n),d=0;di)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError(\"Attempt to write outside buffer bounds\");r||(r=\"utf8\");for(var o=!1;;)switch(r){case\"hex\":return v(this,t,e,n);case\"utf8\":case\"utf-8\":return b(this,t,e,n);case\"ascii\":return x(this,t,e,n);case\"latin1\":case\"binary\":return w(this,t,e,n);case\"base64\":return k(this,t,e,n);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return C(this,t,e,n);default:if(o)throw new TypeError(\"Unknown encoding: \"+r);r=(\"\"+r).toLowerCase(),o=!0}},l.prototype.toJSON=function(){return{type:\"Buffer\",data:Array.prototype.slice.call(this._arr||this,0)}};var T=4096;function M(t,e,n){var r=\"\";n=Math.min(t.length,n);for(var i=e;ir)&&(n=r);for(var i=\"\",o=e;on)throw new RangeError(\"Trying to access beyond buffer length\")}function R(t,e,n,r,i,o){if(!l.isBuffer(t))throw new TypeError('\"buffer\" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError(\"Index out of range\")}function _(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i>>8*(r?i:1-i)}function B(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i>>8*(r?i:3-i)&255}function E(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError(\"Index out of range\");if(n<0)throw new RangeError(\"Index out of range\")}function L(t,e,n,r,o){return o||E(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function O(t,e,n,r,o){return o||E(t,0,n,8),i.write(t,e,n,r,52,8),n+8}l.prototype.slice=function(t,e){var n,r=this.length;if(t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e0&&(i*=256);)r+=this[t+--e]*i;return r},l.prototype.readUInt8=function(t,e){return e||P(t,1,this.length),this[t]},l.prototype.readUInt16LE=function(t,e){return e||P(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUInt16BE=function(t,e){return e||P(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUInt32LE=function(t,e){return e||P(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},l.prototype.readUInt32BE=function(t,e){return e||P(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||P(t,e,this.length);for(var r=this[t],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*e)),r},l.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||P(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},l.prototype.readInt8=function(t,e){return e||P(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){e||P(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(t,e){e||P(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(t,e){return e||P(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return e||P(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readFloatLE=function(t,e){return e||P(t,4,this.length),i.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return e||P(t,4,this.length),i.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return e||P(t,8,this.length),i.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return e||P(t,8,this.length),i.read(this,t,!1,52,8)},l.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||R(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o=0&&(o*=256);)this[e+i]=t/o&255;return e+n},l.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,1,255,0),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},l.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):_(this,t,e,!0),e+2},l.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):_(this,t,e,!1),e+2},l.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):B(this,t,e,!0),e+4},l.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):B(this,t,e,!1),e+4},l.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);R(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o>0)-s&255;return e+n},l.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);R(this,t,e,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},l.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,1,127,-128),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},l.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):_(this,t,e,!0),e+2},l.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):_(this,t,e,!1),e+2},l.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):B(this,t,e,!0),e+4},l.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):B(this,t,e,!1),e+4},l.prototype.writeFloatLE=function(t,e,n){return L(this,t,e,!0,n)},l.prototype.writeFloatBE=function(t,e,n){return L(this,t,e,!1,n)},l.prototype.writeDoubleLE=function(t,e,n){return O(this,t,e,!0,n)},l.prototype.writeDoubleBE=function(t,e,n){return O(this,t,e,!1,n)},l.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r=this.length)throw new RangeError(\"sourceStart out of bounds\");if(r<0)throw new RangeError(\"sourceEnd out of bounds\");r>this.length&&(r=this.length),t.length-e=0;--i)t[i+e]=this[i+n];else if(o<1e3||!l.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),\"number\"==typeof t)for(o=e;o55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error(\"Invalid code point\");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function W(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\\s+|\\s+$/g,\"\")}(t).replace(N,\"\")).length<2)return\"\";for(;t.length%4!=0;)t+=\"=\";return t}(t))}function U(t,e,n,r){for(var i=0;i=e.length||i>=t.length);++i)e[i+n]=t[i];return i}}).call(e,n(\"DuR2\"))},\"6QbC\":function(t,e){},\"6mly\":function(t,e){var n=void 0!==n?n:\"undefined\"!=typeof WebKitBlobBuilder?WebKitBlobBuilder:\"undefined\"!=typeof MSBlobBuilder?MSBlobBuilder:\"undefined\"!=typeof MozBlobBuilder&&MozBlobBuilder,r=function(){try{return 2===new Blob([\"hi\"]).size}catch(t){return!1}}(),i=r&&function(){try{return 2===new Blob([new Uint8Array([1,2])]).size}catch(t){return!1}}(),o=n&&n.prototype.append&&n.prototype.getBlob;function a(t){return t.map(function(t){if(t.buffer instanceof ArrayBuffer){var e=t.buffer;if(t.byteLength!==e.byteLength){var n=new Uint8Array(t.byteLength);n.set(new Uint8Array(e,t.byteOffset,t.byteLength)),e=n.buffer}return e}return t})}function s(t,e){e=e||{};var r=new n;return a(t).forEach(function(t){r.append(t)}),e.type?r.getBlob(e.type):r.getBlob()}function l(t,e){return new Blob(a(t),e||{})}\"undefined\"!=typeof Blob&&(s.prototype=Blob.prototype,l.prototype=Blob.prototype),t.exports=r?i?Blob:l:o?s:void 0},8729:function(t,e,n){function r(t){var n;function r(){if(r.enabled){var t=r,i=+new Date,o=i-(n||i);t.diff=o,t.prev=n,t.curr=i,n=i;for(var a=new Array(arguments.length),s=0;s0);return e}function c(){var t=u(+new Date);return t!==r?(s=0,r=t):t+\".\"+u(s++)}for(;l=31||\"undefined\"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/)},e.storage=\"undefined\"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=[\"#0000CC\",\"#0000FF\",\"#0033CC\",\"#0033FF\",\"#0066CC\",\"#0066FF\",\"#0099CC\",\"#0099FF\",\"#00CC00\",\"#00CC33\",\"#00CC66\",\"#00CC99\",\"#00CCCC\",\"#00CCFF\",\"#3300CC\",\"#3300FF\",\"#3333CC\",\"#3333FF\",\"#3366CC\",\"#3366FF\",\"#3399CC\",\"#3399FF\",\"#33CC00\",\"#33CC33\",\"#33CC66\",\"#33CC99\",\"#33CCCC\",\"#33CCFF\",\"#6600CC\",\"#6600FF\",\"#6633CC\",\"#6633FF\",\"#66CC00\",\"#66CC33\",\"#9900CC\",\"#9900FF\",\"#9933CC\",\"#9933FF\",\"#99CC00\",\"#99CC33\",\"#CC0000\",\"#CC0033\",\"#CC0066\",\"#CC0099\",\"#CC00CC\",\"#CC00FF\",\"#CC3300\",\"#CC3333\",\"#CC3366\",\"#CC3399\",\"#CC33CC\",\"#CC33FF\",\"#CC6600\",\"#CC6633\",\"#CC9900\",\"#CC9933\",\"#CCCC00\",\"#CCCC33\",\"#FF0000\",\"#FF0033\",\"#FF0066\",\"#FF0099\",\"#FF00CC\",\"#FF00FF\",\"#FF3300\",\"#FF3333\",\"#FF3366\",\"#FF3399\",\"#FF33CC\",\"#FF33FF\",\"#FF6600\",\"#FF6633\",\"#FF9900\",\"#FF9933\",\"#FFCC00\",\"#FFCC33\"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return\"[UnexpectedJSONParseError]: \"+t.message}},e.enable(i())}).call(e,n(\"W2nU\"))},AYMf:function(t,e,n){var r=n(\"4ThM\"),i=n(\"pnVU\"),o=n(\"bqFq\"),a=n(\"SJFm\"),s=n(\"zqJT\"),l=n(\"dtwh\")(\"socket.io-client:socket\"),u=n(\"gVZZ\"),c=n(\"5+KW\");t.exports=f;var d={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},h=i.prototype.emit;function f(t,e,n){this.io=t,this.nsp=e,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.flags={},n&&n.query&&(this.query=n.query),this.io.autoConnect&&this.open()}i(f.prototype),f.prototype.subEvents=function(){if(!this.subs){var t=this.io;this.subs=[a(t,\"open\",s(this,\"onopen\")),a(t,\"packet\",s(this,\"onpacket\")),a(t,\"close\",s(this,\"onclose\"))]}},f.prototype.open=f.prototype.connect=function(){return this.connected?this:(this.subEvents(),this.io.reconnecting||this.io.open(),\"open\"===this.io.readyState&&this.onopen(),this.emit(\"connecting\"),this)},f.prototype.send=function(){var t=o(arguments);return t.unshift(\"message\"),this.emit.apply(this,t),this},f.prototype.emit=function(t){if(d.hasOwnProperty(t))return h.apply(this,arguments),this;var e=o(arguments),n={type:(void 0!==this.flags.binary?this.flags.binary:c(e))?r.BINARY_EVENT:r.EVENT,data:e,options:{}};return n.options.compress=!this.flags||!1!==this.flags.compress,\"function\"==typeof e[e.length-1]&&(l(\"emitting packet with ack id %d\",this.ids),this.acks[this.ids]=e.pop(),n.id=this.ids++),this.connected?this.packet(n):this.sendBuffer.push(n),this.flags={},this},f.prototype.packet=function(t){t.nsp=this.nsp,this.io.packet(t)},f.prototype.onopen=function(){if(l(\"transport is open - connecting\"),\"/\"!==this.nsp)if(this.query){var t=\"object\"==typeof this.query?u.encode(this.query):this.query;l(\"sending connect packet with query %s\",t),this.packet({type:r.CONNECT,query:t})}else this.packet({type:r.CONNECT})},f.prototype.onclose=function(t){l(\"close (%s)\",t),this.connected=!1,this.disconnected=!0,delete this.id,this.emit(\"disconnect\",t)},f.prototype.onpacket=function(t){var e=t.nsp===this.nsp,n=t.type===r.ERROR&&\"/\"===t.nsp;if(e||n)switch(t.type){case r.CONNECT:this.onconnect();break;case r.EVENT:case r.BINARY_EVENT:this.onevent(t);break;case r.ACK:case r.BINARY_ACK:this.onack(t);break;case r.DISCONNECT:this.ondisconnect();break;case r.ERROR:this.emit(\"error\",t.data)}},f.prototype.onevent=function(t){var e=t.data||[];l(\"emitting event %j\",e),null!=t.id&&(l(\"attaching ack callback to event\"),e.push(this.ack(t.id))),this.connected?h.apply(this,e):this.receiveBuffer.push(e)},f.prototype.ack=function(t){var e=this,n=!1;return function(){if(!n){n=!0;var i=o(arguments);l(\"sending ack %j\",i),e.packet({type:c(i)?r.BINARY_ACK:r.ACK,id:t,data:i})}}},f.prototype.onack=function(t){var e=this.acks[t.id];\"function\"==typeof e?(l(\"calling ack %s with %j\",t.id,t.data),e.apply(this,t.data),delete this.acks[t.id]):l(\"bad ack %s\",t.id)},f.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emitBuffered(),this.emit(\"connect\")},f.prototype.emitBuffered=function(){var t;for(t=0;t=0&&e.num0&&!this.encoding){var t=this.packetBuffer.shift();this.packet(t)}},f.prototype.cleanup=function(){u(\"cleanup\");for(var t=this.subs.length,e=0;e=this._reconnectionAttempts)u(\"reconnect failed\"),this.backoff.reset(),this.emitAll(\"reconnect_failed\"),this.reconnecting=!1;else{var e=this.backoff.duration();u(\"will wait %dms before reconnect attempt\",e),this.reconnecting=!0;var n=setTimeout(function(){t.skipReconnect||(u(\"attempting reconnect\"),t.emitAll(\"reconnect_attempt\",t.backoff.attempts),t.emitAll(\"reconnecting\",t.backoff.attempts),t.skipReconnect||t.open(function(e){e?(u(\"reconnect attempt error\"),t.reconnecting=!1,t.reconnect(),t.emitAll(\"reconnect_error\",e.data)):(u(\"reconnect success\"),t.onreconnect())}))},e);this.subs.push({destroy:function(){clearTimeout(n)}})}},f.prototype.onreconnect=function(){var t=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll(\"reconnect\",t)}},DDUC:function(t,e){},DmT9:function(t,e,n){var r=n(\"V1mL\"),i=n(\"4ThM\"),o=n(\"Ctjl\"),a=n(\"dtwh\")(\"socket.io-client\");t.exports=e=l;var s=e.managers={};function l(t,e){\"object\"==typeof t&&(e=t,t=void 0),e=e||{};var n,i=r(t),l=i.source,u=i.id,c=i.path,d=s[u]&&c in s[u].nsps;return e.forceNew||e[\"force new connection\"]||!1===e.multiplex||d?(a(\"ignoring socket cache for %s\",l),n=o(l,e)):(s[u]||(a(\"new io instance for %s\",l),s[u]=o(l,e)),n=s[u]),i.query&&!e.query&&(e.query=i.query),n.socket(i.path,e)}e.protocol=i.protocol,e.connect=l,e.Manager=n(\"Ctjl\"),e.Socket=n(\"AYMf\")},DuR2:function(t,e){var n;n=function(){return this}();try{n=n||Function(\"return this\")()||(0,eval)(\"this\")}catch(t){\"object\"==typeof window&&(n=window)}t.exports=n},\"E/tS\":function(t,e,n){var r=n(\"bKul\"),i=n(\"vveS\");t.exports=function(t){var e=t.xdomain,n=t.xscheme,o=t.enablesXDR;try{if(\"undefined\"!=typeof XMLHttpRequest&&(!e||r))return new XMLHttpRequest}catch(t){}try{if(\"undefined\"!=typeof XDomainRequest&&!n&&o)return new XDomainRequest}catch(t){}if(!e)try{return new(i[[\"Active\"].concat(\"Object\").join(\"X\")])(\"Microsoft.XMLHTTP\")}catch(t){}}},EKta:function(t,e,n){\"use strict\";e.byteLength=function(t){var e=u(t),n=e[0],r=e[1];return 3*(n+r)/4-r},e.toByteArray=function(t){var e,n,r=u(t),a=r[0],s=r[1],l=new o(function(t,e,n){return 3*(e+n)/4-n}(0,a,s)),c=0,d=s>0?a-4:a;for(n=0;n>16&255,l[c++]=e>>8&255,l[c++]=255&e;2===s&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,l[c++]=255&e);1===s&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,l[c++]=e>>8&255,l[c++]=255&e);return l},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],a=0,s=n-i;as?s:a+16383));1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+\"==\")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+\"=\"));return o.join(\"\")};for(var r=[],i=[],o=\"undefined\"!=typeof Uint8Array?Uint8Array:Array,a=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",s=0,l=a.length;s0)throw new Error(\"Invalid string. Length must be a multiple of 4\");var n=t.indexOf(\"=\");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function c(t,e,n){for(var i,o,a=[],s=e;s>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join(\"\")}i[\"-\".charCodeAt(0)]=62,i[\"_\".charCodeAt(0)]=63},EarI:function(t,e){var n=1e3,r=60*n,i=60*r,o=24*i,a=365.25*o;function s(t,e,n){if(!(t0)return function(t){if((t=String(t)).length>100)return;var e=/^((?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(!e)return;var s=parseFloat(e[1]);switch((e[2]||\"ms\").toLowerCase()){case\"years\":case\"year\":case\"yrs\":case\"yr\":case\"y\":return s*a;case\"days\":case\"day\":case\"d\":return s*o;case\"hours\":case\"hour\":case\"hrs\":case\"hr\":case\"h\":return s*i;case\"minutes\":case\"minute\":case\"mins\":case\"min\":case\"m\":return s*r;case\"seconds\":case\"second\":case\"secs\":case\"sec\":case\"s\":return s*n;case\"milliseconds\":case\"millisecond\":case\"msecs\":case\"msec\":case\"ms\":return s;default:return}}(t);if(\"number\"===u&&!1===isNaN(t))return e.long?s(l=t,o,\"day\")||s(l,i,\"hour\")||s(l,r,\"minute\")||s(l,n,\"second\")||l+\" ms\":function(t){if(t>=o)return Math.round(t/o)+\"d\";if(t>=i)return Math.round(t/i)+\"h\";if(t>=r)return Math.round(t/r)+\"m\";if(t>=n)return Math.round(t/n)+\"s\";return t+\"ms\"}(t);throw new Error(\"val is not a non-empty string or a valid number. val=\"+JSON.stringify(t))}},ElvI:function(t,e,n){var r,i=n(\"2gBs\"),o=n(\"5+KW\"),a=n(\"Tff0\"),s=n(\"YUmt\"),l=n(\"eAwk\");\"undefined\"!=typeof ArrayBuffer&&(r=n(\"kVGU\"));var u=\"undefined\"!=typeof navigator&&/Android/i.test(navigator.userAgent),c=\"undefined\"!=typeof navigator&&/PhantomJS/i.test(navigator.userAgent),d=u||c;e.protocol=3;var h=e.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},f=i(h),p={type:\"error\",data:\"parser error\"},g=n(\"6mly\");function m(t,e,n){for(var r=new Array(t.length),i=s(t.length,n),o=function(t,n,i){e(n,function(e,n){r[t]=n,i(e,r)})},a=0;a1?{type:f[i],data:t.substring(1)}:{type:f[i]}:p}i=new Uint8Array(t)[0];var o=a(t,1);return g&&\"blob\"===n&&(o=new g([o])),{type:f[i],data:o}},e.decodeBase64Packet=function(t,e){var n=f[t.charAt(0)];if(!r)return{type:n,data:{base64:!0,data:t.substr(1)}};var i=r.decode(t.substr(1));return\"blob\"===e&&g&&(i=new g([i])),{type:n,data:i}},e.encodePayload=function(t,n,r){\"function\"==typeof n&&(r=n,n=null);var i=o(t);if(n&&i)return g&&!d?e.encodePayloadAsBlob(t,r):e.encodePayloadAsArrayBuffer(t,r);if(!t.length)return r(\"0:\");m(t,function(t,r){e.encodePacket(t,!!i&&n,!1,function(t){r(null,function(t){return t.length+\":\"+t}(t))})},function(t,e){return r(e.join(\"\"))})},e.decodePayload=function(t,n,r){if(\"string\"!=typeof t)return e.decodePayloadAsBinary(t,n,r);var i;if(\"function\"==typeof n&&(r=n,n=null),\"\"===t)return r(p,0,1);for(var o,a,s=\"\",l=0,u=t.length;l0;){for(var s=new Uint8Array(i),l=0===s[0],u=\"\",c=1;255!==s[c];c++){if(u.length>310)return r(p,0,1);u+=s[c]}i=a(i,2+u.length),u=parseInt(u);var d=a(i,0,u);if(l)try{d=String.fromCharCode.apply(null,new Uint8Array(d))}catch(t){var h=new Uint8Array(d);d=\"\";for(c=0;c'))})}),$(\".prm-mobile-slider\").click(function(){$(\"#menu-toggle\").trigger(\"click\")}),$(document).on(\"click\",\".mobile-menu\",function(t){$(\"#menu-toggle\").trigger(\"click\")}),$(window).resize(function(){$(this).width()>767?($(\".prm-sidenav\").hasClass(\"in\")&&$(\".modal-backdrop\").remove(),$(\".prm-sidenav\").show()):($(\".prm-sidenav\").hasClass(\"in\")&&($(\".modal-backdrop\").remove(),$(this).removeClass(\"in\")),$(\".prm-sidenav\").hide()),$(\".mobile-menu\").hide(),$(\".prm-sidenav\").removeClass(\"in\"),$(\"body\").removeClass(\"lock-scroll\")}).trigger(\"resize\"),$(window).resize(function(){$(this).width()>767?($(\".prm-sidenav\").hasClass(\"in\")&&$(\".modal-backdrop\").remove(),$(\".prm-sidenav\").show()):($(\".prm-sidenav\").hasClass(\"in\")&&($(\".modal-backdrop\").remove(),$(this).removeClass(\"in\")),$(\".prm-sidenav\").hide()),$(\".mobile-menu\").hide(),$(\".prm-sidenav\").removeClass(\"in\"),$(\"body\").removeClass(\"lock-scroll\")}).trigger(\"resize\")}),window.io=n(\"DmT9\"),$(\".menu-notification-togller\").on(\"click\",function(){$(\".prm-notification-slider\").toggle(\"slide\",function(){0==$(this).hasClass(\"in\")?($(this).addClass(\"in\"),loadMenuNotifications($(this).data(\"url\"))):($(this).removeClass(\"in\"),$(\".notification-content\").empty().text(\"Loading...\"))})}),$(\"#notification-slider-close\").click(function(t){$(\".menu-notification-togller\").trigger(\"click\")}),$(document).ready(function(){var t=$(\".notification-item\");\"\"!=t.data(\"totalinvoicecountforactualrecords\")||0!=t.data(\"totalinvoicecountforactualrecords\")?t.attr(\"style\",\"display: block !important;\"):t.attr(\"style\",\"display: none !important;\");var e=$(\"#total-notification-count\");t.data(\"notifications\")>0?e.show():e.hide()}),loadMenuNotifications=function(t){$.ajax(t).done(function(t){$(\".notification-content\").html(t)}).fail(function(){$(\".notification-content\").html('
No data
')})},jsLangTransWithValues=function(t,e){return Object.keys(e).forEach(function(n){t=t.replaceAll(n,e[n])}),t}},I89W:function(t,e){},IP1e:function(t,e){},IqDs:function(t,e){},QamB:function(t,e){t.exports=function(t,e){var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},S1sv:function(t,e){},SJFm:function(t,e){t.exports=function(t,e,n){return t.on(e,n),{destroy:function(){t.removeListener(e,n)}}}},SXvd:function(t,e){},SldL:function(t,e){!function(e){\"use strict\";var n,r=Object.prototype,i=r.hasOwnProperty,o=\"function\"==typeof Symbol?Symbol:{},a=o.iterator||\"@@iterator\",s=o.asyncIterator||\"@@asyncIterator\",l=o.toStringTag||\"@@toStringTag\",u=\"object\"==typeof t,c=e.regeneratorRuntime;if(c)u&&(t.exports=c);else{(c=e.regeneratorRuntime=u?t.exports:{}).wrap=x;var d=\"suspendedStart\",h=\"suspendedYield\",f=\"executing\",p=\"completed\",g={},m={};m[a]=function(){return this};var y=Object.getPrototypeOf,v=y&&y(y(P([])));v&&v!==r&&i.call(v,a)&&(m=v);var b=S.prototype=k.prototype=Object.create(m);C.prototype=b.constructor=S,S.constructor=C,S[l]=C.displayName=\"GeneratorFunction\",c.isGeneratorFunction=function(t){var e=\"function\"==typeof t&&t.constructor;return!!e&&(e===C||\"GeneratorFunction\"===(e.displayName||e.name))},c.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,S):(t.__proto__=S,l in t||(t[l]=\"GeneratorFunction\")),t.prototype=Object.create(b),t},c.awrap=function(t){return{__await:t}},A(T.prototype),T.prototype[s]=function(){return this},c.AsyncIterator=T,c.async=function(t,e,n,r){var i=new T(x(t,e,n,r));return c.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},A(b),b[l]=\"Generator\",b[a]=function(){return this},b.toString=function(){return\"[object Generator]\"},c.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},c.values=P,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method=\"next\",this.arg=n,this.tryEntries.forEach(F),!t)for(var e in this)\"t\"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if(\"throw\"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,i){return s.type=\"throw\",s.arg=t,e.next=r,i&&(e.method=\"next\",e.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if(\"root\"===a.tryLoc)return r(\"end\");if(a.tryLoc<=this.prev){var l=i.call(a,\"catchLoc\"),u=i.call(a,\"finallyLoc\");if(l&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,\"finallyLoc\")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),F(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if(\"throw\"===r.type){var i=r.arg;F(n)}return i}}throw new Error(\"illegal catch attempt\")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},\"next\"===this.method&&(this.arg=n),g}}}function x(t,e,n,r){var i=e&&e.prototype instanceof k?e:k,o=Object.create(i.prototype),a=new D(r||[]);return o._invoke=function(t,e,n){var r=d;return function(i,o){if(r===f)throw new Error(\"Generator is already running\");if(r===p){if(\"throw\"===i)throw o;return R()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=M(a,n);if(s){if(s===g)continue;return s}}if(\"next\"===n.method)n.sent=n._sent=n.arg;else if(\"throw\"===n.method){if(r===d)throw r=p,n.arg;n.dispatchException(n.arg)}else\"return\"===n.method&&n.abrupt(\"return\",n.arg);r=f;var l=w(t,e,n);if(\"normal\"===l.type){if(r=n.done?p:h,l.arg===g)continue;return{value:l.arg,done:n.done}}\"throw\"===l.type&&(r=p,n.method=\"throw\",n.arg=l.arg)}}}(t,n,a),o}function w(t,e,n){try{return{type:\"normal\",arg:t.call(e,n)}}catch(t){return{type:\"throw\",arg:t}}}function k(){}function C(){}function S(){}function A(t){[\"next\",\"throw\",\"return\"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function T(t){var e;this._invoke=function(n,r){function o(){return new Promise(function(e,o){!function e(n,r,o,a){var s=w(t[n],t,r);if(\"throw\"!==s.type){var l=s.arg,u=l.value;return u&&\"object\"==typeof u&&i.call(u,\"__await\")?Promise.resolve(u.__await).then(function(t){e(\"next\",t,o,a)},function(t){e(\"throw\",t,o,a)}):Promise.resolve(u).then(function(t){l.value=t,o(l)},a)}a(s.arg)}(n,r,e,o)})}return e=e?e.then(o,o):o()}}function M(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,\"throw\"===e.method){if(t.iterator.return&&(e.method=\"return\",e.arg=n,M(t,e),\"throw\"===e.method))return g;e.method=\"throw\",e.arg=new TypeError(\"The iterator does not provide a 'throw' method\")}return g}var i=w(r,t.iterator,e.arg);if(\"throw\"===i.type)return e.method=\"throw\",e.arg=i.arg,e.delegate=null,g;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,\"return\"!==e.method&&(e.method=\"next\",e.arg=n),e.delegate=null,g):o:(e.method=\"throw\",e.arg=new TypeError(\"iterator result is not an object\"),e.delegate=null,g)}function I(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function F(t){var e=t.completion||{};e.type=\"normal\",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:\"root\"}],t.forEach(I,this),this.reset(!0)}function P(t){if(t){var e=t[a];if(e)return e.call(t);if(\"function\"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){for(;++rr&&(n=r),e>=r||e>=n||0===r)return new ArrayBuffer(0);for(var i=new Uint8Array(t),o=new Uint8Array(n-e),a=e,s=0;a1)for(var n=1;n0&&(this.extraHeaders=e.extraHeaders),e.localAddress&&(this.localAddress=e.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}t.exports=c,c.priorWebsocketSuccess=!1,i(c.prototype),c.protocol=s.protocol,c.Socket=c,c.Transport=n(\"ZOjo\"),c.transports=n(\"Y+et\"),c.parser=n(\"ElvI\"),c.prototype.createTransport=function(t){o('creating transport \"%s\"',t);var e=function(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}(this.query);e.EIO=s.protocol,e.transport=t;var n=this.transportOptions[t]||{};return this.id&&(e.sid=this.id),new r[t]({query:e,socket:this,agent:n.agent||this.agent,hostname:n.hostname||this.hostname,port:n.port||this.port,secure:n.secure||this.secure,path:n.path||this.path,forceJSONP:n.forceJSONP||this.forceJSONP,jsonp:n.jsonp||this.jsonp,forceBase64:n.forceBase64||this.forceBase64,enablesXDR:n.enablesXDR||this.enablesXDR,withCredentials:n.withCredentials||this.withCredentials,timestampRequests:n.timestampRequests||this.timestampRequests,timestampParam:n.timestampParam||this.timestampParam,policyPort:n.policyPort||this.policyPort,pfx:n.pfx||this.pfx,key:n.key||this.key,passphrase:n.passphrase||this.passphrase,cert:n.cert||this.cert,ca:n.ca||this.ca,ciphers:n.ciphers||this.ciphers,rejectUnauthorized:n.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:n.perMessageDeflate||this.perMessageDeflate,extraHeaders:n.extraHeaders||this.extraHeaders,forceNode:n.forceNode||this.forceNode,localAddress:n.localAddress||this.localAddress,requestTimeout:n.requestTimeout||this.requestTimeout,protocols:n.protocols||void 0,isReactNative:this.isReactNative})},c.prototype.open=function(){var t;if(this.rememberUpgrade&&c.priorWebsocketSuccess&&-1!==this.transports.indexOf(\"websocket\"))t=\"websocket\";else{if(0===this.transports.length){var e=this;return void setTimeout(function(){e.emit(\"error\",\"No transports available\")},0)}t=this.transports[0]}this.readyState=\"opening\";try{t=this.createTransport(t)}catch(t){return this.transports.shift(),void this.open()}t.open(),this.setTransport(t)},c.prototype.setTransport=function(t){o(\"setting transport %s\",t.name);var e=this;this.transport&&(o(\"clearing existing transport %s\",this.transport.name),this.transport.removeAllListeners()),this.transport=t,t.on(\"drain\",function(){e.onDrain()}).on(\"packet\",function(t){e.onPacket(t)}).on(\"error\",function(t){e.onError(t)}).on(\"close\",function(){e.onClose(\"transport close\")})},c.prototype.probe=function(t){o('probing transport \"%s\"',t);var e=this.createTransport(t,{probe:1}),n=!1,r=this;function i(){if(r.onlyBinaryUpgrades){var i=!this.supportsBinary&&r.transport.supportsBinary;n=n||i}n||(o('probe transport \"%s\" opened',t),e.send([{type:\"ping\",data:\"probe\"}]),e.once(\"packet\",function(i){if(!n)if(\"pong\"===i.type&&\"probe\"===i.data){if(o('probe transport \"%s\" pong',t),r.upgrading=!0,r.emit(\"upgrading\",e),!e)return;c.priorWebsocketSuccess=\"websocket\"===e.name,o('pausing current transport \"%s\"',r.transport.name),r.transport.pause(function(){n||\"closed\"!==r.readyState&&(o(\"changing transport and sending upgrade packet\"),h(),r.setTransport(e),e.send([{type:\"upgrade\"}]),r.emit(\"upgrade\",e),e=null,r.upgrading=!1,r.flush())})}else{o('probe transport \"%s\" failed',t);var a=new Error(\"probe error\");a.transport=e.name,r.emit(\"upgradeError\",a)}}))}function a(){n||(n=!0,h(),e.close(),e=null)}function s(n){var i=new Error(\"probe error: \"+n);i.transport=e.name,a(),o('probe transport \"%s\" failed because of error: %s',t,n),r.emit(\"upgradeError\",i)}function l(){s(\"transport closed\")}function u(){s(\"socket closed\")}function d(t){e&&t.name!==e.name&&(o('\"%s\" works - aborting \"%s\"',t.name,e.name),a())}function h(){e.removeListener(\"open\",i),e.removeListener(\"error\",s),e.removeListener(\"close\",l),r.removeListener(\"close\",u),r.removeListener(\"upgrading\",d)}c.priorWebsocketSuccess=!1,e.once(\"open\",i),e.once(\"error\",s),e.once(\"close\",l),this.once(\"close\",u),this.once(\"upgrading\",d),e.open()},c.prototype.onOpen=function(){if(o(\"socket open\"),this.readyState=\"open\",c.priorWebsocketSuccess=\"websocket\"===this.transport.name,this.emit(\"open\"),this.flush(),\"open\"===this.readyState&&this.upgrade&&this.transport.pause){o(\"starting upgrade probes\");for(var t=0,e=this.upgrades.length;t';r=document.createElement(t)}catch(t){(r=document.createElement(\"iframe\")).name=n.iframeId,r.src=\"javascript:0\"}r.id=n.iframeId,n.form.appendChild(r),n.iframe=r}this.form.action=this.uri(),c(),t=t.replace(l,\"\\\\\\n\"),this.area.value=t.replace(s,\"\\\\n\");try{this.form.submit()}catch(t){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){\"complete\"===n.iframe.readyState&&u()}:this.iframe.onload=u}},ZOjo:function(t,e,n){var r=n(\"ElvI\"),i=n(\"pnVU\");function o(t){this.path=t.path,this.hostname=t.hostname,this.port=t.port,this.secure=t.secure,this.query=t.query,this.timestampParam=t.timestampParam,this.timestampRequests=t.timestampRequests,this.readyState=\"\",this.agent=t.agent||!1,this.socket=t.socket,this.enablesXDR=t.enablesXDR,this.withCredentials=t.withCredentials,this.pfx=t.pfx,this.key=t.key,this.passphrase=t.passphrase,this.cert=t.cert,this.ca=t.ca,this.ciphers=t.ciphers,this.rejectUnauthorized=t.rejectUnauthorized,this.forceNode=t.forceNode,this.isReactNative=t.isReactNative,this.extraHeaders=t.extraHeaders,this.localAddress=t.localAddress}t.exports=o,i(o.prototype),o.prototype.onError=function(t,e){var n=new Error(t);return n.type=\"TransportError\",n.description=e,this.emit(\"error\",n),this},o.prototype.open=function(){return\"closed\"!==this.readyState&&\"\"!==this.readyState||(this.readyState=\"opening\",this.doOpen()),this},o.prototype.close=function(){return\"opening\"!==this.readyState&&\"open\"!==this.readyState||(this.doClose(),this.onClose()),this},o.prototype.send=function(t){if(\"open\"!==this.readyState)throw new Error(\"Transport not open\");this.write(t)},o.prototype.onOpen=function(){this.readyState=\"open\",this.writable=!0,this.emit(\"open\")},o.prototype.onData=function(t){var e=r.decodePacket(t,this.socket.binaryType);this.onPacket(e)},o.prototype.onPacket=function(t){this.emit(\"packet\",t)},o.prototype.onClose=function(){this.readyState=\"closed\",this.emit(\"close\")}},asgh:function(t,e){},bKul:function(t,e){try{t.exports=\"undefined\"!=typeof XMLHttpRequest&&\"withCredentials\"in new XMLHttpRequest}catch(e){t.exports=!1}},bnKG:function(t,e){$(document).ready(function(){})},bqFq:function(t,e){t.exports=function(t,e){for(var n=[],r=(e=e||0)||0;r1?r=r.concat(checkCellColSpan(t,headerArr,n++)):(1==t.tHead.length||s.rowSpan>1||!i[n+1])&&r.push(s)}return r}function checkHeaderMetadata(t){return!(!$.metadata||!1!==$(t).metadata().sorter)}function checkHeaderOptions(t,e){return!(!t.config.headers[e]||!1!==t.config.headers[e].sorter)}function checkHeaderOptionsSortingLocked(t,e){return!(!t.config.headers[e]||!t.config.headers[e].lockedOrder)&&t.config.headers[e].lockedOrder}function applyWidget(t){for(var e=t.config.widgets,n=e.length,r=0;r\");$(\"tr:first td\",t.tBodies[0]).each(function(){n.append($(\"\").css(\"width\",$(this).width()))}),$(t).prepend(n)}}function updateHeaderSortCount(t,e){for(var n=t.config,r=e.length,i=0;i b[\"+t+\"]) ? 1 : 0));\"}function makeSortTextDesc(t){return\"((b[\"+t+\"] < a[\"+t+\"]) ? -1 : ((b[\"+t+\"] > a[\"+t+\"]) ? 1 : 0));\"}function makeSortNumeric(t){return\"a[\"+t+\"]-b[\"+t+\"];\"}function makeSortNumericDesc(t){return\"b[\"+t+\"]-a[\"+t+\"];\"}function sortText(t,e){return table.config.sortLocaleCompare?t.localeCompare(e):te?1:0}function sortTextDesc(t,e){return table.config.sortLocaleCompare?e.localeCompare(t):et?1:0}function sortNumeric(t,e){return t-e}function sortNumericDesc(t,e){return e-t}function getCachedSortType(t,e){return t[e].type}this.defaults={cssHeader:\"header\",cssAsc:\"headerSortUp\",cssDesc:\"headerSortDown\",cssChildRow:\"expand-child\",sortInitialOrder:\"asc\",sortMultiSortKey:\"shiftKey\",sortForce:null,sortAppend:null,sortLocaleCompare:!0,textExtraction:\"simple\",parsers:{},widgets:[],widgetZebra:{css:[\"even\",\"odd\"]},headers:{},widthFixed:!1,cancelSelection:!0,sortList:[],headerList:[],dateFormat:\"us\",decimal:\"/.|,/g\",onRenderHeader:null,selectorHeaders:\"thead th\",debug:!1},this.benchmark=benchmark,this.construct=function(t){return this.each(function(){if(this.tHead&&this.tBodies){var e,n,r,i;this.config={},i=$.extend(this.config,$.tablesorter.defaults,t),e=$(this),$.data(this,\"tablesorter\",i),n=buildHeaders(this),this.config.parsers=buildParserCache(this,n),r=buildCache(this);var o=[i.cssDesc,i.cssAsc];fixColumnWidth(this),n.click(function(t){var a=e[0].tBodies[0]&&e[0].tBodies[0].rows.length||0;if(!this.sortDisabled&&a>0){e.trigger(\"sortStart\");$(this);var s=this.column;if(this.order=this.count++%2,this.lockedOrder&&(this.order=this.lockedOrder),t[i.sortMultiSortKey])if(isValueInArray(s,i.sortList))for(d=0;d0&&e.trigger(\"sorton\",[i.sortList]),applyWidget(this)}})},this.addParser=function(t){for(var e=parsers.length,n=!0,r=0;r=31||\"undefined\"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/)},e.storage=\"undefined\"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=[\"#0000CC\",\"#0000FF\",\"#0033CC\",\"#0033FF\",\"#0066CC\",\"#0066FF\",\"#0099CC\",\"#0099FF\",\"#00CC00\",\"#00CC33\",\"#00CC66\",\"#00CC99\",\"#00CCCC\",\"#00CCFF\",\"#3300CC\",\"#3300FF\",\"#3333CC\",\"#3333FF\",\"#3366CC\",\"#3366FF\",\"#3399CC\",\"#3399FF\",\"#33CC00\",\"#33CC33\",\"#33CC66\",\"#33CC99\",\"#33CCCC\",\"#33CCFF\",\"#6600CC\",\"#6600FF\",\"#6633CC\",\"#6633FF\",\"#66CC00\",\"#66CC33\",\"#9900CC\",\"#9900FF\",\"#9933CC\",\"#9933FF\",\"#99CC00\",\"#99CC33\",\"#CC0000\",\"#CC0033\",\"#CC0066\",\"#CC0099\",\"#CC00CC\",\"#CC00FF\",\"#CC3300\",\"#CC3333\",\"#CC3366\",\"#CC3399\",\"#CC33CC\",\"#CC33FF\",\"#CC6600\",\"#CC6633\",\"#CC9900\",\"#CC9933\",\"#CCCC00\",\"#CCCC33\",\"#FF0000\",\"#FF0033\",\"#FF0066\",\"#FF0099\",\"#FF00CC\",\"#FF00FF\",\"#FF3300\",\"#FF3333\",\"#FF3366\",\"#FF3399\",\"#FF33CC\",\"#FF33FF\",\"#FF6600\",\"#FF6633\",\"#FF9900\",\"#FF9933\",\"#FFCC00\",\"#FFCC33\"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return\"[UnexpectedJSONParseError]: \"+t.message}},e.enable(i())}).call(e,n(\"W2nU\"))},e4dT:function(t,e){},eAwk:function(t,e){var n,r,i,o=String.fromCharCode;function a(t){for(var e,n,r=[],i=0,o=t.length;i=55296&&e<=56319&&i=55296&&t<=57343){if(e)throw Error(\"Lone surrogate U+\"+t.toString(16).toUpperCase()+\" is not a scalar value\");return!1}return!0}function l(t,e){return o(t>>e&63|128)}function u(t,e){if(0==(4294967168&t))return o(t);var n=\"\";return 0==(4294965248&t)?n=o(t>>6&31|192):0==(4294901760&t)?(s(t,e)||(t=65533),n=o(t>>12&15|224),n+=l(t,6)):0==(4292870144&t)&&(n=o(t>>18&7|240),n+=l(t,12),n+=l(t,6)),n+=o(63&t|128)}function c(){if(i>=r)throw Error(\"Invalid byte index\");var t=255&n[i];if(i++,128==(192&t))return 63&t;throw Error(\"Invalid continuation byte\")}function d(t){var e,o;if(i>r)throw Error(\"Invalid byte index\");if(i==r)return!1;if(e=255&n[i],i++,0==(128&e))return e;if(192==(224&e)){if((o=(31&e)<<6|c())>=128)return o;throw Error(\"Invalid continuation byte\")}if(224==(240&e)){if((o=(15&e)<<12|c()<<6|c())>=2048)return s(o,t)?o:65533;throw Error(\"Invalid continuation byte\")}if(240==(248&e)&&(o=(7&e)<<18|c()<<12|c()<<6|c())>=65536&&o<=1114111)return o;throw Error(\"Invalid UTF-8 detected\")}t.exports={version:\"2.1.2\",encode:function(t,e){for(var n=!1!==(e=e||{}).strict,r=a(t),i=r.length,o=-1,s=\"\";++o65535&&(i+=o((e-=65536)>>>10&1023|55296),e=56320|1023&e),i+=o(e);return i}(u)}}},eixB:function(t,e,n){var i,o,a,s,l,u=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t};l=function(){return function t(e,n,r){function i(a,l){if(!n[a]){if(!e[a]){if(!l&&(\"function\"==typeof s&&s))return s(a,!0);if(o)return o(a,!0);var u=new Error(\"Cannot find module '\"+a+\"'\");throw u.code=\"MODULE_NOT_FOUND\",u}var c=n[a]={exports:{}};e[a][0].call(c.exports,function(t){var n=e[a][1][t];return i(n||t)},c,c.exports,t,e,n,r)}return n[a].exports}for(var o=\"function\"==typeof s&&s,a=0;an?(e+.05)/(n+.05):(n+.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,n=(e[0]+t)%360;return e[0]=n<0?360+n:n,this.setValues(\"hsl\",e),this},mix:function(t,e){var n=t,r=void 0===e?.5:e,i=2*r-1,o=this.alpha()-n.alpha(),a=((i*o==-1?i:(i+o)/(1+i*o))+1)/2,s=1-a;return this.rgb(a*this.red()+s*n.red(),a*this.green()+s*n.green(),a*this.blue()+s*n.blue()).alpha(this.alpha()*r+n.alpha()*(1-r))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new o,r=this.values,i=n.values;for(var a in r)r.hasOwnProperty(a)&&(t=r[a],\"[object Array]\"===(e={}.toString.call(t))?i[a]=t.slice(0):\"[object Number]\"===e?i[a]=t:console.error(\"unexpected color value:\",t));return n}}).spaces={rgb:[\"red\",\"green\",\"blue\"],hsl:[\"hue\",\"saturation\",\"lightness\"],hsv:[\"hue\",\"saturation\",\"value\"],hwb:[\"hue\",\"whiteness\",\"blackness\"],cmyk:[\"cyan\",\"magenta\",\"yellow\",\"black\"]},o.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},o.prototype.getValues=function(t){for(var e=this.values,n={},r=0;r.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*e+.7152*n+.0722*r),100*(.0193*e+.1192*n+.9505*r)]}function c(t){var e=u(t),n=e[0],r=e[1],i=e[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]}function d(t){var e,n,r,i,o,a=t[0]/360,s=t[1]/100,l=t[2]/100;if(0==s)return[o=255*l,o,o];e=2*l-(n=l<.5?l*(1+s):l+s-l*s),i=[0,0,0];for(var u=0;u<3;u++)(r=a+1/3*-(u-1))<0&&r++,r>1&&r--,o=6*r<1?e+6*(n-e)*r:2*r<1?n:3*r<2?e+(n-e)*(2/3-r)*6:e,i[u]=255*o;return i}function h(t){var e=t[0]/60,n=t[1]/100,r=t[2]/100,i=Math.floor(e)%6,o=e-Math.floor(e),a=255*r*(1-n),s=255*r*(1-n*o),l=255*r*(1-n*(1-o));r*=255;switch(i){case 0:return[r,l,a];case 1:return[s,r,a];case 2:return[a,r,l];case 3:return[a,s,r];case 4:return[l,a,r];case 5:return[r,a,s]}}function f(t){var e,n,i,o,a=t[0]/360,s=t[1]/100,l=t[2]/100,u=s+l;switch(u>1&&(s/=u,l/=u),n=1-l,i=6*a-(e=Math.floor(6*a)),0!=(1&e)&&(i=1-i),o=s+i*(n-s),e){default:case 6:case 0:r=n,g=o,b=s;break;case 1:r=o,g=n,b=s;break;case 2:r=s,g=n,b=o;break;case 3:r=s,g=o,b=n;break;case 4:r=o,g=s,b=n;break;case 5:r=n,g=s,b=o}return[255*r,255*g,255*b]}function p(t){var e=t[0]/100,n=t[1]/100,r=t[2]/100,i=t[3]/100;return[255*(1-Math.min(1,e*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]}function m(t){var e,n,r,i=t[0]/100,o=t[1]/100,a=t[2]/100;return n=-.9689*i+1.8758*o+.0415*a,r=.0557*i+-.204*o+1.057*a,e=(e=3.2406*i+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(e,1/2.4)-.055:e*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r*=12.92,[255*(e=Math.min(Math.max(0,e),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]}function y(t){var e=t[0],n=t[1],r=t[2];return n/=100,r/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]}function v(t){var e,n,r,i,o=t[0],a=t[1],s=t[2];return o<=8?i=(n=100*o/903.3)/100*7.787+16/116:(n=100*Math.pow((o+16)/116,3),i=Math.pow(n/100,1/3)),[e=e/95.047<=.008856?e=95.047*(a/500+i-16/116)/7.787:95.047*Math.pow(a/500+i,3),n,r=r/108.883<=.008859?r=108.883*(i-s/200-16/116)/7.787:108.883*Math.pow(i-s/200,3)]}function x(t){var e,n=t[0],r=t[1],i=t[2];return(e=360*Math.atan2(i,r)/2/Math.PI)<0&&(e+=360),[n,Math.sqrt(r*r+i*i),e]}function w(t){return m(v(t))}function k(t){var e,n=t[0],r=t[1];return e=t[2]/360*2*Math.PI,[n,r*Math.cos(e),r*Math.sin(e)]}function C(t){return S[t]}e.exports={rgb2hsl:i,rgb2hsv:o,rgb2hwb:a,rgb2cmyk:s,rgb2keyword:l,rgb2xyz:u,rgb2lab:c,rgb2lch:function(t){return x(c(t))},hsl2rgb:d,hsl2hsv:function(t){var e=t[0],n=t[1]/100,r=t[2]/100;if(0===r)return[0,0,0];return[e,100*(2*(n*=(r*=2)<=1?r:2-r)/(r+n)),100*((r+n)/2)]},hsl2hwb:function(t){return a(d(t))},hsl2cmyk:function(t){return s(d(t))},hsl2keyword:function(t){return l(d(t))},hsv2rgb:h,hsv2hsl:function(t){var e,n,r=t[0],i=t[1]/100,o=t[2]/100;return e=i*o,[r,100*(e=(e/=(n=(2-i)*o)<=1?n:2-n)||0),100*(n/=2)]},hsv2hwb:function(t){return a(h(t))},hsv2cmyk:function(t){return s(h(t))},hsv2keyword:function(t){return l(h(t))},hwb2rgb:f,hwb2hsl:function(t){return i(f(t))},hwb2hsv:function(t){return o(f(t))},hwb2cmyk:function(t){return s(f(t))},hwb2keyword:function(t){return l(f(t))},cmyk2rgb:p,cmyk2hsl:function(t){return i(p(t))},cmyk2hsv:function(t){return o(p(t))},cmyk2hwb:function(t){return a(p(t))},cmyk2keyword:function(t){return l(p(t))},keyword2rgb:C,keyword2hsl:function(t){return i(C(t))},keyword2hsv:function(t){return o(C(t))},keyword2hwb:function(t){return a(C(t))},keyword2cmyk:function(t){return s(C(t))},keyword2lab:function(t){return c(C(t))},keyword2xyz:function(t){return u(C(t))},xyz2rgb:m,xyz2lab:y,xyz2lch:function(t){return x(y(t))},lab2xyz:v,lab2rgb:w,lab2lch:x,lch2lab:k,lch2xyz:function(t){return v(k(t))},lch2rgb:function(t){return w(k(t))}};var S={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},A={};for(var T in S)A[JSON.stringify(S[T])]=T},{}],5:[function(t,e,n){var r=t(4),i=function(){return new u};for(var o in r){i[o+\"Raw\"]=function(t){return function(e){return\"number\"==typeof e&&(e=Array.prototype.slice.call(arguments)),r[t](e)}}(o);var a=/(\\w+)2(\\w+)/.exec(o),s=a[1],l=a[2];(i[s]=i[s]||{})[l]=i[o]=function(t){return function(e){\"number\"==typeof e&&(e=Array.prototype.slice.call(arguments));var n=r[t](e);if(\"string\"==typeof n||void 0===n)return n;for(var i=0;i0&&(t[0].yLabel?n=t[0].yLabel:e.labels.length>0&&t[0].index');var n=t.data,r=n.datasets,i=n.labels;if(r.length)for(var o=0;o'),i[o]&&e.push(i[o]),e.push(\"\");return e.push(\"\"),e.join(\"\")},legend:{labels:{generateLabels:function(t){var n=t.data;return n.labels.length&&n.datasets.length?n.labels.map(function(r,i){var o=t.getDatasetMeta(0),a=n.datasets[0],s=o.data[i],l=s&&s.custom||{},u=e.getValueAtIndexOrDefault,c=t.options.elements.arc;return{text:r,fillStyle:l.backgroundColor?l.backgroundColor:u(a.backgroundColor,i,c.backgroundColor),strokeStyle:l.borderColor?l.borderColor:u(a.borderColor,i,c.borderColor),lineWidth:l.borderWidth?l.borderWidth:u(a.borderWidth,i,c.borderWidth),hidden:isNaN(a.data[i])||o.data[i].hidden,index:i}}):[]}},onClick:function(t,e){var n,r,i,o=e.index,a=this.chart;for(n=0,r=(a.data.datasets||[]).length;n=Math.PI?-1:p<-Math.PI?1:0))+f,m={x:Math.cos(p),y:Math.sin(p)},y={x:Math.cos(g),y:Math.sin(g)},v=p<=0&&0<=g||p<=2*Math.PI&&2*Math.PI<=g,b=p<=.5*Math.PI&&.5*Math.PI<=g||p<=2.5*Math.PI&&2.5*Math.PI<=g,x=p<=-Math.PI&&-Math.PI<=g||p<=Math.PI&&Math.PI<=g,w=p<=.5*-Math.PI&&.5*-Math.PI<=g||p<=1.5*Math.PI&&1.5*Math.PI<=g,k=h/100,C={x:x?-1:Math.min(m.x*(m.x<0?1:k),y.x*(y.x<0?1:k)),y:w?-1:Math.min(m.y*(m.y<0?1:k),y.y*(y.y<0?1:k))},S={x:v?1:Math.max(m.x*(m.x>0?1:k),y.x*(y.x>0?1:k)),y:b?1:Math.max(m.y*(m.y>0?1:k),y.y*(y.y>0?1:k))},A={width:.5*(S.x-C.x),height:.5*(S.y-C.y)};u=Math.min(s/A.width,l/A.height),c={x:-.5*(S.x+C.x),y:-.5*(S.y+C.y)}}r.borderWidth=n.getMaxBorderWidth(d.data),r.outerRadius=Math.max((u-r.borderWidth)/2,0),r.innerRadius=Math.max(h?r.outerRadius/100*h:1,0),r.radiusLength=(r.outerRadius-r.innerRadius)/r.getVisibleDatasetCount(),r.offsetX=c.x*r.outerRadius,r.offsetY=c.y*r.outerRadius,d.total=n.calculateTotal(),n.outerRadius=r.outerRadius-r.radiusLength*n.getRingIndex(n.index),n.innerRadius=n.outerRadius-r.radiusLength,e.each(d.data,function(e,r){n.updateElement(e,r,t)})},updateElement:function(t,n,r){var i=this,o=i.chart,a=o.chartArea,s=o.options,l=s.animation,u=(a.left+a.right)/2,c=(a.top+a.bottom)/2,d=s.rotation,h=s.rotation,f=i.getDataset(),p=r&&l.animateRotate?0:t.hidden?0:i.calculateCircumference(f.data[n])*(s.circumference/(2*Math.PI)),g=r&&l.animateScale?0:i.innerRadius,m=r&&l.animateScale?0:i.outerRadius,y=e.getValueAtIndexOrDefault;e.extend(t,{_datasetIndex:i.index,_index:n,_model:{x:u+o.offsetX,y:c+o.offsetY,startAngle:d,endAngle:h,circumference:p,outerRadius:m,innerRadius:g,label:y(f.label,n,o.data.labels[n])}});var v=t._model;this.removeHoverStyle(t),r&&l.animateRotate||(v.startAngle=0===n?s.rotation:i.getMeta().data[n-1]._model.endAngle,v.endAngle=v.startAngle+v.circumference),t.pivot()},removeHoverStyle:function(e){t.DatasetController.prototype.removeHoverStyle.call(this,e,this.chart.options.elements.arc)},calculateTotal:function(){var t,n=this.getDataset(),r=this.getMeta(),i=0;return e.each(r.data,function(e,r){t=n.data[r],isNaN(t)||e.hidden||(i+=Math.abs(t))}),i},calculateCircumference:function(t){var e=this.getMeta().total;return e>0&&!isNaN(t)?2*Math.PI*(t/e):0},getMaxBorderWidth:function(t){for(var e,n,r=0,i=this.index,o=t.length,a=0;a(r=e>r?e:r)?n:r;return r}})}},{}],18:[function(t,e,n){\"use strict\";e.exports=function(t){var e=t.helpers;function n(t,n){return e.getValueOrDefault(t.showLine,n.showLines)}t.defaults.line={showLines:!0,spanGaps:!1,hover:{mode:\"label\"},scales:{xAxes:[{type:\"category\",id:\"x-axis-0\"}],yAxes:[{type:\"linear\",id:\"y-axis-0\"}]}},t.controllers.line=t.DatasetController.extend({datasetElementType:t.elements.Line,dataElementType:t.elements.Point,update:function(t){var r,i,o,a=this,s=a.getMeta(),l=s.dataset,u=s.data||[],c=a.chart.options,d=c.elements.line,h=a.getScaleForId(s.yAxisID),f=a.getDataset(),p=n(f,c);for(p&&(o=l.custom||{},void 0!==f.tension&&void 0===f.lineTension&&(f.lineTension=f.tension),l._scale=h,l._datasetIndex=a.index,l._children=u,l._model={spanGaps:f.spanGaps?f.spanGaps:c.spanGaps,tension:o.tension?o.tension:e.getValueOrDefault(f.lineTension,d.tension),backgroundColor:o.backgroundColor?o.backgroundColor:f.backgroundColor||d.backgroundColor,borderWidth:o.borderWidth?o.borderWidth:f.borderWidth||d.borderWidth,borderColor:o.borderColor?o.borderColor:f.borderColor||d.borderColor,borderCapStyle:o.borderCapStyle?o.borderCapStyle:f.borderCapStyle||d.borderCapStyle,borderDash:o.borderDash?o.borderDash:f.borderDash||d.borderDash,borderDashOffset:o.borderDashOffset?o.borderDashOffset:f.borderDashOffset||d.borderDashOffset,borderJoinStyle:o.borderJoinStyle?o.borderJoinStyle:f.borderJoinStyle||d.borderJoinStyle,fill:o.fill?o.fill:void 0!==f.fill?f.fill:d.fill,steppedLine:o.steppedLine?o.steppedLine:e.getValueOrDefault(f.steppedLine,d.stepped),cubicInterpolationMode:o.cubicInterpolationMode?o.cubicInterpolationMode:e.getValueOrDefault(f.cubicInterpolationMode,d.cubicInterpolationMode),scaleTop:h.top,scaleBottom:h.bottom,scaleZero:h.getBasePixel()},l.pivot()),r=0,i=u.length;r');var n=t.data,r=n.datasets,i=n.labels;if(r.length)for(var o=0;o'),i[o]&&e.push(i[o]),e.push(\"\");return e.push(\"\"),e.join(\"\")},legend:{labels:{generateLabels:function(t){var n=t.data;return n.labels.length&&n.datasets.length?n.labels.map(function(r,i){var o=t.getDatasetMeta(0),a=n.datasets[0],s=o.data[i].custom||{},l=e.getValueAtIndexOrDefault,u=t.options.elements.arc;return{text:r,fillStyle:s.backgroundColor?s.backgroundColor:l(a.backgroundColor,i,u.backgroundColor),strokeStyle:s.borderColor?s.borderColor:l(a.borderColor,i,u.borderColor),lineWidth:s.borderWidth?s.borderWidth:l(a.borderWidth,i,u.borderWidth),hidden:isNaN(a.data[i])||o.data[i].hidden,index:i}}):[]}},onClick:function(t,e){var n,r,i,o=e.index,a=this.chart;for(n=0,r=(a.data.datasets||[]).length;n0&&!isNaN(t)?2*Math.PI/e:0}})}},{}],20:[function(t,e,n){\"use strict\";e.exports=function(t){var e=t.helpers;t.defaults.radar={aspectRatio:1,scale:{type:\"radialLinear\"},elements:{line:{tension:0}}},t.controllers.radar=t.DatasetController.extend({datasetElementType:t.elements.Line,dataElementType:t.elements.Point,linkScales:e.noop,update:function(t){var n=this,r=n.getMeta(),i=r.dataset,o=r.data,a=i.custom||{},s=n.getDataset(),l=n.chart.options.elements.line,u=n.chart.scale;void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),e.extend(r.dataset,{_datasetIndex:n.index,_children:o,_loop:!0,_model:{tension:a.tension?a.tension:e.getValueOrDefault(s.lineTension,l.tension),backgroundColor:a.backgroundColor?a.backgroundColor:s.backgroundColor||l.backgroundColor,borderWidth:a.borderWidth?a.borderWidth:s.borderWidth||l.borderWidth,borderColor:a.borderColor?a.borderColor:s.borderColor||l.borderColor,fill:a.fill?a.fill:void 0!==s.fill?s.fill:l.fill,borderCapStyle:a.borderCapStyle?a.borderCapStyle:s.borderCapStyle||l.borderCapStyle,borderDash:a.borderDash?a.borderDash:s.borderDash||l.borderDash,borderDashOffset:a.borderDashOffset?a.borderDashOffset:s.borderDashOffset||l.borderDashOffset,borderJoinStyle:a.borderJoinStyle?a.borderJoinStyle:s.borderJoinStyle||l.borderJoinStyle,scaleTop:u.top,scaleBottom:u.bottom,scaleZero:u.getBasePosition()}}),r.dataset.pivot(),e.each(o,function(e,r){n.updateElement(e,r,t)},n),n.updateBezierControlPoints()},updateElement:function(t,n,r){var i=this,o=t.custom||{},a=i.getDataset(),s=i.chart.scale,l=i.chart.options.elements.point,u=s.getPointPositionForValue(n,a.data[n]);e.extend(t,{_datasetIndex:i.index,_index:n,_scale:s,_model:{x:r?s.xCenter:u.x,y:r?s.yCenter:u.y,tension:o.tension?o.tension:e.getValueOrDefault(a.tension,i.chart.options.elements.line.tension),radius:o.radius?o.radius:e.getValueAtIndexOrDefault(a.pointRadius,n,l.radius),backgroundColor:o.backgroundColor?o.backgroundColor:e.getValueAtIndexOrDefault(a.pointBackgroundColor,n,l.backgroundColor),borderColor:o.borderColor?o.borderColor:e.getValueAtIndexOrDefault(a.pointBorderColor,n,l.borderColor),borderWidth:o.borderWidth?o.borderWidth:e.getValueAtIndexOrDefault(a.pointBorderWidth,n,l.borderWidth),pointStyle:o.pointStyle?o.pointStyle:e.getValueAtIndexOrDefault(a.pointStyle,n,l.pointStyle),hitRadius:o.hitRadius?o.hitRadius:e.getValueAtIndexOrDefault(a.hitRadius,n,l.hitRadius)}}),t._model.skip=o.skip?o.skip:isNaN(t._model.x)||isNaN(t._model.y)},updateBezierControlPoints:function(){var t=this.chart.chartArea,n=this.getMeta();e.each(n.data,function(r,i){var o=r._model,a=e.splineCurve(e.previousItem(n.data,i,!0)._model,o,e.nextItem(n.data,i,!0)._model,o.tension);o.controlPointPreviousX=Math.max(Math.min(a.previous.x,t.right),t.left),o.controlPointPreviousY=Math.max(Math.min(a.previous.y,t.bottom),t.top),o.controlPointNextX=Math.max(Math.min(a.next.x,t.right),t.left),o.controlPointNextY=Math.max(Math.min(a.next.y,t.bottom),t.top),r.pivot()})},draw:function(t){var n=this.getMeta(),r=t||1;e.each(n.data,function(t){t.transition(r)}),n.dataset.transition(r).draw(),e.each(n.data,function(t){t.draw()})},setHoverStyle:function(t){var n=this.chart.data.datasets[t._datasetIndex],r=t.custom||{},i=t._index,o=t._model;o.radius=r.hoverRadius?r.hoverRadius:e.getValueAtIndexOrDefault(n.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius),o.backgroundColor=r.hoverBackgroundColor?r.hoverBackgroundColor:e.getValueAtIndexOrDefault(n.pointHoverBackgroundColor,i,e.getHoverColor(o.backgroundColor)),o.borderColor=r.hoverBorderColor?r.hoverBorderColor:e.getValueAtIndexOrDefault(n.pointHoverBorderColor,i,e.getHoverColor(o.borderColor)),o.borderWidth=r.hoverBorderWidth?r.hoverBorderWidth:e.getValueAtIndexOrDefault(n.pointHoverBorderWidth,i,o.borderWidth)},removeHoverStyle:function(t){var n=this.chart.data.datasets[t._datasetIndex],r=t.custom||{},i=t._index,o=t._model,a=this.chart.options.elements.point;o.radius=r.radius?r.radius:e.getValueAtIndexOrDefault(n.radius,i,a.radius),o.backgroundColor=r.backgroundColor?r.backgroundColor:e.getValueAtIndexOrDefault(n.pointBackgroundColor,i,a.backgroundColor),o.borderColor=r.borderColor?r.borderColor:e.getValueAtIndexOrDefault(n.pointBorderColor,i,a.borderColor),o.borderWidth=r.borderWidth?r.borderWidth:e.getValueAtIndexOrDefault(n.pointBorderWidth,i,a.borderWidth)}})}},{}],21:[function(t,e,n){\"use strict\";e.exports=function(t){var e=t.helpers;t.defaults.global.animation={duration:1e3,easing:\"easeOutQuart\",onProgress:e.noop,onComplete:e.noop},t.Animation=t.Element.extend({currentStep:null,numSteps:60,easing:\"\",render:null,onAnimationProgress:null,onAnimationComplete:null}),t.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(t,e,n,r){var i=this;r||(t.animating=!0);for(var o=0;o1&&(n=Math.floor(t.dropFrames),t.dropFrames=t.dropFrames%1);for(var r=0;rt.animations[r].animationObject.numSteps&&(t.animations[r].animationObject.currentStep=t.animations[r].animationObject.numSteps),t.animations[r].animationObject.render(t.animations[r].chartInstance,t.animations[r].animationObject),t.animations[r].animationObject.onAnimationProgress&&t.animations[r].animationObject.onAnimationProgress.call&&t.animations[r].animationObject.onAnimationProgress.call(t.animations[r].chartInstance,t.animations[r]),t.animations[r].animationObject.currentStep===t.animations[r].animationObject.numSteps?(t.animations[r].animationObject.onAnimationComplete&&t.animations[r].animationObject.onAnimationComplete.call&&t.animations[r].animationObject.onAnimationComplete.call(t.animations[r].chartInstance,t.animations[r]),t.animations[r].chartInstance.animating=!1,t.animations.splice(r,1)):++r;var i=(Date.now()-e)/t.frameDuration;t.dropFrames+=i,t.animations.length>0&&t.requestAnimationFrame()}}}},{}],22:[function(t,e,n){\"use strict\";e.exports=function(t){(t.canvasHelpers={}).drawPoint=function(t,e,n,r,i){var o,a,s,l,c,d;if(\"object\"!==(void 0===e?\"undefined\":u(e))||\"[object HTMLImageElement]\"!==(o=e.toString())&&\"[object HTMLCanvasElement]\"!==o){if(!(isNaN(n)||n<=0)){switch(e){default:t.beginPath(),t.arc(r,i,n,0,2*Math.PI),t.closePath(),t.fill();break;case\"triangle\":t.beginPath(),c=(a=3*n/Math.sqrt(3))*Math.sqrt(3)/2,t.moveTo(r-a/2,i+c/3),t.lineTo(r+a/2,i+c/3),t.lineTo(r,i-2*c/3),t.closePath(),t.fill();break;case\"rect\":d=1/Math.SQRT2*n,t.beginPath(),t.fillRect(r-d,i-d,2*d,2*d),t.strokeRect(r-d,i-d,2*d,2*d);break;case\"rectRot\":d=1/Math.SQRT2*n,t.beginPath(),t.moveTo(r-d,i),t.lineTo(r,i+d),t.lineTo(r+d,i),t.lineTo(r,i-d),t.closePath(),t.fill();break;case\"cross\":t.beginPath(),t.moveTo(r,i+n),t.lineTo(r,i-n),t.moveTo(r-n,i),t.lineTo(r+n,i),t.closePath();break;case\"crossRot\":t.beginPath(),s=Math.cos(Math.PI/4)*n,l=Math.sin(Math.PI/4)*n,t.moveTo(r-s,i-l),t.lineTo(r+s,i+l),t.moveTo(r-s,i+l),t.lineTo(r+s,i-l),t.closePath();break;case\"star\":t.beginPath(),t.moveTo(r,i+n),t.lineTo(r,i-n),t.moveTo(r-n,i),t.lineTo(r+n,i),s=Math.cos(Math.PI/4)*n,l=Math.sin(Math.PI/4)*n,t.moveTo(r-s,i-l),t.lineTo(r+s,i+l),t.moveTo(r-s,i+l),t.lineTo(r+s,i-l),t.closePath();break;case\"line\":t.beginPath(),t.moveTo(r-n,i),t.lineTo(r+n,i),t.closePath();break;case\"dash\":t.beginPath(),t.moveTo(r,i),t.lineTo(r+n,i),t.closePath()}t.stroke()}}else t.drawImage(e,r-e.width/2,i-e.height/2)}}},{}],23:[function(t,e,n){\"use strict\";e.exports=function(t){var e=t.helpers;function n(t,n){var r=e.getStyle(t,n),i=r&&r.match(/(\\d+)px/);return i?Number(i[1]):void 0}function r(t,e){if(\"string\"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t instanceof HTMLCanvasElement){var r=t.getContext&&t.getContext(\"2d\");if(r instanceof CanvasRenderingContext2D)return function(t,e){var r=t.style,i=t.getAttribute(\"height\"),o=t.getAttribute(\"width\");if(t._chartjs={initial:{height:i,width:o,style:{display:r.display,height:r.height,width:r.width}}},r.display=r.display||\"block\",null===o||\"\"===o){var a=n(t,\"width\");void 0!==a&&(t.width=a)}if(null===i||\"\"===i)if(\"\"===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var s=n(t,\"height\");void 0!==a&&(t.height=s)}}(t,e),r}return null}t.types={},t.instances={},t.controllers={},t.Controller=function(n,i,o){var a=this,s=r(n,i=function(n){var r=(n=n||{}).data=n.data||{};return r.datasets=r.datasets||[],r.labels=r.labels||[],n.options=e.configMerge(t.defaults.global,t.defaults[n.type],n.options||{}),n}(i)),l=s&&s.canvas,u=l&&l.height,c=l&&l.width;return o.ctx=s,o.canvas=l,o.config=i,o.width=c,o.height=u,o.aspectRatio=u?c/u:null,a.id=e.uid(),a.chart=o,a.config=i,a.options=i.options,a._bufferedRender=!1,t.instances[a.id]=a,Object.defineProperty(a,\"data\",{get:function(){return a.config.data}}),s&&l?(e.retinaScale(o),a.options.responsive&&(e.addResizeListener(l.parentNode,function(){a.resize()}),a.resize(!0)),a.initialize(),a):(console.error(\"Failed to create chart: can't acquire context from the given item\"),a)},e.extend(t.Controller.prototype,{initialize:function(){var e=this;return t.plugins.notify(\"beforeInit\",[e]),e.bindEvents(),e.ensureScalesHaveIDs(),e.buildOrUpdateControllers(),e.buildScales(),e.updateLayout(),e.resetElements(),e.initToolTip(),e.update(),t.plugins.notify(\"afterInit\",[e]),e},clear:function(){return e.clear(this.chart),this},stop:function(){return t.animationService.cancelAnimation(this),this},resize:function(n){if(this.canvas){var r=this,i=r.chart,o=r.options,a=i.canvas,s=o.maintainAspectRatio&&i.aspectRatio||null,l=Math.floor(e.getMaximumWidth(a)),u=Math.floor(s?l/s:e.getMaximumHeight(a));if(i.width!==l||i.height!==u){a.width=i.width=l,a.height=i.height=u,a.style.width=l+\"px\",a.style.height=u+\"px\",e.retinaScale(i);var c={width:l,height:u};t.plugins.notify(\"resize\",[r,c]),r.options.onResize&&r.options.onResize(r,c),n||(r.stop(),r.update(r.options.responsiveAnimationDuration))}}},ensureScalesHaveIDs:function(){var t=this.options,n=t.scales||{},r=t.scale;e.each(n.xAxes,function(t,e){t.id=t.id||\"x-axis-\"+e}),e.each(n.yAxes,function(t,e){t.id=t.id||\"y-axis-\"+e}),r&&(r.id=r.id||\"scale\")},buildScales:function(){var n=this,r=n.options,i=n.scales={},o=[];r.scales&&(o=o.concat((r.scales.xAxes||[]).map(function(t){return{options:t,dtype:\"category\"}}),(r.scales.yAxes||[]).map(function(t){return{options:t,dtype:\"linear\"}}))),r.scale&&o.push({options:r.scale,dtype:\"radialLinear\",isDefault:!0}),e.each(o,function(r){var o=r.options,a=e.getValueOrDefault(o.type,r.dtype),s=t.scaleService.getScaleConstructor(a);if(s){var l=new s({id:o.id,options:o,ctx:n.chart.ctx,chart:n});i[l.id]=l,r.isDefault&&(n.scale=l)}}),t.scaleService.addScalesToLayout(this)},updateLayout:function(){t.layoutService.update(this,this.chart.width,this.chart.height)},buildOrUpdateControllers:function(){var n=this,r=[],i=[];if(e.each(n.data.datasets,function(e,o){var a=n.getDatasetMeta(o);a.type||(a.type=e.type||n.config.type),r.push(a.type),a.controller?a.controller.updateIndex(o):(a.controller=new t.controllers[a.type](n,o),i.push(a.controller))},n),r.length>1)for(var o=1;o0||(n.forEach(function(e){delete t[e]}),delete t._chartjs)}}t.DatasetController=function(t,e){this.initialize(t,e)},e.extend(t.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(t,e){this.chart=t,this.index=e,this.linkScales(),this.addElements()},updateIndex:function(t){this.index=t},linkScales:function(){var t=this.getMeta(),e=this.getDataset();null===t.xAxisID&&(t.xAxisID=e.xAxisID||this.chart.options.scales.xAxes[0].id),null===t.yAxisID&&(t.yAxisID=e.yAxisID||this.chart.options.scales.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]},reset:function(){this.update(!0)},destroy:function(){this._data&&r(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart.chart,_datasetIndex:this.index,_index:t})},addElements:function(){var t,e,n=this.getMeta(),r=this.getDataset().data||[],i=n.data;for(t=0,e=r.length;tn&&this.insertElements(n,r-n)},insertElements:function(t,e){for(var n=0;n=0;o--)e.call(r,t[o],o);else for(o=0;o=i[r].length||!i[r][o].type?i[r].push(n.configMerge(s,e)):e.type&&e.type!==i[r][o].type?i[r][o]=n.configMerge(i[r][o],s,e):i[r][o]=n.configMerge(i[r][o],e)}):(i[r]=[],n.each(e,function(e){var o=n.getValueOrDefault(e.type,\"xAxes\"===r?\"category\":\"linear\");i[r].push(n.configMerge(t.scaleService.getScaleDefaults(o),e))})):i.hasOwnProperty(r)&&\"object\"===u(i[r])&&null!==i[r]&&\"object\"===(void 0===e?\"undefined\":u(e))?i[r]=n.configMerge(i[r],e):i[r]=e}),i},n.getValueAtIndexOrDefault=function(t,e,r){return void 0===t||null===t?r:n.isArray(t)?e=0;r--){var i=t[r];if(e(i))return i}},n.inherits=function(t){var e=this,r=t&&t.hasOwnProperty(\"constructor\")?t.constructor:function(){return e.apply(this,arguments)},i=function(){this.constructor=r};return i.prototype=e.prototype,r.prototype=new i,r.extend=n.inherits,t&&n.extend(r.prototype,t),r.__super__=e.prototype,r},n.noop=function(){},n.uid=(e=0,function(){return e++}),n.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},n.almostEquals=function(t,e,n){return Math.abs(t-e)0?1:-1},n.log10=Math.log10?function(t){return Math.log10(t)}:function(t){return Math.log(t)/Math.LN10},n.toRadians=function(t){return t*(Math.PI/180)},n.toDegrees=function(t){return t*(180/Math.PI)},n.getAngleFromPoint=function(t,e){var n=e.x-t.x,r=e.y-t.y,i=Math.sqrt(n*n+r*r),o=Math.atan2(r,n);return o<-.5*Math.PI&&(o+=2*Math.PI),{angle:o,distance:i}},n.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},n.aliasPixel=function(t){return t%2==0?0:.5},n.splineCurve=function(t,e,n,r){var i=t.skip?e:t,o=e,a=n.skip?e:n,s=Math.sqrt(Math.pow(o.x-i.x,2)+Math.pow(o.y-i.y,2)),l=Math.sqrt(Math.pow(a.x-o.x,2)+Math.pow(a.y-o.y,2)),u=s/(s+l),c=l/(s+l),d=r*(u=isNaN(u)?0:u),h=r*(c=isNaN(c)?0:c);return{previous:{x:o.x-d*(a.x-i.x),y:o.y-d*(a.y-i.y)},next:{x:o.x+h*(a.x-i.x),y:o.y+h*(a.y-i.y)}}},n.EPSILON=Number.EPSILON||1e-14,n.splineCurveMonotone=function(t){var e,r,i,o,a,s,l,u,c,d=(t||[]).map(function(t){return{model:t._model,deltaK:0,mK:0}}),h=d.length;for(e=0;e0?d[e-1]:null,(o=e0?d[e-1]:null,o=e=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},n.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},n.niceNum=function(t,e){var r=Math.floor(n.log10(t)),i=t/Math.pow(10,r);return(e?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,r)};var i=n.easingEffects={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-1*t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return 1*((t=t/1-1)*t*t+1)},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-1*((t=t/1-1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return 1*(t/=1)*t*t*t*t},easeOutQuint:function(t){return 1*((t=t/1-1)*t*t*t*t+1)},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return-1*Math.cos(t/1*(Math.PI/2))+1},easeOutSine:function(t){return 1*Math.sin(t/1*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t/1)-1)},easeInExpo:function(t){return 0===t?1:1*Math.pow(2,10*(t/1-1))},easeOutExpo:function(t){return 1===t?1:1*(1-Math.pow(2,-10*t/1))},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return t>=1?t:-1*(Math.sqrt(1-(t/=1)*t)-1)},easeOutCirc:function(t){return 1*Math.sqrt(1-(t=t/1-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,n=0,r=1;return 0===t?0:1==(t/=1)?1:(n||(n=.3),r0?(r=l[0].clientX,i=l[0].clientY):(r=o.clientX,i=o.clientY);var u=parseFloat(n.getStyle(a,\"padding-left\")),c=parseFloat(n.getStyle(a,\"padding-top\")),d=parseFloat(n.getStyle(a,\"padding-right\")),h=parseFloat(n.getStyle(a,\"padding-bottom\")),f=s.right-s.left-u-d,p=s.bottom-s.top-c-h;return{x:r=Math.round((r-s.left-u)/f*a.width/e.currentDevicePixelRatio),y:i=Math.round((i-s.top-c)/p*a.height/e.currentDevicePixelRatio)}},n.addEvent=function(t,e,n){t.addEventListener?t.addEventListener(e,n):t.attachEvent?t.attachEvent(\"on\"+e,n):t[\"on\"+e]=n},n.removeEvent=function(t,e,r){t.removeEventListener?t.removeEventListener(e,r,!1):t.detachEvent?t.detachEvent(\"on\"+e,r):t[\"on\"+e]=n.noop},n.bindEvents=function(t,e,r){var i=t.events=t.events||{};n.each(e,function(e){i[e]=function(){r.apply(t,arguments)},n.addEvent(t.chart.canvas,e,i[e])})},n.unbindEvents=function(t,e){var r=t.chart.canvas;n.each(e,function(t,e){n.removeEvent(r,e,t)})},n.getConstraintWidth=function(t){return s(t,\"max-width\",\"clientWidth\")},n.getConstraintHeight=function(t){return s(t,\"max-height\",\"clientHeight\")},n.getMaximumWidth=function(t){var e=t.parentNode,r=parseInt(n.getStyle(e,\"padding-left\"),10),i=parseInt(n.getStyle(e,\"padding-right\"),10),o=e.clientWidth-r-i,a=n.getConstraintWidth(t);return isNaN(a)?o:Math.min(o,a)},n.getMaximumHeight=function(t){var e=t.parentNode,r=parseInt(n.getStyle(e,\"padding-top\"),10),i=parseInt(n.getStyle(e,\"padding-bottom\"),10),o=e.clientHeight-r-i,a=n.getConstraintHeight(t);return isNaN(a)?o:Math.min(o,a)},n.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},n.retinaScale=function(t){var e=t.currentDevicePixelRatio=window.devicePixelRatio||1;if(1!==e){var n=t.canvas,r=t.height,i=t.width;n.height=r*e,n.width=i*e,t.ctx.scale(e,e),n.style.height=r+\"px\",n.style.width=i+\"px\"}},n.clear=function(t){t.ctx.clearRect(0,0,t.width,t.height)},n.fontString=function(t,e,n){return e+\" \"+t+\"px \"+n},n.longestText=function(t,e,r,i){var o=(i=i||{}).data=i.data||{},a=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(o=i.data={},a=i.garbageCollect=[],i.font=e),t.font=e;var s=0;n.each(r,function(e){void 0!==e&&null!==e&&!0!==n.isArray(e)?s=n.measureText(t,o,a,s,e):n.isArray(e)&&n.each(e,function(e){void 0===e||null===e||n.isArray(e)||(s=n.measureText(t,o,a,s,e))})});var l=a.length/2;if(l>r.length){for(var u=0;ur&&(r=o),r},n.numberOfLabelLines=function(t){var e=1;return n.each(t,function(t){n.isArray(t)&&t.length>e&&(e=t.length)}),e},n.drawRoundedRectangle=function(t,e,n,r,i,o){t.beginPath(),t.moveTo(e+o,n),t.lineTo(e+r-o,n),t.quadraticCurveTo(e+r,n,e+r,n+o),t.lineTo(e+r,n+i-o),t.quadraticCurveTo(e+r,n+i,e+r-o,n+i),t.lineTo(e+o,n+i),t.quadraticCurveTo(e,n+i,e,n+i-o),t.lineTo(e,n+o),t.quadraticCurveTo(e,n,e+o,n),t.closePath()},n.color=function(e){return r?e instanceof CanvasGradient?r(t.defaults.global.defaultColor):r(e):(console.error(\"Color.js not found!\"),e)},n.addResizeListener=function(t,e){var r=document.createElement(\"iframe\");r.className=\"chartjs-hidden-iframe\",r.style.cssText=\"display:block;overflow:hidden;border:0;margin:0;top:0;left:0;bottom:0;right:0;height:100%;width:100%;position:absolute;pointer-events:none;z-index:-1;\",r.tabIndex=-1;var i=t._chartjs={resizer:r,ticking:!1},o=function(){i.ticking||(i.ticking=!0,n.requestAnimFrame.call(window,function(){if(i.resizer)return i.ticking=!1,e()}))};n.addEvent(r,\"load\",function(){n.addEvent(r.contentWindow||r,\"resize\",o),o()}),t.insertBefore(r,t.firstChild)},n.removeResizeListener=function(t){if(t&&t._chartjs){var e=t._chartjs.resizer;e&&(e.parentNode.removeChild(e),t._chartjs.resizer=null),delete t._chartjs}},n.isArray=Array.isArray?function(t){return Array.isArray(t)}:function(t){return\"[object Array]\"===Object.prototype.toString.call(t)},n.arrayEquals=function(t,e){var r,i,o,a;if(!t||!e||t.length!==e.length)return!1;for(r=0,i=t.length;r0&&(s=t.getDatasetMeta(s[0]._datasetIndex).data),s},\"x-axis\":function(t,e){return o(t,e,!0)},point:function(t,n){return r(t,e.getRelativePosition(n,t.chart))},nearest:function(t,n,r){var o=i(t,e.getRelativePosition(n,t.chart),r.intersect);return o.length>1&&o.sort(function(t,e){var n=t.getArea()-e.getArea();return 0===n&&(n=t._datasetIndex-e._datasetIndex),n}),o.slice(0,1)},x:function(t,r,i){var o=e.getRelativePosition(r,t.chart),a=[],s=!1;return n(t,function(t){t.inXRange(o.x)&&a.push(t),t.inRange(o.x,o.y)&&(s=!0)}),i.intersect&&!s&&(a=[]),a},y:function(t,r,i){var o=e.getRelativePosition(r,t.chart),a=[],s=!1;return n(t,function(t){t.inYRange(o.y)&&a.push(t),t.inRange(o.x,o.y)&&(s=!0)}),i.intersect&&!s&&(a=[]),a}}}}},{}],28:[function(t,e,n){\"use strict\";e.exports=function(){var t=function t(e,n){return this.controller=new t.Controller(e,n,this),this.controller};return t.defaults={global:{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:[\"mousemove\",\"mouseout\",\"click\",\"touchstart\",\"touchmove\"],hover:{onHover:null,mode:\"nearest\",intersect:!0,animationDuration:400},onClick:null,defaultColor:\"rgba(0,0,0,0.1)\",defaultFontColor:\"#666\",defaultFontFamily:\"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif\",defaultFontSize:12,defaultFontStyle:\"normal\",showLines:!0,elements:{},legendCallback:function(t){var e=[];e.push('
    ');for(var n=0;n'),t.data.datasets[n].label&&e.push(t.data.datasets[n].label),e.push(\"\");return e.push(\"
\"),e.join(\"\")}}},t.Chart=t,t}},{}],29:[function(t,e,n){\"use strict\";e.exports=function(t){var e=t.helpers;t.layoutService={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),t.boxes.push(e)},removeBox:function(t,e){t.boxes&&t.boxes.splice(t.boxes.indexOf(e),1)},update:function(t,n,r){if(t){var i=t.options.layout,o=i?i.padding:null,a=0,s=0,l=0,u=0;isNaN(o)?(a=o.left||0,s=o.right||0,l=o.top||0,u=o.bottom||0):(a=o,s=o,l=o,u=o);var c=e.where(t.boxes,function(t){return\"left\"===t.options.position}),d=e.where(t.boxes,function(t){return\"right\"===t.options.position}),h=e.where(t.boxes,function(t){return\"top\"===t.options.position}),f=e.where(t.boxes,function(t){return\"bottom\"===t.options.position}),p=e.where(t.boxes,function(t){return\"chartArea\"===t.options.position});h.sort(function(t,e){return(e.options.fullWidth?1:0)-(t.options.fullWidth?1:0)}),f.sort(function(t,e){return(t.options.fullWidth?1:0)-(e.options.fullWidth?1:0)});var g=n-a-s,m=r-l-u,y=m/2,v=(n-g/2)/(c.length+d.length),b=(r-y)/(h.length+f.length),x=g,w=m,k=[];e.each(c.concat(d,h,f),function(t){var e,n=t.isHorizontal();n?(e=t.update(t.options.fullWidth?g:x,b),w-=e.height):(e=t.update(v,y),x-=e.width),k.push({horizontal:n,minSize:e,box:t})});var C=a,S=s,A=l,T=u;e.each(c.concat(d),P),e.each(c,function(t){C+=t.width}),e.each(d,function(t){S+=t.width}),e.each(h.concat(f),P),e.each(h,function(t){A+=t.height}),e.each(f,function(t){T+=t.height}),e.each(c.concat(d),function(t){var n=e.findNextWhere(k,function(e){return e.box===t}),r={left:0,right:0,top:A,bottom:T};n&&t.update(n.minSize.width,w,r)}),C=a,S=s,A=l,T=u,e.each(c,function(t){C+=t.width}),e.each(d,function(t){S+=t.width}),e.each(h,function(t){A+=t.height}),e.each(f,function(t){T+=t.height});var M=r-A-T,I=n-C-S;I===x&&M===w||(e.each(c,function(t){t.height=M}),e.each(d,function(t){t.height=M}),e.each(h,function(t){t.options.fullWidth||(t.width=I)}),e.each(f,function(t){t.options.fullWidth||(t.width=I)}),w=M,x=I);var F=a,D=l;e.each(c.concat(h),R),F+=x,D+=w,e.each(d,R),e.each(f,R),t.chartArea={left:C,top:A,right:C+x,bottom:A+w},e.each(p,function(e){e.left=t.chartArea.left,e.top=t.chartArea.top,e.right=t.chartArea.right,e.bottom=t.chartArea.bottom,e.update(x,w)})}function P(t){var n=e.findNextWhere(k,function(e){return e.box===t});if(n)if(t.isHorizontal()){var r={left:C,right:S,top:0,bottom:0};t.update(t.options.fullWidth?g:x,m/2,r)}else t.update(n.minSize.width,w)}function R(t){t.isHorizontal()?(t.left=t.options.fullWidth?a:C,t.right=t.options.fullWidth?n-s:C+x,t.top=D,t.bottom=D+t.height,D=t.bottom):(t.left=F,t.right=F+t.width,t.top=A,t.bottom=A+w,F=t.right)}}}}},{}],30:[function(t,e,n){\"use strict\";e.exports=function(t){var e=t.helpers,n=e.noop;function r(t,e){return t.usePointStyle?e*Math.SQRT2:t.boxWidth}t.defaults.global.legend={display:!0,position:\"top\",fullWidth:!0,reverse:!1,onClick:function(t,e){var n=e.datasetIndex,r=this.chart,i=r.getDatasetMeta(n);i.hidden=null===i.hidden?!r.data.datasets[n].hidden:null,r.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var n=t.data;return e.isArray(n.datasets)?n.datasets.map(function(n,r){return{text:n.label,fillStyle:e.isArray(n.backgroundColor)?n.backgroundColor[0]:n.backgroundColor,hidden:!t.isDatasetVisible(r),lineCap:n.borderCapStyle,lineDash:n.borderDash,lineDashOffset:n.borderDashOffset,lineJoin:n.borderJoinStyle,lineWidth:n.borderWidth,strokeStyle:n.borderColor,pointStyle:n.pointStyle,datasetIndex:r}},this):[]}}},t.Legend=t.Element.extend({initialize:function(t){e.extend(this,t),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:n,update:function(t,e,n){var r=this;return r.beforeUpdate(),r.maxWidth=t,r.maxHeight=e,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:n,beforeSetDimensions:n,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:n,beforeBuildLabels:n,buildLabels:function(){var t=this;t.legendItems=t.options.labels.generateLabels.call(t,t.chart),t.options.reverse&&t.legendItems.reverse()},afterBuildLabels:n,beforeFit:n,fit:function(){var n=this,i=n.options,o=i.labels,a=i.display,s=n.ctx,l=t.defaults.global,u=e.getValueOrDefault,c=u(o.fontSize,l.defaultFontSize),d=u(o.fontStyle,l.defaultFontStyle),h=u(o.fontFamily,l.defaultFontFamily),f=e.fontString(c,d,h),p=n.legendHitBoxes=[],g=n.minSize,m=n.isHorizontal();if(m?(g.width=n.maxWidth,g.height=a?10:0):(g.width=a?10:0,g.height=n.maxHeight),a)if(s.font=f,m){var y=n.lineWidths=[0],v=n.legendItems.length?c+o.padding:0;s.textAlign=\"left\",s.textBaseline=\"top\",e.each(n.legendItems,function(t,e){var i=r(o,c)+c/2+s.measureText(t.text).width;y[y.length-1]+i+o.padding>=n.width&&(v+=c+o.padding,y[y.length]=n.left),p[e]={left:0,top:0,width:i,height:c},y[y.length-1]+=i+o.padding}),g.height+=v}else{var b=o.padding,x=n.columnWidths=[],w=o.padding,k=0,C=0,S=c+b;e.each(n.legendItems,function(t,e){var n=r(o,c)+c/2+s.measureText(t.text).width;C+S>g.height&&(w+=k+o.padding,x.push(k),k=0,C=0),k=Math.max(k,n),C+=S,p[e]={left:0,top:0,width:n,height:c}}),w+=k,x.push(k),g.width+=w}n.width=g.width,n.height=g.height},afterFit:n,isHorizontal:function(){return\"top\"===this.options.position||\"bottom\"===this.options.position},draw:function(){var n=this,i=n.options,o=i.labels,a=t.defaults.global,s=a.elements.line,l=n.width,u=n.lineWidths;if(i.display){var c,d=n.ctx,h=e.getValueOrDefault,f=h(o.fontColor,a.defaultFontColor),p=h(o.fontSize,a.defaultFontSize),g=h(o.fontStyle,a.defaultFontStyle),m=h(o.fontFamily,a.defaultFontFamily),y=e.fontString(p,g,m);d.textAlign=\"left\",d.textBaseline=\"top\",d.lineWidth=.5,d.strokeStyle=f,d.fillStyle=f,d.font=y;var v=r(o,p),b=n.legendHitBoxes,x=n.isHorizontal();c=x?{x:n.left+(l-u[0])/2,y:n.top+o.padding,line:0}:{x:n.left+o.padding,y:n.top+o.padding,line:0};var w=p+o.padding;e.each(n.legendItems,function(e,r){var f=d.measureText(e.text).width,g=v+p/2+f,m=c.x,y=c.y;x?m+g>=l&&(y=c.y+=w,c.line++,m=c.x=n.left+(l-u[c.line])/2):y+w>n.bottom&&(m=c.x=m+n.columnWidths[c.line]+o.padding,y=c.y=n.top,c.line++),function(e,n,r){if(!(isNaN(v)||v<=0)){d.save(),d.fillStyle=h(r.fillStyle,a.defaultColor),d.lineCap=h(r.lineCap,s.borderCapStyle),d.lineDashOffset=h(r.lineDashOffset,s.borderDashOffset),d.lineJoin=h(r.lineJoin,s.borderJoinStyle),d.lineWidth=h(r.lineWidth,s.borderWidth),d.strokeStyle=h(r.strokeStyle,a.defaultColor);var o=0===h(r.lineWidth,s.borderWidth);if(d.setLineDash&&d.setLineDash(h(r.lineDash,s.borderDash)),i.labels&&i.labels.usePointStyle){var l=p*Math.SQRT2/2,u=l/Math.SQRT2,c=e+u,f=n+u;t.canvasHelpers.drawPoint(d,r.pointStyle,l,c,f)}else o||d.strokeRect(e,n,v,p),d.fillRect(e,n,v,p);d.restore()}}(m,y,e),b[r].left=m,b[r].top=y,function(t,e,n,r){d.fillText(n.text,v+p/2+t,e),n.hidden&&(d.beginPath(),d.lineWidth=2,d.moveTo(v+p/2+t,e+p/2),d.lineTo(v+p/2+t+r,e+p/2),d.stroke())}(m,y,e,f),x?c.x+=g+o.padding:c.y+=w})}},handleEvent:function(t){var n=this,r=n.options,i=\"mouseup\"===t.type?\"click\":t.type,o=!1;if(\"mousemove\"===i){if(!r.onHover)return}else{if(\"click\"!==i)return;if(!r.onClick)return}var a=e.getRelativePosition(t,n.chart.chart),s=a.x,l=a.y;if(s>=n.left&&s<=n.right&&l>=n.top&&l<=n.bottom)for(var u=n.legendHitBoxes,c=0;c=d.left&&s<=d.left+d.width&&l>=d.top&&l<=d.top+d.height){if(\"click\"===i){r.onClick.call(n,t,n.legendItems[c]),o=!0;break}if(\"mousemove\"===i){r.onHover.call(n,t,n.legendItems[c]),o=!0;break}}}return o}}),t.plugins.register({beforeInit:function(e){var n=e.options.legend;n&&(e.legend=new t.Legend({ctx:e.chart.ctx,options:n,chart:e}),t.layoutService.addBox(e,e.legend))}})}},{}],31:[function(t,e,n){\"use strict\";e.exports=function(t){var e=t.helpers.noop;t.plugins={_plugins:[],register:function(t){var e=this._plugins;[].concat(t).forEach(function(t){-1===e.indexOf(t)&&e.push(t)})},unregister:function(t){var e=this._plugins;[].concat(t).forEach(function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)})},clear:function(){this._plugins=[]},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e){var n,r,i=this._plugins,o=i.length;for(n=0;ny&&n.labelRotationn.yLabelWidth&&(n.paddingLeft=c+a/2),n.paddingRight=a/2,p*g>n.maxHeight){n.labelRotation--;break}n.labelRotation++,m=f*g}}n.margins&&(n.paddingLeft=Math.max(n.paddingLeft-n.margins.left,0),n.paddingRight=Math.max(n.paddingRight-n.margins.right,0))},afterCalculateTickRotation:function(){e.callCallback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){e.callCallback(this.options.beforeFit,[this])},fit:function(){var n=this,r=n.minSize={width:0,height:0},i=n.options,o=t.defaults.global,a=i.ticks,s=i.scaleLabel,l=i.gridLines,u=i.display,c=n.isHorizontal(),d=e.getValueOrDefault(a.fontSize,o.defaultFontSize),h=e.getValueOrDefault(a.fontStyle,o.defaultFontStyle),f=e.getValueOrDefault(a.fontFamily,o.defaultFontFamily),p=e.fontString(d,h,f),g=e.getValueOrDefault(s.fontSize,o.defaultFontSize),m=i.gridLines.tickMarkLength;if(r.width=c?n.isFullWidth()?n.maxWidth-n.margins.left-n.margins.right:n.maxWidth:u&&l.drawTicks?m:0,r.height=c?u&&l.drawTicks?m:0:n.maxHeight,s.display&&u&&(c?r.height+=1.5*g:r.width+=1.5*g),a.display&&u){n.longestTextCache||(n.longestTextCache={});var y=e.longestText(n.ctx,p,n.ticks,n.longestTextCache),v=e.numberOfLabelLines(n.ticks),b=.5*d;if(c){n.longestLabelWidth=y;var x=Math.sin(e.toRadians(n.labelRotation))*n.longestLabelWidth+d*v+b*v;r.height=Math.min(n.maxHeight,r.height+x),n.ctx.font=p;var w=n.ctx.measureText(n.ticks[0]).width,k=n.ctx.measureText(n.ticks[n.ticks.length-1]).width,C=Math.cos(e.toRadians(n.labelRotation)),S=Math.sin(e.toRadians(n.labelRotation));n.paddingLeft=0!==n.labelRotation?C*w+3:w/2+3,n.paddingRight=0!==n.labelRotation?S*(d/2)+3:k/2+3}else{var A=n.maxWidth-r.width;a.mirror?y=0:y+=n.options.ticks.padding,y0&&e>0?t:0)},draw:function(n){var r=this,i=r.options;if(i.display){var o,a,s=r.ctx,l=t.defaults.global,u=i.ticks,c=i.gridLines,d=i.scaleLabel,h=0!==r.labelRotation,f=u.autoSkip,p=r.isHorizontal();u.maxTicksLimit&&(a=u.maxTicksLimit);var g=e.getValueOrDefault(u.fontColor,l.defaultFontColor),m=e.getValueOrDefault(u.fontSize,l.defaultFontSize),y=e.getValueOrDefault(u.fontStyle,l.defaultFontStyle),v=e.getValueOrDefault(u.fontFamily,l.defaultFontFamily),b=e.fontString(m,y,v),x=c.tickMarkLength,w=e.getValueOrDefault(c.borderDash,l.borderDash),k=e.getValueOrDefault(c.borderDashOffset,l.borderDashOffset),C=e.getValueOrDefault(d.fontColor,l.defaultFontColor),S=e.getValueOrDefault(d.fontSize,l.defaultFontSize),A=e.getValueOrDefault(d.fontStyle,l.defaultFontStyle),T=e.getValueOrDefault(d.fontFamily,l.defaultFontFamily),M=e.fontString(S,A,T),I=e.toRadians(r.labelRotation),F=Math.cos(I),D=r.longestLabelWidth*F;s.fillStyle=g;var P=[];if(p){if(o=!1,h&&(D/=2),(D+u.autoSkipPadding)*r.ticks.length>r.width-(r.paddingLeft+r.paddingRight)&&(o=1+Math.floor((D+u.autoSkipPadding)*r.ticks.length/(r.width-(r.paddingLeft+r.paddingRight)))),a&&r.ticks.length>a)for(;!o||r.ticks.length/(o||1)>a;)o||(o=1),o+=1;f||(o=!1)}var R=\"right\"===i.position?r.left:r.right-x,_=\"right\"===i.position?r.left+x:r.right,B=\"bottom\"===i.position?r.top:r.bottom-x,E=\"bottom\"===i.position?r.top+x:r.bottom;if(e.each(r.ticks,function(t,a){if(void 0!==t&&null!==t){var s=r.ticks.length===a+1;if((!(o>1&&a%o>0||a%o==0&&a+o>=r.ticks.length)||s)&&void 0!==t&&null!==t){var l,d,f,g,m,y,v,b,C,S,A,T;a===(void 0!==r.zeroLineIndex?r.zeroLineIndex:0)?(l=c.zeroLineWidth,d=c.zeroLineColor):(l=e.getValueAtIndexOrDefault(c.lineWidth,a),d=e.getValueAtIndexOrDefault(c.color,a));var M=\"middle\",F=\"middle\";if(p){h||(F=\"top\"===i.position?\"bottom\":\"top\"),M=h?\"right\":\"center\";var D=r.getPixelForTick(a)+e.aliasPixel(l);A=r.getPixelForTick(a,c.offsetGridLines)+u.labelOffset,T=h?r.top+12:\"top\"===i.position?r.bottom-x:r.top+x,f=m=v=C=D,g=B,y=E,b=n.top,S=n.bottom}else{\"left\"===i.position?u.mirror?(A=r.right+u.padding,M=\"left\"):(A=r.right-u.padding,M=\"right\"):u.mirror?(A=r.left-u.padding,M=\"right\"):(A=r.left+u.padding,M=\"left\");var L=r.getPixelForTick(a);L+=e.aliasPixel(l),T=r.getPixelForTick(a,c.offsetGridLines),f=R,m=_,v=n.left,C=n.right,g=y=b=S=L}P.push({tx1:f,ty1:g,tx2:m,ty2:y,x1:v,y1:b,x2:C,y2:S,labelX:A,labelY:T,glWidth:l,glColor:d,glBorderDash:w,glBorderDashOffset:k,rotation:-1*I,label:t,textBaseline:F,textAlign:M})}}}),e.each(P,function(t){if(c.display&&(s.save(),s.lineWidth=t.glWidth,s.strokeStyle=t.glColor,s.setLineDash&&(s.setLineDash(t.glBorderDash),s.lineDashOffset=t.glBorderDashOffset),s.beginPath(),c.drawTicks&&(s.moveTo(t.tx1,t.ty1),s.lineTo(t.tx2,t.ty2)),c.drawOnChartArea&&(s.moveTo(t.x1,t.y1),s.lineTo(t.x2,t.y2)),s.stroke(),s.restore()),u.display){s.save(),s.translate(t.labelX,t.labelY),s.rotate(t.rotation),s.font=b,s.textBaseline=t.textBaseline,s.textAlign=t.textAlign;var n=t.label;if(e.isArray(n))for(var r=0,i=-(n.length-1)*m*.75;r0)r=t.stepSize;else{var o=e.niceNum(n.max-n.min,!1);r=e.niceNum(o/(t.maxTicks-1),!0)}var a=Math.floor(n.min/r)*r,s=Math.ceil(n.max/r)*r;t.min&&t.max&&t.stepSize&&((t.max-t.min)%t.stepSize==0&&(a=t.min,s=t.max));var l=(s-a)/r;l=e.almostEquals(l,Math.round(l),r/1e3)?Math.round(l):Math.ceil(l),i.push(void 0!==t.min?t.min:a);for(var u=1;u3?r[2]-r[1]:r[1]-r[0];Math.abs(i)>1&&t!==Math.floor(t)&&(i=t-Math.floor(t));var o=e.log10(Math.abs(i)),a=\"\";if(0!==t){var s=-1*Math.floor(o);s=Math.max(Math.min(s,20),0),a=t.toFixed(s)}else a=\"0\";return a},logarithmic:function(t,n,r){var i=t/Math.pow(10,Math.floor(e.log10(t)));return 0===t?\"0\":1===i||2===i||5===i||0===n||n===r.length-1?t.toExponential():\"\"}}}}},{}],35:[function(t,e,n){\"use strict\";e.exports=function(t){var e=t.helpers;t.defaults.global.title={display:!1,position:\"top\",fullWidth:!0,fontStyle:\"bold\",padding:10,text:\"\"};var n=e.noop;t.Title=t.Element.extend({initialize:function(n){e.extend(this,n),this.options=e.configMerge(t.defaults.global.title,n.options),this.legendHitBoxes=[]},beforeUpdate:function(){var n=this.chart.options;n&&n.title&&(this.options=e.configMerge(t.defaults.global.title,n.title))},update:function(t,e,n){var r=this;return r.beforeUpdate(),r.maxWidth=t,r.maxHeight=e,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:n,beforeSetDimensions:n,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:n,beforeBuildLabels:n,buildLabels:n,afterBuildLabels:n,beforeFit:n,fit:function(){var n=this,r=e.getValueOrDefault,i=n.options,o=t.defaults.global,a=i.display,s=r(i.fontSize,o.defaultFontSize),l=n.minSize;n.isHorizontal()?(l.width=n.maxWidth,l.height=a?s+2*i.padding:0):(l.width=a?s+2*i.padding:0,l.height=n.maxHeight),n.width=l.width,n.height=l.height},afterFit:n,isHorizontal:function(){var t=this.options.position;return\"top\"===t||\"bottom\"===t},draw:function(){var n=this,r=n.ctx,i=e.getValueOrDefault,o=n.options,a=t.defaults.global;if(o.display){var s,l,u,c=i(o.fontSize,a.defaultFontSize),d=i(o.fontStyle,a.defaultFontStyle),h=i(o.fontFamily,a.defaultFontFamily),f=e.fontString(c,d,h),p=0,g=n.top,m=n.left,y=n.bottom,v=n.right;r.fillStyle=i(o.fontColor,a.defaultFontColor),r.font=f,n.isHorizontal()?(s=m+(v-m)/2,l=g+(y-g)/2,u=v-m):(s=\"left\"===o.position?m+c/2:v-c/2,l=g+(y-g)/2,u=y-g,p=Math.PI*(\"left\"===o.position?-.5:.5)),r.save(),r.translate(s,l),r.rotate(p),r.textAlign=\"center\",r.textBaseline=\"middle\",r.fillText(o.text,0,0,u),r.restore()}}}),t.plugins.register({beforeInit:function(e){var n=e.options.title;n&&(e.titleBlock=new t.Title({ctx:e.chart.ctx,options:n,chart:e}),t.layoutService.addBox(e,e.titleBlock))}})}},{}],36:[function(t,e,n){\"use strict\";e.exports=function(t){var e=t.helpers;function n(t,n){var r=e.color(t);return r.alpha(n*r.alpha()).rgbaString()}function r(t,n){return n&&(e.isArray(n)?Array.prototype.push.apply(t,n):t.push(n)),t}function i(n){var r=t.defaults.global,i=e.getValueOrDefault;return{xPadding:n.xPadding,yPadding:n.yPadding,xAlign:n.xAlign,yAlign:n.yAlign,bodyFontColor:n.bodyFontColor,_bodyFontFamily:i(n.bodyFontFamily,r.defaultFontFamily),_bodyFontStyle:i(n.bodyFontStyle,r.defaultFontStyle),_bodyAlign:n.bodyAlign,bodyFontSize:i(n.bodyFontSize,r.defaultFontSize),bodySpacing:n.bodySpacing,titleFontColor:n.titleFontColor,_titleFontFamily:i(n.titleFontFamily,r.defaultFontFamily),_titleFontStyle:i(n.titleFontStyle,r.defaultFontStyle),titleFontSize:i(n.titleFontSize,r.defaultFontSize),_titleAlign:n.titleAlign,titleSpacing:n.titleSpacing,titleMarginBottom:n.titleMarginBottom,footerFontColor:n.footerFontColor,_footerFontFamily:i(n.footerFontFamily,r.defaultFontFamily),_footerFontStyle:i(n.footerFontStyle,r.defaultFontStyle),footerFontSize:i(n.footerFontSize,r.defaultFontSize),_footerAlign:n.footerAlign,footerSpacing:n.footerSpacing,footerMarginTop:n.footerMarginTop,caretSize:n.caretSize,cornerRadius:n.cornerRadius,backgroundColor:n.backgroundColor,opacity:0,legendColorBackground:n.multiKeyBackground,displayColors:n.displayColors}}t.defaults.global.tooltips={enabled:!0,custom:null,mode:\"nearest\",position:\"average\",intersect:!0,backgroundColor:\"rgba(0,0,0,0.8)\",titleFontStyle:\"bold\",titleSpacing:2,titleMarginBottom:6,titleFontColor:\"#fff\",titleAlign:\"left\",bodySpacing:2,bodyFontColor:\"#fff\",bodyAlign:\"left\",footerFontStyle:\"bold\",footerSpacing:2,footerMarginTop:6,footerFontColor:\"#fff\",footerAlign:\"left\",yPadding:6,xPadding:6,caretSize:5,cornerRadius:6,multiKeyBackground:\"#fff\",displayColors:!0,callbacks:{beforeTitle:e.noop,title:function(t,e){var n=\"\",r=e.labels,i=r?r.length:0;if(t.length>0){var o=t[0];o.xLabel?n=o.xLabel:i>0&&o.indexl.height-e.height&&(d=\"bottom\");var h=(u.left+u.right)/2,f=(u.top+u.bottom)/2;\"center\"===d?(n=function(t){return t<=h},r=function(t){return t>h}):(n=function(t){return t<=e.width/2},r=function(t){return t>=l.width-e.width/2}),i=function(t){return t+e.width>l.width},o=function(t){return t-e.width<0},a=function(t){return t<=f?\"top\":\"bottom\"},n(s.x)?(c=\"left\",i(s.x)&&(c=\"center\",d=a(s.y))):r(s.x)&&(c=\"right\",o(s.x)&&(c=\"center\",d=a(s.y)));var p=t._options;return{xAlign:p.xAlign?p.xAlign:c,yAlign:p.yAlign?p.yAlign:d}}(this,x))}else p.opacity=0;return p.xAlign=v.xAlign,p.yAlign=v.yAlign,p.x=b.x,p.y=b.y,p.width=x.width,p.height=x.height,p.caretX=w.x,p.caretY=w.y,d._model=p,n&&h.custom&&h.custom.call(d,p),d},drawCaret:function(t,e,r){var i,o,a,s,l,u,c=this._view,d=this._chart.ctx,h=c.caretSize,f=c.cornerRadius,p=c.xAlign,g=c.yAlign,m=t.x,y=t.y,v=e.width,b=e.height;\"center\"===g?(\"left\"===p?(o=(i=m)-h,a=i):(o=(i=m+v)+h,a=i),s=(l=y+b/2)-h,u=l+h):(\"left\"===p?a=(o=(i=m+f)+h)+h:\"right\"===p?a=(o=(i=m+v-f)-h)-h:(i=(o=m+v/2)-h,a=o+h),\"top\"===g?(l=(s=y)-h,u=s):(l=(s=y+b)+h,u=s)),d.fillStyle=n(c.backgroundColor,r),d.beginPath(),d.moveTo(i,s),d.lineTo(o,l),d.lineTo(a,u),d.closePath(),d.fill()},drawTitle:function(t,r,i,o){var a=r.title;if(a.length){i.textAlign=r._titleAlign,i.textBaseline=\"top\";var s,l,u=r.titleFontSize,c=r.titleSpacing;for(i.fillStyle=n(r.titleFontColor,o),i.font=e.fontString(u,r._titleFontStyle,r._titleFontFamily),s=0,l=a.length;sl;)o-=2*Math.PI;for(;o=s&&o<=l,c=a>=r.innerRadius&&a<=r.outerRadius;return u&&c}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},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,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t=this._chart.ctx,e=this._view,n=e.startAngle,r=e.endAngle;t.beginPath(),t.arc(e.x,e.y,e.outerRadius,n,r),t.arc(e.x,e.y,e.innerRadius,r,n,!0),t.closePath(),t.strokeStyle=e.borderColor,t.lineWidth=e.borderWidth,t.fillStyle=e.backgroundColor,t.fill(),t.lineJoin=\"bevel\",e.borderWidth&&t.stroke()}})}},{}],38:[function(t,e,n){\"use strict\";e.exports=function(t){var e=t.helpers,n=t.defaults.global;t.defaults.global.elements.line={tension:.4,backgroundColor:n.defaultColor,borderWidth:3,borderColor:n.defaultColor,borderCapStyle:\"butt\",borderDash:[],borderDashOffset:0,borderJoinStyle:\"miter\",capBezierPoints:!0,fill:!0},t.elements.Line=t.Element.extend({draw:function(){var t=this._view,r=t.spanGaps,i=t.scaleZero,o=this._loop;o||(\"top\"===t.fill?i=t.scaleTop:\"bottom\"===t.fill&&(i=t.scaleBottom));var a=this._chart.ctx;function s(t,e){var n=e._view;!0===e._view.steppedLine?(a.lineTo(n.x,t._view.y),a.lineTo(n.x,n.y)):0===e._view.tension?a.lineTo(n.x,n.y):a.bezierCurveTo(t._view.controlPointNextX,t._view.controlPointNextY,n.controlPointPreviousX,n.controlPointPreviousY,n.x,n.y)}a.save();var l,u,c,d,h=this._children.slice(),f=-1;if(o&&h.length&&h.push(h[0]),h.length&&t.fill){for(a.beginPath(),l=0;l=i.left&&t<=i.right&&e>=i.top&&e<=i.bottom}return n},inLabelRange:function(t,e){if(!this._view)return!1;var i=r(this);return n(this)?t>=i.left&&t<=i.right:e>=i.top&&e<=i.bottom},inXRange:function(t){var e=r(this);return t>=e.left&&t<=e.right},inYRange:function(t){var e=r(this);return t>=e.top&&t<=e.bottom},getCenterPoint:function(){var t,e,r=this._view;return n(this)?(t=r.x,e=(r.y+r.base)/2):(t=(r.x+r.base)/2,e=r.y),{x:t,y:e}},getArea:function(){var t=this._view;return t.width*Math.abs(t.y-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}})}},{}],41:[function(t,e,n){\"use strict\";e.exports=function(t){var e=t.helpers,n=t.Scale.extend({getLabels:function(){var t=this.chart.data;return(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels},determineDataLimits:function(){var t,n=this,r=n.getLabels();n.minIndex=0,n.maxIndex=r.length-1,void 0!==n.options.ticks.min&&(t=e.indexOf(r,n.options.ticks.min),n.minIndex=-1!==t?t:n.minIndex),void 0!==n.options.ticks.max&&(t=e.indexOf(r,n.options.ticks.max),n.maxIndex=-1!==t?t:n.maxIndex),n.min=r[n.minIndex],n.max=r[n.maxIndex]},buildTicks:function(){var t=this,e=t.getLabels();t.ticks=0===t.minIndex&&t.maxIndex===e.length-1?e:e.slice(t.minIndex,t.maxIndex+1)},getLabelForIndex:function(t,e){var n=this.chart.data,r=this.isHorizontal();return n.xLabels&&r||n.yLabels&&!r?this.getRightValue(n.datasets[e].data[t]):this.ticks[t]},getPixelForValue:function(t,e,n,r){var i=this,o=Math.max(i.maxIndex+1-i.minIndex-(i.options.gridLines.offsetGridLines?0:1),1);if(void 0!==t&&isNaN(e)){var a=i.getLabels().indexOf(t);e=-1!==a?a:e}if(i.isHorizontal()){var s=(i.width-(i.paddingLeft+i.paddingRight))/o,l=s*(e-i.minIndex)+i.paddingLeft;return(i.options.gridLines.offsetGridLines&&r||i.maxIndex===i.minIndex&&r)&&(l+=s/2),i.left+Math.round(l)}var u=(i.height-(i.paddingTop+i.paddingBottom))/o,c=u*(e-i.minIndex)+i.paddingTop;return i.options.gridLines.offsetGridLines&&r&&(c+=u/2),i.top+Math.round(c)},getPixelForTick:function(t,e){return this.getPixelForValue(this.ticks[t],t+this.minIndex,null,e)},getValueForPixel:function(t){var e=this,n=Math.max(e.ticks.length-(e.options.gridLines.offsetGridLines?0:1),1),r=e.isHorizontal(),i=(r?e.width-(e.paddingLeft+e.paddingRight):e.height-(e.paddingTop+e.paddingBottom))/n;return t-=r?e.left:e.top,e.options.gridLines.offsetGridLines&&(t-=i/2),(t-=r?e.paddingLeft:e.paddingTop)<=0?0:Math.round(t/i)},getBasePixel:function(){return this.bottom}});t.scaleService.registerScaleType(\"category\",n,{position:\"bottom\"})}},{}],42:[function(t,e,n){\"use strict\";e.exports=function(t){var e=t.helpers,n={position:\"left\",ticks:{callback:t.Ticks.formatters.linear}},r=t.LinearScaleBase.extend({determineDataLimits:function(){var t=this,n=t.options,r=t.chart,i=r.data.datasets,o=t.isHorizontal();function a(e){return o?e.xAxisID===t.id:e.yAxisID===t.id}if(t.min=null,t.max=null,n.stacked){var s={};e.each(i,function(i,o){var l=r.getDatasetMeta(o);void 0===s[l.type]&&(s[l.type]={positiveValues:[],negativeValues:[]});var u=s[l.type].positiveValues,c=s[l.type].negativeValues;r.isDatasetVisible(o)&&a(l)&&e.each(i.data,function(e,r){var i=+t.getRightValue(e);isNaN(i)||l.data[r].hidden||(u[r]=u[r]||0,c[r]=c[r]||0,n.relativePoints?u[r]=100:i<0?c[r]+=i:u[r]+=i)})}),e.each(s,function(n){var r=n.positiveValues.concat(n.negativeValues),i=e.min(r),o=e.max(r);t.min=null===t.min?i:Math.min(t.min,i),t.max=null===t.max?o:Math.max(t.max,o)})}else e.each(i,function(n,i){var o=r.getDatasetMeta(i);r.isDatasetVisible(i)&&a(o)&&e.each(n.data,function(e,n){var r=+t.getRightValue(e);isNaN(r)||o.data[n].hidden||(null===t.min?t.min=r:rt.max&&(t.max=r))})});this.handleTickRangeOptions()},getTickLimit:function(){var n,r=this.options.ticks;if(this.isHorizontal())n=Math.min(r.maxTicksLimit?r.maxTicksLimit:11,Math.ceil(this.width/50));else{var i=e.getValueOrDefault(r.fontSize,t.defaults.global.defaultFontSize);n=Math.min(r.maxTicksLimit?r.maxTicksLimit:11,Math.ceil(this.height/(2*i)))}return n},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){var e,n,r=this,i=r.paddingLeft,o=r.paddingBottom,a=r.start,s=+r.getRightValue(t),l=r.end-a;return r.isHorizontal()?(n=r.width-(i+r.paddingRight),e=r.left+n/l*(s-a),Math.round(e+i)):(n=r.height-(r.paddingTop+o),e=r.bottom-o-n/l*(s-a),Math.round(e))},getValueForPixel:function(t){var e=this,n=e.isHorizontal(),r=e.paddingLeft,i=e.paddingBottom,o=n?e.width-(r+e.paddingRight):e.height-(e.paddingTop+i),a=(n?t-e.left-r:e.bottom-i-t)/o;return e.start+(e.end-e.start)*a},getPixelForTick:function(t){return this.getPixelForValue(this.ticksAsNumbers[t])}});t.scaleService.registerScaleType(\"linear\",r,n)}},{}],43:[function(t,e,n){\"use strict\";e.exports=function(t){var e=t.helpers,n=e.noop;t.LinearScaleBase=t.Scale.extend({handleTickRangeOptions:function(){var t=this,n=t.options.ticks;if(n.beginAtZero){var r=e.sign(t.min),i=e.sign(t.max);r<0&&i<0?t.max=0:r>0&&i>0&&(t.min=0)}void 0!==n.min?t.min=n.min:void 0!==n.suggestedMin&&(t.min=Math.min(t.min,n.suggestedMin)),void 0!==n.max?t.max=n.max:void 0!==n.suggestedMax&&(t.max=Math.max(t.max,n.suggestedMax)),t.min===t.max&&(t.max++,n.beginAtZero||t.min--)},getTickLimit:n,handleDirectionalChanges:n,buildTicks:function(){var n=this,r=n.options.ticks,i=n.getTickLimit(),o={maxTicks:i=Math.max(2,i),min:r.min,max:r.max,stepSize:e.getValueOrDefault(r.fixedStepSize,r.stepSize)},a=n.ticks=t.Ticks.generators.linear(o,n);n.handleDirectionalChanges(),n.max=e.max(a),n.min=e.min(a),r.reverse?(a.reverse(),n.start=n.max,n.end=n.min):(n.start=n.min,n.end=n.max)},convertTicksToLabels:function(){var e=this;e.ticksAsNumbers=e.ticks.slice(),e.zeroLineIndex=e.ticks.indexOf(0),t.Scale.prototype.convertTicksToLabels.call(e)}})}},{}],44:[function(t,e,n){\"use strict\";e.exports=function(t){var e=t.helpers,n={position:\"left\",ticks:{callback:t.Ticks.formatters.logarithmic}},r=t.Scale.extend({determineDataLimits:function(){var t=this,n=t.options,r=n.ticks,i=t.chart,o=i.data.datasets,a=e.getValueOrDefault,s=t.isHorizontal();function l(e){return s?e.xAxisID===t.id:e.yAxisID===t.id}if(t.min=null,t.max=null,t.minNotZero=null,n.stacked){var u={};e.each(o,function(r,o){var a=i.getDatasetMeta(o);i.isDatasetVisible(o)&&l(a)&&(void 0===u[a.type]&&(u[a.type]=[]),e.each(r.data,function(e,r){var i=u[a.type],o=+t.getRightValue(e);isNaN(o)||a.data[r].hidden||(i[r]=i[r]||0,n.relativePoints?i[r]=100:i[r]+=o)}))}),e.each(u,function(n){var r=e.min(n),i=e.max(n);t.min=null===t.min?r:Math.min(t.min,r),t.max=null===t.max?i:Math.max(t.max,i)})}else e.each(o,function(n,r){var o=i.getDatasetMeta(r);i.isDatasetVisible(r)&&l(o)&&e.each(n.data,function(e,n){var r=+t.getRightValue(e);isNaN(r)||o.data[n].hidden||(null===t.min?t.min=r:rt.max&&(t.max=r),0!==r&&(null===t.minNotZero||rt.max&&(t.max=r))})}}),t.handleTickRangeOptions()},getTickLimit:function(){var t=this.options.ticks,r=e.getValueOrDefault(t.fontSize,n.defaultFontSize);return Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*r)))},convertTicksToLabels:function(){var e=this;t.LinearScaleBase.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map(e.options.pointLabels.callback,e)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t,r,i,o,a,s,l,u,c,d,h,f,p=this.options.pointLabels,g=e.getValueOrDefault(p.fontSize,n.defaultFontSize),m=e.getValueOrDefault(p.fontStyle,n.defaultFontStyle),y=e.getValueOrDefault(p.fontFamily,n.defaultFontFamily),v=e.fontString(g,m,y),b=e.min([this.height/2-g-5,this.width/2]),x=this.width,w=0;for(this.ctx.font=v,r=0;rx&&(x=t.x+o,a=r),t.x-ox&&(x=t.x+i,a=r):t.x-i0&&e>0?t:0)},draw:function(){var t=this,r=t.options,i=r.gridLines,o=r.ticks,a=r.angleLines,s=r.pointLabels,l=e.getValueOrDefault;if(r.display){var u=t.ctx,c=l(o.fontSize,n.defaultFontSize),d=l(o.fontStyle,n.defaultFontStyle),h=l(o.fontFamily,n.defaultFontFamily),f=e.fontString(c,d,h);if(e.each(t.ticks,function(a,s){if(s>0||r.reverse){var d=t.getDistanceFromCenterForValue(t.ticksAsNumbers[s]),h=t.yCenter-d;if(i.display&&0!==s)if(u.strokeStyle=e.getValueAtIndexOrDefault(i.color,s-1),u.lineWidth=e.getValueAtIndexOrDefault(i.lineWidth,s-1),r.lineArc)u.beginPath(),u.arc(t.xCenter,t.yCenter,d,0,2*Math.PI),u.closePath(),u.stroke();else{u.beginPath();for(var p=0;p=0;b--){if(a.display){var x=t.getPointPosition(b,p);u.beginPath(),u.moveTo(t.xCenter,t.yCenter),u.lineTo(x.x,x.y),u.stroke(),u.closePath()}var w=t.getPointPosition(b,p+5),k=l(s.fontColor,n.defaultFontColor);u.font=v,u.fillStyle=k;var C=t.pointLabels,S=360*(this.getIndexAngle(b)+Math.PI/2)/(2*Math.PI)%360;u.textAlign=0===S||180===S?\"center\":S<180?\"left\":\"right\",u.textBaseline=90===S||270===S?\"middle\":S>270||S<90?\"bottom\":\"top\",u.fillText(C[b]?C[b]:\"\",w.x,w.y)}}}}});t.scaleService.registerScaleType(\"radialLinear\",i,r)}},{}],46:[function(t,e,n){\"use strict\";var r=t(1);r=\"function\"==typeof r?r:window.moment,e.exports=function(t){var e=t.helpers,n={units:[{name:\"millisecond\",steps:[1,2,5,10,20,50,100,250,500]},{name:\"second\",steps:[1,2,5,10,30]},{name:\"minute\",steps:[1,2,5,10,30]},{name:\"hour\",steps:[1,2,3,6,12]},{name:\"day\",steps:[1,2,5]},{name:\"week\",maxStep:4},{name:\"month\",maxStep:3},{name:\"quarter\",maxStep:4},{name:\"year\",maxStep:!1}]},i=t.Scale.extend({initialize:function(){if(!r)throw new Error(\"Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com\");t.Scale.prototype.initialize.call(this)},getLabelMoment:function(t,e){return null===t||null===e?null:void 0!==this.labelMoments[t]?this.labelMoments[t][e]:null},getLabelDiff:function(t,e){return null===t||null===e?null:(void 0===this.labelDiffs&&this.buildLabelDiffs(),void 0!==this.labelDiffs[t]?this.labelDiffs[t][e]:null)},getMomentStartOf:function(t){return\"week\"===this.options.time.unit&&!1!==this.options.time.isoWeekday?t.clone().startOf(\"isoWeek\").isoWeekday(this.options.time.isoWeekday):t.clone().startOf(this.tickUnit)},determineDataLimits:function(){var t=this;t.labelMoments=[];var n=[];t.chart.data.labels&&t.chart.data.labels.length>0?(e.each(t.chart.data.labels,function(e){var r=t.parseTime(e);r.isValid()&&(t.options.time.round&&r.startOf(t.options.time.round),n.push(r))},t),t.firstTick=r.min.call(t,n),t.lastTick=r.max.call(t,n)):(t.firstTick=null,t.lastTick=null),e.each(t.chart.data.datasets,function(i,o){var a=[],s=t.chart.isDatasetVisible(o);\"object\"===u(i.data[0])&&null!==i.data[0]?e.each(i.data,function(e){var n=t.parseTime(t.getRightValue(e));n.isValid()&&(t.options.time.round&&n.startOf(t.options.time.round),a.push(n),s&&(t.firstTick=null!==t.firstTick?r.min(t.firstTick,n):n,t.lastTick=null!==t.lastTick?r.max(t.lastTick,n):n))},t):a=n,t.labelMoments.push(a)},t),t.options.time.min&&(t.firstTick=t.parseTime(t.options.time.min)),t.options.time.max&&(t.lastTick=t.parseTime(t.options.time.max)),t.firstTick=(t.firstTick||r()).clone(),t.lastTick=(t.lastTick||r()).clone()},buildLabelDiffs:function(){var t=this;t.labelDiffs=[];var n=[];t.chart.data.labels&&t.chart.data.labels.length>0&&e.each(t.chart.data.labels,function(e){var r=t.parseTime(e);r.isValid()&&(t.options.time.round&&r.startOf(t.options.time.round),n.push(r.diff(t.firstTick,t.tickUnit,!0)))},t),e.each(t.chart.data.datasets,function(r){var i=[];\"object\"===u(r.data[0])&&null!==r.data[0]?e.each(r.data,function(e){var n=t.parseTime(t.getRightValue(e));n.isValid()&&(t.options.time.round&&n.startOf(t.options.time.round),i.push(n.diff(t.firstTick,t.tickUnit,!0)))},t):i=n,t.labelDiffs.push(i)},t)},buildTicks:function(){var r=this;r.ctx.save();var i,o=e.getValueOrDefault(r.options.ticks.fontSize,t.defaults.global.defaultFontSize),a=e.getValueOrDefault(r.options.ticks.fontStyle,t.defaults.global.defaultFontStyle),s=e.getValueOrDefault(r.options.ticks.fontFamily,t.defaults.global.defaultFontFamily),l=e.fontString(o,a,s);if(r.ctx.font=l,r.ticks=[],r.unitScale=1,r.scaleSizeInUnits=0,r.options.time.unit)r.tickUnit=r.options.time.unit||\"day\",r.displayFormat=r.options.time.displayFormats[r.tickUnit],r.scaleSizeInUnits=r.lastTick.diff(r.firstTick,r.tickUnit,!0),r.unitScale=e.getValueOrDefault(r.options.time.unitStepSize,1);else{var u=r.isHorizontal()?r.width-(r.paddingLeft+r.paddingRight):r.height-(r.paddingTop+r.paddingBottom),c=r.tickFormatFunction(r.firstTick,0,[]),d=r.ctx.measureText(c).width,h=u/(d=d*Math.cos(e.toRadians(r.options.ticks.maxRotation))+o*Math.sin(e.toRadians(r.options.ticks.maxRotation)));r.tickUnit=r.options.time.minUnit,r.scaleSizeInUnits=r.lastTick.diff(r.firstTick,r.tickUnit,!0),r.displayFormat=r.options.time.displayFormats[r.tickUnit];for(var f=0,p=n.units[f];f=Math.ceil(r.scaleSizeInUnits/h)){r.unitScale=e.getValueOrDefault(r.options.time.unitStepSize,p.steps[g]);break}break}if(!1===p.maxStep||Math.ceil(r.scaleSizeInUnits/h)=0&&(r.lastTick=v),r.scaleSizeInUnits=r.lastTick.diff(r.firstTick,r.tickUnit,!0)}r.options.time.displayFormat&&(r.displayFormat=r.options.time.displayFormat),r.ticks.push(r.firstTick.clone());for(var x=1;x<=r.scaleSizeInUnits;++x){var w=i.clone().add(x,r.tickUnit);if(r.options.time.max&&w.diff(r.lastTick,r.tickUnit,!0)>=0)break;x%r.unitScale==0&&r.ticks.push(w)}0===r.ticks[r.ticks.length-1].diff(r.lastTick,r.tickUnit)&&0!==r.scaleSizeInUnits||(r.options.time.max?(r.ticks.push(r.lastTick.clone()),r.scaleSizeInUnits=r.lastTick.diff(r.ticks[0],r.tickUnit,!0)):(r.ticks.push(r.lastTick.clone()),r.scaleSizeInUnits=r.lastTick.diff(r.firstTick,r.tickUnit,!0))),r.ctx.restore(),r.labelDiffs=void 0},getLabelForIndex:function(t,e){var n=this,r=n.chart.data.labels&&t=0,o=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=n(\"SldL\"),i)r.regeneratorRuntime=o;else try{delete r.regeneratorRuntime}catch(t){r.regeneratorRuntime=void 0}},kVGU:function(t,e){!function(t){\"use strict\";e.encode=function(e){var n,r=new Uint8Array(e),i=r.length,o=\"\";for(n=0;n>2],o+=t[(3&r[n])<<4|r[n+1]>>4],o+=t[(15&r[n+1])<<2|r[n+2]>>6],o+=t[63&r[n+2]];return i%3==2?o=o.substring(0,o.length-1)+\"=\":i%3==1&&(o=o.substring(0,o.length-2)+\"==\"),o},e.decode=function(e){var n,r,i,o,a,s=.75*e.length,l=e.length,u=0;\"=\"===e[e.length-1]&&(s--,\"=\"===e[e.length-2]&&s--);var c=new ArrayBuffer(s),d=new Uint8Array(c);for(n=0;n>4,d[u++]=(15&i)<<4|o>>2,d[u++]=(3&o)<<6|63&a;return c}}(\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\")},l7BB:function(t,e,n){\"use strict\";Object.defineProperty(e,\"__esModule\",{value:!0});var r=n(\"Xxa5\"),i=n.n(r);!function(t){function e(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;r||(r=window._userGuide.userGuideErrors.commonError),n?(t(\"#user-guide-loading-spinner\").closest(\"#user-guide-loading-parent\").append(''+r+\"\"),t(\"#user-guide-loading-spinner\").css(\"display\",\"none\"),t(\".user-guide-pop-over-modal\").css(\"opacity\",0),t(\".user-guide-pop-over-modal\").css(\"visibility\",\"hidden\")):e?(t(\"#user-guide-loading-spinner\").css(\"display\",\"none\"),t(\"#user-guide-loading-parent\").css(\"display\",\"none\"),t(\".user-guide-pop-over-modal\").css(\"opacity\",100),t(\".user-guide-pop-over-modal\").css(\"visibility\",\"visible\")):(t(\".user-guide-pop-over-modal\").css(\"opacity\",0),t(\".user-guide-pop-over-modal\").css(\"visibility\",\"hidden\"),t(\"#user-guide-loading-parent\").css(\"display\",\"table\"),t(\"#user-guide-loading-spinner\").css(\"display\",\"table-cell\"))}function n(n,r,i){localStorage.removeItem(\"manualKey\"),e(!1),t.ajax({type:n.api.post.type,url:n.api.post.url,headers:n.api.post.headers,data:r,success:function(i){e(!0),t(\".popover\").popover(\"hide\"),function(e,n){var r=\"fa-question-circle-red\";1!=n.permission.edit&&(r=\"fa-question-circle-invisible\");var i=t(\".user-guide\");if(e.inputInfoArr)if(e.inputInfoArr.isBreadCrumb){var o=t(i).find(\".user-guide-breadcrumb\").find(\".user-guide-label\").find(\".fa-exclamation-circle\");e.description?o.removeClass(r):o.hasClass(r)||o.addClass(r)}else if(0!==e.inputInfoArr.inputElms.length){var a=Object.keys(e.inputInfoArr.inputElms).map(function(t){return e.inputInfoArr.inputElms[t]}),s=new Array;a.forEach(function(t,e){s.push(t.elmInputId)});var l=s.join(\",\");e.description?t(i).find('.user-guide-label[data-user-guide-input-ids=\"'+l+'\"]').find(\".fa-exclamation-circle\").removeClass(r):t(i).find('.user-guide-label[data-user-guide-input-ids=\"'+l+'\"]').find(\".fa-exclamation-circle\").hasClass(r)||t(i).find('.user-guide-label[data-user-guide-input-ids=\"'+l+'\"]').find(\".fa-exclamation-circle\").addClass(r)}else{var u=t(i).find('.user-guide-sub-heading[data-user-guide-sub-heading-index=\"'+e.inputInfoArr.subSectionDataIndex+'\"]').find(\".prm-card-head\").find(\".fa-exclamation-circle\");e.description?u.removeClass(r):u.hasClass(r)||u.addClass(r)}}(r,n),u(n)},error:function(t){e(!1,!0),n.debug&&console.log(t)}})}function r(n,r,i){t.ajax({type:n.api.get.type,url:n.api.get.url,data:r,headers:n.api.get.headers,success:function(t){i(t)},error:function(t){try{t.responseJSON.isShownErrorMessage?e(!1,!0,t.responseJSON.error):e(!1,!0)}catch(t){e(!1,!0),n.debug&&console.log(t)}n.debug&&console.log(t)}})}function o(n,i){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;o||(o=i.languageList.defaultLanguageCode),e(!1),t(\"#user-guide-desc\").val(\"\");var s={};(s=n?a(n,i):window._userGuide.elemMetaData).langCode=o,r(i,s,function(n){try{n&&n.length>0?(t(\"#user-guide-desc\").val(n[0].Description),t(\"#user-guide-desc-label\").html(n[0].Description),n[0].isInputDisabled?t(\"#user-guide-desc\").prop(\"disabled\",!0):t(\"#user-guide-desc\").prop(\"disabled\",!1),i.languageList.defaultUserLang===o&&t(\"#user-guide-default-label\").html(n[0].Description)):t(\"#user-guide-desc\").val(\"\"),e(!0)}catch(t){e(!1,!0),i.debug&&console.log(t)}}),i.languageList.defaultUserLang!==o&&(s.langCode=i.languageList.defaultUserLang,r(i,s,function(n){try{n&&n.length>0&&t(\"#user-guide-default-label\").html(n[0].Description)}catch(t){e(!1,!0)}}))}function a(e,n){for(var r=e.closest(\".user-guide\"),i=r.data(\"parent-index\"),o={pathname:window.location.pathname,url:window.location.href,origin:window.location.origin,protocol:window.location.protocol},a=e,s=[],l=0;a.closest(\".modal\").length>0;){var u=a.closest(\".modal\")[0];l++;for(var c=t(u).data(\"user-guide-modal-trigger\").split(\",\"),d=0;d0)){a=t(\"#\"+c[d]);break}s.push({orderIndex:l,modalId:t(u).attr(\"id\"),modalClass:t(u).attr(\"class\"),modalName:t(u).find(\".modal-title\").text().trim(),modalData:{userGuideModalTrigger:t(u).data(\"user-guide-modal-trigger\")},modalTrigger:{triggerId:a.attr(\"id\"),triggerName:a.attr(\"Name\"),triggerClass:a.attr(\"class\"),triggerType:a.prop(\"nodeName\")}})}var h=r.find(\".user-guide-breadcrumb\").find(\".breadcrumb-item\"),f=\"\",p=!1;for(d=0;d \"+t(h[d]).text().trim();p&&(f=f.substring(2).trim());var g=!1;if(p&&1==t(e).closest(\".breadcrumb-item\").length&&(g=!0),s.length>0)var m=t(\"#\"+s[s.length-1].modalTrigger.triggerId),y=t(m).closest(\".user-guide-sub-heading\");else y=e.closest(\".user-guide-sub-heading\");var v=t(y).data(\"user-guide-sub-heading-index\");v||(v=-1);var b=t(y.find(\".prm-card-heading\")[0]).text(),x=r.find(\".user-guide-sub-heading\").index(y),w=e.data(\"user-guide-input-ids\");void 0!==w&&\"\"!=w.trim()||(w=t(e).closest(\".user-guide-label\").data(\"user-guide-input-ids\"));var k=[];if(void 0!==w&&\"\"!=w.trim()){var C=w.trim().split(\",\");for(d=0;d×
',r=0;r'+t.languageList.langFields[r].LanguageCode+\" \")}return n=n+' D-'+t.languageList.defaultUserLang+\" \",n=(n+=\"
\")+'
',n=(n+=t.permission.edit?'':\"\")+'
',n=(n+='
')+'
',t.permission.print?n=n+'\":n+='
',e(n=(n=n+'
')+'
')}window._userGuide={},t.fn.userGuide=function(e){var n,r,a=t(this);(e.permission.view||e.permission.edit)&&(window._userGuide.userGuideErrors=e.translate,t(document).off(\"click\",\".user-guide-popup-trigger\"),t(\".user-guide-popup-trigger\").remove(),e.permission.edit?a.prepend(''):a.prepend(''),t(document).on(\"click\",function(e){t('[data-toggle=\"popover\"],[data-original-title]').each(function(){t(this).is(e.target)||0!==t(this).has(e.target).length||0!==t(\".popover\").has(e.target).length||(localStorage.removeItem(\"manualKey\"),((t(this).popover(\"hide\").data(\"bs.popover\")||{}).inState||{}).click=!1)})}),t(this).find(\".user-guide-popup-trigger\").on(\"click\",(n=i.a.mark(function n(r){return i.a.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return r.preventDefault(),n.next=3,c(e,function(n){t(\".popover\").popover(\"hide\"),u(e),t(r.target).popover({html:!0,content:n}),t(r.target).popover(\"show\"),t(\".popover\").addClass(\"user-guide-popover\"),s(t(r.target),e,function(n){n&&o(t(r.target),e)})});case 3:case\"end\":return n.stop()}},n,this)}),r=function(){var t=n.apply(this,arguments);return new Promise(function(e,n){return function r(i,o){try{var a=t[i](o),s=a.value}catch(t){return void n(t)}if(!a.done)return Promise.resolve(s).then(function(t){r(\"next\",t)},function(t){r(\"throw\",t)});e(s)}(\"next\")})},function(t){return r.apply(this,arguments)})))},t.fn.userGuideInit=function(e){t(\".user-guide-label\").userGuide(e),e.debug&&(console.log(\"initialize\"),console.log(\"Enable debugging\"))}}(jQuery)},nXuP:function(t,e,n){var r=n(\"E/tS\"),i=n(\"5+9/\"),o=n(\"pnVU\"),a=n(\"QamB\"),s=n(\"ARv7\")(\"engine.io-client:polling-xhr\"),l=n(\"vveS\");function u(){}function c(t){if(i.call(this,t),this.requestTimeout=t.requestTimeout,this.extraHeaders=t.extraHeaders,\"undefined\"!=typeof location){var e=\"https:\"===location.protocol,n=location.port;n||(n=e?443:80),this.xd=\"undefined\"!=typeof location&&t.hostname!==location.hostname||n!==t.port,this.xs=t.secure!==e}}function d(t){this.method=t.method||\"GET\",this.uri=t.uri,this.xd=!!t.xd,this.xs=!!t.xs,this.async=!1!==t.async,this.data=void 0!==t.data?t.data:null,this.agent=t.agent,this.isBinary=t.isBinary,this.supportsBinary=t.supportsBinary,this.enablesXDR=t.enablesXDR,this.withCredentials=t.withCredentials,this.requestTimeout=t.requestTimeout,this.pfx=t.pfx,this.key=t.key,this.passphrase=t.passphrase,this.cert=t.cert,this.ca=t.ca,this.ciphers=t.ciphers,this.rejectUnauthorized=t.rejectUnauthorized,this.extraHeaders=t.extraHeaders,this.create()}if(t.exports=c,t.exports.Request=d,a(c,i),c.prototype.supportsBinary=!0,c.prototype.request=function(t){return(t=t||{}).uri=this.uri(),t.xd=this.xd,t.xs=this.xs,t.agent=this.agent||!1,t.supportsBinary=this.supportsBinary,t.enablesXDR=this.enablesXDR,t.withCredentials=this.withCredentials,t.pfx=this.pfx,t.key=this.key,t.passphrase=this.passphrase,t.cert=this.cert,t.ca=this.ca,t.ciphers=this.ciphers,t.rejectUnauthorized=this.rejectUnauthorized,t.requestTimeout=this.requestTimeout,t.extraHeaders=this.extraHeaders,new d(t)},c.prototype.doWrite=function(t,e){var n=\"string\"!=typeof t&&void 0!==t,r=this.request({method:\"POST\",data:t,isBinary:n}),i=this;r.on(\"success\",e),r.on(\"error\",function(t){i.onError(\"xhr post error\",t)}),this.sendXhr=r},c.prototype.doPoll=function(){s(\"xhr poll\");var t=this.request(),e=this;t.on(\"data\",function(t){e.onData(t)}),t.on(\"error\",function(t){e.onError(\"xhr poll error\",t)}),this.pollXhr=t},o(d.prototype),d.prototype.create=function(){var t={agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR};t.pfx=this.pfx,t.key=this.key,t.passphrase=this.passphrase,t.cert=this.cert,t.ca=this.ca,t.ciphers=this.ciphers,t.rejectUnauthorized=this.rejectUnauthorized;var e=this.xhr=new r(t),n=this;try{s(\"xhr open %s: %s\",this.method,this.uri),e.open(this.method,this.uri,this.async);try{if(this.extraHeaders)for(var i in e.setDisableHeaderCheck&&e.setDisableHeaderCheck(!0),this.extraHeaders)this.extraHeaders.hasOwnProperty(i)&&e.setRequestHeader(i,this.extraHeaders[i])}catch(t){}if(\"POST\"===this.method)try{this.isBinary?e.setRequestHeader(\"Content-type\",\"application/octet-stream\"):e.setRequestHeader(\"Content-type\",\"text/plain;charset=UTF-8\")}catch(t){}try{e.setRequestHeader(\"Accept\",\"*/*\")}catch(t){}\"withCredentials\"in e&&(e.withCredentials=this.withCredentials),this.requestTimeout&&(e.timeout=this.requestTimeout),this.hasXDR()?(e.onload=function(){n.onLoad()},e.onerror=function(){n.onError(e.responseText)}):e.onreadystatechange=function(){if(2===e.readyState)try{var t=e.getResponseHeader(\"Content-Type\");(n.supportsBinary&&\"application/octet-stream\"===t||\"application/octet-stream; charset=UTF-8\"===t)&&(e.responseType=\"arraybuffer\")}catch(t){}4===e.readyState&&(200===e.status||1223===e.status?n.onLoad():setTimeout(function(){n.onError(\"number\"==typeof e.status?e.status:0)},0))},s(\"xhr data %s\",this.data),e.send(this.data)}catch(t){return void setTimeout(function(){n.onError(t)},0)}\"undefined\"!=typeof document&&(this.index=d.requestsCount++,d.requests[this.index]=this)},d.prototype.onSuccess=function(){this.emit(\"success\"),this.cleanup()},d.prototype.onData=function(t){this.emit(\"data\",t),this.onSuccess()},d.prototype.onError=function(t){this.emit(\"error\",t),this.cleanup(!0)},d.prototype.cleanup=function(t){if(void 0!==this.xhr&&null!==this.xhr){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=u:this.xhr.onreadystatechange=u,t)try{this.xhr.abort()}catch(t){}\"undefined\"!=typeof document&&delete d.requests[this.index],this.xhr=null}},d.prototype.onLoad=function(){var t;try{var e;try{e=this.xhr.getResponseHeader(\"Content-Type\")}catch(t){}t=(\"application/octet-stream\"===e||\"application/octet-stream; charset=UTF-8\"===e)&&this.xhr.response||this.xhr.responseText}catch(t){this.onError(t)}null!=t&&this.onData(t)},d.prototype.hasXDR=function(){return\"undefined\"!=typeof XDomainRequest&&!this.xs&&this.enablesXDR},d.prototype.abort=function(){this.cleanup()},d.requestsCount=0,d.requests={},\"undefined\"!=typeof document)if(\"function\"==typeof attachEvent)attachEvent(\"onunload\",h);else if(\"function\"==typeof addEventListener){addEventListener(\"onpagehide\"in l?\"pagehide\":\"unload\",h,!1)}function h(){for(var t in d.requests)d.requests.hasOwnProperty(t)&&d.requests[t].abort()}},na0y:function(t,e){},pnVU:function(t,e,n){function r(t){if(t)return function(t){for(var e in r.prototype)t[e]=r.prototype[e];return t}(t)}t.exports=r,r.prototype.on=r.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks[\"$\"+t]=this._callbacks[\"$\"+t]||[]).push(e),this},r.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks[\"$\"+t];if(!r)return this;if(1==arguments.length)return delete this._callbacks[\"$\"+t],this;for(var i=0;i>1,c=-7,d=n?i-1:0,h=n?-1:1,f=t[e+d];for(d+=h,o=f&(1<<-c)-1,f>>=-c,c+=s;c>0;o=256*o+t[e+d],d+=h,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+t[e+d],d+=h,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=u}return(f?-1:1)*a*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,p=r?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),(e+=a+d>=1?h/l:h*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(e*l-1)*Math.pow(2,i),a+=d):(s=e*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;t[n+f]=255&s,f+=p,s/=256,i-=8);for(a=a<0;t[n+f]=255&a,f+=p,a/=256,u-=8);t[n+f-p]|=128*g}},vveS:function(t,e){t.exports=\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:Function(\"return this\")()},zqJT:function(t,e){var n=[].slice;t.exports=function(t,e){if(\"string\"==typeof e&&(e=t[e]),\"function\"!=typeof e)throw new Error(\"bind() requires a function\");var r=n.call(arguments,2);return function(){return e.apply(t,r.concat(n.call(arguments)))}}}},[0]);\n\n\n// WEBPACK FOOTER //\n// /js/app.js"],"mappings":"AAAA","sourceRoot":""}