vendor: 5,820 bytes, lines 1-7
1(self.webpackChunkapi_sport=self.webpackChunkapi_sport||[]).push([[660],{67526:function(t,e){"use strict";e.byteLength=function(t){var e=s(t),n=e[0],r=e[1];return 3*(n+r)/4-r},e.toByteArray=function(t){var e,n,o=s(t),a=o[0],l=o[1],u=new i(function(t,e,n){return 3*(e+n)/4-n}(0,a,l)),c=0,d=l>0?a-4:a;for(n=0;n<d;n+=4)e=r[t.charCodeAt(n)]<<18|r[t.charCodeAt(n+1)]<<12|r[t.charCodeAt(n+2)]<<6|r[t.charCodeAt(n+3)],u[c++]=e>>16&255,u[c++]=e>>8&255,u[c++]=255&e;2===l&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,u[c++]=255&e);1===l&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,u[c++]=e>>8&255,u[c++]=255&e);return u},e.fromByteArray=function(t){for(var e,r=t.length,i=r%3,o=[],a=16383,s=0,u=r-i;s<u;s+=a)o.push(l(t,s,s+a>u?u:s+a));1===i?(e=t[r-1],o.push(n[e>>2]+n[e<<4&63]+"==")):2===i&&(e=(t[r-2]<<8)+t[r-1],o.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)n[a]=o[a],r[o.charCodeAt(a)]=a;function s(t){var e=t.length;if(e%4>0)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 l(t,e,r){for(var i,o,a=[],s=e;s<r;s+=3)i=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),a.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},48287:function(t,e,n){"use strict";var r=n(67526),i=n(251),o=n(64634); 2/*! 3 * The buffer module from node.js, for the browser. 4 * 5 * @author Feross Aboukhadijeh <http://feross.org> 6 * @license MIT 7 */function a(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=l.prototype:(null===t&&(t=new l(e)),t.length=e),t}function l(t,e,n){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return d(this,t)}return u(this,t,e,n)}function u(t,e,n,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r);l.TYPED_ARRAY_SUPPORT?(t=e).__proto__=l.prototype:t=h(t,e);return t}(t,e,n,r):"string"==typeof e?function(t,e,n){"string"==typeof n&&""!==n||(n="utf8");if(!l.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|p(e,n);t=s(t,r);var i=t.write(e,n);i!==r&&(t=t.slice(0,i));return t}(t,e,n):function(t,e){if(l.isBuffer(e)){var n=0|f(e.length);return 0===(t=s(t,n)).length||e.copy(t,0,0,n),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(r=e.length)!=r?s(t,0):h(t,e);if("Buffer"===e.type&&o(e.data))return h(t,e.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function c(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function d(t,e){if(c(e),t=s(t,e<0?0:0|f(e)),!l.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function h(t,e){var n=e.length<0?0:0|f(e.length);t=s(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function f(t){if(t>=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 V(t).length;default:if(r)return z(t).length;e=(""+e).toLowerCase(),r=!0}}function g(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.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 O(this,e,n);case"utf8":case"utf-8":return A(this,e,n);case"ascii":return T(this,e,n);case"latin1":case"binary":return C(this,e,n);case"base64":return I(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function y(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:v(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):v(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function v(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;
vendor: 10,890 bytes, line 7
7a=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;o<s;o++)if(u(t,o)===u(e,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(n+l>s&&(n=s-l),o=n;o>=0;o--){for(var d=!0,h=0;h<l;h++)if(u(t,o+h)!==u(e,h)){d=!1;break}if(d)return o}return-1}function b(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r))>i&&(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<r;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[n+a]=s}return a}function x(t,e,n,r){return H(z(e,t.length-n),t,n,r)}function _(t,e,n,r){return H(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function w(t,e,n,r){return _(t,e,n,r)}function S(t,e,n,r){return H(V(e),t,n,r)}function M(t,e,n,r){return H(function(t,e){for(var n,r,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)r=(n=t.charCodeAt(a))>>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function I(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;i<n;){var o,a,s,l,u=t[i],c=null,d=u>239?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<=D)return String.fromCharCode.apply(String,t);var n="",r=0;for(;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=D));return n}(r)}e.hp=l,e.IS=50,l.TYPED_ARRAY_SUPPORT=void 0!==n.g.TYPED_ARRAY_SUPPORT?n.g.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),a(),l.poolSize=8192,l._augment=function(t){return t.__proto__=l.prototype,t},l.from=function(t,e,n){return u(null,t,e,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(t,e,n){return function(t,e,n,r){return c(e),e<=0?s(t,e):void 0!==n?"string"==typeof r?s(t,e).fill(n,r):s(t,e).fill(n):s(t,e)}(null,t,e,n)},l.allocUnsafe=function(t){return d(null,t)},l.allocUnsafeSlow=function(t){return d(null,t)},l.isBuffer=function(t){return!(null==t||!t._isBuffer)},l.compare=function(t,e){if(!l.isBuffer(t)||!l.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},l.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return l.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=l.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var a=t[n];if(!l.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},l.byteLength=p,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)y(this,e,e+1);return this},l.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)y(this,e,e+3),y(this,e+1,e+2);return this},l.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)y(this,e,e+7),y(this,e+1,e+6),y(this,e+2,e+5),y(this,e+3,e+4);return this},l.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?A(this,0,t):g.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.IS;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+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(this===t)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(e>>>=0),s=Math.min(o,a),u=this.slice(r,i),c=t.slice(e,n),d=0;d<s;++d)if(u[d]!==c[d]){o=u[d],a=c[d];break}return o<a?-1:a<o?1:0},l.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},l.prototype.indexOf=function(t,e,n){return m(this,t,e,n,!0)},l.prototype.lastIndexOf=function(t,e,n){return m(this,t,e,n,!1)},l.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(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 b(this,t,e,n);case"utf8":case"utf-8":return x(this,t,e,n);case"ascii":return _(this,t,e,n);case"latin1":case"binary":return w(this,t,e,n);case"base64":return S(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(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 D=4096;function T(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function C(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function O(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=e;o<n;++o)i+=j(t[o]);return i}function P(t,e,n){for(var r=t.slice(e,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function k(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function $(t,e,n,r,i,o){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function E(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i<o;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function L(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i<o;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function N(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 R(t,e,n,r,o){return o||N(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function F(t,e,n,r,o){return o||N(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)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t),l.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=l.prototype;else{var i=e-t;n=new l(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+t]}return n},l.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||k(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r},l.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||k(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},l.prototype.readUInt8=function(t,e){return e||k(t,1,this.length),this[t]},l.prototype.readUInt16LE=function(t,e){return e||k(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUInt16BE=function(t,e){return e||k(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUInt32LE=function(t,e){return e||k(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||k(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||k(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*e)),r},l.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||k(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||k(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){e||k(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||k(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||k(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||k(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||k(t,4,this.length),i.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return e||k(t,4,this.length),i.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return e||k(t,8,this.length),i.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return e||k(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)||$(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o<n&&(i*=256);)this[e+o]=t/i&255;return e+n},l.prototype.writeUIntBE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||$(this,t,e,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[e+i]=255&t;--i>=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||$(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||$(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):E(this,t,e,!0),e+2},l.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>
vendor: 9,176 bytes, line 7
78,this[e+1]=255&t):E(this,t,e,!1),e+2},l.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||$(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):L(this,t,e,!0),e+4},l.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||$(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):L(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);$(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o<n&&(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.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);$(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||$(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||$(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):E(this,t,e,!0),e+2},l.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||$(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):E(this,t,e,!1),e+2},l.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||$(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):L(this,t,e,!0),e+4},l.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||$(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):L(this,t,e,!1),e+4},l.prototype.writeFloatLE=function(t,e,n){return R(this,t,e,!0,n)},l.prototype.writeFloatBE=function(t,e,n){return R(this,t,e,!1,n)},l.prototype.writeDoubleLE=function(t,e,n){return F(this,t,e,!0,n)},l.prototype.writeDoubleBE=function(t,e,n){return F(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<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=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<r-n&&(r=t.length-e+n);var i,o=r-n;if(this===t&&n<e&&e<r)for(i=o-1;i>=0;--i)t[i+e]=this[i+n];else if(o<1e3||!l.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},l.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var o;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=e;o<n;++o)this[o]=t;else{var a=l.isBuffer(t)?t:z(new l(t,r).toString()),s=a.length;for(o=0;o<n-e;++o)this[o+e]=a[o%s]}return this};var B=/[^+\/0-9A-Za-z-_]/g;function j(t){return t<16?"0"+t.toString(16):t.toString(16)}function z(t,e){var n;e=e||1/0;for(var r=t.length,i=null,o=[],a=0;a<r;++a){if((n=t.charCodeAt(a))>55295&&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 V(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(B,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function H(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}},5874:function(t,e,n){"use strict";n.r(e),n.d(e,{ARRAY_CONTAINS:function(){return mu},ARRAY_MAX_SIZE:function(){return Cu},ARRAY_MIN_SIZE:function(){return Au},ARRAY_NOT_CONTAINS:function(){return xu},ARRAY_NOT_EMPTY:function(){return Su},ARRAY_UNIQUE:function(){return ku},Allow:function(){return M},ArrayContains:function(){return bu},ArrayMaxSize:function(){return Pu},ArrayMinSize:function(){return Tu},ArrayNotContains:function(){return wu},ArrayNotEmpty:function(){return Iu},ArrayUnique:function(){return Eu},CONTAINS:function(){return Bt},Contains:function(){return zt},EQUALS:function(){return q},Equals:function(){return J},IS_ALPHA:function(){return Yt},IS_ALPHANUMERIC:function(){return qt},IS_ARRAY:function(){return du},IS_ASCII:function(){return ae},IS_BASE32:function(){return za},IS_BASE58:function(){return $l},IS_BASE64:function(){return de},IS_BIC:function(){return Ya},IS_BOOLEAN:function(){return Gl},IS_BOOLEAN_STRING:function(){return Pa},IS_BTC_ADDRESS:function(){return Ka},IS_BYTE_LENGTH:function(){return ye},IS_CREDIT_CARD:function(){return _e},IS_CURRENCY:function(){return Ae},IS_DATA_URI:function(){return ns},IS_DATE:function(){return Zl},IS_DATE_STRING:function(){return Aa},IS_DECIMAL:function(){return ee},IS_DEFINED:function(){return C},IS_DIVISIBLE_BY:function(){return yt},IS_EAN:function(){return ss},IS_EMAIL:function(){return Pe},IS_EMPTY:function(){return nt},IS_ENUM:function(){return eu},IS_ETHEREUM_ADDRESS:function(){return hs},IS_FIREBASE_PUSH_ID:function(){return Br},IS_FQDN:function(){return Ne},IS_FULL_WIDTH:function(){return je},IS_HALF_WIDTH:function(){return We},IS_HASH:function(){return va},IS_HEXADECIMAL:function(){return an},IS_HEX_COLOR:function(){return tn},IS_HSL:function(){return ms},IS_IBAN:function(){return _s},IS_IDENTITY_CARD:function(){return As},IS_IN:function(){return lt},IS_INSTANCE:function(){return Fu},IS_INT:function(){return ou},IS_IP:function(){return mn},IS_ISBN:function(){return Dn},IS_ISIN:function(){return kn},IS_ISO31661_ALPHA_2:function(){return ar},IS_ISO31661_ALPHA_3:function(){return dr},IS_ISO4217_CURRENCY_CODE:function(){return Vl},IS_ISO8601:function(){return Rn},IS_ISRC:function(){return Ps},IS_ISSN:function(){return Sa},IS_JSON:function(){return Vn},IS_JWT:function(){return Un},IS_LATITUDE:function(){return W},IS_LATLONG:function(){return z},IS_LENGTH:function(){return Xr},IS_LOCALE:function(){return Ns},IS_LONGITUDE:function(){return U},IS_LOWERCASE:function(){return Jn},IS_MAC_ADDRESS:function(){return hn},IS_MAGNET_URI:function(){return zs},IS_MILITARY_TIME:function(){return fa},IS_MIME_TYPE:function(){return Ys},IS_MOBILE_PHONE:function(){return nr},IS_MONGO_ID:function(){return yr},IS_MULTIBYTE:function(){return _r},IS_NEGATIVE:function(){return wt},IS_NOT_EMPTY:function(){return ot},IS_NOT_EMPTY_OBJECT:function(){return Lu},IS_NOT_IN:function(){return dt},IS_NUMBER:function(){return Kl},IS_NUMBER_STRING:function(){return Na},IS_OBJECT:function(){return pu},IS_OCTAL:function(){return Ks},IS_PASSPORT_NUMBER:function(){return nl},IS_PHONE_NUMBER:function(){return ca},IS_PORT:function(){return wn},IS_POSITIVE:function(){return bt},IS_POSTAL_CODE:function(){return al},IS_RFC_3339:function(){return dl},IS_RGB_COLOR:function(){return yl},IS_SEM_VER:function(){return _l},IS_STRING:function(){return lu},IS_STRONG_PASSWORD:function(){return Il},IS_SURROGATE_PAIR:function(){return Ar},IS_TAX_ID:function(){return Fl},IS_TIMEZONE:function(){return Tl},IS_UPPERCASE:function(){return Wr},IS_URL:function(){return Pr},IS_UUID:function(){return Nr},IS_VARIABLE_WIDTH:function(){return Xe},IsAlpha:function(){return Zt},IsAlphanumeric:function(){return Jt},IsArray:function(){return fu},IsAscii:function(){return le},IsBIC:function(){return Za},IsBase32:function(){return Ha},IsBase58:function(){return Ll},IsBase64:function(){return fe},IsBoolean:function(){return Ul},IsBooleanString:function(){return $a},IsBtcAddress:function(){return Qa},IsByteLength:function(){return ve},IsCreditCard:function(){return Se},IsCurrency:function(){return Te},IsDataURI:function(){return is},IsDate:function(){return ql},IsDateString:function(){return Ta},IsDecimal:function(){return re},IsDefined:function(){return P},IsDivisibleBy:function(){return vt},IsEAN:function(){return us},IsEmail:function(){return $e},IsEmpty:function(){return it},IsEnum:function(){return iu},IsEthereumAddress:function(){return ps},IsFQDN:function(){return Fe},IsFirebasePushId:function(){return zr},IsFullWidth:function(){return Ve},IsHSL:function(){return bs},IsHalfWidth:function(){return Ye},IsHash:function(){return xa},IsHexColor:function(){return nn},IsHexadecimal:function(){return ln},IsIBAN:function(){return Ss}
7,IsIP:function(){return bn},IsISBN:function(){return Cn},IsISIN:function(){return En},IsISO31661Alpha2:function(){return lr},IsISO31661Alpha3:function(){return fr},IsISO4217CurrencyCode:function(){return Wl},IsISO8601:function(){return Bn},IsISRC:function(){return $s},IsISSN:function(){return Ia},IsIdentityCard:function(){return Ts},IsIn:function(){return ct},IsInstance:function(){return ju},IsInt:function(){return su},IsJSON:function(){return Wn},IsJWT:function(){return Xn},IsLatLong:function(){return H},IsLatitude:function(){return Y},IsLocale:function(){return Fs},IsLongitude:function(){return X},IsLowercase:function(){return tr},IsMACAddress:function(){return pn},IsMagnetURI:function(){return Hs},IsMilitaryTime:function(){return ga},IsMimeType:function(){return Zs},IsMobilePhone:function(){return ir},IsMongoId:function(){return vr},IsMultibyte:function(){return Sr},IsNegative:function(){return Mt},IsNotEmpty:function(){return st},IsNotEmptyObject:function(){return Ru},IsNotIn:function(){return ft},IsNumber:function(){return Ql},IsNumberString:function(){return Fa},IsObject:function(){return yu},IsOctal:function(){return Qs},IsOptional:function(){return k},IsPassportNumber:function(){return il},IsPhoneNumber:function(){return ha},IsPort:function(){return Mn},IsPositive:function(){return _t},IsPostalCode:function(){return ll},IsRFC3339:function(){return fl},IsRgbColor:function(){return vl},IsSemVer:function(){return Sl},IsString:function(){return cu},IsStrongPassword:function(){return Dl},IsSurrogatePair:function(){return Tr},IsTaxId:function(){return jl},IsTimeZone:function(){return Ol},IsUUID:function(){return Fr},IsUppercase:function(){return Yr},IsUrl:function(){return $r},IsVariableWidth:function(){return Ke},Length:function(){return Kr},MATCHES:function(){return ai},MAX:function(){return It},MAX_DATE:function(){return Et},MAX_LENGTH:function(){return Jr},MIN:function(){return Tt},MIN_DATE:function(){return Pt},MIN_LENGTH:function(){return ei},Matches:function(){return li},Max:function(){return Dt},MaxDate:function(){return Nt},MaxLength:function(){return ti},MetadataStorage:function(){return l},Min:function(){return Ot},MinDate:function(){return $t},MinLength:function(){return ri},NOT_CONTAINS:function(){return Vt},NOT_EQUALS:function(){return Q},NotContains:function(){return Wt},NotEquals:function(){return et},Validate:function(){return E},ValidateBy:function(){return T},ValidateIf:function(){return L},ValidateNested:function(){return R},ValidatePromise:function(){return F},ValidationError:function(){return c},ValidationTypes:function(){return d},Validator:function(){return x},ValidatorConstraint:function(){return $},arrayContains:function(){return vu},arrayMaxSize:function(){return Ou},arrayMinSize:function(){return Du},arrayNotContains:function(){return _u},arrayNotEmpty:function(){return Mu},arrayUnique:function(){return $u},buildMessage:function(){return D},contains:function(){return jt},equals:function(){return K},getFromContainer:function(){return S},getMetadataStorage:function(){return u},isAlpha:function(){return Ut},isAlphanumeric:function(){return Kt},isArray:function(){return hu},isAscii:function(){return se},isBIC:function(){return Ua},isBase32:function(){return Va},isBase58:function(){return El},isBase64:function(){return he},isBoolean:function(){return Yl},isBooleanString:function(){return ka},isBtcAddress:function(){return Ja},isByteLength:function(){return me},isCreditCard:function(){return we},isCurrency:function(){return De},isDataURI:function(){return rs},isDate:function(){return Xl},isDateString:function(){return Da},isDecimal:function(){return ne},isDefined:function(){return O},isDivisibleBy:function(){return mt},isEAN:function(){return ls},isEmail:function(){return ke},isEmpty:function(){return rt},isEnum:function(){return nu},isEthereumAddress:function(){return fs},isFQDN:function(){return Re},isFirebasePushId:function(){return jr},isFullWidth:function(){return ze},isHSL:function(){return vs},isHalfWidth:function(){return Ge},isHash:function(){return ba},isHexColor:function(){return en},isHexadecimal:function(){return sn},isIBAN:function(){return ws},isIP:function(){return vn},isISBN:function(){return Tn},isISIN:function(){return $n},isISO31661Alpha2:function(){return sr},isISO31661Alpha3:function(){return hr},isISO4217CurrencyCode:function(){return Hl},isISO8601:function(){return Fn},isISRC:function(){return ks},isISSN:function(){return Ma},isIdentityCard:function(){return Ds},isIn:function(){return ut},isInstance:function(){return Bu},isInt:function(){return au},isJSON:function(){return Hn},isJWT:function(){return Zn},isLatLong:function(){return V},isLatitude:function(){return G},isLocale:function(){return Rs},isLongitude:function(){return Z},isLowercase:function(){return Qn},isMACAddress:function(){return fn},isMagnetURI:function(){return Vs},isMilitaryTime:function(){return pa},isMimeType:function(){return Us},isMobilePhone:function(){return rr},isMongoId:function(){return mr},isMultibyte:function(){return wr},isNegative:function(){return St},isNotEmpty:function(){return at},isNotEmptyObject:function(){return Nu},isNotIn:function(){return ht},isNumber:function(){return Jl},isNumberString:function(){return Ra},isObject:function(){return gu},isOctal:function(){return Js},isPassportNumber:function(){return rl},isPhoneNumber:function(){return da},isPort:function(){return Sn},isPositive:function(){return xt},isPostalCode:function(){return sl},isRFC3339:function(){return hl},isRgbColor:function(){return ml},isSemVer:function(){return wl},isString:function(){return uu},isStrongPassword:function(){return Al},isSurrogatePair:function(){return Dr},isTaxId:function(){return Bl},isTimeZone:function(){return Cl},isURL:function(){return kr},isUUID:function(){return Rr},isUppercase:function(){return Gr},isValidationOptions:function(){return un},isVariableWidth:function(){return qe},length:function(){return qr},matches:function(){return si}
vendor: 16,771 bytes, line 7
7,max:function(){return At},maxDate:function(){return Lt},maxLength:function(){return Qr},min:function(){return Ct},minDate:function(){return kt},minLength:function(){return ni},notContains:function(){return Ht},notEquals:function(){return tt},registerDecorator:function(){return A},registerSchema:function(){return Wu},useContainer:function(){return w},validate:function(){return zu},validateOrReject:function(){return Vu},validateSync:function(){return Hu}});var r=function(t){this.groups=[],this.each=!1,this.context=void 0,this.type=t.type,this.name=t.name,this.target=t.target,this.propertyName=t.propertyName,this.constraints=null==t?void 0:t.constraints,this.constraintCls=t.constraintCls,this.validationTypeOptions=t.validationTypeOptions,t.validationOptions&&(this.message=t.validationOptions.message,this.groups=t.validationOptions.groups,this.always=t.validationOptions.always,this.each=t.validationOptions.each,this.context=t.validationOptions.context)},i=function(){function t(){}return t.prototype.transform=function(t){var e=[];return Object.keys(t.properties).forEach((function(n){t.properties[n].forEach((function(i){var o={message:i.message,groups:i.groups,always:i.always,each:i.each},a={type:i.type,name:i.name,target:t.name,propertyName:n,constraints:i.constraints,validationTypeOptions:i.options,validationOptions:o};e.push(new r(a))}))})),e},t}();var o=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},a=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},s=function(t,e,n){if(n||2===arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))},l=function(){function t(){this.validationMetadatas=new Map,this.constraintMetadatas=new Map}return Object.defineProperty(t.prototype,"hasValidationMetaData",{get:function(){return!!this.validationMetadatas.size},enumerable:!1,configurable:!0}),t.prototype.addValidationSchema=function(t){var e=this;(new i).transform(t).forEach((function(t){return e.addValidationMetadata(t)}))},t.prototype.addValidationMetadata=function(t){var e=this.validationMetadatas.get(t.target);e?e.push(t):this.validationMetadatas.set(t.target,[t])},t.prototype.addConstraintMetadata=function(t){var e=this.constraintMetadatas.get(t.target);e?e.push(t):this.constraintMetadatas.set(t.target,[t])},t.prototype.groupByPropertyName=function(t){var e={};return t.forEach((function(t){e[t.propertyName]||(e[t.propertyName]=[]),e[t.propertyName].push(t)})),e},t.prototype.getTargetValidationMetadatas=function(t,e,n,r,i){var l,u,c=function(t){return void 0!==t.always?t.always:(!t.groups||!t.groups.length)&&n},d=function(t){return!(!r||i&&i.length||!t.groups||!t.groups.length)},h=(this.validationMetadatas.get(t)||[]).filter((function(n){return(n.target===t||n.target===e)&&(!!c(n)||!d(n)&&(!(i&&i.length>0)||n.groups&&!!n.groups.find((function(t){return-1!==i.indexOf(t)}))))})),f=[];try{for(var p=o(this.validationMetadatas.entries()),g=p.next();!g.done;g=p.next()){var y=a(g.value,2),m=y[0],v=y[1];t.prototype instanceof m&&f.push.apply(f,s([],a(v),!1))}}catch(t){l={error:t}}finally{try{g&&!g.done&&(u=p.return)&&u.call(p)}finally{if(l)throw l.error}}var b=f.filter((function(e){return"string"!=typeof e.target&&(e.target!==t&&((!(e.target instanceof Function)||t.prototype instanceof e.target)&&(!!c(e)||!d(e)&&(!(i&&i.length>0)||e.groups&&!!e.groups.find((function(t){return-1!==i.indexOf(t)}))))))})).filter((function(t){return!h.find((function(e){return e.propertyName===t.propertyName&&e.type===t.type}))}));return h.concat(b)},t.prototype.getTargetValidatorConstraints=function(t){return this.constraintMetadatas.get(t)||[]},t}();function u(){var t="undefined"!=typeof globalThis?globalThis:void 0!==n.g?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:void 0;return t.classValidatorMetadataStorage||(t.classValidatorMetadataStorage=new l),t.classValidatorMetadataStorage}var c=function(){function t(){}return t.prototype.toString=function(t,e,n,r){var i=this;void 0===t&&(t=!1),void 0===e&&(e=!1),void 0===n&&(n=""),void 0===r&&(r=!1);var o=t?"�[1m":"",a=t?"�[22m":"",s=function(t){return" - property ".concat(o).concat(n).concat(t).concat(a," has failed the following constraints: ").concat(o).concat((r?Object.values:Object.keys)(null!==(e=i.constraints)&&void 0!==e?e:{}).join(", ")).concat(a," \n");var e};if(e){var l=Number.isInteger(+this.property)?"[".concat(this.property,"]"):"".concat(n?".":"").concat(this.property);return this.constraints?s(l):this.children?this.children.map((function(e){return e.toString(t,!0,"".concat(n).concat(l),r)})).join(""):""}return"An instance of ".concat(o).concat(this.target?this.target.constructor.name:"an object").concat(a," has failed the validation:\n")+(this.constraints?s(this.property):"")+(this.children?this.children.map((function(e){return e.toString(t,!0,i.property,r)})).join(""):"")},t}(),d=function(){function t(){}return t.isValid=function(t){var e=this;return"isValid"!==t&&"getMessage"!==t&&-1!==Object.keys(this).map((function(t){return e[t]})).indexOf(t)},t.CUSTOM_VALIDATION="customValidation",t.NESTED_VALIDATION="nestedValidation",t.PROMISE_VALIDATION="promiseValidation",t.CONDITIONAL_VALIDATION="conditionalValidation",t.WHITELIST="whitelistValidation",t.IS_DEFINED="isDefined",t}();var h=function(){function t(){}return t.replaceMessageSpecialTokens=function(t,e){var n;return t instanceof Function?n=t(e):"string"==typeof t&&(n=t),n&&Array.isArray(e.constraints)&&e.constraints.forEach((function(t,e){n=n.replace(new RegExp("\\$constraint".concat(e+1),"g"),function(t){return Array.isArray(t)?t.join(", "):("symbol"==typeof t&&(t=t.description),"".concat(t))}(t))})),n&&void 0!==e.value&&null!==e.value&&["string","boolean","number"].includes(typeof e.value)&&(n=n.replace(/\$value/g,e.value)),n&&(n=n.replace(/\$property/g,e.property)),n&&(n=n.replace(/\$target/g,e.targetName)),n},t}();function f(t){return null!==t&&"object"==typeof t&&"function"==typeof t.then}var p,g,y=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},m=function(){function t(t,e){this.validator=t,this.validatorOptions=e,this.awaitingPromises=[],this.ignoreAsyncValidations=!1,this.metadataStorage=u()}return t.prototype.execute=function(t,e,n){var r,i,o=this;this.metadataStorage.hasValidationMetaData||!0!==(null===(r=this.validatorOptions)||void 0===r?void 0:r.enableDebugMessages)||console.warn("No validation metadata found. No validation will be performed. There are multiple possible reasons:\n - There may be multiple class-validator versions installed. You will need to flatten your dependencies to fix the issue.\n - This validation runs before any file with validation decorator was parsed by NodeJS.");var a=this.validatorOptions?this.validatorOptions.groups:void 0,s=this.validatorOptions&&this.validatorOptions.strictGroups||!1,l=this.validatorOptions&&this.validatorOptions.always||!1,u=void 0===(null===(i=this.validatorOptions)||void 0===i?void 0:i.forbidUnknownValues)||!1!==this.validatorOptions.forbidUnknownValues,h=this.metadataStorage.getTargetValidationMetadatas(t.constructor,e,l,s,a),f=this.metadataStorage.groupByPropertyName(h);if(this.validatorOptions&&u&&!h.length){var p=new c;return this.validatorOptions&&this.validatorOptions.validationError&&void 0!==this.validatorOptions.validationError.target&&!0!==this.validatorOptions.validationError.target||(p.target=t),p.value=void 0,p.property=void 0,p.children=[],p.constraints={unknownValue:"an unknown value was passed to the validate function"},void n.push(p)}this.validatorOptions&&this.validatorOptions.whitelist&&this.whitelist(t,f,n),Object.keys(f).forEach((function(e){var r=t[e],i=f[e].filter((function(t){return t.type===d.IS_DEFINED})),a=f[e].filter((function(t){return t.type!==d.IS_DEFINED&&t.type!==d.WHITELIST}));r instanceof Promise&&a.find((function(t){return t.type===d.PROMISE_VALIDATION}))?o.awaitingPromises.push(r.then((function(r){o.performValidations(t,r,e,i,a,n)}))):o.performValidations(t,r,e,i,a,n)}))},t.prototype.whitelist=function(t,e,n){var r=this,i=[];Object.keys(t).forEach((function(t){e[t]&&0!==e[t].length||i.push(t)})),i.length>0&&(this.validatorOptions&&this.validatorOptions.forbidNonWhitelisted?i.forEach((function(e){var i,o=r.generateValidationError(t,t[e],e);o.constraints=((i={})[d.WHITELIST]="property ".concat(e," should not exist"),i),o.children=void 0,n.push(o)})):i.forEach((function(e){return delete t[e]})))},t.prototype.stripEmptyErrors=function(t){var e=this;return t.filter((function(t){if(t.children&&(t.children=e.stripEmptyErrors(t.children)),0===Object.keys(t.constraints).length){if(0===t.children.length)return!1;delete t.constraints}return!0}))},t.prototype.performValidations=function(t,e,n,r,i,o){var a=i.filter((function(t){return t.type===d.CUSTOM_VALIDATION})),s=i.filter((function(t){return t.type===d.NESTED_VALIDATION})),l=i.filter((function(t){return t.type===d.CONDITIONAL_VALIDATION})),u=this.generateValidationError(t,e,n);o.push(u),this.conditionalValidations(t,e,l)&&(this.customValidations(t,e,r,u),this.mapContexts(t,e,r,u),void 0===e&&this.validatorOptions&&!0===this.validatorOptions.skipUndefinedProperties||null===e&&this.validatorOptions&&!0===this.validatorOptions.skipNullProperties||null==e&&this.validatorOptions&&!0===this.validatorOptions.skipMissingProperties||(this.customValidations(t,e,a,u),this.nestedValidations(e,s,u),this.mapContexts(t,e,i,u),this.mapContexts(t,e,a,u)))},t.prototype.generateValidationError=function(t,e,n){var r=new c;return this.validatorOptions&&this.validatorOptions.validationError&&void 0!==this.validatorOptions.validationError.target&&!0!==this.validatorOptions.validationError.target||(r.target=t),this.validatorOptions&&this.validatorOptions.validationError&&void 0!==this.validatorOptions.validationError.value&&!0!==this.validatorOptions.validationError.value||(r.value=e),r.property=n,r.children=[],r.constraints={},r},t.prototype.conditionalValidations=function(t,e,n){return n.map((function(n){return n.constraints[0](t,e)})).reduce((function(t,e){return t&&e}),!0)},t.prototype.customValidations=function(t,e,n,r){var i=this;n.forEach((function(n){i.metadataStorage.getTargetValidatorConstraints(n.constraintCls).forEach((function(o){if(!(o.async&&i.ignoreAsyncValidations||i.validatorOptions&&i.validatorOptions.stopAtFirstError&&Object.keys(r.constraints||{}).length>0)){var a={targetName:t.constructor?t.constructor.name:void 0,property:n.propertyName,object:t,value:e,constraints:n.constraints};if(n.each&&(Array.isArray(e)||e instanceof Set||e instanceof Map)){var s,l=((s=e)instanceof Map?Array.from(s.values()):Array.isArray(s)?s:Array.from(s)).map((function(t){return o.instance.validate(t,a)}));if(l.some((function(t){return f(t)}))){var u=l.map((function(t){return f(t)?t:Promise.resolve(t)})),c=Promise.all(u).then((function(a){if(!a.every((function(t){return t}))){var s=y(i.createValidationError(t,e,n,o),2),l=s[0],u=s[1];r.constraints[l]=u,n.context&&(r.contexts||(r.contexts={}),r.contexts[l]=Object.assign(r.contexts[l]||{},n.context))}}));i.awaitingPromises.push(c)}else{if(!l.every((function(t){return t}))){var d=y(i.createValidationError(t,e,n,o),2);m=d[0],v=d[1];r.constraints[m]=v}}}else{var h=o.instance.validate(e,a);if(f(h)){var p=h.then((function(a){if(!a){var s=y(i.createValidationError(t,e,n,o),2),l=s[0],u=s[1];r.constraints[l]=u,n.context&&(r.contexts||(r.contexts={}),r.contexts[l]=Object.assign(r.contexts[l]||{},n.context))}}));i.awaitingPromises.push(p)}else if(!h){var g=y(i.createValidationError(t,e,n,o),2),m=g[0],v=g[1];r.constraints[m]=v}}}}))}))},t.prototype.nestedValidations=function(t,e,n){var r=this;void 0!==t&&e.forEach((function(i){if((i.type===d.NESTED_VALIDATION||i.type===d.PROMISE_VALIDATION)&&!(r.validatorOptions&&r.validatorOptions.stopAtFirstError&&Object.keys(n.constraints||{}).length>0))if(Array.isArray(t)||t instanceof Set||t instanceof Map)(t instanceof Set?Array.from(t):t).forEach((function(i,o){r.performValidations(t,i,o.toString(),[],e,n.children)}));else if(t instanceof Object){var o="string"==typeof i.target?i.target:i.target.name;r.execute(t,o,n.children)}else{var a=y(r.createValidationError(i.target,t,i),2),s=a[0],l=a[1];n.constraints[s]=l}}))},t.prototype.mapContexts=function(t,e,n,r){var i=this;return n.forEach((function(t){if(t.context){var e=void 0;if(t.type===d.CUSTOM_VALIDATION)e=i.metadataStorage.getTargetValidatorConstraints(t.constraintCls)[0];var n=i.getConstraintType(t,e);r.constraints[n]&&(r.contexts||(r.contexts={}),r.contexts[n]=Object.assign(r.contexts[n]||{},t.context))}}))},t.prototype.createValidationError=function(t,e,n,r){var i=t.constructor?t.constructor.name:void 0,o=this.getConstraintType(n,r),a={targetName:i,property:n.propertyName,object:t,value:e,constraints:n.constraints},s=n.message||"";return n.message||this.validatorOptions&&(!this.validatorOptions||this.validatorOptions.dismissDefaultMessages)||r&&r.instance.defaultMessage instanceof Function&&(s=r.instance.defaultMessage(a)),[o,h.replaceMessageSpecialTokens(s,a)]},t.prototype.getConstraintType=function(t,e){return e&&e.name?e.name:t.type},t}(),v=function(t,e,n,r){return new(n||(n=Promise))((function(i,o){function a(t){try{l(r.next(t))}catch(t){o(t)}}function s(t){try{l(r.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}l((r=r.apply(t,e||[])).next())}))},b=function(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(t){s=[6,t],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},x=function(){function t(){}return t.prototype.validate=function(t,e,n){return this.coreValidate(t,e,n)},t.prototype.validateOrReject=function(t,e,n){return v(this,void 0,void 0,(function(){var r;return b(this,(function(i){switch(i.label){case 0:return[4,this.coreValidate(t,e,n)];case 1:return(r=i.sent()).length?[2,Promise.reject(r)]:[2]}}))}))},t.prototype.validateSync=function(t,e,n){var r="string"==typeof t?e:t,i="string"==typeof t?t:void 0,o=new m(this,"string"==typeof t?n:e);o.ignoreAsyncValidations=!0;var a=[];return o.execute(r,i,a),o.stripEmptyErrors(a)},t.prototype.coreValidate=function(t,e,n){var r="string"==typeof t?e:t,i="string"==typeof t?t:void 0,o=new m(this,"string"==typeof t?n:e),a=[];return o.execute(r,i,a),Promise.all(o.awaitingPromises).then((function(){return o.stripEmptyErrors(a)}))},t}(),_=new(function(){function t(){this.instances=[]}return t.prototype.get=function(t){var e=this.instances.find((function(e){return e.type===t}));return e||(e={type:t,object:new t},this.instances.push(e)),e.object},t}());function w(t,e){p=t,g=e}function S(t){if(p)try{var e=p.get(t);if(e)return e;if(!g||!g.fallback)return e}catch(t){if(!g||!g.fallbackOnErrors)throw t}return _.get(t)}function M(t){return function(e,n){var i={type:d.WHITELIST,target:e.constructor,propertyName:n,validationOptions:t};u().addValidationMetadata(new r(i))}}var I=function(){function t(t,e,n){void 0===n&&(n=!1),this.target=t,this.name=e,this.async=n}return Object.defineProperty(t.prototype,"instance",{get:function(){return S(this.target)}
vendor: 19,259 bytes, line 7
7,enumerable:!1,configurable:!0}),t}();function A(t){var e;if(t.validator instanceof Function){if(e=t.validator,S(l).getTargetValidatorConstraints(t.validator).length>1)throw"More than one implementation of ValidatorConstraintInterface found for validator on: ".concat(t.target.name,":").concat(t.propertyName)}else{var n=t.validator;e=function(){function t(){}return t.prototype.validate=function(t,e){return n.validate(t,e)},t.prototype.defaultMessage=function(t){return n.defaultMessage?n.defaultMessage(t):""},t}(),u().addConstraintMetadata(new I(e,t.name,t.async))}var i={type:t.name&&d.isValid(t.name)?t.name:d.CUSTOM_VALIDATION,name:t.name,target:t.target,propertyName:t.propertyName,validationOptions:t.options,constraintCls:e,constraints:t.constraints};u().addValidationMetadata(new r(i))}function D(t,e){return function(n){var r=e&&e.each?"each value in ":"";return t(r,n)}}function T(t,e){return function(n,r){A({name:t.name,target:n.constructor,propertyName:r,options:e,constraints:t.constraints,validator:t.validator})}}var C=d.IS_DEFINED;function O(t){return null!=t}function P(t){return T({name:C,validator:{validate:function(t){return O(t)},defaultMessage:D((function(t){return t+"$property should not be null or undefined"}),t)}},t)}function k(t){return function(e,n){var i={type:d.CONDITIONAL_VALIDATION,target:e.constructor,propertyName:n,constraints:[function(t,e){return null!==t[n]&&void 0!==t[n]}],validationOptions:t};u().addValidationMetadata(new r(i))}}function $(t){return function(e){var n=t&&t.async,r=t&&t.name?t.name:"";r||(r=e.name)||(r=r.replace(/\.?([A-Z]+)/g,(function(t,e){return"_"+e.toLowerCase()})).replace(/^_/,""));var i=new I(e,r,n);u().addConstraintMetadata(i)}}function E(t,e,n){return function(i,o){var a={type:d.CUSTOM_VALIDATION,target:i.constructor,propertyName:o,constraintCls:t,constraints:Array.isArray(e)?e:void 0,validationOptions:Array.isArray(e)?n:e};u().addValidationMetadata(new r(a))}}function L(t,e){return function(n,i){var o={type:d.CONDITIONAL_VALIDATION,target:n.constructor,propertyName:i,constraints:[t],validationOptions:e};u().addValidationMetadata(new r(o))}}var N=function(){return N=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},N.apply(this,arguments)};function R(t){var e=N({},t),n=e.each?"each value in ":"";return e.message=e.message||n+"nested property $property must be either object or array",function(t,n){var i={type:d.NESTED_VALIDATION,target:t.constructor,propertyName:n,validationOptions:e};u().addValidationMetadata(new r(i))}}function F(t){return function(e,n){var i={type:d.PROMISE_VALIDATION,target:e.constructor,propertyName:n,validationOptions:t};u().addValidationMetadata(new r(i))}}var B=n(5830),j=n.n(B),z="isLatLong";function V(t){return"string"==typeof t&&j()(t)}function H(t){return T({name:z,validator:{validate:function(t,e){return V(t)},defaultMessage:D((function(t){return t+"$property must be a latitude,longitude string"}),t)}},t)}var W="isLatitude";function G(t){return("number"==typeof t||"string"==typeof t)&&V("".concat(t,",0"))}function Y(t){return T({name:W,validator:{validate:function(t,e){return G(t)},defaultMessage:D((function(t){return t+"$property must be a latitude string or number"}),t)}},t)}var U="isLongitude";function Z(t){return("number"==typeof t||"string"==typeof t)&&V("0,".concat(t))}function X(t){return T({name:U,validator:{validate:function(t,e){return Z(t)},defaultMessage:D((function(t){return t+"$property must be a longitude string or number"}),t)}},t)}var q="equals";function K(t,e){return t===e}function J(t,e){return T({name:q,constraints:[t],validator:{validate:function(t,e){return K(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must be equal to $constraint1"}),e)}},e)}var Q="notEquals";function tt(t,e){return t!==e}function et(t,e){return T({name:Q,constraints:[t],validator:{validate:function(t,e){return tt(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property should not be equal to $constraint1"}),e)}},e)}var nt="isEmpty";function rt(t){return""===t||null==t}function it(t){return T({name:nt,validator:{validate:function(t,e){return rt(t)},defaultMessage:D((function(t){return t+"$property must be empty"}),t)}},t)}var ot="isNotEmpty";function at(t){return""!==t&&null!=t}function st(t){return T({name:ot,validator:{validate:function(t,e){return at(t)},defaultMessage:D((function(t){return t+"$property should not be empty"}),t)}},t)}var lt="isIn";function ut(t,e){return Array.isArray(e)&&e.some((function(e){return e===t}))}function ct(t,e){return T({name:lt,constraints:[t],validator:{validate:function(t,e){return ut(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must be one of the following values: $constraint1"}),e)}},e)}var dt="isNotIn";function ht(t,e){return!Array.isArray(e)||!e.some((function(e){return e===t}))}function ft(t,e){return T({name:dt,constraints:[t],validator:{validate:function(t,e){return ht(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property should not be one of the following values: $constraint1"}),e)}},e)}var pt=n(13735),gt=n.n(pt),yt="isDivisibleBy";function mt(t,e){return"number"==typeof t&&"number"==typeof e&>()(String(t),e)}function vt(t,e){return T({name:yt,constraints:[t],validator:{validate:function(t,e){return mt(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must be divisible by $constraint1"}),e)}},e)}var bt="isPositive";function xt(t){return"number"==typeof t&&t>0}function _t(t){return T({name:bt,validator:{validate:function(t,e){return xt(t)},defaultMessage:D((function(t){return t+"$property must be a positive number"}),t)}},t)}var wt="isNegative";function St(t){return"number"==typeof t&&t<0}function Mt(t){return T({name:wt,validator:{validate:function(t,e){return St(t)},defaultMessage:D((function(t){return t+"$property must be a negative number"}),t)}},t)}var It="max";function At(t,e){return"number"==typeof t&&"number"==typeof e&&t<=e}function Dt(t,e){return T({name:It,constraints:[t],validator:{validate:function(t,e){return At(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must not be greater than $constraint1"}),e)}},e)}var Tt="min";function Ct(t,e){return"number"==typeof t&&"number"==typeof e&&t>=e}function Ot(t,e){return T({name:Tt,constraints:[t],validator:{validate:function(t,e){return Ct(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must not be less than $constraint1"}),e)}},e)}var Pt="minDate";function kt(t,e){return t instanceof Date&&t.getTime()>=(e instanceof Date?e:e()).getTime()}function $t(t,e){return T({name:Pt,constraints:[t],validator:{validate:function(t,e){return kt(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return"minimal allowed date for "+t+"$property is $constraint1"}),e)}},e)}var Et="maxDate";function Lt(t,e){return t instanceof Date&&t.getTime()<=(e instanceof Date?e:e()).getTime()}function Nt(t,e){return T({name:Et,constraints:[t],validator:{validate:function(t,e){return Lt(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return"maximal allowed date for "+t+"$property is $constraint1"}),e)}},e)}var Rt=n(59220),Ft=n.n(Rt),Bt="contains";function jt(t,e){return"string"==typeof t&&Ft()(t,e)}function zt(t,e){return T({name:Bt,constraints:[t],validator:{validate:function(t,e){return jt(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must contain a $constraint1 string"}),e)}},e)}var Vt="notContains";function Ht(t,e){return"string"==typeof t&&!Ft()(t,e)}function Wt(t,e){return T({name:Vt,constraints:[t],validator:{validate:function(t,e){return Ht(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property should not contain a $constraint1 string"}),e)}},e)}var Gt=n(66529),Yt="isAlpha";function Ut(t,e){return"string"==typeof t&&(0,Gt.default)(t,e)}function Zt(t,e){return T({name:Yt,constraints:[t],validator:{validate:function(t,e){return Ut(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must contain only letters (a-zA-Z)"}),e)}},e)}var Xt=n(98986),qt="isAlphanumeric";function Kt(t,e){return"string"==typeof t&&(0,Xt.default)(t,e)}function Jt(t,e){return T({name:qt,constraints:[t],validator:{validate:function(t,e){return Kt(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must contain only letters and numbers"}),e)}},e)}var Qt=n(45926),te=n.n(Qt),ee="isDecimal";function ne(t,e){return"string"==typeof t&&te()(t,e)}function re(t,e){return T({name:ee,constraints:[t],validator:{validate:function(t,e){return ne(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property is not a valid decimal number."}),e)}},e)}var ie=n(74294),oe=n.n(ie),ae="isAscii";function se(t){return"string"==typeof t&&oe()(t)}function le(t){return T({name:ae,validator:{validate:function(t,e){return se(t)},defaultMessage:D((function(t){return t+"$property must contain only ASCII characters"}),t)}},t)}var ue=n(98274),ce=n.n(ue),de="isBase64";function he(t,e){return"string"==typeof t&&ce()(t,e)}function fe(t,e){return T({name:de,constraints:[t],validator:{validate:function(t,e){return he(t)},defaultMessage:D((function(t){return t+"$property must be base64 encoded"}),e)}},e)}var pe=n(46255),ge=n.n(pe),ye="isByteLength";function me(t,e,n){return"string"==typeof t&&ge()(t,{min:e,max:n})}function ve(t,e,n){return T({name:ye,constraints:[t,e],validator:{validate:function(t,e){return me(t,null==e?void 0:e.constraints[0],null==e?void 0:e.constraints[1])},defaultMessage:D((function(t){return t+"$property's byte length must fall into ($constraint1, $constraint2) range"}),n)}},n)}var be=n(61062),xe=n.n(be),_e="isCreditCard";function we(t){return"string"==typeof t&&xe()(t)}function Se(t){return T({name:_e,validator:{validate:function(t,e){return we(t)},defaultMessage:D((function(t){return t+"$property must be a credit card"}),t)}},t)}var Me=n(6782),Ie=n.n(Me),Ae="isCurrency";function De(t,e){return"string"==typeof t&&Ie()(t,e)}function Te(t,e){return T({name:Ae,constraints:[t],validator:{validate:function(t,e){return De(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must be a currency"}),e)}},e)}var Ce=n(69517),Oe=n.n(Ce),Pe="isEmail";function ke(t,e){return"string"==typeof t&&Oe()(t,e)}function $e(t,e){return T({name:Pe,constraints:[t],validator:{validate:function(t,e){return ke(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must be an email"}),e)}},e)}var Ee=n(57658),Le=n.n(Ee),Ne="isFqdn";function Re(t,e){return"string"==typeof t&&Le()(t,e)}function Fe(t,e){return T({name:Ne,constraints:[t],validator:{validate:function(t,e){return Re(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must be a valid domain name"}),e)}},e)}var Be=n(29666),je="isFullWidth";function ze(t){return"string"==typeof t&&(0,Be.default)(t)}function Ve(t){return T({name:je,validator:{validate:function(t,e){return ze(t)},defaultMessage:D((function(t){return t+"$property must contain a full-width characters"}),t)}},t)}var He=n(49534),We="isHalfWidth";function Ge(t){return"string"==typeof t&&(0,He.default)(t)}function Ye(t){return T({name:We,validator:{validate:function(t,e){return Ge(t)},defaultMessage:D((function(t){return t+"$property must contain a half-width characters"}),t)}},t)}var Ue=n(31449),Ze=n.n(Ue),Xe="isVariableWidth";function qe(t){return"string"==typeof t&&Ze()(t)}function Ke(t){return T({name:Xe,validator:{validate:function(t,e){return qe(t)},defaultMessage:D((function(t){return t+"$property must contain a full-width and half-width characters"}),t)}},t)}var Je=n(24641),Qe=n.n(Je),tn="isHexColor";function en(t){return"string"==typeof t&&Qe()(t)}function nn(t){return T({name:tn,validator:{validate:function(t,e){return en(t)},defaultMessage:D((function(t){return t+"$property must be a hexadecimal color"}),t)}},t)}var rn=n(82002),on=n.n(rn),an="isHexadecimal";function sn(t){return"string"==typeof t&&on()(t)}function ln(t){return T({name:an,validator:{validate:function(t,e){return sn(t)},defaultMessage:D((function(t){return t+"$property must be a hexadecimal number"}),t)}},t)}function un(t){return!!t&&("each"in t||"message"in t||"groups"in t||"always"in t||"context"in t)}var cn=n(3196),dn=n.n(cn),hn="isMacAddress";function fn(t,e){return"string"==typeof t&&dn()(t,e)}function pn(t,e){var n=un(t)?void 0:t,r=un(t)?t:e;return T({name:hn,constraints:[n],validator:{validate:function(t,e){return fn(t,n)},defaultMessage:D((function(t){return t+"$property must be a MAC Address"}),r)}},r)}var gn=n(35372),yn=n.n(gn),mn="isIp";function vn(t,e){var n=e?"".concat(e):void 0;return"string"==typeof t&&yn()(t,n)}function bn(t,e){return T({name:mn,constraints:[t],validator:{validate:function(t,e){return vn(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must be an ip address"}),e)}},e)}var xn=n(33906),_n=n.n(xn),wn="isPort";function Sn(t){return"string"==typeof t&&_n()(t)}function Mn(t){return T({name:wn,validator:{validate:function(t,e){return Sn(t)},defaultMessage:D((function(t){return t+"$property must be a port"}),t)}},t)}var In=n(59717),An=n.n(In),Dn="isIsbn";function Tn(t,e){var n=e?"".concat(e):void 0;return"string"==typeof t&&An()(t,n)}function Cn(t,e){return T({name:Dn,constraints:[t],validator:{validate:function(t,e){return Tn(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must be an ISBN"}),e)}},e)}var On=n(92678),Pn=n.n(On),kn="isIsin";function $n(t){return"string"==typeof t&&Pn()(t)}function En(t){return T({name:kn,validator:{validate:function(t,e){return $n(t)},defaultMessage:D((function(t){return t+"$property must be an ISIN (stock/security identifier)"}),t)}},t)}var Ln=n(66169),Nn=n.n(Ln),Rn="isIso8601";function Fn(t,e){return"string"==typeof t&&Nn()(t,e)}function Bn(t,e){return T({name:Rn,constraints:[t],validator:{validate:function(t,e){return Fn(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must be a valid ISO 8601 date string"}),e)}},e)}var jn=n(75751),zn=n.n(jn),Vn="isJson";function Hn(t){return"string"==typeof t&&zn()(t)}function Wn(t){return T({name:Vn,validator:{validate:function(t,e){return Hn(t)},defaultMessage:D((function(t){return t+"$property must be a json string"}),t)}},t)}var Gn=n(29172),Yn=n.n(Gn),Un="isJwt";function Zn(t){return"string"==typeof t&&Yn()(t)}function Xn(t){return T({name:Un,validator:{validate:function(t,e){return Zn(t)},defaultMessage:D((function(t){return t+"$property must be a jwt string"}),t)}},t)}var qn=n(37612),Kn=n.n(qn),Jn="isLowercase";function Qn(t){return"string"==typeof t&&Kn()(t)}function tr(t){return T({name:Jn,validator:{validate:function(t,e){return Qn(t)},defaultMessage:D((function(t){return t+"$property must be a lowercase string"}),t)}},t)}var er=n(95251),nr="isMobilePhone";function rr(t,e,n){return"string"==typeof t&&(0,er.default)(t,e,n)}function ir(t,e,n){return T({name:nr,constraints:[t,e],validator:{validate:function(t,e){return rr(t,null==e?void 0:e.constraints[0],null==e?void 0:e.constraints[1])},defaultMessage:D((function(t){return t+"$property must be a phone number"}),n)}},n)}var or=n(88447),ar="isISO31661Alpha2";function sr(t){return"string"==typeof t&&(0,or.default)(t)}function lr(t){return T({name:ar,validator:{validate:function(t,e){return sr(t)},defaultMessage:D((function(t){return t+"$property must be a valid ISO31661 Alpha2 code"}),t)}},t)}var ur=n(53832),cr=n.n(ur),dr="isISO31661Alpha3";function hr(t){return"string"==typeof t&&cr()(t)}function fr(t){return T({name:dr,validator:{validate:function(t,e){return hr(t)},defaultMessage:D((function(t){return t+"$property must be a valid ISO31661 Alpha3 code"}),t)}},t)}var pr=n(31252),gr=n.n(pr),yr="isMongoId";function mr(t){return"string"==typeof t&&gr()(t)}function vr(t){return T({name:yr,validator:{validate:function(t,e){return mr(t)},defaultMessage:D((function(t){return t+"$property must be a mongodb id"}),t)}},t)}var br=n(72830),xr=n.n(br),_r="isMultibyte";function wr(t){return"string"==typeof t&&xr()(t)}function Sr(t){return T({name:_r,validator:{validate:function(t,e){return wr(t)},defaultMessage:D((function(t){return t+"$property must contain one or more multibyte chars"}),t)}},t)}var Mr=n(43459),Ir=n.n(Mr),Ar="isSurrogatePair";function Dr(t){return"string"==typeof t&&Ir()(t)}function Tr(t){return T({name:Ar,validator:{validate:function(t,e){return Dr(t)},defaultMessage:D((function(t){return t+"$property must contain any surrogate pairs chars"}),t)}},t)}var Cr=n(77844),Or=n.n(Cr),Pr="isUrl";function kr(t,e){return"string"==typeof t&&Or()(t,e)}function $r(t,e){return T({name:Pr,constraints:[t],validator:{validate:function(t,e){return kr(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must be a URL address"}),e)}},e)}var Er=n(65186),Lr=n.n(Er),Nr="isUuid";function Rr(t,e){return"string"==typeof t&&Lr()(t,e)}function Fr(t,e){return T({name:Nr,constraints:[t],validator:{validate:function(t,e){return Rr(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must be a UUID"}),e)}},e)}var Br="IsFirebasePushId";function jr(t){return"string"==typeof t&&20===t.length&&/^[a-zA-Z0-9_-]*$/.test(t)}function zr(t){return T({name:Br,validator:{validate:function(t,e){return jr(t)},defaultMessage:D((function(t){return t+"$property must be a Firebase Push Id"}),t)}},t)}var Vr=n(75577),Hr=n.n(Vr),Wr="isUppercase";function Gr(t){return"string"==typeof t&&Hr()(t)}function Yr(t){return T({name:Wr,validator:{validate:function(t,e){return Gr(t)},defaultMessage:D((function(t){return t+"$property must be uppercase"}),t)}},t)}var Ur=n(29285),Zr=n.n(Ur),Xr="isLength";function qr(t,e,n){return"string"==typeof t&&Zr()(t,{min:e,max:n})}function Kr(t,e,n){return T({name:Xr,constraints:[t,e],validator:{validate:function(t,e){return qr(t,null==e?void 0:e.constraints[0],null==e?void 0:e.constraints[1])},defaultMessage:D((function(t,e){var n=null!==(null==e?void 0:e.constraints[0])&&void 0!==(null==e?void 0:e.constraints[0]),r=null!==(null==e?void 0:e.constraints[1])&&void 0!==(null==e?void 0:e.constraints[1]);return n&&(!e.value||e.value.length<(null==e?void 0:e.constraints[0]))?t+"$property must be longer than or equal to $constraint1 characters":r&&e.value.length>(null==e?void 0:e.constraints[1])?t+"$property must be shorter than or equal to $constraint2 characters":t+"$property must be longer than or equal to $constraint1 and shorter than or equal to $constraint2 characters"}),n)}},n)}var Jr="maxLength";function Qr(t,e){return"string"==typeof t&&Zr()(t,{min:0,max:e})}function ti(t,e){return T({name:Jr,constraints:[t],validator:{validate:function(t,e){return Qr(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must be shorter than or equal to $constraint1 characters"}),e)}},e)}var ei="minLength";function ni(t,e){return"string"==typeof t&&Zr()(t,{min:e})}
vendor: 9,436 bytes, line 7
7function ri(t,e){return T({name:ei,constraints:[t],validator:{validate:function(t,e){return ni(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must be longer than or equal to $constraint1 characters"}),e)}},e)}var ii=n(72576),oi=n.n(ii),ai="matches";function si(t,e,n){return"string"==typeof t&&oi()(t,e,n)}function li(t,e,n){var r;return e&&e instanceof Object&&!n?n=e:r=e,T({name:ai,constraints:[t,r],validator:{validate:function(t,e){return si(t,null==e?void 0:e.constraints[0],null==e?void 0:e.constraints[1])},defaultMessage:D((function(t,e){return t+"$property must match $constraint1 regular expression"}),n)}},n)}var ui={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6],0,0,0,0,0,0,0,[["6[2-467]\\d{3}",[5]],["4\\d{4}",[5]],0,0,0,0,["(?:0[1-9]|[1589]\\d)\\d{4}",[6]]]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[["[78]\\d{5}",[6]],["690\\d{6}|[356]\\d{5}",[6,9]],["180[02]\\d{4}",[8]],["[19]\\d{5}",[6]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0",0,0,0,0,0,[["[2-4679][2-8]\\d{6}",[8]],["5[024-68]\\d{7}",[9]],["400\\d{6}|800\\d{2,9}"],["900[02]\\d{5}",[9]],0,0,["600[25]\\d{5}",[9]],0,0,["700[05]\\d{5}",[9]]]],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0",0,0,0,0,0,[["(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}"],["7\\d{8}"]]],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268",[["268(?:4(?:6[0-38]|84)|56[0-2])\\d{4}"],["268(?:464|7(?:1[3-9]|[28]\\d|3[0246]|64|7[0-689]))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,["26840[69]\\d{4}"],["26848[01]\\d{4}"]]],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264",[["264(?:292|4(?:6[12]|9[78]))\\d{4}"],["264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,["264724\\d{4}"]]],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0",0,0,0,0,0,[["4505[0-2]\\d{3}|(?:[2358][16-9]\\d[2-9]|4410)\\d{4}|(?:[2358][2-5][2-9]|4(?:[2-57-9][2-9]|6\\d))\\d{5}",[8]],["6(?:[78][2-9]|9\\d)\\d{6}",[9]],["800\\d{4}",[7]],["900[1-9]\\d\\d",[6]],["700[2-9]\\d{4}",[8]],0,0,0,0,["808[1-9]\\d\\d",[6]]]],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:1[0-25]|47)\\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2)\\d{5}"],["(?:33|4[1349]|55|77|88|9[13-9])\\d{6}"],["800\\d{5}"],["90[016]\\d{5}"],0,0,0,0,["60(?:2[78]|3[5-9]|4[02-9]|5[0-46-9]|[6-8]\\d|9[0-2])\\d{4}"],["80[1-4]\\d{5}"]]],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]],0,0,0,0,0,0,[["2\\d(?:[0134][25-9]|[25-9]\\d)\\d{5}"],["9[1-79]\\d{7}"]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-4
76-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1",0,0,[["3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:2(?:657|9(?:54|66))|3(?:7(?:55|77)|865))[2-8]\\d{5}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:284|3(?:02|23)|920)|3(?:4(?:46|8[27]|92)|541|878))[2-7]\\d{5}|(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:62|76|89)|564))[2-6]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|5[3-6]|8[3-68])))\\d{6}|2(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|35|5[17])))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}",[10]],["93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|9(?:2(?:657|9(?:54|66))|3(?:7(?:55|77)|865))[2-8]\\d{5}
7|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:284|3(?:02|23)|920)|3(?:4(?:46|8[27]|92)|541|878))[2-7]\\d{5}|9(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:62|76|89)|564))[2-6]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-8]|[25][4-6]|3[3-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|5[3-6]|8[3-68]))))\\d{6}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|35|5[17])))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}"],["800\\d{7,8}"],["60[04579]\\d{7}",[10]],0,0,["810\\d{7}",[10]]]],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684",[["6846(?:22|33|44|55|77|88|9[19])\\d{4}"],["684(?:2(?:48|5[2468]|7[26])|7(?:3[13]|70|82))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0",0,0,0,0,0,[["1(?:11\\d|[2-9]\\d{3,11})|(?:316|463|(?:51|66|73)2)\\d{3,10}|(?:2(?:1[467]|2[13-8]|5[2357]|6[1-46-8]|7[1-8]|8[124-7]|9[1458])|3(?:1[1-578]|3[23568]|4[5-7]|5[1378]|6[1-38]|8[3-68])|4(?:2[1-8]|35|7[1368]|8[2457])|5(?:2[1-8]|3[357]|4[147]|5[12578]|6[37])|6(?:13|2[1-47]|4[135-8]|5[468])|7(?:2[1-8]|35|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{4,10}"],["6(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d{4,10}",[7,8,9,10,11,12,13]],["800\\d{6,10}",[9,10,11,12,13]],["(?:8[69][2-68]|9(?:0[01]|3[019]))\\d{6,10}",[9,10,11,12,13]],0,0,0,0,["5(?:0[1-9]|17|[79]\\d)\\d{2,10}|7[28]0\\d{6,10}",[5,6,7,8,9,10,11,12,13]],["8(?:10|2[018])\\d{6,10}|828\\d{5}",[8,9,10,11,12,13]]]],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]],0,0,0,0,0,0,[["5(?:2\\d|8[1-9])\\d{4}"],["(?:290|5[69]\\d|6(?:[03]0|22|4[0-2]|[69]\\d)|7(?:[34]\\d|7[07])|9(?:6[45]|9[4
7-8]))\\d{4}"],["800\\d{4}"],["900\\d{4}"],0,0,0,0,["(?:28\\d|501)\\d{4}"]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",[["18[1-8]\\d{3,6}",[6,7,8,9]],["4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",[6,7,8,9,10]],["800\\d{4,6}",[7,8,9]],["[67]00\\d{5,6}",[8,9]],0,0,["20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}"]],"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:2[12]428|3655[02])\\d{4}|(?:2(?:22[0-79]|63[0-28])|3654)\\d{5}|(?:(?:1[28]|46)\\d|2(?:[014-6]2|[23]3))\\d{6}"],["36554\\d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)\\d{7}"],["88\\d{7}"],["900200\\d{3}"]]],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0",0,0,0,0,0,[["(?:3(?:[05-79][2-9]|1[4579]|[23][24-9]|4[2-4689]|8[2457-9])|49[2-579]|5(?:0[2-49]|[13][2-9]|[268][2-4679]|4[4689]|5[2-79]|7[2-69]|9[2-4689]))\\d{5}",[8]],["6040\\d{5}|6(?:03|[1-356]|44|7\\d)\\d{6}"],["8[08]\\d{6}",[8]],["9[0246]\\d{6}",[8]],0,0,["703[235]0\\d{3}|70(?:2[0-5]|3[0146]|[56]0)\\d{4}",[8]],0,0,["8[12]\\d{6}",[8]]]],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246",[["246521[0369]\\d{3}|246(?:2(?:2[78]|7[0-4])|4(?:1[024-6]|2\\d|3[2-9])|5(?:20|[34]\\d|54|7[1-3])|6(?:2\\d|38)|7[35]7|9(?:1[89]|63))\\d{4}"],["246(?:(?:2(?:[3568]\\d|4[0-57-9])|3(?:5[2-9]|6[0-6])|4(?:46|5\\d)|69[5-7]|8(?:[2-5]\\d|83))\\d|52(?:1[147]|20))\\d{3}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["(?:246976|900[2-9]\\d\\d)\\d{4}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,["246(?:292|367|4(?:1[7-9]|3[01]|4[47-9]|67)|7(?:1[2-9]|2\\d|3[016]|53))\\d{4}"],0,["24631\\d{5}"]]],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0",0,0,0,0,0,[["(?:4(?:31\\d\\d|423)|5222)\\d{3}(?:\\d{2})?|8332[6-9]\\d\\d|(?:3(?:03[56]|224)|4(?:22[25]|653))\\d{3,4}|(?:3(?:42[47]|529|823)|4(?:027|525|65(?:28|8))|562|6257|7(?:1(?:5[3-5]|6[12]|7[156]|89)|22[589]56|32|42675|52(?:[25689](?:56|8)|[347]8)|71(?:6[1267]|75|89)|92374)|82(?:2[59]|32)56|9(?:03[23]56|23(?:256|373)|31|5(?:1|2[4589]56)))\\d{3}|(?:3(?:02[348]|22[35]|324|422)|4(?:22[67]|32[236-9]|6(?:2[46]|5[57])|953)|5526|6(?:024|6655)|81)\\d{4,5}|(?:2(?:7(?:1[0-267]|2[0-289]|3[0-29]|4[01]|5[1-3]|6[013]|7[0178]|91)|8(?:0[125]|1[1-6]|2[0157-9]|3[1-69]|41|6[1-35]|7[1-5]|8[1-8]|9[0-6])|9(?:0[0-2]|1[0-4]|2[568]|3[3-6]|5[5-7]|6[0136-9]|7[0-7]|8[014-9]))|3(?:0(?:2[025-79]|3[2-4])|181|22[12]|32[2356]|824)|4(?:02[09]|22[348]|32[045]|523|6(?:27|54))|666(?:22|53)|7(?:22[57-9]|42[56]|82[35])8|8(?:0[124-9]|2(?:181|2[02-4679]8)|4[12]|[5-7]2)|9(?:[04]2|2(?:2|328)|81))\\d{4}|(?:2(?:[23]\\d|[45])\\d\\d|3(?:1(?:2[5-7]|[5-7])|425|822)|4(?:033|1\\d|[257]1|332|4(?:2[246]|5[25])|6(?:2[35]|56|62)|8(?:23|54)|92[2-5])|5(?:02[03489]|22[457]|32[35-79]|42[46]|6(?:[18]|53)|724|826)|6(?:023|2(?:2[2-5]|5[3-5]|8)|32[3478]|42[34]|52[47]|6(?:[18]|6(?:2[34]|5[24]))|[78]2[2-5]|92[2-6])|7(?:02|21\\d|[3-589]1|6[12]|72[24])|8(?:217|3[12]|[5-7]1)|9[24]1)\\d{5}|(?:(?:3[2-8]|5[2-57-9]|6[03-589])1|4[4689][18])\\d{5}|[59]1\\d{5}"],["(?:1[13-9]\\d|644)\\d{7}|(?:3[78]|44|66)[02-9]\\d{7}",[10]],["80[03]\\d{7}",[10]],0,0,0,0,0,["96(?:0[469]|1[0-47]|3[389]|43|6[69]|7[78])\\d{6}",[10]]]],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0",0,0,0,0,0,[["80[2-8]\\d{5}|(?:1[0-69]|[23][2-8]|4[23]|5\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\d{6}",[8]],["4[5-9]\\d{7}",[9]],["800[1-9]\\d{4}",[8]],["(?:70(?:2[0-57]|3[04-7]|44|6[4-69]|7[0579])|90\\d\\d)\\d{4}",[8]],0,0,["78(?:0[57]|1[014-8]|2[25]|3[15-8]|48|[56]0|7[06-8]|9\\d)\\d{4}",[8]],0,0,["7879\\d{4}",[8]]]],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]],0,0,0,0,0,0,[["2(?:0(?:49|5[23]|6[5-7]|9[016-9])|4(?:4[569]|5[4-6]|6[5-7]|7[01
779])|5(?:[34]\\d|50|6[5-7]))\\d{4}"],["(?:0[1-7]|5[0-8]|[67]\\d)\\d{6}"]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0",0,0,0,0,0,[["2\\d{5,7}|(?:43[1-6]|70[1-9])\\d{4,5}|(?:[36]\\d|4[124-7]|[57][1-9]|8[1-6]|9[1-7])\\d{5,6}",[6,7,8]],["(?:43[07-9]|99[69]\\d)\\d{5}|(?:8[7-9]|98)\\d{7}",[8,9]],["(?:00800\\d\\d|800)\\d{5}",[8,12]],["90\\d{6}",[8]],0,0,0,0,0,["700\\d{5}",[8]]]],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]],0,0,0,0,0,0,[["(?:1(?:3[1356]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|55|7[7-9]|88)|9[69][69])|7(?:[07]\\d\\d|1(?:11|78)))\\d{4}"],["(?:3(?:[0-79]\\d|8[0-57-9])\\d|6(?:3(?:00|33|6[16])|441|6(?:3[03-9]|[69]\\d|7[0-689])))\\d{4}"],["8[02369]\\d{6}"],["(?:87|9[0-8])\\d{6}"],0,0,0,0,0,["84\\d{6}"]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]],0,0,0,0,0,0,[["(?:22|31)\\d{6}"],["(?:29|[67][125-9])\\d{6}"]]],BJ:["229","00","[24-689]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]]],0,0,0,0,0,0,[["2090\\d{4}|2(?:02|1[037]|2[45]|3[68]|4\\d)\\d{5}"],["(?:4[0-8]|[56]\\d|9[013-9])\\d{6}"],0,0,0,0,["81\\d{6}"],0,["857[58]\\d{4}"]]],BL:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441",[["441(?:[46]\\d\\d|5(?:4\\d|60|89))\\d{4}"],["441(?:[2378]\\d|5[0-39]|9[02])\\d{5}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]],0,0,0,0,0,0,[["22[0-7]\\d{4}|(?:2[013-9]|[34]\\d|5[0-25-9])\\d{5}"],["(?:22[89]|[78]\\d\\d)\\d{4}"],0,0,0,0,0,0,["5[34]\\d{5}"]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?",0,0,0,[["(?:2(?:2\\d\\d|5(?:11|[258]\\d|9[67])|6(?:12|2\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\d\\d|4(?:6\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:[27]\\d|3[2-4]|4[248]|5[24]|6[2-6]))|4(?:4\\d\\d|6(?:11|[24689]\\d|72)))\\d{4}",[8]],["[67]\\d{7}",[8]],["8001[07]\\d{4}",[9]],0,0,0,0,0,["50\\d{6}",[8]]]],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]",[["(?:318[023]|41(?:6[023]|70)|7(?:1[578]|2[05]|50)\\d)\\d{3}"],["(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8\\d|9[056])\\d)\\d{3}"]]],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2",0,0,[["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}",[10]],["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9\\d)\\d{7}",[10,11]],["800\\d{6,7}",[9,10]],["300\\d{6}|[59]00\\d{6,7}",[9,10]],0,0,0,0,0,["(?:30[03]\\d{3}|4(?:0(?:0\\d|20)|370))\\d{4}|300\\d{5}",[8,10]]]],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242",[["242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[347]|8[0-4]|9[2-467])|461|502|6(?:0[1-5]|12|2[013]|[45]0|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}"],["242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7\\d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\d|3[0-4]|[89]9))\\d{4}"],["242300\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,["242225\\d{4}"]]],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]],0,0,0,0,0,0,[["(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}",[7]],["(?:1[67]|77)\\d{6}",[8]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\d|7[013]|81)|4(?:6[03]|7[1267]|9[0-5])|5(?:3[03489]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[013467]))\\d{4}",[7]],["(?:321|7[1-8]\\d)\\d{5}",[8]],["(?:0800|800\\d)\\d{6}",[10]],["90\\d{5}",[7]],0,0,0,0,["79(?:1(?:[0-2]\\d|3[0-3])|2[0-7]\\d)\\d{3}",[8]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,[["(?:1(?:5(?:1[1-5]|[24]\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d\\d)|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:[26]\\d|3[02-79]|4[024-7]|5[03-7])))\\d{5}",[9]],["(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\d)\\d{6}",[9]],["800\\d{3,7}|8(?:0[13]|20\\d)\\d{7}"],["(?:810|902)\\d{7}",[10]],0,0,0,0,["249\\d{6}",[9]]],"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]],0,0,0,0,0,0,[["(?:2(?:[02]\\d|36|[68]0)|[3-58](?:[02]\\d|[68]0)|7(?:[02]\\d|32|[68]0))\\d{4}",[7]],["6[0-35-7]\\d{5}",[7]],["0800\\d{7}",[11]]]],CA:["1","011","(?:[2-8]\\d|90)\\d{8}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|90[25])[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:12|573)\\d\\d|276)\\d{5}|[1-6]\\d{6}"],["88\\d{5}|(?:8[0-69]|9[017-9])\\d{7}",[7,9]]]],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]],0,0,0,0,0,0,[["2[12]\\d{6}"],["7[024-7]\\d{6}"],0,["8776\\d{4}"]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]],0,0,0,0,0,0,[["222[1-589]\\d{5}"],["026(?:1[0-5]|6[6-9])\\d{4}|0(?:[14-6]\\d\\d|2(?:40|5[5-8]|6[07-9]))\\d{5}"],0,["80[0-2]\\d{6}"]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:2[12467]|3[1-4]|4[134]|5[256]|6[12]|[7-9]1)\\d{7}",[9]],["(?:6[89]|7[235-9])\\d{7}",[9]],["800\\d{6}",[9]],["90[016]\\d{6}",[9]],["878\\d{6}",[9]],["860\\d{9}",[12]],["5[18]\\d{7}",[9]],["74[0248]\\d{6}",[9]],0,["84[0248]\\d{6}",[9]]]],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]],0,0,0,0,0,0,[["2(?:[15]\\d{3}|7(?:2(?:0[23]|1[2357]|2[245]|3[45]|4[3-5])|3(?:06|1[69]|[2-6]7)))\\d{5}"],["0[157]\\d{8}"]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]],0,0,0,0,0,0,[["(?:2\\d|3[13-7]|4[1-5])\\d{3}"],["[578]\\d{4}"]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]],0,0,0,0,0,0,[["2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[03467]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-3])|600)|646[59])|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}",[9]],["",[9]],["(?:123|8)00\\d{6}",[9,11]],0,0,0,0,0,["44\\d{7}",[9]],["600\\d{7,8}",[10,11]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]],0,0,0,0,0,0,[["2(?:22|33)\\d{6}",[9]],["(?:24[23]|6(?:[25-9]\\d|40))\\d{6}",[9]],["88\\d{6,7}"]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4}
7)","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,[["(?:10(?:[02-79]\\d\\d|[18](?:0[1-9]|[1-9]\\d))|2(?:[02-57-9]\\d{3}|1(?:[18](?:0[1-9]|[1-9]\\d)|[2-79]\\d\\d))|(?:41[03]|8078|9(?:78|94))\\d\\d)\\d{5}|(?:10|2[0-57-9])(?:1(?:00|23)\\d\\d|95\\d{3,4})|(?:41[03]|9(?:78|94))(?:100\\d\\d|95\\d{3,4})|8078123|(?:43[35]|754|851)\\d{7,8}|(?:43[35]|754|851)(?:1(?:00\\d|23)\\d|95\\d{3,4})|(?:3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:[39]1|5[57]|6[09])|8(?:71|98))(?:[02-8]\\d{7}|1(?:0(?:0\\d\\d(?:\\d{3})?|[1-9]\\d{5})|[13-9]\\d{6}|2(?:[0-24-9]\\d{5}|3\\d(?:\\d{4})?))|9(?:[0-46-9]\\d{6}|5\\d{3}(?:\\d(?:\\d{2})?)?))|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[24-9]|2[179]|3[46-9]|5[2-9]|6[47-9]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-3689]|6[2368]|9[02-9])|8(?:1[236-8]|2[5-7]|3\\d|5[2-9]|7[02-9]|8[36-8]|9[1-7])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))(?:[02-8]\\d{6}|1(?:0(?:0\\d\\d(?:\\d{2})?|[1-9]\\d{4})|[13-9]\\d{5}|2(?:[0-24-9]\\d{4}|3\\d(?:\\d{3})?))|9(?:[0-46-9]\\d{5}|5\\d{3,5}))",[7,8,9,10,11]],["1740[0-5]\\d{6}|1(?:[38]\\d|4[57]|[59][0-35-9]|6[25-7]|7[0-35-8])\\d{8}",[11]],["(?:(?:10|21)8|8)00\\d{7}",[10,12]],["16[08]\\d{5}",[8]],0,0,0,0,0,["10(?:10\\d{4}|96\\d{3,4})|400\\d{7}|950\\d{7,8}|(?:2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}",[7,8,9,10,11]]],"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","60\\d{8}|(?:1\\d|[39])\\d{9}",[10,11],[["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?",0,0,0,[["601055(?:[0-4]\\d|50)\\d\\d|6010(?:[0-4]\\d|5[0-4])\\d{4}|60(?:[124-7][2-9]|8[1-9])\\d{6}",[10]],["333301[0-5]\\d{3}|3333(?:00|2[5-9]|[3-9]\\d)\\d{4}|(?:3(?:24[1-9]|3(?:00|3[0-24-9]))|9101)\\d{6}|3(?:0[0-5]|1\\d|2[0-3]|5[01]|70)\\d{7}",[10]],["1800\\d{7}",[11]],["(?:19(?:0[01]|4[78])|901)\\d{7}"]]],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))",0,0,0,[["210[7-9]\\d{4}|2(?:[024-7]\\d|1[1-9])\\d{5}",[8]],["(?:3005\\d|6500[01])\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\d{6}",[8]],["800\\d{7}",[10]],["90[059]\\d{7}",[10]],0,0,0,0,["(?:210[0-6]|4\\d{3}|5100)\\d{4}",[8]]]],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:3[23]|4[89])\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\d)\\d{6}|(?:2[1-4]|4[1257]|7\\d)\\d{5,6}"],["(?:5\\d|6[2-4])\\d{6}",[8]],["800\\d{7}",[10]],0,0,0,0,0,0,["807\\d{7}",[10]]]],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]],0,0,0,0,0,0,[["2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}"],["(?:36|5[1-389]|9\\d)\\d{5}"],["800\\d{4}"],0,0,0,0,0,["(?:3[3-5]|4[356])\\d{5}"]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]",[["9(?:4(?:3[0-5]|4[14]|6\\d)|50\\d|7(?:2[014]|3[02-9]|4[4-9]|6[357]|77|8[7-9])|8(?:3[39]|[46]\\d|7[01]|8[57-9]))\\d{4}"],["953[01]\\d{4}|9(?:5[12467]|6[5-9])\\d{5}"],0,0,0,0,0,["955\\d{5}",[8]],0,["60[0-2]\\d{4}",[7]]]],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]],0,0,0,0,0,0,[["2[2-6]\\d{6}"],["9(?:10|[4-79]\\d)\\d{5}"],["800\\d{5}"],["90[09]\\d{5}"],["700\\d{5}"],0,["(?:50|77)\\d{6}"],0,0,["80[1-9]\\d{5}"]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,[["(?:2\\d|3[1257-9]|4[16-9]|5[13-9])\\d{7}",[9]],["(?:60[1-8]\\d|7(?:0(?:[2-5]\\d|60)|19[01]|[2379]\\d\\d))\\d{5}",[9]],["800\\d{6}",[9]],["9(?:0[05689]|76)\\d{6}",[9]],["70[01]\\d{6}",[9]],["9(?:3\\d{9}|6\\d{7,10})"],["9(?:5\\d|7[2-4])\\d{6}",[9]],0,["9[17]0\\d{6}",[9]],["8[134]\\d{7}",[9]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|31)"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0",0,0,0,0,0,[["32\\d{9,11}|49[1-6]\\d{10}|322\\d{6}|49[0-7]\\d{3,9}|(?:[34]0|[68]9)\\d{3,13}|(?:2(?:0[1-689]|[1-3569]\\d|4[0-8]|7[1-7]|8[0-7])|3(?:[3569]\\d|4[0-79]|7[1-7]|8[1-8])|4(?:1[02-9]|[2-48]\\d|5[0-6]|6[0-8]|7[0-79])|5(?:0[2-8]|[124-6]\\d|[38][0-8]|[79][0-7])|6(?:0[02-9]|[1-358]\\d|[47][0-8]|6[1-9])|7(?:0[2-8]|1[1-9]|[27][0-7]|3\\d|[4-6][
70-8]|8[0-5]|9[013-7])|8(?:0[2-9]|1[0-79]|2\\d|3[0-46-9]|4[0-6]|5[013-9]|6[1-8]|7[0-8]|8[0-24-6])|9(?:0[6-9]|[1-4]\\d|[589][0-7]|6[0-8]|7[0-467]))\\d{3,12}",[5,6,7,8,9,10,11,12,13,14,15]],["15310\\d{6}|1(?:6[023]|7[0-57-9])\\d{7,8}|1(?:5[0-25-9]|76)\\d{8}",[10,11]],["800\\d{7,12}",[10,11,12,13,14,15]],["(?:137[7-9]|900(?:[135]|9\\d))\\d{6}",[10,11]],["700\\d{8}",[11]],["1(?:6(?:013|255|399)|7(?:(?:[015]1|[69]3)3|[2-4]55|[78]99))\\d{7,8}|15(?:(?:[03-68]00|113)\\d|2\\d55|7\\d99|9\\d33)\\d{7}",[12,13]],["18(?:1\\d{5,11}|[2-9]\\d{8})",[8,9,10,11,12,13,14]],["16(?:4\\d{1,10}|[89]\\d{1,11})",[4,5,6,7,8,9,10,11,12,13,14]],0,["180\\d{5,11}|13(?:7[1-6]\\d\\d|8)\\d{4}",[7,8,9,10,11,12,13,14]]]],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]],0,0,0,0,0,0,[["2(?:1[2-5]|7[45])\\d{5}"],["77\\d{6}"]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]],0,0,0,0,0,0,[["(?:(?:2\\d|9[1-46-9])\\d|3(?:[0-37]\\d|4[013]|5[0-58]|6[01347-9]|8[0-8]|9[0-79])|4(?:[0-25]\\d|[34][02-9]|6[013-579]|7[013579]|8[0-47]|9[0-27])|5(?:[0-36]\\d|4[0146-9]|5[03-57-9]|7[0568]|8[0-358]|9[0-69])|6(?:[013578]\\d|2[0-68]|4[02-8]|6[01689]|9[015689])|7(?:[0-69]\\d|7[03-9]|8[0147])|8(?:[16-9]\\d|2[0-58]))\\d{5}"],["(?:[2-7]\\d|8[126-9]|9[1-46-9])\\d{6}"],["80\\d{6}"],["90\\d{6}"]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767",[["767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4])\\d{4}"],["767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9",[["8(?:[04]9[2-9]\\d\\d|29(?:2(?:[0-59]\\d|6[04-9]|7[0-27]|8[0237-9])|3(?:[0-35-9]\\d|4[7-9])|[45]\\d\\d|6(?:[0-27-9]\\d|[3-5][1-9]|6[0135-8])|7(?:0[013-9]|[1-37]\\d|4[1-35689]|5[1-4689]|6[1-57-9]|8[1-79]|9[1-8])|8(?:0[146-9]|1[0-48]|[248]\\d|3[1-79]|5[01589]|6[013-68]|7[124-8]|9[0-8])|9(?:[0-24]\\d|3[02-46-9]|5[0-79]|60|7[0169]|8[57-9]|9[02-9])))\\d{4}"],["8[024]9[2-9]\\d{6}"],["8(?:00(?:14|[2-9]\\d)|(?:33|44|55|66|77|88)[2-9]\\d)\\d{5}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0",0,0,0,0,0,[["9619\\d{5}|(?:1\\d|2[013-79]|3[0-8]|4[013-689])\\d{6}"],["(?:5(?:4[0-29]|5\\d|6[0-3])|6(?:[569]\\d|7[0-6])|7[7-9]\\d)\\d{6}",[9]],["800\\d{6}",[9]],["80[3-689]1\\d{5}",[9]],0,0,0,0,["98[23]\\d{6}",[9]],["80[12]1\\d{5}",[9]]]],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[["[2-7][2-7]\\d{6}",[8]],["964[0-2]\\d{5}|9(?:39|[57][89]|6[0-36-9]|[89]\\d)\\d{6}",[9]],["1800\\d{7}|1[78]00\\d{6}",[10,11]],0,0,0,0,0,["[2-7]890\\d{4}",[8]]]],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["(?:3[23589]|4[3-8]|6\\d|7[1-9]|88)\\d{5}",[7]],["(?:5\\d{5}|8(?:1(?:0(?:0(?:00|[178]\\d)|[3-9]\\d\\d)|(?:1(?:0[236]|1\\d)|(?:2[0-59]|[3-79]\\d)\\d)\\d)|2(?:0(?:0(?:00|4\\d)|(?:19|[2-7]\\d)\\d)|(?:(?:[124-6]\\d|3[5-9])\\d|7(?:[
70-79]\\d|8[13-9])|8(?:[2-6]\\d|7[01]))\\d)|[349]\\d{4}))\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}",[7,8]],["800(?:(?:0\\d\\d|1)\\d|[2-9])\\d{3}"],["(?:40\\d\\d|900)\\d{4}",[7,8]],["70[0-2]\\d{5}",[8]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0",0,0,0,0,0,[["13[23]\\d{6}|(?:15|57)\\d{6,7}|(?:2\\d|3|4[05-8]|5[05]|6[24-689]|8[2468]|9[235-7])\\d{7}",[8,9]],["1[0-25]\\d{8}",[10]],["800\\d{7}",[10]],["900\\d{7}",[10]]]],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]",[["528[89]\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1[12568]|[24]0|55|6[146])|8\\d\\d)\\d{4}"],["(?:17[1-3]|7\\d\\d)\\d{4}"]]],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]],0,0,0,0,0,0,[["96906(?:0[0-8]|1[1-9]|[2-9]\\d)\\d\\d|9(?:69(?:0[0-57-9]|[1-9]\\d)|73(?:[0-8]\\d|9[1-9]))\\d{4}|(?:8(?:[1356]\\d|[28][0-8]|[47][1-9])|9(?:[135]\\d|[268][0-8]|4[1-9]|7[124-9]))\\d{6}"],["(?:590[16]00\\d|9(?:6906(?:09|10)|7390\\d\\d))\\d\\d|(?:6\\d|7[1-48])\\d{7}"],["[89]00\\d{6}"],["80[367]\\d{6}"],["70\\d{7}"],0,["51\\d{7}"],0,0,["90[12]\\d{6}"]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0",0,0,0,0,0,[["11667[01]\\d{3}|(?:11(?:1(?:1[124]|2[2-7]|3[1-5]|5[5-8]|8[6-8])|2(?:13|3[6-8]|5[89]|7[05-9]|8[2-6])|3(?:2[01]|3[0-289]|4[1289]|7[1-4]|87)|4(?:1[69]|3[2-49]|4[0-3]|6[5-8]|7\\d)|5(?:1[578]|44|5[0-4])|6(?:1[578]|2[69]|39|4[5-7]|5[0-5]|6[0-59]|8[015-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}"],["700[1-9]\\d{5}|(?:7(?:0[1-9]|1[0-8]|22|77|86|99)|9\\d\\d)\\d{6}"]]],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:1[49]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",[["1[35-7][1-8]\\d{3,6}|(?:1[49][1-8]|[23568][1-8]\\d|9(?:00|[1-8]\\d))\\d{2,6}",[5,6,7,8,9]],["4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",[6,7,8,9,10]],["800\\d{4,6}",[7,8,9]],["[67]00\\d{5,6}",[8,9]],0,0,["20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}"]],"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,[["603\\d{4}|(?:3[0-5]|6[25-7]|8[58])\\d{5}",[7]],["(?:[279]\\d|45|5[01568]|8[034679])\\d{5}",[7]],["0800\\d{7}",[11]]],"00"],FK:["500","00","[2-7]\\d{4}",[5],0,0,0,0,0,0,0,[["[2-47]\\d{4}"],["[56]\\d{4}"]]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]],0,0,0,0,0,0,[["31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-6]\\d)\\d)\\d{3}"],["31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]\\d)\\d)\\d{3}"]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))",0,0,0,[["(?:20|[34]\\d|8[19])\\d{4}"],["(?:[27][1-9]|5\\d|9[16])\\d{4}"],["80[257-9]\\d{3}"],["90(?:[13-5][15-7]|2[125-7]|9\\d)\\d\\d"],0,0,0,0,["(?:6[0-36]|88)\\d{4}"]]],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0",0,0,0,0,0,[["(?:26[013-9]|59[1-35-9])\\d{6}|(?:[13]\\d|2[0-57-9]|4[1-9]|5[0-8])\\d{7}"],["(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7[3-9]\\d)\\d{6}"],["80[0-5]\\d{6}"],["836(?:0[0-36-9]|[1-9]\\d)\\d{4}|8(?:1[2-9]|2[2-47-9]|3[0-57-9]|[569]\\d|8[0-35-9])\\d{6}"],0,0,["80[6-9]\\d{6}"],0,["9\\d{8}"],["8(?:1[01]|2[0156]|4[024]|84)\\d{6}"]]],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1",0,0,[["[01]1\\d{6}",[8]],["(?:(?:0[2-7]|7[467])\\d|6(?:0[0-4]|10|[256]\\d))\\d{5}|[2-7]\\d{6}"]]],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])
7))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473",[["473(?:2(?:3[0-2]|69)|3(?:2[89]|86)|4(?:[06]8|3[5-9]|4[0-4]|5[579]|73|90)|63[68]|7(?:58|84)|800|938)\\d{4}"],["473(?:4(?:0[2-79]|1[04-9]|2[0-5]|49|5[68])|5(?:2[01]|3[3-8])|901)\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0",0,0,0,0,0,[["(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}"],["5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|(?:5(?:0(?:0(?:0\\d|11|22|3[0-6]|44|5[05]|77|88|9[09])|111|22[02]|77\\d)|1(?:1(?:[03][01]|[124]\\d)|4\\d\\d)|[23]555|4(?:4\\d\\d|555)|5(?:[0157-9]\\d\\d|200)|6[89]\\d\\d|7(?:[0147-9]\\d\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|5(?:55|8[89])|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}|5(?:0(?:0[17]0|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}"],["800\\d{6}"],0,0,0,0,0,["70[67]\\d{6}"]]],GF:["594","00","[56]94\\d{6}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[56]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0",0,0,0,0,0,[["594(?:[02-49]\\d|1[0-5]|5[6-9]|6[0-3]|80)\\d{4}"],["694(?:[0-249]\\d|3[0-8])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:396|76\\d)\\d|476[0-5])\\d{4}"]]],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0",0,0,0,0,0,[["3082[0-5]\\d{4}|3(?:0(?:[237]\\d|8[01])|[167](?:2[0-6]|7\\d|80)|2(?:2[0-5]|7\\d|80)|3(?:2[0-3]|7\\d|80)|4(?:2[013-9]|3[01]|7\\d|80)|5(?:2[0-7]|7\\d|80)|8(?:2[0-2]|7\\d|80)|9(?:[28]0|7\\d))\\d{5}",[9]],["(?:2(?:[0346-9]\\d|5[67])|5(?:[03-7]\\d|9[1-9]))\\d{6}",[9]],["800\\d{5}",[8]]]],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]],0,0,0,0,0,0,[["2190[0-2]\\d{3}|2(?:0(?:[02]\\d|3[01])|16[24-9]|2[2-5]\\d)\\d{4}"],["5251[0-4]\\d{3}|(?:5(?:[146-8]\\d\\d|250)|60(?:1[01]|6\\d))\\d{4}"]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]],0,0,0,0,0,0,[["(?:19|3[1-7]|[68][1-9]|70|9\\d)\\d{4}"],["[245]\\d{5}"],["80\\d{4}"],0,0,0,0,0,["3[89]\\d{4}"]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],0,0,0,0,0,0,[["(?:4(?:[23]\\d\\d|4(?:1[024679]|[6-9]\\d))|5(?:5(?:3\\d|4[0-7])|6[67]\\d|7(?:1[04]|2[035]|3[58]|48))|8\\d{3})\\d{3}"],["(?:[23679]\\d|4[015]
vendor: 3,286 bytes, line 7
7|5[0-489])\\d{5}"]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]],0,0,0,0,0,0,[["3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}",[8]],["6[0-356]\\d{7}",[9]],0,0,0,0,0,0,["722\\d{6}",[9]]]],GP:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]],0,0,0,0,0,0,[["33[0-24-9]\\d[46]\\d{4}|3(?:33|5\\d)\\d[7-9]\\d{4}"],["(?:222|55\\d)\\d{6}"],["80\\d[1-9]\\d{5}"],["90\\d[1-9]\\d{5}"]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["2(?:1\\d\\d|2(?:2[1-46-9]|[36][1-8]|4[1-7]|5[1-4]|7[1-5]|[89][1-9])|3(?:1\\d|2[1-57]|[35][1-3]|4[13]|7[1-7]|8[124-6]|9[1-79])|4(?:1\\d|2[1-8]|3[1-4]|4[13-5]|6[1-578]|9[1-5])|5(?:1\\d|[29][1-4]|3[1-5]|4[124]|5[1-6])|6(?:1\\d|[269][1-6]|3[1245]|4[1-7]|5[13-9]|7[14]|8[1-5])|7(?:1\\d|2[1-5]|3[1-6]|4[1-7]|5[1-57]|6[135]|9[125-7])|8(?:1\\d|2[1-5]|[34][1-4]|9[1-57]))\\d{6}",[10]],["68[57-9]\\d{7}|(?:69|94)\\d{8}",[10]],["800\\d{7,9}"],["90[19]\\d{7}",[10]],["70\\d{8}",[10]],0,["5005000\\d{3}",[10]],0,0,["8(?:0[16]|12|[27]5|50)\\d{7}",[10]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[["[267][2-9]\\d{6}",[8]],["(?:[3-5]\\d\\d|80[0-4])\\d{5}",[8]],["18[01]\\d{8}",[11]],["19\\d{9}",[11]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671",[["671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-46-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]],0,0,0,0,0,0,[["443\\d{6}",[9]],["9(?:5\\d|6[569]|77)\\d{6}",[9]],0,0,0,0,0,0,["40\\d{5}",[7]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],0,0,0,0,0,0,[["(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\d|7[0-79])|3(?:2[25-9]|3\\d)|4(?:4[0-24]|5[56])|50[0-6]|77[1-57])\\d{4}"],["
7510\\d{4}|(?:6\\d|7[0-5])\\d{5}"],["(?:289|8(?:00|6[28]|88|99))\\d{4}"],["9008\\d{3}"],0,0,0,0,["515\\d{4}"]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,[["(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:4[0-8]|[579]\\d|6[0-2]))|58(?:0[1-9]|1[2-9]))\\d{4}",[8]],["(?:4(?:44[0-25-9]|6(?:1[0-7]|4[0-57-9]|6[0-4])|74[0-2])|5(?:73[0-6]|95[0-8])|6(?:26[013-8]|66[0-3])|70(?:7[1-8]|8[0-4])|84(?:4[0-2]|8[0-35-9])|9(?:29[013-9]|39[01]|59[0-4]|899))\\d{4}|(?:4(?:4[0-35-9]|6[02357-9]|70)|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|70[1-39]|84[0-39]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}",[8]],["800\\d{6}",[9]],["900(?:[0-24-9]\\d{7}|3\\d{1,4})",[5,6,7,8,11]],["8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}",[8]],0,["30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}",[8]],["7(?:1(?:0[0-38]|1[0-3679]|3[013]|69|9[0136])|2(?:[02389]\\d|1[18]|7[27-9])|3(?:[0-38]\\d|7[0-369]|9[2357-9])|47\\d|5(?:[178]\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\d)|7(?:[27]\\d|8[7-9])|8(?:[23689]\\d|7[1-9])|9(?:[025]\\d|6[0-246-8]|7[0-36-9]|8[238]))\\d{4}",[8]]],"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]],0,0,0,0,0,0,[["2(?:2(?:0[0-59]|1[1-9]|[23]\\d|4[02-6]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[578]|2[3-59]|3[13-9]|4[0-68]|5[1-3589])|5(?:0[2357-9]|1[1-356]|4[03-5]|5\\d|6[014-69]|7[04]|80)|6(?:[056]\\d|17|2[067]|3[047]|4[0-378]|[78][0-8]|9[01])|7(?:0[5-79]|6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}",[8]],["[37-9]\\d{7}",[8]],["8002\\d{7}",[11]]]],HR:["385","00","(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",[6,7,8,9],[["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0",0,0,0,0,0,[["1\\d{7}|(?:2[0-3]|3[1-5]|4[02-47-9]|5[1-3])\\d{6,7}",[8,9]],["9(?:(?:0[1-9]|[12589]\\d)\\d\\d|7(?:[0679]\\d\\d|5(?:[01]\\d|44|55|77|9[5-7])))\\d{4}|98\\d{6}",[8,9]],["80\\d{5,7}",[7,8,9]],["6[01459]\\d{6}|6[01]\\d{4,5}",[6,7,8]],["7[45]\\d{6}",[8]],0,["62\\d{6,7}|72\\d{6}",[8,9]]]],HT:["509","00","(?:[2-489]\\d|55)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]],0,0,0,0,0,0,[["2(?:2\\d|5[1-5]|81|9[149])\\d{5}"],["(?:[34]\\d|55)\\d{6}"],["8\\d{7}"],0,0,0,0,0,["9(?:[67][0-4]|8[0-3589]|9\\d)\\d{5}"]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06",0,0,0,0,0,[["(?:1\\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\\d{6}",[8]],["(?:[257]0|3[01])\\d{7}",[9]],["(?:[48]0\\d|680[29])\\d{5}"],["9[01]\\d{6}",[8]],0,0,["38\\d{7}",[9]],0,["21\\d{7}",[9]]]],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0",0,0,0,0,0,[["2[124]\\d{7,8}|619\\d{8}|2(?:1(?:14|500)|2\\d{3})\\d{3}|61\\d{5,8}|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:[25]\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}",[7,8,9,10,11]],["8[1-35-9]\\d{7,10}",[9,10,11,12]],["00(?:1803\\d{5,11}|7803\\d{7})|(?:177\\d|800)\\d{5,7}",[8,9,10,11,12,13,14,15,16,17]],["809\\d{7}",[10]],0,0,["(?:1500|8071\\d{3})\\d{3}",[7,10]],0,0,["804\\d{7}",[10]]]],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:1\\d|21)\\d{6,7}|(?:2[24-9]|4(?:0[24]|5\\d|7)|5(?:0[45]|1\\d|8)|6(?:1\\d|[237-9])|9(?:1\\d|[35-9]))\\d{5}|(?:23|4(?:[1-469]|8\\d)|5[23679]|6[4-6]|7[14]|9[04])\\d{7}"],["8(?:22|[35-9]\\d)\\d{6}",[9]],["1800\\d{6}",[10]],["15(?:1[2-8]|[2-8]0|9[089])\\d{6}",[10]],["700\\d{6}",[9]],["88210[1-9]\\d{4}|8(?:[35-79]5\\d\\d|8(?:[013-9]\\d\\d|2(?:[01][1-9]|[2-9]\\d)))\\d{5}",[10]],["818\\d{6}",[9]],0,["76\\d{7}",[9]],["18[59]0\\d{6}",[10]]]],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0",0,0,0,0,0,[["153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}
7",[8,11,12]],["55(?:410|57[0-289])\\d{4}|5(?:(?:[0-2][02-9]|[36]\\d|[49][2-9]|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}",[9]],["1(?:255|80[019]\\d{3})\\d{3}",[7,10]],["1212\\d{4}|1(?:200|9(?:0[0-2]|19))\\d{6}",[8,10]],0,["151\\d{8,9}",[11,12]],["1599\\d{6}",[10]],0,["7(?:38(?:0\\d|5[0-2569]|88)|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}",[9]],["1700\\d{6}",[10]]]],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0","1624$1",0,"74576|(?:16|7[56])24",[["1624(?:230|[5-8]\\d\\d)\\d{3}"],["76245[06]\\d{4}|7(?:4576|[59]24\\d|624[0-4689])\\d{5}"],["808162\\d{4}"],["8(?:440[49]06|72299\\d)\\d{3}|(?:8(?:45|70)|90[0167])624\\d{4}"],["70\\d{8}"],0,["3440[49]06\\d{3}|(?:3(?:08162|3\\d{4}|45624|7(?:0624|2299))|55\\d{4})\\d{4}"],0,["56\\d{8}"]]],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0",0,0,0,0,0,[["2717(?:[2-7]\\d|95)\\d{4}|(?:271[0-689]|782[0-6])[2-7]\\d{5}|(?:170[24]|2(?:(?:[02][2-79]|90)\\d|80[13468])|(?:3(?:23|80)|683|79[1-7])\\d|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:11|33|4[04]|80)[2-7]\\d{7}|(?:342|674|788)(?:[0189][2-7]|[2-7]\\d)\\d{5}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[13]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[014-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[3-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1245]|4[5-8]|5[125689]|6[235-7]|7[157-9]|8[2-46-8])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2
7-689]|6[24578]|7[235689]|8[124-6])|7(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|8[013-7]|9[089])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d[2-7]\\d{5}",[10]],["(?:61279|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|8[124-6])\\d|7(?:[235689]\\d|4[0189]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]|881))[0189]\\d{5}",[10]],["000800\\d{7}|1(?:600\\d{6}|80(?:0\\d{4,9}|3\\d{9}))"],["186[12]\\d{9}",[13]],0,0,["140\\d{7}",[10]],0,0,["1860\\d{7}",[11]]]],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]],0,0,0,0,0,0,[["37\\d{5}"],["38\\d{5}"]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[["1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}",[8,9]],["7[3-9]\\d{8}",[10]]]],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0",0,0,0,0,0,[["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\\d{7}|[16]\\d{3}(?:\\d{4})?|[289]\\d{3}(?:\\d(?:\\d{3})?)?)|94(?:000[09]|(?:12\\d|30[0-2])\\d|2(?:121|[2689]0\\d)|4(?:111|40\\d))\\d{4}",[6,7,10]],["9(?:(?:0(?:[0-35]\\d|4[4-6])|(?:[13]\\d|2[0-3])\\d)\\d|9(?:[0-46]\\d\\d|5[15]0|8(?:[12]\\d|88)|9(?:0[0-3]|[19]\\d|21|69|77|8[7-9])))\\d{5}",[10]],0,0,0,0,["96(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19])",[4,5]]]],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["(?:4(?:1[0-24-69]|2[0-7]|[37][0-8]|4[0-24589]|5[0-68]|6\\d|8[0-36-8])|5(?:05|[156]\\d|2[02578]|3[0-579]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|872)\\d{4}",[7]],["(?:38[589]\\d\\d|6(?:1[1-8]|2[0-6]|3[026-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9\\d)|7(?:5[057]|[6-9]\\d)|8(?:2[0-59]|[3-69]\\d|8[238]))\\d{4}"],["80[0-8]\\d{4}",[7]],["90(?:0\\d|1[5-79]|2[015-79]|3[135-79]|4[125-7]|5[25-79]|7[1-37]|8[0-35-7])\\d{3}",[7]],0,["(?:689|8(?:7[18]|80)|95[48])\\d{4}",[7]],["809\\d{4}",[7]],0,["49[0-24-79]\\d{4}",[7]]],"00"],IT:["39","00","0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",[6,7,8,9,10,11]],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876",[["8766060\\d{3}|(?:658(?:2(?:[0-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[0235-9]|[23]\\d|40|5[06]|6[2-589]|7[0-25-9]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}"],["(?:658295|876(?:2(?:0[1-9]|[13-9]\\d|2[013-9])|[348]\\d\\d|5(?:0[1-9]|[1-9]\\d)|6(?:4[89]|6[
767])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[["87(?:000|90[01])\\d{3}|(?:2(?:6(?:2[0-35-9]|3[0-578]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[5-7][023])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2(?:[05]0|22)|3(?:00|33)|4(?:0[0-25]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[178]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[0239]))|87(?:20|7[078]|99))\\d{4}",[8]],["7(?:[78][0-25-9]|9\\d)\\d{6}",[9]],["80\\d{6}",[8]],["9\\d{7}",[8]],["70\\d{7}",[9]],0,["8(?:10|8\\d)\\d{5}",[8]],["74(?:66|77)\\d{5}",[9]],0,["85\\d{6}",[8]]]],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],"0",0,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1",0,0,[["(?:1(?:1[235-8]|2[3-6]|3[3-9]|4[2-6]|[58][2-8]|6[2-7]|7[2-9]|9[1-9])|(?:2[2-9]|[36][1-9])\\d|4(?:[2-578]\\d|6[02-8]|9[2-59])|5(?:[2-589]\\d|6[1-9]|7[2-8])|7(?:[25-9]\\d|3[4-9]|4[02-9])|8(?:[2679]\\d|3[2-9]|4[5-9]|5[1-9]|8[03-9])|9(?:[2-58]\\d|[679][1-9]))\\d{6}",[9]],["[7-9]0[1-9]\\d{7}",[10]],["00777(?:[01]|5\\d)\\d\\d|(?:00(?:7778|882[1245])|(?:120|800\\d)\\d\\d)\\d{4}|00(?:37|66|78)\\d{6,13}"],["990\\d{6}",[9]],["60\\d{7}",[9]],0,["570\\d{6}",[9]],["20\\d{8}",[10]],["50[1-9]\\d{7}",[10]]]],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,[["(?:4[245]|5[1-79]|6[01457-9])\\d{5,7}|(?:4[136]|5[08]|62)\\d{7}|(?:[24]0|66)\\d{6,7}",[7,8,9]],["(?:1(?:0[0-8]|1[0-7]|2[014]|30)|7\\d\\d)\\d{6}",[9]],["800[02-8]\\d{5,6}",[9,10]],["900[02-9]\\d{5}",[9]]]],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["312(?:5[0-79]\\d|9(?:[0-689]\\d|7[0-24-9]))\\d{3}|(?:3(?:1(?:2[0-46-8]|3[1-9]|47|[56]\\d)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\d)|5(?:22|3[4-7]|59|6\\d)|6(?:22|5[35-7]|6\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\d)|9(?:22|4[1-8]|6\\d))|6(?:09|12|2[2-4])\\d)\\d{5}",[9]],["312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|600|7(?:[07]\\d|55)|88[08]|9(?:12|9[05-9]))\\d{6}",[9]],["800\\d{6,7}"]]],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[["23(?:4(?:[2-4]|[56]\\d)|[568]\\d\\d)\\d{4}|23[236-9]\\d{5}
7|(?:2[4-6]|3[2-6]|4[2-4]|[5-7][2-5])(?:(?:[237-9]|4[56]|5\\d)\\d{5}|6\\d{5,6})",[8,9]],["(?:(?:1[28]|3[18]|9[67])\\d|6[016-9]|7(?:[07-9]|[16]\\d)|8(?:[013-79]|8\\d))\\d{6}|(?:1\\d|9[0-57-9])\\d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48\\d{5}",[8,9]],["1800(?:1\\d|2[019])\\d{4}",[10]],["1900(?:1\\d|2[09])\\d{4}",[10]]]],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0",0,0,0,0,0,[["(?:[24]\\d|3[1-9]|50|65(?:02[12]|12[56]|22[89]|[3-5]00)|7(?:27\\d\\d|3100|5(?:02[12]|12[56]|22[89]|[34](?:00|81)|500))|8[0-5])\\d{3}"],["(?:6200[01]|7(?:310[1-9]|5(?:02[03-9]|12[0-47-9]|22[0-7]|[34](?:0[1-9]|8[02-9])|50[1-9])))\\d{3}|(?:63\\d\\d|7(?:(?:[0146-9]\\d|2[0-689])\\d|3(?:[02-9]\\d|1[1-9])|5(?:[0-2][013-9]|[34][1-79]|5[1-9]|[6-9]\\d)))\\d{4}",[8]],0,0,0,0,0,0,["30(?:0[01]\\d\\d|12(?:11|20))\\d\\d",[8]]]],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]],0,0,0,0,0,0,[["7[4-7]\\d{5}"],["[34]\\d{6}"],0,["8\\d{6}"]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869",[["869(?:2(?:29|36)|302|4(?:6[015-9]|70)|56[5-7])\\d{4}"],["869(?:48[89]|55[6-8]|66\\d|76[02-7])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:195|2)\\d|3[19]|4[159]|5[37]|6[17]|7[39]|85)\\d{6}"],["19[1-3]\\d{7}",[10]]]],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?",0,0,0,[["(?:2|3[1-3]|[46][1-4]|5[1-5])[1-9]\\d{6,7}|(?:3[1-3]|[46][1-4]|5[1-5])1\\d{2,3}",[5,6,8,9,10]],["1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[0-46-9]|[16-9]\\d|2[013-9])\\d{6,7}",[9,10]],["00(?:308\\d{6,7}|798\\d{7,9})|(?:00368|[38]0)\\d{7}",[9,11,12,13,14]],["60[2-9]\\d{6}",[9]],["50\\d{8,9}",[10,11]],0,["1(?:5(?:22|33|44|66|77|88|99)|6(?:[07]0|44|6[0168]|88)|8(?:00|33|55|77|99))\\d{4}",[8]],["15\\d{7,8}",[9,10]],["70\\d{8}",[10]]]],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]],0,0,0,0,0,0,[["2(?:[23]\\d\\d|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7]))\\d{4}",[8]],["(?:41\\d\\d|5(?:(?:[05]\\d|1[0-7]|6[56])\\d|2(?:22|5[25])|7(?:55|77)|88[58])|6(?:(?:0[034679]|5[015-9]|6\\d)\\d|1(?:00|11|6[16])|2[26]2|3[36]3|4[46]4|7(?:0[013-9]|[67]\\d)|8[68]8|9(?:[069]\\d|3[039]))|9(?:(?:[04679]\\d|8[057-9])\\d|1(?:1[01]|99)|2(?:00|2\\d)|3(?:00|3[03])|5(?:00|5\\d)))\\d{4}",[8]],["18\\d{5}",[7]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345",[["345(?:2(?:22|3[23]|44|66)|333|444|6(?:23|38|40)|7(?:30|4[35-79]|6[6-9]|77)|8(?:00|1[45]|[48]8)|9(?:14|4[035-9]))\\d{4}"],["345(?:32[1-9]|42[0-4]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|82[56]|9(?:1[679]|2[2-9]|3[06-9]|90))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["(?:345976|900[2-9]\\d\\d)\\d{4}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,["345849\\d{4}"]]],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33|7",[["(?:33622|7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9]|97)|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]|59))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[2-4]\\d|5[139])|4(?:2\\d|3[1-35-9]|59)|5(?:[23]\\d|4[0-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59))))\\d{5}",[10]],["7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)\\d{7}",[10]],["8(?:00|108\\d{3})\\d{7}"],["809\\d{7}",[10]],["808\\d{7}",[10]],0,0,0,["751\\d{7}",[10]]],"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[0135-9]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,0,0,0,0,[["(?:2[13]|[35-7][14]|41|8[1468])\\d{6}",[8]],["208[78]\\d{6}|(?:20[23579]|30[24])\\d{7}",[10]],0,0,0,0,["30[0135-9]\\d{6}",[9]]]],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0",0,0,0,0,0,[["7(?:62|8[0-7]|9[04-9])\\d{4}|(?:[14-69]\\d|2(?:[14-69]\\d|[78][1-9])|7[2-57]|8[02-9])\\d{5}"],["793(?:[01]\\d|2[0-4])\\d{3}
7|(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[89]|9[12]))\\d{5}"],0,["9[01]\\d{6}",[8]],0,0,0,0,0,["80\\d{6}",[8]]]],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758",[["758(?:234|4(?:30|5\\d|6[2-9]|8[0-2])|57[0-2]|(?:63|75)8)\\d{4}"],["758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2\\d|3[0-3])|812)\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0",0,0,0,[["(?:2(?:01|1[27]|2[02]|3\\d|6[02-578]|96)|3(?:[24]0|33|7[0135-7]|8[048]|9[0269]))\\d{4}",[7]],["(?:6(?:(?:4[5-9]|5[0-469])\\d|6(?:[024-6]\\d|[17]0|3[7-9]))\\d|7(?:[37-9]\\d|42|56))\\d{4}"],["8002[28]\\d\\d|80(?:05\\d|9)\\d{4}"],["90(?:02[258]|1(?:23|3[14])|66[136])\\d\\d",[7]],0,["697(?:42|56|[78]\\d)\\d{4}",[9]],["870(?:28|87)\\d\\d",[7]]]],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0",0,0,0,0,0,[["(?:12[2-9]|602|8[12]\\d|9(?:1\\d|22|9[245]))\\d{6}|(?:11|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\\d{6}"],["7(?:[0-25-8]\\d|4[0-4])\\d{6}"],0,0,0,0,["1973\\d{5}"]]],LR:["231","00","(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0",0,0,0,0,0,[["2\\d{7}",[8]],["(?:(?:(?:22|33)0|555|(?:77|88)\\d)\\d|4(?:240|[67]))\\d{5}|[56]\\d{6}",[7,9]],0,["332(?:02|[34]\\d)\\d{4}",[9]]]],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]],0,0,0,0,0,0,[["2\\d{7}"],["[56]\\d{7}"],["800[1256]\\d{4}"]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]",0,0,0,[["(?:3[1478]|4[124-6]|52)\\d{6}"],["6\\d{7}"],["80[02]\\d{5}"],["9(?:0[0239]|10)\\d{5}"],["70[05]\\d{5}"],0,["70[67]\\d{5}"],0,["[89]01\\d{5}"],["808\\d{5}"]]],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)",0,0,0,[["(?:35[013-9]|80[2-9]|90[89])\\d{1,8}|(?:2[2-9]|3[0-46-9]|[457]\\d|8[13-9]|9[2-579])\\d{2,9}"],["6(?:[269][18]|5[1568]|7[189]|81)\\d{6}",[9]],["800\\d{5}",[8]],["90[015]\\d{5}",[8]],0,0,0,0,["20(?:1\\d{5}|[2-689]\\d{1,7})",[4,5,6,7,8,9,10]],["801\\d{5}",[8]]]],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]],0,0,0,0,0,0,[["6\\d{7}"],["23(?:23[0-57-9]|33[0238])\\d{3}|2(?:[0-24-9]\\d\\d|3(?:0[07]|[14-9]\\d|2[024-9]|3[0-24-9]))\\d{4}"],["80\\d{6}"],["90\\d{6}"],0,0,0,0,0,["81\\d{6}"]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:2(?:0[56]|[1-6]\\d|7[124579]|8[124])|3(?:1\\d|2[2356])|4(?:[17]\\d|2[1-357]|5[2-4]|8[124])|5(?:[1347]\\d|2[1-469]|5[13-5]|8[1-4])|6(?:[1-479]\\d|5[2-57]|8[1-5])|7(?:[13]\\d|2[13-79])|8(?:[124]\\d|5[124]|84))\\d{6}"],["9[1-6]\\d{7}"]]],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0",0,0,0,0,0,[["(?:870|9[2-47-9]\\d)\\d{5}",[8]],["4(?:[469]\\d|5[1-9])\\d{5}|(?:3|6\\d)\\d{7}"],["(?:800|90\\d)\\d{5}",[8]]]],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:2[1-9]|3[1-79])\\d|5(?:33|5[257]))\\d{5}"],["562\\d{5}|(?:6\\d|7[16-9])\\d{6}"],["800\\d{5}"],["90[056]\\d{5}"],0,0,["803\\d{5}"],0,["3[08]\\d{6}"],["808\\d{5}
7"]]],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:20[2-8]|3(?:[0-2][2-7]|3[24-7])|4(?:0[2-467]|1[2467])|5(?:0[2467]|1[24-7]|2[2-467]))\\d{5}",[8]],["6(?:[07-9]\\d|3[024]|6[0-25])\\d{5}",[8]],["80(?:[0-2578]|9\\d)\\d{5}"],["9(?:4[1568]|5[178])\\d{5}",[8]],0,0,["77[1-9]\\d{5}",[8]],0,["78[1-49]\\d{5}",[8]]]],MF:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1",0,0,[["2072[29]\\d{4}|20(?:2\\d|4[47]|5[3467]|6[279]|7[35]|8[268]|9[245])\\d{5}"],["3[2-47-9]\\d{7}"],0,0,0,0,0,0,["22\\d{7}"]]],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1",0,0,0,0,0,[["(?:247|528|625)\\d{4}"],["(?:(?:23|54)5|329|45[35-8])\\d{4}"],0,0,0,0,0,0,["635\\d{4}"]]],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0",0,0,0,0,0,[["(?:(?:2(?:62|77)0|3444)\\d|4[56]440)\\d{3}|(?:34|4[357])700\\d{3}|(?:2(?:[0-3]\\d|5[0-578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\d{5}"],["7(?:3555|(?:474|9[019]7)7)\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-48]\\d|6[01]|7[01578])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}"],["800\\d{5}"],["5\\d{7}"],0,0,0,0,0,["8(?:0[1-9]|[1-9]\\d)\\d{5}"]]],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]],0,0,0,0,0,0,[["2(?:07[0-8]|12[67])\\d{4}|(?:2(?:02|1[4-689])|4(?:0[0-4]|4[1-39]))\\d{5}"],["2(?:0(?:01|79)|17\\d)\\d{4}|(?:5[01]|[679]\\d|8[2-49])\\d{6}"],["80\\d{6}"]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:(?:2\\d|3[56]|[89][0-6])\\d|4(?:2[29]|62|7[0-2]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\d|[26]2|7[0-2]|83)|51\\d\\d)|4(?:2(?:2\\d\\d|48[013])|3(?:20\\d|4(?:70|83)|56)|420\\d|5470)|6(?:0(?:[23]|88\\d)|(?:124|[56]2\\d)\\d|2472|3(?:20\\d|470)|4(?:2[04]\\d|472)|7(?:(?:3\\d|8[01459])\\d|4[67]0)))\\d{4}|5(?:2(?:2\\d{5,6}|47[02]\\d{4})|(?:3472|4(?:2(?:1|86)|470)|522\\d|6(?:20\\d|483)|7(?:20\\d|48[01])|8(?:20\\d|47[02])|9(?:20\\d|470))\\d{4})|7(?:(?:0470|4(?:25\\d|470)|5(?:202|470|96\\d))\\d{4}|1(?:20\\d{4,5}|4(?:70|83)\\d{4}))|8(?:1(?:2\\d{5,6}|4(?:10|7[01]\\d)\\d{3})|2(?:2\\d{5,6}|(?:320|490\\d)\\d{3})|(?:3(?:2\\d\\d|470)|4[24-7]|5(?:(?:2\\d|51)\\d|4(?:[1-35-9]\\d|4[0-57-9]))|6[23])\\d{4})|(?:1[2-6]\\d|4(?:2[24-8]|3[2-7]|[46][2-6]|5[3-5])|5(?:[27][2-8]|3[2-68]|4[24-8]|5[23]|6[2-4]|8[24-7]|9[2-7])|6(?:[19]20|42[03-6]|(?:52|7[45])\\d)|7(?:[04][24-8]|[15][2-7]|22|3[2-4])|8(?:1[2-689]|2[2-8]|[35]2\\d))\\d{4}|25\\d{5,6}|(?:2[2-9]|6(?:1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7[235-7]|8[245]|9[24])|8(?:3[24]|5[245]))\\d{4}",[6,7,8,9]],["(?:17[01]|9(?:2(?:[0-4]|[56]\\d\\d)|(?:3(?:[0-36]|4\\d)|(?:6\\d|8[89]|9[4-8])\\d|7(?:3|40|[5-9]\\d))\\d|4(?:(?:[0245]\\d|[1379])\\d|88)|5[0-6])\\d)\\d{4}|9[69]1\\d{6}|9(?:[68]\\d|9[089])\\d{5}",[7,8,9,10]],["80080(?:0[1-9]|2\\d)\\d{3}",[10]],0,0,0,0,0,["1333\\d{4}|[12]468\\d{4}",[8]]]],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0",0,0,0,0,0,[["[12]2[1-3]\\d{5,6}|(?:(?:[12](?:1|27)|5[368])\\d\\d|7(?:0(?:[0-5]\\d|7[078]|80)|128))\\d{4}|[12](?:3[2-8]|4[2-68]|5[1-4689])\\d{6,7}"],["(?:83[01]|92[039])\\d{5}|(?:5[05]|6[069]|8[015689]|9[013-9])\\d{6}",[8]],0,0,0,0,0,0,["712[0-79]\\d{4}|7(?:1[013-9]|[25-9]\\d)\\d{5}",[8]]]],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]],0,0,0,0,0,0,[["(?:28[2-9]|8(?:11|[2-57-9]\\d))\\d{5}",[8]],["6800[0-79]\\d{3}|6(?:[235]\\d\\d|6(?:0[0-5]|[1-9]\\d)|8(?:0[1-9]|[14-8]\\d|2[5-9]|[39][0-4]))\\d{4}",[8]],["0800\\d{3}",[7]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670",[["670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],MQ:["596","00","596\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["596(?:[03-7]\\d|1[05]|2[7-9]|8[0-39]|9[04-9])\\d{4}"],["69(?:6(?:[0-46-9]\\d|5[0-6])|727)\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:397[0-3]|477[0-5]|76(?:6\\d|7[0-367]))\\d{4}"]]],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]],0,0,0,0,0,0,[["(?:25[08]|35\\d|45[1-7])\\d{5}"],["[2-4][0-46-9]\\d{6}"],["800\\d{5}"]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664",[["6644(?:1[0-3]|91)\\d{4}"],["664(?:3(?:49|9[1-6])|49[2-6])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]],0,0,0,0,0,0,[["20(?:3[1-4]|6[059])\\d{4}|2(?:0[19]|[1-357]\\d|60)\\d{5}"],["(?:7(?:210|[79]\\d\\d)|9(?:[29]\\d\\d|69[67]|8(?:1[1-3]|89|97)))\\d{4}"],["800(?:02|[3467]\\d)\\d{3}"],["5(?:0(?:0(?:37|43)|(?:6\\d|70|9[0168])\\d)|[12]\\d0[1-5])\\d{3}"],0,0,["501\\d{5}"],["7117\\d{4}"],["3550\\d{4}"]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,[["(?:2(?:[0346-8]\\d|1[0-7])|4(?:[013568]\\d|2[4-8]|71)|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}",[7,8]],["5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[0-4]|3[013]))\\d{5}",[8]],["802\\d{7}|80[0-2]\\d{4}",[7,10]],["30\\d{5}",[7]],0,0,0,0,["3(?:20|9\\d)\\d{4}",[7]]],"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,[["(?:3(?:0[0-3]|3[0-59])|6(?:[58][024689]|6[024-68]|7[02468]))\\d{4}",[7]],["(?:46[46]|[79]\\d\\d)\\d{4}",[7]],["800\\d{7}",[10]],["900\\d{7}",[10]],0,0,["4(?:0[01]|50)\\d{4}",[7]]],"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:1[2-9]|2[12]\\d\\d)\\d{5}"],["111\\d{6}|(?:31|77|[89][89])\\d{7}",[9]]]],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,[["657[12]\\d{6}|(?:2(?:0[01]|2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[267][1-9]|3[1-8]|[45]\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}"],["657[12]\\d{6}|(?:2(?:2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[267][1-9]|3[1-8]|[45]\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}"],["8(?:00|88)\\d{7}"],["900\\d{7}"],["500\\d{7}"],0,0,0,0,["300\\d{7}"]],"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0",0,0,0,0,0,[["4270\\d{4}|(?:3(?:2[0-36-9]|3[0-368]|4[0-278]|5[0-24-8]|6[0-467]|7[1246-9]|8\\d|9[0-57])\\d|4(?:2[0-689]|[3-79]\\d|8[1-35689])|5(?:2[0-589]|[3468]\\d|5[0-489]|7[1-9]|9[23])|6(?:2[2-9]|3[1357-9]|[46]\\d|5[0-6]|7[0-35-9]|85|9[015-8])|7(?:[2579]\\d|3[03-68]|4[0-8]|6[5-9]|8[0-35-9])|8(?:[24][2-8]|3[2-5]|5[2-7]|6[2-589]|7[2-578]|[89][2-9])|9(?:0[57]|13|[25-7]\\d|[3489][0-8]))\\d{5}",[8,9]],["1(?:1888[689]|4400|8(?:47|8[27])[0-4])\\d{4}|1(?:0(?:[23568]\\d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]\\d\\d|6(?:0[5-9]|[1-9]\\d)|7(?:[0-4]\\d|5[0-7]))|(?:[269]\\d|[37][1-9]|4[235-9])\\d|5(?:31|9\\d\\d)|8(?:1[23]|[23
76]\\d|4[06]|5(?:46|[7-9])|7[016-9]|8[01]|9[0-8]))\\d{5}",[9,10]],["1[378]00\\d{6}",[10]],["1600\\d{6}",[10]],0,0,0,0,["15(?:4(?:6[0-4]\\d|8(?:0[125]|[17]\\d|21|3[01]|4[01589]|5[014]|6[02]))|6(?:32[0-6]|78\\d))\\d{4}",[10]]]],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["2(?:[1346]\\d|5[0-2]|[78][12]|93)\\d{5}",[8]],["8[2-79]\\d{7}",[9]],["800\\d{6}",[9]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0",0,0,0,0,0,[["64426\\d{3}|6(?:1(?:2[2-7]|3[01378]|4[0-4])|254|32[0237]|4(?:27|41|5[25])|52[236-8]|626|7(?:2[2-4]|30))\\d{4,5}|6(?:1(?:(?:0\\d|2[0189]|3[24-69]|4[5-9])\\d|17|69|7[014])|2(?:17|5[0-36-8]|69|70)|3(?:17|2[14-689]|34|6[289]|7[01]|81)|4(?:17|2[0-2]|4[06]|5[0137]|69|7[01])|5(?:17|2[0459]|69|7[01])|6(?:17|25|38|42|69|7[01])|7(?:17|2[569]|3[13]|6[89]|7[01]))\\d{4}"],["(?:60|8[1245])\\d{7}",[9]],["80\\d{7}",[9]],["8701\\d{5}",[9]],0,0,0,0,["8(?:3\\d\\d|86)\\d{5}"]]],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]],0,0,0,0,0,0,[["(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}"],["(?:5[0-4]|[79]\\d|8[0-79])\\d{4}"],["050\\d{3}"],["36\\d{4}"]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]],0,0,0,0,0,0,[["2(?:0(?:20|3[1-8]|4[13-5]|5[14]|6[14578]|7[1-578])|1(?:4[145]|5[14]|6[14-68]|7[169]|88))\\d{4}"],["(?:23|7[0467]|[89]\\d)\\d{6}"],["08\\d{6}"],["09\\d{6}"]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1",0,0,[["(?:1(?:06|17|28|39)|3[0-2]\\d)\\d{3}"],["(?:14|3[58])\\d{4}"]]],NG:["234","009","38\\d{6}|[78]\\d{9,13}|(?:20|9\\d)\\d{8}",[8,10,11,12,13,14],[["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["3"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0",0,0,0,0,0,[["(?:20(?:[1259]\\d|3[013-9]|4[1-8]|6[024-689]|7[1-79]|8[2-9])|38)\\d{6}",[8,10]],["(?:702[0-24-9]|819[01])\\d{6}|(?:7(?:0[13-9]|[12]\\d)|8(?:0[1-9]|1[0-8])|9(?:0[1-9]|1[1-6]))\\d{7}",[10]],["800\\d{7,11}",[10,11,12,13,14]],0,0,0,["700\\d{7,11}",[10,11,12,13,14]]]],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]],0,0,0,0,0,0,[["2\\d{7}"],["(?:5(?:5[0-7]|[78]\\d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8\\d)\\d)\\d{5}"],["1800\\d{4}"]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:[035]\\d|1[13-578]|6[124-8]|7[24]|8[0-467])|2(?:[0346]\\d|2[2-46-9]|5[125]|9[479])|3(?:[03568]\\d|1[3-8]|2[01]|4[1-8])|4(?:[0356]\\d|1[1-368]|7[58]|8[15-8]|9[23579])|5(?:[0358]\\d|[19][1-9]|2[1-57-9]|4[13-8]|6[126]|7[0-3578])|7\\d\\d)\\d{6}",[9]],["(?:6[1-58]|970\\d)\\d{7}",[9,11]],["800\\d{4,7}",[7,8,9,10]],["90[069]\\d{4,7}",[7,8,9,10]],0,0,["140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|(?:140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)|8[478]\\d{6})\\d",[5,6,9]],["66\\d{7}",[9]],["(?:85|91)\\d{7}",[9]]]],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]",[["(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}",[8]],["(?:4[015-8]|9\\d)\\d{6}",[8]],["80[01]\\d{5}",[8]],["82[09]\\d{5}",[8]],["880\\d{5}
7",[8]],["81[23]\\d{5}",[8]],["(?:0[2-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}"],0,["85[0-5]\\d{5}",[8]],["810(?:0[0-6]|[2-8]\\d)\\d{3}",[8]]]],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0",0,0,0,0,0,[["(?:1[0-6]\\d|99[02-6])\\d{5}|(?:2[13-79]|3[135-8]|4[146-9]|5[135-7]|6[13-9]|7[15-9]|8[1-46-9]|9[1-7])[2-6]\\d{5}",[8]],["9(?:00|6[0-3]|7[024-6]|8[0-24-68])\\d{7}",[10]],["1(?:66001|800\\d\\d)\\d{5}",[11]]]],NR:["674","00","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]],0,0,0,0,0,0,[["444\\d{4}"],["(?:55[3-9]|666|8\\d\\d)\\d{4}"]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]],0,0,0,0,0,0,[["[47]\\d{3}",[4]],["(?:[56]|888[1-9])\\d{3}"]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,[["240\\d{5}|(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}",[8]],["2(?:[0-27-9]\\d|6)\\d{6,7}|2(?:1\\d|75)\\d{5}",[8,9,10]],["508\\d{6,7}|80\\d{6,8}",[8,9,10]],["(?:1[13-57-9]\\d{5}|50(?:0[08]|30|66|77|88))\\d{3}|90\\d{6,8}",[7,8,9,10]],["70\\d{7}",[9]],0,["8(?:1[16-9]|22|3\\d|4[045]|5[459]|6[235-9]|7[0-3579]|90)\\d{2,7}"]],"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]],0,0,0,0,0,0,[["2[1-6]\\d{6}",[8]],["(?:1505|90[1-9]\\d)\\d{4}|(?:7[126-9]|9[1-9])\\d{6}",[8]],["8007\\d{4,5}|(?:500|800[05])\\d{4}"],["900\\d{5}",[8]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["(?:1(?:0\\d|1[479]|2[37]|3[0137]|4[17]|5[05]|6[058]|7[0167]|8[2358]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[07-9]\\d|1[0-7]|2[0-5]|33|4[0-79]|5[0-35]|6[068])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[0156]|7[0-24-9]|8[5-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}",[7]],["(?:1[16]1|21[89]|6\\d{3}|8(?:1[01]|7[23]))\\d{4}",[7,8]],["800\\d{4,5}|(?:00800|800\\d)\\d{6}"],["(?:8(?:22|55|60|7[78]|86)|9(?:00|81))\\d{4}",[7]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,[["(?:(?:(?:4[34]|5[14])[0-8]|687)\\d|7(?:173|(?:3[0-8]|55)\\d)|8(?:10[05689]|6(?:0[06-9]|1[6-9]|29)|7(?:0[0569]|[56]0)))\\d{4}|(?:1[0-8]|4[12]|5[236]|6[1-7]|7[246]|8[2-4])\\d{6}",[8]],["9\\d{8}",[9]],["800\\d{5}",[8]],["805\\d{5}",[8]],["80[24]\\d{5}",[8]],0,0,0,0,["801\\d{5}",[8]]],"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],0,0,0,0,0,0,[["4(?:0[4-689]|9[4-68])\\d{5}",[8]],["8[7-9]\\d{6}",[8]],["80[0-5]\\d{6}",[9]],0,0,0,["44\\d{4}",[6]],0,["499\\d{5}",[8]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,[["(?:(?:3[0-2]|4[257]|5[34]|9[78])\\d|64[1-9]|85[02-46-9])\\d{4}",[7]],["(?:7\\d|8[1-38])\\d{6}",[8]],["180\\d{4}",[7]],0,0,0,0,["27[01]\\d{4}",[7]],["2(?:0[0-57]|7[568])\\d{4}",[7]]],"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0",0,0,0,0,0,[["(?:(?:2[3-8]|3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578])\\d{3}|88(?:22\\d\\d|42))\\d{4}|(?:2|8[2-8]\\d\\d)\\d{5}",[6,8,9,10]],["(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[235-7]\\d|4[2-9]|8[135-9]|9[1-9]))\\d{7}",[10]],["1800\\d{7,9}",[11,12,13]]]],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0",0,0,0,0,0,[["(?:(?:21|42)[2-9]|58[126])\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\d{6,7}|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8]))[2-9]\\d{5,6}",[9,10]],["3(?:[0-247]\\d|3[0-79]|55|64)\\d{7}",[10]],["800\\d{5}
7(?:\\d{3})?",[8,11]],["900\\d{5}",[8]],["122\\d{6}",[9]],0,["(?:2(?:[125]|3[2358]|4[2-4]|9[2-8])|4(?:[0-246-9]|5[3479])|5(?:[1-35-7]|4[2-467])|6(?:0[468]|[1-8])|7(?:[14]|2[236])|8(?:[16]|2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|22|3[27-9]|4[2-6]|6[3569]|9[2-7]))111\\d{6}",[11,12]]]],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]],0,0,0,0,0,0,[["47\\d{7}|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])(?:[02-9]\\d{6}|1(?:[0-8]\\d{5}|9\\d{3}(?:\\d{2})?))",[7,9]],["21(?:1[013-5]|2\\d)\\d{5}|(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}",[9]],["800\\d{6,7}",[9,10]],["70[01346-8]\\d{6}",[9]],0,0,["804\\d{6}",[9]],["64\\d{4,7}",[6,7,8,9]],["39\\d{7}",[9]],["801\\d{6}",[9]]]],PM:["508","00","[45]\\d{5}|(?:708|80\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:4[1-35-7]|5[01])\\d{4}",[6]],["(?:4[02-4]|5[056]|708[45][0-5])\\d{4}"],["80[0-5]\\d{6}",[9]]]],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939",[["(?:787|939)[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[["(?:22[2-47-9]|42[45]|82[014-68]|92[3569])\\d{5}",[8]],["5[69]\\d{7}",[9]],["1800\\d{6}",[10]],0,0,0,0,0,0,["1700\\d{6}",[10]]]],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]],0,0,0,0,0,0,[["2(?:[12]\\d|3[1-689]|4[1-59]|[57][1-9]|6[1-35689]|8[1-69]|9[1256])\\d{6}"],["6(?:[06]92(?:30|9\\d)|[35]92(?:[049]\\d|3[034]))\\d{3}|(?:(?:16|6[0356])93|9(?:[1-36]\\d\\d|480))\\d{5}"],["80[02]\\d{6}"],["(?:6(?:0[178]|4[68])\\d|76(?:0[1-57]|1[2-47]|2[237]))\\d{5}"],["884[0-4689]\\d{5}"],["600\\d{6}|6[06]92(?:0\\d|3[349]|49)\\d{3}"],["70(?:38[01]|596|(?:7\\d|8[17])\\d)\\d{4}"],["6(?:222\\d|8988)\\d{4}"],["30\\d{7}"],["80(?:8\\d|9[1579])\\d{5}"]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]],0,0,0,0,0,0,[["(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}"],["(?:(?:46|83)[0-5]|6[2-4689]0)\\d{4}|(?:45|77|88)\\d{5}"]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,[["(?:[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36])\\d{5,7}|(?:2(?:2[4-68]|[4-68]\\d|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\d)|4(?:3[12]|5[13]|9[1-47])|5(?:[1-4]\\d|5[02-4])|6(?:3[1-3]|44|7[1-8])|7(?:4[0-4]|5\\d|6[1-
7578]|75|8[0-8])|858)\\d{5,6}",[7,8,9]],["9(?:51|6[129]|7[1-6]|8[1-7]|9[1-5])\\d{6}",[9]],["9800\\d{5,7}",[9,10,11]],0,0,0,["[2-9]0\\d{4,7}",[6,7,8,9]],0,["8700[0-4]\\d{4}",[9]]]],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]],0,0,0,0,0,0,[["4(?:1111|2022)\\d{3}|4(?:[04]\\d\\d|14[0-6]|999)\\d{4}",[8]],["[35-7]\\d{7}",[8]],["800\\d{4}|(?:0080[01]|800)\\d{6}",[7,9,11]],0,0,0,0,["2[16]\\d{5}",[7]]]],RE:["262","00","(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-5]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,[["[23][13-6]\\d{7}|(?:2(?:19\\d|[3-6]\\d9)|31\\d\\d)\\d\\d"],["(?:630|702)0\\d{5}|(?:6(?:00|2\\d)|7(?:0[013-9]|1[0-3]|[2-7]\\d|8[03-8]|9[0-39]))\\d{6}",[9]],["800\\d{6}",[9]],["90[0136]\\d{6}",[9]],0,0,["(?:37\\d|80[578])\\d{6}",[9]],0,0,["801\\d{6}",[9]]],0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0",0,0,0,0,0,[["(?:11[1-9]\\d|(?:2[389]|39)(?:0[2-9]|[2-9]\\d))\\d{3,8}|(?:1[02-9]|2[0-24-7]|3[0-8])[2-9]\\d{4,9}",[7,8,9,10,11,12]],["6(?:[0-689]|7\\d)\\d{6,7}",[8,9,10]],["800\\d{3,9}"],["(?:78\\d|90[0169])\\d{3,7}",[6,7,8,9,10]],0,0,["7[06]\\d{4,10}"]]],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"3[04-689]|[489]",[["(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15]|6[1-35-79]|7[1-37-9]))\\d{7}",[10]],["9\\d{9}",[10]],["8(?:0[04]|108\\d{3})\\d{7}"],["80[39]\\d{7}",[10]],["808\\d{7}",[10]]],"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0",0,0,0,0,0,[["(?:06|2[23568]\\d)\\d{6}"],["7[237-9]\\d{7}",[9]],["800\\d{6}",[9]],["900\\d{6}",[9]]]],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0",0,0,0,0,0,[["1(?:1\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}",[9]],["579[01]\\d{5}|5(?:[013-689]\\d|7[0-8])\\d{6}",[9]],["800\\d{7}",[10]],["925\\d{6}",[9]],0,0,["811\\d{7}",[10]],0,0,["920\\d{6}",[9]]]],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]],0,0,0,0,0,0,[["(?:1[4-79]|[23]\\d|4[0-2]|5[03]|6[0-37])\\d{3}",[5]],["48\\d{3}|(?:(?:6[89]|7[1-9]|8[4-9])\\d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))\\d{4}"],["1[38]\\d{3}",[5]],0,0,0,0,0,["5[12]\\d{3}",[5]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,[["4[2-46]\\d{5}"],["2[125-8]\\d{5}"],["800[08]\\d{3}"],["85\\d{5}"],0,0,0,0,["971\\d{4}|(?:64|95)\\d{5}"]],"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0",0,0,0,0,0,[["1(?:5\\d|8[35-7])\\d{6}"],["(?:1[0-2]|9[0-3569])\\d{7}"]]],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0",0,0,0,0,0,[["(?:(?:[12][136]|3[356]|4[0246]|6[03]|8\\d)\\d|90[1-9])\\d{4,6}|(?:1(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\d)|2(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])|3(?:0[0-4]|1\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])|4(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\d|6[03-5]|7[013]|8[0-79]|9[01])|6(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])|9(?:1[0-68]|2\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8]))\\d{5,6}",[7,8,9]],["7[02369]\\d{7}",[9]],["20\\d{4,7}",[6,7,8,9]],["649\\d{6}|99[1-59]\\d{4}(?:\\d{3})?|9(?:00|39|44)[1-8]\\d{3,6}",[7,8,9,10]],["75[1-8]\\d{6}",[9]],["(?:25[245]|67[3-68])\\d{9}",[12]],["10[1-8]\\d{6}",[9]],["74[02-9]\\d{6}",[9]],0,["77[0-7]\\d{6}",[9]]]],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[["662[0-24-9]\\d{4}|6(?:[0-578]\\d|6[013-57-9]|9[0-35-9])\\d{5}",[8]],["(?:8(?:0(?:[1-8]\\d|9[0-689])|[1-8]\\d\\d|9(?:[0-4]\\d|5[0-3]|62))|9[0-8]\\d\\d)\\d{4}",[8]],["(?:18|8)00\\d{7}",[10,11]],["1900\\d{7}",[11]],0,0,["7000\\d{7}",[11]],0,["(?:3[12]\\d|666)\\d{5}",[8]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]",[["2(?:[0-57-9]\\d|6[4-9])\\d\\d"],["[56]\\d{4}",[5]],0,0,0,0,0,0,["262\\d\\d",[5]]]],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,[["(?:[1-357][2-8]|4[24-8])\\d{6}",[8]],["65(?:[178]\\d|5[56]|6[01])\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\d{6}",[8]],["80\\d{4,6}",[6,7,8]],["89[1-3]\\d{2,5}|90\\d{4,6}"],0,0,0,0,["(?:59\\d\\d|8(?:1(?:[67]\\d|8[0-589])|2(?:0\\d|2[0-37-9]|8[0-2489])|3[389]\\d))\\d{4}",[8]]],"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79",[["79\\d{6}",[8]],["(?:4[015-8]|9\\d)\\d{6}",[8]],["80[01]\\d{5}",[8]],["82[09]\\d{5}",[8]],["880\\d{5}
7",[8]],["81[23]\\d{5}",[8]],["(?:0[2-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}"],0,["85[0-5]\\d{5}",[8]],["810(?:0[0-6]|[2-8]\\d)\\d{3}",[8]]]],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0",0,0,0,0,0,[["(?:2(?:16|[2-9]\\d{3})|(?:(?:[3-5][1-8]\\d|819)\\d|601[1-5])\\d)\\d{4}|(?:2|[3-5][1-8])1[67]\\d{3}|[3-5][1-8]16\\d\\d"],["909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}",[9]],["800\\d{6}",[9]],["9(?:00|[78]\\d)\\d{6}",[9]],0,0,["96\\d{7}",[9]],["9090\\d{3}",[7]],["6(?:02|5[0-4]|9[0-6])\\d{6}",[9]],["8[5-9]\\d{7}",[9]]]],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0",0,0,0,0,0,[["22[2-4][2-9]\\d{4}"],["(?:25|3[0-5]|66|7[2-9]|8[08]|9[09])\\d{6}"]]],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1",0,0,[["0549(?:8[0157-9]|9\\d)\\d{4}",[10]],["6[16]\\d{6}",[8]],0,["7[178]\\d{6}",[8]],0,0,0,0,["5[158]\\d{6}",[8]]]],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]],0,0,0,0,0,0,[["3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\d{5}"],["7(?:(?:[06-8]\\d|[19]0|21)\\d|5(?:0[01]|[19]0|2[25]|[38]3|[4-7]\\d))\\d{5}"],["800\\d{6}"],["88[4689]\\d{6}
7"],0,0,0,0,["(?:3(?:392|9[01]\\d)\\d|93(?:3[13]0|929))\\d{4}"],["81[02468]\\d{6}"]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|77|9[2-9]"]]],"0",0,0,0,0,0,[["(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|5[57-9])\\d{5}|(?:[134]\\d|8[125])\\d{4}",[6,7]],["(?:(?:15|(?:3[59]|4[89]|6\\d|7[79]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}",[7,8,9]]]],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]],0,0,0,0,0,0,[["(?:2[1-3]|3[0-7]|(?:4|68)\\d|5[2-58])\\d{4}"],["(?:7[124-7]|8[124-9])\\d{5}",[7]],0,0,0,0,0,0,["56\\d{4}",[6]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0",0,0,0,0,0,[["1[89]\\d{7}"],["(?:12|9[1257-9])\\d{7}"]]],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]],0,0,0,0,0,0,[["22\\d{5}"],["900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}"]]],SV:["503","00","[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,[["2(?:79(?:0[0347-9]|[1-9]\\d)|89(?:0[024589]|[1-9]\\d))\\d{3}|2(?:[1-69]\\d|[78][0-8])\\d{5}",[8]],["[67]\\d{7}",[8]],["800\\d{8}|80[01]\\d{4}",[7,11]],["900\\d{4}(?:\\d{4})?",[7,11]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721",[["7215(?:4[2-8]|8[239]|9[056])\\d{4}"],["7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],SY:["963","00","[1-39]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",1]],"0",0,0,0,0,0,[["21\\d{6,7}|(?:1(?:[14]\\d|[2356])|2[235]|3(?:[13]\\d|4)|4[134]|5[1-3])\\d{6}"],["9[1-689]\\d{7}",[9]]]],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]],0,0,0,0,0,0,[["[23][2-5]\\d{6}",[8]],["7[6-9]\\d{6}",[8]],["0800\\d{4}",[8]],["900\\d{6}",[9]],0,0,0,0,["70\\d{6}",[8]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8",[["8\\d{3}"]]],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649",[["649(?:266|712|9(?:4\\d|50))\\d{4}"],["649(?:2(?:3[129]|4[1-79])|3\\d\\d|4[34][1-3])\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["649(?:71[01]|966)\\d{4}"]]],TD:["235","00|16","(?:22|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"]]],0,0,0,0,0,0,[["22(?:[37-9]0|5[0-5]|6[89])\\d{4}"],["(?:[69]\\d|77|8[56])\\d{6}"]],"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]],0,0,0,0,0,0,[["2(?:2[2-7]|3[23]|4[45]|55|6[67]|77)\\d{5}"],["(?:7[019]|9[0-36-9])\\d{6}"]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0",0,0,0,0,0,[["(?:1[0689]|2\\d|3[2-9]|4[2-5]|5[2-6]|7[3-7])\\d{6}",[8]],["67(?:1[0-8]|2[4-7])\\d{5}|(?:14|6[1-6]|[89]\\d)\\d{7}",[9]],["(?:001800\\d|1800)\\d{6}",[10,13]],["1900\\d{6}",[10]],0,0,0,0,["6[08]\\d{7}",[9]]]],TJ:["992","810","[0-57-9]\\d{8}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4}
7)","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,[["(?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:46|74|87))\\d{6}"],["(?:33[03-9]|4(?:1[18]|4[02-479])|81[1-9])\\d{6}|(?:[09]\\d|1[017]|2[02]|[34]0|5[05]|7[01578]|8[078])\\d{7}"]],"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7],0,0,0,0,0,0,0,[["(?:2[2-4]|[34]\\d)\\d{2,5}"],["7[2-4]\\d{2,5}"]]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]],0,0,0,0,0,0,[["(?:2[1-5]|3[1-9]|4[1-4])\\d{5}",[7]],["7[2-8]\\d{6}",[8]],["80\\d{5}",[7]],["90\\d{5}",[7]],["70\\d{5}",[7]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,[["(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}"],["(?:6\\d|71)\\d{6}"]],"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]],0,0,0,0,0,0,[["81200\\d{3}|(?:3[0-2]|7\\d)\\d{6}"],["3(?:001|[12]40)\\d{4}|(?:(?:[259]\\d|4[0-8])\\d|3(?:1[1-35]|6[0-4]|91))\\d{5}"],["8010\\d{4}"],["88\\d{6}"],0,0,0,0,0,["8[12]10\\d{4}"]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]],0,0,0,0,0,0,[["(?:2\\d|3[0-8]|4[0-4]|50|6[09]|7[0-24-69]|8[05])\\d{3}",[5]],["(?:5(?:4[0-5]|5[4-6])|6(?:[09]\\d|3[02]|8[15-9])|(?:7\\d|8[46-9])\\d|999)\\d{4}",[7]],["0800\\d{3}",[7]],0,0,0,0,0,["55[0-37-9]\\d{4}",[7]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0",0,0,0,0,0,[["(?:2(?:[13][26]|[28][2468]|[45][268]|[67][246])|3(?:[13][28]|[24-6][2468]|[78][02468]|92)|4(?:[16][246]|[23578][2468]|4[26]))\\d{7}",[10]],["561(?:011|61\\d)\\d{4}|5(?:0[15-7]|1[06]|24|[34]\\d|5[1-59]|9[46])\\d{7}",[10]],["8(?:00\\d{7}(?:\\d{2,3})?|11\\d{7})",[10,12,13]],["(?:8[89]8|900)\\d{7}",[10]],["592(?:21[12]|461)\\d{4}",[10]],0,["444\\d{4}",[7]],["512\\d{7}",[10]],["850\\d{7}",[10]]]],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868",[["868(?:2(?:01|1[5-9]|[23]\\d|4[0-2])|6(?:0[7-9]|1[02-8]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}"],["868(?:(?:2[5-9]|3\\d)\\d|4(?:3[0-6]|[6-9]\\d)|6(?:20|78|8\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\d))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],["868619\\d{4}"]]],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]],0,0,0,0,0,0,[["2[02-9]\\d{3}",[5]],["(?:7[01]\\d|90)\\d{4}",[6,7]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[["(?:2[2-8]\\d|370|55[01]|7[1-9])\\d{6}|4(?:(?:0(?:0[1-9]|[2-48]\\d)|1[023]\\d)\\d{4,5}|(?:[239]\\d\\d|4(?:0[56]|12|49))\\d{5})|6(?:[01]\\d{7}|4(?:0[56]|12|24|4[09])\\d{4,5})|8(?:(?:2(?:3\\d|4[0-269]|[578]0|66)|36[24-9]|90\\d\\d)\\d{4}|4(?:0[56]|12|24|4[09])\\d{4,5})|(?:2(?:2(?:0\\d\\d|4(?:0[68]|[249]0|3[0-467]|5[0-25-9]|6[0235689]))|(?:3(?:[09]\\d|1[0-4])|(?:4\\d|5[0-49]|6[0-29]|7[0-5])\\d)\\d)|(?:(?:3[2-9]|5[2-8]|6[0-35-79]|8[7-9])\\d\\d|4(?:2(?:[089]\\d|7[1-9])|(?:3[0-4]|[78]\\d|9[01])\\d))\\d)\\d{3}",[8,9]],["(?:40001[0-2]|9[0-8]\\d{4})\\d{3}",[9]],["80[0-79]\\d{6}|800\\d{5}",[8,9]],["20(?:[013-9]\\d\\d|2)\\d{4}",[7,9]],["99\\d{7}",[9]],0,["50[0-46-9]\\d{6}
7",[9]],0,["7010(?:[0-2679]\\d|3[0-7]|8[0-5])\\d{5}|70\\d{8}",[10,11]]],0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0",0,0,0,0,0,[["2[2-8]\\d{7}"],["(?:6[125-9]|7[13-9])\\d{7}"],["80[08]\\d{6}"],["90\\d{7}"],0,0,0,0,["41\\d{7}"],["8(?:40|6[01])\\d{6}"]]],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,[["(?:3[1-8]|4[13-8]|5[1-7]|6[12459])\\d{7}",[9]],["(?:39|50|6[36-8]|7[1-357]|9[1-9])\\d{7}",[9]],["800[1-8]\\d{5,6}"],["900[239]\\d{5,6}"],0,0,0,0,["89[1-579]\\d{6}",[9]]],"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0",0,0,0,0,0,[["20(?:(?:240|30[67])\\d|6(?:00[0-2]|30[0-4]))\\d{3}|(?:20(?:[017]\\d|2[5-9]|3[1-4]|5[0-4]|6[15-9])|[34]\\d{3})\\d{5}"],["72(?:[48]0|6[01])\\d{5}|7(?:[015-8]\\d|20|36|4[0-5]|9[89])\\d{6}"],["800[1-3]\\d{5}"],["90[1-3]\\d{6}"]]],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["305209\\d{4}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[6,7,8,9,10,11,12,13],[["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,[["(?:1(?:770|9(?:20|[89]7))|(?:2\\d|4[2-7])\\d\\d)\\d{4}",[8]],["9[1-9]\\d{6}",[8]],["0004\\d{2,9}|(?:405|80[05])\\d{4}"],["90[0-8]\\d{4}",[7]]],"00"," int. "],UZ:["998","00","(?:20|33|[5-79]\\d|88)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]],0,0,0,0,0,0,[["(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|[69]\\d\\d|7(?:[23]\\d|7[69]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|(?:1[12]|[68]\\d)\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|9(?:22|5[1-9])))\\d{5}"],["(?:(?:[25]0|33|88|9[0-57-9])\\d{3}|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079])))|7(?:[07]\\d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98\\d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}"]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698",[["06698\\d{1,6}",[6,7,8,9,10,11]],["3[1-9]\\d{8}|3[2-9]\\d{7}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784",[["784(?:266|3(?:6[6-9]|7\\d|8[0-6])|4(?:38|5[0-36-8]|8[0-8])|5(?:55|7[0-2]|93)|638|784)\\d{4}"],["784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["78451[0-2]\\d{4}"]]],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0",0,0,0,0,0,[["(?:2(?:12|3[457-9]|[467]\\d|[58][1-9]|9[1-6])|[4-6]00)\\d{7}"],["4(?:1[24-8]|2[46])\\d{7}"],["800\\d{7}"],["90[01]\\d{7}"],0,0,["501\\d{7}"]]],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284",[["284(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}"],["284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|9[69])|5(?:4[0-7]|68|9[69]))\\d{4}"],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340",[["340(?:2(?:0\\d|10|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0",0,0,0,0,0,[["2(?:0[3-9]|1[0-689]|2[0-25-9]|[38][2-9]|4[2-8]|5[124-9]|6[0-39]|7[0-7]|9[0-4679])\\d{7}",[10]],["(?:5(?:2[238]|59)|89[6-9]|99[013-9])\\d{6}|(?:3\\d|5[1689]|7[06-9]|8[1-8]|9[0-8])\\d{7}",[9]],["1800\\d{4,6}|12(?:0[13]|28)\\d{4}",[8,9,10]],["1900\\d{4,6}",[8,9,10]],0,0,["(?:[17]99|80\\d)\\d{4}|69\\d{5,6}",[7,8]],0,["672\\d{6}",[9]]]],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]],0,0,0,0,0,0,[["(?:38[0-8]|48[4-9])\\d\\d|(?:2[02-9]|3[4-7]|88)\\d{3}",[5]],["(?:[58]\\d|7[013-7])\\d{5}",[7]],["81[18]\\d\\d",[5]],0,0,0,["(?:3[03]|900\\d)\\d{3}"],0,["9(?:0[1-9]|1[01])\\d{4}",[7]]]],WF:["681","00","(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[478]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],0,0,0,0,0,0,[["72\\d{4}",[6]],["(?:72|8[23])\\d{4}",[6]],["80[0-5]\\d{6}",[9]],0,0,["[48]0\\d{4}",[6]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]],0,0,0,0,0,0,[["6[1-9]\\d{3}|(?:[2-5]|60)\\d{4}",[5,6]],["(?:7[1-35-7]|8(?:[3-7]|9\\d{3}))\\d{5}",[7,10]],["800\\d{3}",[6]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0",0,0,0,0,0,[["38\\d{6,10}|(?:2[89]|39)(?:0\\d{5,6}|[1-9]\\d{5})"],["4[3-9]\\d{6}",[8]],["800\\d{5}",[8]],["900\\d{5}",[8]]]],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,[["78[0-7]\\d{4}|17\\d{6}|(?:[12][2-68]|3[2358]|4[2-58]|5[2-6]|6[3-58]|7[24-6])\\d{5}",[7,8]],["7[01378]\\d{7}",[9]]]],YT:["262","00","(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:2(?:0330|4302)|52087)0\\d{3}|(?:1[0-8]|2[1-378]|3[1-69]|4\\d|5[1346-8])\\d{7}",[9]],["(?:1(?:3492[0-25]|4495[0235]|549(?:20|5[01]))|4[34]492[01])\\d{3}|8[1-4]\\d{3,7}|(?:2[27]|47|54)4950\\d{3}
7|(?:1(?:049[2-4]|9[12]\\d\\d)|(?:6\\d\\d|7(?:[0-46-9]\\d|5[0-4]))\\d\\d|8(?:5\\d{3}|7(?:08[67]|158|28[5-9]|310)))\\d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920\\d{3}|(?:12|[2-5]1)492\\d{4}",[5,6,7,8,9]],["80\\d{7}",[9]],["(?:86[2-9]|9[0-2]\\d)\\d{6}",[9]],0,0,["861\\d{6,7}",[9,10]],0,["87(?:08[0-589]|15[0-79]|28[0-4]|31[1-9])\\d{4}|87(?:[02][0-79]|1[0-46-9]|3[02-9]|[4-9]\\d)\\d{5}",[9]],["860\\d{6}",[9]]]],ZM:["260","00","800\\d{6}|(?:21|63|[79]\\d)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],"0",0,0,0,0,0,[["21[1-8]\\d{6}"],["(?:7[5-79]|9[5-8])\\d{7}"],["800\\d{6}"],0,0,0,0,0,["63\\d{7}"]]],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:(?:3\\d|9)\\d|[4-8])|2(?:(?:(?:0(?:2[014]|5)|(?:2[0157]|31|84|9)\\d\\d|[56](?:[14]\\d\\d|20)|7(?:[089]|2[03]|[35]\\d\\d))\\d|4(?:2\\d\\d|8))\\d|1(?:2|[39]\\d{4}))|3(?:(?:123|(?:29\\d|92)\\d)\\d\\d|7(?:[19]|[56]\\d))|5(?:0|1[2-478]|26|[37]2|4(?:2\\d{3}|83)|5(?:25\\d\\d|[78])|[689]\\d)|6(?:(?:[16-8]21|28|52[013])\\d\\d|[39])|8(?:[1349]28|523)\\d\\d)\\d{3}|(?:4\\d\\d|9[2-9])\\d{4,5}|(?:(?:2(?:(?:(?:0|8[146])\\d|7[1-7])\\d|2(?:[278]\\d|92)|58(?:2\\d|3))|3(?:[26]|9\\d{3})|5(?:4\\d|5)\\d\\d)\\d|6(?:(?:(?:[0-246]|[78]\\d)\\d|37)\\d|5[2-8]))\\d\\d|(?:2(?:[569]\\d|8[2-57-9])|3(?:[013-59]\\d|8[37])|6[89]8)\\d{3}"],["7(?:[1278]\\d|3[1-9])\\d{6}",[9]],["80(?:[01]\\d|20|8[0-8])\\d{3}",[7]],0,0,0,0,0,["86(?:1[12]|22|30|44|55|77|8[368])\\d{6}",[10]]]]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[35-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};var ci=2,di=17,hi=3,fi="0-9ï¼-ï¼Ù -Ù©Û°-Û¹",pi="".concat("-â-ââã¼ï¼").concat("ï¼/").concat("ï¼.").concat("  Ââ
7â ã").concat("()ï¼ï¼ï¼»ï¼½\\[\\]").concat("~ââ¼ï½");function gi(t){return gi="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},gi(t)}function yi(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function mi(t){var e=_i();return function(){var n,r=Si(t);if(e){var i=Si(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"===gi(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return vi(t)}(this,n)}}function vi(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bi(t){var e="function"==typeof Map?new Map:void 0;return bi=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return xi(t,arguments,Si(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),wi(r,t)},bi(t)}function xi(t,e,n){return xi=_i()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&wi(i,n.prototype),i},xi.apply(null,arguments)}function _i(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function wi(t,e){return wi=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},wi(t,e)}function Si(t){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Si(t)}var Mi=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&wi(t,e)}(o,t);var e,n,r,i=mi(o);function o(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),e=i.call(this,t),Object.setPrototypeOf(vi(e),o.prototype),e.name=e.constructor.name,e}return e=o,n&&yi(e.prototype,n),r&&yi(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}(bi(Error));function Ii(t,e){t=t.split("-"),e=e.split("-");for(var n=t[0].split("."),r=e[0].split("."),i=0;i<3;i++){var o=Number(n[i]),a=Number(r[i]);if(o>a)return 1;if(a>o)return-1;if(!isNaN(o)&&isNaN(a))return 1;if(isNaN(o)&&!isNaN(a))return-1}return t[1]&&e[1]?t[1]>e[1]?1:t[1]<e[1]?-1:0:!t[1]&&e[1]?1:t[1]&&!e[1]?-1:0}var Ai={}.constructor;function Di(t){return null!=t&&t.constructor===Ai}function Ti(t){return Ti="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},Ti(t)}function Ci(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Oi(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Pi(t,e,n){return e&&Oi(t.prototype,e),n&&Oi(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}var ki=" ext. ",$i=/^\d+$/,Ei=function(){function t(e){Ci(this,t),function(t){if(!t)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!Di(t)||!Di(t.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(Di(t)?"an object of shape: { "+Object.keys(t).join(", ")+" }":"a "+ji(t)+": "+t,"."))}(e),this.metadata=e,Vi.call(this,e)}
vendor: 6,821 bytes, line 7
7return Pi(t,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter((function(t){return"001"!==t}))}},{key:"getCountryMetadata",value:function(t){return this.metadata.countries[t]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(t){return void 0!==this.getCountryMetadata(t)}},{key:"hasCallingCode",value:function(t){if(this.getCountryCodesForCallingCode(t))return!0;if(this.nonGeographic()){if(this.nonGeographic()[t])return!0}else{var e=this.countryCallingCodes()[t];if(e&&1===e.length&&"001"===e[0])return!0}}},{key:"isNonGeographicCallingCode",value:function(t){return this.nonGeographic()?!!this.nonGeographic()[t]:!this.getCountryCodesForCallingCode(t)}},{key:"country",value:function(t){return this.selectNumberingPlan(t)}},{key:"selectNumberingPlan",value:function(t,e){if(t&&$i.test(t)&&(e=t,t=null),t&&"001"!==t){if(!this.hasCountry(t))throw new Error("Unknown country: ".concat(t));this.numberingPlan=new Li(this.getCountryMetadata(t),this)}else if(e){if(!this.hasCallingCode(e))throw new Error("Unknown calling code: ".concat(e));this.numberingPlan=new Li(this.getNumberingPlanMetadata(e),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(t){var e=this.countryCallingCodes()[t];if(e){if(1===e.length&&3===e[0].length)return;return e}}},{key:"getCountryCodeForCallingCode",value:function(t){var e=this.getCountryCodesForCallingCode(t);if(e)return e[0]}},{key:"getNumberingPlanMetadata",value:function(t){var e=this.getCountryCodeForCallingCode(t);if(e)return this.getCountryMetadata(e);if(this.nonGeographic()){var n=this.nonGeographic()[t];if(n)return n}else{var r=this.countryCallingCodes()[t];if(r&&1===r.length&&"001"===r[0])return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(t){return this.numberingPlan.type(t)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(t){return this.selectNumberingPlan(t)}},{key:"hasSelectedNumberingPlan",value:function(){return void 0!==this.numberingPlan}}]),t}(),Li=function(){function t(e,n){Ci(this,t),this.globalMetadataObject=n,this.metadata=e,Vi.call(this,n.metadata)}return Pi(t,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!this.v1&&!this.v2)return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(t){return t[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var t=this,e=this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[];return e.map((function(e){return new Ni(e,t)}))}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(t){return t[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return(!this.types()||0!==this.types().length)&&!!this.types()}},{key:"type",value:function(t){if(this.hasTypes()&&Bi(this.types(),t))return new Fi(Bi(this.types(),t),this)}},{key:"ext",value:function(){return this.v1||this.v2?ki:this.metadata[13]||ki}}]),t}(),Ni=function(){function t(e,n){Ci(this,t),this._format=e,this.metadata=n}return Pi(t,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!(!this.nationalPrefixFormattingRule()||Ri.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),t}(),Ri=/^\(?\$1\)?$/,Fi=function(){function t(e,n){Ci(this,t),this.type=e,this.metadata=n}return Pi(t,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.t
vendor: 17,130 bytes, line 7
7ype[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]),t}();function Bi(t,e){switch(e){case"FIXED_LINE":return t[0];case"MOBILE":return t[1];case"TOLL_FREE":return t[2];case"PREMIUM_RATE":return t[3];case"PERSONAL_NUMBER":return t[4];case"VOICEMAIL":return t[5];case"UAN":return t[6];case"PAGER":return t[7];case"VOIP":return t[8];case"SHARED_COST":return t[9]}}var ji=function(t){return Ti(t)};function zi(t,e){if((e=new Ei(e)).hasCountry(t))return e.country(t).countryCallingCode();throw new Error("Unknown country: ".concat(t))}function Vi(t){var e=t.version;"number"==typeof e?(this.v1=1===e,this.v2=2===e,this.v3=3===e,this.v4=4===e):e?-1===Ii(e,"1.2.0")?this.v2=!0:-1===Ii(e,"1.7.35")?this.v3=!0:this.v4=!0:this.v1=!0}var Hi=function(t){return"([".concat(fi,"]{1,").concat(t,"})")};function Wi(t){var e="[  \\t,]*",n="[:\\.ï¼]?[  \\t,-]*",r="#?",i="[  \\t]*";return";ext="+Hi("20")+"|"+(e+"(?:e?xt(?:ensi(?:oÌ?|ó))?n?|ï½
?ï½ï½ï½?|доб|anexo)"+n+Hi("20")+r)+"|"+(e+"(?:[xï½#ï¼~ï½]|int|ï½ï½ï½)"+n+Hi("9")+r)+"|"+("[- ]+"+Hi("6")+"#")+"|"+(i+"(?:,{2}|;)"+n+Hi("15")+r)+"|"+(i+"(?:,)+"+n+Hi("9")+r)}var Gi="["+fi+"]{"+ci+"}",Yi="[+ï¼]{0,1}(?:["+pi+"]*["+fi+"]){3,}["+pi+fi+"]*",Ui=new RegExp("^[+ï¼]{0,1}(?:["+pi+"]*["+fi+"]){1,2}$","i"),Zi=Yi+"(?:"+Wi()+")?",Xi=new RegExp("^"+Gi+"$|^"+Zi+"$","i");var qi=new RegExp("(?:"+Wi()+")$","i");var Ki={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","ï¼":"0","ï¼":"1","ï¼":"2","ï¼":"3","ï¼":"4","ï¼":"5","ï¼":"6","ï¼":"7","ï¼":"8","ï¼":"9","Ù ":"0","Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Û°":"0","Û±":"1","Û²":"2","Û³":"3","Û´":"4","Ûµ":"5","Û¶":"6","Û·":"7","Û¸":"8","Û¹":"9"};function Ji(t){return Ki[t]}function Qi(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return to(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return to(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function to(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function eo(t){for(var e,n="",r=Qi(t.split(""));!(e=r()).done;){n+=no(e.value,n)||""}return n}function no(t,e,n){return"+"===t?e?void("function"==typeof n&&n("end")):"+":Ji(t)}function ro(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return io(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return io(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function io(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function oo(t,e){return ao(t,void 0,e)}function ao(t,e,n){var r=n.type(e),i=r&&r.possibleLengths()||n.possibleLengths();if(!i)return"IS_POSSIBLE";if("FIXED_LINE_OR_MOBILE"===e){if(!n.type("FIXED_LINE"))return ao(t,"MOBILE",n);var o=n.type("MOBILE");o&&(i=function(t,e){for(var n,r=t.slice(),i=ro(e);!(n=i()).done;){var o=n.value;t.indexOf(o)<0&&r.push(o)}return r.sort((function(t,e){return t-e}))}(i,o.possibleLengths()))}else if(e&&!r)return"INVALID_LENGTH";var a=t.length,s=i[0];return s===a?"IS_POSSIBLE":s>a?"TOO_SHORT":i[i.length-1]<a?"TOO_LONG":i.indexOf(a,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function so(t,e){return"IS_POSSIBLE"===oo(t,e)}function lo(t,e){return t=t||"",new RegExp("^(?:"+e+")$").test(t)}function uo(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return co(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return co(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function co(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var ho=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function fo(t,e,n){if(e=e||{},t.country||t.countryCallingCode){(n=new Ei(n)).selectNumberingPlan(t.country,t.countryCallingCode);var r=e.v2?t.nationalNumber:t.phone;if(lo(r,n.nationalNumberPattern())){if(po(r,"FIXED_LINE",n))return n.type("MOBILE")&&""===n.type("MOBILE").pattern()?"FIXED_LINE_OR_MOBILE":n.type("MOBILE")?po(r,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE":"FIXED_LINE_OR_MOBILE";for(var i,o=uo(ho);!(i=o()).done;){var a=i.value;if(po(r,a,n))return a}}}}function po(t,e,n){return!(!(e=n.type(e))||!e.pattern())&&(!(e.possibleLengths()&&e.possibleLengths().indexOf(t.length)<0)&&lo(t,e.pattern()))}function go(t,e,n){var r=new Ei(n).getCountryCodesForCallingCode(t);return r?r.filter((function(t){return function(t,e,n){var r=new Ei(n);if(r.selectNumberingPlan(e),r.numberingPlan.possibleLengths().indexOf(t.length)>=0)return!0;return!1}(e,t,n)})):[]}var yo=/(\$\d)/;function mo(t,e,n){var r=n.useInternationalFormat,i=n.withNationalPrefix,o=(n.carrierCode,n.metadata,t.replace(new RegExp(e.pattern()),r?e.internationalFormat():i&&e.nationalPrefixFormattingRule()?e.format().replace(yo,e.nationalPrefixFormattingRule()):e.format()));return r?function(t){return t.replace(new RegExp("[".concat(pi,"]+"),"g")," ").trim()}(o):o}var vo=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function bo(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return xo(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xo(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function xo(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function _o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function wo(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?_o(Object(n),!0).forEach((function(e){So(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function So(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Mo={formatExtension:function(t,e,n){return"".concat(t).concat(n.ext()).concat(e)}};function Io(t,e,n,r){if(n=n?wo(wo({},Mo),n):Mo,r=new Ei(r),t.country&&"001"!==t.country){if(!r.hasCountry(t.country))throw new Error("Unknown country: ".concat(t.country));r.country(t.country)}else{if(!t.countryCallingCode)return t.phone||"";r.selectNumberingPlan(t.countryCallingCode)}var i,o=r.countryCallingCode(),a=n.v2?t.nationalNumber:t.phone;switch(e){case"NATIONAL":return a?Do(i=Ao(a,t.carrierCode,"NATIONAL",r,n),t.ext,r,n.formatExtension):"";case"INTERNATIONAL":return a?(i=Ao(a,null,"INTERNATIONAL",r,n),Do(i="+".concat(o," ").concat(i),t.ext,r,n.formatExtension)):"+".concat(o);case"E.164":return"+".concat(o).concat(a);case"RFC3966":return function(t){var e=t.number,n=t.ext;if(!e)return"";if("+"!==e[0])throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(e).concat(n?";ext="+n:"")}({number:"+".concat(o).concat(a),ext:t.ext});case"IDD":if(!n.fromCountry)return;var s=function(t,e,n,r,i){var o=zi(r,i.metadata);if(o===n){var a=Ao(t,e,"NATIONAL",i);return"1"===n?n+" "+a:a}var s=function(t,e,n){var r=new Ei(n);return r.selectNumberingPlan(t,e),r.defaultIDDPrefix()?r.defaultIDDPrefix():vo.test(r.IDDPrefix())?r.IDDPrefix():void 0}(r,void 0,i.metadata);if(s)return"".concat(s," ").concat(n," ").concat(Ao(t,null,"INTERNATIONAL",i))}(a,t.carrierCode,o,n.fromCountry,r);return Do(s,t.ext,r,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(e,'"'))}}function Ao(t,e,n,r,i){var o=function(t,e){for(var n,r=bo(t);!(n=r()).done;){var i=n.value;if(i.leadingDigitsPatterns().length>0){var o=i.leadingDigitsPatterns()[i.leadingDigitsPatterns().length-1];if(0!==e.search(o))continue}if(lo(e,i.pattern()))return i}}(r.formats(),t);return o?mo(t,o,{useInternationalFormat:"INTERNATIONAL"===n,withNationalPrefix:!o.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!i||!1!==i.nationalPrefix,carrierCode:e,metadata:r}):t}function Do(t,e,n,r){return e?r(t,e,n):t}function To(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Co(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?To(Object(n),!0).forEach((function(e){Oo(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):To(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Oo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Po(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var ko=function(){function t(e,n,r){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw new TypeError("`country` or `countryCallingCode` not passed");if(!n)throw new TypeError("`nationalNumber` not passed");if(!r)throw new TypeError("`metadata` not passed");var i=function(t,e){var n,r,i=new Ei(e);$o(t)?(n=t,i.selectNumberingPlan(n),r=i.countryCallingCode()):r=t;return{country:n,countryCallingCode:r}}(e,r),o=i.country,a=i.countryCallingCode;this.country=o,this.countryCallingCode=a,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}}var e,n,r;return e=t,(n=[{key:"setExt",value:function(t){this.ext=t}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:go(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return function(t,e,n){if(void 0===e&&(e={}),n=new Ei(n),e.v2){if(!t.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(t.countryCallingCode)}else{if(!t.phone)return!1;if(t.country){if(!n.hasCountry(t.country))throw new Error("Unknown country: ".concat(t.country));n.country(t.country)}else{if(!t.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(t.countryCallingCode)}}if(n.possibleLengths())return so(t.phone||t.nationalNumber,n);if(t.countryCallingCode&&n.isNonGeographicCallingCode(t.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return t=this,e={v2:!0},n=this.getMetadata(),e=e||{},(n=new Ei(n)).selectNumberingPlan(t.country,t.countryCallingCode),n.hasTypes()?void 0!==fo(t,e,n.metadata):lo(e.v2?t.nationalNumber:t.phone,n.nationalNumberPattern());var t,e,n}},{key:"isNonGeographic",value:function(){return new Ei(this.getMetadata()).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(t){return this.number===t.number&&this.ext===t.ext}},{key:"getType",value:function(){return fo(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(t,e){return Io(this,t,e?Co(Co({},e),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(t){return this.format("NATIONAL",t)}},{key:"formatInternational",value:function(t){return this.format("INTERNATIONAL",t)}},{key:"getURI",value:function(t){return this.format("RFC3966",t)}}])&&Po(e.prototype,n),r&&Po(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),$o=function(t){return/^[A-Z]{2}$/.test(t)};var Eo=new RegExp("(["+fi+"])");function Lo(t,e){var n=function(t,e){if(t&&e.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+e.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(t);if(r){var i,o,a,s=r.length-1,l=s>0&&r[s];if(e.nationalPrefixTransformRule()&&l)i=t.replace(n,e.nationalPrefixTransformRule()),s>1&&(o=r[1]);else{var u=r[0];i=t.slice(u.length),l&&(o=r[1])}if(l){var c=t.indexOf(r[1]);t.slice(0,c)===e.numberingPlan.nationalPrefix()&&(a=e.numberingPlan.nationalPrefix())}else a=r[0];return{nationalNumber:i,nationalPrefix:a,carrierCode:o}}}return{nationalNumber:t}}(t,e),r=n.carrierCode,i=n.nationalNumber;if(i!==t){if(!function(t,e,n){if(lo(t,n.nationalNumberPattern())&&!lo(e,n.nationalNumberPattern()))return!1;return!0}(t,i,e))return{nationalNumber:t};if(e.possibleLengths()&&!function(t,e){switch(oo(t,e)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}(i,e))return{nationalNumber:t}}return{nationalNumber:i,carrierCode:r}}function No(t,e,n,r){if(!t)return{};var i;if("+"!==t[0]){var o=function(t,e,n,r){if(e){var i=new Ei(r);i.selectNumberingPlan(e,n);var o=new RegExp(i.IDDPrefix());if(0===t.search(o)){var a=(t=t.slice(t.match(o)[0].length)).match(Eo);if(!(a&&null!=a[1]&&a[1].length>0&&"0"===a[1]))return t}}}(t,e,n,r);if(!o||o===t){if(e||n){var a=function(t,e,n,r){var i=e?zi(e,r):n;if(0===t.indexOf(i)){(r=new Ei(r)).selectNumberingPlan(e,n);var o=t.slice(i.length),a=Lo(o,r).nationalNumber,s=Lo(t,r).nationalNumber;if(!lo(s,r.nationalNumberPattern())&&lo(a,r.nationalNumberPattern())||"TOO_LONG"===oo(s,r))return{countryCallingCode:i,number:o}}return{number:t}}(t,e,n,r),s=a.countryCallingCode,l=a.number;if(s)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:s,number:l}}return{number:t}}i=!0,t="+"+o}if("0"===t[1])return{};r=new Ei(r);for(var u=2;u-1<=hi&&u<=t.length;){var c=t.slice(1,u);if(r.hasCallingCode(c))return r.selectNumberingPlan(c),{countryCallingCodeSource:i?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:c,number:t.slice(u)};u++}return{}}function Ro(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return Fo(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fo(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Fo(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var Bo=!1;function jo(t,e){var n=e.nationalNumber,r=e.defaultCountry,i=e.metadata;if(Bo&&i.isNonGeographicCallingCode(t))return"001";var o=i.getCountryCodesForCallingCode(t);return o?1===o.length?o[0]:function(t,e){var n=e.countries,r=e.defaultCountry,i=e.metadata;i=new Ei(i);for(var o,a=[],s=Ro(n);!(o=s()).done;){var l=o.value;if(i.country(l),i.leadingDigits()){if(t&&0===t.search(i.leadingDigits()))return l}else if(fo({phone:t,country:l}
vendor: 5,024 bytes, line 7
7,void 0,i.metadata)){if(!r)return l;if(l===r)return l;a.push(l)}}if(a.length>0)return a[0]}(n,{countries:o,defaultCountry:r,metadata:i.metadata}):void 0}var zo="+",Vo="(["+fi+"]|[\\-\\.\\(\\)]?)",Ho=new RegExp("^\\"+zo+Vo+"*["+fi+"]"+Vo+"*$","g"),Wo=new RegExp("^("+("["+fi+"]+((\\-)*["+fi+"])*")+"\\.)*"+("[a-zA-Z]+((\\-)*["+fi+"])*")+"\\.?$","g"),Go="tel:",Yo=";phone-context=",Uo=";isub=";function Zo(t,e){var n,r=e.extractFormattedPhoneNumber,i=function(t){var e=t.indexOf(Yo);if(e<0)return null;var n=e+Yo.length;if(n>=t.length)return"";var r=t.indexOf(";",n);return r>=0?t.substring(n,r):t.substring(n)}(t);if(!function(t){return null===t||0!==t.length&&(Ho.test(t)||Wo.test(t))}(i))throw new Mi("NOT_A_NUMBER");if(null===i)n=r(t)||"";else{n="",i.charAt(0)===zo&&(n+=i);var o,a=t.indexOf(Go);o=a>=0?a+Go.length:0;var s=t.indexOf(Yo);n+=t.substring(o,s)}var l=n.indexOf(Uo);if(l>0&&(n=n.substring(0,l)),""!==n)return n}var Xo=250,qo=new RegExp("[+ï¼"+fi+"]"),Ko=new RegExp("[^"+fi+"#]+$"),Jo=!1;function Qo(t,e,n){if(e=e||{},n=new Ei(n),e.defaultCountry&&!n.hasCountry(e.defaultCountry)){if(e.v2)throw new Mi("INVALID_COUNTRY");throw new Error("Unknown country: ".concat(e.defaultCountry))}var r=function(t,e,n){var r=Zo(t,{extractFormattedPhoneNumber:function(t){return function(t,e,n){if(!t)return;if(t.length>Xo){if(n)throw new Mi("TOO_LONG");return}if(!1===e)return t;var r=t.search(qo);if(r<0)return;return t.slice(r).replace(Ko,"")}(t,n,e)}});if(!r)return{};if(!function(t){return t.length>=ci&&Xi.test(t)}(r))return function(t){return Ui.test(t)}(r)?{error:"TOO_SHORT"}:{};var i=function(t){var e=t.search(qi);if(e<0)return{};for(var n=t.slice(0,e),r=t.match(qi),i=1;i<r.length;){if(r[i])return{number:n,ext:r[i]};i++}}(r);if(i.ext)return i;return{number:r}}(t,e.v2,e.extract),i=r.number,o=r.ext,a=r.error;if(!i){if(e.v2){if("TOO_SHORT"===a)throw new Mi("TOO_SHORT");throw new Mi("NOT_A_NUMBER")}return{}}var s=function(t,e,n,r){var i,o=No(eo(t),e,n,r.metadata),a=o.countryCallingCodeSource,s=o.countryCallingCode,l=o.number;if(s)r.selectNumberingPlan(s);else{if(!l||!e&&!n)return{};r.selectNumberingPlan(e,n),e?i=e:Jo&&r.isNonGeographicCallingCode(n)&&(i="001"),s=n||zi(e,r.metadata)}if(!l)return{countryCallingCodeSource:a,countryCallingCode:s};var u=Lo(eo(l),r),c=u.nationalNumber,d=u.carrierCode,h=jo(s,{nationalNumber:c,defaultCountry:e,metadata:r});h&&(i=h,"001"===h||r.country(i));return{country:i,countryCallingCode:s,countryCallingCodeSource:a,nationalNumber:c,carrierCode:d}}(i,e.defaultCountry,e.defaultCallingCode,n),l=s.country,u=s.nationalNumber,c=s.countryCallingCode,d=s.countryCallingCodeSource,h=s.carrierCode;if(!n.hasSelectedNumberingPlan()){if(e.v2)throw new Mi("INVALID_COUNTRY");return{}}if(!u||u.length<ci){if(e.v2)throw new Mi("TOO_SHORT");return{}}if(u.length>di){if(e.v2)throw new Mi("TOO_LONG");return{}}if(e.v2){var f=new ko(c,u,n.metadata);return l&&(f.country=l),h&&(f.carrierCode=h),o&&(f.ext=o),f.__countryCallingCodeSource=d,f}var p=!!(e.extended?n.hasSelectedNumberingPlan():l)&&lo(u,n.nationalNumberPattern());return e.extended?{country:l,countryCallingCode:c,carrierCode:h,valid:p,possible:!!p||!(!0!==e.extended||!n.possibleLengths()||!so(u,n)),phone:u,ext:o}:p?function(t,e,n){var r={country:t,phone:e};n&&(r.ext=n);return r}(l,u,o):{}}function ta(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ea(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ta(Object(n),!0).forEach((function(e){na(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ta(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function na(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ra(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ia(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oa(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return aa(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return aa(t,e)}
vendor: 5,464 bytes, line 7
7(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function aa(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function sa(t){var e,n,r,i=oa(Array.prototype.slice.call(t),4),o=i[0],a=i[1],s=i[2],l=i[3];if("string"!=typeof o)throw new TypeError("A text for parsing must be a string.");if(e=o,a&&"string"!=typeof a){if(!Di(a))throw new Error("Invalid second argument: ".concat(a));s?(n=a,r=s):r=a}else l?(n=s,r=l):(n=void 0,r=s),a&&(n=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ra(Object(n),!0).forEach((function(e){ia(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ra(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({defaultCountry:a},n));return{text:e,options:n,metadata:r}}function la(){var t=sa(arguments);return function(t,e,n){return Qo(t,ea(ea({},e),{},{v2:!0}),n)}(t.text,t.options,t.metadata)}function ua(){return function(t,e){var n=Array.prototype.slice.call(e);return n.push(ui),t.apply(this,n)}(la,arguments)}var ca="isPhoneNumber";function da(t,e){if("string"!=typeof t||t.trim()!==t)return!1;try{var n=ua(t,e);return(!e||n.country===e)&&n.isValid()}catch(t){return!1}}function ha(t,e){return T({name:ca,constraints:[t],validator:{validate:function(t,e){return da(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must be a valid phone number"}),e)}},e)}var fa="isMilitaryTime";function pa(t){return"string"==typeof t&&oi()(t,/^([01]\d|2[0-3]):?([0-5]\d)$/)}function ga(t){return T({name:fa,validator:{validate:function(t,e){return pa(t)},defaultMessage:D((function(t){return t+"$property must be a valid representation of military time in the format HH:MM"}),t)}},t)}var ya=n(33973),ma=n.n(ya),va="isHash";function ba(t,e){return"string"==typeof t&&ma()(t,e)}function xa(t,e){return T({name:va,constraints:[t],validator:{validate:function(t,e){return ba(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must be a hash of type $constraint1"}),e)}},e)}var _a=n(60604),wa=n.n(_a),Sa="isISSN";function Ma(t,e){return"string"==typeof t&&wa()(t,e)}function Ia(t,e){return T({name:Sa,constraints:[t],validator:{validate:function(t,e){return Ma(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must be a ISSN"}),e)}},e)}var Aa="isDateString";function Da(t,e){return Fn(t,e)}function Ta(t,e){return T({name:Aa,constraints:[t],validator:{validate:function(e){return Da(e,t)},defaultMessage:D((function(t){return t+"$property must be a valid ISO 8601 date string"}),e)}},e)}var Ca=n(1697),Oa=n.n(Ca),Pa="isBooleanString";function ka(t){return"string"==typeof t&&Oa()(t)}function $a(t){return T({name:Pa,validator:{validate:function(t,e){return ka(t)},defaultMessage:D((function(t){return t+"$property must be a boolean string"}),t)}},t)}var Ea=n(21666),La=n.n(Ea),Na="isNumberString";function Ra(t,e){return"string"==typeof t&&La()(t,e)}function Fa(t,e){return T({name:Na,constraints:[t],validator:{validate:function(t,e){return Ra(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must be a number string"}),e)}},e)}var Ba=n(7673),ja=n.n(Ba),za="isBase32";function Va(t){return"string"==typeof t&&ja()(t)}function Ha(t){return T({name:za,validator:{validate:function(t,e){return Va(t)},defaultMessage:D((function(t){return t+"$property must be base32 encoded"}),t)}},t)}var Wa=n(55259),Ga=n.n(Wa),Ya="isBIC";function Ua(t){return"string"==typeof t&&Ga()(t)}function Za(t){return T({name:Ya,validator:{validate:function(t,e){return Ua(t)},defaultMessage:D((function(t){return t+"$property must be a BIC or SWIFT code"}),t)}},t)}var Xa=n(25748),qa=n.n(Xa),Ka="isBtcAddress";function Ja(t){return"string"==typeof t&&qa()(t)}function Qa(t){return T({name:Ka,validator:{validate:function(t,e){return Ja(t)},defaultMessage:D((function(t){return t+"$property must be a BTC address"}),t)}},t)}var ts=n(73583),es=n.n(ts),ns="isDataURI";function rs(t){return"string"==typeof t&&es()(t)}function is(t){return T({name:ns,validator:{validate:function(t,e){return rs(t)},defaultMessage:D((function(t){return t+"$property must be a data uri format"}),t)}},t)}var os=n(27717),as=n.n(os),ss="isEAN";function ls(t){return"string"==typeof t&&as()(t)}function us(t){return T({name:ss,validator:{validate:function(t,e){return ls(t)},defaultMessage:D((function(t){return t+"$property must be an EAN (European Article Number)"}),t)}},t)}var cs=n(60082),ds=n.n(cs),hs="isEthereumAddress";function fs(t){return"string"==typeof t&&ds()(t)}function ps(t){return T({name:hs,validator:{validate:function(t,e){return fs(t)},defaultMessage:D((function(t){return t+"$property must be an Ethereum address"}),t)}},t)}var gs=n(57086),ys=n.n(gs),ms="isHSL";function vs(t){return"string"==typeof t&&ys()(t)}function bs(t){return T({name:ms,validator:{validate:function(t,e){return vs(t)},defaultMessage:D((function(t){return t+"$property must be a HSL color"}),t)}},t)}var xs=n(23641),_s="isIBAN";function ws(t){return"string"==typeof t&&(0,xs.default)(t)}function Ss(t){return T({name:_s,validator:{validate:function(t,e){return ws(t)},defaultMessage:D((function(t){return t+"$property must be an IBA
7N"}),t)}},t)}var Ms=n(62645),Is=n.n(Ms),As="isIdentityCard";function Ds(t,e){return"string"==typeof t&&Is()(t,e)}function Ts(t,e){return T({name:As,constraints:[t],validator:{validate:function(t,e){return Ds(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must be a identity card number"}),e)}},e)}var Cs=n(31954),Os=n.n(Cs),Ps="isISRC";function ks(t){return"string"==typeof t&&Os()(t)}function $s(t){return T({name:Ps,validator:{validate:function(t,e){return ks(t)},defaultMessage:D((function(t){return t+"$property must be an ISRC"}),t)}},t)}var Es=n(7071),Ls=n.n(Es),Ns="isLocale";function Rs(t){return"string"==typeof t&&Ls()(t)}function Fs(t){return T({name:Ns,validator:{validate:function(t,e){return Rs(t)},defaultMessage:D((function(t){return t+"$property must be locale"}),t)}},t)}var Bs=n(27349),js=n.n(Bs),zs="isMagnetURI";function Vs(t){return"string"==typeof t&&js()(t)}function Hs(t){return T({name:zs,validator:{validate:function(t,e){return Vs(t)},defaultMessage:D((function(t){return t+"$property must be magnet uri format"}),t)}},t)}var Ws=n(64633),Gs=n.n(Ws),Ys="isMimeType";function Us(t){return"string"==typeof t&&Gs()(t)}function Zs(t){return T({name:Ys,validator:{validate:function(t,e){return Us(t)},defaultMessage:D((function(t){return t+"$property must be MIME type format"}),t)}},t)}var Xs=n(99546),qs=n.n(Xs),Ks="isOctal";function Js(t){return"string"==typeof t&&qs()(t)}function Qs(t){return T({name:Ks,validator:{validate:function(t,e){return Js(t)},defaultMessage:D((function(t){return t+"$property must be valid octal number"}),t)}},t)}var tl=n(93442),el=n.n(tl),nl="isPassportNumber";function rl(t,e){return"string"==typeof t&&el()(t,e)}function il(t,e){return T({name:nl,constraints:[t],validator:{validate:function(t,e){return rl(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must be valid passport number"}),e)}},e)}var ol=n(93939),al="isPostalCode";function sl(t,e){return"string"==typeof t&&(0,ol.default)(t,e)}function ll(t,e){return T({name:al,constraints:[t],validator:{validate:function(t,e){return sl(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must be a postal code"}),e)}},e)}var ul=n(61578),cl=n.n(ul),dl="isRFC3339";function hl(t){return"string"==typeof t&&cl()(t)}function fl(t){return T({name:dl,validator:{validate:function(t,e){return hl(t)},defaultMessage:D((function(t){return t+"$property must be RFC 3339 date"}),t)}},t)}var pl=n(45467),gl=n.n(pl),yl="isRgbColor";function ml(t,e){return"string"==typeof t&&gl()(t,e)}function vl(t,e){return T({name:yl,constraints:[t],validator:{validate:function(t,e){return ml(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must be RGB color"}),e)}},e)}var bl=n(99841),xl=n.n(bl),_l="isSemVer";function wl(t){return"string"==typeof t&&xl()(t)}function Sl(t){return T({name:_l,validator:{validate:function(t,e){return wl(t)},defaultMessage:D((function(t){return t+"$property must be a Semantic Versioning Specification"}),t)}},t)}var Ml=n(57761),Il="isStrongPassword";function Al(t,e){return"string"==typeof t&&Ml.isStrongPassword(t,e)}function Dl(t,e){return T({name:Il,constraints:[t],validator:{validate:function(t,e){return Al(t,e.constraints[0])},defaultMessage:D((function(t){return t+"$property is not strong enough"}),e)}},e)}var Tl="isTimeZone";function Cl(t){try{return"string"==typeof t&&(Intl.DateTimeFormat(void 0,{timeZone:t}),!0)}catch(t){return!1}}function Ol(t){return T({name:Tl,validator:{validate:function(t,e){return Cl(t)},defaultMessage:D((function(t){return t+"$property must be a valid IANA time-zone"}),t)}},t)}var Pl=n(26617),kl=n.n(Pl),$l="isBase58";function El(t){return"string"==typeof t&&kl()(t)}function Ll(t){return T({name:$l,validator:{validate:function(t,e){return El(t)},defaultMessage:D((function(t){return t+"$property must be base58 encoded"}),t)}},t)}var Nl=n(77741),Rl=n.n(Nl),Fl="isTaxId";function Bl(t,e){return"string"==typeof t&&Rl()(t,e||"en-US")}function jl(t,e){return T({name:Fl,constraints:[t],validator:{validate:function(t,e){return Bl(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must be a Tax Identification Number"}),e)}},e)}var zl=n(88342),Vl="isISO4217CurrencyCode";function Hl(t){return"string"==typeof t&&(0,zl.default)(t)}function Wl(t){return T({name:Vl,validator:{validate:function(t,e){return Hl(t)},defaultMessage:D((function(t){return t+"$property must be a valid ISO4217 currency code"}),t)}},t)}var Gl="isBoolean";function Yl(t){return t instanceof Boolean||"boolean"==typeof t}function Ul(t){return T({name:Gl,validator:{validate:function(t,e){return Yl(t)},defaultMessage:D((function(t){return t+"$property must be a boolean value"}),t)}},t)}var Zl="isDate";function Xl(t){return t instanceof Date&&!isNaN(t.getTime())}function ql(t){return T({name:Zl,validator:{validate:function(t,e){return Xl(t)},defaultMessage:D((function(t){return t+"$property must be a Date instance"}),t)}},t)}var Kl="isNumber";function Jl(t,e){if(void 0===e&&(e={}),"number"!=typeof t)return!1;if(t===1/0||t===-1/0)return!!e.allowInfinity;if(Number.isNaN(t))return!!e.allowNaN;if(void 0!==e.maxDecimalPlaces){var n=0;if(t%1!=0&&(n=t.toString().split(".")[1].length),n>e.maxDecimalPlaces)return!1}return Number.isFinite(t)}
7function Ql(t,e){return void 0===t&&(t={}),T({name:Kl,constraints:[t],validator:{validate:function(t,e){return Jl(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must be a number conforming to the specified constraints"}),e)}},e)}var tu=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},eu="isEnum";function nu(t,e){return Object.keys(e).map((function(t){return e[t]})).includes(t)}function ru(t){return Object.entries(t).filter((function(t){var e=tu(t,2),n=e[0];e[1];return isNaN(parseInt(n))})).map((function(t){var e=tu(t,2);e[0];return e[1]}))}function iu(t,e){return T({name:eu,constraints:[t,ru(t)],validator:{validate:function(t,e){return nu(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must be one of the following values: $constraint2"}),e)}},e)}var ou="isInt";function au(t){return"number"==typeof t&&Number.isInteger(t)}function su(t){return T({name:ou,validator:{validate:function(t,e){return au(t)},defaultMessage:D((function(t){return t+"$property must be an integer number"}),t)}},t)}var lu="isString";function uu(t){return t instanceof String||"string"==typeof t}function cu(t){return T({name:lu,validator:{validate:function(t,e){return uu(t)},defaultMessage:D((function(t){return t+"$property must be a string"}),t)}},t)}var du="isArray";function hu(t){return Array.isArray(t)}function fu(t){return T({name:du,validator:{validate:function(t,e){return hu(t)},defaultMessage:D((function(t){return t+"$property must be an array"}),t)}},t)}var pu="isObject";function gu(t){return null!=t&&("object"==typeof t||"function"==typeof t)&&!Array.isArray(t)}function yu(t){return T({name:pu,validator:{validate:function(t,e){return gu(t)},defaultMessage:D((function(t){return t+"$property must be an object"}),t)}},t)}var mu="arrayContains";function vu(t,e){return!!Array.isArray(t)&&e.every((function(e){return-1!==t.indexOf(e)}))}function bu(t,e){return T({name:mu,constraints:[t],validator:{validate:function(t,e){return vu(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must contain $constraint1 values"}),e)}},e)}var xu="arrayNotContains";function _u(t,e){return!!Array.isArray(t)&&e.every((function(e){return-1===t.indexOf(e)}))}function wu(t,e){return T({name:xu,constraints:[t],validator:{validate:function(t,e){return _u(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property should not contain $constraint1 values"}),e)}},e)}var Su="arrayNotEmpty";function Mu(t){return Array.isArray(t)&&t.length>0}function Iu(t){return T({name:Su,validator:{validate:function(t,e){return Mu(t)},defaultMessage:D((function(t){return t+"$property should not be empty"}),t)}},t)}var Au="arrayMinSize";function Du(t,e){return Array.isArray(t)&&t.length>=e}function Tu(t,e){return T({name:Au,constraints:[t],validator:{validate:function(t,e){return Du(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must contain at least $constraint1 elements"}),e)}},e)}var Cu="arrayMaxSize";function Ou(t,e){return Array.isArray(t)&&t.length<=e}function Pu(t,e){return T({name:Cu,constraints:[t],validator:{validate:function(t,e){return Ou(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must contain no more than $constraint1 elements"}),e)}},e)}var ku="arrayUnique";function $u(t,e){if(!Array.isArray(t))return!1;e&&(t=t.map((function(t){return null!=t?e(t):t})));var n=t.filter((function(t,e,n){return n.indexOf(t)===e}));return t.length===n.length}function Eu(t,e){var n="function"==typeof t?t:void 0,r="function"!=typeof t?t:e;return T({name:ku,validator:{validate:function(t,e){return $u(t,n)},defaultMessage:D((function(t){return t+"All $property's elements must be unique"}),r)}},r)}var Lu="isNotEmptyObject";function Nu(t,e){if(!gu(t))return!1;if(!1===(null==e?void 0:e.nullable))return!Object.values(t).every((function(t){return null==t}));for(var n in t)if(t.hasOwnProperty(n))return!0;return!1}function Ru(t,e){return T({name:Lu,constraints:[t],validator:{validate:function(t,e){return Nu(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t){return t+"$property must be a non-empty object"}),e)}},e)}var Fu="isInstance";function Bu(t,e){return e&&"function"==typeof e&&t instanceof e}function ju(t,e){return T({name:Fu,constraints:[t],validator:{validate:function(t,e){return Bu(t,null==e?void 0:e.constraints[0])},defaultMessage:D((function(t,e){return(null==e?void 0:e.constraints[0])?t+"$property must be an instance of ".concat(null==e?void 0:e.constraints[0].name):t+"".concat(Fu," decorator expects and object as value, but got falsy value.")}),e)}},e)}function zu(t,e,n){return"string"==typeof t?S(x).validate(t,e,n):S(x).validate(t,e)}function Vu(t,e,n){return"string"==typeof t?S(x).validateOrReject(t,e,n):S(x).validateOrReject(t,e)}function Hu(t,e,n){return"string"==typeof t?S(x).validateSync(t,e,n):S(x).validateSync(t,e)}function Wu(t){u().addValidationSchema(t)}},55772:function(t,e){"use strict";e.addLeadingZeros=function(t,e){const n=t<0?"-":"",r=Math.abs(t).toString().padStart(e,"0");return n+r}},43161:function(t,e,n){"use strict";Object.defineProperty(e,"defaultLocale",{enumerable:!0,get:function(){return r.enUS}});var r=n(19230)},68613:function(t,e){"use strict";e.getDefaultOptions=function(){return n},e.setDefaultOptions=function(t){n=t};let n={}},53785:function(t,e,n){"use strict";e.formatters=void 0;var r=n(7371),i=n(71276),o=n(38325),a=n(3301),s=n(99364),l=n(55772),u=n(75555);const c="midnight",d="noon",h="morning",f="afternoon",p="evening",g="night";e.formatters={G:function(t,e,n){const r=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if("yo"===e){const e=t.getFullYear(),r=e>0?e:1-e;return n.ordinalNumber(r,{unit:"year"})}return u.lightFormatters.y(t,e)},Y:function(t,e,n,r){const i=(0,s.getWeekYear)(t,r),o=i>0?i:1-i;if("YY"===e){const t=o%100;return(0,l.addLeadingZeros)(t,2)}return"Yo"===e?n.ordinalNumber(o,{unit:"year"}):(0,l.addLeadingZeros)(o,e.length)},R:function(t,e){const n=(0,o.getISOWeekYear)(t);return(0,l.addLeadingZeros)(n,e.length)},u:function(t,e){const n=t.getFullYear();return(0,l.addLeadingZeros)(n,e.length)},Q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return(0,l.addLeadingZeros)(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return(0,l.addLeadingZeros)(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){const r=t.getMonth();switch(e){case"M":case"MM":return u.lightFormatters.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){const r=t.getMonth();switch(e){case"L":return String(r+1);case"LL":return(0,l.addLeadingZeros)(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){const i=(0,a.getWeek)(t,r);return"wo"===e?n.ordinalNumber(i,{unit:"week"}):(0,l.addLeadingZeros)(i,e.length)},I:function(t,e,n){const r=(0,i.getISOWeek)(t);return"Io"===e?n.ordinalNumber(r,{unit:"week"}):(0,l.addLeadingZeros)(r,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getDate(),{unit:"date"}):u.lightFormatters.d(t,e)},D:function(t,e,n){const i=(0,r.getDayOfYear)(t);return"Do"===e?n.ordinalNumber(i,{unit:"dayOfYear"}):(0,l.addLeadingZeros)(i,e.length)},E:function(t,e,n){const r=t.getDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){const i=t.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(o);case"ee":return(0,l.addLeadingZeros)(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){const i=t.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(o);case"cc":return(0,l.addLeadingZeros)(o,e.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(t,e,n){const r=t.getDay(),i=0===r?7:r;switch(e){case"i":return String(i);case"ii":return(0,l.addLeadingZeros)(i,e.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){const r=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,e,n){const r=t.getHours();let i;switch(i=12===r?d:0===r?c:r/12>
vendor: 5,315 bytes, line 7
7=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,e,n){const r=t.getHours();let i;switch(i=r>=17?p:r>=12?f:r>=4?h:g,e){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){let e=t.getHours()%12;return 0===e&&(e=12),n.ordinalNumber(e,{unit:"hour"})}return u.lightFormatters.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getHours(),{unit:"hour"}):u.lightFormatters.H(t,e)},K:function(t,e,n){const r=t.getHours()%12;return"Ko"===e?n.ordinalNumber(r,{unit:"hour"}):(0,l.addLeadingZeros)(r,e.length)},k:function(t,e,n){let r=t.getHours();return 0===r&&(r=24),"ko"===e?n.ordinalNumber(r,{unit:"hour"}):(0,l.addLeadingZeros)(r,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):u.lightFormatters.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getSeconds(),{unit:"second"}):u.lightFormatters.s(t,e)},S:function(t,e){return u.lightFormatters.S(t,e)},X:function(t,e,n){const r=t.getTimezoneOffset();if(0===r)return"Z";switch(e){case"X":return m(r);case"XXXX":case"XX":return v(r);default:return v(r,":")}},x:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"x":return m(r);case"xxxx":case"xx":return v(r);default:return v(r,":")}},O:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+y(r,":");default:return"GMT"+v(r,":")}},z:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+y(r,":");default:return"GMT"+v(r,":")}},t:function(t,e,n){const r=Math.trunc(t.getTime()/1e3);return(0,l.addLeadingZeros)(r,e.length)},T:function(t,e,n){const r=t.getTime();return(0,l.addLeadingZeros)(r,e.length)}};function y(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),i=Math.trunc(r/60),o=r%60;return 0===o?n+String(i):n+String(i)+e+(0,l.addLeadingZeros)(o,2)}function m(t,e){if(t%60==0){return(t>0?"-":"+")+(0,l.addLeadingZeros)(Math.abs(t)/60,2)}return v(t,e)}function v(t,e=""){const n=t>0?"-":"+",r=Math.abs(t);return n+(0,l.addLeadingZeros)(Math.trunc(r/60),2)+e+(0,l.addLeadingZeros)(r%60,2)}},75555:function(t,e,n){"use strict";e.lightFormatters=void 0;var r=n(55772);e.lightFormatters={y(t,e){const n=t.getFullYear(),i=n>0?n:1-n;return(0,r.addLeadingZeros)("yy"===e?i%100:i,e.length)},M(t,e){const n=t.getMonth();return"M"===e?String(n+1):(0,r.addLeadingZeros)(n+1,2)},d(t,e){return(0,r.addLeadingZeros)(t.getDate(),e.length)},a(t,e){const n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h(t,e){return(0,r.addLeadingZeros)(t.getHours()%12||12,e.length)},H(t,e){return(0,r.addLeadingZeros)(t.getHours(),e.length)},m(t,e){return(0,r.addLeadingZeros)(t.getMinutes(),e.length)},s(t,e){return(0,r.addLeadingZeros)(t.getSeconds(),e.length)},S(t,e){const n=e.length,i=t.getMilliseconds(),o=Math.trunc(i*Math.pow(10,n-3));return(0,r.addLeadingZeros)(o,e.length)}}},91583:function(t,e){"use strict";e.longFormatters=void 0;const n=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},r=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}};e.longFormatters={p:r,P:(t,e)=>{const i=t.match(/(P+)(p+)?/)||[],o=i[1],a=i[2];if(!a)return n(t,e);let s;switch(o){case"P":s=e.dateTime({width:"short"});break;case"PP":s=e.dateTime({width:"medium"});break;case"PPP":s=e.dateTime({width:"long"});break;default:s=e.dateTime({width:"full"})}return s.replace("{{date}}",n(o,e)).replace("{{time}}",r(a,e))}}},14047:function(t,e){"use strict";e.getRoundingMethod=function(t){return e=>{const n=(t?Math[t]:Math.trunc)(e);return 0===n?0:n}}},30879:function(t,e,n){"use strict";e.getTimezoneOffsetInMilliseconds=function(t){const e=(0,r.toDate)(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+t-+n};var r=n(61576)},42906:function(t,e){"use strict";e.isProtectedDayOfYearToken=function(t){return n.test(t)},e.isProtectedWeekYearToken=function(t){return r.test(t)},e.warnOrThrowProtectedError=function(t,e,n){const r=function(t,e,n){const r="Y"===t[0]?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(t,e,n);if(console.warn(r),i.includes(t))throw new RangeError(r)};const n=/^D+$/,r=/^Y+$/,i=["D","DD","YY","YYYY"]},57266:function(t,e,n){"use strict";e.add=function(t,e){const{years:n=0,months:s=0,weeks:l=0,days:u=0,hours:c=0,minutes:d=0,seconds:h=0}
vendor: 31,149 bytes, line 7
7=e,f=(0,a.toDate)(t),p=s||n?(0,i.addMonths)(f,s+12*n):f,g=u||l?(0,r.addDays)(p,u+7*l):p,y=1e3*(h+60*(d+60*c));return(0,o.constructFrom)(t,g.getTime()+y)};var r=n(60153),i=n(53521),o=n(28900),a=n(61576)},25631:function(t,e,n){"use strict";e.addBusinessDays=function(t,e){const n=(0,s.toDate)(t),l=(0,a.isWeekend)(n);if(isNaN(e))return(0,r.constructFrom)(t,NaN);const u=n.getHours(),c=e<0?-1:1,d=Math.trunc(e/5);n.setDate(n.getDate()+7*d);let h=Math.abs(e%5);for(;h>0;)n.setDate(n.getDate()+c),(0,a.isWeekend)(n)||(h-=1);l&&(0,a.isWeekend)(n)&&0!==e&&((0,i.isSaturday)(n)&&n.setDate(n.getDate()+(c<0?2:-1)),(0,o.isSunday)(n)&&n.setDate(n.getDate()+(c<0?1:-2)));return n.setHours(u),n};var r=n(28900),i=n(7254),o=n(68634),a=n(10244),s=n(61576)},60153:function(t,e,n){"use strict";e.addDays=function(t,e){const n=(0,r.toDate)(t);if(isNaN(e))return(0,i.constructFrom)(t,NaN);if(!e)return n;return n.setDate(n.getDate()+e),n};var r=n(61576),i=n(28900)},34215:function(t,e,n){"use strict";e.addHours=function(t,e){return(0,r.addMilliseconds)(t,e*i.millisecondsInHour)};var r=n(29244),i=n(6544)},9703:function(t,e,n){"use strict";e.addISOWeekYears=function(t,e){return(0,i.setISOWeekYear)(t,(0,r.getISOWeekYear)(t)+e)};var r=n(38325),i=n(48857)},29244:function(t,e,n){"use strict";e.addMilliseconds=function(t,e){const n=+(0,r.toDate)(t);return(0,i.constructFrom)(t,n+e)};var r=n(61576),i=n(28900)},77317:function(t,e,n){"use strict";e.addMinutes=function(t,e){return(0,r.addMilliseconds)(t,e*i.millisecondsInMinute)};var r=n(29244),i=n(6544)},53521:function(t,e,n){"use strict";e.addMonths=function(t,e){const n=(0,r.toDate)(t);if(isNaN(e))return(0,i.constructFrom)(t,NaN);if(!e)return n;const o=n.getDate(),a=(0,i.constructFrom)(t,n.getTime());a.setMonth(n.getMonth()+e+1,0);const s=a.getDate();return o>=s?a:(n.setFullYear(a.getFullYear(),a.getMonth(),o),n)};var r=n(61576),i=n(28900)},32463:function(t,e,n){"use strict";e.addQuarters=function(t,e){const n=3*e;return(0,r.addMonths)(t,n)};var r=n(53521)},50105:function(t,e,n){"use strict";e.addSeconds=function(t,e){return(0,r.addMilliseconds)(t,1e3*e)};var r=n(29244)},37177:function(t,e,n){"use strict";e.addWeeks=function(t,e){const n=7*e;return(0,r.addDays)(t,n)};var r=n(60153)},14026:function(t,e,n){"use strict";e.addYears=function(t,e){return(0,r.addMonths)(t,12*e)};var r=n(53521)},58770:function(t,e,n){"use strict";e.areIntervalsOverlapping=function(t,e,n){const[i,o]=[+(0,r.toDate)(t.start),+(0,r.toDate)(t.end)].sort(((t,e)=>t-e)),[a,s]=[+(0,r.toDate)(e.start),+(0,r.toDate)(e.end)].sort(((t,e)=>t-e));return n?.inclusive?i<=s&&a<=o:i<s&&a<o};var r=n(61576)},35082:function(t,e,n){"use strict";e.clamp=function(t,e){return(0,i.min)([(0,r.max)([t,e.start]),e.end])};var r=n(23747),i=n(22641)},71549:function(t,e,n){"use strict";e.closestIndexTo=function(t,e){const n=(0,r.toDate)(t);if(isNaN(Number(n)))return NaN;const i=n.getTime();let o,a;return e.forEach((function(t,e){const n=(0,r.toDate)(t);if(isNaN(Number(n)))return o=NaN,void(a=NaN);const s=Math.abs(i-n.getTime());(null==o||s<a)&&(o=e,a=s)})),o};var r=n(61576)},32631:function(t,e,n){"use strict";e.closestTo=function(t,e){const n=(0,i.toDate)(t);if(isNaN(Number(n)))return(0,r.constructFrom)(t,NaN);const o=n.getTime();let a,s;return e.forEach((e=>{const n=(0,i.toDate)(e);if(isNaN(Number(n)))return a=(0,r.constructFrom)(t,NaN),void(s=NaN);const l=Math.abs(o-n.getTime());(null==a||l<s)&&(a=n,s=l)})),a};var r=n(28900),i=n(61576)},25297:function(t,e,n){"use strict";e.compareAsc=function(t,e){const n=(0,r.toDate)(t),i=(0,r.toDate)(e),o=n.getTime()-i.getTime();return o<0?-1:o>0?1:o};var r=n(61576)},60451:function(t,e,n){"use strict";e.compareDesc=function(t,e){const n=(0,r.toDate)(t),i=(0,r.toDate)(e),o=n.getTime()-i.getTime();return o>0?-1:o<0?1:o};var r=n(61576)},6544:function(t,e){"use strict";e.secondsInYear=e.secondsInWeek=e.secondsInQuarter=e.secondsInMonth=e.secondsInMinute=e.secondsInHour=e.secondsInDay=e.quartersInYear=e.monthsInYear=e.monthsInQuarter=e.minutesInYear=e.minutesInMonth=e.minutesInHour=e.minutesInDay=e.minTime=e.millisecondsInWeek=e.millisecondsInSecond=e.millisecondsInMinute=e.millisecondsInHour=e.millisecondsInDay=e.maxTime=e.daysInYear=e.daysInWeek=void 0;e.daysInWeek=7;const n=e.daysInYear=365.2425,r=e.maxTime=24*Math.pow(10,8)*60*60*1e3,i=(e.minTime=-r,e.millisecondsInWeek=6048e5,e.millisecondsInDay=864e5,e.millisecondsInMinute=6e4,e.millisecondsInHour=36e5,e.millisecondsInSecond=1e3,e.minutesInYear=525600,e.minutesInMonth=43200,e.minutesInDay=1440,e.minutesInHour=60,e.monthsInQuarter=3,e.monthsInYear=12,e.quartersInYear=4,e.secondsInHour=3600),o=(e.secondsInMinute=60,e.secondsInDay=24*i),a=(e.secondsInWeek=7*o,e.secondsInYear=o*n),s=e.secondsInMonth=a/12;e.secondsInQuarter=3*s},28900:function(t,e){"use strict";e.constructFrom=function(t,e){return t instanceof Date?new t.constructor(e):new Date(e)}},14942:function(t,e,n){"use strict";e.constructNow=function(t){return(0,r.constructFrom)(t,Date.now())};var r=n(28900)},31382:function(t,e,n){"use strict";e.daysToWeeks=function(t){const e=t/r.daysInWeek,n=Math.trunc(e);return 0===n?0:n};var r=n(6544)},8136:function(t,e,n){"use strict";e.differenceInBusinessDays=function(t,e){const n=(0,l.toDate)(t);let u=(0,l.toDate)(e);if(!(0,a.isValid)(n)||!(0,a.isValid)(u))return NaN;const c=(0,i.differenceInCalendarDays)(n,u),d=c<0?-1:1,h=Math.trunc(c/7);let f=5*h;u=(0,r.addDays)(u,7*h);for(;!(0,o.isSameDay)(n,u);)f+=(0,s.isWeekend)(u)?0:d,u=(0,r.addDays)(u,d);return 0===f?0:f};var r=n(60153),i=n(34748),o=n(51189),a=n(86559),s=n(10244),l=n(61576)},34748:function(t,e,n){"use strict";e.differenceInCalendarDays=function(t,e){const n=(0,i.startOfDay)(t),a=(0,i.startOfDay)(e),s=+n-(0,o.getTimezoneOffsetInMilliseconds)(n),l=+a-(0,o.getTimezoneOffsetInMilliseconds)(a);return Math.round((s-l)/r.millisecondsInDay)};var r=n(6544),i=n(86436),o=n(30879)},96642:function(t,e,n){"use strict";e.differenceInCalendarISOWeekYears=function(t,e){return(0,r.getISOWeekYear)(t)-(0,r.getISOWeekYear)(e)};var r=n(38325)},27417:function(t,e,n){"use strict";e.differenceInCalendarISOWeeks=function(t,e){const n=(0,i.startOfISOWeek)(t),a=(0,i.startOfISOWeek)(e),s=+n-(0,o.getTimezoneOffsetInMilliseconds)(n),l=+a-(0,o.getTimezoneOffsetInMilliseconds)(a);return Math.round((s-l)/r.millisecondsInWeek)};var r=n(6544),i=n(47147),o=n(30879)},28496:function(t,e,n){"use strict";e.differenceInCalendarMonths=function(t,e){const n=(0,r.toDate)(t),i=(0,r.toDate)(e),o=n.getFullYear()-i.getFullYear(),a=n.getMonth()-i.getMonth();return 12*o+a};var r=n(61576)},17426:function(t,e,n){"use strict";e.differenceInCalendarQuarters=function(t,e){const n=(0,i.toDate)(t),o=(0,i.toDate)(e),a=n.getFullYear()-o.getFullYear(),s=(0,r.getQuarter)(n)-(0,r.getQuarter)(o);return 4*a+s};var r=n(3873),i=n(61576)},64698:function(t,e,n){"use strict";e.differenceInCalendarWeeks=function(t,e,n){const a=(0,i.startOfWeek)(t,n),s=(0,i.startOfWeek)(e,n),l=+a-(0,o.getTimezoneOffsetInMilliseconds)(a),u=+s-(0,o.getTimezoneOffsetInMilliseconds)(s);return Math.round((l-u)/r.millisecondsInWeek)};var r=n(6544),i=n(23480),o=n(30879)},76549:function(t,e,n){"use strict";e.differenceInCalendarYears=function(t,e){const n=(0,r.toDate)(t),i=(0,r.toDate)(e);return n.getFullYear()-i.getFullYear()};var r=n(61576)},68314:function(t,e,n){"use strict";e.differenceInDays=function(t,e){const n=(0,i.toDate)(t),a=(0,i.toDate)(e),s=o(n,a),l=Math.abs((0,r.differenceInCalendarDays)(n,a));n.setDate(n.getDate()-s*l);const u=Number(o(n,a)===-s),c=s*(l-u);return 0===c?0:c};var r=n(34748),i=n(61576);function o(t,e){const n=t.getFullYear()-e.getFullYear()||t.getMonth()-e.getMonth()||t.getDate()-e.getDate()||t.getHours()-e.getHours()||t.getMinutes()-e.getMinutes()||t.getSeconds()-e.getSeconds()||t.getMilliseconds()-e.getMilliseconds();return n<0?-1:n>0?1:n}},33418:function(t,e,n){"use strict";e.differenceInHours=function(t,e,n){const a=(0,o.differenceInMilliseconds)(t,e)/i.millisecondsInHour;return(0,r.getRoundingMethod)(n?.roundingMethod)(a)};var r=n(14047),i=n(6544),o=n(34275)},22604:function(t,e,n){"use strict";e.differenceInISOWeekYears=function(t,e){let n=(0,a.toDate)(t);const s=(0,a.toDate)(e),l=(0,r.compareAsc)(n,s),u=Math.abs((0,i.differenceInCalendarISOWeekYears)(n,s));n=(0,o.subISOWeekYears)(n,l*u);const c=Number((0,r.compareAsc)(n,s)===-l),d=l*(u-c);return 0===d?0:d};var r=n(25297),i=n(96642),o=n(21542),a=n(61576)},34275:function(t,e,n){"use strict";e.differenceInMilliseconds=function(t,e){return+(0,r.toDate)(t)-+(0,r.toDate)(e)};var r=n(61576)},27980:function(t,e,n){"use strict";e.differenceInMinutes=function(t,e,n){const a=(0,o.differenceInMilliseconds)(t,e)/i.millisecondsInMinute;return(0,r.getRoundingMethod)(n?.roundingMethod)(a)};var r=n(14047),i=n(6544),o=n(34275)},39926:function(t,e,n){"use strict";e.differenceInMonths=function(t,e){const n=(0,a.toDate)(t),s=(0,a.toDate)(e),l=(0,r.compareAsc)(n,s),u=Math.abs((0,i.differenceInCalendarMonths)(n,s));let c;if(u<1)c=0;else{1===n.getMonth()&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-l*u);let e=(0,r.compareAsc)(n,s)===-l;(0,o.isLastDayOfMonth)((0,a.toDate)(t))&&1===u&&1===(0,r.compareAsc)(t,s)&&(e=!1),c=l*(u-Number(e))}return 0===c?0:c};var r=n(25297),i=n(28496),o=n(24362),a=n(61576)},17952:function(t,e,n){"use strict";e.differenceInQuarters=function(t,e,n){const o=(0,i.differenceInMonths)(t,e)/3;return(0,r.getRoundingMethod)(n?.roundingMethod)(o)};var r=n(14047),i=n(39926)},24796:function(t,e,n){"use strict";e.differenceInSeconds=function(t,e,n){const o=(0,i.differenceInMilliseconds)(t,e)/1e3;return(0,r.getRoundingMethod)(n?.roundingMethod)(o)};var r=n(14047),i=n(34275)},19236:function(t,e,n){"use strict";e.differenceInWeeks=function(t,e,n){const o=(0,i.differenceInDays)(t,e)/7;return(0,r.getRoundingMethod)(n?.roundingMethod)(o)};var r=n(14047),i=n(68314)},84571:function(t,e,n){"use strict";e.differenceInYears=function(t,e){const n=(0,o.toDate)(t),a=(0,o.toDate)(e),s=(0,r.compareAsc)(n,a),l=Math.abs((0,i.differenceInCalendarYears)(n,a));n.setFullYear(1584),a.setFullYear(1584);const u=(0,r.compareAsc)(n,a)===-s,c=s*(l-+u);return 0===c?0:c};var r=n(25297),i=n(76549),o=n(61576)},39464:function(t,e,n){"use strict";e.eachDayOfInterval=function(t,e){const n=(0,r.toDate)(t.start),i=(0,r.toDate)(t.end);let o=+n>+i;const a=o?+n:+i,s=o?i:n;s.setHours(0,0,0,0);let l=e?.step??1;if(!l)return[];l<0&&(l=-l,o=!o);const u=[];for(;+s<=a;)u.push((0,r.toDate)(s)),s.setDate(s.getDate()+l),s.setHours(0,0,0,0);return o?u.reverse():u};var r=n(61576)},7478:function(t,e,n){"use strict";e.eachHourOfInterval=function(t,e){const n=(0,i.toDate)(t.start),o=(0,i.toDate)(t.end);let a=+n>+o;const s=a?+n:+o;let l=a?o:n;l.setMinutes(0,0,0);let u=e?.step??1;if(!u)return[];u<0&&(u=-u,a=!a);const c=[];for(;+l<=s;)c.push((0,i.toDate)(l)),l=(0,r.addHours)(l,u);return a?c.reverse():c};var r=n(34215),i=n(61576)},29156:function(t,e,n){"use strict";e.eachMinuteOfInterval=function(t,e){const n=(0,i.startOfMinute)((0,o.toDate)(t.start)),a=(0,o.toDate)(t.end);let s=+n>+a;const l=s?+n:+a;let u=s?a:n,c=e?.step??1;if(!c)return[];c<0&&(c=-c,s=!s);const d=[];for(;+u<=l;)d.push((0,o.toDate)(u)),u=(0,r.addMinutes)(u,c);return s?d.reverse():d};var r=n(77317),i=n(8400),o=n(61576)},18896:function(t,e,n){"use strict";e.eachMonthOfInterval=function(t,e){const n=(0,r.toDate)(t.start),i=(0,r.toDate)(t.end);let o=+n>+i;const a=o?+n:+i,s=o?i:n;s.setHours(0,0,0,0),s.setDate(1);let l=e?.step??1;if(!l)return[];l<0&&(l=-l,o=!o);const u=[];for(;+s<=a;)u.push((0,r.toDate)(s)),s.setMonth(s.getMonth()+l);return o?u.reverse():u};var r=n(61576)},13730:function(t,e,n){"use strict";e.eachQuarterOfInterval=function(t,e){const n=(0,o.toDate)(t.start),a=(0,o.toDate)(t.end);let s=+n>+a;const l=s?+(0,i.startOfQuarter)(n):+(0,i.startOfQuarter)(a);let u=s?(0,i.startOfQuarter)(a):(0,i.startOfQuarter)(n),c=e?.step??1;if(!c)return[];c<0&&(c=-c,s=!s);const d=[];for(;+u<=l;)d.push((0,o.toDate)(u)),u=(0,r.addQuarters)(u,c);return s?d.reverse():d};var r=n(32463),i=n(2682),o=n(61576)},8204:function(t,e,n){"use strict";e.eachWeekOfInterval=function(t,e){const n=(0,o.toDate)(t.start),a=(0,o.toDate)(t.end);let s=+n>+a;const l=s?(0,i.startOfWeek)(a,e):(0,i.startOfWeek)(n,e),u=s?(0,i.startOfWeek)(n,e):(0,i.startOfWeek)(a,e);l.setHours(15),u.setHours(15);const c=+u.getTime();let d=l,h=e?.step??1;if(!h)return[];h<0&&(h=-h,s=!s);const f=[];for(;+d<=c;)d.setHours(0),f.push((0,o.toDate)(d)),d=(0,r.addWeeks)(d,h),d.setHours(15);return s?f.reverse():f};var r=n(37177),i=n(23480),o=n(61576)},49639:function(t,e,n){"use strict";e.eachWeekendOfInterval=function(t){const e=(0,r.eachDayOfInterval)(t),n=[];let o=0;for(;o<e.length;){const t=e[o++];(0,i.isWeekend)(t)&&n.push(t)}return n};var r=n(39464),i=n(10244)},26217:function(t,e,n){"use strict";e.eachWeekendOfMonth=function(t){const e=(0,o.startOfMonth)(t),n=(0,i.endOfMonth)(t);return(0,r.eachWeekendOfInterval)({start:e,end:n})};var r=n(49639),i=n(72923),o=n(47876)},92819:function(t,e,n){"use strict";e.eachWeekendOfYear=function(t){const e=(0,o.startOfYear)(t),n=(0,i.endOfYear)(t);return(0,r.eachWeekendOfInterval)({start:e,end:n})};var r=n(49639),i=n(6396),o=n(92561)},28053:function(t,e,n){"use strict";e.eachYearOfInterval=function(t,e){const n=(0,r.toDate)(t.start),i=(0,r.toDate)(t.end);let o=+n>+i;const a=o?+n:+i,s=o?i:n;s.setHours(0,0,0,0),s.setMonth(0,1);let l=e?.step??1;if(!l)return[];l<0&&(l=-l,o=!o);const u=[];for(;+s<=a;)u.push((0,r.toDate)(s)),s.setFullYear(s.getFullYear()+l);return o?u.reverse():u};var r=n(61576)},52055:function(t,e,n){"use strict";e.endOfDay=function(t){const e=(0,r.toDate)(t);return e.setHours(23,59,59,999),e};var r=n(61576)},48025:function(t,e,n){"use strict";e.endOfDecade=function(t){const e=(0,r.toDate)(t),n=e.getFullYear(),i=9+10*Math.floor(n/10);return e.setFullYear(i,11,31),e.setHours(23,59,59,999),e};var r=n(61576)},32167:function(t,e,n){"use strict";e.endOfHour=function(t){const e=(0,r.toDate)(t);return e.setMinutes(59,59,999),e};var r=n(61576)},31472:function(t,e,n){"use strict";e.endOfISOWeek=function(t){return(0,r.endOfWeek)(t,{weekStartsOn:1})};var r=n(10745)},42065:function(t,e,n){"use strict";e.endOfISOWeekYear=function(t){const e=(0,r.getISOWeekYear)(t),n=(0,o.constructFrom)(t,0);n.setFullYear(e+1,0,4),n.setHours(0,0,0,0);const a=(0,i.startOfISOWeek)(n);return a.setMilliseconds(a.getMilliseconds()-1),a};var r=n(38325),i=n(47147),o=n(28900)},72401:function(t,e,n){"use strict";e.endOfMinute=function(t){const e=(0,r.toDate)(t);return e.setSeconds(59,999),e};var r=n(61576)},72923:function(t,e,n){"use strict";e.endOfMonth=function(t){const e=(0,r.toDate)(t),n=e.getMonth();return e.setFullYear(e.getFullYear(),n+1,0),e.setHours(23,59,59,999),e};var r=n(61576)},125:function(t,e,n){"use strict";e.endOfQuarter=function(t){const e=(0,r.toDate)(t),n=e.getMonth(),i=n-n%3+3;return e.setMonth(i,0),e.setHours(23,59,59,999),e};var r=n(61576)},92177:function(t,e,n){"use strict";e.endOfSecond=function(t){const e=(0,r.toDate)(t);return e.setMilliseconds(999),e};var r=n(61576)},22976:function(t,e,n){"use strict";e.endOfToday=function(){return(0,r.endOfDay)(Date.now())};var r=n(52055)},618:function(t,e){"use strict";e.endOfTomorrow=function(){const t=new Date,e=t.getFullYear(),n=t.getMonth(),r=t.getDate(),i=new Date(0);return i.setFullYear(e,n,r+1),i.setHours(23,59,59,999),i}},10745:function(t,e,n){"use strict";e.endOfWeek=function(t,e){const n=(0,i.getDefaultOptions)(),o=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=(0,r.toDate)(t),s=a.getDay(),l=6+(s<o?-7:0)-(s-o);return a.setDate(a.getDate()+l),a.setHours(23,59,59,999),a};var r=n(61576),i=n(68613)},6396:function(t,e,n){"use strict";e.endOfYear=function(t){const e=(0,r.toDate)(t),n=e.getFullYear();return e.setFullYear(n+1,0,0),e.setHours(23,59,59,999),e};var r=n(61576)},83861:function(t,e){"use strict";e.endOfYesterday=function(){const t=new Date,e=t.getFullYear(),n=t.getMonth(),r=t.getDate(),i=new Date(0);return i.setFullYear(e,n,r-1),i.setHours(23,59,59,999),i}},32242:function(t,e,n){"use strict";e.format=e.formatDate=function(t,e,n){const h=(0,i.getDefaultOptions)(),f=n?.locale??h.locale??r.defaultLocale,y=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??h.firstWeekContainsDate??h.locale?.options?.firstWeekContainsDate??1,m=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??h.weekStartsOn??h.locale?.options?.weekStartsOn??0,v=(0,u.toDate)(t);if(!(0,l.isValid)(v))throw new RangeError("Invalid time value");let b=e.match(d).map((t=>{const e=t[0];if("p"===e||"P"===e){return(0,a.longFormatters[e])(t,f.formatLong)}return t})).join("").match(c).map((t=>{if("''"===t)return{isToken:!1,value:"'"};const e=t[0];if("'"===e)return{isToken:!1,value:g(t)};if(o.formatters[e])return{isToken:!0,value:t};if(e.match(p))throw new RangeError("Format string contains an unescaped latin alphabet character `"+e+"`");return{isToken:!1,value:t}}));f.localize.preprocessor&&(b=f.localize.preprocessor(v,b));const x={firstWeekContainsDate:y,weekStartsOn:m,locale:f};return b.map((r=>{if(!r.isToken)return r.value;const i=r.value;(!n?.useAdditionalWeekYearTokens&&(0,s.isProtectedWeekYearToken)(i)||!n?.useAdditionalDayOfYearTokens&&(0,s.isProtectedDayOfYearToken)(i))&&(0,s.warnOrThrowProtectedError)(i,e,String(t));return(0,o.formatters[i[0]])(v,i,f.localize,x)})).join("")},Object.defineProperty(e,"formatters",{enumerable:!0,get:function(){return o.formatters}}),Object.defineProperty(e,"longFormatters",{enumerable:!0,get:function(){return a.longFormatters}});var r=n(43161),i=n(68613),o=n(53785),a=n(91583),s=n(42906),l=n(86559),u=n(61576);const c=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,d=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,h=/^'([^]*?)'?$/,f=/''/g,p=/[a-zA-Z]/;function g(t){const e=t.match(h);return e?e[1].replace(f,"'"):t}},93297:function(t,e,n){"use strict";e.formatDistance=function(t,e,n){const d=(0,u.getDefaultOptions)(),h=n?.locale??d.locale??l.defaultLocale,f=(0,r.compareAsc)(t,e);if(isNaN(f))throw new RangeError("Invalid time value");const p=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:f});let g,y;f>0?(g=(0,s.toDate)(e),y=(0,s.toDate)(t)):(g=(0,s.toDate)(t),y=(0,s.toDate)(e));const m=(0,a.differenceInSeconds)(y,g),v=((0,c.getTimezoneOffsetInMilliseconds)(y)-(0,c.getTimezoneOffsetInMilliseconds)(g))/1e3,b=Math.round((m-v)/60);let x;if(b<2)return n?.includeSeconds?m<5?h.formatDistance("lessThanXSeconds",5,p):m<10?h.formatDistance("lessThanXSeconds",10,p):m<20?h.formatDistance("lessThanXSeconds",20,p):m<40?h.formatDistance("halfAMinute",0,p):m<60?h.formatDistance("lessThanXMinutes",1,p):h.formatDistance("xMinutes",1,p):0===b?h.formatDistance("lessThanXMinutes",1,p):h.formatDistance("xMinutes",b,p);if(b<45)return h.formatDistance("xMinutes",b,p);if(b<90)return h.formatDistance("aboutXHours",1,p);if(b<i.minutesInDay){const t=Math.round(b/60);return h.formatDistance("aboutXHours",t,p)}if(b<2520)return h.formatDistance("xDays",1,p);if(b<i.minutesInMonth){const t=Math.round(b/i.minutesInDay);return h.formatDistance("xDays",t,p)}if(b<2*i.minutesInMonth)return x=Math.round(b/i.minutesInMonth),h.formatDistance("aboutXMonths",x,p);if(x=(0,o.differenceInMonths)(y,g),x<12){const t=Math.round(b/i.minutesInMonth);return h.formatDistance("xMonths",t,p)}{const t=x%12,e=Math.trunc(x/12);return t<3?h.formatDistance("aboutXYears",e,p):t<9?h.formatDistance("overXYears",e,p):h.formatDistance("almostXYears",e+1,p)}};var r=n(25297),i=n(6544),o=n(39926),a=n(24796),s=n(61576),l=n(43161),u=n(68613),c=n(30879)},66660:function(t,e,n){"use strict";e.formatDistanceStrict=function(t,e,n){const c=(0,i.getDefaultOptions)(),d=n?.locale??c.locale??r.defaultLocale,h=(0,s.compareAsc)(t,e);if(isNaN(h))throw new RangeError("Invalid time value");const f=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:h});let p,g;h>0?(p=(0,u.toDate)(e),g=(0,u.toDate)(t)):(p=(0,u.toDate)(t),g=(0,u.toDate)(e));const y=(0,o.getRoundingMethod)(n?.roundingMethod??"round"),m=g.getTime()-p.getTime(),v=m/l.millisecondsInMinute,b=(0,a.getTimezoneOffsetInMilliseconds)(g)-(0,a.getTimezoneOffsetInMilliseconds)(p),x=(m-b)/l.millisecondsInMinute,_=n?.unit;let w;w=_||(v<1?"second":v<60?"minute":v<l.minutesInDay?"hour":x<l.minutesInMonth?"day":x<l.minutesInYear?"month":"year");if("second"===w){const t=y(m/1e3);return d.formatDistance("xSeconds",t,f)}if("minute"===w){const t=y(v);return d.formatDistance("xMinutes",t,f)}if("hour"===w){const t=y(v/60);return d.formatDistance("xHours",t,f)}if("day"===w){const t=y(x/l.minutesInDay);return d.formatDistance("xDays",t,f)}if("month"===w){const t=y(x/l.minutesInMonth);return 12===t&&"month"!==_?d.formatDistance("xYears",1,f):d.formatDistance("xMonths",t,f)}{const t=y(x/l.minutesInYear);return d.formatDistance("xYears",t,f)}};var r=n(43161),i=n(68613),o=n(14047),a=n(30879),s=n(25297),l=n(6544),u=n(61576)},76214:function(t,e,n){"use strict";e.formatDistanceToNow=function(t,e){return(0,i.formatDistance)(t,(0,r.constructNow)(t),e)};var r=n(14942),i=n(93297)},29691:function(t,e,n){"use strict";e.formatDistanceToNowStrict=function(t,e){return(0,r.formatDistanceStrict)(t,(0,i.constructNow)(t),e)};var r=n(66660),i=n(14942)},35514:function(t,e,n){"use strict";e.formatDuration=function(t,e){const n=(0,i.getDefaultOptions)(),a=e?.locale??n.locale??r.defaultLocale,s=e?.format??o,l=e?.zero??!1,u=e?.delimiter??" ";if(!a.formatDistance)return"";return s.reduce(((e,n)=>{const r=`x${n.replace(/(^.)/,(t=>t.toUpperCase()))}`,i=t[n];return void 0!==i&&(l||t[n])?e.concat(a.formatDistance(r,i)):e}),[]).join(u)};var r=n(43161),i=n(68613);const o=["years","months","weeks","days","hours","minutes","seconds"]},90725:function(t,e,n){"use strict";e.formatISO=function(t,e){const n=(0,r.toDate)(t);if(isNaN(n.getTime()))throw new RangeError("Invalid time value");const o=e?.format??"extended",a=e?.representation??"complete";let s="",l="";const u="extended"===o?"-":"",c="extended"===o?":":"";if("time"!==a){const t=(0,i.addLeadingZeros)(n.getDate(),2),e=(0,i.addLeadingZeros)(n.getMonth()+1,2);s=`${(0,i.addLeadingZeros)(n.getFullYear(),4)}${u}${e}${u}${t}`}if("date"!==a){const t=n.getTimezoneOffset();if(0!==t){const e=Math.abs(t);l=`${t<0?"+":"-"}${(0,i.addLeadingZeros)(Math.trunc(e/60),2)}:${(0,i.addLeadingZeros)(e%60,2)}`}else l="Z";s=`${s}${""===s?"":"T"}${[(0,i.addLeadingZeros)(n.getHours(),2),(0,i.addLeadingZeros)(n.getMinutes(),2),(0,i.addLeadingZeros)(n.getSeconds(),2)].join(c)}${l}`}return s};var r=n(61576),i=n(55772)},57568:function(t,e,n){"use strict";e.formatISO9075=function(t,e){const n=(0,i.toDate)(t);if(!(0,r.isValid)(n))throw new RangeError("Invalid time value");const a=e?.format??"extended",s=e?.representation??"complete";let l="";const u="extended"===a?"-":"",c="extended"===a?":":"";if("time"!==s){const t=(0,o.addLeadingZeros)(n.getDate(),2),e=(0,o.addLeadingZeros)(n.getMonth()+1,2);l=`${(0,o.addLeadingZeros)(n.getFullYear(),4)}${u}${e}${u}${t}`}if("date"!==s){l=`${l}${""===l?"":" "}${(0,o.addLeadingZeros)(n.getHours(),2)}${c}${(0,o.addLeadingZeros)(n.getMinutes(),2)}${c}${(0,o.addLeadingZeros)(n.getSeconds(),2)}`}return l};var r=n(86559),i=n(61576),o=n(55772)},95985:function(t,e){"use strict";e.formatISODuration=function(t){const{years:e=0,months:n=0,days:r=0,hours:i=0,minutes:o=0,seconds:a=0}=t;return`P${e}Y${n}M${r}DT${i}H${o}M${a}S`}},86319:function(t,e,n){"use strict";e.formatRFC3339=function(t,e){const n=(0,i.toDate)(t);if(!(0,r.isValid)(n))throw new RangeError("Invalid time value");const a=e?.fractionDigits??0,s=(0,o.addLeadingZeros)(n.getDate(),2),l=(0,o.addLeadingZeros)(n.getMonth()+1,2),u=n.getFullYear(),c=(0,o.addLeadingZeros)(n.getHours(),2),d=(0,o.addLeadingZeros)(n.getMinutes(),2),h=(0,o.addLeadingZeros)(n.getSeconds(),2);let f="";if(a>0){const t=n.getMilliseconds(),e=Math.trunc(t*Math.pow(10,a-3));f="."+(0,o.addLeadingZeros)(e,a)}let p="";const g=n.getTimezoneOffset();if(0!==g){const t=Math.abs(g);p=`${g<0?"+":"-"}${(0,o.addLeadingZeros)(Math.trunc(t/60),2)}:${(0,o.addLeadingZeros)(t%60,2)}`}else p="Z";return`${u}-${l}-${s}T${c}:${d}:${h}${f}${p}`};var r=n(86559),i=n(61576),o=n(55772)},30828:function(t,e,n){"use strict";e.formatRFC7231=function(t){const e=(0,i.toDate)(t);if(!(0,r.isValid)(e))throw new RangeError("Invalid time value");const n=a[e.getUTCDay()],l=(0,o.addLeadingZeros)(e.getUTCDate(),2),u=s[e.getUTCMonth()],c=e.getUTCFullYear(),d=(0,o.addLeadingZeros)(e.getUTCHours(),2),h=(0,o.addLeadingZeros)(e.getUTCMinutes(),2),f=(0,o.addLeadingZeros)(e.getUTCSeconds(),2);return`${n}, ${l} ${u} ${c} ${d}:${h}:${f} GMT`};var r=n(86559),i=n(61576),o=n(55772);const a=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],s=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},1162:function(t,e,n){"use strict";e.formatRelative=function(t,e,n){const l=(0,o.toDate)(t),u=(0,o.toDate)(e),c=(0,s.getDefaultOptions)(),d=n?.locale??c.locale??a.defaultLocale,h=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??c.weekStartsOn??c.locale?.options?.weekStartsOn??0,f=(0,r.differenceInCalendarDays)(l,u);if(isNaN(f))throw new RangeError("Invalid time value");let p;p=f<-6?"other":f<-1?"lastWeek":f<0?"yesterday":f<1?"today":f<2?"tomorrow":f<7?"nextWeek":"other";const g=d.formatRelative(p,l,u,{locale:d,weekStartsOn:h});return(0,i.format)(l,g,{locale:d,weekStartsOn:h})};var r=n(34748),i=n(32242),o=n(61576),a=n(43161),s=n(68613)},86670:function(t,e,n){"use strict";e.fromUnixTime=function(t){return(0,r.toDate)(1e3*t)};var r=n(61576)},52653:function(t,e,n){"use strict";e.getDate=function(t){const e=(0,r.toDate)(t);return e.getDate()};var r=n(61576)},72219:function(t,e,n){"use strict";e.getDay=function(t){const e=(0,r.toDate)(t);return e.getDay()};var r=n(61576)},7371:function(t,e,n){"use strict";e.getDayOfYear=function(t){const e=(0,o.toDate)(t),n=(0,r.differenceInCalendarDays)(e,(0,i.startOfYear)(e));return n+1};var r=n(34748),i=n(92561),o=n(61576)},45343:function(t,e,n){"use strict";e.getDaysInMonth=function(t){const e=(0,r.toDate)(t),n=e.getFullYear(),o=e.getMonth(),a=(0,i.constructFrom)(t,0);return a.setFullYear(n,o+1,0),a.setHours(0,0,0,0),a.getDate()};var r=n(61576),i=n(28900)},61664:function(t,e,n){"use strict";e.getDaysInYear=function(t){const e=(0,i.toDate)(t);if("Invalid Date"===String(new Date(e)))return NaN;return(0,r.isLeapYear)(e)?366:365};var r=n(96210),i=n(61576)},79853:function(t,e,n){"use strict";e.getDecade=function(t){const e=(0,r.toDate)(t).getFullYear();return 10*Math.floor(e/10)};var r=n(61576)},34396:function(t,e,n){"use strict";e.getDefaultOptions=function(){return Object.assign({},(0,r.getDefaultOptions)())};var r=n(68613)},7886:function(t,e,n){"use strict";e.getHours=function(t){const e=(0,r.toDate)(t);return e.getHours()};var r=n(61576)},52816:function(t,e,n){"use strict";e.getISODay=function(t){let e=(0,r.toDate)(t).getDay();0===e&&(e=7);return e};var r=n(61576)},71276:function(t,e,n){"use strict";e.getISOWeek=function(t){const e=(0,a.toDate)(t),n=+(0,i.startOfISOWeek)(e)-+(0,o.startOfISOWeekYear)(e);return Math.round(n/r.millisecondsInWeek)+1};var r=n(6544),i=n(47147),o=n(34910),a=n(61576)},38325:function(t,e,n){"use strict";e.getISOWeekYear=function(t){const e=(0,o.toDate)(t),n=e.getFullYear(),a=(0,r.constructFrom)(t,0);a.setFullYear(n+1,0,4),a.setHours(0,0,0,0);const s=(0,i.startOfISOWeek)(a),l=(0,r.constructFrom)(t,0);l.setFullYear(n,0,4),l.setHours(0,0,0,0);const u=(0,i.startOfISOWeek)(l);return e.getTime()>=s.getTime()?n+1:e.getTime()>=u.getTime()?n:n-1};var r=n(28900),i=n(47147),o=n(61576)},62929:function(t,e,n){"use strict";e.getISOWeeksInYear=function(t){const e=(0,o.startOfISOWeekYear)(t),n=+(0,o.startOfISOWeekYear)((0,r.addWeeks)(e,60))-+e;return Math.round(n/i.millisecondsInWeek)};var r=n(37177),i=n(6544),o=n(34910)},83895:function(t,e,n){"use strict";e.getMilliseconds=function(t){const e=(0,r.toDate)(t);return e.getMilliseconds()};var r=n(61576)},57912:function(t,e,n){"use strict";e.getMinutes=function(t){const e=(0,r.toDate)(t);return e.getMinutes()};var r=n(61576)},39159:function(t,e,n){"use strict";e.getMonth=function(t){const e=(0,r.toDate)(t);return e.getMonth()};var r=n(61576)},79514:function(t,e,n){"use strict";e.getOverlappingDaysInIntervals=function(t,e){const[n,a]=[+(0,o.toDate)(t.start),+(0,o.toDate)(t.end)].sort(((t,e)=>t-e)),[s,l]=[+(0,o.toDate)(e.start),+(0,o.toDate)(e.end)].sort(((t,e)=>t-e));if(!(n<l&&s<a))return 0;const u=s<n?n:s,c=u-(0,r.getTimezoneOffsetInMilliseconds)(u),d=l>a?a:l,h=d-(0,r.getTimezoneOffsetInMilliseconds)(d);return Math.ceil((h-c)/i.millisecondsInDay)};var r=n(30879),i=n(6544),o=n(61576)},3873:function(t,e,n){"use strict";e.getQuarter=function(t){const e=(0,r.toDate)(t);return Math.trunc(e.getMonth()/3)+1};var r=n(61576)},33632:function(t,e,n){"use strict";e.getSeconds=function(t){const e=(0,r.toDate)(t);return e.getSeconds()};var r=n(61576)},11412:function(t,e,n){"use strict";e.getTime=function(t){const e=(0,r.toDate)(t);return e.getTime()};var r=n(61576)},11982:function(t,e,n){"use strict";e.getUnixTime=function(t){return Math.trunc(+(0,r.toDate)(t)/1e3)};var r=n(61576)},3301:function(t,e,n){"use strict";e.getWeek=function(t,e){const n=(0,a.toDate)(t),s=+(0,i.startOfWeek)(n,e)-+(0,o.startOfWeekYear)(n,e);return Math.round(s/r.millisecondsInWeek)+1};var r=n(6544),i=n(23480),o=n(61225),a=n(61576)},53372:function(t,e,n){"use strict";e.getWeekOfMonth=function(t,e){const n=(0,a.getDefaultOptions)(),s=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,l=(0,r.getDate)(t);if(isNaN(l))return NaN;const u=(0,i.getDay)((0,o.startOfMonth)(t));let c=s-u;c<=0&&(c+=7);const d=l-c;return Math.ceil(d/7)+1};var r=n(52653),i=n(72219),o=n(47876),a=n(68613)},99364:function(t,e,n){"use strict";e.getWeekYear=function(t,e){const n=(0,o.toDate)(t),s=n.getFullYear(),l=(0,a.getDefaultOptions)(),u=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??l.firstWeekContainsDate??l.locale?.options?.firstWeekContainsDate??1,c=(0,r.constructFrom)(t,0);c.setFullYear(s+1,0,u),c.setHours(0,0,0,0);const d=(0,i.startOfWeek)(c,e),h=(0,r.constructFrom)(t,0);h.setFullYear(s,0,u),h.setHours(0,0,0,0);const f=(0,i.startOfWeek)(h,e);return n.getTime()>=d.getTime()?s+1:n.getTime()>=f.getTime()?s:s-1};var r=n(28900),i=n(23480),o=n(61576),a=n(68613)},84801:function(t,e,n){"use strict";e.getWeeksInMonth=function(t,e){return(0,r.differenceInCalendarWeeks)((0,i.lastDayOfMonth)(t),(0,o.startOfMonth)(t),e)+1};var r=n(64698),i=n(5558),o=n(47876)},13720:function(t,e,n){"use strict";e.getYear=function(t){return(0,r.toDate)(t).getFullYear()};var r=n(61576)},82417:function(t,e,n){"use strict";e.hoursToMilliseconds=function(t){return Math.trunc(t*r.millisecondsInHour)};var r=n(6544)},22994:function(t,e,n){"use strict";e.hoursToMinutes=function(t){return Math.trunc(t*r.minutesInHour)};var r=n(6544)},65022:function(t,e,n){"use strict";e.hoursToSeconds=function(t){return Math.trunc(t*r.secondsInHour)};var r=n(6544)},17705:function(t,e,n){"use strict";var r=n(57266);Object.keys(r).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===r[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return r[t]}}))}));var i=n(25631);
7Object.keys(i).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===i[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return i[t]}}))}));var o=n(60153);Object.keys(o).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===o[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return o[t]}}))}));var a=n(34215);Object.keys(a).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===a[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return a[t]}}))}));var s=n(9703);Object.keys(s).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===s[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return s[t]}}))}));var l=n(29244);Object.keys(l).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===l[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return l[t]}}))}));var u=n(77317);Object.keys(u).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===u[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return u[t]}}))}));var c=n(53521);Object.keys(c).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===c[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return c[t]}}))}));var d=n(32463);Object.keys(d).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===d[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return d[t]}}))}));var h=n(50105);Object.keys(h).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===h[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return h[t]}}))}));var f=n(37177);Object.keys(f).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===f[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return f[t]}}))}));var p=n(14026);Object.keys(p).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===p[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return p[t]}}))}));var g=n(58770);Object.keys(g).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===g[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return g[t]}}))}));var y=n(35082);Object.keys(y).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===y[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return y[t]}}))}));var m=n(71549);Object.keys(m).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===m[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return m[t]}}))}));var v=n(32631);Object.keys(v).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===v[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return v[t]}}))}));var b=n(25297);Object.keys(b).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===b[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return b[t]}}))}));var x=n(60451);Object.keys(x).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===x[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return x[t]}}))}));var _=n(28900);Object.keys(_).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===_[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return _[t]}}))}));var w=n(14942);
7Object.keys(w).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===w[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return w[t]}}))}));var S=n(31382);Object.keys(S).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===S[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return S[t]}}))}));var M=n(8136);Object.keys(M).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===M[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return M[t]}}))}));var I=n(34748);Object.keys(I).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===I[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return I[t]}}))}));var A=n(96642);Object.keys(A).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===A[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return A[t]}}))}));var D=n(27417);Object.keys(D).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===D[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return D[t]}}))}));var T=n(28496);Object.keys(T).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===T[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return T[t]}}))}));var C=n(17426);Object.keys(C).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===C[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return C[t]}}))}));var O=n(64698);Object.keys(O).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===O[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return O[t]}}))}));var P=n(76549);Object.keys(P).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===P[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return P[t]}}))}));var k=n(68314);Object.keys(k).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===k[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return k[t]}}))}));var $=n(33418);Object.keys($).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===$[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return $[t]}}))}));var E=n(22604);
7Object.keys(E).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===E[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return E[t]}}))}));var L=n(34275);Object.keys(L).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===L[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return L[t]}}))}));var N=n(27980);Object.keys(N).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===N[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return N[t]}}))}));var R=n(39926);Object.keys(R).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===R[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return R[t]}}))}));var F=n(17952);Object.keys(F).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===F[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return F[t]}}))}));var B=n(24796);Object.keys(B).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===B[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return B[t]}}))}));var j=n(19236);Object.keys(j).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===j[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return j[t]}}))}));var z=n(84571);Object.keys(z).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===z[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return z[t]}}))}));var V=n(39464);Object.keys(V).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===V[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return V[t]}}))}));var H=n(7478);Object.keys(H).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===H[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return H[t]}}))}));var W=n(29156);Object.keys(W).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===W[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return W[t]}}))}));var G=n(18896);Object.keys(G).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===G[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return G[t]}}))}));var Y=n(13730);Object.keys(Y).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Y[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Y[t]}}))}));var U=n(8204);Object.keys(U).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===U[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return U[t]}}))}));var Z=n(49639);Object.keys(Z).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Z[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Z[t]}}))}));var X=n(26217);Object.keys(X).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===X[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return X[t]}}))}));var q=n(92819);Object.keys(q).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===q[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return q[t]}}))}));var K=n(28053);Object.keys(K).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===K[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return K[t]}}))}));var J=n(52055);Object.keys(J).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===J[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return J[t]}}))}));var Q=n(48025);Object.keys(Q).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Q[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Q[t]}}))}));var tt=n(32167);Object.keys(tt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===tt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return tt[t]}}))}));var et=n(31472);Object.keys(et).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===et[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return et[t]}}))}));var nt=n(42065);Object.keys(nt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===nt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return nt[t]}}))}));var rt=n(72401);Object.keys(rt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===rt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return rt[t]}}))}));var it=n(72923);Object.keys(it).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===it[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return it[t]}}))}));var ot=n(125);Object.keys(ot).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===ot[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return ot[t]}}))}));var at=n(92177);Object.keys(at).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===at[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return at[t]}}))}));var st=n(22976);Object.keys(st).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===st[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return st[t]}}))}));var lt=n(618);Object.keys(lt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===lt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return lt[t]}}))}));var ut=n(10745);Object.keys(ut).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===ut[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return ut[t]}}))}));var ct=n(6396);Object.keys(ct).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===ct[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return ct[t]}}))}));var dt=n(83861);Object.keys(dt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===dt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return dt[t]}}))}));var ht=n(32242);Object.keys(ht).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===ht[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return ht[t]}}))}));var ft=n(93297);Object.keys(ft).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===ft[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return ft[t]}}))}));var pt=n(66660);Object.keys(pt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===pt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return pt[t]}}))}));var gt=n(76214);Object.keys(gt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===gt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return gt[t]}}))}));var yt=n(29691);Object.keys(yt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===yt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return yt[t]}}))}));var mt=n(35514);Object.keys(mt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===mt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return mt[t]}}))}));var vt=n(90725);Object.keys(vt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===vt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return vt[t]}}))}));var bt=n(57568);Object.keys(bt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===bt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return bt[t]}}))}));var xt=n(95985);Object.keys(xt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===xt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return xt[t]}}))}));var _t=n(86319);Object.keys(_t).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===_t[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return _t[t]}}))}));var wt=n(30828);Object.keys(wt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===wt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return wt[t]}}))}));var St=n(1162);Object.keys(St).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===St[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return St[t]}}))}));var Mt=n(86670);Object.keys(Mt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Mt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Mt[t]}}))}));var It=n(52653);Object.keys(It).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===It[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return It[t]}}))}));var At=n(72219);Object.keys(At).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===At[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return At[t]}}))}));var Dt=n(7371);Object.keys(Dt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Dt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Dt[t]}}))}));var Tt=n(45343);Object.keys(Tt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Tt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Tt[t]}}))}));var Ct=n(61664);Object.keys(Ct).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Ct[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Ct[t]}}))}));var Ot=n(79853);Object.keys(Ot).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Ot[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Ot[t]}}))}));var Pt=n(34396);Object.keys(Pt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Pt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Pt[t]}}))}));var kt=n(7886);Object.keys(kt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===kt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return kt[t]}}))}));var $t=n(52816);Object.keys($t).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===$t[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return $t[t]}}))}));var Et=n(71276);Object.keys(Et).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Et[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Et[t]}}))}));var Lt=n(38325);Object.keys(Lt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Lt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Lt[t]}}))}));var Nt=n(62929);Object.keys(Nt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Nt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Nt[t]}}))}));var Rt=n(83895);Object.keys(Rt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Rt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Rt[t]}}))}));var Ft=n(57912);Object.keys(Ft).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Ft[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Ft[t]}}))}));var Bt=n(39159);Object.keys(Bt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Bt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Bt[t]}}))}));var jt=n(79514);Object.keys(jt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===jt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return jt[t]}}))}));var zt=n(3873);Object.keys(zt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===zt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return zt[t]}}))}));var Vt=n(33632);Object.keys(Vt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Vt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Vt[t]}}))}));var Ht=n(11412);Object.keys(Ht).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Ht[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Ht[t]}}))}));var Wt=n(11982);Object.keys(Wt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Wt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Wt[t]}}))}));var Gt=n(3301);Object.keys(Gt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Gt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Gt[t]}}))}));var Yt=n(53372);Object.keys(Yt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Yt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Yt[t]}}))}));var Ut=n(99364);Object.keys(Ut).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Ut[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Ut[t]}}))}));var Zt=n(84801);Object.keys(Zt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Zt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Zt[t]}}))}));var Xt=n(13720);Object.keys(Xt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Xt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Xt[t]}}))}));var qt=n(82417);Object.keys(qt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===qt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return qt[t]}}))}));var Kt=n(22994);Object.keys(Kt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Kt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Kt[t]}}))}));var Jt=n(65022);Object.keys(Jt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Jt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Jt[t]}}))}));var Qt=n(98116);Object.keys(Qt).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Qt[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Qt[t]}}))}));var te=n(71473);Object.keys(te).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===te[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return te[t]}}))}));var ee=n(8213);Object.keys(ee).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===ee[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return ee[t]}}))}));var ne=n(39506);Object.keys(ne).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===ne[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return ne[t]}}))}));var re=n(66299);Object.keys(re).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===re[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return re[t]}}))}));var ie=n(39474);Object.keys(ie).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===ie[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return ie[t]}}))}));var oe=n(51733);Object.keys(oe).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===oe[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return oe[t]}}))}));var ae=n(3173);Object.keys(ae).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===ae[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return ae[t]}}))}));var se=n(50385);Object.keys(se).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===se[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return se[t]}}))}));var le=n(32056);Object.keys(le).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===le[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return le[t]}}))}));var ue=n(40190);Object.keys(ue).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===ue[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return ue[t]}}))}));var ce=n(36574);Object.keys(ce).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===ce[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return ce[t]}}))}));var de=n(24362);Object.keys(de).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===de[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return de[t]}}))}));var he=n(96210);Object.keys(he).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===he[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return he[t]}}))}));var fe=n(84940);Object.keys(fe).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===fe[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return fe[t]}}))}));var pe=n(70169);Object.keys(pe).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===pe[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return pe[t]}}))}));var ge=n(66009);Object.keys(
7ge).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===ge[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return ge[t]}}))}));var ye=n(51189);Object.keys(ye).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===ye[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return ye[t]}}))}));var me=n(82729);Object.keys(me).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===me[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return me[t]}}))}));var ve=n(24510);Object.keys(ve).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===ve[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return ve[t]}}))}));var be=n(17427);Object.keys(be).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===be[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return be[t]}}))}));var xe=n(15399);Object.keys(xe).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===xe[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return xe[t]}}))}));var _e=n(66793);Object.keys(_e).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===_e[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return _e[t]}}))}));var we=n(66339);Object.keys(we).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===we[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return we[t]}}))}));var Se=n(14923);Object.keys(Se).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Se[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Se[t]}}))}));var Me=n(65027);Object.keys(Me).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Me[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Me[t]}}))}));var Ie=n(30626);Object.keys(Ie).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Ie[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Ie[t]}}))}));var Ae=n(7254);Object.keys(Ae).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Ae[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Ae[t]}}))}));var De=n(68634);Object.keys(De).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===De[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return De[t]}}))}));var Te=n(84115);Object.keys(Te).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Te[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Te[t]}}))}));var Ce=n(13572);Object.keys(Ce).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Ce[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Ce[t]}}))}));var Oe=n(40677);Object.keys(Oe).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Oe[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Oe[t]}}))}));var Pe=n(93535);Object.keys(Pe).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Pe[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Pe[t]}}))}));var ke=n(26089);Object.keys(ke).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===ke[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return ke[t]}}))}));var $e=n(90765);Object.keys($e).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===$e[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return $e[t]}}))}));var Ee=n(7117);Object.keys(Ee).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Ee[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Ee[t]}}))}));var Le=n(99904);Object.keys(Le).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Le[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Le[t]}}))}));var Ne=n(9271);Object.keys(Ne).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Ne[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Ne[t]}}))}));var Re=n(28412);Object.keys(Re).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Re[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Re[t]}}))}));var Fe=n(49942);Object.keys(Fe).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Fe[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Fe[t]}}))}));var Be=n(69294);Object.keys(Be).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Be[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Be[t]}}))}));var je=n(86559);Object.keys(je).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===je[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return je[t]}}))}));var ze=n(87005);Object.keys(ze).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===ze[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return ze[t]}}))}));var Ve=n(10244);Object.keys(Ve).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Ve[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Ve[t]}}))}));var He=n(12343);Object.keys(He).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===He[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return He[t]}}))}));var We=n(59609);Object.keys(We).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===We[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return We[t]}}))}));var Ge=n(1306);Object.keys(Ge).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Ge[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Ge[t]}}))}));var Ye=n(17429);Object.keys(Ye).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Ye[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Ye[t]}}))}));var Ue=n(69076);Object.keys(Ue).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Ue[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Ue[t]}}))}));var Ze=n(5558);Object.keys(Ze).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Ze[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Ze[t]}}))}));var Xe=n(63452);Object.keys(Xe).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Xe[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Xe[t]}}))}));var qe=n(54238);Object.keys(qe).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===qe[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return qe[t]}}))}));var Ke=n(58163);Object.keys(Ke).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Ke[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Ke[t]}}))}));var Je=n(94398);Object.keys(Je).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Je[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Je[t]}}))}));var Qe=n(23747);Object.keys(Qe).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Qe[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Qe[t]}}))}));var tn=n(5387);
7Object.keys(tn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===tn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return tn[t]}}))}));var en=n(1387);Object.keys(en).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===en[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return en[t]}}))}));var nn=n(88641);Object.keys(nn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===nn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return nn[t]}}))}));var rn=n(75757);Object.keys(rn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===rn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return rn[t]}}))}));var on=n(22641);Object.keys(on).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===on[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return on[t]}}))}));var an=n(45562);Object.keys(an).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===an[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return an[t]}}))}));var sn=n(52307);Object.keys(sn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===sn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return sn[t]}}))}));var ln=n(98828);Object.keys(ln).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===ln[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return ln[t]}}))}));var un=n(14538);Object.keys(un).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===un[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return un[t]}}
7))}));var cn=n(20189);Object.keys(cn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===cn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return cn[t]}}))}));var dn=n(39808);Object.keys(dn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===dn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return dn[t]}}))}));var hn=n(67947);Object.keys(hn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===hn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return hn[t]}}))}));var fn=n(96128);Object.keys(fn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===fn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return fn[t]}}))}));var pn=n(41148);Object.keys(pn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===pn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return pn[t]}}))}));var gn=n(21216);Object.keys(gn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===gn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return gn[t]}}))}));var yn=n(78554);Object.keys(yn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===yn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return yn[t]}}))}));var mn=n(83293);Object.keys(mn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===mn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return mn[t]}}))}));var vn=n(33154);Object.keys(vn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===vn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return vn[t]}}))}));var bn=n(88302);Object.keys(bn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===bn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return bn[t]}}))}));var xn=n(55137);Object.keys(xn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===xn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return xn[t]}}))}));var _n=n(47968);Object.keys(_n).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===_n[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return _n[t]}}))}));var wn=n(84288);Object.keys(wn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===wn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return wn[t]}}))}));var Sn=n(91819);Object.keys(Sn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Sn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Sn[t]}}))}));var Mn=n(2e4);Object.keys(Mn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Mn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Mn[t]}}))}));var In=n(72591);Object.keys(In).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===In[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return In[t]}}))}));var An=n(45088);Object.keys(An).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===An[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return An[t]}}
7))}));var Dn=n(32378);Object.keys(Dn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Dn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Dn[t]}}))}));var Tn=n(8125);Object.keys(Tn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Tn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Tn[t]}}))}));var Cn=n(41186);Object.keys(Cn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Cn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Cn[t]}}))}));var On=n(62234);Object.keys(On).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===On[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return On[t]}}))}));var Pn=n(58527);Object.keys(Pn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Pn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Pn[t]}}))}));var kn=n(34125);Object.keys(kn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===kn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return kn[t]}}))}));var $n=n(4671);Object.keys($n).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===$n[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return $n[t]}}))}));var En=n(74394);Object.keys(En).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===En[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return En[t]}}))}));var Ln=n(81683);Object.keys(Ln).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Ln[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Ln[t]}}))}));var Nn=n(21820);Object.keys(Nn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Nn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Nn[t]}}))}));var Rn=n(90994);Object.keys(Rn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Rn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Rn[t]}}))}));var Fn=n(2217);Object.keys(Fn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Fn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Fn[t]}}))}));var Bn=n(94063);Object.keys(Bn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Bn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Bn[t]}}))}));var jn=n(48151);Object.keys(jn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===jn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return jn[t]}}))}));var zn=n(66416);Object.keys(zn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===zn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return zn[t]}}))}));var Vn=n(44378);Object.keys(Vn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Vn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Vn[t]}}))}));var Hn=n(34868);Object.keys(Hn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Hn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Hn[t]}}))}));var Wn=n(11176);Object.keys(Wn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Wn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Wn[t]}}))}));var Gn=n(48857);Object.keys(Gn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Gn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Gn[t]}}))}));var Yn=n(40755);Object.keys(Yn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Yn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Yn[t]}}))}));var Un=n(96764);Object.keys(Un).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Un[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Un[t]}}))}));var Zn=n(67075);Object.keys(Zn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Zn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Zn[t]}}))}));var Xn=n(1573);
7Object.keys(Xn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Xn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Xn[t]}}))}));var qn=n(44780);Object.keys(qn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===qn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return qn[t]}}))}));var Kn=n(71054);Object.keys(Kn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Kn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Kn[t]}}))}));var Jn=n(60408);Object.keys(Jn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Jn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Jn[t]}}))}));var Qn=n(8228);Object.keys(Qn).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Qn[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Qn[t]}}))}));var tr=n(86436);Object.keys(tr).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===tr[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return tr[t]}}))}));var er=n(63296);Object.keys(er).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===er[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return er[t]}}))}));var nr=n(70838);Object.keys(nr).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===nr[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return nr[t]}}))}));var rr=n(47147);Object.keys(rr).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===rr[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return rr[t]}}))}));var ir=n(34910);Object.keys(ir).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===ir[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return ir[t]}}))}));var or=n(8400);Object.keys(or).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===or[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return or[t]}}))}));var ar=n(47876);Object.keys(ar).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===ar[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return ar[t]}}))}));var sr=n(2682);Object.keys(sr).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===sr[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return sr[t]}}))}));var lr=n(68248);Object.keys(lr).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===lr[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return lr[t]}}))}));var ur=n(89915);Object.keys(ur).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===ur[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return ur[t]}}))}));var cr=n(13651);Object.keys(cr).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===cr[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return cr[t]}}))}));var dr=n(23480);Object.keys(dr).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===dr[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return dr[t]}}))}));var hr=n(61225);Object.keys(hr).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===hr[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return hr[t]}}))}));var fr=n(92561);Object.keys(fr).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===fr[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return fr[t]}}))}));var pr=n(25122);Object.keys(pr).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===pr[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return pr[t]}}))}));var gr=n(22823);Object.keys(gr).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===gr[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return gr[t]}}))}));var yr=n(81474);Object.keys(yr).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===yr[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return yr[t]}}))}));var mr=n(47024);Object.keys(mr).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===mr[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return mr[t]}}))}));var vr=n(8060);Object.keys(vr).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===vr[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return vr[t]}}))}));var br=n(21542);Object.keys(br).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===br[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return br[t]}}))}));var xr=n(28737);Object.keys(xr).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===xr[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return xr[t]}}))}));var _r=n(48610);Object.keys(_r).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===_r[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return _r[t]}}))}));var wr=n(51932);Object.keys(wr).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===wr[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return wr[t]}}))}));var Sr=n(52790);Object.keys(Sr).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Sr[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Sr[t]}}))}));var Mr=n(80430);Object.keys(Mr).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Mr[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Mr[t]}}))}));var Ir=n(57206);Object.keys(Ir).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Ir[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Ir[t]}}))}));var Ar=n(62449);Object.keys(Ar).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Ar[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Ar[t]}}))}));var Dr=n(61576);Object.keys(Dr).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Dr[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Dr[t]}}))}));var Tr=n(50194);Object.keys(Tr).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Tr[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Tr[t]}}))}));var Cr=n(54370);Object.keys(Cr).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Cr[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Cr[t]}}))}));var Or=n(48837);Object.keys(Or).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Or[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Or[t]}}))}));var Pr=n(17301);Object.keys(Pr).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===Pr[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return Pr[t]}}))}));var kr=n(65387);Object.keys(kr).forEach((function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===kr[t]||Object.defineProperty(e,t,{enumerable:!0,get:function(){return kr[t]}}))}))},98116:function(t,e,n){"use strict";e.interval=function(t,e,n){const i=(0,r.toDate)(t);
vendor: 10,457 bytes, line 7
7if(isNaN(+i))throw new TypeError("Start date is invalid");const o=(0,r.toDate)(e);if(isNaN(+o))throw new TypeError("End date is invalid");if(n?.assertPositive&&+i>+o)throw new TypeError("End date must be after start date");return{start:i,end:o}};var r=n(61576)},71473:function(t,e,n){"use strict";e.intervalToDuration=function(t){const e=(0,c.toDate)(t.start),n=(0,c.toDate)(t.end),d={},h=(0,u.differenceInYears)(n,e);h&&(d.years=h);const f=(0,r.add)(e,{years:d.years}),p=(0,s.differenceInMonths)(n,f);p&&(d.months=p);const g=(0,r.add)(f,{months:d.months}),y=(0,i.differenceInDays)(n,g);y&&(d.days=y);const m=(0,r.add)(g,{days:d.days}),v=(0,o.differenceInHours)(n,m);v&&(d.hours=v);const b=(0,r.add)(m,{hours:d.hours}),x=(0,a.differenceInMinutes)(n,b);x&&(d.minutes=x);const _=(0,r.add)(b,{minutes:d.minutes}),w=(0,l.differenceInSeconds)(n,_);w&&(d.seconds=w);return d};var r=n(57266),i=n(68314),o=n(33418),a=n(27980),s=n(39926),l=n(24796),u=n(84571),c=n(61576)},8213:function(t,e,n){"use strict";e.intlFormat=function(t,e,n){let i;o=e,void 0===o||"locale"in o?n=e:i=e;var o;return new Intl.DateTimeFormat(n?.locale,i).format((0,r.toDate)(t))};var r=n(61576)},39506:function(t,e,n){"use strict";e.intlFormatDistance=function(t,e,n){let f,p=0;const g=(0,h.toDate)(t),y=(0,h.toDate)(e);if(n?.unit)f=n?.unit,"second"===f?p=(0,d.differenceInSeconds)(g,y):"minute"===f?p=(0,c.differenceInMinutes)(g,y):"hour"===f?p=(0,u.differenceInHours)(g,y):"day"===f?p=(0,i.differenceInCalendarDays)(g,y):"week"===f?p=(0,s.differenceInCalendarWeeks)(g,y):"month"===f?p=(0,o.differenceInCalendarMonths)(g,y):"quarter"===f?p=(0,a.differenceInCalendarQuarters)(g,y):"year"===f&&(p=(0,l.differenceInCalendarYears)(g,y));else{const t=(0,d.differenceInSeconds)(g,y);Math.abs(t)<r.secondsInMinute?(p=(0,d.differenceInSeconds)(g,y),f="second"):Math.abs(t)<r.secondsInHour?(p=(0,c.differenceInMinutes)(g,y),f="minute"):Math.abs(t)<r.secondsInDay&&Math.abs((0,i.differenceInCalendarDays)(g,y))<1?(p=(0,u.differenceInHours)(g,y),f="hour"):Math.abs(t)<r.secondsInWeek&&(p=(0,i.differenceInCalendarDays)(g,y))&&Math.abs(p)<7?f="day":Math.abs(t)<r.secondsInMonth?(p=(0,s.differenceInCalendarWeeks)(g,y),f="week"):Math.abs(t)<r.secondsInQuarter?(p=(0,o.differenceInCalendarMonths)(g,y),f="month"):Math.abs(t)<r.secondsInYear&&(0,a.differenceInCalendarQuarters)(g,y)<4?(p=(0,a.differenceInCalendarQuarters)(g,y),f="quarter"):(p=(0,l.differenceInCalendarYears)(g,y),f="year")}return new Intl.RelativeTimeFormat(n?.locale,{localeMatcher:n?.localeMatcher,numeric:n?.numeric||"auto",style:n?.style}).format(p,f)};var r=n(6544),i=n(34748),o=n(28496),a=n(17426),s=n(64698),l=n(76549),u=n(33418),c=n(27980),d=n(24796),h=n(61576)},66299:function(t,e,n){"use strict";e.isAfter=function(t,e){const n=(0,r.toDate)(t),i=(0,r.toDate)(e);return n.getTime()>i.getTime()};var r=n(61576)},39474:function(t,e,n){"use strict";e.isBefore=function(t,e){const n=(0,r.toDate)(t),i=(0,r.toDate)(e);return+n<+i};var r=n(61576)},51733:function(t,e){"use strict";e.isDate=function(t){return t instanceof Date||"object"==typeof t&&"[object Date]"===Object.prototype.toString.call(t)}},3173:function(t,e,n){"use strict";e.isEqual=function(t,e){const n=(0,r.toDate)(t),i=(0,r.toDate)(e);return+n==+i};var r=n(61576)},50385:function(t,e){"use strict";e.isExists=function(t,e,n){const r=new Date(t,e,n);return r.getFullYear()===t&&r.getMonth()===e&&r.getDate()===n}},32056:function(t,e,n){"use strict";e.isFirstDayOfMonth=function(t){return 1===(0,r.toDate)(t).getDate()};var r=n(61576)},40190:function(t,e,n){"use strict";e.isFriday=function(t){return 5===(0,r.toDate)(t).getDay()};var r=n(61576)},36574:function(t,e,n){"use strict";e.isFuture=function(t){return+(0,r.toDate)(t)>Date.now()};var r=n(61576)},24362:function(t,e,n){"use strict";e.isLastDayOfMonth=function(t){const e=(0,o.toDate)(t);return+(0,r.endOfDay)(e)==+(0,i.endOfMonth)(e)};var r=n(52055),i=n(72923),o=n(61576)},96210:function(t,e,n){"use strict";e.isLeapYear=function(t){const e=(0,r.toDate)(t).getFullYear();return e%400==0||e%4==0&&e%100!=0};var r=n(61576)},84940:function(t,e,n){"use strict";e.isMatch=function(t,e,n){return(0,r.isValid)((0,i.parse)(t,e,new Date,n))};var r=n(86559),i=n(88302)},70169:function(t,e,n){"use strict";e.isMonday=function(t){return 1===(0,r.toDate)(t).getDay()};var r=n(61576)},66009:function(t,e,n){"use strict";e.isPast=function(t){return+(0,r.toDate)(t)<Date.now()};var r=n(61576)},51189:function(t,e,n){"use strict";e.isSameDay=function(t,e){const n=(0,r.startOfDay)(t),i=(0,r.startOfDay)(e);return+n==+i};var r=n(86436)},82729:function(t,e,n){"use strict";e.isSameHour=function(t,e){const n=(0,r.startOfHour)(t),i=(0,r.startOfHour)(e);return+n==+i};var r=n(70838)},24510:function(t,e,n){"use strict";e.isSameISOWeek=function(t,e){return(0,r.isSameWeek)(t,e,{weekStartsOn:1})};var r=n(65027)},17427:function(t,e,n){"use strict";e.isSameISOWeekYear=function(t,e){const n=(0,r.startOfISOWeekYear)(t),i=(0,r.startOfISOWeekYear)(e);return+n==+i};var r=n(34910)},15399:function(t,e,n){"use strict";e.isSameMinute=function(t,e){const n=(0,r.startOfMinute)(t),i=(0,r.startOfMinute)(e);return+n==+i};var r=n(8400)},66793:function(t,e,n){"use strict";e.isSameMonth=function(t,e){const n=(0,r.toDate)(t),i=(0,r.toDate)(e);return n.getFullYear()===i.getFullYear()&&n.getMonth()===i.getMonth()};var r=n(61576)},66339:function(t,e,n){"use strict";e.isSameQuarter=function(t,e){const n=(0,r.startOfQuarter)(t),i=(0,r.startOfQuarter)(e);return+n==+i};var r=n(2682)},14923:function(t,e,n){"use strict";e.isSameSecond=function(t,e){const n=(0,r.startOfSecond)(t),i=(0,r.startOfSecond)(e);return+n==+i};var r=n(68248)},65027:function(t,e,n){"use strict";e.isSameWeek=function(t,e,n){const i=(0,r.startOfWeek)(t,n),o=(0,r.startOfWeek)(e,n);return+i==+o};var r=n(23480)},30626:function(t,e,n){"use strict";e.isSameYear=function(t,e){const n=(0,r.toDate)(t),i=(0,r.toDate)(e);return n.getFullYear()===i.getFullYear()};var r=n(61576)},7254:function(t,e,n){"use strict";e.isSaturday=function(t){return 6===(0,r.toDate)(t).getDay()};var r=n(61576)},68634:function(t,e,n){"use strict";e.isSunday=function(t){return 0===(0,r.toDate)(t).getDay()};var r=n(61576)},84115:function(t,e,n){"use strict";e.isThisHour=function(t){return(0,i.isSameHour)(t,(0,r.constructNow)(t))};var r=n(14942),i=n(82729)},13572:function(t,e,n){"use strict";e.isThisISOWeek=function(t){return(0,i.isSameISOWeek)(t,(0,r.constructNow)(t))};var r=n(14942),i=n(24510)},40677:function(t,e,n){"use strict";e.isThisMinute=function(t){return(0,i.isSameMinute)(t,(0,r.constructNow)(t))};var r=n(14942),i=n(15399)},93535:function(t,e,n){"use strict";e.isThisMonth=function(t){return(0,i.isSameMonth)(t,(0,r.constructNow)(t))};var r=n(14942),i=n(66793)},26089:function(t,e,n){"use strict";e.isThisQuarter=function(t){return(0,i.isSameQuarter)(t,(0,r.constructNow)(t))};var r=n(14942),i=n(66339)},90765:function(t,e,n){"use strict";e.isThisSecond=function(t){return(0,i.isSameSecond)(t,(0,r.constructNow)(t))};var r=n(14942),i=n(14923)},7117:function(t,e,n){"use strict";e.isThisWeek=function(t,e){return(0,i.isSameWeek)(t,(0,r.constructNow)(t),e)};var r=n(14942),i=n(65027)},99904:function(t,e,n){"use strict";e.isThisYear=function(t){return(0,i.isSameYear)(t,(0,r.constructNow)(t))};var r=n(14942),i=n(30626)},9271:function(t,e,n){"use strict";e.isThursday=function(t){return 4===(0,r.toDate)(t).getDay()};var r=n(61576)},28412:function(t,e,n){"use strict";e.isToday=function(t){return(0,i.isSameDay)(t,(0,r.constructNow)(t))};var r=n(14942),i=n(51189)},49942:function(t,e,n){"use strict";e.isTomorrow=function(t){return(0,o.isSameDay)(t,(0,r.addDays)((0,i.constructNow)(t),1))};var r=n(60153),i=n(14942),o=n(51189)},69294:function(t,e,n){"use strict";e.isTuesday=function(t){return 2===(0,r.toDate)(t).getDay()};var r=n(61576)},86559:function(t,e,n){"use strict";e.isValid=function(t){if(!(0,r.isDate)(t)&&"number"!=typeof t)return!1;const e=(0,i.toDate)(t);return!isNaN(Number(e))};var r=n(51733),i=n(61576)},87005:function(t,e,n){"use strict";e.isWednesday=function(t){return 3===(0,r.toDate)(t).getDay()};var r=n(61576)},10244:function(t,e,n){"use strict";e.isWeekend=function(t){const e=(0,r.toDate)(t).getDay();return 0===e||6===e};var r=n(61576)},12343:function(t,e,n){"use strict";e.isWithinInterval=function(t,e){const n=+(0,r.toDate)(t),[i,o]=[+(0,r.toDate)(e.start),+(0,r.toDate)(e.end)].sort(((t,e)=>t-e));return n>=i&&n<=o};var r=n(61576)},59609:function(t,e,n){"use strict";e.isYesterday=function(t){return(0,i.isSameDay)(t,(0,o.subDays)((0,r.constructNow)(t),1))};var r=n(14942),i=n(51189),o=n(47024)},1306:function(t,e,n){"use strict";e.lastDayOfDecade=function(t){const e=(0,r.toDate)(t),n=e.getFullYear(),i=9+10*Math.floor(n/10);return e.setFullYear(i+1,0,0),e.setHours(0,0,0,0),e};var r=n(61576)},17429:function(t,e,n){"use strict";e.lastDayOfISOWeek=function(t){return(0,r.lastDayOfWeek)(t,{weekStartsOn:1})};var r=n(54238)},69076:function(t,e,n){"use strict";e.lastDayOfISOWeekYear=function(t){const e=(0,r.getISOWeekYear)(t),n=(0,o.constructFrom)(t,0);n.setFullYear(e+1,0,4),n.setHours(0,0,0,0);const a=(0,i.startOfISOWeek)(n);return a.setDate(a.getDate()-1),a};var r=n(38325),i=n(47147),o=n(28900)},5558:function(t,e,n){"use strict";e.lastDayOfMonth=function(t){const e=(0,r.toDate)(t),n=e.getMonth();return e.setFullYear(e.getFullYear(),n+1,0),e.setHours(0,0,0,0),e};var r=n(61576)},63452:function(t,e,n){"use strict";e.lastDayOfQuarter=function(t){const e=(0,r.toDate)(t),n=e.getMonth(),i=n-n%3+3;return e.setMonth(i,0),e.setHours(0,0,0,0),e};var r=n(61576)},54238:function(t,e,n){"use strict";e.lastDayOfWeek=function(t,e){const n=(0,i.getDefaultOptions)(),o=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=(0,r.toDate)(t),s=a.getDay(),l=6+(s<o?-7:0)-(s-o);return a.setHours(0,0,0,0),a.setDate(a.getDate()+l),a};var r=n(61576),i=n(68613)},58163:function(t,e,n){"use strict";e.lastDayOfYear=function(t){const e=(0,r.toDate)(t),n=e.getFullYear();return e.setFullYear(n+1,0,0),e.setHours(0,0,0,0),e};var r=n(61576)},94398:function(t,e,n){"use strict";e.lightFormat=function(t,e){const n=(0,i.toDate)(t);if(!(0,r.isValid)(n))throw new RangeError("Invalid time value");const c=e.match(a);if(!c)return"";return c.map((t=>{if("''"===t)return"'";const e=t[0];if("'"===e)return function(t){const e=t.match(s);if(!e)return t;return e[1].replace(l,"'")}(t);const r=o.lightFormatters[e];if(r)return r(n,t);
vendor: 5,279 bytes, line 7
7if(e.match(u))throw new RangeError("Format string contains an unescaped latin alphabet character `"+e+"`");return t})).join("")},Object.defineProperty(e,"lightFormatters",{enumerable:!0,get:function(){return o.lightFormatters}});var r=n(86559),i=n(61576),o=n(75555);const a=/(\w)\1*|''|'(''|[^'])+('|$)|./g,s=/^'([^]*?)'?$/,l=/''/g,u=/[a-zA-Z]/},97980:function(t,e){"use strict";e.buildFormatLongFn=function(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}},46746:function(t,e){"use strict";e.buildLocalizeFn=function(t){return(e,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&t.formattingValues){const e=t.defaultFormattingWidth||t.defaultWidth,i=n?.width?String(n.width):e;r=t.formattingValues[i]||t.formattingValues[e]}else{const e=t.defaultWidth,i=n?.width?String(n.width):t.defaultWidth;r=t.values[i]||t.values[e]}return r[t.argumentCallback?t.argumentCallback(e):e]}}},20640:function(t,e){"use strict";e.buildMatchFn=function(t){return(e,n={})=>{const r=n.width,i=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],o=e.match(i);if(!o)return null;const a=o[0],s=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(s)?function(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n;return}(s,(t=>t.test(a))):function(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n;return}(s,(t=>t.test(a)));let u;u=t.valueCallback?t.valueCallback(l):l,u=n.valueCallback?n.valueCallback(u):u;return{value:u,rest:e.slice(a.length)}}}},2528:function(t,e){"use strict";e.buildMatchPatternFn=function(t){return(e,n={})=>{const r=e.match(t.matchPattern);if(!r)return null;const i=r[0],o=e.match(t.parsePattern);if(!o)return null;let a=t.valueCallback?t.valueCallback(o[0]):o[0];a=n.valueCallback?n.valueCallback(a):a;return{value:a,rest:e.slice(i.length)}}}},19230:function(t,e,n){"use strict";e.enUS=void 0;var r=n(36832),i=n(17113),o=n(5423),a=n(99231),s=n(13703);e.enUS={code:"en-US",formatDistance:r.formatDistance,formatLong:i.formatLong,formatRelative:o.formatRelative,localize:a.localize,match:s.match,options:{weekStartsOn:0,firstWeekContainsDate:1}}},36832:function(t,e){"use strict";e.formatDistance=void 0;const n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};e.formatDistance=(t,e,r)=>{let i;const o=n[t];return i="string"==typeof o?o:1===e?o.one:o.other.replace("{{count}}",e.toString()),r?.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i}},17113:function(t,e,n){"use strict";e.formatLong=void 0;var r=n(97980);e.formatLong={date:(0,r.buildFormatLongFn)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,r.buildFormatLongFn)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,r.buildFormatLongFn)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})}},5423:function(t,e){"use strict";e.formatRelative=void 0;const n={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};e.formatRelative=(t,e,r,i)=>n[t]},99231:function(t,e,n){"use strict";e.localize=void 0;var r=n(46746);e.localize={ordinalNumber:(t,e)=>{const n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,r.buildLocalizeFn)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,r.buildLocalizeFn)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:t=>t-1}),month:(0,r.buildLocalizeFn)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,r.buildLocalizeFn)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
7ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,r.buildLocalizeFn)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})}},13703:function(t,e,n){"use strict";e.match=void 0;var r=n(20640),i=n(2528);e.match={ordinalNumber:(0,i.buildMatchPatternFn)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:t=>parseInt(t,10)}),era:(0,r.buildMatchFn)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,r.buildMatchFn)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:t=>t+1}),month:(0,r.buildMatchFn)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,r.buildMatchFn)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,r.buildMatchFn)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})}},23747:function(t,e,n){"use strict";e.max=function(t){let e;return t.forEach((function(t){const n=(0,r.toDate)(t);(void 0===e||e<n||isNaN(Number(n)))&&(e=n)})),e||new Date(NaN)};var r=n(61576)},5387:function(t,e,n){"use strict";e.milliseconds=function({years:t,months:e,weeks:n,days:i,hours:o,minutes:a,seconds:s}){let l=0;t&&(l+=t*r.daysInYear);e&&(l+=e*(r.daysInYear/12));n&&(l+=7*n);i&&(l+=i);let u=24*l*60*60;o&&(u+=60*o*60);a&&(u+=60*a);s&&(u+=s);return Math.trunc(1e3*u)};var r=n(6544)},1387:function(t,e,n){"use strict";e.millisecondsToHours=function(t){const e=t/r.millisecondsInHour;return Math.trunc(e)};var r=n(6544)},88641:function(t,e,n){"use strict";e.millisecondsToMinutes=function(t){const e=t/r.millisecondsInMinute;return Math.trunc(e)};var r=n(6544)},75757:function(t,e,n){"use strict";e.millisecondsToSeconds=function(t){const e=t/r.millisecondsInSecond;return Math.trunc(e)};var r=n(6544)},22641:function(t,e,n){"use strict";e.min=function(t){let e;return t.forEach((t=>{const n=(0,r.toDate)(t);(!e||e>n||isNaN(+n))&&(e=n)})),e||new Date(NaN)};var r=n(61576)},45562:function(t,e,n){"use strict";e.minutesToHours=function(t){const e=t/r.minutesInHour;return Math.trunc(e)};var r=n(6544)},52307:function(t,e,n){"use strict";e.minutesToMilliseconds=function(t){return Math.trunc(t*r.millisecondsInMinute)};var r=n(6544)},98828:function(t,e,n){"use strict";e.minutesToSeconds=function(t){return Math.trunc(t*r.secondsInMinute)};var r=n(6544)},14538:function(t,e,n){"use strict";e.monthsToQuarters=function(t){const e=t/r.monthsInQuarter;return Math.trunc(e)};var r=n(6544)},20189:function(t,e,n){"use strict";e.monthsToYears=function(t){const e=t/r.monthsInYear;return Math.trunc(e)};var r=n(6544)},39808:function(t,e,n){"use strict";e.nextDay=function(t,e){let n=e-(0,i.getDay)(t);n<=0&&(n+=7);return(0,r.addDays)(t,n)};var r=n(60153),i=n(72219)},67947:function(t,e,n){"use strict";e.nextFriday=function(t){return(0,r.nextDay)(t,5)};var r=n(39808)},96128:function(t,e,n){"use strict";e.nextMonday=function(t){return(0,r.nextDay)(t,1)};var r=n(39808)},41148:function(t,e,n){"use strict";e.nextSaturday=function(t){return(0,r.nextDay)(t,6)};var r=n(39808)},21216:function(t,e,n){"use strict";e.nextSunday=function(t){return(0,r.nextDay)(t,0)};var r=n(39808)},78554:function(t,e,n){"use strict";e.nextThursday=function(t){return(0,r.nextDay)(t,4)};var r=n(39808)},83293:function(t,e,n){"use strict";e.nextTuesday=function(t){return(0,r.nextDay)(t,2)};var r=n(39808)},33154:function(t,e,n){"use strict";e.nextWednesday=function(t){return(0,r.nextDay)(t,3)};var r=n(39808)},88302:function(t,e,n){"use strict";Object.defineProperty(e,"longFormatters",{enumerable:!0,get:function(){return s.longFormatters}}),e.parse=function(t,e,n,m){const v=(0,i.getDefaultOptions)(),b=m?.locale??v.locale??o.defaultLocale,x=m?.firstWeekContainsDate??m?.locale?.options?.firstWeekContainsDate??v.firstWeekContainsDate??v.locale?.options?.firstWeekContainsDate??1,_=m?.weekStartsOn??m?.locale?.options?.weekStartsOn??v.weekStartsOn??v.locale?.options?.weekStartsOn??0;if(""===e)return""===t?(0,a.toDate)(n):(0,r.constructFrom)(n,NaN);const w={firstWeekContainsDate:x,weekStartsOn:_,locale:b},S=[new c.DateToSystemTimezoneSetter],M=e.match(h).map((t=>{const e=t[0];if(e in s.longFormatters){return(0,s.longFormatters[e])(t,b.formatLong)}return t})).join("").match(d),I=[];for(let i of M){!m?.useAdditionalWeekYearTokens&&(0,l.isProtectedWeekYearToken)(i)&&(0,l.warnOrThrowProtectedError)(i,e,t),!m?.useAdditionalDayOfYearTokens&&(0,l.isProtectedDayOfYearToken)(i)&&(0,l.warnOrThrowProtectedError)(i,e,t);const o=i[0],a=u.parsers[o];if(a){const{incompatibleTokens:e}=a;if(Array.isArray(e)){const t=I.find((t=>e.includes(t.token)||t.token===o));
vendor: 4,141 bytes, line 7
7if(t)throw new RangeError(`The format string mustn't contain \`${t.fullToken}\` and \`${i}\` at the same time`)}else if("*"===a.incompatibleTokens&&I.length>0)throw new RangeError(`The format string mustn't contain \`${i}\` and any other token at the same time`);I.push({token:o,fullToken:i});const s=a.run(t,i,b.match,w);if(!s)return(0,r.constructFrom)(n,NaN);S.push(s.setter),t=s.rest}else{if(o.match(y))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");if("''"===i?i="'":"'"===o&&(i=i.match(f)[1].replace(p,"'")),0!==t.indexOf(i))return(0,r.constructFrom)(n,NaN);t=t.slice(i.length)}}if(t.length>0&&g.test(t))return(0,r.constructFrom)(n,NaN);const A=S.map((t=>t.priority)).sort(((t,e)=>e-t)).filter(((t,e,n)=>n.indexOf(t)===e)).map((t=>S.filter((e=>e.priority===t)).sort(((t,e)=>e.subPriority-t.subPriority)))).map((t=>t[0]));let D=(0,a.toDate)(n);if(isNaN(D.getTime()))return(0,r.constructFrom)(n,NaN);const T={};for(const t of A){if(!t.validate(D,w))return(0,r.constructFrom)(n,NaN);const e=t.set(D,T,w);Array.isArray(e)?(D=e[0],Object.assign(T,e[1])):D=e}return(0,r.constructFrom)(n,D)},Object.defineProperty(e,"parsers",{enumerable:!0,get:function(){return u.parsers}});var r=n(28900),i=n(34396),o=n(43161),a=n(61576),s=n(91583),l=n(42906),u=n(30410),c=n(80039);const d=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,h=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,f=/^'([^]*?)'?$/,p=/''/g,g=/\S/,y=/[a-zA-Z]/},17935:function(t,e,n){"use strict";e.Parser=void 0;var r=n(80039);e.Parser=class{run(t,e,n,i){const o=this.parse(t,e,n,i);return o?{setter:new r.ValueSetter(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(t,e,n){return!0}}},80039:function(t,e,n){"use strict";e.ValueSetter=e.Setter=e.DateToSystemTimezoneSetter=void 0;var r=n(50194),i=n(28900);class o{subPriority=0;validate(t,e){return!0}}e.Setter=o;e.ValueSetter=class extends o{constructor(t,e,n,r,i){super(),this.value=t,this.validateValue=e,this.setValue=n,this.priority=r,i&&(this.subPriority=i)}validate(t,e){return this.validateValue(t,this.value,e)}set(t,e,n){return this.setValue(t,e,this.value,n)}};e.DateToSystemTimezoneSetter=class extends o{priority=10;subPriority=-1;set(t,e){return e.timestampIsSet?t:(0,i.constructFrom)(t,(0,r.transpose)(t,Date))}}},5023:function(t,e){"use strict";e.timezonePatterns=e.numericPatterns=void 0;e.numericPatterns={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},e.timezonePatterns={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/}},30410:function(t,e,n){"use strict";e.parsers=void 0;var r=n(23440),i=n(63479),o=n(61116),a=n(38306),s=n(16302),l=n(46614),u=n(53955),c=n(51792),d=n(96761),h=n(74185),f=n(5875),p=n(7714),g=n(4236),y=n(7524),m=n(10425),v=n(32514),b=n(9831),x=n(89163),_=n(53743),w=n(32417),S=n(39197),M=n(96370),I=n(33891),A=n(64100),D=n(38082),T=n(53954),C=n(55817),O=n(55846),P=n(69792),k=n(81431),$=n(85592);e.parsers={G:new r.EraParser,y:new i.YearParser,Y:new o.LocalWeekYearParser,R:new a.ISOWeekYearParser,u:new s.ExtendedYearParser,Q:new l.QuarterParser,q:new u.StandAloneQuarterParser,M:new c.MonthParser,L:new d.StandAloneMonthParser,w:new h.LocalWeekParser,I:new f.ISOWeekParser,d:new p.DateParser,D:new g.DayOfYearParser,E:new y.DayParser,e:new m.LocalDayParser,c:new v.StandAloneLocalDayParser,i:new b.ISODayParser,a:new x.AMPMParser,b:new _.AMPMMidnightParser,B:new w.DayPeriodParser,h:new S.Hour1to12Parser,H:new M.Hour0to23Parser,K:new I.Hour0To11Parser,k:new A.Hour1To24Parser,m:ne
vendor: 21,714 bytes, line 7
7w D.MinuteParser,s:new T.SecondParser,S:new C.FractionOfSecondParser,X:new O.ISOTimezoneWithZParser,x:new P.ISOTimezoneParser,t:new k.TimestampSecondsParser,T:new $.TimestampMillisecondsParser}},53743:function(t,e,n){"use strict";e.AMPMMidnightParser=void 0;var r=n(17935),i=n(63871);class o extends r.Parser{priority=80;parse(t,e,n){switch(e){case"b":case"bb":case"bbb":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,n){return t.setHours((0,i.dayPeriodEnumToHours)(n),0,0,0),t}incompatibleTokens=["a","B","H","k","t","T"]}e.AMPMMidnightParser=o},89163:function(t,e,n){"use strict";e.AMPMParser=void 0;var r=n(17935),i=n(63871);class o extends r.Parser{priority=80;parse(t,e,n){switch(e){case"a":case"aa":case"aaa":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,n){return t.setHours((0,i.dayPeriodEnumToHours)(n),0,0,0),t}incompatibleTokens=["b","B","H","k","t","T"]}e.AMPMParser=o},7714:function(t,e,n){"use strict";e.DateParser=void 0;var r=n(5023),i=n(17935),o=n(63871);const a=[31,28,31,30,31,30,31,31,30,31,30,31],s=[31,29,31,30,31,30,31,31,30,31,30,31];class l extends i.Parser{priority=90;subPriority=1;parse(t,e,n){switch(e){case"d":return(0,o.parseNumericPattern)(r.numericPatterns.date,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return(0,o.parseNDigits)(e.length,t)}}validate(t,e){const n=t.getFullYear(),r=(0,o.isLeapYearIndex)(n),i=t.getMonth();return r?e>=1&&e<=s[i]:e>=1&&e<=a[i]}set(t,e,n){return t.setDate(n),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}e.DateParser=l},4236:function(t,e,n){"use strict";e.DayOfYearParser=void 0;var r=n(5023),i=n(17935),o=n(63871);class a extends i.Parser{priority=90;subpriority=1;parse(t,e,n){switch(e){case"D":case"DD":return(0,o.parseNumericPattern)(r.numericPatterns.dayOfYear,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return(0,o.parseNDigits)(e.length,t)}}validate(t,e){const n=t.getFullYear();return(0,o.isLeapYearIndex)(n)?e>=1&&e<=366:e>=1&&e<=365}set(t,e,n){return t.setMonth(0,n),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}e.DayOfYearParser=a},7524:function(t,e,n){"use strict";e.DayParser=void 0;var r=n(94063),i=n(17935);class o extends i.Parser{priority=90;parse(t,e,n){switch(e){case"E":case"EE":case"EEE":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,n,i){return(t=(0,r.setDay)(t,n,i)).setHours(0,0,0,0),t}incompatibleTokens=["D","i","e","c","t","T"]}e.DayParser=o},32417:function(t,e,n){"use strict";e.DayPeriodParser=void 0;var r=n(17935),i=n(63871);class o extends r.Parser{priority=80;parse(t,e,n){switch(e){case"B":case"BB":case"BBB":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,n){return t.setHours((0,i.dayPeriodEnumToHours)(n),0,0,0),t}incompatibleTokens=["a","b","t","T"]}e.DayPeriodParser=o},23440:function(t,e,n){"use strict";e.EraParser=void 0;var r=n(17935);class i extends r.Parser{priority=140;parse(t,e,n){switch(e){case"G":case"GG":case"GGG":return n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"});case"GGGGG":return n.era(t,{width:"narrow"});default:return n.era(t,{width:"wide"})||n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"})}}set(t,e,n){return e.era=n,t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["R","u","t","T"]}e.EraParser=i},16302:function(t,e,n){"use strict";e.ExtendedYearParser=void 0;var r=n(17935),i=n(63871);class o extends r.Parser{priority=130;parse(t,e){return"u"===e?(0,i.parseNDigitsSigned)(4,t):(0,i.parseNDigitsSigned)(e.length,t)}set(t,e,n){return t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}e.ExtendedYearParser=o},55817:function(t,e,n){"use strict";e.FractionOfSecondParser=void 0;var r=n(17935),i=n(63871);class o extends r.Parser{priority=30;parse(t,e){return(0,i.mapValue)((0,i.parseNDigits)(e.length,t),(t=>Math.trunc(t*Math.pow(10,3-e.length))))}set(t,e,n){return t.setMilliseconds(n),t}incompatibleTokens=["t","T"]}e.FractionOfSecondParser=o},33891:function(t,e,n){"use strict";e.Hour0To11Parser=void 0;var r=n(5023),i=n(17935),o=n(63871);class a extends i.Parser{priority=70;parse(t,e,n){switch(e){case"K":return(0,o.parseNumericPattern)(r.numericPatterns.hour11h,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return(0,o.parseNDigits)(e.length,t)}}validate(t,e){return e>=0&&e<=11}set(t,e,n){return t.getHours()>=12&&n<12?t.setHours(n+12,0,0,0):t.setHours(n,0,0,0),t}incompatibleTokens=["h","H","k","t","T"]}e.Hour0To11Parser=a},96370:function(t,e,n){"use strict";e.Hour0to23Parser=void 0;var r=n(5023),i=n(17935),o=n(63871);class a extends i.Parser{priority=70;parse(t,e,n){switch(e){case"H":return(0,o.parseNumericPattern)(r.numericPatterns.hour23h,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return(0,o.parseNDigits)(e.length,t)}}validate(t,e){return e>=0&&e<=23}set(t,e,n){return t.setHours(n,0,0,0),t}incompatibleTokens=["a","b","h","K","k","t","T"]}e.Hour0to23Parser=a},64100:function(t,e,n){"use strict";e.Hour1To24Parser=void 0;var r=n(5023),i=n(17935),o=n(63871);class a extends i.Parser{priority=70;parse(t,e,n){switch(e){case"k":return(0,o.parseNumericPattern)(r.numericPatterns.hour24h,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return(0,o.parseNDigits)(e.length,t)}}validate(t,e){return e>=1&&e<=24}set(t,e,n){const r=n<=24?n%24:n;return t.setHours(r,0,0,0),t}incompatibleTokens=["a","b","h","H","K","t","T"]}e.Hour1To24Parser=a},39197:function(t,e,n){"use strict";e.Hour1to12Parser=void 0;var r=n(5023),i=n(17935),o=n(63871);class a extends i.Parser{priority=70;parse(t,e,n){switch(e){case"h":return(0,o.parseNumericPattern)(r.numericPatterns.hour12h,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return(0,o.parseNDigits)(e.length,t)}}validate(t,e){return e>=1&&e<=12}set(t,e,n){const r=t.getHours()>=12;return r&&n<12?t.setHours(n+12,0,0,0):r||12!==n?t.setHours(n,0,0,0):t.setHours(0,0,0,0),t}incompatibleTokens=["H","K","k","t","T"]}e.Hour1to12Parser=a},9831:function(t,e,n){"use strict";e.ISODayParser=void 0;var r=n(34868),i=n(17935),o=n(63871);class a extends i.Parser{priority=90;parse(t,e,n){const r=t=>0===t?7:t;switch(e){case"i":case"ii":return(0,o.parseNDigits)(e.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return(0,o.mapValue)(n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r);case"iiiii":return(0,o.mapValue)(n.day(t,{width:"narrow",context:"formatting"}),r);case"iiiiii":return(0,o.mapValue)(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r);default:return(0,o.mapValue)(n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r)}}validate(t,e){return e>=1&&e<=7}set(t,e,n){return(t=(0,r.setISODay)(t,n)).setHours(0,0,0,0),t}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}e.ISODayParser=a},69792:function(t,e,n){"use strict";e.ISOTimezoneParser=void 0;var r=n(28900),i=n(30879),o=n(5023),a=n(17935),s=n(63871);class l extends a.Parser{priority=10;parse(t,e){switch(e){case"x":return(0,s.parseTimezonePattern)(o.timezonePatterns.basicOptionalMinutes,t);case"xx":return(0,s.parseTimezonePattern)(o.timezonePatterns.basic,t);case"xxxx":return(0,s.parseTimezonePattern)(o.timezonePatterns.basicOptionalSeconds,t);case"xxxxx":return(0,s.parseTimezonePattern)(o.timezonePatterns.extendedOptionalSeconds,t);default:return(0,s.parseTimezonePattern)(o.timezonePatterns.extended,t)}}set(t,e,n){return e.timestampIsSet?t:(0,r.constructFrom)(t,t.getTime()-(0,i.getTimezoneOffsetInMilliseconds)(t)-n)}incompatibleTokens=["t","T","X"]}e.ISOTimezoneParser=l},55846:function(t,e,n){"use strict";e.ISOTimezoneWithZParser=void 0;var r=n(28900),i=n(30879),o=n(5023),a=n(17935),s=n(63871);class l extends a.Parser{priority=10;parse(t,e){switch(e){case"X":return(0,s.parseTimezonePattern)(o.timezonePatterns.basicOptionalMinutes,t);case"XX":return(0,s.parseTimezonePattern)(o.timezonePatterns.basic,t);case"XXXX":return(0,s.parseTimezonePattern)(o.timezonePatterns.basicOptionalSeconds,t);case"XXXXX":return(0,s.parseTimezonePattern)(o.timezonePatterns.extendedOptionalSeconds,t);default:return(0,s.parseTimezonePattern)(o.timezonePatterns.extended,t)}}set(t,e,n){return e.timestampIsSet?t:(0,r.constructFrom)(t,t.getTime()-(0,i.getTimezoneOffsetInMilliseconds)(t)-n)}incompatibleTokens=["t","T","x"]}e.ISOTimezoneWithZParser=l},5875:function(t,e,n){"use strict";e.ISOWeekParser=void 0;var r=n(11176),i=n(47147),o=n(5023),a=n(17935),s=n(63871);class l extends a.Parser{priority=100;parse(t,e,n){switch(e){case"I":return(0,s.parseNumericPattern)(o.numericPatterns.week,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return(0,s.parseNDigits)(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,n){return(0,i.startOfISOWeek)((0,r.setISOWeek)(t,n))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}e.ISOWeekParser=l},38306:function(t,e,n){"use strict";e.ISOWeekYearParser=void 0;var r=n(47147),i=n(28900),o=n(17935),a=n(63871);class s extends o.Parser{priority=130;parse(t,e){return"R"===e?(0,a.parseNDigitsSigned)(4,t):(0,a.parseNDigitsSigned)(e.length,t)}set(t,e,n){const o=(0,i.constructFrom)(t,0);return o.setFullYear(n,0,4),o.setHours(0,0,0,0),(0,r.startOfISOWeek)(o)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}e.ISOWeekYearParser=s},10425:function(t,e,n){"use strict";e.LocalDayParser=void 0;var r=n(94063),i=n(17935),o=n(63871);class a extends i.Parser{priority=90;parse(t,e,n,r){const i=t=>{const e=7*Math.floor((t-1)/7);return(t+r.weekStartsOn+6)%7+e};switch(e){case"e":case"ee":return(0,o.mapValue)((0,o.parseNDigits)(e.length,t),i);case"eo":return(0,o.mapValue)(n.ordinalNumber(t,{unit:"day"}),i);case"eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,n,i){return(t=(0,r.setDay)(t,n,i)).setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}e.LocalDayParser=a},74185:function(t,e,n){"use strict";e.LocalWeekParser=void 0;var r=n(71054),i=n(23480),o=n(5023),a=n(17935),s=n(63871);class l extends a.Parser{priority=100;parse(t,e,n){switch(e){case"w":return(0,s.parseNumericPattern)(o.numericPatterns.week,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return(0,s.parseNDigits)(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,n,o){return(0,i.startOfWeek)((0,r.setWeek)(t,n,o),o)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}e.LocalWeekParser=l},61116:function(t,e,n){"use strict";e.LocalWeekYearParser=void 0;var r=n(99364),i=n(23480),o=n(17935),a=n(63871);class s extends o.Parser{priority=130;parse(t,e,n){const r=t=>({year:t,isTwoDigitYear:"YY"===e});switch(e){case"Y":return(0,a.mapValue)((0,a.parseNDigits)(4,t),r);case"Yo":return(0,a.mapValue)(n.ordinalNumber(t,{unit:"year"}),r);default:return(0,a.mapValue)((0,a.parseNDigits)(e.length,t),r)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,n,o){const s=(0,r.getWeekYear)(t,o);if(n.isTwoDigitYear){const e=(0,a.normalizeTwoDigitYear)(n.year,s);return t.setFullYear(e,0,o.firstWeekContainsDate),t.setHours(0,0,0,0),(0,i.startOfWeek)(t,o)}const l="era"in e&&1!==e.era?1-n.year:n.year;return t.setFullYear(l,0,o.firstWeekContainsDate),t.setHours(0,0,0,0),(0,i.startOfWeek)(t,o)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}e.LocalWeekYearParser=s},38082:function(t,e,n){"use strict";e.MinuteParser=void 0;var r=n(5023),i=n(17935),o=n(63871);class a extends i.Parser{priority=60;parse(t,e,n){switch(e){case"m":return(0,o.parseNumericPattern)(r.numericPatterns.minute,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return(0,o.parseNDigits)(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,n){return t.setMinutes(n,0,0),t}incompatibleTokens=["t","T"]}e.MinuteParser=a},51792:function(t,e,n){"use strict";e.MonthParser=void 0;var r=n(5023),i=n(17935),o=n(63871);class a extends i.Parser{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(t,e,n){const i=t=>t-1;switch(e){case"M":return(0,o.mapValue)((0,o.parseNumericPattern)(r.numericPatterns.month,t),i);case"MM":return(0,o.mapValue)((0,o.parseNDigits)(2,t),i);case"Mo":return(0,o.mapValue)(n.ordinalNumber(t,{unit:"month"}),i);case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});default:return n.month(t,{width:"wide",context:"formatting"})||n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=11}set(t,e,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}}e.MonthParser=a},46614:function(t,e,n){"use strict";e.QuarterParser=void 0;var r=n(17935),i=n(63871);class o extends r.Parser{priority=120;parse(t,e,n){switch(e){case"Q":case"QQ":return(0,i.parseNDigits)(e.length,t);case"Qo":return n.ordinalNumber(t,{unit:"quarter"});case"QQQ":return n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(t,{width:"narrow",context:"formatting"});default:return n.quarter(t,{width:"wide",context:"formatting"})||n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=1&&e<=4}set(t,e,n){return t.setMonth(3*(n-1),1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}e.QuarterParser=o},53954:function(t,e,n){"use strict";e.SecondParser=void 0;var r=n(5023),i=n(17935),o=n(63871);class a extends i.Parser{priority=50;parse(t,e,n){switch(e){case"s":return(0,o.parseNumericPattern)(r.numericPatterns.second,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return(0,o.parseNDigits)(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,n){return t.setSeconds(n,0),t}incompatibleTokens=["t","T"]}e.SecondParser=a},32514:function(t,e,n){"use strict";e.StandAloneLocalDayParser=void 0;var r=n(94063),i=n(17935),o=n(63871);class a extends i.Parser{priority=90;parse(t,e,n,r){const i=t=>{const e=7*Math.floor((t-1)/7);return(t+r.weekStartsOn+6)%7+e};switch(e){case"c":case"cc":return(0,o.mapValue)((0,o.parseNDigits)(e.length,t),i);case"co":return(0,o.mapValue)(n.ordinalNumber(t,{unit:"day"}),i);case"ccc":return n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"ccccc":return n.day(t,{width:"narrow",context:"standalone"});case"cccccc":return n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});default:return n.day(t,{width:"wide",context:"standalone"})||n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=6}set(t,e,n,i){return(t=(0,r.setDay)(t,n,i)).setHours(0,0,0,0),t}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}e.StandAloneLocalDayParser=a},96761:function(t,e,n){"use strict";e.StandAloneMonthParser=void 0;var r=n(5023),i=n(17935),o=n(63871);class a extends i.Parser{priority=110;parse(t,e,n){const i=t=>t-1;switch(e){case"L":return(0,o.mapValue)((0,o.parseNumericPattern)(r.numericPatterns.month,t),i);case"LL":return(0,o.mapValue)((0,o.parseNDigits)(2,t),i);case"Lo":return(0,o.mapValue)(n.ordinalNumber(t,{unit:"month"}),i);case"LLL":return n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(t,{width:"narrow",context:"standalone"});default:return n.month(t,{width:"wide",context:"standalone"})||n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=11}set(t,e,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}e.StandAloneMonthParser=a},53955:function(t,e,n){"use strict";e.StandAloneQuarterParser=void 0;var r=n(17935),i=n(63871);class o extends r.Parser{priority=120;parse(t,e,n){switch(e){case"q":case"qq":return(0,i.parseNDigits)(e.length,t);case"qo":return n.ordinalNumber(t,{unit:"quarter"});case"qqq":return n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(t,{width:"narrow",context:"standalone"});default:return n.quarter(t,{width:"wide",context:"standalone"})||n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=1&&e<=4}set(t,e,n){return t.setMonth(3*(n-1),1),t.setHours(0,0,0,0),t}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}e.StandAloneQuarterParser=o},85592:function(t,e,n){"use strict";e.TimestampMillisecondsParser=void 0;var r=n(28900),i=n(17935),o=n(63871);class a extends i.Parser{priority=20;parse(t){return(0,o.parseAnyDigitsSigned)(t)}set(t,e,n){return[(0,r.constructFrom)(t,n),{timestampIsSet:!0}]}incompatibleTokens="*"}e.TimestampMillisecondsParser=a},81431:function(t,e,n){"use strict";e.TimestampSecondsParser=void 0;var r=n(28900),i=n(17935),o=n(63871);class a extends i.Parser{priority=40;parse(t){return(0,o.parseAnyDigitsSigned)(t)}set(t,e,n){return[(0,r.constructFrom)(t,1e3*n),{timestampIsSet:!0}]}incompatibleTokens="*"}e.TimestampSecondsParser=a},63479:function(t,e,n){"use strict";e.YearParser=void 0;var r=n(17935),i=n(63871);class o extends r.Parser{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(t,e,n){const r=t=>({year:t,isTwoDigitYear:"yy"===e});switch(e){case"y":return(0,i.mapValue)((0,i.parseNDigits)(4,t),r);case"yo":return(0,i.mapValue)(n.ordinalNumber(t,{unit:"year"}),r);default:return(0,i.mapValue)((0,i.parseNDigits)(e.length,t),r)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,n){const r=t.getFullYear();if(n.isTwoDigitYear){const e=(0,i.normalizeTwoDigitYear)(n.year,r);return t.setFullYear(e,0,1),t.setHours(0,0,0,0),t}const o="era"in e&&1!==e.era?1-n.year:n.year;return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}}e.YearParser=o},63871:function(t,e,n){"use strict";e.dayPeriodEnumToHours=function(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}},e.isLeapYearIndex=function(t){return t%400==0||t%4==0&&t%100!=0},e.mapValue=function(t,e){if(!t)return t;return{value:e(t.value),rest:t.rest}},e.normalizeTwoDigitYear=function(t,e){const n=e>0,r=n?e:1-e;let i;if(r<=50)i=t||100;else{const e=r+50;i=t+100*Math.trunc(e/100)-(t>=e%100?100:0)}return n?i:1-i},e.parseAnyDigitsSigned=function(t){return o(i.numericPatterns.anyDigitsSigned,t)},e.parseNDigits=function(t,e){switch(t){case 1:return o(i.numericPatterns.singleDigit,e);case 2:return o(i.numericPatterns.twoDigits,e);case 3:return o(i.numericPatterns.threeDigits,e);case 4:return o(i.numericPatterns.fourDigits,e);default:return o(new RegExp("^\\d{1,"+t+"}"),e)}},e.parseNDigitsSigned=function(t,e){switch(t){case 1:return o(i.numericPatterns.singleDigitSigned,e);case 2:return o(i.numericPatterns.twoDigitsSigned,e);case 3:return o(i.numericPatterns.threeDigitsSigned,e);case 4:return o(i.numericPatterns.fourDigitsSigned,e);default:return o(new RegExp("^-?\\d{1,"+t+"}"),e)}},e.parseNumericPatter
vendor: 10,483 bytes, line 7
7n=o,e.parseTimezonePattern=function(t,e){const n=e.match(t);if(!n)return null;if("Z"===n[0])return{value:0,rest:e.slice(1)};const i="+"===n[1]?1:-1,o=n[2]?parseInt(n[2],10):0,a=n[3]?parseInt(n[3],10):0,s=n[5]?parseInt(n[5],10):0;return{value:i*(o*r.millisecondsInHour+a*r.millisecondsInMinute+s*r.millisecondsInSecond),rest:e.slice(n[0].length)}};var r=n(6544),i=n(5023);function o(t,e){const n=e.match(t);return n?{value:parseInt(n[0],10),rest:e.slice(n[0].length)}:null}},55137:function(t,e,n){"use strict";e.parseISO=function(t,e){const n=e?.additionalDigits??2,h=function(t){const e={},n=t.split(i.dateTimeDelimiter);let r;if(n.length>2)return e;/:/.test(n[0])?r=n[0]:(e.date=n[0],r=n[1],i.timeZoneDelimiter.test(e.date)&&(e.date=t.split(i.timeZoneDelimiter)[0],r=t.substr(e.date.length,t.length)));if(r){const t=i.timezone.exec(r);t?(e.time=r.replace(t[1],""),e.timezone=t[1]):e.time=r}return e}(t);let f;if(h.date){const t=function(t,e){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),r=t.match(n);if(!r)return{year:NaN,restDateString:""};const i=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return{year:null===o?i:100*o,restDateString:t.slice((r[1]||r[2]).length)}}(h.date,n);f=function(t,e){if(null===e)return new Date(NaN);const n=t.match(o);if(!n)return new Date(NaN);const r=!!n[4],i=l(n[1]),a=l(n[2])-1,s=l(n[3]),u=l(n[4]),h=l(n[5])-1;if(r)return function(t,e,n){return e>=1&&e<=53&&n>=0&&n<=6}(0,u,h)?function(t,e,n){const r=new Date(0);r.setUTCFullYear(t,0,4);const i=r.getUTCDay()||7,o=7*(e-1)+n+1-i;return r.setUTCDate(r.getUTCDate()+o),r}(e,u,h):new Date(NaN);{const t=new Date(0);return function(t,e,n){return e>=0&&e<=11&&n>=1&&n<=(c[e]||(d(t)?29:28))}(e,a,s)&&function(t,e){return e>=1&&e<=(d(t)?366:365)}(e,i)?(t.setUTCFullYear(e,a,Math.max(i,s)),t):new Date(NaN)}}(t.restDateString,t.year)}if(!f||isNaN(f.getTime()))return new Date(NaN);const p=f.getTime();let g,y=0;if(h.time&&(y=function(t){const e=t.match(a);if(!e)return NaN;const n=u(e[1]),i=u(e[2]),o=u(e[3]);if(!function(t,e,n){if(24===t)return 0===e&&0===n;return n>=0&&n<60&&e>=0&&e<60&&t>=0&&t<25}(n,i,o))return NaN;return n*r.millisecondsInHour+i*r.millisecondsInMinute+1e3*o}(h.time),isNaN(y)))return new Date(NaN);if(!h.timezone){const t=new Date(p+y),e=new Date(0);return e.setFullYear(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()),e.setHours(t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()),e}if(g=function(t){if("Z"===t)return 0;const e=t.match(s);if(!e)return 0;const n="+"===e[1]?-1:1,i=parseInt(e[2]),o=e[3]&&parseInt(e[3])||0;if(!function(t,e){return e>=0&&e<=59}(0,o))return NaN;return n*(i*r.millisecondsInHour+o*r.millisecondsInMinute)}(h.timezone),isNaN(g))return new Date(NaN);return new Date(p+y+g)};var r=n(6544);const i={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},o=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,a=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,s=/^([+-])(\d{2})(?::?(\d{2}))?$/;function l(t){return t?parseInt(t):1}function u(t){return t&&parseFloat(t.replace(",","."))||0}const c=[31,null,31,30,31,30,31,31,30,31,30,31];function d(t){return t%400==0||t%4==0&&t%100!=0}},47968:function(t,e){"use strict";e.parseJSON=function(t){const e=t.match(/(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(?:\.(\d{0,7}))?(?:Z|(.)(\d{2}):?(\d{2})?)?/);if(e)return new Date(Date.UTC(+e[1],+e[2]-1,+e[3],+e[4]-(+e[9]||0)*("-"==e[8]?-1:1),+e[5]-(+e[10]||0)*("-"==e[8]?-1:1),+e[6],+((e[7]||"0")+"00").substring(0,3)));return new Date(NaN)}},84288:function(t,e,n){"use strict";e.previousDay=function(t,e){let n=(0,r.getDay)(t)-e;n<=0&&(n+=7);return(0,i.subDays)(t,n)};var r=n(72219),i=n(47024)},91819:function(t,e,n){"use strict";e.previousFriday=function(t){return(0,r.previousDay)(t,5)};var r=n(84288)},2e4:function(t,e,n){"use strict";e.previousMonday=function(t){return(0,r.previousDay)(t,1)};var r=n(84288)},72591:function(t,e,n){"use strict";e.previousSaturday=function(t){return(0,r.previousDay)(t,6)};var r=n(84288)},45088:function(t,e,n){"use strict";e.previousSunday=function(t){return(0,r.previousDay)(t,0)};var r=n(84288)},32378:function(t,e,n){"use strict";e.previousThursday=function(t){return(0,r.previousDay)(t,4)};var r=n(84288)},8125:function(t,e,n){"use strict";e.previousTuesday=function(t){return(0,r.previousDay)(t,2)};var r=n(84288)},41186:function(t,e,n){"use strict";e.previousWednesday=function(t){return(0,r.previousDay)(t,3)};var r=n(84288)},62234:function(t,e,n){"use strict";e.quartersToMonths=function(t){return Math.trunc(t*r.monthsInQuarter)};var r=n(6544)},58527:function(t,e,n){"use strict";e.quartersToYears=function(t){const e=t/r.quartersInYear;return Math.trunc(e)};var r=n(6544)},34125:function(t,e,n){"use strict";e.roundToNearestHours=function(t,e){const n=e?.nearestTo??1;if(n<1||n>12)return(0,i.constructFrom)(t,NaN);const a=(0,o.toDate)(t),s=a.getMinutes()/60,l=a.getSeconds()/60/60,u=a.getMilliseconds()/1e3/60/60,c=a.getHours()+s+l+u,d=e?.roundingMethod??"round",h=(0,r.getRoundingMethod)(d)(c/n)*n,f=(0,i.constructFrom)(t,a);return f.setHours(h,0,0,0),f};var r=n(14047),i=n(28900),o=n(61576)},4671:function(t,e,n){"use strict";e.roundToNearestMinutes=function(t,e){const n=e?.nearestTo??1;if(n<1||n>30)return(0,i.constructFrom)(t,NaN);const a=(0,o.toDate)(t),s=a.getSeconds()/60,l=a.getMilliseconds()/1e3/60,u=a.getMinutes()+s+l,c=e?.roundingMethod??"round",d=(0,r.getRoundingMethod)(c)(u/n)*n,h=(0,i.constructFrom)(t,a);return h.setMinutes(d,0,0),h};var r=n(14047),i=n(28900),o=n(61576)},74394:function(t,e,n){"use strict";e.secondsToHours=function(t){const e=t/r.secondsInHour;return Math.trunc(e)};var r=n(6544)},81683:function(t,e,n){"use strict";e.secondsToMilliseconds=function(t){return t*r.millisecondsInSecond};var r=n(6544)},21820:function(t,e,n){"use strict";e.secondsToMinutes=function(t){const e=t/r.secondsInMinute;return Math.trunc(e)};var r=n(6544)},90994:function(t,e,n){"use strict";e.set=function(t,e){let n=(0,o.toDate)(t);if(isNaN(+n))return(0,r.constructFrom)(t,NaN);null!=e.year&&n.setFullYear(e.year);null!=e.month&&(n=(0,i.setMonth)(n,e.month));null!=e.date&&n.setDate(e.date);null!=e.hours&&n.setHours(e.hours);null!=e.minutes&&n.setMinutes(e.minutes);null!=e.seconds&&n.setSeconds(e.seconds);null!=e.milliseconds&&n.setMilliseconds(e.milliseconds);return n};var r=n(28900),i=n(67075),o=n(61576)},2217:function(t,e,n){"use strict";e.setDate=function(t,e){const n=(0,r.toDate)(t);return n.setDate(e),n};var r=n(61576)},94063:function(t,e,n){"use strict";e.setDay=function(t,e,n){const a=(0,o.getDefaultOptions)(),s=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??a.weekStartsOn??a.locale?.options?.weekStartsOn??0,l=(0,i.toDate)(t),u=l.getDay(),c=(e%7+7)%7,d=7-s,h=e<0||e>6?e-(u+d)%7:(c+d)%7-(u+d)%7;return(0,r.addDays)(l,h)};var r=n(60153),i=n(61576),o=n(68613)},48151:function(t,e,n){"use strict";e.setDayOfYear=function(t,e){const n=(0,r.toDate)(t);return n.setMonth(0),n.setDate(e),n};var r=n(61576)},66416:function(t,e,n){"use strict";e.setDefaultOptions=function(t){const e={},n=(0,r.getDefaultOptions)();for(const t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(void 0===t[n]?delete e[n]:e[n]=t[n]);(0,r.setDefaultOptions)(e)};var r=n(68613)},44378:function(t,e,n){"use strict";e.setHours=function(t,e){const n=(0,r.toDate)(t);return n.setHours(e),n};var r=n(61576)},34868:function(t,e,n){"use strict";e.setISODay=function(t,e){const n=(0,o.toDate)(t),a=(0,i.getISODay)(n),s=e-a;return(0,r.addDays)(n,s)};var r=n(60153),i=n(52816),o=n(61576)},11176:function(t,e,n){"use strict";e.setISOWeek=function(t,e){const n=(0,i.toDate)(t),o=(0,r.getISOWeek)(n)-e;return n.setDate(n.getDate()-7*o),n};var r=n(71276),i=n(61576)},48857:function(t,e,n){"use strict";e.setISOWeekYear=function(t,e){let n=(0,a.toDate)(t);const s=(0,i.differenceInCalendarDays)(n,(0,o.startOfISOWeekYear)(n)),l=(0,r.constructFrom)(t,0);return l.setFullYear(e,0,4),l.setHours(0,0,0,0),n=(0,o.startOfISOWeekYear)(l),n.setDate(n.getDate()+s),n};var r=n(28900),i=n(34748),o=n(34910),a=n(61576)},40755:function(t,e,n){"use strict";e.setMilliseconds=function(t,e){const n=(0,r.toDate)(t);return n.setMilliseconds(e),n};var r=n(61576)},96764:function(t,e,n){"use strict";e.setMinutes=function(t,e){const n=(0,r.toDate)(t);return n.setMinutes(e),n};var r=n(61576)},67075:function(t,e,n){"use strict";e.setMonth=function(t,e){const n=(0,o.toDate)(t),a=n.getFullYear(),s=n.getDate(),l=(0,r.constructFrom)(t,0);l.setFullYear(a,e,15),l.setHours(0,0,0,0);const u=(0,i.getDaysInMonth)(l);return n.setMonth(e,Math.min(s,u)),n};var r=n(28900),i=n(45343),o=n(61576)},1573:function(t,e,n){"use strict";e.setQuarter=function(t,e){const n=(0,i.toDate)(t),o=Math.trunc(n.getMonth()/3)+1,a=e-o;return(0,r.setMonth)(n,n.getMonth()+3*a)};var r=n(67075),i=n(61576)},44780:function(t,e,n){"use strict";e.setSeconds=function(t,e){const n=(0,r.toDate)(t);return n.setSeconds(e),n};var r=n(61576)},71054:function(t,e,n){"use strict";e.setWeek=function(t,e,n){const o=(0,i.toDate)(t),a=(0,r.getWeek)(o,n)-e;return o.setDate(o.getDate()-7*a),o};var r=n(3301),i=n(61576)},60408:function(t,e,n){"use strict";e.setWeekYear=function(t,e,n){const l=(0,s.getDefaultOptions)(),u=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??l.firstWeekContainsDate??l.locale?.options?.firstWeekContainsDate??1;let c=(0,a.toDate)(t);const d=(0,i.differenceInCalendarDays)(c,(0,o.startOfWeekYear)(c,n)),h=(0,r.constructFrom)(t,0);return h.setFullYear(e,0,u),h.setHours(0,0,0,0),c=(0,o.startOfWeekYear)(h,n),c.setDate(c.getDate()+d),c};var r=n(28900),i=n(34748),o=n(61225),a=n(61576),s=n(68613)},8228:function(t,e,n){"use strict";e.setYear=function(t,e){const n=(0,i.toDate)(t);if(isNaN(+n))return(0,r.constructFrom)(t,NaN);return n.setFullYear(e),n};var r=n(28900),i=n(61576)},86436:function(t,e,n){"use strict";e.startOfDay=function(t){const e=(0,r.toDate)(t);return e.setHours(0,0,0,0),e};var r=n(61576)},63296:function(t,e,n){"use strict";e.startOfDecade=function(t){const e=(0,r.toDate)(t),n=e.getFullYear(),i=10*Math.floor(n/10);return e.setFullYear(i,0,1),e.setHours(0,0,0,0),e};var r=n(61576)},70838:function(t,e,n){"use strict";e.startOfHour=function(t){const e=(0,r.toDate)(t);return e.setMinutes(0,0,0),e};var r=n(61576)},47147:function(t,e,n){"use strict";e.startOfISOWeek=function(t){return(0,r.startOfWeek)(t,{weekStartsOn:1}
7)};var r=n(23480)},34910:function(t,e,n){"use strict";e.startOfISOWeekYear=function(t){const e=(0,r.getISOWeekYear)(t),n=(0,o.constructFrom)(t,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),(0,i.startOfISOWeek)(n)};var r=n(38325),i=n(47147),o=n(28900)},8400:function(t,e,n){"use strict";e.startOfMinute=function(t){const e=(0,r.toDate)(t);return e.setSeconds(0,0),e};var r=n(61576)},47876:function(t,e,n){"use strict";e.startOfMonth=function(t){const e=(0,r.toDate)(t);return e.setDate(1),e.setHours(0,0,0,0),e};var r=n(61576)},2682:function(t,e,n){"use strict";e.startOfQuarter=function(t){const e=(0,r.toDate)(t),n=e.getMonth(),i=n-n%3;return e.setMonth(i,1),e.setHours(0,0,0,0),e};var r=n(61576)},68248:function(t,e,n){"use strict";e.startOfSecond=function(t){const e=(0,r.toDate)(t);return e.setMilliseconds(0),e};var r=n(61576)},89915:function(t,e,n){"use strict";e.startOfToday=function(){return(0,r.startOfDay)(Date.now())};var r=n(86436)},13651:function(t,e){"use strict";e.startOfTomorrow=function(){const t=new Date,e=t.getFullYear(),n=t.getMonth(),r=t.getDate(),i=new Date(0);return i.setFullYear(e,n,r+1),i.setHours(0,0,0,0),i}},23480:function(t,e,n){"use strict";e.startOfWeek=function(t,e){const n=(0,i.getDefaultOptions)(),o=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=(0,r.toDate)(t),s=a.getDay(),l=(s<o?7:0)+s-o;return a.setDate(a.getDate()-l),a.setHours(0,0,0,0),a};var r=n(61576),i=n(68613)},61225:function(t,e,n){"use strict";e.startOfWeekYear=function(t,e){const n=(0,a.getDefaultOptions)(),s=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,l=(0,i.getWeekYear)(t,e),u=(0,r.constructFrom)(t,0);u.setFullYear(l,0,s),u.setHours(0,0,0,0);return(0,o.startOfWeek)(u,e)};var r=n(28900),i=n(99364),o=n(23480),a=n(68613)},92561:function(t,e,n){"use strict";e.startOfYear=function(t){const e=(0,r.toDate)(t),n=(0,i.constructFrom)(t,0);return n.setFullYear(e.getFullYear(),0,1),n.setHours(0,0,0,0),n};var r=n(61576),i=n(28900)},25122:function(t,e){"use strict";e.startOfYesterday=function(){const t=new Date,e=t.getFullYear(),n=t.getMonth(),r=t.getDate(),i=new Date(0);return i.setFullYear(e,n,r-1),i.setHours(0,0,0,0),i}},22823:function(t,e,n){"use strict";e.sub=function(t,e){const{years:n=0,months:a=0,weeks:s=0,days:l=0,hours:u=0,minutes:c=0,seconds:d=0}=e,h=(0,i.subMonths)(t,a+12*n),f=(0,r.subDays)(h,l+7*s),p=1e3*(d+60*(c+60*u));return(0,o.constructFrom)(t,f.getTime()-p)};var r=n(47024),i=n(51932),o=n(28900)},81474:function(t,e,n){"use strict";e.subBusinessDays=function(t,e){return(0,r.addBusinessDays)(t,-e)};var r=n(25631)},47024:function(t,e,n){"use strict";e.subDays=function(t,e){return(0,r.addDays)(t,-e)};var r=n(60153)},8060:function(t,e,n){"use strict";e.subHours=function(t,e){return(0,r.addHours)(t,-e)};var r=n(34215)},21542:function(t,e,n){"use strict";e.subISOWeekYears=function(t,e){return(0,r.addISOWeekYears)(t,-e)};var r=n(9703)},28737:function(t,e,n){"use strict";e.subMilliseconds=function(t,e){return(0,r.addMilliseconds)(t,-e)};var r=n(29244)},48610:function(t,e,n){"use strict";e.subMinutes=function(t,e){return(0,r.addMinutes)(t,-e)};var r=n(77317)},51932:function(t,e,n){"use strict";e.subMonths=function(t,e){return(0,r.addMonths)(t,-e)};var r=n(53521)},52790:function(t,e,n){"use strict";e.subQuarters=function(t,e){return(0,r.addQuarters)(t,-e)};var r=n(32463)},80430:function(t,e,n){"use strict";e.subSeconds=function(t,e){return(0,r.addSeconds)(t,-e)};var r=n(50105)},57206:function(t,e,n){"use strict";e.subWeeks=function(t,e){return(0,r.addWeeks)(t,-e)};var r=n(37177)},62449:function(t,e,n){"use strict";e.subYears=function(t,e){return(0,r.addYears)(t,-e)};var r=n(14026)},61576:function(t,e){"use strict";e.toDate=function(t){const e=Object.prototype.toString.call(t);return t instanceof Date||"object"==typeof t&&"[object Date]"===e?new t.constructor(+t):"number"==typeof t||"[object Number]"===e||"string"==typeof t||"[object String]"===e?new Date(t):new Date(NaN)}},50194:function(t,e,n){"use strict";e.transpose=function(t,e){const n=e instanceof Date?(0,r.constructFrom)(e,0):new e(0);return n.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),n.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),n};var r=n(28900)},54370:function(t,e,n){"use strict";e.weeksToDays=function(t){return Math.trunc(t*r.daysInWeek)};var r=n(6544)},48837:function(t,e,n){"use strict";e.yearsToDays=function(t){return Math.trunc(t*r.daysInYear)};var r=n(6544)},17301:function(t,e,n){"use strict";e.yearsToMonths=function(t){return Math.trunc(t*r.monthsInYear)};var r=n(6544)},65387:function(t,e,n){"use strict";e.yearsToQuarters=function(t){return Math.trunc(t*r.quartersInYear)};var r=n(6544)},251:function(t,e){ 8/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ 9e.read=function(t,e,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,u=l>>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<<u)-1,d=c>>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<<i|s,u+=i;u>0;t[n+f]=255&a,f+=p,a/=256,u-=8);t[n+f-p]|=128*g}},64634:function(t){var e={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==e.call(t)}},76798:function(t){"use strict";
vendor: 2,688 bytes, line 9
9t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=t(e);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,r){"string"==typeof t&&(t=[[null,t,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<t.length;s++){var l=[].concat(t[s]);r&&i[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),e.push(l))}},e}},48086:function(t,e,n){"use strict";t.exports=n(73527)},65606:function(t){var e,n,r=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(t){if(e===setTimeout)return setTimeout(t,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(n){try{return e.call(null,t,0)}catch(n){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:i}catch(t){e=i}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(t){n=o}}();var s,l=[],u=!1,c=-1;function d(){u&&s&&(u=!1,s.length?l=s.concat(l):c=-1,l.length&&h())}function h(){if(!u){var t=a(d);u=!0;for(var e=l.length;e;){for(s=l,l=[];++c<e;)s&&s[c].run();c=-1,e=l.length}s=null,u=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{return n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(t)}}function f(t,e){this.fun=t,this.array=e}function p(){}r.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];l.push(new f(t,e)),1!==l.length||u||a(h)},f.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=p,r.addListener=p,r.once=p,r.off=p,r.removeListener=p,r.removeAllListeners=p,r.emit=p,r.prependListener=p,r.prependOnceListener=p,r.listeners=function(t){return[]},r.binding=function(t){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},85072:function(t,e,n){"use strict";var r,i=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),a=[];function s(t){for(var e=-1,n=0;n<a.length;n++)if(a[n].identifier===t){e=n;break}return e}function l(t,e){for(var n={},r=[],i=0;i<t.length;
vendor: 3,384 bytes, line 9
9i++){var o=t[i],l=e.base?o[0]+e.base:o[0],u=n[l]||0,c="".concat(l," ").concat(u);n[l]=u+1;var d=s(c),h={css:o[1],media:o[2],sourceMap:o[3]};-1!==d?(a[d].references++,a[d].updater(h)):a.push({identifier:c,updater:y(h,e),references:1}),r.push(c)}return r}function u(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var a=o(t.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(e)}return e}var c,d=(c=[],function(t,e){return c[t]=e,c.filter(Boolean).join("\n")});function h(t,e,n,r){var i=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=d(e,i);else{var o=document.createTextNode(i),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function f(t,e,n){var r=n.css,i=n.media,o=n.sourceMap;if(i?t.setAttribute("media",i):t.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}var p=null,g=0;function y(t,e){var n,r,i;if(e.singleton){var o=g++;n=p||(p=u(e)),r=h.bind(null,n,o,!1),i=h.bind(null,n,o,!0)}else n=u(e),r=f.bind(null,n,e),i=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else i()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=i());var n=l(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var r=0;r<n.length;r++){var i=s(n[r]);a[i].references--}for(var o=l(t,e),u=0;u<n.length;u++){var c=s(n[u]);0===a[c].references&&(a[c].updater(),a.splice(c,1))}n=o}}}},57761:function(t,e,n){"use strict";function r(t){return r="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},r(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=Kt(n(13752)),o=Kt(n(33752)),a=Kt(n(50855)),s=Kt(n(43214)),l=Kt(n(40700)),u=Kt(n(59220)),c=Kt(n(72576)),d=Kt(n(69517)),h=Kt(n(77844)),f=Kt(n(3196)),p=Kt(n(35372)),g=Kt(n(17115)),y=Kt(n(57658)),m=Kt(n(99013)),v=Kt(n(58796)),b=Kt(n(1697)),x=Kt(n(7071)),_=Kt(n(14325)),w=qt(n(66529)),S=qt(n(98986)),M=Kt(n(21666)),I=Kt(n(93442)),A=Kt(n(33906)),D=Kt(n(37612)),T=Kt(n(75577)),C=Kt(n(8461)),O=Kt(n(74294)),P=Kt(n(29666)),k=Kt(n(49534)),$=Kt(n(31449)),E=Kt(n(72830)),L=Kt(n(99841)),N=Kt(n(43459)),R=Kt(n(76084)),F=qt(n(50995)),B=Kt(n(45926)),j=Kt(n(82002)),z=Kt(n(99546)),V=Kt(n(13735)),H=Kt(n(24641)),W=Kt(n(45467)),G=Kt(n(57086)),Y=Kt(n(31954)),U=qt(n(23641)),Z=Kt(n(55259)),X=Kt(n(59745)),q=Kt(n(33973)),K=Kt(n(29172)),J=Kt(n(75751)),Q=Kt(n(2056)),tt=Kt(n(29285)),et=Kt(n(46255)),nt=Kt(n(65186)),rt=Kt(n(31252)),it=Kt(n(61195)),ot=Kt(n(66658)),at=Kt(n(19266)),st=Kt(n(73609)),lt=Kt(n(61062)),ut=Kt(n(62645)),ct=Kt(n(27
vendor: 17,380 bytes, line 9
9717)),dt=Kt(n(92678)),ht=Kt(n(59717)),ft=Kt(n(60604)),pt=Kt(n(77741)),gt=qt(n(95251)),yt=Kt(n(60082)),mt=Kt(n(6782)),vt=Kt(n(25748)),bt=n(45777),xt=Kt(n(48033)),_t=Kt(n(66169)),wt=Kt(n(61578)),St=Kt(n(88447)),Mt=Kt(n(53832)),It=Kt(n(88342)),At=Kt(n(7673)),Dt=Kt(n(26617)),Tt=Kt(n(98274)),Ct=Kt(n(73583)),Ot=Kt(n(27349)),Pt=Kt(n(32337)),kt=Kt(n(64633)),$t=Kt(n(5830)),Et=qt(n(93939)),Lt=Kt(n(62309)),Nt=Kt(n(12483)),Rt=Kt(n(30317)),Ft=Kt(n(69790)),Bt=Kt(n(87677)),jt=Kt(n(561)),zt=Kt(n(61996)),Vt=Kt(n(410)),Ht=Kt(n(90629)),Wt=Kt(n(81128)),Gt=Kt(n(69234)),Yt=Kt(n(10676)),Ut=Kt(n(17179)),Zt=Kt(n(55366));function Xt(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(Xt=function(t){return t?n:e})(t)}function qt(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=r(t)&&"function"!=typeof t)return{default:t};var n=Xt(e);if(n&&n.has(t))return n.get(t);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&{}.hasOwnProperty.call(t,a)){var s=o?Object.getOwnPropertyDescriptor(t,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=t[a]}return i.default=t,n&&n.set(t,i),i}function Kt(t){return t&&t.__esModule?t:{default:t}}var Jt={version:"13.12.0",toDate:i.default,toFloat:o.default,toInt:a.default,toBoolean:s.default,equals:l.default,contains:u.default,matches:c.default,isEmail:d.default,isURL:h.default,isMACAddress:f.default,isIP:p.default,isIPRange:g.default,isFQDN:y.default,isBoolean:b.default,isIBAN:U.default,isBIC:Z.default,isAbaRouting:_.default,isAlpha:w.default,isAlphaLocales:w.locales,isAlphanumeric:S.default,isAlphanumericLocales:S.locales,isNumeric:M.default,isPassportNumber:I.default,isPort:A.default,isLowercase:D.default,isUppercase:T.default,isAscii:O.default,isFullWidth:P.default,isHalfWidth:k.default,isVariableWidth:$.default,isMultibyte:E.default,isSemVer:L.default,isSurrogatePair:N.default,isInt:R.default,isIMEI:C.default,isFloat:F.default,isFloatLocales:F.locales,isDecimal:B.default,isHexadecimal:j.default,isOctal:z.default,isDivisibleBy:V.default,isHexColor:H.default,isRgbColor:W.default,isHSL:G.default,isISRC:Y.default,isMD5:X.default,isHash:q.default,isJWT:K.default,isJSON:J.default,isEmpty:Q.default,isLength:tt.default,isLocale:x.default,isByteLength:et.default,isUUID:nt.default,isMongoId:rt.default,isAfter:it.default,isBefore:ot.default,isIn:at.default,isLuhnNumber:st.default,isCreditCard:lt.default,isIdentityCard:ut.default,isEAN:ct.default,isISIN:dt.default,isISBN:ht.default,isISSN:ft.default,isMobilePhone:gt.default,isMobilePhoneLocales:gt.locales,isPostalCode:Et.default,isPostalCodeLocales:Et.locales,isEthereumAddress:yt.default,isCurrency:mt.default,isBtcAddress:vt.default,isISO6346:bt.isISO6346,isFreightContainerID:bt.isFreightContainerID,isISO6391:xt.default,isISO8601:_t.default,isRFC3339:wt.default,isISO31661Alpha2:St.default,isISO31661Alpha3:Mt.default,isISO4217:It.default,isBase32:At.default,isBase58:Dt.default,isBase64:Tt.default,isDataURI:Ct.default,isMagnetURI:Ot.default,isMailtoURI:Pt.default,isMimeType:kt.default,isLatLong:$t.default,ltrim:Lt.default,rtrim:Nt.default,trim:Rt.default,escape:Ft.default,unescape:Bt.default,stripLow:jt.default,whitelist:zt.default,blacklist:Vt.default,isWhitelisted:Ht.default,normalizeEmail:Wt.default,toString:toString,isSlug:Gt.default,isStrongPassword:Ut.default,isTaxID:pt.default,isDate:m.default,isTime:v.default,isLicensePlate:Yt.default,isVAT:Zt.default,ibanLocales:U.locales};e.default=Jt;t.exports=e.default,t.exports.default=e.default},13237:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.farsiLocales=e.englishLocales=e.dotDecimal=e.decimal=e.commaDecimal=e.bengaliLocales=e.arabicLocales=e.alphanumeric=e.alpha=void 0;for(var n,r=e.alpha={"en-US":/^[A-Z]+$/i,"az-AZ":/^[A-VXYZÃÆÄİıÃÅÃ]+$/i,"bg-BG":/^[Ð-Я]+$/i,"cs-CZ":/^[A-ZÃÄÄÃÄÃÅÃÅŠŤÃŮÎ]+$/i,"da-DK":/^[A-ZÃÃÃ
]+$/i,"de-DE":/^[A-ZÃÃÃÃ]+$/i,"el-GR":/^[Î-Ï]+$/i,"es-ES":/^[A-ZÃÃÃÃÃÃÃ]+$/i,"fa-IR":/^[Ø§Ø¨Ù¾ØªØ«Ø¬ÚØØ®Ø¯Ø°Ø±Ø²ÚØ³Ø´ØµØ¶Ø·Ø¸Ø¹ØºÙÙÚ©Ú¯ÙÙ
ÙÙÙÛ]+$/i,"fi-FI":/^[A-ZÃ
ÃÃ]+$/i,"fr-FR":/^[A-ZÃÃÃÃÃÃÃÃÃÃÃÅÃÃß]+$/i,"it-IT":/^[A-ZÃÃÃÃÃÃÃÃ]+$/i,"ja-JP":/^[ã-ãã¡-ã¶ï½¦-ï¾ä¸-é¾ ã¼ã»ãã]+$/i,"nb-NO":/^[A-ZÃÃÃ
]+$/i,"nl-NL":/^[A-ZÃÃÃÃÃÃÃÃ]+$/i,"nn-NO":/^[A-ZÃÃÃ
]+$/i,"hu-HU":/^[A-ZÃÃÃÃÃÅÃÃŰ]+$/i,"pl-PL":/^[A-ZÄÄÄÅÅÅÃŻŹ]+$/i,"pt-PT":/^[A-ZÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃ]+$/i,"ru-RU":/^[Ð-ЯÐ]+$/i,"kk-KZ":/^[Ð-ЯÐ\u04D8\u04B0\u0406\u04A2\u0492\u04AE\u049A\u04E8\u04BA]+$/i,"sl-SI":/^[A-ZÄÄÄŠŽ]+$/i,"sk-SK":/^[A-ZÃÄÄÃÃÅÊŤÃÃŽĹÅĽÃÃ]+$/i,"sr-RS@latin":/^[A-ZÄÄŽŠÄ]+$/i,"sr-RS":/^[Ð-ЯÐÐÐÐÐÐ]+$/i,"sv-SE":/^[A-ZÃ
ÃÃ]+$/i,"th-TH":/^[à¸-à¹\s]+$/i,"tr-TR":/^[A-ZÃÄİıÃÅÃ]+$/i,"uk-UA":/^[Ð-ЩЬЮЯÐIÐÒÑ]+$/i,"vi-VN":/^[A-ZÃÃẠẢÃÃẦẤẬẨẪÄẰẮẶẲẴÄÃÃẸẺẼÃá»áº¾á»á»á»ÃÃá»á»Ä¨ÃÃá»á»ÃÃá»á»á»á»á»Æ á»á»á»¢á»á» ÃÃỤỦŨƯỪỨỰỬỮỲÃỴỶỸ]+$/i,"ko-KR":/^[ã±-ã
ã
-ã
£ê°-í£]*$/,"ku-IQ":/^[Ø¦Ø§Ø¨Ù¾ØªØ¬ÚØØ®Ø¯Ø±ÚØ²ÚسشعغÙÚ¤ÙÚ©Ú¯ÙÚµÙ
ÙÙÛÚ¾ÛÛÛÙØ·Ø¤Ø«Ø¢Ø¥Ø£Ùضصةظذ]+$/i,ar:/^[Ø¡Ø¢Ø£Ø¤Ø¥Ø¦Ø§Ø¨Ø©ØªØ«Ø¬ØØ®Ø¯Ø°Ø±Ø²Ø³Ø´ØµØ¶Ø·Ø¸Ø¹ØºÙÙÙÙÙ
ÙÙÙÙÙÙÙÙÙÙÙÙÙÙ°]+$/,he:/^[×-ת]+$/,fa:/^['Ø¢Ø§Ø¡Ø£Ø¤Ø¦Ø¨Ù¾ØªØ«Ø¬ÚØØ®Ø¯Ø°Ø±Ø²ÚØ³Ø´ØµØ¶Ø·Ø¸Ø¹ØºÙÙÚ©Ú¯ÙÙ
ÙÙÙØ©Û']+$/i,bn:/^['à¦à¦à¦à¦à¦
à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦ ডঢণতথদধনপফবà¦à¦®à¦¯à¦°à¦²à¦¶à¦·à¦¸à¦¹à¦¼à¦½à¦¾à¦¿à§à§à§à§à§à§à§à§à§à§à§à§à§à§à§à§ ৡৢৣৰৱ৲৳৴৵৶৷৸৹৺৻']+$/,eo:/^[ABCÄD-GÄHĤIJÄ´K-PRSÅTUŬVZ]+$/i,"hi-IN":/^[\u0900-\u0961]+[\u0972-\u097F]*$/i,"si-LK":/^[\u0D80-\u0DFF]+$/},i=e.alphanumeric={"en-US":/^[0-9A-Z]+$/i,"az-AZ":/^[0-9A-VXYZÃÆÄİıÃÅÃ]+$/i,"bg-BG":/^[0-9Ð-Я]+$/i,"cs-CZ":/^[0-9A-ZÃÄÄÃÄÃÅÃÅŠŤÃŮÎ]+$/i,"da-DK":/^[0-9A-ZÃÃÃ
]+$/i,"de-DE":/^[0-9A-ZÃÃÃÃ]+$/i,"el-GR":/^[0-9Î-Ï]+$/i,"es-ES":/^[0-9A-ZÃÃÃÃÃÃÃ]+$/i,"fi-FI":/^[0-9A-ZÃ
ÃÃ]+$/i,"fr-FR":/^[0-9A-ZÃÃÃÃÃÃÃÃÃÃÃÅÃÃß]+$/i,"it-IT":/^[0-9A-ZÃÃÃÃÃÃÃÃ]+$/i,"ja-JP":/^[0-9ï¼-ï¼ã-ãã¡-ã¶ï½¦-ï¾ä¸-é¾ ã¼ã»ãã]+$/i,"hu-HU":/^[0-9A-ZÃÃÃÃÃÅÃÃŰ]+$/i,"nb-NO":/^[0-9A-ZÃÃÃ
]+$/i,"nl-NL":/^[0-9A-ZÃÃÃÃÃÃÃÃ]+$/i,"nn-NO":/^[0-9A-ZÃÃÃ
]+$/i,"pl-PL":/^[0-9A-ZÄÄÄÅÅÅÃŻŹ]+$/i,"pt-PT":/^[0-9A-ZÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃÃ]+$/i,"ru-RU":/^[0-9Ð-ЯÐ]+$/i,"kk-KZ":/^[0-9Ð-ЯÐ\u04D8\u04B0\u0406\u04A2\u0492\u04AE\u049A\u04E8\u04BA]+$/i,"sl-SI":/^[0-9A-ZÄÄÄŠŽ]+$/i,"sk-SK":/^[0-9A-ZÃÄÄÃÃÅÊŤÃÃŽĹÅĽÃÃ]+$/i,"sr-RS@latin":/^[0-9A-ZÄÄŽŠÄ]+$/i,"sr-RS":/^[0-9Ð-ЯÐÐÐÐÐÐ]+$/i,"sv-SE":/^[0-9A-ZÃ
ÃÃ]+$/i,"th-TH":/^[à¸-à¹\s]+$/i,"tr-TR":/^[0-9A-ZÃÄİıÃÅÃ]+$/i,"uk-UA":/^[0-9Ð-ЩЬЮЯÐIÐÒÑ]+$/i,"ko-KR":/^[0-9ã±-ã
ã
-ã
£ê°-í£]*$/,"ku-IQ":/^[٠١٢٣٤٥٦٧٨٩0-9Ø¦Ø§Ø¨Ù¾ØªØ¬ÚØØ®Ø¯Ø±ÚØ²ÚسشعغÙÚ¤ÙÚ©Ú¯ÙÚµÙ
ÙÙÛÚ¾ÛÛÛÙØ·Ø¤Ø«Ø¢Ø¥Ø£Ùضصةظذ]+$/i,"vi-VN":/^[0-9A-ZÃÃẠẢÃÃẦẤẬẨẪÄẰẮẶẲẴÄÃÃẸẺẼÃá»áº¾á»á»á»ÃÃá»á»Ä¨ÃÃá»á»ÃÃá»á»á»á»á»Æ á»á»á»¢á»á» ÃÃỤỦŨƯỪỨỰỬỮỲÃỴỶỸ]+$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9Ø¡Ø¢Ø£Ø¤Ø¥Ø¦Ø§Ø¨Ø©ØªØ«Ø¬ØØ®Ø¯Ø°Ø±Ø²Ø³Ø´ØµØ¶Ø·Ø¸Ø¹ØºÙÙÙÙÙ
ÙÙÙÙÙÙÙÙÙÙÙÙÙÙ°]+$/,he:/^[0-9×-ת]+$/,fa:/^['0-9Ø¢Ø§Ø¡Ø£Ø¤Ø¦Ø¨Ù¾ØªØ«Ø¬ÚØØ®Ø¯Ø°Ø±Ø²ÚØ³Ø´ØµØ¶Ø·Ø¸Ø¹ØºÙÙÚ©Ú¯ÙÙ
ÙÙÙØ©ÛÛ±Û²Û³Û´ÛµÛ¶Û·Û¸Û¹Û°']+$/i,bn:/^['à¦à¦à¦à¦à¦
à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦à¦ ডঢণতথদধনপফবà¦à¦®à¦¯à¦°à¦²à¦¶à¦·à¦¸à¦¹à¦¼à¦½à¦¾à¦¿à§à§à§à§à§à§à§à§à§à§à§à§à§à§à§à§ ৡৢৣ০১২৩৪৫৬à§à§®à§¯à§°à§±à§²à§³à§´à§µà§¶à§·à§¸à§¹à§ºà§»']+$/,eo:/^[0-9ABCÄD-GÄHĤIJÄ´K-PRSÅTUŬVZ]+$/i,"hi-IN":/^[\u0900-\u0963]+[\u0966-\u097F]*$/i,"si-LK":/^[0-9\u0D80-\u0DFF]+$/},o=e.decimal={"en-US":".",ar:"Ù«"},a=e.englishLocales=["AU","GB","HK","IN","NZ","ZA","ZM"],s=0;s<a.length;s++)r[n="en-".concat(a[s])]=r["en-US"],i[n]=i["en-US"],o[n]=o["en-US"];for(var l,u=e.arabicLocales=["AE","BH","DZ","EG","IQ","JO","KW","LB","LY","MA","QM","QA","SA","SD","SY","TN","YE"],c=0;c<u.length;c++)r[l="ar-".concat(u[c])]=r.ar,i[l]=i.ar,o[l]=o.ar;for(var d,h=e.farsiLocales=["IR","AF"],f=0;f<h.length;f++)i[d="fa-".concat(h[f])]=i.fa,o[d]=o.ar;for(var p,g=e.bengaliLocales=["BD","IN"],y=0;y<g.length;y++)r[p="bn-".concat(g[y])]=r.bn,i[p]=i.bn,o[p]=o["en-US"];for(var m=e.dotDecimal=["ar-EG","ar-LB","ar-LY"],v=e.commaDecimal=["bg-BG","cs-CZ","da-DK","de-DE","el-GR","en-ZM","eo","es-ES","fr-CA","fr-FR","id-ID","it-IT","ku-IQ","hi-IN","hu-HU","nb-NO","nn-NO","nl-NL","pl-PL","pt-PT","ru-RU","kk-KZ","si-LK","sl-SI","sr-RS@latin","sr-RS","sv-SE","tr-TR","uk-UA","vi-VN"],b=0;b<m.length;b++)o[m[b]]=o["en-US"];for(var x=0;x<v.length;x++)o[v[x]]=",";r["fr-CA"]=r["fr-FR"],i["fr-CA"]=i["fr-FR"],r["pt-BR"]=r["pt-PT"],i["pt-BR"]=i["pt-PT"],o["pt-BR"]=o["pt-PT"],r["pl-Pl"]=r["pl-PL"],i["pl-Pl"]=i["pl-PL"],o["pl-Pl"]=o["pl-PL"],r["fa-AF"]=r.fa},410:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return(0,i.default)(t),t.replace(new RegExp("[".concat(e,"]+"),"g"),"")};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default},59220:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){if((0,r.default)(t),(n=(0,o.default)(n,s)).ignoreCase)return t.toLowerCase().split((0,i.default)(e).toLowerCase()).length>n.minOccurrences;return t.split((0,i.default)(e)).length>n.minOccurrences};var r=a(n(83399)),i=a(n(45772)),o=a(n(93610));function a(t){return t&&t.__esModule?t:{default:t}}var s={ignoreCase:!1,minOccurrences:1};t.exports=e.default,t.exports.default=e.default},40700:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return(0,i.default)(t),t===e};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default},69790:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t),t.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(/\//g,"/").replace(/\\/g,"\").replace(/`/g,"`")};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default},14325:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if((0,i.default)(t),!o.test(t))return!1;for(var e=0,n=0;n<t.length;n++)e+=n%3==0?3*t[n]:n%3==1?7*t[n]:1*t[n];return e%10==0};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=/^(?!(1[3-9])|(20)|(3[3-9])|(4[0-9])|(5[0-9])|(60)|(7[3-9])|(8[1-9])|(9[0-2])|(9[3-9]))[0-9]{9}$/;t.exports=e.default,t.exports.default=e.default},61195:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=(null==e?void 0:e.comparisonDate)||e||Date().toString(),r=(0,i.default)(n),o=(0,i.default)(t);return!!(o&&r&&o>r)};var r,i=(r=n(13752))&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default},66529:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,i.default)(t);var r=t,a=n.ignore;if(a)if(a instanceof RegExp)r=r.replace(a,"");else{if("string"!=typeof a)throw new Error("ignore should be instance of a String or RegExp");r=r.replace(new RegExp("[".concat(a.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(e in o.alpha)return o.alpha[e].test(r);throw new Error("Invalid locale '".concat(e,"'"))},e.locales=void 0;var r,i=(r=n(83399))&&r.__esModule?r:{default:r},o=n(13237);e.locales=Object.keys(o.alpha)},98986:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,i.default)(t);var r=t,a=n.ignore;if(a)if(a instanceof RegExp)r=r.replace(a,"");else{if("string"!=typeof a)throw new Error("ignore should be instance of a String or RegExp");r=r.replace(new RegExp("[".concat(a.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(e in o.alphanumeric)return o.alphanumeric[e].test(r);throw new Error("Invalid locale '".concat(e,"'"))},e.locales=void 0;var r,i=(r=n(83399))&&r.__esModule?r:{default:r},o=n(13237);e.locales=Object.keys(o.alphanumeric)},74294:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t),o.test(t)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=/^[\x00-\x7F]+$/;t.exports=e.default,t.exports.default=e.default},55259:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){(0,i.default)(t);var e=t.slice(4,6).toUpperCase();if(!o.CountryCodes.has(e)&&"XK"!==e)return!1;return a.test(t)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r},o=n(88447);var a=/^[A-Za-z]{6}[A-Za-z0-9]{2}([A-Za-z0-9]{3})?$/;t.exports=e.default,t.exports.default=e.default},7673:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if((0,r.default)(t),(e=(0,i.default)(e,l)).crockford)return s.test(t);if(t.length%8==0&&a.test(t))return!0;return!1};var r=o(n(83399)),i=o(n(93610));function o(t){return t&&t.__esModule?t:{default:t}}var a=/^[A-Z2-7]+=*$/,s=/^[A-HJKMNP-TV-Z0-9]+$/,l={crockford:!1};t.exports=e.default,t.exports.default=e.default},26617:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if((0,i.default)(t),o.test(t))return!0;return!1};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=/^[A-HJ-NP-Za-km-z1-9]*$/;t.exports=e.default,t.exports.default=e.default},98274:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){(0,r.default)(t),e=(0,i.default)(e,l);var n=t.length;if(e.urlSafe)return s.test(t);if(n%4!=0||a.test(t))return!1;var o=t.indexOf("=");return-1===o||o===n-1||o===n-2&&"="===t[n-1]};var r=o(n(83399)),i=o(n(93610));function o(t){return t&&t.__esModule?t:{default:t}}var a=/[^A-Z0-9+\/=]/i,s=/^[A-Z0-9_\-]*$/i,l={urlSafe:!1};t.exports=e.default,t.exports.default=e.default},66658:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,r.default)(t);var n=(0,i.default)(e),o=(0,i.default)(t);return!!(o&&n&&o<n)};var r=o(n(83399)),i=o(n(13752));function o(t){return t&&t.__esModule?t:{default:t}}t.exports=e.default,t.exports.default=e.default},1697:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;if((0,i.default)(t),e.loose)return s.includes(t.toLowerCase());return a.includes(t)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o={loose:!1},a=["true","false","1","0"],s=[].concat(a,["yes","no"]);t.exports=e.default,t.exports.default=e.default},25748:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t),o.test(t)||a.test(t)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=/^(bc1)[a-z0-9]{25,39}$/,a=/^(1|3)[A-HJ-NP-Za-km-z1-9]{25,39}$/;t.exports=e.default,t.exports.default=e.default},46255:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n,r;(0,i.default)(t),"object"===o(e)?(n=e.min||0,r=e.max):(n=arguments[1],r=arguments[2]);var a=encodeURI(t).split(/%..|./).length-1;return a>=n&&(void 0===r||a<=r)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};function o(t){return o="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},o(t)}t.exports=e.default,t.exports.default=e.default},61062:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,r.default)(t);var n=e.provider,o=t.replace(/[- ]+/g,"");if(n&&n.toLowerCase()in a){if(!a[n.toLowerCase()].test(o))return!1}else{if(n&&!(n.toLowerCase()in a))throw new Error("".concat(n," is not a valid credit card provider."));if(!s.some((function(t){return t.test(o)})))return!1}return(0,i.default)(t)};var r=o(n(83399)),i=o(n(73609));function o(t){return t&&t.__esModule?t:{default:t}}var a={amex:/^3[47][0-9]{13}$/,dinersclub:/^3(?:0[0-5]|[68][0-9])[0-9]{11}$/,discover:/^6(?:011|5[0-9][0-9])[0-9]{12,15}$/,jcb:/^(?:2131|1800|35\d{3})\d{11}$/,mastercard:/^5[1-5][0-9]{2}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}$/,unionpay:/^(6[27][0-9]{14}|^(81[0-9]{14,17}))$/,visa:/^(?:4[0-9]{12})(?:[0-9]{3,6})?$/},s=function(){var t=[];for(var e in a)a.hasOwnProperty(e)&&t.push(a[e]);return t}();t.exports=e.default,t.exports.default=e.default},6782:function(t,e,n){"use strict";
vendor: 1,569 bytes, line 9
9Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return(0,i.default)(t),function(t){var e="\\d{".concat(t.digits_after_decimal[0],"}");t.digits_after_decimal.forEach((function(t,n){0!==n&&(e="".concat(e,"|\\d{").concat(t,"}"))}));var n="(".concat(t.symbol.replace(/\W/,(function(t){return"\\".concat(t)})),")").concat(t.require_symbol?"":"?"),r="-?",i="[1-9]\\d{0,2}(\\".concat(t.thousands_separator,"\\d{3})*"),o="(".concat(["0","[1-9]\\d*",i].join("|"),")?"),a="(\\".concat(t.decimal_separator,"(").concat(e,"))").concat(t.require_decimal?"":"?"),s=o+(t.allow_decimal||t.require_decimal?a:"");t.allow_negatives&&!t.parens_for_negatives&&(t.negative_sign_after_digits?s+=r:t.negative_sign_before_digits&&(s=r+s));t.allow_negative_sign_placeholder?s="( (?!\\-))?".concat(s):t.allow_space_after_symbol?s=" ?".concat(s):t.allow_space_after_digits&&(s+="( (?!$))?");t.symbol_after_digits?s+=n:s=n+s;t.allow_negatives&&(t.parens_for_negatives?s="(\\(".concat(s,"\\)|").concat(s,")"):t.negative_sign_before_digits||t.negative_sign_after_digits||(s=r+s));return new RegExp("^(?!-? )(?=.*\\d)".concat(s,"$"))}(e=(0,r.default)(e,a)).test(t)};var r=o(n(93610)),i=o(n(83399));function o(t){return t&&t.__esModule?t:{default:t}}var a={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal
vendor: 20,367 bytes, line 9
9:[2],allow_space_after_digits:!1};t.exports=e.default,t.exports.default=e.default},73583:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){(0,i.default)(t);var e=t.split(",");if(e.length<2)return!1;var n=e.shift().trim().split(";"),r=n.shift();if("data:"!==r.slice(0,5))return!1;var l=r.slice(5);if(""!==l&&!o.test(l))return!1;for(var u=0;u<n.length;u++)if((u!==n.length-1||"base64"!==n[u].toLowerCase())&&!a.test(n[u]))return!1;for(var c=0;c<e.length;c++)if(!s.test(e[c]))return!1;return!0};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=/^[a-z]+\/[a-z0-9\-\+\._]+$/i,a=/^[a-z\-]+=[a-z0-9\-]+$/i,s=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;t.exports=e.default,t.exports.default=e.default},99013:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){e="string"==typeof e?(0,i.default)({format:e},s):(0,i.default)(e,s);if("string"==typeof t&&(x=e.format,/(^(y{4}|y{2})[.\/-](m{1,2})[.\/-](d{1,2})$)|(^(m{1,2})[.\/-](d{1,2})[.\/-]((y{4}|y{2})$))|(^(d{1,2})[.\/-](m{1,2})[.\/-]((y{4}|y{2})$))/gi.test(x))){var n,r=e.delimiters.find((function(t){return-1!==e.format.indexOf(t)})),a=e.strictMode?r:e.delimiters.find((function(e){return-1!==t.indexOf(e)})),l=function(t,e){for(var n=[],r=Math.min(t.length,e.length),i=0;i<r;i++)n.push([t[i],e[i]]);return n}(t.split(a),e.format.toLowerCase().split(r)),u={},c=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=o(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}(l);try{for(c.s();!(n=c.n()).done;){var d=(v=n.value,b=2,function(t){if(Array.isArray(t))return t}(v)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(v,b)||o(v,b)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),h=d[0],f=d[1];if(h.length!==f.length)return!1;u[f.charAt(0)]=h}}catch(t){c.e(t)}finally{c.f()}var p=u.y;if(p.startsWith("-"))return!1;if(2===u.y.length){var g=parseInt(u.y,10);if(isNaN(g))return!1;p=g<(new Date).getFullYear()%100?"20".concat(u.y):"19".concat(u.y)}var y=u.m;1===u.m.length&&(y="0".concat(u.m));var m=u.d;return 1===u.d.length&&(m="0".concat(u.d)),new Date("".concat(p,"-").concat(y,"-").concat(m,"T00:00:00.000Z")).getUTCDate()===+u.d}var v,b;var x;if(!e.strictMode)return"[object Date]"===Object.prototype.toString.call(t)&&isFinite(t);return!1};var r,i=(r=n(93610))&&r.__esModule?r:{default:r};function o(t,e){if(t){if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var s={format:"YYYY/MM/DD",delimiters:["/","-"],strictMode:!1};t.exports=e.default,t.exports.default=e.default},45926:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if((0,i.default)(t),(e=(0,r.default)(e,l)).locale in a.decimal)return!(0,o.default)(u,t.replace(/ /g,""))&&function(t){var e=new RegExp("^[-+]?([0-9]+)?(\\".concat(a.decimal[t.locale],"[0-9]{").concat(t.decimal_digits,"})").concat(t.force_decimal?"":"?","$"));return e}(e).test(t);throw new Error("Invalid locale '".concat(e.locale,"'"))};var r=s(n(93610)),i=s(n(83399)),o=s(n(79265)),a=n(13237);function s(t){return t&&t.__esModule?t:{default:t}}var l={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},u=["","-","+"];t.exports=e.default,t.exports.default=e.default},13735:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return(0,r.default)(t),(0,i.default)(t)%parseInt(e,10)==0};var r=o(n(83399)),i=o(n(33752));function o(t){return t&&t.__esModule?t:{default:t}}t.exports=e.default,t.exports.default=e.default},27717:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){(0,i.default)(t);var e=Number(t.slice(-1));return s.test(t)&&e===(n=t,r=10-n.slice(0,-1).split("").map((function(t,e){return Number(t)*function(t,e){return t===o||t===a?e%2==0?3:1:e%2==0?1:3}(n.length,e)})).reduce((function(t,e){return t+e}),0)%10,r<10?r:0);var n,r};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=8,a=14,s=/^(\d{8}|\d{13}|\d{14})$/;t.exports=e.default,t.exports.default=e.default},69517:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if((0,r.default)(t),(e=(0,s.default)(e,u)).require_display_name||e.allow_display_name){var n=t.match(c);if(n){var l=n[1];if(t=t.replace(l,"").replace(/(^<|>$)/g,""),l.endsWith(" ")&&(l=l.slice(0,-1)),!function(t){var e=t.replace(/^"(.+)"$/,"$1");if(!e.trim())return!1;if(/[\.";<>]/.test(e)){if(e===t)return!1;if(!(e.split('"').length===e.split('\\"').length))return!1}return!0}(l))return!1}else if(e.require_display_name)return!1}if(!e.ignore_max_length&&t.length>y)return!1;var m=t.split("@"),v=m.pop(),b=v.toLowerCase();if(e.host_blacklist.includes(b))return!1;if(e.host_whitelist.length>0&&!e.host_whitelist.includes(b))return!1;var x=m.join("@");if(e.domain_specific_validation&&("gmail.com"===b||"googlemail.com"===b)){var _=(x=x.toLowerCase()).split("+")[0];if(!(0,i.default)(_.replace(/\./g,""),{min:6,max:30}))return!1;for(var w=_.split("."),S=0;S<w.length;S++)if(!h.test(w[S]))return!1}if(!(!1!==e.ignore_max_length||(0,i.default)(x,{max:64})&&(0,i.default)(v,{max:254})))return!1;if(!(0,o.default)(v,{require_tld:e.require_tld,ignore_max_length:e.ignore_max_length,allow_underscores:e.allow_underscores})){if(!e.allow_ip_domain)return!1;if(!(0,a.default)(v)){if(!v.startsWith("[")||!v.endsWith("]"))return!1;var M=v.slice(1,-1);if(0===M.length||!(0,a.default)(M))return!1}}if('"'===x[0])return x=x.slice(1,x.length-1),e.allow_utf8_local_part?g.test(x):f.test(x);for(var I=e.allow_utf8_local_part?p:d,A=x.split("."),D=0;D<A.length;D++)if(!I.test(A[D]))return!1;if(e.blacklisted_chars&&-1!==x.search(new RegExp("[".concat(e.blacklisted_chars,"]+"),"g")))return!1;return!0};var r=l(n(83399)),i=l(n(46255)),o=l(n(57658)),a=l(n(35372)),s=l(n(93610));function l(t){return t&&t.__esModule?t:{default:t}}var u={allow_display_name:!1,allow_underscores:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1,host_blacklist:[],host_whitelist:[]},c=/^([^\x00-\x1F\x7F-\x9F\cX]+)</i,d=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,h=/^[a-z\d]+$/,f=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,p=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A1-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,g=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i,y=254;t.exports=e.default,t.exports.default=e.default},2056:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return(0,r.default)(t),0===((e=(0,i.default)(e,a)).ignore_whitespace?t.trim().length:t.length)};var r=o(n(83399)),i=o(n(93610));function o(t){return t&&t.__esModule?t:{default:t}}var a={ignore_whitespace:!1};t.exports=e.default,t.exports.default=e.default},60082:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t),o.test(t)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=/^(0x)[0-9a-f]{40}$/i;t.exports=e.default,t.exports.default=e.default},57658:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){(0,r.default)(t),(e=(0,i.default)(e,a)).allow_trailing_dot&&"."===t[t.length-1]&&(t=t.substring(0,t.length-1));!0===e.allow_wildcard&&0===t.indexOf("*.")&&(t=t.substring(2));var n=t.split("."),o=n[n.length-1];if(e.require_tld){if(n.length<2)return!1;if(!e.allow_numeric_tld&&!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(o))return!1;if(/\s/.test(o))return!1}if(!e.allow_numeric_tld&&/^\d+$/.test(o))return!1;return n.every((function(t){return!(t.length>63&&!e.ignore_max_length)&&(!!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(t)&&(!/[\uff01-\uff5e]/.test(t)&&(!/^-|-$/.test(t)&&!(!e.allow_underscores&&/_/.test(t)))))}))};var r=o(n(83399)),i=o(n(93610));function o(t){return t&&t.__esModule?t:{default:t}}var a={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1,ignore_max_length:!1};t.exports=e.default,t.exports.default=e.default},50995:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){(0,i.default)(t),e=e||{};var n=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(e.locale?o.decimal[e.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));if(""===t||"."===t||","===t||"-"===t||"+"===t)return!1;var r=parseFloat(t.replace(",","."));return n.test(t)&&(!e.hasOwnProperty("min")||r>=e.min)&&(!e.hasOwnProperty("max")||r<=e.max)&&(!e.hasOwnProperty("lt")||r<e.lt)&&(!e.hasOwnProperty("gt")||r>e.gt)},e.locales=void 0;var r,i=(r=n(83399))&&r.__esModule?r:{default:r},o=n(13237);e.locales=Object.keys(o.decimal)},29666:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t),o.test(t)},e.fullWidth=void 0;var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=e.fullWidth=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/},57086:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){(0,i.default)(t);var e=t.replace(/\s+/g," ").replace(/\s?(hsla?\(|\)|,)\s?/gi,"$1");if(-1!==e.indexOf(","))return o.test(e);return a.test(e)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(,(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}(,((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?))?\)$/i,a=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(\s(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}\s?(\/\s((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?)\s?)?\)$/i;t.exports=e.default,t.exports.default=e.default},49534:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t),o.test(t)},e.halfWidth=void 0;var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=e.halfWidth=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/},33973:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return(0,i.default)(t),new RegExp("^[a-fA-F0-9]{".concat(o[e],"}$")).test(t)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};t.exports=e.default,t.exports.default=e.default},24641:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t),o.test(t)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=/^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;t.exports=e.default,t.exports.default=e.default},82002:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t),o.test(t)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=/^(0x|0h)?[0-9A-F]+$/i;t.exports=e.default,t.exports.default=e.default},23641:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,i.default)(t),function(t,e){var n=t.replace(/[\s\-]+/gi,"").toUpperCase(),r=n.slice(0,2).toUpperCase(),i=r in o;if(e.whitelist){if(!function(t){if(t.filter((function(t){return!(t in o)})).length>0)return!1;return!0}(e.whitelist))return!1;if(!e.whitelist.includes(r))return!1}if(e.blacklist){if(e.blacklist.includes(r))return!1}return i&&o[r].test(n)}(t,e)&&function(t){var e=t.replace(/[^A-Z0-9]+/gi,"").toUpperCase();return 1===(e.slice(4)+e.slice(0,4)).replace(/[A-Z]/g,(function(t){return t.charCodeAt(0)-55})).match(/\d{1,7}/g).reduce((function(t,e){return Number(t+e)%97}),"")}(t)},e.locales=void 0;var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o={AD:/^(AD[0-9]{2})\d{8}[A-Z0-9]{12}$/,AE:/^(AE[0-9]{2})\d{3}\d{16}$/,AL:/^(AL[0-9]{2})\d{8}[A-Z0-9]{16}$/,AT:/^(AT[0-9]{2})\d{16}$/,AZ:/^(AZ[0-9]{2})[A-Z0-9]{4}\d{20}$/,BA:/^(BA[0-9]{2})\d{16}$/,BE:/^(BE[0-9]{2})\d{12}$/,BG:/^(BG[0-9]{2})[A-Z]{4}\d{6}[A-Z0-9]{8}$/,BH:/^(BH[0-9]{2})[A-Z]{4}[A-Z0-9]{14}$/,BR:/^(BR[0-9]{2})\d{23}[A-Z]{1}[A-Z0-9]{1}$/,BY:/^(BY[0-9]{2})[A-Z0-9]{4}\d{20}$/,CH:/^(CH[0-9]{2})\d{5}[A-Z0-9]{12}$/,CR:/^(CR[0-9]{2})\d{18}$/,CY:/^(CY[0-9]{2})\d{8}[A-Z0-9]{16}$/,CZ:/^(CZ[0-9]{2})\d{20}$/,DE:/^(DE[0-9]{2})\d{18}$/,DK:/^(DK[0-9]{2})\d{14}$/,DO:/^(DO[0-9]{2})[A-Z]{4}\d{20}$/,DZ:/^(DZ\d{24})$/,EE:/^(EE[0-9]{2})\d{16}$/,EG:/^(EG[0-9]{2})\d{25}$/,ES:/^(ES[0-9]{2})\d{20}$/,FI:/^(FI[0-9]{2})\d{14}$/,FO:/^(FO[0-9]{2})\d{14}$/,FR:/^(FR[0-9]{2})\d{10}[A-Z0-9]{11}\d{2}$/,GB:/^(GB[0-9]{2})[A-Z]{4}\d{14}$/,GE:/^(GE[0-9]{2})[A-Z0-9]{2}\d{16}$/,GI:/^(GI[0-9]{2})[A-Z]{4}[A-Z0-9]{15}$/,GL:/^(GL[0-9]{2})\d{14}$/,GR:/^(GR[0-9]{2})\d{7}[A-Z0-9]{16}$/,GT:/^(GT[0-9]{2})[A-Z0-9]{4}[A-Z0-9]{20}$/,HR:/^(HR[0-9]{2})\d{17}$/,HU:/^(HU[0-9]{2})\d{24}$/,IE:/^(IE[0-9]{2})[A-Z0-9]{4}\d{14}$/,IL:/^(IL[0-9]{2})\d{19}$/,IQ:/^(IQ[0-9]{2})[A-Z]{4}\d{15}$/,IR:/^(IR[0-9]{2})0\d{2}0\d{18}$/,IS:/^(IS[0-9]{2})\d{22}$/,IT:/^(IT[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,JO:/^(JO[0-9]{2})[A-Z]{4}\d{22}$/,KW:/^(KW[0-9]{2})[A-Z]{4}[A-Z0-9]{22}$/,KZ:/^(KZ[0-9]{2})\d{3}[A-Z0-9]{13}$/,LB:/^(LB[0-9]{2})\d{4}[A-Z0-9]{20}$/,LC:/^(LC[0-9]{2})[A-Z]{4}[A-Z0-9]{24}$/,LI:/^(LI[0-9]{2})\d{5}[A-Z0-9]{12}$/,LT:/^(LT[0-9]{2})\d{16}$/,LU:/^(LU[0-9]{2})\d{3}[A-Z0-9]{13}$/,LV:/^(LV[0-9]{2})[A-Z]{4}[A-Z0-9]{13}$/,MA:/^(MA[0-9]{26})$/,MC:/^(MC[0-9]{2})\d{10}[A-Z0-9]{11}\d{2}$/,MD:/^(MD[0-9]{2})[A-Z0-9]{20}$/,ME:/^(ME[0-9]{2})\d{18}$/,MK:/^(MK[0-9]{2})\d{3}[A-Z0-9]{10}\d{2}$/,MR:/^(MR[0-9]{2})\d{23}$/,MT:/^(MT[0-9]{2})[A-Z]{4}\d{5}[A-Z0-9]{18}$/,MU:/^(MU[0-9]{2})[A-Z]{4}\d{19}[A-Z]{3}$/,MZ:/^(MZ[0-9]{2})\d{21}$/,NL:/^(NL[0-9]{2})[A-Z]{4}\d{10}$/,NO:/^(NO[0-9]{2})\d{11}$/,PK:/^(PK[0-9]{2})[A-Z0-9]{4}\d{16}$/,PL:/^(PL[0-9]{2})\d{24}$/,PS:/^(PS[0-9]{2})[A-Z0-9]{4}\d{21}$/,PT:/^(PT[0-9]{2})\d{21}$/,QA:/^(QA[0-9]{2})[A-Z]{4}[A-Z0-9]{21}$/,RO:/^(RO[0-9]{2})[A-Z]{4}[A-Z0-9]{16}$/,RS:/^(RS[0-9]{2})\d{18}$/,SA:/^(SA[0-9]{2})\d{2}[A-Z0-9]{18}$/,SC:/^(SC[0-9]{2})[A-Z]{4}\d{20}[A-Z]{3}$/,SE:/^(SE[0-9]{2})\d{20}$/,SI:/^(SI[0-9]{2})\d{15}$/,SK:/^(SK[0-9]{2})\d{20}$/,SM:/^(SM[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,SV:/^(SV[0-9]{2})[A-Z0-9]{4}\d{20}$/,TL:/^(TL[0-9]{2})\d{19}$/,TN:/^(TN[0-9]{2})\d{20}$/,TR:/^(TR[0-9]{2})\d{5}[A-Z0-9]{17}$/,UA:/^(UA[0-9]{2})\d{6}[A-Z0-9]{19}$/,VA:/^(VA[0-9]{2})\d{18}$/,VG:/^(VG[0-9]{2})[A-Z0-9]{4}\d{16}$/,XK:/^(XK[0-9]{2})\d{16}$/};e.locales=Object.keys(o)},8461:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){(0,i.default)(t);var n=o;(e=e||{}).allow_hyphens&&(n=a);if(!n.test(t))return!1;t=t.replace(/-/g,"");for(var r=0,s=2,l=0;l<14;l++){var u=t.substring(14-l-1,14-l),c=parseInt(u,10)*s;r+=c>=10?c%10+1:c,1===s?s+=1:s-=1}if((10-r%10)%10!==parseInt(t.substring(14,15),10))return!1;return!0};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=/^[0-9]{15}$/,a=/^\d{2}-\d{6}-\d{6}-\d{1}$/;t.exports=e.default,t.exports.default=e.default},35372:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if((0,i.default)(e),!(n=String(n)))return t(e,4)||t(e,6);if("4"===n)return s.test(e);if("6"===n)return u.test(e);return!1};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",a="(".concat(o,"[.]){3}").concat(o),s=new RegExp("^".concat(a,"$")),l="(?:[0-9a-fA-F]{1,4})",u=new RegExp("^("+"(?:".concat(l,":){7}(?:").concat(l,"|:)|")+"(?:".concat(l,":){6}(?:").concat(a,"|:").concat(l,"|:)|")+"(?:".concat(l,":){5}(?::").concat(a,"|(:").concat(l,"){1,2}|:)|")+"(?:".concat(l,":){4}(?:(:").concat(l,"){0,1}:").concat(a,"|(:").concat(l,"){1,3}|:)|")+"(?:".concat(l,":){3}(?:(:").concat(l,"){0,2}:").concat(a,"|(:").concat(l,"){1,4}|:)|")+"(?:".concat(l,":){2}(?:(:").concat(l,"){0,3}:").concat(a,"|(:").concat(l,"){1,5}|:)|")+"(?:".concat(l,":){1}(?:(:").concat(l,"){0,4}:").concat(a,"|(:").concat(l,"){1,6}|:)|")+"(?::((?::".concat(l,"){0,5}:").concat(a,"|(?::").concat(l,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");t.exports=e.default,t.exports.default=e.default},17115:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,r.default)(t);var n=t.split("/");if(2!==n.length)return!1;if(!a.test(n[1]))return!1;if(n[1].length>1&&n[1].startsWith("0"))return!1;if(!(0,i.default)(n[0],e))return!1;var o=null;switch(String(e)){case"4":o=s;break;case"6":o=l;break;default:o=(0,i.default)(n[0],"6")?l:s}return n[1]<=o&&n[1]>=0};var r=o(n(83399)),i=o(n(35372));function o(t){return t&&t.__esModule?t:{default:t}}var a=/^\d{1,3}$/,s=32,l=128;t.exports=e.default,t.exports.default=e.default},59717:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function t(e,n){(0,i.default)(e);var r=String((null==n?void 0:n.version)||n);if(!(null!=n&&n.version||n))return t(e,{version:10})||t(e,{version:13});var l=e.replace(/[\s-]+/g,""),u=0;if("10"===r){if(!o.test(l))return!1;for(var c=0;c<r-1;c++)u+=(c+1)*l.charAt(c);if("X"===l.charAt(9)?u+=100:u+=10*l.charAt(9),u%11==0)return!0}else if("13"===r){if(!a.test(l))return!1;for(var d=0;d<12;d++)u+=s[d%2]*l.charAt(d);if(l.charAt(12)-(10-u%10)%10==0)return!0}return!1};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=/^(?:[0-9]{9}X|[0-9]{10})$/,a=/^(?:[0-9]{13})$/,s=[1,3];t.exports=e.default,t.exports.default=e.default},92678:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if((0,i.default)(t),!o.test(t))return!1;for(var e=!0,n=0,r=t.length-2;r>=0;r--)if(t[r]>="A"&&t[r]<="Z")for(var a=t[r].charCodeAt(0)-55,s=0,l=[a%10,Math.trunc(a/10)];s<l.length;s++){var u=l[s];n+=e?u>=5?1+2*(u-5):2*u:u,e=!e}else{var c=t[r].charCodeAt(0)-"0".charCodeAt(0);n+=e?c>=5?1+2*(c-5):2*c:c,e=!e}var d=10*Math.trunc((n+9)/10)-n;return+t[t.length-1]===d};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;t.exports=e.default,t.exports.default=e.default},88447:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CountryCodes=void 0,e.default=function(t){return(0,i.default)(t),o.has(t.toUpperCase())};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=new Set(["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","E
9R","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]);e.CountryCodes=o},53832:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t),o.has(t.toUpperCase())};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=new Set(["AFG","ALA","ALB","DZA","ASM","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BES","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CUW","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GUM","GTM","GGY","GIN","GNB","GUY","HTI","HMD","VAT","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","IMN","ISR","ITA","JAM","JPN","JEY","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MHL","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MNE","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","MNP","NOR","OMN","PAK","PLW","PSE","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","PRI","QAT","REU","ROU","RUS","RWA","BLM","SHN","KNA","LCA","MAF","SPM","VCT","WSM","SMR","STP","SAU","SEN","SRB","SYC","SLE","SGP","SXM","SVK","SVN","SLB","SOM","ZAF","SGS","SSD","ESP","LKA","SDN","SUR","SJM","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","USA","UMI","URY","UZB","VUT","VEN","VNM","VGB","VIR","WLF","ESH","YEM","ZMB","ZWE"]);t.exports=e.default,t.exports.default=e.default},88342:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CurrencyCodes=void 0,e.default=function(t){return(0,i.default)(t),o.has(t.toUpperCase())};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=new Set(["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHE","CHF","CHW","CLF","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLE","SLL","SOS","SRD","SSP","STN","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","USN","UYI","UYU","UYW","UZS","VES","VND","VUV","WST","XAF","XAG","XAU","XBA","XBB","XBC","XBD","XCD","XDR","XOF","XPD","XPF","XPT","XSU","XTS","XUA","XXX","YER","ZAR","ZMW","ZWL"]);e.CurrencyCodes=o},45777:function(t,e,n){"use strict";
vendor: 5,765 bytes, line 9
9Object.defineProperty(e,"__esModule",{value:!0}),e.isFreightContainerID=void 0,e.isISO6346=s;var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=/^[A-Z]{3}(U[0-9]{7})|([J,Z][0-9]{6,7})$/,a=/^[0-9]$/;function s(t){if((0,i.default)(t),t=t.toUpperCase(),!o.test(t))return!1;if(11===t.length){for(var e=0,n=0;n<t.length-1;n++)if(a.test(t[n]))e+=t[n]*Math.pow(2,n);else{var r=t.charCodeAt(n)-55;e+=(r<11?r:r>=11&&r<=20?12+r%11:r>=21&&r<=30?23+r%21:34+r%31)*Math.pow(2,n)}var s=e%11;return Number(t[t.length-1])===s}return!0}e.isFreightContainerID=s},48033:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t),o.has(t)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=new Set(["aa","ab","ae","af","ak","am","an","ar","as","av","ay","az","az","ba","be","bg","bh","bi","bm","bn","bo","br","bs","ca","ce","ch","co","cr","cs","cu","cv","cy","da","de","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fj","fo","fr","fy","ga","gd","gl","gn","gu","gv","ha","he","hi","ho","hr","ht","hu","hy","hz","ia","id","ie","ig","ii","ik","io","is","it","iu","ja","jv","ka","kg","ki","kj","kk","kl","km","kn","ko","kr","ks","ku","kv","kw","ky","la","lb","lg","li","ln","lo","lt","lu","lv","mg","mh","mi","mk","ml","mn","mr","ms","mt","my","na","nb","nd","ne","ng","nl","nn","no","nr","nv","ny","oc","oj","om","or","os","pa","pi","pl","ps","pt","qu","rm","rn","ro","ru","rw","sa","sc","sd","se","sg","si","sk","sl","sm","sn","so","sq","sr","ss","st","su","sv","sw","ta","te","tg","th","ti","tk","tl","tn","to","tr","ts","tt","tw","ty","ug","uk","ur","uz","ve","vi","vo","wa","wo","xh","yi","yo","za","zh","zu"]);t.exports=e.default,t.exports.default=e.default},66169:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.default)(t);var n=e.strictSeparator?a.test(t):o.test(t);return n&&e.strict?s(t):n};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,a=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,s=function(t){var e=t.match(/^(\d{4})-?(\d{3})([ T]{1}\.*|$)/);if(e){var n=Number(e[1]),r=Number(e[2]);return n%4==0&&n%100!=0||n%400==0?r<=366:r<=365}var i=t.match(/(\d{4})-?(\d{0,2})-?(\d*)/).map(Number),o=i[1],a=i[2],s=i[3],l=a?"0".concat(a).slice(-2):a,u=s?"0".concat(s).slice(-2):s,c=new Date("".concat(o,"-").concat(l||"01","-").concat(u||"01"));return!a||!s||c.getUTCFullYear()===o&&c.getUTCMonth()+1===a&&c.getUTCDate()===s};t.exports=e.default,t.exports.default=e.default},31954:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t),o.test(t)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;t.exports=e.default,t.exports.default=e.default},60604:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.default)(t);var n=o;if(n=e.require_hyphen?n.replace("?",""):n,!(n=e.case_sensitive?new RegExp(n):new RegExp(n,"i")).test(t))return!1;for(var r=t.replace("-","").toUpperCase(),a=0,s=0;s<r.length;s++){var l=r[s];a+=("X"===l?10:+l)*(8-s)}return a%11==0};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o="^\\d{4}-?\\d{3}[\\dX]$";t.exports=e.default,t.exports.default=e.default},62645:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if((0,r.default)(t),e in a)return a[e](t);if("any"===e){for(var n in a){if(a.hasOwnProperty(n))if((0,a[n])(t))return!0}return!1}throw new Error("Invalid locale '".concat(e,"'"))};var r=o(n(83399)),i=o(n(76084));function o(t){return t&&t.__esModule?t:{default:t}}var a={PL:function(t){(0,r.default)(t);var e={1:1,2:3,3:7,4:9,5:1,6:3,7:7,8:9,9:1,10:3,11:0};if(null!=t&&11===t.length&&(0,i.default)(t,{allow_leading_zeroes:!0})){var n=t.split("").slice(0,-1).reduce((function(t,n,r){return t+Number(n)*e[r+1]}),0)%10,o=Number(t.charAt(t.length-1));if(0===n&&0===o||o===10-n)return!0}return!1},ES:function(t){(0,r.default)(t);var e={X:0,Y:1,Z:2},n=t.trim().toUpperCase();if(!/^[0-9X-Z][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/.test(n))return!1;var i=n.slice(0,-1).replace(/[X,Y,Z]/g,(function(t){return e[t]}));return n.endsWith(["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"][i%23])},FI:function(t){if((0,r.default)(t),11!==t.length)return!1;if(!t.match(/^\d{6}[\-A\+]\d{3}[0-9ABCDEFHJKLMNPRSTUVWXY]{1}$/))return!1;return"0123456789ABCDEFHJKLMNPRSTUVWXY"[(1e3*parseInt(t.slice(0,6),10)+parseInt(t.slice(7,10),10))%31]===t.slice(10,11)},IN:function(t){var e=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],n=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],r=t.trim();if(!/^[1-9]\d{3}\s?\d{4}\s?\d{4}$/.test(r))return!1;var i=0;return r.replace(/\s/g,"").split("").map(Number).reverse().forEac
vendor: 4,104 bytes, line 9
9h((function(t,r){i=e[i][n[r%8][t]]})),0===i},IR:function(t){if(!t.match(/^\d{10}$/))return!1;if(t="0000".concat(t).slice(t.length-6),0===parseInt(t.slice(3,9),10))return!1;for(var e=parseInt(t.slice(9,10),10),n=0,r=0;r<9;r++)n+=parseInt(t.slice(r,r+1),10)*(10-r);return(n%=11)<2&&e===n||n>=2&&e===11-n},IT:function(t){return 9===t.length&&("CA00000AA"!==t&&t.search(/C[A-Z]\d{5}[A-Z]{2}/i)>-1)},NO:function(t){var e=t.trim();if(isNaN(Number(e)))return!1;if(11!==e.length)return!1;if("00000000000"===e)return!1;var n=e.split("").map(Number),r=(11-(3*n[0]+7*n[1]+6*n[2]+1*n[3]+8*n[4]+9*n[5]+4*n[6]+5*n[7]+2*n[8])%11)%11,i=(11-(5*n[0]+4*n[1]+3*n[2]+2*n[3]+7*n[4]+6*n[5]+5*n[6]+4*n[7]+3*n[8]+2*r)%11)%11;return r===n[9]&&i===n[10]},TH:function(t){if(!t.match(/^[1-8]\d{12}$/))return!1;for(var e=0,n=0;n<12;n++)e+=parseInt(t[n],10)*(13-n);return t[12]===((11-e%11)%10).toString()},LK:function(t){return!(10!==t.length||!/^[1-9]\d{8}[vx]$/i.test(t))||!(12!==t.length||!/^[1-9]\d{11}$/i.test(t))},"he-IL":function(t){var e=t.trim();if(!/^\d{9}$/.test(e))return!1;for(var n,r=e,i=0,o=0;o<r.length;o++)i+=(n=Number(r[o])*(o%2+1))>9?n-9:n;return i%10==0},"ar-LY":function(t){var e=t.trim();return!!/^(1|2)\d{11}$/.test(e)},"ar-TN":function(t){var e=t.trim();return!!/^\d{8}$/.test(e)},"zh-CN":function(t){var e,n=["11","12","13","14","15","21","22","23","31","32","33","34","35","36","37","41","42","43","44","45","46","50","51","52","53","54","61","62","63","64","65","71","81","82","91"],r=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],i=["1","0","X","9","8","7","6","5","4","3","2"],o=function(t){return n.includes(t)},a=function(t){var e=parseInt(t.substring(0,4),10),n=parseInt(t.substring(4,6),10),r=parseInt(t.substring(6),10),i=new Date(e,n-1,r);return!(i>new Date)&&(i.getFullYear()===e&&i.getMonth()===n-1&&i.getDate()===r)},s=function(t){return function(t){for(var e=t.substring(0,17),n=0,o=0;o<17;o++)n+=parseInt(e.charAt(o),10)*parseInt(r[o],10);return i[n%11]}(t)===t.charAt(17).toUpperCase()};return!!/^\d{15}|(\d{17}(\d|x|X))$/.test(e=t)&&(15===e.length?function(t){var e=/^[1-9]\d{7}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}$/.test(t);if(!e)return!1;var n=t.substring(0,2);if(!(e=o(n)))return!1;var r="19".concat(t.substring(6,12));return!!(e=a(r))}(e):function(t){var e=/^[1-9]\d{5}[1-9]\d{3}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}(\d|x|X)$/.test(t);if(!e)return!1;var n=t.substring(0,2);if(!(e=o(n)))return!1;var r=t.substring(6,14);return!!(e=a(r))&&s(t)}(e))},"zh-HK":function(t){var e=/^[0-9]$/;if(t=(t=t.trim()).toUpperCase(),!/^[A-Z]{1,2}[0-9]{6}((\([0-9A]\))|(\[[0-9A]\])|([0-9A]))$/.test(t))return!1;8===(t=t.replace(/\[|\]|\(|\)/g,"")).length&&(t="3".concat(t));for(var n=0,r=0;r<=7;r++){n+=(e.test(t[r])?t[r]:(t[r].charCodeAt(0)-55)%11)*(9-r)}return(0===(n%=11)?"0":1===n?"A":String(11-n))===t[t.length-1]},"zh-TW":function(t){var e={A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:34,J:18,K:19,L:20,M:21,N:22,O:35,P:23,Q:24,R:25,S:26,T:27,U:28,V:29,W:32,X:30,Y:31,Z:33},n=t.trim().toUpperCase();return!!/^[A-Z][0-9]{9}$/.test(n)&&Array.from(n).reduce((function(t,n,r){if(0===r){var i=e[n];return i%10*9+Math.floor(i/10)}return 9===r?(10-t%10-Number(n))%10==0:t+Number(n)*(9-r)}),0)}};t.exports=e.default,t.exports.default=e.default},19266:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n;if((0,r.default)(t),"[object Array]"===Object.prototype.toString.call(e)){var o=[];for(n in e)({}).hasOwnProperty.call(e,n)&&(o[n]=(0,i.default)(e[n]));return o.indexOf(t)>=0}if("object"===a(e))return e.hasOwnProperty(t);if(e&&"function"==typeof e.indexOf)return e.indexOf(t)>=0;return!1};var r=o(n(83399)),i=o(n(45772));function o(t){return t&&t.__esModule?t:{default:t}}function a(t){return a="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},a(t)}t.exports=e.default,t.exports.default=e.default},76084:function(t,e,n){"use strict";
vendor: 32,490 bytes, line 9
9Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){(0,i.default)(t);var n=!1===(e=e||{}).allow_leading_zeroes?o:a,r=!e.hasOwnProperty("min")||t>=e.min,s=!e.hasOwnProperty("max")||t<=e.max,l=!e.hasOwnProperty("lt")||t<e.lt,u=!e.hasOwnProperty("gt")||t>e.gt;return n.test(t)&&r&&s&&l&&u};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,a=/^[-+]?[0-9]+$/;t.exports=e.default,t.exports.default=e.default},75751:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){(0,r.default)(t);try{e=(0,i.default)(e,s);var n=[];e.allow_primitives&&(n=[null,!1,!0]);var o=JSON.parse(t);return n.includes(o)||!!o&&"object"===a(o)}catch(t){}return!1};var r=o(n(83399)),i=o(n(93610));function o(t){return t&&t.__esModule?t:{default:t}}function a(t){return a="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},a(t)}var s={allow_primitives:!1};t.exports=e.default,t.exports.default=e.default},29172:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){(0,r.default)(t);var e=t.split(".");if(3!==e.length)return!1;return e.reduce((function(t,e){return t&&(0,i.default)(e,{urlSafe:!0})}),!0)};var r=o(n(83399)),i=o(n(98274));function o(t){return t&&t.__esModule?t:{default:t}}t.exports=e.default,t.exports.default=e.default},5830:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if((0,r.default)(t),e=(0,i.default)(e,c),!t.includes(","))return!1;var n=t.split(",");if(n[0].startsWith("(")&&!n[1].endsWith(")")||n[1].endsWith(")")&&!n[0].startsWith("("))return!1;if(e.checkDMS)return l.test(n[0])&&u.test(n[1]);return a.test(n[0])&&s.test(n[1])};var r=o(n(83399)),i=o(n(93610));function o(t){return t&&t.__esModule?t:{default:t}}var a=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,s=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/,l=/^(([1-8]?\d)\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|90\D+0\D+0)\D+[NSns]?$/i,u=/^\s*([1-7]?\d{1,2}\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|180\D+0\D+0)\D+[EWew]?$/i,c={checkDMS:!1};t.exports=e.default,t.exports.default=e.default},29285:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n,r;(0,i.default)(t),"object"===o(e)?(n=e.min||0,r=e.max):(n=arguments[1]||0,r=arguments[2]);var a=t.match(/(\uFE0F|\uFE0E)/g)||[],s=t.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],l=t.length-a.length-s.length;return l>=n&&(void 0===r||l<=r)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};function o(t){return o="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},o(t)}t.exports=e.default,t.exports.default=e.default},10676:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if((0,i.default)(t),e in o)return o[e](t);if("any"===e){for(var n in o){if((0,o[n])(t))return!0}return!1}throw new Error("Invalid locale '".concat(e,"'"))};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o={"cs-CZ":function(t){return/^(([ABCDEFHIJKLMNPRSTUVXYZ]|[0-9])-?){5,8}$/.test(t)},"de-DE":function(t){return/^((A|AA|AB|AC|AE|AH|AK|AM|AN|AÃ|AP|AS|AT|AU|AW|AZ|B|BA|BB|BC|BE|BF|BH|BI|BK|BL|BM|BN|BO|BÃ|BS|BT|BZ|C|CA|CB|CE|CO|CR|CW|D|DA|DD|DE|DH|DI|DL|DM|DN|DO|DU|DW|DZ|E|EA|EB|ED|EE|EF|EG|EH|EI|EL|EM|EN|ER|ES|EU|EW|F|FB|FD|FF|FG|FI|FL|FN|FO|FR|FS|FT|FÃ|FW|FZ|G|GA|GC|GD|GE|GF|GG|GI|GK|GL|GM|GN|GÃ|GP|GR|GS|GT|GÃ|GV|GW|GZ|H|HA|HB|HC|HD|HE|HF|HG|HH|HI|HK|HL|HM|HN|HO|HP|HR|HS|HU|HV|HX|HY|HZ|IK|IL|IN|IZ|J|JE|JL|K|KA|KB|KC|KE|KF|KG|KH|KI|KK|KL|KM|KN|KO|KR|KS|KT|KU|KW|KY|L|LA|LB|LC|LD|LF|LG|LH|LI|LL|LM|LN|LÃ|LP|LR|LU|M|MA|MB|MC|MD|ME|MG|MH|MI|MK|ML|MM|MN|MO|MQ|MR|MS|MÃ|MW|MY|MZ|N|NB|ND|NE|NF|NH|NI|NK|NM|NÃ|NP|NR|NT|NU|NW|NY|NZ|OA|OB|OC|OD|OE|OF|OG|OH|OK|OL|OP|OS|OZ|P|PA|PB|PE|PF|PI|PL|PM|PN|PR|PS|PW|PZ|R|RA|RC|RD|RE|RG|RH|RI|RL|RM|RN|RO|RP|RS|RT|RU|RV|RW|RZ|S|SB|SC|SE|SG|SI|SK|SL|SM|SN|SO|SP|SR|ST|SU|SW|SY|SZ|TE|TF|TG|TO|TP|TR|TS|TT|TÃ|ÃB|UE|UH|UL|UM|UN|V|VB|VG|VK|VR|VS|W|WA|WB|WE|WF|WI|WK|WL|WM|WN|WO|WR|WS|WT|WÃ|WW|WZ|Z|ZE|ZI|ZP|ZR|ZW|ZZ)[- ]?[A-Z]{1,2}[- ]?\d{1,4}|(ABG|ABI|AIB|AIC|ALF|ALZ|ANA|ANG|ANK|APD|ARN|ART|ASL|ASZ|AUR|AZE|BAD|BAR|BBG|BCH|BED|BER|BGD|BGL|BID|BIN|BIR|BIT|BIW|BKS|BLB|BLK|BNA|BOG|BOH|BOR|BOT|BRA|BRB|BRG|BRK|BRL|BRV|BSB|BSK|BTF|BÃD|BUL|BÃR|BÃS|BÃZ|CAS|CHA|CLP|CLZ|COC|COE|CUX|DAH|DAN|DAU|DBR|DEG|DEL|DGF|DIL|DIN|DIZ|DKB|DLG|DON|DUD|DÃW|EBE|EBN|EBS|ECK|EIC|EIL|EIN|EIS|EMD|EMS|ERB|ERH|ERK|ERZ|ESB|ESW|FDB|FDS|FEU|FFB|FKB|FLÃ|FOR|FRG|FRI|FRW|FTL|FÃS|GAN|GAP|GDB|GEL|GEO|GER|GHA|GHC|GLA|GMN|GNT|GOA|GOH|GRA|GRH|GRI|GRM|GRZ|GTH|GUB|GUN|GVM|HAB|HAL|HAM|HAS|HBN|HBS|HCH|HDH|HDL|HEB|HEF|HEI|HER|HET|HGN|HGW|HHM|HIG|HIP|HMÃ|HOG|HOH|HOL|HOM|HOR|HÃS|HOT|HRO|HSK|HST|HVL|HWI|IGB|ILL|JÃL|KEH|KEL|KEM|KIB|KLE|KLZ|KÃN|KÃT|KÃZ|KRU|KÃN|KUS|KYF|LAN|LAU|LBS|LBZ|LDK|LDS|LEO|LER|LEV|LIB|LIF|LIP|LÃB|LOS|LRO|LSZ|LÃN|LUP|LWL|MAB|MAI|MAK|MAL|MED|MEG|MEI|MEK|MEL|MER|MET|MGH|MGN|MHL|MIL|MKK|MOD|MOL|MON|MOS|MSE|MSH|MSP|MST|MTK|MTL|MÃB|MÃR|MYK|MZG|NAB|NAI|NAU|NDH|NEA|NEB|NEC|NEN|NES|NEW|NMB|NMS|NOH|NOL|NOM|NOR|NVP|NWM|OAL|OBB|OBG|OCH|OHA|ÃHR|OHV|OHZ|OPR|OSL|OVI|OVL|OVP|PAF|PAN|PAR|PCH|PEG|PIR|PLÃ|PRÃ|QFT|QLB|RDG|REG|REH|REI|RID|RIE|ROD|ROF|ROK|ROL|ROS|ROT|ROW|RSL|RÃD|RÃG|SAB|SAD|SAN|SAW|SBG|SBK|SCZ|SDH|SDL|SDT|SEB|SEE|SEF|SEL|SFB|SFT|SGH|SHA|SHG|SHK|SHL|SIG|SIM|SLE|SLF|SLK|SLN|SLS|SLÃ|SLZ|SMÃ|SOB|SOG|SOK|SÃM|SON|SPB|SPN|SRB|SRO|STA|STB|STD|STE|STL|SUL|SÃW|SWA|SZB|TBB|TDO|TET|TIR|TÃL|TUT|UEM|UER|UFF|USI|VAI|VEC|VER|VIB|VIE|VIT|VOH|WAF|WAK|WAN|WAR|WAT|WBS|WDA|WEL|WEN|WER|WES|WHV|WIL|WIS|WIT|WIZ|WLG|WMS|WND|WOB|WOH|WOL|WOR|WOS|WRN|WSF|WST|WSW|WTL|WTM|WUG|WÃM|WUN|WUR|WZL|ZEL|ZIG)[- ]?(([A-Z][- ]?\d{1,4})|([A-Z]{2}[- ]?\d{1,3})))[- ]?(E|H)?$/.test(t)},"de-LI":function(t){return/^FL[- ]?\d{1,5}[UZ]?$/.test(t)},"en-IN":function(t){return/^[A-Z]{2}[ -]?[0-9]{1,2}(?:[ -]?[A-Z])(?:[ -]?[A-Z]*)?[ -]?[0-9]{4}$/.test(t)},"es-AR":function(t){return/^(([A-Z]{2} ?[0-9]{3} ?[A-Z]{2})|([A-Z]{3} ?[0-9]{3}))$/.test(t)},"fi-FI":function(t){return/^(?=.{4,7})(([A-Z]{1,3}|[0-9]{1,3})[\s-]?([A-Z]{1,3}|[0-9]{1,5}))$/.test(t)},"hu-HU":function(t){return/^((((?!AAA)(([A-NPRSTVZWXY]{1})([A-PR-Z]{1})([A-HJ-NPR-Z]))|(A[ABC]I)|A[ABC]O|A[A-W]Q|BPI|BPO|UCO|UDO|XAO)-(?!000)\d{3})|(M\d{6})|((CK|DT|CD|HC|H[ABEFIKLMNPRSTVX]|MA|OT|R[A-Z]) \d{2}-\d{2})|(CD \d{3}-\d{3})|(C-(C|X) \d{4})|(X-(A|B|C) \d{4})|(([EPVZ]-\d{5}))|(S A[A-Z]{2} \d{2})|(SP \d{2}-\d{2}))$/.test(t)},"pt-BR":function(t){return/^[A-Z]{3}[ -]?[0-9][A-Z][0-9]{2}|[A-Z]{3}[ -]?[0-9]{4}$/.test(t)},"pt-PT":function(t){return/^([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})$/.test(t)},"sq-AL":function(t){return/^[A-Z]{2}[- ]?((\d{3}[- ]?(([A-Z]{2})|T))|(R[- ]?\d{3}))$/.test(t)},"sv-SE":function(t){return/^[A-HJ-PR-UW-Z]{3} ?[\d]{2}[A-HJ-PR-UW-Z1-9]$|(^[A-ZÃ
Ãà ]{2,7}$)/.test(t.trim())},"en-PK":function(t){return/(^[A-Z]{2}((\s|-){0,1})[0-9]{3,4}((\s|-)[0-9]{2}){0,1}$)|(^[A-Z]{3}((\s|-){0,1})[0-9]{3,4}((\s|-)[0-9]{2}){0,1}$)|(^[A-Z]{4}((\s|-){0,1})[0-9]{3,4}((\s|-)[0-9]{2}){0,1}$)|(^[A-Z]((\s|-){0,1})[0-9]{4}((\s|-)[0-9]{2}){0,1}$)/.test(t.trim())}};t.exports=e.default,t.exports.default=e.default},7071:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t),d.test(t)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o="(([a-zA-Z]{2,3}(-".concat("([A-Za-z]{3}(-[A-Za-z]{3}){0,2})",")?)|([a-zA-Z]{5,8}))"),a="(".concat("(\\d|[A-W]|[Y-Z]|[a-w]|[y-z])","(-[A-Za-z0-9]{2,8})+)"),s="(x(-[A-Za-z0-9]{1,8})+)",l="(".concat("((en-GB-oed)|(i-ami)|(i-bnn)|(i-default)|(i-enochian)|(i-hak)|(i-klingon)|(i-lux)|(i-mingo)|(i-navajo)|(i-pwn)|(i-tao)|(i-tay)|(i-tsu)|(sgn-BE-FR)|(sgn-BE-NL)|(sgn-CH-DE))","|").concat("((art-lojban)|(cel-gaulish)|(no-bok)|(no-nyn)|(zh-guoyu)|(zh-hakka)|(zh-min)|(zh-min-nan)|(zh-xiang))",")"),u="(-|_)",c="".concat(o,"(").concat(u).concat("([A-Za-z]{4})",")?(").concat(u).concat("([A-Za-z]{2}|\\d{3})",")?(").concat(u).concat("([A-Za-z0-9]{5,8}|(\\d[A-Z-a-z0-9]{3}))",")*(").concat(u).concat(a,")*(").concat(u).concat(s,")?"),d=new RegExp("(^".concat(s,"$)|(^").concat(l,"$)|(^").concat(c,"$)"));t.exports=e.default,t.exports.default=e.default},37612:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t),t===t.toLowerCase()};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default},73609:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){(0,i.default)(t);for(var e,n,r,o=t.replace(/[- ]+/g,""),a=0,s=o.length-1;s>=0;s--)e=o.substring(s,s+1),n=parseInt(e,10),a+=r&&(n*=2)>=10?n%10+1:n,r=!r;return!(a%10!=0||!o)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default},3196:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function t(e,n){(0,i.default)(e),null!=n&&n.eui&&(n.eui=String(n.eui));if(null!=n&&n.no_colons||null!=n&&n.no_separators)return"48"===n.eui?a.test(e):"64"===n.eui?u.test(e):a.test(e)||u.test(e);if("48"===(null==n?void 0:n.eui))return o.test(e)||s.test(e);if("64"===(null==n?void 0:n.eui))return l.test(e)||c.test(e);return t(e,{eui:"48"})||t(e,{eui:"64"})};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){4}([0-9a-fA-F]{2})$/,a=/^([0-9a-fA-F]){12}$/,s=/^([0-9a-fA-F]{4}\.){2}([0-9a-fA-F]{4})$/,l=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){6}([0-9a-fA-F]{2})$/,u=/^([0-9a-fA-F]){16}$/,c=/^([0-9a-fA-F]{4}\.){3}([0-9a-fA-F]{4})$/;t.exports=e.default,t.exports.default=e.default},59745:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t),o.test(t)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=/^[a-f0-9]{32}$/;t.exports=e.default,t.exports.default=e.default},27349:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if((0,i.default)(t),0!==t.indexOf("magnet:?"))return!1;return o.test(t)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=/(?:^magnet:\?|[^?&]&)xt(?:\.1)?=urn:(?:(?:aich|bitprint|btih|ed2k|ed2khash|kzhash|md5|sha1|tree:tiger):[a-z0-9]{32}(?:[a-z0-9]{8})?|btmh:1220[a-z0-9]{64})(?:$|&)/i;t.exports=e.default,t.exports.default=e.default},32337:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if((0,o.default)(t),0!==t.indexOf("mailto:"))return!1;var n=s(t.replace("mailto:","").split("?"),2),a=n[0],u=n[1],c=void 0===u?"":u;if(!a&&!c)return!0;var d=function(t){var e=new Set(["subject","body","cc","bcc"]),n={cc:"",bcc:""},r=!1,i=t.split("&");if(i.length>4)return!1;var o,a=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=l(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}(i);try{for(a.s();!(o=a.n()).done;){var u=s(o.value.split("="),2),c=u[0],d=u[1];if(c&&!e.has(c)){r=!0;break}!d||"cc"!==c&&"bcc"!==c||(n[c]=d),c&&e.delete(c)}}catch(t){a.e(t)}finally{a.f()}return!r&&n}(c);if(!d)return!1;return"".concat(a,",").concat(d.cc,",").concat(d.bcc).split(",").every((function(t){return!(t=(0,r.default)(t," "))||(0,i.default)(t,e)}))};var r=a(n(30317)),i=a(n(69517)),o=a(n(83399));function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(t,e)||l(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){if(t){if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,e):void 0}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}t.exports=e.default,t.exports.default=e.default},64633:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t),o.test(t)||a.test(t)||s.test(t)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+_]{1,100}$/i,a=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,s=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i;t.exports=e.default,t.exports.default=e.default},95251:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){if((0,i.default)(t),n&&n.strictMode&&!t.startsWith("+"))return!1;if(Array.isArray(e))return e.some((function(e){if(o.hasOwnProperty(e)&&o[e].test(t))return!0;return!1}));if(e in o)return o[e].test(t);if(!e||"any"===e){for(var r in o){if(o.hasOwnProperty(r))if(o[r].test(t))return!0}return!1}throw new Error("Invalid locale '".concat(e,"'"))},e.locales=void 0;var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o={"am-AM":/^(\+?374|0)(33|4[134]|55|77|88|9[13-689])\d{6}$/,"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-BH":/^(\+?973)?(3|6)\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-LB":/^(\+?961)?((3|81)\d{6}|7\d{7})$/,"ar-EG":/^((\+?20)|0)?1[0125]\d{8}$/,"ar-IQ":/^(\+?964|0)?7[0-9]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-KW":/^(\+?965)([569]\d{7}|41\d{6})$/,"ar-LY":/^((\+?218)|0)?(9[1-6]\d{7}|[1-8]\d{7,9})$/,"ar-MA":/^(?:(?:\+|00)212|0)[5-7]\d{8}$/,"ar-OM":/^((\+|00)968)?(9[1-9])\d{6}$/,"ar-PS":/^(\+?970|0)5[6|9](\d{7})$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SD":/^((\+?249)|0)?(9[012369]|1[012])\d{7}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"ar-TN":/^(\+?216)?[2459]\d{7}$/,"az-AZ":/^(\+994|0)(10|5[015]|7[07]|99)\d{7}$/,"bs-BA":/^((((\+|00)3876)|06))((([0-3]|[5-6])\d{6})|(4\d{7}))$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"bn-BD":/^(\+?880|0)1[13456789][0-9]{8}$/,"ca-AD":/^(\+376)?[346]\d{5}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^((\+49|0)1)(5[0-25-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7,9}$/,"de-AT":/^(\+43|0)\d{1,4}\d{3,12}$/,"de-CH":/^(\+41|0)([1-9])\d{1,9}$/,"de-LU":/^(\+352)?((6\d1)\d{6})$/,"dv-MV":/^(\+?960)?(7[2-9]|9[1-9])\d{5}$/,"el-GR":/^(\+?30|0)?6(8[5-9]|9(?![26])[0-9])\d{7}$/,"el-CY":/^(\+?357?)?(9(9|6)\d{6})$/,"en-AI":/^(\+?1|0)264(?:2(35|92)|4(?:6[1-2]|76|97)|5(?:3[6-9]|8[1-4])|7(?:2(4|9)|72))\d{4}$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-AG":/^(?:\+1|1)268(?:464|7(?:1[3-9]|[28]\d|3[0246]|64|7[0-689]))\d{4}$/,"en-BM":/^(\+?1)?441(((3|7)\d{6}$)|(5[0-3][0-9]\d{4}$)|(59\d{5}$))/,"en-BS":/^(\+?1[-\s]?|0)?\(?242\)?[-\s]?\d{3}[-\s]?\d{4}$/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-GG":/^(\+?44|0)1481\d{6}$/,"en-GH":/^(\+233|0)(20|50|24|54|27|57|26|56|23|28|55|59)\d{7}$/,"en-GY":/^(\+592|0)6\d{6}$/,"en-HK":/^(\+?852[-\s]?)?[456789]\d{3}[-\s]?\d{4}$/,"en-MO":/^(\+?853[-\s]?)?[6]\d{3}[-\s]?\d{4}$/,"en-IE":/^(\+?353|0)8[356789]\d{7}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-JM":/^(\+?876)?\d{7}$/,"en-KE":/^(\+?254|0)(7|1)\d{8}$/,"fr-CF":/^(\+?236| ?)(70|75|77|72|21|22)\d{6}$/,"en-SS":/^(\+?211|0)(9[1257])\d{7}$/,"en-KI":/^((\+686|686)?)?( )?((6|7)(2|3|8)[0-9]{6})$/,"en-KN":/^(?:\+1|1)869(?:46\d|48[89]|55[6-8]|66\d|76[02-7])\d{4}$/,"en-LS":/^(\+?266)(22|28|57|58|59|27|52)\d{6}$/,"en-MT":/^(\+?356|0)?(99|79|77|21|27|22|25)[0-9]{6}$/,"en-MU":/^(\+?230|0)?\d{8}$/,"en-MW":/^(\+?265|0)(((77|88|31|99|98|21)\d{7})|(((111)|1)\d{6})|(32000\d{4}))$/,"en-NA":/^(\+?264|0)(6|8)\d{7}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)[28]\d{7,9}$/,"en-PG":/^(\+?675|0)?(7\d|8[18])\d{6}$/,"en-PK":/^((00|\+)?92|0)3[0-6]\d{8}$/,"en-PH":/^(09|\+639)\d{9}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[3689]\d{7}$/,"en-SL":/^(\+?232|0)\d{8}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^((\+1|1)?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"en-ZW":/^(\+263)[0-9]{9}$/,"en-BW":/^(\+?267)?(7[1-8]{1})\d{6}$/,"es-AR":/^\+?549(11|[2368]\d)\d{8}$/,"es-BO":/^(\+?591)?(6|7)\d{7}$/,"es-CO":/^(\+?57)?3(0(0|1|2|4|5)|1\d|2[0-4]|5(0|1))\d{7}$/,"es-CL":/^(\+?56|0)[2-9]\d{1}\d{7}$/,"es-CR":/^(\+506)?[2-8]\d{7}$/,"es-CU":/^(\+53|0053)?5\d{7}$/,"es-DO":/^(\+?1)?8[024]9\d{7}$/,"es-HN":/^(\+?504)?[9|8|3|2]\d{7}$/,"es-EC":/^(\+?593|0)([2-7]|9[2-9])\d{7}$/,"es-ES":/^(\+?34)?[6|7]\d{8}$/,"es-PE":/^(\+?51)?9\d{8}$/,"es-MX":/^(\+?52)?(1|01)?\d{10,11}$/,"es-NI":/^(\+?505)\d{7,8}$/,"es-PA":/^(\+?507)\d{7,8}$/,"es-PY":/^(\+?595|0)9[9876]\d{7}$/,"es-SV":/^(\+?503)?[67]\d{7}$/,"es-UY":/^(\+598|0)9[1-9][\d]{6}$/,"es-VE":/^(\+?58)?(2|4)\d{9}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4[0-6]|50)\s?(\d\s?){4,8}$/,"fj-FJ":/^(\+?679)?\s?\d{3}\s?\d{4}$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-BF":/^(\+226|0)[67]\d{7}$/,"fr-BJ":/^(\+229)\d{8}$/,"fr-CD":/^(\+?243|0)?(8|9)\d{8}$/,"fr-CM":/^(\+?237)6[0-9]{8}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"fr-GF":/^(\+?594|0|00594)[67]\d{8}$/,"fr-GP":/^(\+?590|0|00590)[67]\d{8}$/,"fr-MQ":/^(\+?596|0|00596)[67]\d{8}$/,"fr-PF":/^(\+?689)?8[789]\d{6}$/,"fr-RE":/^(\+?262|0|00262)[67]\d{8}$/,"fr-WF":/^(\+681)?\d{6}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,"hu-HU":/^(\+?36|06)(20|30|31|50|70)\d{7}$/,"id-ID":/^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/,"ir-IR":/^(\+98|0)?9\d{9}$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"it-SM":/^((\+378)|(0549)|(\+390549)|(\+3780549))?6\d{5,9}$/,"ja-JP":/^(\+81[ \-]?(\(0\))?|0)[6789]0[ \-]?\d{4}[ \-]?\d{4}$/,"ka-GE":/^(\+?995)?(79\d{7}|5\d{8})$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"ky-KG":/^(\+?7\s?\+?7|0)\s?\d{2}\s?\d{3}\s?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"lv-LV":/^(\+?371)2\d{7}$/,"mg-MG":/^((\+?261|0)(2|3)\d)?\d{7}$/,"mn-MN":/^(\+|00|011)?976(77|81|88|91|94|95|96|99)\d{6}$/,"my-MM":/^(\+?959|09|9)(2[5-7]|3[1-2]|4[0-5]|6[6-9]|7[5-9]|9[6-9])[0-9]{7}$/,"ms-MY":/^(\+?60|0)1(([0145](-|\s)?\d{7,8})|([236-9](-|\s)?\d{7}))$/,"mz-MZ":/^(\+?258)?8[234567]\d{7}$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"ne-NP":/^(\+?977)?9[78]\d{8}$/,"nl-BE":/^(\+?32|0)4\d{8}$/,"nl-NL":/^(((\+|00)?31\(0\))|((\+|00)?31)|0)6{1}\d{8}$/,"nl-AW":/^(\+)?297(56|59|64|73|74|99)\d{5}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?([5-8]\d|45) ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/^((\+?55\ ?[1-9]{2}\ ?)|(\+?55\ ?\([1-9]{2}\)\ ?)|(0[1-9]{2}\ ?)|(\([1-9]{2}\)\ ?)|([1-9]{2}\ ?))((\d{4}\-?\d{4})|(9[1-9]{1}\d{3}\-?\d{4}))$/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"pt-AO":/^(\+244)\d{9}$/,"ro-MD":/^(\+?373|0)((6(0|1|2|6|7|8|9))|(7(6|7|8|9)))\d{6}$/,"ro-RO":/^(\+?40|0)\s?7\d{2}(\/|\s|\.|-)?\d{3}(\s|\.|-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"si-LK":/^(?:0|94|\+94)?(7(0|1|2|4|5|6|7|8)( |-)?)\d{7}$/,"sl-SI":/^(\+386\s?|0)(\d{1}\s?\d{3}\s?\d{2}\s?\d{2}|\d{2}\s?\d{3}\s?\d{3})$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"so-SO":/^(\+?252|0)((6[0-9])\d{7}|(7[1-9])\d{7})$/,"sq-AL":/^(\+355|0)6[789]\d{6}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"sv-SE":/^(\+?46|0)[\s\-]?7[\s\-]?[02369]([\s\-]?\d){7}$/,"tg-TJ":/^(\+?992)?[5][5]\d{7}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"tk-TM":/^(\+993|993|8)\d{8}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"uz-UZ":/^(\+?998)?(6[125-79]|7[1-69]|88|9\d)\d{7}$/,"vi-VN":/^((\+?84)|0)((3([2-9]))|(5([25689]))|(7([0|6-9]))|(8([1-9]))|(9([0-9])))([0-9]{7})$/,"zh-CN":/^((\+|00)86)?(1[3-9]|9[28])\d{9}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/,"dz-BT":/^(\+?975|0)?(17|16|77|02)\d{6}$/,"ar-YE":/^(((\+|00)9677|0?7)[0137]\d{7}|((\+|00)967|0)[1-7]\d{6})$/,"ar-EH":/^(\+?212|0)[\s\-]?(5288|5289)[\s\-]?\d{5}$/,"fa-AF":/^(\+93|0)?(2{1}[0-8]{1}|[3-5]{1}[0-4]{1})(\d{7})$/};o["en-CA"]=o["en-US"],o["fr-CA"]=o["en-CA"],o["fr-BE"]=o["nl-BE"],o["zh-HK"]=o["en-HK"],o["zh-MO"]=o["en-MO"],o["ga-IE"]=o["en-IE"],o["fr-CH"]=o["de-CH"],o["it-CH"]=o["fr-CH"];e.locales=Object.keys(o)},31252:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,r.default)(t),(0,i.default)(t)&&24===t.length};var r=o(n(83399)),i=o(n(82002));function o(t){return t&&t.__esModule?t:{default:t}}t.exports=e.default,t.exports.default=e.default},72830:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t),o.test(t)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=/[^\x00-\x7F]/;t.exports=e.default,t.exports.default=e.default},21666:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if((0,i.default)(t),e&&e.no_symbols)return a.test(t);return new RegExp("^[+-]?([0-9]*[".concat((e||{}).locale?o.decimal[e.locale]:".","])?[0-9]+$")).test(t)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r},o=n(13237);var a=/^[0-9]+$/;t.exports=e.default,t.exports.default=e.default},99546:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t),o.test(t)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=/^(0o)?[0-7]+$/i;t.exports=e.default,t.exports.default=e.default},93442:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){(0,i.default)(t);var n=t.replace(/\s/g,"").toUpperCase();return e.toUpperCase()in o&&o[e].test(n)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o={AM:/^[A-Z]{2}\d{7}$/,AR:/^[A-Z]{3}\d{6}$/,AT:/^[A-Z]\d{7}$/,AU:/^[A-Z]\d{7}$/,AZ:/^[A-Z]{1}\d{8}$/,BE:/^[A-Z]{2}\d{6}$/,BG:/^\d{9}$/,BR:/^[A-Z]{2}\d{6}$/,BY:/^[A-Z]{2}\d{7}$/,CA:/^[A-Z]{2}\d{6}$/,CH:/^[A-Z]\d{7}$/,CN:/^G\d{8}$|^E(?![IO])[A-Z0-9]\d{7}$/,CY:/^[A-Z](\d{6}|\d{8})$/,CZ:/^\d{8}$/,DE:/^[CFGHJKLMNPRTVWXYZ0-9]{9}$/,DK:/^\d{9}$/,DZ:/^\d{9}$/,EE:/^([A-Z]\d{7}|[A-Z]{2}\d{7})$/,ES:/^[A-Z0-9]{2}([A-Z0-9]?)\d{6}$/,FI:/^[A-Z]{2}\d{7}$/,FR:/^\d{2}[A-Z]{2}\d{5}$/,GB:/^\d{9}$/,GR:/^[A-Z]{2}\d{7}$/,HR:/^\d{9}$/,HU:/^[A-Z]{2}(\d{6}|\d{7})$/,IE:/^[A-Z0-9]{2}\d{7}$/,IN:/^[A-Z]{1}-?\d{7}$/,ID:/^[A-C]\d{7}$/,IR:/^[A-Z]\d{8}$/,IS:/^(A)\d{7}$/,IT:/^[A-Z0-9]{2}\d{7}$/,JM:/^[Aa]\d{7}$/,JP:/^[A-Z]{2}\d{7}$/,KR:/^[MS]\d{8}$/,KZ:/^[a-zA-Z]\d{7}$/,LI:/^[a-zA-Z]\d{5}$/,LT:/^[A-Z0-9]{8}$/,LU:/^[A-Z0-9]{8}$/,LV:/^[A-Z0-9]{2}\d{7}$/,LY:/^[A-Z0-9]{8}$/,MT:/^\d{7}$/,MZ:/^([A-Z]{2}\d{7})|(\d{2}[A-Z]{2}\d{5})$/,MY:/^[AHK]\d{8}$/,MX:/^\d{10,11}$/,NL:/^[A-Z]{2}[A-Z0-9]{6}\d$/,NZ:/^([Ll]([Aa]|[Dd]|[Ff]|[Hh])|[Ee]([Aa]|[Pp])|[Nn])\d{6}$/,PH:/^([A-Z](\d{6}|\d{7}[A-Z]))|([A-Z]{2}(\d{6}|\d{7}))$/,PK:/^[A-Z]{2}\d{7}$/,PL:/^[A-Z]{2}\d{7}$/,PT:/^[A-Z]\d{6}$/,RO:/^\d{8,9}$/,RU:/^\d{9}$/,SE:/^\d{8}$/,SL:/^(P)[A-Z]\d{7}$/,SK:/^[0-9A-Z]\d{7}$/,TH:/^[A-Z]{1,2}\d{6,7}$/,TR:/^[A-Z]\d{8}$/,UA:/^[A-Z]{2}\d{6}$/,US:/^\d{9}$/,ZA:/^[TAMD]\d{8}$/};t.exports=e.default,t.exports.default=e.default},33906:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t,{allow_leading_zeroes:!1,min:0,max:65535})};var r,i=(r=n(76084))&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default},93939:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if((0,i.default)(t),e in u)return u[e].test(t);if("any"===e){for(var n in u){if(u.hasOwnProperty(n))if(u[n].test(t))return!0}return!1}throw new Error("Invalid locale '".concat(e,"'"))},e.locales=void 0;var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=/^\d{3}$/,a=/^\d{4}$/,s=/^\d{5}$/,l=/^\d{6}$/,u={AD:/^AD\d{3}$/,AT:a,AU:a,AZ:/^AZ\d{4}$/,BA:/^([7-8]\d{4}$)/,BE:a,BG:a,BR:/^\d{5}-\d{3}$/,BY:/^2[1-4]\d{4}$/,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:a,CN:/^(0[1-7]|1[012356]|2[0-7]|3[0-6]|4[0-7]|5[1-7]|6[1-7]|7[1-5]|8[1345]|9[09])\d{4}$/,CZ:/^\d{3}\s?\d{2}$/,DE:s,DK:a,DO:s,DZ:s,EE:s,ES:/^(5[0-2]{1}|[0-4]{1}\d{1})\d{3}$/,FI:s,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,HR:/^([1-5]\d{4}$)/,HT:/^HT\d{4}$/,HU:a,ID:s,IE:/^(?!.*(?:o))[A-Za-z]\d[\dw]\s\w{4}$/i,IL:/^(\d{5}|\d{7})$/,IN:/^((?!10|29|35|54|55|65|66|86|87|88|89)[1-9][0-9]{5})$/,IR:/^(?!(\d)\1{3})[13-9]{4}[1346-9][013-9]{5}$/,IS:o,IT:s,JP:/^\d{3}\-\d{4}$/,KE:s,KR:/^(\d{5}|\d{6})$/,LI:/^(948[5-9]|949[0-7])$/,LT:/^LT\-\d{5}$/,LU:a,LV:/^LV\-\d{4}$/,LK:s,MG:o,MX:s,MT:/^[A-Za-z]{3}\s{0,1}\d{4}$/,MY:s,NL:/^[1-9]\d{3}\s?(?!sa|sd|ss)[a-z]{2}$/i,NO:a,NP:/^(10|21|22|32|33|34|44|45|56|57)\d{3}$|^(977)$/i,NZ:a,PL:/^\d{2}\-\d{3}$/,PR:/^00[679]\d{2}([ -]\d{4})?$/,PT:/^\d{4}\-\d{3}?$/,RO:l,RU:l,SA:s,SE:/^[1-9]\d{2}\s?\d{2}$/,SG:l,SI:a,SK:/^\d{3}\s?\d{2}$/,TH:s,TN:a,TW:/^\d{3}(\d{2})?$/,UA:s,US:/^\d{5}(-\d{4})?$/,ZA:a,ZM:s};e.locales=Object.keys(u)},61578:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t),h.test(t)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=/([01][0-9]|2[0-3])/,a=/[0-5][0-9]/,s=new RegExp("[-+]".concat(o.source,":").concat(a.source)),l=new RegExp("([zZ]|".concat(s.source,")")),u=new RegExp("".concat(o.source,":").concat(a.source,":").concat(/([0-5][0-9]|60)/.source).concat(/(\.[0-9]+)?/.source)),c=new RegExp("".concat(/[0-9]{4}/.source,"-").concat(/(0[1-9]|1[0-2])/.source,"-").concat(/([12]\d|0[1-9]|3[01])/.source)),d=new RegExp("".concat(u.source).concat(l.source)),h=new RegExp("^".concat(c.source,"[ tT]").concat(d.source,"$"));t.exports=e.default,t.exports.default=e.default},45467:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if((0,i.default)(t),!e)return o.test(t)||a.test(t);return o.test(t)||a.test(t)||s.test(t)||l.test(t)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=/^rgb\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){2}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\)$/,a=/^rgba\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/,s=/^rgb\((([0-9]%|[1-9][0-9]%|100%),){2}([0-9]%|[1-9][0-9]%|100%)\)$/,l=/^rgba\((([0-9]%|[1-9][0-9]%|100%),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/;t.exports=e.default,t.exports.default=e.default},99841:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,r.default)(t),o.test(t)};var r=i(n(83399));function i(t){return t&&t.__esModule?t:{default:t}}var o=(0,i(n(55730)).default)(["^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)","(?:-((?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*))*))","?(?:\\+([0-9a-z-]+(?:\\.[0-9a-z-]+)*))?$"],"i");t.exports=e.default,t.exports.default=e.default},69234:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t),o.test(t)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=/^[^\s-_](?!.*?[-_]{2,})[a-z0-9-\\][^\s]*[^-_\s]$/;t.exports=e.default,t.exports.default=e.default},17179:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;(0,i.default)(t);var n=function(t){var e=function(t){var e={};return Array.from(t).forEach((function(t){e[t]?e[t]+=1:e[t]=1})),e}(t),n={length:t.length,uniqueChars:Object.keys(e).length,uppercaseCount:0,lowercaseCount:0,numberCount:0,symbolCount:0};return Object.keys(e).forEach((function(t){a.test(t)?n.uppercaseCount+=e[t]:s.test(t)?n.lowercaseCount+=e[t]:l.test(t)?n.numberCount+=e[t]:u.test(t)&&(n.symbolCount+=e[t])})),n}(t);if((e=(0,r.default)(e||{},c)).returnScore)return function(t,e){var n=0;n+=t.uniqueChars*e.pointsPerUnique,n+=(t.length-t.uniqueChars)*e.pointsPerRepeat,t.lowercaseCount>0&&(n+=e.pointsForContainingLower);t.uppercaseCount>0&&(n+=e.pointsForContainingUpper);t.numberCount>0&&(n+=e.pointsForContainingNumber);t.symbolCount>0&&(n+=e.pointsForContainingSymbol);return n}(n,e);return n.length>=e.minLength&&n.lowercaseCount>=e.minLowercase&&n.uppercaseCount>=e.minUppercase&&n.numberCount>=e.minNumbers&&n.symbolCount>=e.minSymbols};var r=o(n(93610)),i=o(n(83399));function o(t){return t&&t.__esModule?t:{default:t}}var a=/^[A-Z]$/,s=/^[a-z]$/,l=/^[0-9]$/,u=/^[-#!$@£%^&*()_+|~=`{}\[\]:";'<>?,.\/\\ ]$/,c={minLength:8,minLowercase:1,minUppercase:1,minNumbers:1,minSymbols:1,returnScore:!1,pointsPerUnique:1,pointsPerRepeat:.5,pointsForContainingLower:10,pointsForContainingUpper:10,pointsForContainingNumber:10,pointsForContainingSymbol:10};t.exports=e.default,t.exports.default=e.default},43459:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t),o.test(t)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/;t.exports=e.default,t.exports.default=e.default},77741:function(t,e,n){"use strict";function r(t){return r="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},r(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";(0,i.default)(t);var n=t.slice(0);if(e in f)return e in y&&(n=n.replace(y[e],"")),!!f[e].test(n)&&(!(e in p)||p[e](n));throw new Error("Invalid locale '".concat(e,"'"))};var i=l(n(83399)),o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=r(t)&&"function"!=typeof t)return{default:t};var n=s(e);if(n&&n.has(t))return n.get(t);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&{}.hasOwnProperty.call(t,a)){var l=o?Object.getOwnPropertyDescriptor(t,a):null;l&&(l.get||l.set)?Object.defineProperty(i,a,l):i[a]=t[a]}return i.default=t,n&&n.set(t,i),i}(n(44834)),a=l(n(99013));function s(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(s=function(t){return t?n:e})(t)}function l(t){return t&&t.__esModule?t:{default:t}}function u(t){return function(t){if(Array.isArray(t))return c(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var d={andover:["10","12"],atlanta:["60","67"],austin:["50","53"],brookhaven:["01","02","03","04","05","06","11","13","14","16","21","22","23","25","34","51","52","54","5
95","56","57","58","59","65"],cincinnati:["30","32","35","36","37","38","61"],fresno:["15","24"],internet:["20","26","27","45","46","47"],kansas:["40","44"],memphis:["94","95"],ogden:["80","90"],philadelphia:["33","39","41","42","43","46","48","62","63","64","66","68","71","72","73","74","75","76","77","81","82","83","84","85","86","87","88","91","92","93","98","99"],sba:["31"]};function h(t){for(var e=!1,n=!1,r=0;r<3;r++)if(!e&&/[AEIOU]/.test(t[r]))e=!0;else if(!n&&e&&"X"===t[r])n=!0;else if(r>0){if(e&&!n&&!/[AEIOU]/.test(t[r]))return!1;if(n&&!/X/.test(t[r]))return!1}return!0}var f={"bg-BG":/^\d{10}$/,"cs-CZ":/^\d{6}\/{0,1}\d{3,4}$/,"de-AT":/^\d{9}$/,"de-DE":/^[1-9]\d{10}$/,"dk-DK":/^\d{6}-{0,1}\d{4}$/,"el-CY":/^[09]\d{7}[A-Z]$/,"el-GR":/^([0-4]|[7-9])\d{8}$/,"en-CA":/^\d{9}$/,"en-GB":/^\d{10}$|^(?!GB|NK|TN|ZZ)(?![DFIQUV])[A-Z](?![DFIQUVO])[A-Z]\d{6}[ABCD ]$/i,"en-IE":/^\d{7}[A-W][A-IW]{0,1}$/i,"en-US":/^\d{2}[- ]{0,1}\d{7}$/,"es-AR":/(20|23|24|27|30|33|34)[0-9]{8}[0-9]/,"es-ES":/^(\d{0,8}|[XYZKLM]\d{7})[A-HJ-NP-TV-Z]$/i,"et-EE":/^[1-6]\d{6}(00[1-9]|0[1-9][0-9]|[1-6][0-9]{2}|70[0-9]|710)\d$/,"fi-FI":/^\d{6}[-+A]\d{3}[0-9A-FHJ-NPR-Y]$/i,"fr-BE":/^\d{11}$/,"fr-FR":/^[0-3]\d{12}$|^[0-3]\d\s\d{2}(\s\d{3}){3}$/,"fr-LU":/^\d{13}$/,"hr-HR":/^\d{11}$/,"hu-HU":/^8\d{9}$/,"it-IT":/^[A-Z]{6}[L-NP-V0-9]{2}[A-EHLMPRST][L-NP-V0-9]{2}[A-ILMZ][L-NP-V0-9]{3}[A-Z]$/i,"lv-LV":/^\d{6}-{0,1}\d{5}$/,"mt-MT":/^\d{3,7}[APMGLHBZ]$|^([1-8])\1\d{7}$/i,"nl-NL":/^\d{9}$/,"pl-PL":/^\d{10,11}$/,"pt-BR":/(?:^\d{11}$)|(?:^\d{14}$)/,"pt-PT":/^\d{9}$/,"ro-RO":/^\d{13}$/,"sk-SK":/^\d{6}\/{0,1}\d{3,4}$/,"sl-SI":/^[1-9]\d{7}$/,"sv-SE":/^(\d{6}[-+]{0,1}\d{4}|(18|19|20)\d{6}[-+]{0,1}\d{4})$/,"uk-UA":/^\d{10}$/};f["lb-LU"]=f["fr-LU"],f["lt-LT"]=f["et-EE"],f["nl-BE"]=f["fr-BE"],f["fr-CA"]=f["en-CA"];var p={"bg-BG":function(t){var e=t.slice(0,2),n=parseInt(t.slice(2,4),10);n>40?(n-=40,e="20".concat(e)):n>20?(n-=20,e="18".concat(e)):e="19".concat(e),n<10&&(n="0".concat(n));var r="".concat(e,"/").concat(n,"/").concat(t.slice(4,6));if(!(0,a.default)(r,"YYYY/MM/DD"))return!1;for(var i=t.split("").map((function(t){return parseInt(t,10)})),o=[2,4,8,5,10,9,7,3,6],s=0,l=0;l<o.length;l++)s+=i[l]*o[l];return(s=s%11==10?0:s%11)===i[9]},"cs-CZ":function(t){t=t.replace(/\W/,"");var e=parseInt(t.slice(0,2),10);if(10===t.length)e=e<54?"20".concat(e):"19".concat(e);else{if("000"===t.slice(6))return!1;if(!(e<54))return!1;e="19".concat(e)}3===e.length&&(e=[e.slice(0,2),"0",e.slice(2)].join(""));var n=parseInt(t.slice(2,4),10);if(n>50&&(n-=50),n>20){if(parseInt(e,10)<2004)return!1;n-=20}n<10&&(n="0".concat(n));var r="".concat(e,"/").concat(n,"/").concat(t.slice(4,6));if(!(0,a.default)(r,"YYYY/MM/DD"))return!1;if(10===t.length&&parseInt(t,10)%11!=0){var i=parseInt(t.slice(0,9),10)%11;if(!(parseInt(e,10)<1986&&10===i))return!1;if(0!==parseInt(t.slice(9),10))return!1}return!0},"de-AT":function(t){return o.luhnCheck(t)},"de-DE":function(t){for(var e=t.split("").map((function(t){return parseInt(t,10)})),n=[],r=0;r<e.length-1;r++){n.push("");for(var i=0;i<e.length-1;i++)e[r]===e[i]&&(n[r]+=i)}if(2!==(n=n.filter((function(t){return t.length>1}))).length&&3!==n.length)return!1;if(3===n[0].length){for(var a=n[0].split("").map((function(t){return parseInt(t,10)})),s=0,l=0;l<a.length-1;l++)a[l]+1===a[l+1]&&(s+=1);if(2===s)return!1}return o.iso7064Check(t)},"dk-DK":function(t){t=t.replace(/\W/,"");var e=parseInt(t.slice(4,6),10);switch(t.slice(6,7)){case"0":case"1":case"2":case"3":e="19".concat(e);break;case"4":case"9":e=e<37?"20".concat(e):"19".concat(e);break;default:if(e<37)e="20".concat(e);else{if(!(e>58))return!1;e="18".concat(e)}}3===e.length&&(e=[e.slice(0,2),"0",e.slice(2)].join(""));var n="".concat(e,"/").concat(t.slice(2,4),"/").concat(t.slice(0,2));if(!(0,a.default)(n,"YYYY/MM/DD"))return!1;for(var r=t.split("").map((function(t){return parseInt(t,10)})),i=0,o=4,s=0;s<9;s++)i+=r[s]*o,1===(o-=1)&&(o=7);return 1!==(i%=11)&&(0===i?0===r[9]:r[9]===11-i)},"el-CY":function(t){for(var e=t.slice(0,8).split("").map((function(t){return parseInt(t,10)})),n=0,r=1;r<e.length;r+=2)n+=e[r];for(var i=0;i<e.length;i+=2)e[i]<2?n+=1-e[i]:(n+=2*(e[i]-2)+5,e[i]>4&&(n+=2));return String.fromCharCode(n%26+65)===t.charAt(8)},"el-GR":function(t){for(var e=t.split("").map((function(t){return parseInt(t,10)})),n=0,r=0;r<8;r++)n+=e[r]*Math.pow(2,8-r);return n%11%10===e[8]},"en-CA":function(t){var e=t.split(""),n=e.filter((function(t,e){return e%2})).map((function(t){return 2*Number(t)})).join("").split("");return e.filter((function(t,e){return!(e%2)})).concat(n).map((function(t){return Number(t)})).reduce((function(t,e){return t+e}))%10==0},"en-IE":function(t){var e=o.reverseMultiplyAndSum(t.split("").slice(0,7).map((function(t){return parseInt(t,10)})),8);return 9===t.length&&"W"!==t[8]&&(e+=9*(t[8].charCodeAt(0)-64)),0===(e%=23)?"W"===t[7].toUpperCase():t[7].toUpperCase()===String.fromCharCode(64+e)},"en-US":function(t){return-1!==function(){var t=[];for(var e in d)d.hasOwnProperty(e)&&t.push.apply(t,u(d[e]));return t}().indexOf(t.slice(0,2))},"es-AR":function(t){for(var e=0,n=t.split(""),r=parseInt(n.pop(),10),i=0;i<n.length;i++)e+=n[9-i]*(2+i%6);var o=11-e%11;return 11===o?o=0:10===o&&(o=9),r===o},"es-ES":function(t){var e=t.toUpperCase().split("");
vendor: 7,992 bytes, line 9
9if(isNaN(parseInt(e[0],10))&&e.length>1){var n=0;switch(e[0]){case"Y":n=1;break;case"Z":n=2}e.splice(0,1,n)}else for(;e.length<9;)e.unshift(0);e=e.join("");var r=parseInt(e.slice(0,8),10)%23;return e[8]===["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"][r]},"et-EE":function(t){var e=t.slice(1,3);switch(t.slice(0,1)){case"1":case"2":e="18".concat(e);break;case"3":case"4":e="19".concat(e);break;default:e="20".concat(e)}var n="".concat(e,"/").concat(t.slice(3,5),"/").concat(t.slice(5,7));if(!(0,a.default)(n,"YYYY/MM/DD"))return!1;for(var r=t.split("").map((function(t){return parseInt(t,10)})),i=0,o=1,s=0;s<10;s++)i+=r[s]*o,10===(o+=1)&&(o=1);if(i%11==10){i=0,o=3;for(var l=0;l<10;l++)i+=r[l]*o,10===(o+=1)&&(o=1);if(i%11==10)return 0===r[10]}return i%11===r[10]},"fi-FI":function(t){var e=t.slice(4,6);switch(t.slice(6,7)){case"+":e="18".concat(e);break;case"-":e="19".concat(e);break;default:e="20".concat(e)}var n="".concat(e,"/").concat(t.slice(2,4),"/").concat(t.slice(0,2));if(!(0,a.default)(n,"YYYY/MM/DD"))return!1;var r=parseInt(t.slice(0,6)+t.slice(7,10),10)%31;return r<10?r===parseInt(t.slice(10),10):["A","B","C","D","E","F","H","J","K","L","M","N","P","R","S","T","U","V","W","X","Y"][r-=10]===t.slice(10)},"fr-BE":function(t){if("00"!==t.slice(2,4)||"00"!==t.slice(4,6)){var e="".concat(t.slice(0,2),"/").concat(t.slice(2,4),"/").concat(t.slice(4,6));if(!(0,a.default)(e,"YY/MM/DD"))return!1}var n=97-parseInt(t.slice(0,9),10)%97,r=parseInt(t.slice(9,11),10);return n===r||(n=97-parseInt("2".concat(t.slice(0,9)),10)%97)===r},"fr-FR":function(t){return t=t.replace(/\s/g,""),parseInt(t.slice(0,10),10)%511===parseInt(t.slice(10,13),10)},"fr-LU":function(t){var e="".concat(t.slice(0,4),"/").concat(t.slice(4,6),"/").concat(t.slice(6,8));return!!(0,a.default)(e,"YYYY/MM/DD")&&(!!o.luhnCheck(t.slice(0,12))&&o.verhoeffCheck("".concat(t.slice(0,11)).concat(t[12])))},"hr-HR":function(t){return o.iso7064Check(t)},"hu-HU":function(t){for(var e=t.split("").map((function(t){return parseInt(t,10)})),n=8,r=1;r<9;r++)n+=e[r]*(r+1);return n%11===e[9]},"it-IT":function(t){var e=t.toUpperCase().split("");if(!h(e.slice(0,3)))return!1;if(!h(e.slice(3,6)))return!1;for(var n={L:"0",M:"1",N:"2",P:"3",Q:"4",R:"5",S:"6",T:"7",U:"8",V:"9"},r=0,i=[6,7,9,10,12,13,14];r<i.length;r++){var o=i[r];e[o]in n&&e.splice(o,1,n[e[o]])}var s={A:"01",B:"02",C:"03",D:"04",E:"05",H:"06",L:"07",M:"08",P:"09",R:"10",S:"11",T:"12"}[e[8]],l=parseInt(e[9]+e[10],10);l>40&&(l-=40),l<10&&(l="0".concat(l));var u="".concat(e[6]).concat(e[7],"/").concat(s,"/").concat(l);if(!(0,a.default)(u,"YY/MM/DD"))return!1;for(var c=0,d=1;d<e.length-1;d+=2){var f=parseInt(e[d],10);isNaN(f)&&(f=e[d].charCodeAt(0)-65),c+=f}for(var p={A:1,B:0,C:5,D:7,E:9,F:13,G:15,H:17,I:19,J:21,K:2,L:4,M:18,N:20,O:11,P:3,Q:6,R:8,S:12,T:14,U:16,V:10,W:22,X:25,Y:24,Z:23,0:1,1:0},g=0;g<e.length-1;g+=2){var y=0;if(e[g]in p)y=p[e[g]];else{var m=parseInt(e[g],10);y=2*m+1,m>4&&(y+=2)}c+=y}return String.fromCharCode(65+c%26)===e[15]},"lv-LV":function(t){var e=(t=t.replace(/\W/,"")).slice(0,2);if("32"!==e){if("00"!==t.slice(2,4)){var n=t.slice(4,6);switch(t[6]){case"0":n="18".concat(n);break;case"1":n="19".concat(n);break;default:n="20".concat(n)}var r="".concat(n,"/").concat(t.slice(2,4),"/").concat(e);if(!(0,a.default)(r,"YYYY/MM/DD"))return!1}for(var i=1101,o=[1,6,3,7,9,10,5,8,4,2],s=0;s<t.length-1;s++)i-=parseInt(t[s],10)*o[s];return parseInt(t[10],10)===i%11}return!0},"mt-MT":function(t){if(9!==t.length){for(var e=t.toUpperCase().split("");e.length<8;)e.unshift(0);switch(t[7]){case"A":case"P":if(0===parseInt(e[6],10))return!1;break;default:var n=parseInt(e.join("").slice(0,5),10);if(n>32e3)return!1;if(n===parseInt(e.join("").slice(5,7),10))return!1}}return!0},"nl-NL":function(t){return o.reverseMultiplyAndSum(t.split("").slice(0,8).map((function(t){return parseInt(t,10)})),9)%11===parseInt(t[8],10)},"pl-PL":function(t){if(10===t.length){for(var e=[6,5,7,2,3,4,5,6,7],n=0,r=0;r<e.length;r++)n+=parseInt(t[r],10)*e[r];return 10!==(n%=11)&&n===parseInt(t[9],10)}var i=t.slice(0,2),o=parseInt(t.slice(2,4),10);o>80?(i="18".concat(i),o-=80):o>60?(i="22".concat(i),o-=60):o>40?(i="21".concat(i),o-=40):o>20?(i="20".concat(i),o-=20):i="19".concat(i),o<10&&(o="0".concat(o));var s="".concat(i,"/").concat(o,"/").concat(t.slice(4,6));if(!(0,a.default)(s,"YYYY/MM/DD"))return!1;for(var l=0,u=1,c=0;c<t.length-1;c++)l+=parseInt(t[c],10)*u%10,(u+=2)>10?u=1:5===u&&(u+=2);return(l=10-l%10)===parseInt(t[10],10)},"pt-BR":function(t){if(11===t.length){var e,n;if(e=0,"11111111111"===t||"22222222222"===t||"33333333333"===t||"44444444444"===t||"55555555555"===t||"66666666666"===t||"77777777777"===t||"88888888888"===t||"99999999999"===t||"00000000000"===t)return!1;for(var r=1;r<=9;r++)e+=parseInt(t.substring(r-1,r),10)*(11-r);if(10===(n=10*e%11)&&(n=0),n!==parseInt(t.substring(9,10),10))return!1;e=0;for(var i=1;i<=10;i++)e+=parseInt(t.substring(i-1,i),10)*(12-i);return 10===(n=10*e%11)&&(n=0),n===parseInt(t.substring(10,11),10)}if("00000000000000"===t||"11111111111111"===t||"22222222222222"===t||"33333333333333"===t||"44444444444444"===t||"55555555555555"===t||"66666666666666"===t||"77777777777777"===t||"88888888888888"===t||"99999999999999"===t)return!1;for(var o=t.length-2,a=t.substring(0,o),s=t.substring(o),l=0,u=o-7,c=o;c>=1;c--)l+=a.charAt(o-c)*u,(u-=1)<2&&(u=9);var d=l%11<2?0:11-l%11;if(d!==parseInt(s.charAt(0),10))return!1;o+=1,a=t.substring(0,o),l=0,u=o-7;for(var h=o;h>=1;h--)l+=a.charAt(o-h)*u,(u-=1)<2&&(u=9);return(d=l%11<2?0:11-l%11)===parseInt(s.charAt(1),10)},"pt-PT":function(t){var e=11-o.reverseMultiplyAndSum(t.split("").slice(0,8).map((function(t){return parseInt(t,10)})),9)%11;return e>9?0===parseInt(t[8],10):e===parseInt(t[8],10)},"ro-RO":function(t){if("9000"!==t.slice(0,4)){var e=t.slice(1,3);switch(t[0]){case"1":case"2":e="19".concat(e);break;case"3":case"4":e="18".concat(e);break;case"5":case"6":e="20".concat(e)}var n="".concat(e,"/").concat(t.slice(3,5),"/").concat(t.slice(5,7));if(8===n.length){if(!(0,a.default)(n,"YY/MM/DD"))return!1}else if(!(0,a.default)(n,"YYYY/MM/DD"))return!1;for(var r=t.split("").map((function(t){return parseInt(t,10)})),i=[2,7,9,1,4,6,3,5,8,2,7,9],o=0,s=0;s<i.length;s++)o+=r[s]*i[s];return o%11==10?1===r[12]:r[12]===o%11}return!0},"sk-SK":function(t){if(9===t.length){if("000"===(t=t.replace(/\W/,"")).slice(6))return!1;var e=parseInt(t.slice(0,2),10);if(e>53)return!1;e=e<10?"190".concat(e):"19".concat(e);var n=parseInt(t.slice(2,4),10);n>50&&(n-=50),n<10&&(n="0".concat(n));var r="".concat(e,"/").concat(n,"/").concat(t.slice(4,6));if(!(0,a.default)(r,"YYYY/MM/DD"))return!1}return!0},"sl-SI":function(t){var e=11-o.reverseMultiplyAndSum(t.split("").slice(0,7).map((function(t){return parseInt(t,10)})),8)%11;return 10===e?0===parseInt(t[7],10):e===parseInt(t[7],10)},"sv-SE":function(t){var e=t.slice(0);t.length>11&&(e=e.slice(2));var n="",r=e.slice(2,4),i=parseInt(e.slice(4,6),10);if(t.length>11)n=t.slice(0,4);else if(n=t.slice(0,2),11===t.length&&i<60){var s=(new Date).getFullYear().toString(),l=parseInt(s.slice(0,2),10);if(s=parseInt(s,10),"-"===t[6])n=parseInt("".concat(l).concat(n),10)>s?"".concat(l-1).concat(n):"".concat(l).concat(n);else if(n="".concat(l-1).concat(n),s-parseInt(n,10)<100)return!1}i>60&&(i-=60),i<10&&(i="0".concat(i));var u="".concat(n,"/").concat(r,"/").concat(i);if(8===u.length){if(!(0,a.default)(u,"YY/MM/DD"))return!1}else if(!(0,a.default)(u,"YYYY/MM/DD"))return!1;return o.luhnCheck(t.replace(/\W/,""))},"uk-UA":function(t){for(var e=t.split("").map((function(t){return parseInt(t,10)})),n=[-1,5,7,9,4,6,10,5,7],r=0,i=0;i<n.length;i++)r+=e[i]*n[i];return r%11==10?0===e[9]:e[9]===r%11}};p["lb-LU"]=p["fr-LU"],p["lt-LT"]=p["et-EE"],p["nl-BE"]=p["fr-BE"],p["fr-CA"]=p["en-CA"];var g=/[-\\\/!@#$%\^&\*\(\)\+\=\[\]]+/g,y={"de-AT":g,"de-DE":/[\/\\]/g,"fr-BE":g};y["nl-BE"]=y["fr-BE"],t.exports=e.default,t.exports.default=e.default},58796:function(t,e,n){"use strict";
9Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return e=(0,i.default)(e,o),"string"==typeof t&&a[e.hourFormat][e.mode].test(t)};var r,i=(r=n(93610))&&r.__esModule?r:{default:r};var o={hourFormat:"hour24",mode:"default"},a={hour24:{default:/^([01]?[0-9]|2[0-3]):([0-5][0-9])$/,withSeconds:/^([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/},hour12:{default:/^(0?[1-9]|1[0-2]):([0-5][0-9]) (A|P)M$/,withSeconds:/^(0?[1-9]|1[0-2]):([0-5][0-9]):([0-5][0-9]) (A|P)M$/}};t.exports=e.default,t.exports.default=e.default},77844:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if((0,r.default)(t),!t||/[\s<>]/.test(t))return!1;if(0===t.indexOf("mailto:"))return!1;if((e=(0,a.default)(e,u)).validate_length&&t.length>=2083)return!1;if(!e.allow_fragments&&t.includes("#"))return!1;if(!e.allow_query_components&&(t.includes("?")||t.includes("&")))return!1;var n,s,h,f,p,g,y,m;if(y=t.split("#"),t=y.shift(),y=t.split("?"),t=y.shift(),(y=t.split("://")).length>1){if(n=y.shift().toLowerCase(),e.require_valid_protocol&&-1===e.protocols.indexOf(n))return!1}else{if(e.require_protocol)return!1;if("//"===t.slice(0,2)){if(!e.allow_protocol_relative_urls)return!1;y[0]=t.slice(2)}}if(""===(t=y.join("://")))return!1;if(y=t.split("/"),""===(t=y.shift())&&!e.require_host)return!0;if((y=t.split("@")).length>1){if(e.disallow_auth)return!1;if(""===y[0])return!1;if((s=y.shift()).indexOf(":")>=0&&s.split(":").length>2)return!1;var v=s.split(":"),b=(S=2,function(t){if(Array.isArray(t))return t}(w=v)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(w,S)||function(t,e){if(t){if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(t,e):void 0}}(w,S)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),x=b[0],_=b[1];if(""===x&&""===_)return!1}var w,S;f=y.join("@"),g=null,m=null;var M=f.match(c);M?(h="",m=M[1],g=M[2]||null):(h=(y=f.split(":")).shift(),y.length&&(g=y.join(":")));if(null!==g&&g.length>0){if(p=parseInt(g,10),!/^[0-9]+$/.test(g)||p<=0||p>65535)return!1}else if(e.require_port)return!1;if(e.host_whitelist)return d(h,e.host_whitelist);if(""===h&&!e.require_host)return!0;if(!((0,o.default)(h)||(0,i.default)(h,e)||m&&(0,o.default)(m,6)))return!1;if(h=h||m,e.host_blacklist&&d(h,e.host_blacklist))return!1;return!0};var r=s(n(83399)),i=s(n(57658)),o=s(n(35372)),a=s(n(93610));function s(t){return t&&t.__esModule?t:{default:t}}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var u={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_port:!1,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1,allow_fragments:!0,allow_query_components:!0,validate_length:!0},c=/^\[([^\]]+)\](?::([0-9]+))?$/;function d(t,e){for(var n=0;n<e.length;n++){var r=e[n];if(t===r||(i=r,"[object RegExp]"===Object.prototype.toString.call(i)&&r.test(t)))return!0}var i;return!1}t.exports=e.default,t.exports.default=e.default},65186:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){(0,i.default)(t);var n=o[[void 0,null].includes(e)?"all":e];return!!n&&n.test(t)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};var o={1:/^[0-9A-F]{8}-[0-9A-F]{4}-1[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,2:/^[0-9A-F]{8}-[0-9A-F]{4}-2[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,7:/^[0-9A-F]{8}-[0-9A-F]{4}-7[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i};t.exports=e.default,t.exports.default=e.default},75577:function(t,e,n){"use strict";
vendor: 14,020 bytes, line 9
9Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t),t===t.toUpperCase()};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default},55366:function(t,e,n){"use strict";function r(t){return r="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},r(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if((0,o.default)(t),(0,o.default)(e),e in l)return l[e](t);throw new Error("Invalid country code: '".concat(e,"'"))},e.vatMatchers=void 0;var i,o=(i=n(83399))&&i.__esModule?i:{default:i},a=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=r(t)&&"function"!=typeof t)return{default:t};var n=s(e);if(n&&n.has(t))return n.get(t);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&{}.hasOwnProperty.call(t,a)){var l=o?Object.getOwnPropertyDescriptor(t,a):null;l&&(l.get||l.set)?Object.defineProperty(i,a,l):i[a]=t[a]}return i.default=t,n&&n.set(t,i),i}(n(44834));function s(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(s=function(t){return t?n:e})(t)}var l=e.vatMatchers={AT:function(t){return/^(AT)?U\d{8}$/.test(t)},BE:function(t){return/^(BE)?\d{10}$/.test(t)},BG:function(t){return/^(BG)?\d{9,10}$/.test(t)},HR:function(t){return/^(HR)?\d{11}$/.test(t)},CY:function(t){return/^(CY)?\w{9}$/.test(t)},CZ:function(t){return/^(CZ)?\d{8,10}$/.test(t)},DK:function(t){return/^(DK)?\d{8}$/.test(t)},EE:function(t){return/^(EE)?\d{9}$/.test(t)},FI:function(t){return/^(FI)?\d{8}$/.test(t)},FR:function(t){return/^(FR)?\w{2}\d{9}$/.test(t)},DE:function(t){return/^(DE)?\d{9}$/.test(t)},EL:function(t){return/^(EL)?\d{9}$/.test(t)},HU:function(t){return/^(HU)?\d{8}$/.test(t)},IE:function(t){return/^(IE)?\d{7}\w{1}(W)?$/.test(t)},IT:function(t){return/^(IT)?\d{11}$/.test(t)},LV:function(t){return/^(LV)?\d{11}$/.test(t)},LT:function(t){return/^(LT)?\d{9,12}$/.test(t)},LU:function(t){return/^(LU)?\d{8}$/.test(t)},MT:function(t){return/^(MT)?\d{8}$/.test(t)},NL:function(t){return/^(NL)?\d{9}B\d{2}$/.test(t)},PL:function(t){return/^(PL)?(\d{10}|(\d{3}-\d{3}-\d{2}-\d{2})|(\d{3}-\d{2}-\d{2}-\d{3}))$/.test(t)},PT:function(t){var e=t.match(/^(PT)?(\d{9})$/);if(!e)return!1;var n=e[2],r=11-a.reverseMultiplyAndSum(n.split("").slice(0,8).map((function(t){return parseInt(t,10)})),9)%11;return r>9?0===parseInt(n[8],10):r===parseInt(n[8],10)},RO:function(t){return/^(RO)?\d{2,10}$/.test(t)},SK:function(t){return/^(SK)?\d{10}$/.test(t)},SI:function(t){return/^(SI)?\d{8}$/.test(t)},ES:function(t){return/^(ES)?\w\d{7}[A-Z]$/.test(t)},SE:function(t){return/^(SE)?\d{12}$/.test(t)},AL:function(t){return/^(AL)?\w{9}[A-Z]$/.test(t)},MK:function(t){return/^(MK)?\d{13}$/.test(t)},AU:function(t){if(!t.match(/^(AU)?(\d{11})$/))return!1;var e=[10,1,3,5,7,9,11,13,15,17,19];t=t.replace(/^AU/,"");for(var n=(parseInt(t.slice(0,1),10)-1).toString()+t.slice(1),r=0,i=0;i<11;i++)r+=e[i]*n.charAt(i);return 0!==r&&r%89==0},BY:function(t){return/^(УÐÐ )?\d{9}$/.test(t)},CA:function(t){return/^(CA)?\d{9}$/.test(t)},IS:function(t){return/^(IS)?\d{5,6}$/.test(t)},IN:function(t){return/^(IN)?\d{15}$/.test(t)},ID:function(t){return/^(ID)?(\d{15}|(\d{2}.\d{3}.\d{3}.\d{1}-\d{3}.\d{3}))$/.test(t)},IL:function(t){return/^(IL)?\d{9}$/.test(t)},KZ:function(t){return/^(KZ)?\d{12}$/.test(t)},NZ:function(t){return/^(NZ)?\d{9}$/.test(t)},NG:function(t){return/^(NG)?(\d{12}|(\d{8}-\d{4}))$/.test(t)},NO:function(t){return/^(NO)?\d{9}MVA$/.test(t)},PH:function(t){return/^(PH)?(\d{12}|\d{3} \d{3} \d{3} \d{3})$/.test(t)},RU:function(t){return/^(RU)?(\d{10}|\d{12})$/.test(t)},SM:function(t){return/^(SM)?\d{5}$/.test(t)},SA:function(t){return/^(SA)?\d{15}$/.test(t)},RS:function(t){return/^(RS)?\d{9}$/.test(t)},CH:function(t){var e,n,r;return/^(CHE[- ]?)?(\d{9}|(\d{3}\.\d{3}\.\d{3})|(\d{3} \d{3} \d{3})) ?(TVA|MWST|IVA)?$/.test(t)&&(e=t.match(/\d/g).map((function(t){return+t})),n=e.pop(),r=[5,4,3,2,7,6,5,4],n===(11-e.reduce((function(t,e,n){return t+e*r[n]}),0)%11)%11)},TR:function(t){return/^(TR)?\d{10}$/.test(t)},UA:function(t){return/^(UA)?\d{12}$/.test(t)},GB:function(t){return/^GB((\d{3} \d{4} ([0-8][0-9]|9[0-6]))|(\d{9} \d{3})|(((GD[0-4])|(HA[5-9]))[0-9]{2}))$/.test(t)},UZ:function(t){return/^(UZ)?\d{9}$/.test(t)},AR:function(t){return/^(AR)?\d{11}$/.test(t)},BO:function(t){return/^(BO)?\d{7}$/.test(t)},BR:function(t){return/^(BR)?((\d{2}.\d{3}.\d{3}\/\d{4}-\d{2})|(\d{3}.\d{3}.\d{3}-\d{2}))$/.test(t)},CL:function(t){return/^(CL)?\d{8}-\d{1}$/.test(t)},CO:function(t){return/^(CO)?\d{10}$/.test(t)},CR:function(t){return/^(CR)?\d{9,12}$/.test(t)},EC:function(t){return/^(EC)?\d{13}$/.test(t)},SV:function(t){return/^(SV)?\d{4}-\d{6}-\d{3}-\d{1}$/.test(t)},GT:function(t){return/^(GT)?\d{7}-\d{1}$/.test(t)},HN:function(t){return/^(HN)?$/.test(t)},MX:function(t){return/^(MX)?\w{3,4}\d{6}\w{3}$/.test(t)},NI:function(t){return/^(NI)?\d{3}-\d{6}-\d{4}\w{1}$/.test(t)},PA:function(t){return/^(PA)?$/.test(t)},PY:function(t){return/^(PY)?\d{6,8}-\d{1}$/.test(t)},PE:function(t){return/^(PE)?\d{11}$/.test(t)},DO:function(t){return/^(DO)?(\d{11}|(\d{3}-\d{7}-\d{1})|[1,4,5]{1}\d{8}|([1,4,5]{1})-\d{2}-\d{5}-\d{1})$/.test(t)},UY:function(t){return/^(UY)?\d{12}$/.test(t)},VE:function(t){return/^(VE)?[J,G,V,E]{1}-(\d{9}|(\d{8}-\d{1}))$/.test(t)}}},31449:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t),o.fullWidth.test(t)&&a.halfWidth.test(t)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r},o=n(29666),a=n(49534);t.exports=e.default,t.exports.default=e.default},90629:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){(0,i.default)(t);for(var n=t.length-1;n>=0;n--)if(-1===e.indexOf(t[n]))return!1;return!0};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default},62309:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){(0,i.default)(t);var n=e?new RegExp("^[".concat(e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+"),"g"):/^\s+/g;return t.replace(n,"")};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default},72576:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){(0,i.default)(t),"[object RegExp]"!==Object.prototype.toString.call(e)&&(e=new RegExp(e,n));return!!t.match(e)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default},81128:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){e=(0,i.default)(e,o);var n=t.split("@"),r=n.pop(),d=[n.join("@"),r];if(d[1]=d[1].toLowerCase(),"gmail.com"===d[1]||"googlemail.com"===d[1]){if(e.gmail_remove_subaddress&&(d[0]=d[0].split("+")[0]),e.gmail_remove_dots&&(d[0]=d[0].replace(/\.+/g,c)),!d[0].length)return!1;(e.all_lowercase||e.gmail_lowercase)&&(d[0]=d[0].toLowerCase()),d[1]=e.gmail_convert_googlemaildotcom?"gmail.com":d[1]}else if(a.indexOf(d[1])>=0){if(e.icloud_remove_subaddress&&(d[0]=d[0].split("+")[0]),!d[0].length)return!1;(e.all_lowercase||e.icloud_lowercase)&&(d[0]=d[0].toLowerCase())}else if(s.indexOf(d[1])>=0){if(e.outlookdotcom_remove_subaddress&&(d[0]=d[0].split("+")[0]),!d[0].length)return!1;(e.all_lowercase||e.outlookdotcom_lowercase)&&(d[0]=d[0].toLowerCase())}else if(l.indexOf(d[1])>=0){if(e.yahoo_remove_subaddress){var h=d[0].split("-");d[0]=h.length>1?h.slice(0,-1).join("-"):h[0]}if(!d[0].length)return!1;(e.all_lowercase||e.yahoo_lowercase)&&(d[0]=d[0].toLowerCase())}else u.indexOf(d[1])>=0?((e.all_lowercase||e.yandex_lowercase)&&(d[0]=d[0].toLowerCase()),d[1]="yandex.ru"):e.all_lowercase&&(d[0]=d[0].toLowerCase());return d.join("@")};var r,i=(r=n(93610))&&r.__esModule?r:{default:r};var o={all_lowercase:!0,gmail_lowercase:!0,gmail_remove_dots:!0,gmail_remove_subaddress:!0,gmail_convert_googlemaildotcom:!0,outlookdotcom_lowercase:!0,outlookdotcom_remove_subaddress:!0,yahoo_lowercase:!0,yahoo_remove_subaddress:!0,yandex_lowercase:!0,icloud_lowercase:!0,icloud_remove_subaddress:!0},a=["icloud.com","me.com"],s=["hotmail.at","hotmail.be","hotmail.ca","hotmail.cl","hotmail.co.il","hotmail.co.nz","hotmail.co.th","hotmail.co.uk","hotmail.com","hotmail.com.ar","hotmail.com.au","hotmail.com.br","hotmail.com.gr","hotmail.com.mx","hotmail.com.pe","hotmail.com.tr","hotmail.com.vn","hotmail.cz","hotmail.de","hotmail.dk","hotmail.es","hotmail.fr","hotmail.hu","hotmail.id","hotmail.ie","hotmail.in","hotmail.it","hotmail.jp","hotmail.kr","hotmail.lv","hotmail.my","hotmail.ph","hotmail.pt","hotmail.sa","hotmail.sg","hotmail.sk","live.be","live.co.uk","live.com","live.com.ar","live.com.mx","live.de","live.es","live.eu","live.fr","live.it","live.nl","msn.com","outlook.at","outlook.be","outlook.cl","outlook.co.il","outlook.co.nz","outlook.co.th","outlook.com","outlook.com.ar","outlook.com.au","outlook.com.br","outlook.com.gr","outlook.com.pe","outlook.com.tr","outlook.com.vn","outlook.cz","outlook.de","outlook.dk","outlook.es","outlook.fr","outlook.hu","outlook.id","outlook.ie","outlook.in","outlook.it","outlook.jp","outlook.kr","outlook.lv","outlook.my","outlook.ph","outlook.pt","outlook.sa","outlook.sg","outlook.sk","passport.com"],l=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"],u=["yandex.ru","yandex.ua","yandex.kz","yandex.com","yandex.by","ya.ru"];function c(t){return t.length>1?t:""}t.exports=e.default,t.exports.default=e.default},12483:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if((0,i.default)(t),e){var n=new RegExp("[".concat(e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+$"),"g");return t.replace(n,"")}var r=t.length-1;for(;/\s/.test(t.charAt(r));)r-=1;return t.slice(0,r+1)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default},561:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){(0,r.default)(t);var n=e?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F";return(0,i.default)(t,n)};var r=o(n(83399)),i=o(n(410));function o(t){return t&&t.__esModule?t:{default:t}}t.exports=e.default,t.exports.default=e.default},43214:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if((0,i.default)(t),e)return"1"===t||/^true$/i.test(t);return"0"!==t&&!/^false$/i.test(t)&&""!==t};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default},13752:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t),t=Date.parse(t),isNaN(t)?null:new Date(t)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default},33752:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t)?parseFloat(t):NaN};var r,i=(r=n(50995))&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default},50855:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return(0,i.default)(t),parseInt(t,e||10)};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default},30317:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return(0,r.default)((0,i.default)(t,e),e)};var r=o(n(12483)),i=o(n(62309));function o(t){return t&&t.__esModule?t:{default:t}}t.exports=e.default,t.exports.default=e.default},87677:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,i.default)(t),t.replace(/"/g,'"').replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(///g,"/").replace(/\/g,"\\").replace(/`/g,"`").replace(/&/g,"&")};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default},44834:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.iso7064Check=function(t){for(var e=10,n=0;n<t.length-1;n++)e=(parseInt(t[n],10)+e)%10==0?9:(parseInt(t[n],10)+e)%10*2%11;return(e=1===e?0:11-e)===parseInt(t[10],10)},e.luhnCheck=function(t){for(var e=0,n=!1,r=t.length-1;r>=0;r--){if(n){var i=2*parseInt(t[r],10);e+=i>9?i.toString().split("").map((function(t){return parseInt(t,10)})).reduce((function(t,e){return t+e}),0):i}else e+=parseInt(t[r],10);n=!n}return e%10==0},e.reverseMultiplyAndSum=function(t,e){for(var n=0,r=0;r<t.length;r++)n+=t[r]*(e-r);return n},e.verhoeffCheck=function(t){for(var e=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],n=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],r=t.split("").reverse().join(""),i=0,o=0;o<r.length;o++)i=e[i][n[o%8][parseInt(r[o],10)]];return 0===i}},83399:function(t,e){"use strict";function n(t){return n="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},n(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(!("string"==typeof t||t instanceof String)){var e=n(t);throw null===t?e="null":"object"===e&&(e=t.constructor.name),new TypeError("Expected a string but received a ".concat(e))}},t.exports=e.default,t.exports.default=e.default},79265:function(t,e){"use strict";
9Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=function(t,e){return t.some((function(t){return e===t}))};t.exports=e.default,t.exports.default=e.default},93610:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;for(var n in e)void 0===t[n]&&(t[n]=e[n]);return t},t.exports=e.default,t.exports.default=e.default},55730:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=t.join("");return new RegExp(n,e)},t.exports=e.default,t.exports.default=e.default},45772:function(t,e){"use strict";function n(t){return n="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},n(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){"object"===n(t)&&null!==t?t="function"==typeof t.toString?t.toString():"[object Object]":(null==t||isNaN(t)&&!t.length)&&(t="");return String(t)},t.exports=e.default,t.exports.default=e.default},61996:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return(0,i.default)(t),t.replace(new RegExp("[^".concat(e,"]+"),"g"),"")};var r,i=(r=n(83399))&&r.__esModule?r:{default:r};t.exports=e.default,t.exports.default=e.default},27422:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return me}});var r=n(74061);function i(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function o(t){return i(t)?new Date(t.getTime()):null==t?new Date(NaN):new Date(t)}function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!(e>=0&&e<=6))throw new RangeError("weekStartsOn must be between 0 and 6");var n=o(t),r=(n.getDay()+7-e)%7;return n.setDate(n.getDate()-r),n.setHours(0,0,0,0),n}function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.firstDayOfWeek,r=void 0===n?0:n,i=e.firstWeekContainsDate,s=void 0===i?1:i;if(!(s>=1&&s<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7");for(var l=o(t),u=l.getFullYear(),c=new Date(0),d=u+1;d>=u-1&&(c.setFullYear(d,0,s),c.setHours(0,0,0,0),c=a(c,r),!(l.getTime()>=c.getTime()));d--);return c}function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.firstDayOfWeek,r=void 0===n?0:n,i=e.firstWeekContainsDate,l=void 0===i?1:i,u=o(t),c=a(u,r),d=s(u,{firstDayOfWeek:r,firstWeekContainsDate:l}),h=c.getTime()-d.getTime();return Math.round(h/6048e5)+1}var u={months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],firstDayOfWeek:0,firstWeekContainsDate:1},c=/\[([^\]]+)]|YYYY|YY?|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|m{1,2}|s{1,2}|Z{1,2}|S{1,3}|w{1,2}|x|X|a|A/g;function d(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n="".concat(Math.abs(t)),r=t<0?"-":"";n.length<e;)n="0".concat(n);return r+n}function h(t){return 15*Math.round(t.getTimezoneOffset()/15)}function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=t>0?"-":"+",r=Math.abs(t),i=r%60;return n+d(Math.floor(r/60),2)+e+d(i,2)}var p=function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLocaleLowerCase():r},g={Y:function(t){var e=t.getFullYear();return e<=9999?"".concat(e):"+".concat(e)},YY:function(t){return d(t.getFullYear(),4).substr(2)},YYYY:function(t){return d(t.getFullYear(),4)},M:function(t){return t.getMonth()+1},MM:function(t){return d(t.getMonth()+1,2)},MMM:function(t,e){return e.monthsShort[t.getMonth()]},MMMM:function(t,e){return e.months[t.getMonth()]},D:function(t){return t.getDate()},DD:function(t){return d(t.getDate(),2)},H:function(t){return t.getHours()},HH:function(t){return d(t.getHours(),2)},h:function(t){var e=t.getHours();return 0===e?12:e>12?e%12:e},hh:function(){return d(g.h.apply(g,arguments),2)},m:function(t){return t.getMinutes()},mm:function(t){return d(t.getMinutes(),2)},s:function(t){return t.getSeconds()},ss:function(t){return d(t.getSeconds(),2)},S:function(t){return Math.floor(t.getMilliseconds()/100)},SS:function(t){return d(Math.floor(t.getMilliseconds()/10),2)},SSS:function(t){return d(t.getMilliseconds(),3)},d:function(t){return t.getDay()},dd:function(t,e){return e.weekdaysMin[t.getDay()]},ddd:function(t,e){return e.weekdaysShort[t.getDay()]},dddd:function(t,e){return e.weekdays[t.getDay()]},A:function(t,e){return(e.meridiem||p)(t.getHours(),t.getMinutes(),!1)},a:function(t,e){return(e.meridiem||p)(t.getHours(),t.getMinutes(),!0)},Z:function(t){return f(h(t),":")},ZZ:function(t){return f(h(t))},X:function(t){return Math.floor(t.getTime()/1e3)},x:function(t){return t.getTime()},w:function(t,e){return l(t,{firstDayOfWeek:e.firstDayOfWeek,firstWeekContainsDate:e.firstWeekContainsDate})},ww:function(t,e){return d(g.w(t,e),2)}};function y(t,e){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=e?String(e):"YYYY-MM-DDTHH:mm:ss.SSSZ",s=o(t);if(!i(n=s)||isNaN(n.getTime()))return"Invalid Date";var l=r.locale||u;return a.replace(c,(function(t,e){return e||("function"==typeof g[t]?"".concat(g[t](s,l)):t)}))}function m(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function v(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function b(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
9e%2?v(n,!0).forEach((function(e){_(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):v(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function x(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if(!(Symbol.iterator in Object(t))&&"[object Arguments]"!==Object.prototype.toString.call(t))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function _(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var w=/(\[[^\[]*\])|(MM?M?M?|Do|DD?|ddd?d?|w[o|w]?|YYYY|YY|a|A|hh?|HH?|mm?|ss?|S{1,3}|x|X|ZZ?|.)/g,S=/\d/,M=/\d\d/,I=/\d\d?/,A=/[+-]?\d+/,D="year",T="month",C="hour",O="minute",P="second",k="millisecond",$={},E=function(t,e,n){var r,i=Array.isArray(t)?t:[t];r="string"==typeof n?function(t){var e=parseInt(t,10);return _({},n,e)}:n,i.forEach((function(t){$[t]=[e,r]}))},L=function(t){return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")},N=function(t){return function(e){var n=e[t];if(!Array.isArray(n))throw new Error("Locale[".concat(t,"] need an array"));return new RegExp(n.map(L).join("|"))}},R=function(t,e){return function(n,r){var i=r[t];if(!Array.isArray(i))throw new Error("Locale[".concat(t,"] need an array"));var o=i.indexOf(n);if(o<0)throw new Error("Invalid Word");return _({},e,o)}};function F(t,e,n,r,i,o,a){var s;return t<100&&t>=0?(s=new Date(t+400,e,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,r,i,o,a),s}function B(){for(var t,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=n[0];return i<100&&i>=0?(n[0]+=400,t=new Date(Date.UTC.apply(Date,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(i)):t=new Date(Date.UTC.apply(Date,n)),t}function j(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};try{var r=n.locale,i=void 0===r?u:r,o=n.backupDate,a=void 0===o?new Date:o,l=function(t,e,n){var r=e.match(w);if(!r)throw new Error;for(var i=r.length,o={},a=0;a<i;a+=1){var s=r[a],l=$[s];if(l){var u="function"==typeof l[0]?l[0](n):l[0],c=l[1],d=(u.exec(t)||[])[0];o=b({},o,{},c(d,n)),t=t.replace(d,"")}else{var h=s.replace(/^\[|\]$/g,"");if(0!==t.indexOf(h))throw new Error("not match");t=t.substr(h.length)}}return o}(t,e,i),c=l.year,d=l.month,h=l.day,f=l.hour,p=l.minute,g=l.second,y=l.millisecond,v=l.isPM,x=l.date,_=l.offset,S=l.weekday,M=l.week;if(x)return x;var I,A=[c,d,h,f,p,g,y];if(A[3]=function(t,e){if(void 0!==t&&void 0!==e)if(e){if(t<12)return t+12}else if(12===t)return 0;return t}(A[3],v),void 0!==M&&void 0===d&&void 0===h){var D=s(void 0===c?a:new Date(c,3),{firstDayOfWeek:i.firstDayOfWeek,firstWeekContainsDate:i.firstWeekContainsDate});return new Date(D.getTime()+7*(M-1)*24*3600*1e3)}var T=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,n=[0,0,1,0,0,0,0],r=[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()],i=!0,o=0;o<7;o++)void 0===t[o]?n[o]=i?r[o]:n[o]:(n[o]=t[o],i=!1);return n}(A,a);return void 0!==_?(T[6]+=60*_*1e3,I=B.apply(void 0,m(T))):I=F.apply(void 0,m(T)),void 0!==S&&I.getDay()!==S?new Date(NaN):I}catch(t){return new Date(NaN)}}E("Y",A,D),E("YY",M,(function(t){var e=(new Date).getFullYear(),n=Math.floor(e/100),r=parseInt(t,10);return _({},D,r=100*(r>68?n-1:n)+r)})),E("YYYY",/\d{4}/,D),E("M",I,(function(t){return _({},T,parseInt(t,10)-1)})),E("MM",M,(function(t){return _({},T,parseInt(t,10)-1)})),E("MMM",N("monthsShort"),R("monthsShort",T)),E("MMMM",N("months"),R("months",T)),E("D",I,"day"),E("DD",M,"day"),E(["H","h"],I,C),E(["HH","hh"],M,C),E("m",I,O),E("mm",M,O),E("s",I,P),E("ss",M,P),E("S",S,(function(t){return _({},k,100*parseInt(t,10))})),E("SS",M,(function(t){return _({},k,10*parseInt(t,10))})),E("SSS",/\d{3}/,k),E(["A","a"],(function(t){return t.meridiemParse||/[ap]\.?m?\.?/i}),(function(t,e){var n="function"==typeof e.isPM?e.isPM(t):function(t){return"p"==="".concat(t).toLowerCase().charAt(0)}(t);return{isPM:n}})),E(["Z","ZZ"],/[+-]\d\d:?\d\d/,(function(t){return{offset:(e=t,n=x(e.match(/([+-]|\d\d)/g)||["-","0","0"],3),r=n[0],i=n[1],o=n[2],a=60*parseInt(i,10)+parseInt(o,10),0===a?0:"+"===r?-a:+a)};var e,n,r,i,o,a})),E("x",A,(function(t){return{date:new Date(parseInt(t,10))}})),E("X",/[+-]?\d+(\.\d{1,3})?/,(function(t){return{date:new Date(1e3*parseFloat(t))}})),E("d",S,"weekday"),E("dd",N("weekdaysMin"),R("weekdaysMin","weekday")),E("ddd",N("weekdaysShort"),R("weekdaysShort","weekday")),E("dddd",N("weekdays"),R("weekdays","weekday")),E("w",I,"week"),E("ww",M,"week");var z=Object.defineProperty,V=Object.defineProperties,H=Object.getOwnPropertyDescriptors,W=Object.getOwnPropertySymbols,G=Object.prototype.hasOwnProperty,Y=Object.prototype.propertyIsEnumerable,U=(t,e,n)=>e in t?z(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Z=(t,e)=>{for(var n in e||(e={}))G.call(e,n)&&U(t,n,e[n]);if(W)for(var n of W(e))Y.call(e,n)&&U(t,n,e[n]);return t},X=(t,e)=>V(t,H(e));const q={formatLocale:u,yearFormat:"YYYY",monthFormat:"MMM",monthBeforeYear:!0};let K="en";const J={};function Q(t,e,n=!1){if("string"!=typeof t)return J[K];let r=K;return J[t]&&(r=t),e&&(J[t]=e,r=t),n||(K=r),J[t]||J[K]}function tt(t){return Q(t,void 0,!0)}function et(t,e){if(!Array.isArray(t))return[];const n=[],r=t.length;let i=0;for(e=e||r;i<r;)n.push(t.slice(i,i+=e));return n}function nt(t){return Array.isArray(t)?t[t.length-1]:void 0}function rt(t){return"[object Object]"===Object.prototype.toString.call(t)}function it(t,e){const n={};return rt(t)?(Array.isArray(e)||(e=[e]),e.forEach((e=>{Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])})),n):n}function ot(t,e){if(!rt(t))return{};let n=t;return rt(e)&&Object.keys(e).forEach((r=>{let i=e[r];const o=t[r];rt(i)&&rt(o)&&(i=ot(o,i)),n=X(Z({},n),{[r]:i})})),n}function at(t){const e=parseInt(String(t),10);return e<10?`0${e}`:`${e}`}J[K]=q;const st="datepicker_locale",lt="datepicker_prefixClass",ut="datepicker_getWeek";function ct(){return(0,r.inject)(st,(0,r.shallowRef)(tt()))}function dt(t){const e=(0,r.computed)((()=>rt(t.value)?ot(tt(),t.value):tt(t.value)));return(0,r.provide)(st,e),e}function ht(){return(0,r.inject)(lt,"mx")}function ft(t,e=document.body){if(!t||t===e)return null;const n=(t,e)=>getComputedStyle(t,null).getPropertyValue(e);return/(auto|scroll)/.test(n(t,"overflow")+n(t,"overflow-y")+n(t,"overflow-x"))?t:ft(t.parentElement,e)}let pt;const gt="ontouchend"in document?"touchstart":"mousedown";function yt(t,e){return{setup:t,name:t.name,props:e}}function mt(t,e){return new Proxy(t,{get(t,n){const r=t[n];return void 0!==r?r:e[n]}})}var vt=yt((function(t,{slots:e}){const n=mt(t,{appendToBody:!0}),i=ht(),o=(0,r.ref)(null),a=(0,r.ref)({left:"",top:""}),s=()=>
9{if(!n.visible||!o.value)return;const t=n.getRelativeElement();if(!t)return;const{width:e,height:r}=function(t){const e=t.style.display,n=t.style.visibility;t.style.display="block",t.style.visibility="hidden";const r=window.getComputedStyle(t),i=t.offsetWidth+parseInt(r.marginLeft,10)+parseInt(r.marginRight,10),o=t.offsetHeight+parseInt(r.marginTop,10)+parseInt(r.marginBottom,10);return t.style.display=e,t.style.visibility=n,{width:i,height:o}}(o.value);a.value=function(t,e,n,r){let i=0,o=0,a=0,s=0;const l=t.getBoundingClientRect(),u=document.documentElement.clientWidth,c=document.documentElement.clientHeight;return r&&(a=window.pageXOffset+l.left,s=window.pageYOffset+l.top),i=u-l.left<e&&l.right<e?a-l.left+1:l.left+l.width/2<=u/2?a:a+l.width-e,o=l.top<=n&&c-l.bottom<=n?s+c-l.top-n:l.top+l.height/2<=c/2?s+l.height:s-n,{left:`${i}px`,top:`${o}px`}}(t,e,r,n.appendToBody)};(0,r.watchEffect)(s,{flush:"post"}),(0,r.watchEffect)((t=>{const e=n.getRelativeElement();if(!e)return;const r=ft(e)||window,i=function(t){let e=!1;return function(...n){e||(e=!0,requestAnimationFrame((()=>{e=!1,t.apply(this,n)})))}}(s);r.addEventListener("scroll",i),window.addEventListener("resize",i),t((()=>{r.removeEventListener("scroll",i),window.removeEventListener("resize",i)}))}),{flush:"post"});const l=t=>{if(!n.visible)return;const e=t.target,r=o.value,i=n.getRelativeElement();r&&!r.contains(e)&&i&&!i.contains(e)&&n.onClickOutside(t)};return(0,r.watchEffect)((t=>{document.addEventListener(gt,l),t((()=>{document.removeEventListener(gt,l)}))})),()=>(0,r.createVNode)(r.Teleport,{to:"body",disabled:!n.appendToBody},{default:()=>[(0,r.createVNode)(r.Transition,{name:`${i}-zoom-in-down`},{default:()=>{var t;return[n.visible&&(0,r.createVNode)("div",{ref:o,class:`${i}-datepicker-main ${i}-datepicker-popup ${n.className}`,style:[Z({position:"absolute"},a.value),n.style||{}]},[null==(t=e.default)?void 0:t.call(e)])]}})]})}),["style","className","visible","appendToBody","onClickOutside","getRelativeElement"]);const bt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},xt=[(0,r.createElementVNode)("path",{d:"M940.218 107.055H730.764v-60.51H665.6v60.51H363.055v-60.51H297.89v60.51H83.78c-18.617 0-32.581 13.963-32.581 32.581v805.237c0 18.618 13.964 32.582 32.582 32.582h861.09c18.619 0 32.583-13.964 32.583-32.582V139.636c-4.655-18.618-18.619-32.581-37.237-32.581zm-642.327 65.163v60.51h65.164v-60.51h307.2v60.51h65.163v-60.51h176.873v204.8H116.364v-204.8H297.89zM116.364 912.291V442.18H912.29v470.11H116.364z"},null,-1)];function _t(t,e){return(0,r.openBlock)(),(0,r.createElementBlock)("svg",bt,xt)}const wt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},St=[(0,r.createElementVNode)("path",{d:"M810.005 274.005 572.011 512l237.994 237.995-60.01 60.01L512 572.011 274.005 810.005l-60.01-60.01L451.989 512 213.995 274.005l60.01-60.01L512 451.989l237.995-237.994z"},null,-1)];function Mt(t,e){return(0,r.openBlock)(),(0,r.createElementBlock)("svg",wt,St)}const It={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"1em",height:"1em"},At=[(0,r.createElementVNode)("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),(0,r.createElementVNode)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"},null,-1),(0,r.createElementVNode)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},null,-1)];function Dt(t,e){return(0,r.openBlock)(),(0,r.createElementBlock)("svg",It,At)}function Tt(t,e=0,n=1,r=0,i=0,o=0,a=0){const s=new Date(t,e,n,r,i,o,a);return t<100&&t>=0&&s.setFullYear(t),s}function Ct(t){return t instanceof Date&&!isNaN(t.getTime())}function Ot(t){return Array.isArray(t)&&2===t.length&&t.every(Ct)&&t[0]<=t[1]}function Pt(...t){if(void 0!==t[0]&&null!==t[0]){const e=new Date(t[0]);if(Ct(e))return e}const e=t.slice(1);return e.length?Pt(...e):new Date}function kt(t){const e=new Date(t);return e.setDate(1),e.setHours(0,0,0,0),e}function $t(t){const e=new Date(t);return e.setHours(0,0,0,0),e}function Et(t,e){const n=new Date(t),r="function"==typeof e?e(n.getMonth()):Number(e),i=Tt(n.getFullYear(),r+1,0).getDate(),o=n.getDate();return n.setMonth(r,Math.min(o,i)),n}function Lt(t,e){const n=new Date(t),r="function"==typeof e?e(n.getFullYear()):e;return n.setFullYear(r),n}function Nt(t,e){const n=new Date(t),r=new Date(e);return n.setHours(r.getHours(),r.getMinutes(),r.getSeconds()),n}const Rt=["placeholder","editable","disabled","clearable","inputClass","inputAttr","range","multiple","separator","renderInputText","onInputError","onClear"];var Ft=yt((function(t,{slots:e}){const n=mt(t,{editable:!0,disabled:!1,clearable:!0,range:!1,multiple:!1}),i=ht(),o=(0,r.ref)(null),a=(0,r.computed)((()=>n.separator||(n.range?" ~ ":","))),s=t=>{return n.range?Ot(t):n.multiple?(e=t,Array.isArray(e)&&e.every(Ct)):Ct(t);var e},l=(0,r.computed)((()=>null!==o.value?o.value:"function"==typeof n.renderInputText?n.renderInputText(n.value):s(n.value)?Array.isArray(n.value)?n.value.map((t=>n.formatDate(t))).join(a.value):n.formatDate(n.value):"")),u=t=>{var e;t&&t.stopPropagation(),n.onChange(n.range?[null,null]:null),null==(e=n.onClear)||e.call(n)},c=()=>{var t;if(!n.editable||null===o.value)return;const e=o.value.trim();
9if(o.value=null,""===e)return void u();let r;if(n.range){let t=e.split(a.value);2!==t.length&&(t=e.split(a.value.trim())),r=t.map((t=>n.parseDate(t.trim())))}else r=n.multiple?e.split(a.value).map((t=>n.parseDate(t.trim()))):n.parseDate(e);var i;s(r)&&(i=r,!(Array.isArray(i)?i.some((t=>n.disabledDate(t))):n.disabledDate(i)))?n.onChange(r):null==(t=n.onInputError)||t.call(n,e)},d=t=>{o.value="string"==typeof t?t:t.target.value},h=t=>{const{keyCode:e}=t;9===e?n.onBlur():13===e&&c()};return()=>{var t,o,a;const s=!n.disabled&&n.clearable&&l.value,f=X(Z({name:"date",type:"text",autocomplete:"off",value:l.value,class:n.inputClass||`${i}-input`,readonly:!n.editable,disabled:n.disabled,placeholder:n.placeholder},n.inputAttr),{onFocus:n.onFocus,onKeydown:h,onInput:d,onChange:c});return(0,r.createVNode)("div",{class:`${i}-input-wrapper`,onClick:n.onClick},[(null==(t=e.input)?void 0:t.call(e,f))||(0,r.createVNode)("input",f,null),s?(0,r.createVNode)("i",{class:`${i}-icon-clear`,onClick:u},[(null==(o=e["icon-clear"])?void 0:o.call(e))||(0,r.createVNode)(Mt,null,null)]):null,(0,r.createVNode)("i",{class:`${i}-icon-calendar`},[(null==(a=e["icon-calendar"])?void 0:a.call(e))||(0,r.createVNode)(_t,null,null)])])}}),["value","formatDate","parseDate","disabledDate","onChange","onFocus","onBlur","onClick",...Rt]);var Bt=yt((function(t,{slots:e}){var n;const i=mt(t,{prefixClass:"mx",valueType:"date",format:"YYYY-MM-DD",type:"date",disabledDate:()=>!1,disabledTime:()=>!1,confirmText:"OK"});var o;o=i.prefixClass,(0,r.provide)(lt,o),function(t){(0,r.provide)(ut,t)}((null==(n=i.formatter)?void 0:n.getWeek)||l);const a=dt((0,r.toRef)(t,"lang")),s=(0,r.ref)(),u=()=>s.value,c=(0,r.ref)(!1),d=(0,r.computed)((()=>!i.disabled&&("boolean"==typeof i.open?i.open:c.value))),h=()=>{var t,e;i.disabled||d.value||(c.value=!0,null==(t=i["onUpdate:open"])||t.call(i,!0),null==(e=i.onOpen)||e.call(i))},f=()=>{var t,e;d.value&&(c.value=!1,null==(t=i["onUpdate:open"])||t.call(i,!1),null==(e=i.onClose)||e.call(i))},p=(t,e)=>(e=e||i.format,rt(i.formatter)&&"function"==typeof i.formatter.stringify?i.formatter.stringify(t,e):y(t,e,{locale:a.value.formatLocale})),g=(t,e)=>{if(e=e||i.format,rt(i.formatter)&&"function"==typeof i.formatter.parse)return i.formatter.parse(t,e);const n=new Date;return j(t,e,{locale:a.value.formatLocale,backupDate:n})},m=t=>{switch(i.valueType){case"date":return t instanceof Date?new Date(t.getTime()):new Date(NaN);case"timestamp":return"number"==typeof t?new Date(t):new Date(NaN);case"format":return"string"==typeof t?g(t):new Date(NaN);default:return"string"==typeof t?g(t,i.valueType):new Date(NaN)}},v=t=>{if(!Ct(t))return null;switch(i.valueType){case"date":return t;case"timestamp":return t.getTime();case"format":return p(t);default:return p(t,i.valueType)}},b=(0,r.computed)((()=>{const t=i.value;return i.range?(Array.isArray(t)?t.slice(0,2):[null,null]).map(m):i.multiple?(Array.isArray(t)?t:[]).map(m):m(t)})),x=(t,e,n=!0)=>{var r,o;const a=Array.isArray(t)?t.map(v):v(t);return null==(r=i["onUpdate:value"])||r.call(i,a),null==(o=i.onChange)||o.call(i,a,e),n&&f(),a},_=(0,r.ref)(new Date);(0,r.watchEffect)((()=>{d.value&&(_.value=b.value)}));const w=(t,e)=>{i.confirm?_.value=t:x(t,e,!i.multiple&&(e===i.type||"time"===e))},S=()=>{var t;const e=x(_.value);null==(t=i.onConfirm)||t.call(i,e)},M=t=>i.disabledDate(t)||i.disabledTime(t);return()=>{var t,n;const{prefixClass:o,disabled:a,confirm:l,range:c,popupClass:y,popupStyle:m,appendToBody:v}=i,I={value:_.value,"onUpdate:value":w,emit:x},A=e.header&&(0,r.createVNode)("div",{class:`${o}-datepicker-header`},[e.header(I)]),D=(e.footer||l)&&(0,r.createVNode)("div",{class:`${o}-datepicker-footer`},[null==(t=e.footer)?void 0:t.call(e,I),l&&(0,r.createVNode)("button",{type:"button",class:`${o}-btn ${o}-datepicker-btn-confirm`,onClick:S},[i.confirmText])]),T=null==(n=e.content)?void 0:n.call(e,I),C=(e.sidebar||i.shortcuts)&&(t=>{var n;const{prefixClass:o}=i;return(0,r.createVNode)("div",{class:`${o}-datepicker-sidebar`},[null==(n=e.sidebar)?void 0:n.call(e,t),(i.shortcuts||[]).map(((t,e)=>(0,r.createVNode)("button",{key:e,"data-index":e,type:"button",class:`${o}-btn ${o}-btn-text ${o}-btn-shortcut`,onClick:()=>{var e;const n=null==(e=t.onClick)?void 0:e.call(t);n&&x(n)}},[t.text])))])})(I);return(0,r.createVNode)("div",{ref:s,class:{[`${o}-datepicker`]:!0,[`${o}-datepicker-range`]:c,disabled:a}},[(0,r.createVNode)(Ft,X(Z({},it(i,Rt)),{value:b.value,formatDate:p,parseDate:g,disabledDate:M,onChange:x,onClick:h,onFocus:h,onBlur:f}
9),it(e,["icon-calendar","icon-clear","input"])),(0,r.createVNode)(vt,{className:y,style:m,visible:d.value,appendToBody:v,getRelativeElement:u,onClickOutside:f},{default:()=>[C,(0,r.createVNode)("div",{class:`${o}-datepicker-content`},[A,T,D])]})])}}),[...["value","valueType","type","format","formatter","lang","prefixClass","appendToBody","open","popupClass","popupStyle","confirm","confirmText","shortcuts","disabledDate","disabledTime","onOpen","onClose","onConfirm","onChange","onUpdate:open","onUpdate:value"],...Rt]);function jt(t){var e=t,{value:n}=e,i=((t,e)=>{var n={};for(var r in t)G.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&W)for(var r of W(t))e.indexOf(r)<0&&Y.call(t,r)&&(n[r]=t[r]);return n})(e,["value"]);const o=ht();return(0,r.createVNode)("button",X(Z({},i),{type:"button",class:`${o}-btn ${o}-btn-text ${o}-btn-icon-${n}`}),[(0,r.createVNode)("i",{class:`${o}-icon-${n}`},null)])}function zt({type:t,calendar:e,onUpdateCalendar:n},{slots:i}){var o;const a=ht();return(0,r.createVNode)("div",{class:`${a}-calendar-header`},[(0,r.createVNode)(jt,{value:"double-left",onClick:"year"===t?()=>{n(Lt(e,(t=>t-10)))}:()=>{n(Lt(e,(t=>t-1)))}},null),"date"===t&&(0,r.createVNode)(jt,{value:"left",onClick:()=>{n(Et(e,(t=>t-1)))}},null),(0,r.createVNode)(jt,{value:"double-right",onClick:"year"===t?()=>{n(Lt(e,(t=>t+10)))}:()=>{n(Lt(e,(t=>t+1)))}},null),"date"===t&&(0,r.createVNode)(jt,{value:"right",onClick:()=>{n(Et(e,(t=>t+1)))}},null),(0,r.createVNode)("span",{class:`${a}-calendar-header-label`},[null==(o=i.default)?void 0:o.call(i)])])}function Vt({calendar:t,isWeekMode:e,showWeekNumber:n,titleFormat:i,getWeekActive:o,getCellClasses:a,onSelect:s,onUpdatePanel:u,onUpdateCalendar:c,onDateMouseEnter:d,onDateMouseLeave:h}){const f=ht(),p=(0,r.inject)(ut,l),g=ct().value,{yearFormat:m,monthBeforeYear:v,monthFormat:b="MMM",formatLocale:x}=g,_=x.firstDayOfWeek||0;let w=g.days||x.weekdaysMin;w=w.concat(w).slice(_,_+7);const S=et(function({firstDayOfWeek:t,year:e,month:n}){const r=[],i=Tt(e,n,0),o=i.getDate(),a=o-(i.getDay()+7-t)%7;for(let t=a;t<=o;t++)r.push(Tt(e,n,t-o));i.setMonth(n+1,0);const s=i.getDate();for(let t=1;t<=s;t++)r.push(Tt(e,n,t));const l=42-(o-a+1)-s;for(let t=1;t<=l;t++)r.push(Tt(e,n,s+t));return r}({firstDayOfWeek:_,year:t.getFullYear(),month:t.getMonth()}),7),M=(t,e)=>y(t,e,{locale:g.formatLocale}),I=t=>{u(t)},A=t=>{const e=t.getAttribute("data-index"),[n,r]=e.split(",").map((t=>parseInt(t,10))),i=S[n][r];return new Date(i)},D=t=>{s(A(t.currentTarget))},T=t=>{d&&d(A(t.currentTarget))},C=t=>{h&&h(A(t.currentTarget))},O=(0,r.createVNode)("button",{type:"button",class:`${f}-btn ${f}-btn-text ${f}-btn-current-year`,onClick:()=>I("year")},[M(t,m)]),P=(0,r.createVNode)("button",{type:"button",class:`${f}-btn ${f}-btn-text ${f}-btn-current-month`,onClick:()=>I("month")},[M(t,b)]);return n="boolean"==typeof n?n:e,(0,r.createVNode)("div",{class:[`${f}-calendar ${f}-calendar-panel-date`,{[`${f}-calendar-week-mode`]:e}]},[(0,r.createVNode)(zt,{type:"date",calendar:t,onUpdateCalendar:c},{default:()=>[v?[P,O]:[O,P]]}),(0,r.createVNode)("div",{class:`${f}-calendar-content`},[(0,r.createVNode)("table",{class:`${f}-table ${f}-table-date`},[(0,r.createVNode)("thead",null,[(0,r.createVNode)("tr",null,[n&&(0,r.createVNode)("th",{class:`${f}-week-number-header`},null),w.map((t=>(0,r.createVNode)("th",{key:t},[t])))])]),(0,r.createVNode)("tbody",null,[S.map(((t,e)=>(0,r.createVNode)("tr",{key:e,class:[`${f}-date-row`,{[`${f}-active-week`]:o(t)}]},[n&&(0,r.createVNode)("td",{class:`${f}-week-number`,"data-index":`${e},0`,onClick:D},[(0,r.createVNode)("div",null,[p(t[0])])]),t.map(((t,n)=>(0,r.createVNode)("td",{key:n,class:["cell",a(t)],title:M(t,i),"data-index":`${e},${n}`,onClick:D,onMouseenter:T,onMouseleave:C},[(0,r.createVNode)("div",null,[t.getDate()])])))])))])])])])}function Ht({calendar:t,getCellClasses:e,onSelect:n,onUpdateCalendar:i,onUpdatePanel:o}){const a=ht(),s=ct().value,l=s.months||s.formatLocale.monthsShort,u=e=>Tt(t.getFullYear(),e),c=t=>{const e=t.currentTarget.getAttribute("data-month");n(u(parseInt(e,10)))};return(0,r.createVNode)("div",{class:`${a}-calendar ${a}-calendar-panel-month`},[(0,r.createVNode)(zt,{type:"month",calendar:t,onUpdateCalendar:i},{default:()=>[(0,r.createVNode)("button",{type:"button",class:`${a}-btn ${a}-btn-text ${a}-btn-current-year`,onClick:()=>o("year")},[t.getFullYear()])]}),(0,r.createVNode)("div",{class:`${a}-calendar-content`},[(0,r.createVNode)("table",{class:`${a}-table ${a}-table-month`},[et(l,3).map(((t,n)=>(0,r.createVNode)("tr",{key:n},[t.map(((t,i)=>{const o=3*n+i;return(0,r.createVNode)("td",{key:i,class:["cell",e(u(o))],"data-month":o,onClick:c},[(0,r.createVNode)("div",null,[t])])}))])))])])])}const Wt=t=>{const e=10*Math.floor(t.getFullYear()/10),n=[];for(let t=0;t<10;t++)n.push(e+t);return et(n,2)};function Gt({calendar:t,getCellClasses:e=()=>[],getYearPanel:n=Wt,onSelect:i,onUpdateCalendar:o}){const a=ht(),s=t=>Tt(t,0),l=t=>{const e=t.currentTarget.getAttribute("data-year");i(s(parseInt(e,10)))},u=n(new Date(t)),c=u[0][0],d=nt(nt(u));return(0,r.createVNode)("div",{class:`${a}-calendar ${a}-calendar-panel-year`},[(0,r.createVNode)(zt,{type:"year",calendar:t,onUpdateCalendar:o},{default:()=>[(0,r.createVNode)("span",null,[c]),(0,r.createVNode)("span",{class:`${a}-calendar-decade-separator`},null),(0,r.createVNode)("span",null,[d])]}),(0,r.createVNode)("div",{class:`${a}-calendar-content`},[(0,r.createVNode)("table",{class:`${a}-table ${a}-table-year`},[u.map(((t,n)=>(0,r.createVNode)("tr",{key:n},[t.map(((t,n)=>(0,r.createVNode)("td",{key:n,class:["cell",e(s(t))],"data-year":t,onClick:l},[(0,r.createVNode)("div",null,[t])])))])))])])])}const Yt=["type","value","defaultValue","defaultPanel","disabledDate","getClasses","calendar","multiple","partialUpdate","showWeekNumber","titleFormat","getYearPanel","onDateMouseEnter","onDateMouseLeave","onCalendarChange","onPanelChange","onUpdate:value","onPick"];var Ut=yt((function(t){const e=mt(t,{defaultValue:$t(new Date),type:"date",disabledDate:()=>!1,getClasses:()=>[],titleFormat:"YYYY-MM-DD"}),n=(0,r.computed)((()=>(Array.isArray(e.value)?e.value:[e.value]).filter(Ct).map((t=>"year"===e.type?function(t){const e=new Date(t);return e.setMonth(0,1),e.setHours(0,0,0,0),e}(t):"month"===e.type?kt(t):$t(t))))),i=(0,r.ref)(new Date);(0,r.watchEffect)((()=>{let t=e.calendar;if(!Ct(t)){const{length:r}=n.value;t=Pt(r>0?n.value[r-1]:e.defaultValue)}i.value=kt(t)}));const o=t=>{var n;i.value=t,null==(n=e.onCalendarChange)||n.call(e,t)},a=(0,r.ref)("date");(0,r.watchEffect)((()=>{const t=["date","month","year"],n=Math.max(t.indexOf(e.type),t.indexOf(e.defaultPanel));a.value=-1!==n?t[n]:"date"}));const s=t=>{var n;const r=a.value;a.value=t,null==(n=e.onPanelChange)||n.call(e,t,r)},l=t=>e.disabledDate(new Date(t),n.value),u=(t,r)=>{var i,o,a;if(!l(t))if(null==(i=e.onPick)||i.call(e,t),!0===e.multiple){const i=n.value.filter((e=>e.getTime()!==t.getTime()));i.length===n.value.length&&i.push(t),null==(o=e["onUpdate:value"])||o.call(e,i,r)}else null==(a=e["onUpdate:value"])||a.call(e,t,r)},c=t=>{u(t,"week"===e.type?"week":"date")},d=t=>{if("year"===e.type)u(t,"year");else if(o(t),s("month"),e.partialUpdate&&1===n.value.length){const e=Lt(n.value[0],t.getFullYear());u(e,"year")}},h=t=>{if("month"===e.type)u(t,"month");else if(o(t),s("date"),e.partialUpdate&&1===n.value.length){const e=Et(Lt(n.value[0],t.getFullYear()),t.getMonth());u(e,"month")}},f=(t,r=[])=>(l(t)?r.push("disabled"):n.value.some((e=>e.getTime()===t.getTime()))&&r.push("active"),r.concat(e.getClasses(t,n.value,r.join(" ")))),p=t=>{const e=t.getMonth()!==i.value.getMonth(),n=[];return t.getTime()===(new Date).setHours(0,0,0,0)&&n.push("today"),e&&n.push("not-current-month"),f(t,n)},g=t=>"month"!==e.type?i.value.getMonth()===t.getMonth()?"active":"":f(t),y=t=>"year"!==e.type?i.value.getFullYear()===t.getFullYear()?"active":"":f(t),m=t=>{if("week"!==e.type)return!1;const r=t[0].getTime(),i=t[6].getTime();return n.value.some((t=>{const e=t.getTime();return e>=r&&e<=i}))};return()=>"year"===a.value?(0,r.createVNode)(Gt,{calendar:i.value,getCellClasses:y,getYearPanel:e.getYearPanel,onSelect:d,onUp
9dateCalendar:o},null):"month"===a.value?(0,r.createVNode)(Ht,{calendar:i.value,getCellClasses:g,onSelect:h,onUpdatePanel:s,onUpdateCalendar:o},null):(0,r.createVNode)(Vt,{isWeekMode:"week"===e.type,showWeekNumber:e.showWeekNumber,titleFormat:e.titleFormat,calendar:i.value,getCellClasses:p,getWeekActive:m,onSelect:c,onUpdatePanel:s,onUpdateCalendar:o,onDateMouseEnter:e.onDateMouseEnter,onDateMouseLeave:e.onDateMouseLeave},null)}),Yt);const Zt=(t,e)=>{const n=t.getTime();let[r,i]=e.map((t=>t.getTime()));return r>i&&([r,i]=[i,r]),n>r&&n<i};const Xt=Yt;var qt=yt((function(t){const e=mt(t,{defaultValue:new Date,type:"date"}),n=ht(),i=(0,r.computed)((()=>{let t=Array.isArray(e.defaultValue)?e.defaultValue:[e.defaultValue,e.defaultValue];return t=t.map((t=>$t(t))),Ot(t)?t:[new Date,new Date].map((t=>$t(t)))})),o=(0,r.ref)([new Date(NaN),new Date(NaN)]);(0,r.watchEffect)((()=>{Ot(e.value)&&(o.value=e.value)}));const a=(t,n)=>{var r;const[i,a]=o.value;Ct(i)&&!Ct(a)?(i.getTime()>t.getTime()?o.value=[t,i]:o.value=[i,t],null==(r=e["onUpdate:value"])||r.call(e,o.value,n)):o.value=[t,new Date(NaN)]},s=(0,r.ref)([new Date,new Date]),l=(0,r.computed)((()=>Ot(e.calendar)?e.calendar:s.value)),u=(0,r.computed)((()=>"year"===e.type?120:"month"===e.type?12:1)),c=(t,n)=>{var r;const i=function(t,e){const n=new Date(e),r=new Date(t);return 12*(n.getFullYear()-r.getFullYear())+(n.getMonth()-r.getMonth())}(t[0],t[1]),o=u.value-i;if(o>0){const e=1===n?0:1;t[e]=Et(t[e],(t=>t+(0===e?-o:o)))}s.value=t,null==(r=e.onCalendarChange)||r.call(e,t,n)},d=t=>{c([t,l.value[1]],0)},h=t=>{c([l.value[0],t],1)};(0,r.watchEffect)((()=>{const t=Ot(e.value)?e.value:i.value;c(t.slice(0,2))}));const f=(0,r.ref)(null),p=t=>f.value=t,g=()=>f.value=null,y=(t,n,r)=>{const i=e.getClasses?e.getClasses(t,n,r):[],o=Array.isArray(i)?i:[i];return/disabled|active/.test(r)?o:(2===n.length&&Zt(t,n)&&o.push("in-range"),1===n.length&&f.value&&Zt(t,[n[0],f.value])?o.concat("hover-in-range"):o)};return()=>{const t=l.value.map(((t,n)=>{const s=X(Z({},e),{calendar:t,value:o.value,defaultValue:i.value[n],getClasses:y,partialUpdate:!1,multiple:!1,"onUpdate:value":a,onCalendarChange:0===n?d:h,onDateMouseLeave:g,onDateMouseEnter:p});return(0,r.createVNode)(Ut,s,null)}));return(0,r.createVNode)("div",{class:`${n}-calendar-range`},[t])}}),Xt);const Kt=(0,r.defineComponent)({setup(t,{slots:e}){const n=ht(),i=(0,r.ref)(),o=(0,r.ref)(""),a=(0,r.ref)("");(0,r.onMounted)((()=>{if(!i.value)return;const t=i.value,e=100*t.clientHeight/t.scrollHeight;o.value=e<100?`${e}%`:""}));const s=function(){if("undefined"==typeof window)return 0;if(void 0!==pt)return pt;const t=document.createElement("div");t.style.visibility="hidden",t.style.overflow="scroll",t.style.width="100px",t.style.position="absolute",t.style.top="-9999px",document.body.appendChild(t);const e=document.createElement("div");return e.style.width="100%",t.appendChild(e),pt=t.offsetWidth-e.offsetWidth,t.parentNode.removeChild(t),pt}(),l=t=>{const e=t.currentTarget,{scrollHeight:n,scrollTop:r}=e;a.value=100*r/n+"%"};let u=!1,c=0;const d=t=>{t.stopImmediatePropagation();const e=t.currentTarget,{offsetTop:n}=e;u=!0,c=t.clientY-n},h=t=>{if(!u||!i.value)return;const{clientY:e}=t,{scrollHeight:n,clientHeight:r}=i.value,o=(e-c)*n/r;i.value.scrollTop=o},f=()=>{u=!1};return(0,r.onMounted)((()=>{document.addEventListener("mousemove",h),document.addEventListener("mouseup",f)})),(0,r.onUnmounted)((()=>{document.addEventListener("mousemove",h),document.addEventListener("mouseup",f)})),()=>{var t;return(0,r.createVNode)("div",{class:`${n}-scrollbar`,style:{position:"relative",overflow:"hidden"}},[(0,r.createVNode)("div",{ref:i,class:`${n}-scrollbar-wrap`,style:{marginRight:`-${s}px`},onScroll:l},[null==(t=e.default)?void 0:t.call(e)]),(0,r.createVNode)("div",{class:`${n}-scrollbar-track`},[(0,r.createVNode)("div",{class:`${n}-scrollbar-thumb`,style:{height:o.value,top:a.value},onMousedown:d},null)])])}}});function Jt({options:t,getClasses:e,onSelect:n}){const i=ht(),o=e=>{const r=e.target,i=e.currentTarget;if("LI"!==r.tagName.toUpperCase())return;const o=i.getAttribute("data-type"),a=parseInt(i.getAttribute("data-index"),10),s=parseInt(r.getAttribute("data-index"),10),l=t[a].list[s].value;n(l,o)};return(0,r.createVNode)("div",{class:`${i}-time-columns`},[t.map(((t,n)=>(0,r.createVNode)(Kt,{key:t.type,class:`${i}-time-column`},{default:()=>[(0,r.createVNode)("ul",{class:`${i}-time-list`,"data-index":n,"data-type":t.type,onClick:o},[t.list.map(((n,o)=>(0,r.createVNode)("li",{key:n.text,"data-index":o,class:[`${i}-time-item`,e(n.value,t.type)]},[n.text])))])]})))])}function Qt(t){let e;const n=ht();return(0,r.createVNode)(Kt,null,"function"==typeof(i=e=t.options.map((e=>(0,r.createVNode)("div",{key:e.text,class:[`${n}-time-option`,t.getClasses(e.value,"time")],onClick:()=>t.onSelect(e.value,"time")},[e.text]))))||"[object Object]"===Object.prototype.toString.call(i)&&!(0,r.isVNode)(i)?e:{default:()=>[e]});var i}function te({length:t,step:e=1,options:n}){if(Array.isArray(n))return n.filter((e=>e>=0&&e<t));e<=0&&(e=1);const r=[];for(let n=0;n<t;n+=e)r.push(n);return r}function ee(t,e){let{showHour:n,showMinute:r,showSecond:i,use12h:o}=e;const a=e.format||"HH:mm:ss";n="boolean"==typeof n?n:/[HhKk]/.test(a),r="boolean"==typeof r?r:/m/.test(a),i="boolean"==typeof i?i:/s/.test(a),o="boolean"==typeof o?o:/a/i.test(a);const s=[],l=o&&t.getHours()>=12;return n&&s.push({type:"hour",list:te({length:o?12:24,step:e.hourStep,options:e.hourOptions}).map((e=>{const n=0===e&&o?"12":at(e),r=new Date(t);return r.setHours(l?e+12:e),{value:r,text:n}}))}),r&&s.push({type:"minute",list:te({length:60,step:e.minuteStep,options:e.minuteOptions}).map((e=>{const n=new Date(t);return n.setMinutes(e),{value:n,text:at(e)}}))}),i&&s.push({type:"second",list:te({length:60,step:e.secondStep,options:e.secondOptions}).map((e=>{const n=new Date(t);return n.setSeconds(e),{value:n,text:at(e)}}))}),o&&s.push({type:"ampm",list:["AM","PM"].map(((e,n)=>{const r=new Date(t);return r.setHours(r.getHours()%12+12*n),{text:e,value:r}}))}),s}function ne(t=""){const e=t.split(":");if(e.length>=2){return{hours:parseInt(e[0],10),minutes:parseInt(e[1],10)}}return null}function re({date:t,option:e,format:n,formatDate:r}){const i=[];if("function"==typeof e)return e()||[];const o=ne(e.start),a=ne(e.end),s=ne(e.step),l=e.format||n;if(o&&a&&s){const e=o.minutes+60*o.hours,n=a.minutes+60*a.hours,u=s.minutes+60*s.hours,c=Math.floor((n-e)/u);for(let n=0;n<=c;n++){const o=e+n*u,a=Math.floor(o/60),s=o%60,c=new Date(t);c.setHours(a,s,0),i.push({value:c,text:r(c,l)})}}return i}const ie=(t,e,n=0)=>
9{if(n<=0)return void requestAnimationFrame((()=>{t.scrollTop=e}));const r=(e-t.scrollTop)/n*10;requestAnimationFrame((()=>{const i=t.scrollTop+r;i>=e?t.scrollTop=e:(t.scrollTop=i,ie(t,e,n-10))}))};const oe=["value","defaultValue","format","timeTitleFormat","showTimeHeader","disabledTime","timePickerOptions","hourOptions","minuteOptions","secondOptions","hourStep","minuteStep","secondStep","showHour","showMinute","showSecond","use12h","scrollDuration","onClickTitle","onUpdate:value"];var ae=yt((function(t){const e=mt(t,{defaultValue:$t(new Date),format:"HH:mm:ss",timeTitleFormat:"YYYY-MM-DD",disabledTime:()=>!1,scrollDuration:100}),n=ht(),i=ct(),o=(t,e)=>y(t,e,{locale:i.value.formatLocale}),a=(0,r.ref)(new Date);(0,r.watchEffect)((()=>{a.value=Pt(e.value,e.defaultValue)}));const s=t=>Array.isArray(t)?t.every((t=>e.disabledTime(new Date(t)))):e.disabledTime(new Date(t)),l=(t,e)=>"hour"===e?(t=>{const e=new Date(t);return s([e.getTime(),e.setMinutes(0,0,0),e.setMinutes(59,59,999)])})(t):"minute"===e?(t=>{const e=new Date(t);return s([e.getTime(),e.setSeconds(0,0),e.setSeconds(59,999)])})(t):"ampm"===e?(t=>{const e=new Date(t),n=e.getHours()<12?0:12,r=n+11;return s([e.getTime(),e.setHours(n,0,0,0),e.setHours(r,59,59,999)])})(t):s(t),u=(t,n)=>{var r;if(!l(t,n)){const i=new Date(t);a.value=i,s(i)||null==(r=e["onUpdate:value"])||r.call(e,i,n)}},c=(t,e)=>l(t,e)?"disabled":t.getTime()===a.value.getTime()?"active":"",d=(0,r.ref)(),h=t=>{if(!d.value)return;const e=d.value.querySelectorAll(".active");for(let n=0;n<e.length;n++){const r=e[n],i=ft(r,d.value);if(i){const e=r.offsetTop;ie(i,e,t)}}};return(0,r.onMounted)((()=>h(0))),(0,r.watch)(a,(()=>h(e.scrollDuration)),{flush:"post"}),()=>{let t;return t=e.timePickerOptions?(0,r.createVNode)(Qt,{onSelect:u,getClasses:c,options:re({date:a.value,format:e.format,option:e.timePickerOptions,formatDate:o})},null):(0,r.createVNode)(Jt,{options:ee(a.value,e),onSelect:u,getClasses:c},null),(0,r.createVNode)("div",{class:`${n}-time`,ref:d},[e.showTimeHeader&&(0,r.createVNode)("div",{class:`${n}-time-header`},[(0,r.createVNode)("button",{type:"button",class:`${n}-btn ${n}-btn-text ${n}-time-header-title`,onClick:e.onClickTitle}
9,[o(a.value,e.timeTitleFormat)])]),(0,r.createVNode)("div",{class:`${n}-time-content`},[t])])}}),oe);const se=oe;var le=yt((function(t){const e=mt(t,{defaultValue:$t(new Date),disabledTime:()=>!1}),n=ht(),i=(0,r.ref)([new Date(NaN),new Date(NaN)]);(0,r.watchEffect)((()=>{Ot(e.value)?i.value=e.value:i.value=[new Date(NaN),new Date(NaN)]}));const o=(t,n)=>{var r;null==(r=e["onUpdate:value"])||r.call(e,i.value,"time"===t?"time-range":t,n)},a=(t,e)=>{i.value[0]=t,i.value[1].getTime()>=t.getTime()||(i.value[1]=t),o(e,0)},s=(t,e)=>{i.value[1]=t,i.value[0].getTime()<=t.getTime()||(i.value[0]=t),o(e,1)},l=t=>e.disabledTime(t,0),u=t=>t.getTime()<i.value[0].getTime()||e.disabledTime(t,1);return()=>{const t=Array.isArray(e.defaultValue)?e.defaultValue:[e.defaultValue,e.defaultValue];return(0,r.createVNode)("div",{class:`${n}-time-range`},[(0,r.createVNode)(ae,X(Z({},e),{"onUpdate:value":a,value:i.value[0],defaultValue:t[0],disabledTime:l}),null),(0,r.createVNode)(ae,X(Z({},e),{"onUpdate:value":s,value:i.value[1],defaultValue:t[1],disabledTime:u}),null)])}}),se);function ue(t){const e=(0,r.ref)(!1);return{timeVisible:(0,r.computed)((()=>"boolean"==typeof t.showTimePanel?t.showTimePanel:e.value)),openTimePanel:()=>{var n;e.value=!0,null==(n=t.onShowTimePanelChange)||n.call(t,!0)},closeTimePanel:()=>{var n;e.value=!1,null==(n=t.onShowTimePanelChange)||n.call(t,!1)}}}const ce=["showTimePanel","onShowTimePanelChange"];var de=yt((function(t){const e=mt(t,{disabledTime:()=>!1,defaultValue:$t(new Date)}),n=(0,r.ref)(e.value);(0,r.watchEffect)((()=>{n.value=e.value}));const{openTimePanel:i,closeTimePanel:o,timeVisible:a}=ue(e),s=(t,r)=>{var o;"date"===r&&i();let a=Nt(t,Pt(e.value,e.defaultValue));e.disabledTime(new Date(a))&&(a=Nt(t,e.defaultValue),e.disabledTime(new Date(a)))?n.value=a:null==(o=e["onUpdate:value"])||o.call(e,a,r)};return()=>{const t=ht(),i=X(Z({},it(e,Yt)),{multiple:!1,type:"date",value:n.value,"onUpdate:value":s}),l=X(Z({},it(e,oe)),{showTimeHeader:!0,value:n.value,"onUpdate:value":e["onUpdate:value"],onClickTitle:o});return(0,r.createVNode)("div",{class:`${t}-date-time`},[(0,r.createVNode)(Ut,i,null),a.value&&(0,r.createVNode)(ae,l,null)])}}),[...ce,...Yt,...oe]);var he=yt((function(t){const e=mt(t,{defaultValue:$t(new Date),disabledTime:()=>!1}),n=(0,r.ref)(e.value);(0,r.watchEffect)((()=>{n.value=e.value}));const{openTimePanel:i,closeTimePanel:o,timeVisible:a}=ue(e),s=(t,r)=>{var o;"date"===r&&i();const a=Array.isArray(e.defaultValue)?e.defaultValue:[e.defaultValue,e.defaultValue];let s=t.map(((t,n)=>Nt(t,Ot(e.value)?e.value[n]:a[n])));s[1].getTime()<s[0].getTime()&&(s=[s[0],s[0]]),s.some(e.disabledTime)&&(s=t.map(((t,e)=>Nt(t,a[e]))),s.some(e.disabledTime))?n.value=s:null==(o=e["onUpdate:value"])||o.call(e,s,r)};return()=>{const t=ht(),i=X(Z({},it(e,Xt)),{type:"date",value:n.value,"onUpdate:value":s}),l=X(Z({},it(e,se)),{showTimeHeader:!0,value:n.value,"onUpdate:value":e["onUpdate:value"],onClickTitle:o});return(0,r.createVNode)("div",{class:`${t}-date-time-range`},[(0,r.createVNode)(qt,i,null),a.value&&(0,r.createVNode)(le,l,null)])}}),[...ce,...se,...Xt]);const fe=["range","open","appendToBody","clearable","confirm","disabled","editable","multiple","partialUpdate","showHour","showMinute","showSecond","showTimeHeader","showTimePanel","showWeekNumber","use12h"],pe={date:"YYYY-MM-DD",datetime:"YYYY-MM-DD HH:mm:ss",year:"YYYY",month:"YYYY-MM",time:"HH:mm:ss",week:"w"};function ge(t,{slots:e}){const n=t.type||"date",i=t.format||pe[n]||pe.date,o=X(Z({},((t,e)=>{const n={};for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){const i=r.replace(/-(\w)/g,((t,e)=>e?e.toUpperCase():""));let o=t[r];-1!==e.indexOf(i)&&""===o&&(o=!0),n[i]=o}return n})(t,fe)),{type:n,format:i});return(0,r.createVNode)(Bt,it(o,Bt.props),Z({content:t=>{if(o.range){const e="time"===n?le:"datetime"===n?he:qt;return(0,r.h)(e,it(Z(Z({},o),t),e.props))}{const e="time"===n?ae:"datetime"===n?de:Ut;return(0,r.h)(e,it(Z(Z({},o),t),e.props))}},"icon-calendar":()=>"time"===n?(0,r.createVNode)(Dt,null,null):(0,r.createVNode)(_t,null,null)},e))}const ye={locale:Q,install:t=>{t.component("DatePicker",ge)}};
9var me=Object.assign(ge,ye,{Calendar:Ut,CalendarRange:qt,TimePanel:ae,TimeRange:le,DateTime:de,DateTimeRange:he})},66262:function(t,e){"use strict";e.A=(t,e)=>{const n=t.__vccOpts||t;for(const[t,r]of e)n[t]=r;return n}},76143:function(t,e,n){"use strict";t.exports=n(4165)},70079:function(t){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r},t.exports.__esModule=!0,t.exports.default=t.exports},92987:function(t){t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports.default=t.exports},5901:function(t,e,n){var r=n(70079);t.exports=function(t){if(Array.isArray(t))return r(t)},t.exports.__esModule=!0,t.exports.default=t.exports},29293:function(t){function e(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}t.exports=function(t){return function(){var n=this,r=arguments;return new Promise((function(i,o){var a=t.apply(n,r);function s(t){e(a,i,o,s,l,"next",t)}function l(t){e(a,i,o,s,l,"throw",t)}s(void 0)}))}},t.exports.__esModule=!0,t.exports.default=t.exports},50883:function(t,e,n){var r=n(17122);t.exports=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=r(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}},t.exports.__esModule=!0,t.exports.default=t.exports},43693:function(t,e,n){var r=n(77736);t.exports=function(t,e,n){return(e=r(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports},99291:function(t){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports.default=t.exports},81156:function(t){t.exports=function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}},t.exports.__esModule=!0,t.exports.default=t.exports},47752:function(t){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports},41869:function(t){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports},12897:function(t,e,n){var r=n(43693);function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}t.exports=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t},t.exports.__esModule=!0,t.exports.default=t.exports},4633:function(t,e,n){var r=n(73738).default;function i(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t.exports=i=function(){return n}
vendor: 4,564 bytes, line 9
9,t.exports.__esModule=!0,t.exports.default=t.exports;var e,n={},o=Object.prototype,a=o.hasOwnProperty,s=Object.defineProperty||function(t,e,n){t[e]=n.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",c=l.asyncIterator||"@@asyncIterator",d=l.toStringTag||"@@toStringTag";function h(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{h({},"")}catch(e){h=function(t,e,n){return t[e]=n}}function f(t,e,n,r){var i=e&&e.prototype instanceof x?e:x,o=Object.create(i.prototype),a=new $(r||[]);return s(o,"_invoke",{value:C(t,n,a)}),o}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}n.wrap=f;var g="suspendedStart",y="suspendedYield",m="executing",v="completed",b={};function x(){}function _(){}function w(){}var S={};h(S,u,(function(){return this}));var M=Object.getPrototypeOf,I=M&&M(M(E([])));I&&I!==o&&a.call(I,u)&&(S=I);var A=w.prototype=x.prototype=Object.create(S);function D(t){["next","throw","return"].forEach((function(e){h(t,e,(function(t){return this._invoke(e,t)}))}))}function T(t,e){function n(i,o,s,l){var u=p(t[i],t,o);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==r(d)&&a.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,s,l)}),(function(t){n("throw",t,s,l)})):e.resolve(d).then((function(t){c.value=t,s(c)}),(function(t){return n("throw",t,s,l)}))}l(u.arg)}var i;s(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,i){n(t,r,e,i)}))}return i=i?i.then(o,o):o()}})}function C(t,n,r){var i=g;return function(o,a){if(i===m)throw Error("Generator is already running");if(i===v){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var l=O(s,r);if(l){if(l===b)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===g)throw i=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=m;var u=p(t,n,r);if("normal"===u.type){if(i=r.done?v:y,u.arg===b)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(i=v,r.method="throw",r.arg=u.arg)}}}function O(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,O(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),b;var o=p(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,b;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,b):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,b)}function P(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 k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function $(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function E(t){if(t||""===t){var n=t[u];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(a.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(r(t)+" is not iterable")}return _.prototype=w,s(A,"constructor",{value:w,configurable:!0}),s(w,"constructor",{value:_,configurable:!0}),_.displayName=h(w,d,"GeneratorFunction"),n.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,h(t,d,"GeneratorFunction")),t.prototype=Object.create(A),t},n.awrap=function(t){return{__await:t}},D(T.prototype),h(T.prototype,c,(function(){return this})),n.AsyncIterator=T,n.async=function(t,e,r,i,o){void 0===o&&(o=Promise);var a=new T(f(t,e,r,i),o);return n.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},D(A),h(A,d,"Generator"),h(A,u,(function(){return this})),h(A,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},n.values=E,$.prototype={constructor:$,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEac
vendor: 6,085 bytes, line 9
9h(k),!t)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},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 n=this;function r(r,i){return s.type="throw",s.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=a.call(o,"catchLoc"),u=a.call(o,"finallyLoc");if(l&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),b},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),k(n),b}},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;k(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:E(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),b}},n}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports},85715:function(t,e,n){var r=n(92987),i=n(81156),o=n(17122),a=n(47752);t.exports=function(t,e){return r(t)||i(t,e)||o(t,e)||a()},t.exports.__esModule=!0,t.exports.default=t.exports},41132:function(t,e,n){var r=n(5901),i=n(99291),o=n(17122),a=n(41869);t.exports=function(t){return r(t)||i(t)||o(t)||a()},t.exports.__esModule=!0,t.exports.default=t.exports},89045:function(t,e,n){var r=n(73738).default;t.exports=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)},t.exports.__esModule=!0,t.exports.default=t.exports},77736:function(t,e,n){var r=n(73738).default,i=n(89045);t.exports=function(t){var e=i(t,"string");return"symbol"==r(e)?e:e+""},t.exports.__esModule=!0,t.exports.default=t.exports},73738:function(t){function e(n){return t.exports=e="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},t.exports.__esModule=!0,t.exports.default=t.exports,e(n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},17122:function(t,e,n){var r=n(70079);t.exports=function(t,e){if(t){if("string"==typeof t)return r(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports},86425:function(t,e,n){"use strict";var r=n(65606),i=n(48287).hp;function o(t,e){return function(){return t.apply(e,arguments)}}const{toString:a}=Object.prototype,{getPrototypeOf:s}=Object,l=(u=Object.create(null),t=>{const e=a.call(t);return u[e]||(u[e]=e.slice(8,-1).toLowerCase())});var u;const c=t=>(t=t.toLowerCase(),e=>l(e)===t),d=t=>e=>typeof e===t,{isArray:h}=Array,f=d("undefined");const p=c("ArrayBuffer");const g=d("string"),y=d("function"),m=d("number"),v=t=>null!==t&&"object"==typeof t,b=t=>{if("object"!==l(t))return!1;const e=s(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},x=c("Date"),_=c("File"),w=c("Blob"),S=c("FileList"),M=c("URLSearchParams"),[I,A,D,T]=["ReadableStream","Request","Response","Headers"].map(c);function C(t,e,{allOwnKeys:n=!1}={}){if(null==t)return;let r,i;if("object"!=typeof t&&(t=[t]),h(t))for(r=0,i=t.length;r<i;r++)e.call(null,t[r],r,t);else{const i=n?Object.getOwnPropertyNames(t):Object.keys(t),o=i.length;let a;for(r=0;r<o;r++)a=i[r],e.call(null,t[a],a,t)}}function O(t,e){e=e.toLowerCase();const n=Object.keys(t);let r,i=n.length;for(;i-- >0;)if(r=n[i],e===r.toLowerCase())return r;return null}const P="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:n.g,k=t=>!f(t)&&t!==P;const $=(E="undefined"!=typeof Uint8Array&&s(Uint8Array),t=>E&&t instanceof E);var E;const L=c("HTMLFormElement"),N=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),R=c("RegExp"),F=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};C(n,((n,i)=>{let o;!1!==(o=e(n,i,t))&&(r[i]=o||n)})),Object.defineProperties(t,r)},B="abcdefghijklmnopqrstuvwxyz",j="0123456789",z={DIGIT:j,ALPHA:B,ALPHA_DIGIT:B+B.toUpperCase()+j};const V=c("AsyncFunction"),H=(W="function"==typeof setImmediate,G=y(P.postMessage),W?setImmediate:G?(Y=`axios@${Math.random()}`,U=[],P.addEventListener("message",(({source:t,data:e})=>{t===P&&e===Y&&U.length&&U.shift()()}),!1),t=>{U.push(t),P.postMessage(Y,"*")}):t=>setTimeout(t));var W,G,Y,U;const Z="undefined"!=typeof queueMicrotask?queueMicrotask.bind(P):void 0!==r&&r.nextTick||H;var X={isArray:h,isArrayBuffer:p,isBuffer:function(t){return null!==t&&!f(t)&&null!==t.constructor&&!f(t.constructor)&&y(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||y(t.a
vendor: 5,896 bytes, line 9
9ppend)&&("formdata"===(e=l(t))||"object"===e&&y(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&p(t.buffer),e},isString:g,isNumber:m,isBoolean:t=>!0===t||!1===t,isObject:v,isPlainObject:b,isReadableStream:I,isRequest:A,isResponse:D,isHeaders:T,isUndefined:f,isDate:x,isFile:_,isBlob:w,isRegExp:R,isFunction:y,isStream:t=>v(t)&&y(t.pipe),isURLSearchParams:M,isTypedArray:$,isFileList:S,forEach:C,merge:function t(){const{caseless:e}=k(this)&&this||{},n={},r=(r,i)=>{const o=e&&O(n,i)||i;b(n[o])&&b(r)?n[o]=t(n[o],r):b(r)?n[o]=t({},r):h(r)?n[o]=r.slice():n[o]=r};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&C(arguments[t],r);return n},extend:(t,e,n,{allOwnKeys:r}={})=>(C(e,((e,r)=>{n&&y(e)?t[r]=o(e,n):t[r]=e}),{allOwnKeys:r}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject:(t,e,n,r)=>{let i,o,a;const l={};if(e=e||{},null==t)return e;do{for(i=Object.getOwnPropertyNames(t),o=i.length;o-- >0;)a=i[o],r&&!r(a,t,e)||l[a]||(e[a]=t[a],l[a]=!0);t=!1!==n&&s(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:l,kindOfTest:c,endsWith:(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return-1!==r&&r===n},toArray:t=>{if(!t)return null;if(h(t))return t;let e=t.length;if(!m(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},forEachEntry:(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let r;for(;(r=n.next())&&!r.done;){const n=r.value;e.call(t,n[0],n[1])}},matchAll:(t,e)=>{let n;const r=[];for(;null!==(n=t.exec(e));)r.push(n);return r},isHTMLForm:L,hasOwnProperty:N,hasOwnProp:N,reduceDescriptors:F,freezeMethods:t=>{F(t,((e,n)=>{if(y(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=t[n];y(r)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(t,e)=>{const n={},r=t=>{t.forEach((t=>{n[t]=!0}))};return h(t)?r(t):r(String(t).split(e)),n},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,n){return e.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e,findKey:O,global:P,isContextDefined:k,ALPHABET:z,generateString:(t=16,e=z.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n},isSpecCompliantForm:function(t){return!!(t&&y(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),n=(t,r)=>{if(v(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[r]=t;const i=h(t)?[]:{};return C(t,((t,e)=>{const o=n(t,r+1);!f(o)&&(i[e]=o)})),e[r]=void 0,i}}return t};return n(t,0)},isAsyncFn:V,isThenable:t=>t&&(v(t)||y(t))&&y(t.then)&&y(t.catch),setImmediate:H,asap:Z};function q(t,e,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}X.inherits(q,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:X.toJSONObject(this.config),code:this.code,status:this.status}}});const K=q.prototype,J={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{J[t]={value:t}})),Object.defineProperties(q,J),Object.defineProperty(K,"isAxiosError",{value:!0}),q.from=(t,e,n,r,i,o)=>{const a=Object.create(K);return X.toFlatObject(t,a,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),q.call(a,t.message,e,n,r,i),a.cause=t,a.name=t.name,o&&Object.assign(a,o),a};function Q(t){return X.isPlainObject(t)||X.isArray(t)}function tt(t){return X.endsWith(t,"[]")?t.slice(0,-2):t}function et(t,e,n){return t?t.concat(e).map((function(t,e){return t=tt(t),!n&&e?"["+t+"]":t})).join(n?".":""):e}const nt=X.toFlatObject(X,{},null,(function(t){return/^is[A-Z]/.test(t)}));function rt(t,e,n){if(!X.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const r=(n=X.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!X.isUndefined(e[t])}))).metaTokens,o=n.visitor||c,a=n.dots,s=n.indexes,l=(n.Blob||"undefined"!=typeof Blob&&Blob)&&X.isSpecCompliantForm(e);if(!X.isFunction(o))throw new TypeError("visitor must be a function");function u(t){if(null===t)return"";if(X.isDate(t))return t.toISOString();if(!l&&X.isBlob(t))throw new q("Blob is not supported. Use a Buffer instead.");return X.isArrayBuffer(t)||X.isTypedArray(t)?l&&"function"==typeof Blob?new Blob([t]):i.from(t):t}function c(t,n,i){let o=t;if(t&&!i&&"object"==typeof t)if(X.endsWith(n,"{}"))n=r?n:n.slice(0,-2),t=JSON.stringify(t);else if(X.isArray(t)&&function(t){return X.isArray(t)&&!t.some(Q)}(t)||(X.isFileList(t)||X.endsWith(n,"[]"))&&(o=X.toArray(t)))return n=tt(n),o.forEach((function(t,r){!X.isUndefined(t)&&null!==t&&e.append(!0===s?et([n],r,a):null===s?n:n+"[]",u(t))})),!1;return!!Q(t)||(e.append(et(i,n,a),u(t)),!1)}const d=[],h=Object.assign(nt,{defaultVisitor:c,convertValue:u,isVisitable:Q});if(!X.isObject(t))throw new TypeError("data must be an object");return function t(n,r){if(!X.isUndefined(n)){if(-1!==d.indexOf(n))throw Error("Circular reference detected in "+r.join("."));
vendor: 4,721 bytes, line 9
9d.push(n),X.forEach(n,(function(n,i){!0===(!(X.isUndefined(n)||null===n)&&o.call(e,n,X.isString(i)?i.trim():i,r,h))&&t(n,r?r.concat(i):[i])})),d.pop()}}(t),e}function it(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function ot(t,e){this._pairs=[],t&&rt(t,this,e)}const at=ot.prototype;function st(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function lt(t,e,n){if(!e)return t;const r=n&&n.encode||st,i=n&&n.serialize;let o;if(o=i?i(e,n):X.isURLSearchParams(e)?e.toString():new ot(e,n).toString(r),o){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}at.append=function(t,e){this._pairs.push([t,e])},at.toString=function(t){const e=t?function(e){return t.call(this,e,it)}:it;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};var ut=class{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){X.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},ct={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},dt={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ot,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const ht="undefined"!=typeof window&&"undefined"!=typeof document,ft="object"==typeof navigator&&navigator||void 0,pt=ht&&(!ft||["ReactNative","NativeScript","NS"].indexOf(ft.product)<0),gt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,yt=ht&&window.location.href||"http://localhost";var mt={...Object.freeze({__proto__:null,hasBrowserEnv:ht,hasStandardBrowserWebWorkerEnv:gt,hasStandardBrowserEnv:pt,navigator:ft,origin:yt}),...dt};function vt(t){function e(t,n,r,i){let o=t[i++];if("__proto__"===o)return!0;const a=Number.isFinite(+o),s=i>=t.length;if(o=!o&&X.isArray(r)?r.length:o,s)return X.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!a;r[o]&&X.isObject(r[o])||(r[o]=[]);return e(t,n,r[o],i)&&X.isArray(r[o])&&(r[o]=function(t){const e={},n=Object.keys(t);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],e[o]=t[o];return e}(r[o])),!a}if(X.isFormData(t)&&X.isFunction(t.entries)){const n={};return X.forEachEntry(t,((t,r)=>{e(function(t){return X.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),r,n,0)})),n}return null}const bt={transitional:ct,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const n=e.getContentType()||"",r=n.indexOf("application/json")>-1,i=X.isObject(t);i&&X.isHTMLForm(t)&&(t=new FormData(t));if(X.isFormData(t))return r?JSON.stringify(vt(t)):t;if(X.isArrayBuffer(t)||X.isBuffer(t)||X.isStream(t)||X.isFile(t)||X.isBlob(t)||X.isReadableStream(t))return t;if(X.isArrayBufferView(t))return t.buffer;if(X.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return rt(t,new mt.classes.URLSearchParams,Object.assign({visitor:function(t,e,n,r){return mt.isNode&&X.isBuffer(t)?(this.append(e,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((o=X.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return rt(o?{"files[]":t}:t,e&&new e,this.formSerializer)}}return i||r?(e.setContentType("application/json",!1),function(t,e,n){if(X.isString(t))try{return(e||JSON.parse)(t),X.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||bt.transitional,n=e&&e.forcedJSONParsing,r="json"===this.responseType;if(X.isResponse(t)||X.isReadableStream(t))return t;if(t&&X.isString(t)&&(n&&!this.responseType||r)){const n=!(e&&e.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(t){if(n){if("SyntaxError"===t.name)throw q.from(t,q.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:mt.classes.FormData,Blob:mt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};
vendor: 5,314 bytes, line 9
9X.forEach(["delete","get","head","post","put","patch"],(t=>{bt.headers[t]={}}));var xt=bt;const _t=X.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const wt=Symbol("internals");function St(t){return t&&String(t).trim().toLowerCase()}function Mt(t){return!1===t||null==t?t:X.isArray(t)?t.map(Mt):String(t)}function It(t,e,n,r,i){return X.isFunction(r)?r.call(this,e,n):(i&&(e=n),X.isString(e)?X.isString(r)?-1!==e.indexOf(r):X.isRegExp(r)?r.test(e):void 0:void 0)}class At{constructor(t){t&&this.set(t)}set(t,e,n){const r=this;function i(t,e,n){const i=St(e);if(!i)throw new Error("header name must be a non-empty string");const o=X.findKey(r,i);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||e]=Mt(t))}const o=(t,e)=>X.forEach(t,((t,n)=>i(t,n,e)));if(X.isPlainObject(t)||t instanceof this.constructor)o(t,e);else if(X.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()))o((t=>{const e={};let n,r,i;return t&&t.split("\n").forEach((function(t){i=t.indexOf(":"),n=t.substring(0,i).trim().toLowerCase(),r=t.substring(i+1).trim(),!n||e[n]&&_t[n]||("set-cookie"===n?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)})),e})(t),e);else if(X.isHeaders(t))for(const[e,r]of t.entries())i(r,e,n);else null!=t&&i(e,t,n);return this}get(t,e){if(t=St(t)){const n=X.findKey(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}(t);if(X.isFunction(e))return e.call(this,t,n);if(X.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=St(t)){const n=X.findKey(this,t);return!(!n||void 0===this[n]||e&&!It(0,this[n],n,e))}return!1}delete(t,e){const n=this;let r=!1;function i(t){if(t=St(t)){const i=X.findKey(n,t);!i||e&&!It(0,n[i],i,e)||(delete n[i],r=!0)}}return X.isArray(t)?t.forEach(i):i(t),r}clear(t){const e=Object.keys(this);let n=e.length,r=!1;for(;n--;){const i=e[n];t&&!It(0,this[i],i,t,!0)||(delete this[i],r=!0)}return r}normalize(t){const e=this,n={};return X.forEach(this,((r,i)=>{const o=X.findKey(n,i);if(o)return e[o]=Mt(r),void delete e[i];const a=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,n)=>e.toUpperCase()+n))}(i):String(i).trim();a!==i&&delete e[i],e[a]=Mt(r),n[a]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return X.forEach(this,((n,r)=>{null!=n&&!1!==n&&(e[r]=t&&X.isArray(n)?n.join(", "):n)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach((t=>n.set(t))),n}static accessor(t){const e=(this[wt]=this[wt]={accessors:{}}).accessors,n=this.prototype;function r(t){const r=St(t);e[r]||(!function(t,e){const n=X.toCamelCase(" "+e);["get","set","has"].forEach((r=>{Object.defineProperty(t,r+n,{value:function(t,n,i){return this[r].call(this,e,t,n,i)},configurable:!0})}))}(n,t),e[r]=!0)}return X.isArray(t)?t.forEach(r):r(t),this}}At.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),X.reduceDescriptors(At.prototype,(({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[n]=t}}})),X.freezeMethods(At);var Dt=At;function Tt(t,e){const n=this||xt,r=e||n,i=Dt.from(r.headers);let o=r.data;return X.forEach(t,(function(t){o=t.call(n,o,i.normalize(),e?e.status:void 0)})),i.normalize(),o}function Ct(t){return!(!t||!t.__CANCEL__)}function Ot(t,e,n){q.call(this,null==t?"canceled":t,q.ERR_CANCELED,e,n),this.name="CanceledError"}function Pt(t,e,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(new q("Request failed with status code "+n.status,[q.ERR_BAD_REQUEST,q.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}X.inherits(Ot,q,{__CANCEL__:!0});const kt=(t,e,n=3)=>{let r=0;const i=function(t,e){t=t||10;const n=new Array(t),r=new Array(t);let i,o=0,a=0;return e=void 0!==e?e:1e3,function(s){const l=Date.now(),u=r[a];i||(i=l),n[o]=s,r[o]=l;let c=a,d=0;for(;c!==o;)d+=n[c++],c%=t;if(o=(o+1)%t,o===a&&(a=(a+1)%t),l-i<e)return;const h=u&&l-u;return h?Math.round(1e3*d/h):void 0}}(50,250);return function(t,e){let n,r,i=0,o=1e3/e;const a=(e,o=Date.now())=>{i=o,n=null,r&&(clearTimeout(r),r=null),t.apply(null,e)};return[(...t)=>{const e=Date.now(),s=e-i;s>=o?a(t,e):(n=t,r||(r=setTimeout((()=>{r=null,a(n)}),o-s)))},()=>n&&a(n)]}((n=>{const o=n.loaded,a=n.lengthComputable?n.total:void 0,s=o-r,l=i(s);r=o;t({loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&o<=a?(a-o)/l:void 0,event:n,lengthComputable:null!=a,[e?"download":"upload"]:!0})}),n)},$t=(t,e)=>{const n=null!=t;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},Et=t=>(...e)=>X.asap((()=>t(...e)));var Lt=mt.hasStandardBrowserEnv?function(){const t=mt.navigator&&/(msie|trident)/i.test(mt.navigator.userAgent),e=d
vendor: 4,336 bytes, line 9
9ocument.createElement("a");let n;function r(n){let r=n;return t&&(e.setAttribute("href",r),r=e.href),e.setAttribute("href",r),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return n=r(window.location.href),function(t){const e=X.isString(t)?r(t):t;return e.protocol===n.protocol&&e.host===n.host}}():function(){return!0},Nt=mt.hasStandardBrowserEnv?{write(t,e,n,r,i,o){const a=[t+"="+encodeURIComponent(e)];X.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),X.isString(r)&&a.push("path="+r),X.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Rt(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const Ft=t=>t instanceof Dt?{...t}:t;function Bt(t,e){e=e||{};const n={};function r(t,e,n){return X.isPlainObject(t)&&X.isPlainObject(e)?X.merge.call({caseless:n},t,e):X.isPlainObject(e)?X.merge({},e):X.isArray(e)?e.slice():e}function i(t,e,n){return X.isUndefined(e)?X.isUndefined(t)?void 0:r(void 0,t,n):r(t,e,n)}function o(t,e){if(!X.isUndefined(e))return r(void 0,e)}function a(t,e){return X.isUndefined(e)?X.isUndefined(t)?void 0:r(void 0,t):r(void 0,e)}function s(n,i,o){return o in e?r(n,i):o in t?r(void 0,n):void 0}const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(t,e)=>i(Ft(t),Ft(e),!0)};return X.forEach(Object.keys(Object.assign({},t,e)),(function(r){const o=l[r]||i,a=o(t[r],e[r],r);X.isUndefined(a)&&o!==s||(n[r]=a)})),n}var jt=t=>{const e=Bt({},t);let n,{data:r,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:a,headers:s,auth:l}=e;if(e.headers=s=Dt.from(s),e.url=lt(Rt(e.baseURL,e.url),t.params,t.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),X.isFormData(r))if(mt.hasStandardBrowserEnv||mt.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[t,...e]=n?n.split(";").map((t=>t.trim())).filter(Boolean):[];s.setContentType([t||"multipart/form-data",...e].join("; "))}if(mt.hasStandardBrowserEnv&&(i&&X.isFunction(i)&&(i=i(e)),i||!1!==i&&Lt(e.url))){const t=o&&a&&Nt.read(a);t&&s.set(o,t)}return e};var zt="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,n){const r=jt(t);let i=r.data;const o=Dt.from(r.headers).normalize();let a,s,l,u,c,{responseType:d,onUploadProgress:h,onDownloadProgress:f}=r;function p(){u&&u(),c&&c(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let g=new XMLHttpRequest;function y(){if(!g)return;const r=Dt.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());Pt((function(t){e(t),p()}),(function(t){n(t),p()}),{data:d&&"text"!==d&&"json"!==d?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:r,config:t,request:g}),g=null}g.open(r.method.toUpperCase(),r.url,!0),g.timeout=r.timeout,"onloadend"in g?g.onloadend=y:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(y)},g.onabort=function(){g&&(n(new q("Request aborted",q.ECONNABORTED,t,g)),g=null)},g.onerror=function(){n(new q("Network Error",q.ERR_NETWORK,t,g)),g=null},g.ontimeout=function(){let e=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const i=r.transitional||ct;r.timeoutErrorMessage&&(e=r.timeoutErrorMessage),n(new q(e,i.clarifyTimeoutError?q.ETIMEDOUT:q.ECONNABORTED,t,g)),g=null},void 0===i&&o.setContentType(null),"setRequestHeader"in g&&X.forEac
vendor: 4,750 bytes, line 9
9h(o.toJSON(),(function(t,e){g.setRequestHeader(e,t)})),X.isUndefined(r.withCredentials)||(g.withCredentials=!!r.withCredentials),d&&"json"!==d&&(g.responseType=r.responseType),f&&([l,c]=kt(f,!0),g.addEventListener("progress",l)),h&&g.upload&&([s,u]=kt(h),g.upload.addEventListener("progress",s),g.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(a=e=>{g&&(n(!e||e.type?new Ot(null,t,g):e),g.abort(),g=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const m=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(r.url);m&&-1===mt.protocols.indexOf(m)?n(new q("Unsupported protocol "+m+":",q.ERR_BAD_REQUEST,t)):g.send(i||null)}))};var Vt=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let n,r=new AbortController;const i=function(t){if(!n){n=!0,a();const e=t instanceof Error?t:this.reason;r.abort(e instanceof q?e:new Ot(e instanceof Error?e.message:e))}};let o=e&&setTimeout((()=>{o=null,i(new q(`timeout ${e} of ms exceeded`,q.ETIMEDOUT))}),e);const a=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach((t=>{t.unsubscribe?t.unsubscribe(i):t.removeEventListener("abort",i)})),t=null)};t.forEach((t=>t.addEventListener("abort",i)));const{signal:s}=r;return s.unsubscribe=()=>X.asap(a),s}};const Ht=function*(t,e){let n=t.byteLength;if(!e||n<e)return void(yield t);let r,i=0;for(;i<n;)r=i+e,yield t.slice(i,r),i=r},Wt=async function*(t){if(t[Symbol.asyncIterator])return void(yield*t);const e=t.getReader();try{for(;;){const{done:t,value:n}=await e.read();if(t)break;yield n}}finally{await e.cancel()}},Gt=(t,e,n,r)=>{const i=async function*(t,e){for await(const n of Wt(t))yield*Ht(n,e)}(t,e);let o,a=0,s=t=>{o||(o=!0,r&&r(t))};return new ReadableStream({async pull(t){try{const{done:e,value:r}=await i.next();if(e)return s(),void t.close();let o=r.byteLength;if(n){let t=a+=o;n(t)}t.enqueue(new Uint8Array(r))}catch(t){throw s(t),t}},cancel(t){return s(t),i.return()}},{highWaterMark:2})},Yt="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Ut=Yt&&"function"==typeof ReadableStream,Zt=Yt&&("function"==typeof TextEncoder?(Xt=new TextEncoder,t=>Xt.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer()));var Xt;const qt=(t,...e)=>{try{return!!t(...e)}catch(t){return!1}},Kt=Ut&&qt((()=>{let t=!1;const e=new Request(mt.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e})),Jt=Ut&&qt((()=>X.isReadableStream(new Response("").body))),Qt={stream:Jt&&(t=>t.body)};var te;Yt&&(te=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!Qt[t]&&(Qt[t]=X.isFunction(te[t])?e=>e[t]():(e,n)=>{throw new q(`Response type '${t}' is not supported`,q.ERR_NOT_SUPPORT,n)})})));const ee=async(t,e)=>{const n=X.toFiniteNumber(t.getContentLength());return null==n?(async t=>{if(null==t)return 0;if(X.isBlob(t))return t.size;if(X.isSpecCompliantForm(t)){const e=new Request(mt.origin,{method:"POST",body:t});return(await e.arrayBuffer()).byteLength}return X.isArrayBufferView(t)||X.isArrayBuffer(t)?t.byteLength:(X.isURLSearchParams(t)&&(t+=""),X.isString(t)?(await Zt(t)).byteLength:void 0)})(e):n};const ne={http:null,xhr:zt,fetch:Yt&&(async t=>{let{url:e,method:n,data:r,signal:i,cancelToken:o,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:u,headers:c,withCredentials:d="same-origin",fetchOptions:h}=jt(t);u=u?(u+"").toLowerCase():"text";let f,p=Vt([i,o&&o.toAbortSignal()],a);const g=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let y;try{if(l&&Kt&&"get"!==n&&"head"!==n&&0!==(y=await ee(c,r))){let t,n=new Request(e,{method:"POST",body:r,duplex:"half"});if(X.isFormData(r)&&(t=n.headers.get("content-type"))&&c.setContentType(t),n.body){const[t,e]=$t(y,kt(Et(l)));r=Gt(n.body,65536,t,e)}}X.isString(d)||(d=d?"include":"omit");const i="credentials"in Request.prototype;f=new Request(e,{...h,signal:p,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:r,duplex:"half",credentials:i?d:void 0});let o=await fetch(f);const a=Jt&&("stream"===u||"response"===u);if(Jt&&(s||a&&g)){const t={};["status","statusText","headers"].forEach((e=>{t[e]=o[e]}));const e=X.toFiniteNumber(o.headers.get("content-length")),[n,r]=s&&$t(e,kt(Et(s),!0))||[];o=new Response(Gt(o.body,65536,n,(()=>{r&&r(),g&&g()})),t)}u=u||"text";let m=await Qt[X.findKey(Qt,u)||"text"](o,t);return!a&&g&&g(),await new Promise(((e,n)=>{Pt(e,n,{data:m,headers:Dt.from(o.headers),status:o.status,statusText:o.statusText,config:t,request:f})}))}catch(e){if(g&&g(),e&&"TypeError"===e.name&&/fetch/i.test(e.message))throw Object.assign(new q("Network Error",q.ERR_NETWORK,t,f),{cause:e.cause||e});throw q.from(e,e&&e.code,t,f)}})};
vendor: 4,280 bytes, line 9
9X.forEach(ne,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const re=t=>`- ${t}`,ie=t=>X.isFunction(t)||null===t||!1===t;var oe=t=>{t=X.isArray(t)?t:[t];const{length:e}=t;let n,r;const i={};for(let o=0;o<e;o++){let e;if(n=t[o],r=n,!ie(n)&&(r=ne[(e=String(n)).toLowerCase()],void 0===r))throw new q(`Unknown adapter '${e}'`);if(r)break;i[e||"#"+o]=r}if(!r){const t=Object.entries(i).map((([t,e])=>`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build")));throw new q("There is no suitable adapter to dispatch the request "+(e?t.length>1?"since :\n"+t.map(re).join("\n"):" "+re(t[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function ae(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Ot(null,t)}function se(t){ae(t),t.headers=Dt.from(t.headers),t.data=Tt.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return oe(t.adapter||xt.adapter)(t).then((function(e){return ae(t),e.data=Tt.call(t,t.transformResponse,e),e.headers=Dt.from(e.headers),e}),(function(e){return Ct(e)||(ae(t),e&&e.response&&(e.response.data=Tt.call(t,t.transformResponse,e.response),e.response.headers=Dt.from(e.response.headers))),Promise.reject(e)}))}const le="1.7.7",ue={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{ue[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));const ce={};ue.transitional=function(t,e,n){function r(t,e){return"[Axios v1.7.7] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,i,o)=>{if(!1===t)throw new q(r(i," has been removed"+(e?" in "+e:"")),q.ERR_DEPRECATED);return e&&!ce[i]&&(ce[i]=!0,console.warn(r(i," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,i,o)}};var de={assertOptions:function(t,e,n){if("object"!=typeof t)throw new q("options must be an object",q.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let i=r.length;for(;i-- >0;){const o=r[i],a=e[o];if(a){const e=t[o],n=void 0===e||a(e,o,t);if(!0!==n)throw new q("option "+o+" must be "+n,q.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new q("Unknown option "+o,q.ERR_BAD_OPTION)}},validators:ue};const he=de.validators;class fe{constructor(t){this.defaults=t,this.interceptors={request:new ut,response:new ut}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const n=e.stack?e.stack.replace(/^.+\n/,""):"";try{t.stack?n&&!String(t.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+n):t.stack=n}catch(t){}}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=Bt(this.defaults,e);const{transitional:n,paramsSerializer:r,headers:i}=e;void 0!==n&&de.assertOptions(n,{silentJSONParsing:he.transitional(he.boolean),forcedJSONParsing:he.transitional(he.boolean),clarifyTimeoutError:he.transitional(he.boolean)},!1),null!=r&&(X.isFunction(r)?e.paramsSerializer={serialize:r}:de.assertOptions(r,{encode:he.function,serialize:he.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let o=i&&X.merge(i.common,i[e.method]);i&&X.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete i[t]})),e.headers=Dt.concat(o,i);const a=[];let s=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(s=s&&t.synchronous,a.unshift(t.fulfilled,t.rejected))}));const l=[];let u;this.interceptors.response.forEach((function(t){l.push(t.fulfilled,t.rejected)}));let c,d=0;if(!s){const t=[se.bind(this),void 0];for(t.unshift.apply(t,a),t.push.apply(t,l),c=t.length,u=Promise.resolve(e);d<c;)u=u.then(t[d++],t[d++]);return u}c=a.length;let h=e;for(d=0;d<c;){const t=a[d++],e=a[d++];try{h=t(h)}catch(t){e.call(this,t);break}}try{u=se.call(this,h)}catch(t){return Promise.reject(t)}for(d=0,c=l.length;d<c;)u=u.then(l[d++],l[d++]);return u}getUri(t){return lt(Rt((t=Bt(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}X.forEach(["delete","get","head","options"],(function(t){fe.prototype[t]=function(e,n){return this.request(Bt(n||{},{method:t,url:e,data:(n||{}).data}))}}
vendor: 1,411 bytes, line 9
9)),X.forEach(["post","put","patch"],(function(t){function e(e){return function(n,r,i){return this.request(Bt(i||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}fe.prototype[t]=e(),fe.prototype[t+"Form"]=e(!0)}));var pe=fe;class ge{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const n=this;this.promise.then((t=>{if(!n._listeners)return;let e=n._listeners.length;for(;e-- >0;)n._listeners[e](t);n._listeners=null})),this.promise.then=t=>{let e;const r=new Promise((t=>{n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t,r,i){n.reason||(n.reason=new Ot(t,r,i),e(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}toAbortSignal(){const t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let t;return{token:new ge((function(e){t=e})),cancel:t}}}var ye=ge;const me={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
9alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(me).forEach((([t,e])=>{me[e]=t}));var ve=me;const be=function t(e){const n=new pe(e),r=o(pe.prototype.request,n);return X.extend(r,pe.prototype,n,{allOwnKeys:!0}),X.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return t(Bt(e,n))},r}(xt);be.Axios=pe,be.CanceledError=Ot,be.CancelToken=ye,be.isCancel=Ct,be.VERSION=le,be.toFormData=rt,be.AxiosError=q,be.Cancel=be.CanceledError,be.all=function(t){return Promise.all(t)},be.spread=function(t){return function(e){return t.apply(null,e)}},be.isAxiosError=function(t){return X.isObject(t)&&!0===t.isAxiosError},be.mergeConfig=Bt,be.AxiosHeaders=Dt,be.formToJSON=t=>vt(X.isHTMLForm(t)?new FormData(t):t),be.getAdapter=oe,be.HttpStatusCode=ve,be.default=be,t.exports=be},79306:function(t,e,n){"use strict";var r=n(94901),i=n(16823),o=TypeError;t.exports=function(t){if(r(t))return t;throw new o(i(t)+" is not a function")}},35548:function(t,e,n){"use strict";var r=n(33517),i=n(16823),o=TypeError;t.exports=function(t){if(r(t))return t;throw new o(i(t)+" is not a constructor")}},73506:function(t,e,n){"use strict";var r=n(13925),i=String,o=TypeError;t.exports=function(t){if(r(t))return t;throw new o("Can't set "+i(t)+" as a prototype")}},97080:function(t,e,n){"use strict";var r=n(94402).has;t.exports=function(t){return r(t),t}},6469:function(t,e,n){"use strict";var r=n(78227),i=n(2360),o=n(24913).f,a=r("unscopables"),s=Array.prototype;void 0===s[a]&&o(s,a,{configurable:!0,value:i(null)}),t.exports=function(t){s[a][t]=!0}},57829:function(t,e,n){"use strict";var r=n(68183).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},90679:function(t,e,n){"use strict";var r=n(1625),i=TypeError;t.exports=function(t,e){if(r(e,t))return t;throw new i("Incorrect invocation")}},28551:function(t,e,n){"use strict";var r=n(20034),i=String,o=TypeError;t.exports=function(t){if(r(t))return t;throw new o(i(t)+" is not an object")}},15652:function(t,e,n){"use strict";var r=n(79039);t.exports=r((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},84373:function(t,e,n){"use strict";var r=n(48981),i=n(35610),o=n(26198);t.exports=function(t){for(var e=r(this),n=o(e),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,u=void 0===l?n:i(l,n);u>s;)e[s++]=t;return e}},90235:function(t,e,n){"use strict";var r=n(59213).forEach,i=n(34598)("forEach");t.exports=i?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},97916:function(t,e,n){"use strict";
vendor: 32,838 bytes, line 9
9var r=n(76080),i=n(69565),o=n(48981),a=n(96319),s=n(44209),l=n(33517),u=n(26198),c=n(97040),d=n(70081),h=n(50851),f=Array;t.exports=function(t){var e=o(t),n=l(this),p=arguments.length,g=p>1?arguments[1]:void 0,y=void 0!==g;y&&(g=r(g,p>2?arguments[2]:void 0));var m,v,b,x,_,w,S=h(e),M=0;if(!S||this===f&&s(S))for(m=u(e),v=n?new this(m):f(m);m>M;M++)w=y?g(e[M],M):e[M],c(v,M,w);else for(v=n?new this:[],_=(x=d(e,S)).next;!(b=i(_,x)).done;M++)w=y?a(x,g,[b.value,M],!0):b.value,c(v,M,w);return v.length=M,v}},19617:function(t,e,n){"use strict";var r=n(25397),i=n(35610),o=n(26198),a=function(t){return function(e,n,a){var s=r(e),l=o(s);if(0===l)return!t&&-1;var u,c=i(a,l);if(t&&n!=n){for(;l>c;)if((u=s[c++])!=u)return!0}else for(;l>c;c++)if((t||c in s)&&s[c]===n)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},59213:function(t,e,n){"use strict";var r=n(76080),i=n(79504),o=n(47055),a=n(48981),s=n(26198),l=n(1469),u=i([].push),c=function(t){var e=1===t,n=2===t,i=3===t,c=4===t,d=6===t,h=7===t,f=5===t||d;return function(p,g,y,m){for(var v,b,x=a(p),_=o(x),w=s(_),S=r(g,y),M=0,I=m||l,A=e?I(p,w):n||h?I(p,0):void 0;w>M;M++)if((f||M in _)&&(b=S(v=_[M],M,x),t))if(e)A[M]=b;else if(b)switch(t){case 3:return!0;case 5:return v;case 6:return M;case 2:u(A,v)}else switch(t){case 4:return!1;case 7:u(A,v)}return d?-1:i||c?c:A}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},70597:function(t,e,n){"use strict";var r=n(79039),i=n(78227),o=n(39519),a=i("species");t.exports=function(t){return o>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},34598:function(t,e,n){"use strict";var r=n(79039);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){return 1},1)}))}},34527:function(t,e,n){"use strict";var r=n(43724),i=n(34376),o=TypeError,a=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(i(t)&&!a(t,"length").writable)throw new o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},67680:function(t,e,n){"use strict";var r=n(79504);t.exports=r([].slice)},74488:function(t,e,n){"use strict";var r=n(67680),i=Math.floor,o=function(t,e){var n=t.length;if(n<8)for(var a,s,l=1;l<n;){for(s=l,a=t[l];s&&e(t[s-1],a)>0;)t[s]=t[--s];s!==l++&&(t[s]=a)}else for(var u=i(n/2),c=o(r(t,0,u),e),d=o(r(t,u),e),h=c.length,f=d.length,p=0,g=0;p<h||g<f;)t[p+g]=p<h&&g<f?e(c[p],d[g])<=0?c[p++]:d[g++]:p<h?c[p++]:d[g++];return t};t.exports=o},87433:function(t,e,n){"use strict";var r=n(34376),i=n(33517),o=n(20034),a=n(78227)("species"),s=Array;t.exports=function(t){var e;return r(t)&&(e=t.constructor,(i(e)&&(e===s||r(e.prototype))||o(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?s:e}},1469:function(t,e,n){"use strict";var r=n(87433);t.exports=function(t,e){return new(r(t))(0===e?0:e)}},96319:function(t,e,n){"use strict";var r=n(28551),i=n(9539);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){i(t,"throw",e)}}},84428:function(t,e,n){"use strict";var r=n(78227)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){try{if(!e&&!i)return!1}catch(t){return!1}var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(t){}return n}},22195:function(t,e,n){"use strict";var r=n(79504),i=r({}.toString),o=r("".slice);t.exports=function(t){return o(i(t),8,-1)}},36955:function(t,e,n){"use strict";var r=n(92140),i=n(94901),o=n(22195),a=n(78227)("toStringTag"),s=Object,l="Arguments"===o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?n:l?o(e):"Object"===(r=o(e))&&i(e.callee)?"Arguments":r}},86938:function(t,e,n){"use strict";var r=n(2360),i=n(62106),o=n(56279),a=n(76080),s=n(90679),l=n(64117),u=n(72652),c=n(51088),d=n(62529),h=n(87633),f=n(43724),p=n(3451).fastKey,g=n(91181),y=g.set,m=g.getterFor;t.exports={getConstructor:function(t,e,n,c){var d=t((function(t,i){s(t,h),y(t,{type:e,index:r(null),first:null,last:null,size:0}),f||(t.size=0),l(i)||u(i,t[c],{that:t,AS_ENTRIES:n})})),h=d.prototype,g=m(e),v=function(t,e,n){var r,i,o=g(t),a=b(t,e);return a?a.value=n:(o.last=a={index:i=p(e,!0),key:e,value:n,previous:r=o.last,next:null,removed:!1},o.first||(o.first=a),r&&(r.next=a),f?o.size++:t.size++,"F"!==i&&(o.index[i]=a)),t},b=function(t,e){var n,r=g(t),i=p(e);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key===e)return n};return o(h,{clear:function(){for(var t=g(this),e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=null),e=e.next;t.first=t.last=null,t.index=r(null),f?t.size=0:this.size=0},delete:function(t){var e=this,n=g(e),r=b(e,t);if(r){var i=r.next,o=r.previous;delete n.index[r.index],r.removed=!0,o&&(o.next=i),i&&(i.previous=o),n.first===r&&(n.first=i),n.last===r&&(n.last=o),f?n.size--:e.size--}return!!r},forEach:function(t){for(var e,n=g(this),r=a(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!b(this,t)}}),o(h,n?{get:function(t){var e=b(this,t);return e&&e.value},set:function(t,e){return v(this,0===t?0:t,e)}}:{add:function(t){return v(this,t=0===t?0:t,t)}}),f&&i(h,"size",{configurable:!0,get:function(){return g(this).size}}),d},setStrong:function(t,e,n){var r=e+" Iterator",i=m(e),o=m(r);c(t,e,(function(t,e){y(this,{type:r,target:t,state:i(t),kind:e,last:null})}),(function(){for(var t=o(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?d("keys"===e?n.key:"values"===e?n.value:[n.key,n.value],!1):(t.target=null,d(void 0,!0))}),n?"entries":"values",!n,!0),h(e)}}},16468:function(t,e,n){"use strict";var r=n(46518),i=n(44576),o=n(79504),a=n(92796),s=n(36840),l=n(3451),u=n(72652),c=n(90679),d=n(94901),h=n(64117),f=n(20034),p=n(79039),g=n(84428),y=n(10687),m=n(23167);t.exports=function(t,e,n){var v=-1!==t.indexOf("Map"),b=-1!==t.indexOf("Weak"),x=v?"set":"add",_=i[t],w=_&&_.prototype,S=_,M={},I=function(t){var e=o(w[t]);s(w,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!f(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!f(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!f(t))&&e(this,0===t?0:t)}:function(t,n){return e(this,0===t?0:t,n),this})};if(a(t,!d(_)||!(b||w.forEach&&!p((function(){(new _).entries().next()})))))S=n.getConstructor(e,t,v,x),l.enable();else if(a(t,!0)){var A=new S,D=A[x](b?{}:-0,1)!==A,T=p((function(){A.has(1)})),C=g((function(t){new _(t)})),O=!b&&p((function(){for(var t=new _,e=5;e--;)t[x](e,e);return!t.has(-0)}));C||((S=e((function(t,e){c(t,w);var n=m(new _,t,S);return h(e)||u(e,n[x],{that:n,AS_ENTRIES:v}),n}))).prototype=w,w.constructor=S),(T||O)&&(I("delete"),I("has"),v&&I("get")),(O||D)&&I(x),b&&w.clear&&delete w.clear}return M[t]=S,r({global:!0,constructor:!0,forced:S!==_},M),y(S,t),b||n.setStrong(S,t,v),S}},77740:function(t,e,n){"use strict";var r=n(39297),i=n(35031),o=n(77347),a=n(24913);t.exports=function(t,e,n){for(var s=i(e),l=a.f,u=o.f,c=0;c<s.length;c++){var d=s[c];r(t,d)||n&&r(n,d)||l(t,d,u(e,d))}}},41436:function(t,e,n){"use strict";var r=n(78227)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(t){}}return!1}},12211:function(t,e,n){"use strict";var r=n(79039);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},62529:function(t){"use strict";t.exports=function(t,e){return{value:t,done:e}}},66699:function(t,e,n){"use strict";var r=n(43724),i=n(24913),o=n(6980);t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},6980:function(t){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},97040:function(t,e,n){"use strict";var r=n(43724),i=n(24913),o=n(6980);t.exports=function(t,e,n){r?i.f(t,e,o(0,n)):t[e]=n}},62106:function(t,e,n){"use strict";var r=n(50283),i=n(24913);t.exports=function(t,e,n){return n.get&&r(n.get,e,{getter:!0}),n.set&&r(n.set,e,{setter:!0}),i.f(t,e,n)}},36840:function(t,e,n){"use strict";var r=n(94901),i=n(24913),o=n(50283),a=n(39433);t.exports=function(t,e,n,s){s||(s={});var l=s.enumerable,u=void 0!==s.name?s.name:e;if(r(n)&&o(n,u,s),s.global)l?t[e]=n:a(e,n);else{try{s.unsafe?t[e]&&(l=!0):delete t[e]}catch(t){}l?t[e]=n:i.f(t,e,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},56279:function(t,e,n){"use strict";var r=n(36840);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},39433:function(t,e,n){"use strict";var r=n(44576),i=Object.defineProperty;t.exports=function(t,e){try{i(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},84606:function(t,e,n){"use strict";var r=n(16823),i=TypeError;t.exports=function(t,e){if(!delete t[e])throw new i("Cannot delete property "+r(e)+" of "+r(t))}},43724:function(t,e,n){"use strict";var r=n(79039);t.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:function(t,e,n){"use strict";var r=n(44576),i=n(20034),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},96837:function(t){"use strict";var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},67400:function(t){"use strict";t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},79296:function(t,e,n){"use strict";var r=n(4055)("span").classList,i=r&&r.constructor&&r.constructor.prototype;t.exports=i===Object.prototype?void 0:i},88727:function(t){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},13709:function(t,e,n){"use strict";var r=n(82839).match(/firefox\/(\d+)/i);t.exports=!!r&&+r[1]},13763:function(t,e,n){"use strict";var r=n(82839);t.exports=/MSIE|Trident/.test(r)},82839:function(t,e,n){"use strict";var r=n(44576).navigator,i=r&&r.userAgent;t.exports=i?String(i):""},39519:function(t,e,n){"use strict";var r,i,o=n(44576),a=n(82839),s=o.process,l=o.Deno,u=s&&s.versions||l&&l.version,c=u&&u.v8;c&&(i=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=+r[1]),t.exports=i},3607:function(t,e,n){"use strict";var r=n(82839).match(/AppleWebKit\/(\d+)\./);t.exports=!!r&&+r[1]},46518:function(t,e,n){"use strict";var r=n(44576),i=n(77347).f,o=n(66699),a=n(36840),s=n(39433),l=n(77740),u=n(92796);t.exports=function(t,e){var n,c,d,h,f,p=t.target,g=t.global,y=t.stat;if(n=g?r:y?r[p]||s(p,{}):r[p]&&r[p].prototype)for(c in e){if(h=e[c],d=t.dontCallGetSet?(f=i(n,c))&&f.value:n[c],!u(g?c:p+(y?".":"#")+c,t.forced)&&void 0!==d){if(typeof h==typeof d)continue;l(h,d)}(t.sham||d&&d.sham)&&o(h,"sham",!0),a(n,c,h,t)}}},79039:function(t){"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},89228:function(t,e,n){"use strict";n(27495);var r=n(69565),i=n(36840),o=n(57323),a=n(79039),s=n(78227),l=n(66699),u=s("species"),c=RegExp.prototype;t.exports=function(t,e,n,d){var h=s(t),f=!a((function(){var e={};return e[h]=function(){return 7},7!==""[t](e)})),p=f&&!a((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return e=!0,null},n[h](""),!e}));if(!f||!p||n){var g=/./[h],y=e(h,""[t],(function(t,e,n,i,a){var s=e.exec;return s===o||s===c.exec?f&&!a?{done:!0,value:r(g,e,n,i)}:{done:!0,value:r(t,n,e,i)}:{done:!1}}));i(String.prototype,t,y[0]),i(c,h,y[1])}d&&l(c[h],"sham",!0)}},70259:function(t,e,n){"use strict";var r=n(34376),i=n(26198),o=n(96837),a=n(76080),s=function(t,e,n,l,u,c,d,h){for(var f,p,g=u,y=0,m=!!d&&a(d,h);y<l;)y in n&&(f=m?m(n[y],y,e):n[y],c>0&&r(f)?(p=i(f),g=s(t,e,f,p,g,c-1)-1):(o(g+1),t[g]=f),g++),y++;return g};t.exports=s},92744:function(t,e,n){"use strict";var r=n(79039);t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},18745:function(t,e,n){"use strict";var r=n(40616),i=Function.prototype,o=i.apply,a=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(o):function(){return a.apply(o,arguments)})},76080:function(t,e,n){"use strict";var r=n(27476),i=n(79306),o=n(40616),a=r(r.bind);t.exports=function(t,e){return i(t),void 0===e?t:o?a(t,e):function(){return t.apply(e,arguments)}}},40616:function(t,e,n){"use strict";var r=n(79039);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},69565:function(t,e,n){"use strict";var r=n(40616),i=Function.prototype.call;t.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},10350:function(t,e,n){"use strict";var r=n(43724),i=n(39297),o=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=i(o,"name"),l=s&&"something"===function(){}.name,u=s&&(!r||r&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:l,CONFIGURABLE:u}},46706:function(t,e,n){"use strict";var r=n(79504),i=n(79306);t.exports=function(t,e,n){try{return r(i(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}}},27476:function(t,e,n){"use strict";var r=n(22195),i=n(79504);t.exports=function(t){if("Function"===r(t))return i(t)}},79504:function(t,e,n){"use strict";var r=n(40616),i=Function.prototype,o=i.call,a=r&&i.bind.bind(o,o);t.exports=r?a:function(t){return function(){return o.apply(t,arguments)}}},97751:function(t,e,n){"use strict";var r=n(44576),i=n(94901);t.exports=function(t,e){return arguments.length<2?(n=r[t],i(n)?n:void 0):r[t]&&r[t][e];var n}},24148:function(t){"use strict";t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},50851:function(t,e,n){"use strict";var r=n(36955),i=n(55966),o=n(64117),a=n(26269),s=n(78227)("iterator");t.exports=function(t){if(!o(t))return i(t,s)||i(t,"@@iterator")||a[r(t)]}},70081:function(t,e,n){"use strict";var r=n(69565),i=n(79306),o=n(28551),a=n(16823),s=n(50851),l=TypeError;t.exports=function(t,e){var n=arguments.length<2?s(t):e;if(i(n))return o(r(n,t));throw new l(a(t)+" is not iterable")}},66933:function(t,e,n){"use strict";var r=n(79504),i=n(34376),o=n(94901),a=n(22195),s=n(655),l=r([].push);t.exports=function(t){if(o(t))return t;if(i(t)){for(var e=t.length,n=[],r=0;r<e;r++){var u=t[r];"string"==typeof u?l(n,u):"number"!=typeof u&&"Number"!==a(u)&&"String"!==a(u)||l(n,s(u))}var c=n.length,d=!0;return function(t,e){if(d)return d=!1,e;if(i(this))return e;for(var r=0;r<c;r++)if(n[r]===t)return e}}}},55966:function(t,e,n){"use strict";var r=n(79306),i=n(64117);t.exports=function(t,e){var n=t[e];return i(n)?void 0:r(n)}},83789:function(t,e,n){"use strict";var r=n(79306),i=n(28551),o=n(69565),a=n(91291),s=n(24148),l="Invalid size",u=RangeError,c=TypeError,d=Math.max,h=function(t,e){this.set=t,this.size=d(e,0),this.has=r(t.has),this.keys=r(t.keys)};h.prototype={getIterator:function(){return s(i(o(this.keys,this.set)))},includes:function(t){return o(this.has,this.set,t)}},t.exports=function(t){i(t);var e=+t.size;if(e!=e)throw new c(l);var n=a(e);if(n<0)throw new u(l);return new h(t,n)}},2478:function(t,e,n){"use strict";var r=n(79504),i=n(48981),o=Math.floor,a=r("".charAt),s=r("".replace),l=r("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,r,d,h){var f=n+t.length,p=r.length,g=c;return void 0!==d&&(d=i(d),g=u),s(h,g,(function(i,s){var u;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return l(e,0,n);case"'":return l(e,f);case"<":u=d[l(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>p){var h=o(c/10);return 0===h?i:h<=p?void 0===r[h-1]?a(s,1):r[h-1]+a(s,1):i}u=r[c-1]}return void 0===u?"":u}))}},44576:function(t,e,n){"use strict";var r=function(t){return t&&t.Math===Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},39297:function(t,e,n){"use strict";var r=n(79504),i=n(48981),o=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},30421:function(t){"use strict";t.exports={}},20397:function(t,e,n){"use strict";var r=n(97751);t.exports=r("document","documentElement")},35917:function(t,e,n){"use strict";var r=n(43724),i=n(79039),o=n(4055);t.exports=!r&&!i((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},47055:function(t,e,n){"use strict";var r=n(79504),i=n(79039),o=n(22195),a=Object,s=r("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===o(t)?s(t,""):a(t)}:a},23167:function(t,e,n){"use strict";var r=n(94901),i=n(20034),o=n(52967);t.exports=function(t,e,n){var a,s;return o&&r(a=e.constructor)&&a!==n&&i(s=a.prototype)&&s!==n.prototype&&o(t,s),t}},33706:function(t,e,n){"use strict";var r=n(79504),i=n(94901),o=n(77629),a=r(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},3451:function(t,e,n){"use strict";var r=n(46518),i=n(79504),o=n(30421),a=n(20034),s=n(39297),l=n(24913).f,u=n(38480),c=n(10298),d=n(34124),h=n(33392),f=n(92744),p=!1,g=h("meta"),y=0,m=function(t){l(t,g,{value:{objectID:"O"+y++,weakData:{}}})},v=t.exports={enable:function(){v.enable=function(){},p=!0;var t=u.f,e=i([].splice),n={};n[g]=1,t(n).length&&(u.f=function(n){for(var r=t(n),i=0,o=r.length;i<o;i++)if(r[i]===g){e(r,i,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:c.f}))},fastKey:function(t,e){if(!a(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!s(t,g)){if(!d(t))return"F";if(!e)return"E";m(t)}return t[g].objectID},getWeakData:function(t,e){if(!s(t,g)){if(!d(t))return!0;if(!e)return!1;m(t)}return t[g].weakData},onFreeze:function(t){return f&&p&&d(t)&&!s(t,g)&&m(t),t}};o[g]=!0},91181:function(t,e,n){"use strict";var r,i,o,a=n(58622),s=n(44576),l=n(20034),u=n(66699),c=n(39297),d=n(77629),h=n(66119),f=n(30421),p="Object already initialized",g=s.TypeError,y=s.WeakMap;if(a||d.state){var m=d.state||(d.state=new y);m.get=m.get,m.has=m.has,m.set=m.set,r=function(t,e){if(m.has(t))throw new g(p);return e.facade=t,m.set(t,e),e},i=function(t){return m.get(t)||{}},o=function(t){return m.has(t)}}else{var v=h("state");f[v]=!0,r=function(t,e){if(c(t,v))throw new g(p);return e.facade=t,u(t,v,e),e},i=function(t){return c(t,v)?t[v]:{}},o=function(t){return c(t,v)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!l(e)||(n=i(e)).type!==t)throw new g("Incompatible receiver, "+t+" required");return n}}}},44209:function(t,e,n){"use strict";var r=n(78227),i=n(26269),o=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},34376:function(t,e,n){"use strict";var r=n(22195);t.exports=Array.isArray||function(t){return"Array"===r(t)}},94901:function(t){"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},33517:function(t,e,n){"use strict";var r=n(79504),i=n(79039),o=n(94901),a=n(36955),s=n(97751),l=n(33706),u=function(){},c=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,h=r(d.exec),f=!d.test(u),p=function(t){if(!o(t))return!1;try{return c(u,[],t),!0}catch(t){return!1}},g=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!h(d,l(t))}catch(t){return!0}};g.sham=!0,t.exports=!c||i((function(){var t;return p(p.call)||!p(Object)||!p((function(){t=!0}))||t}))?g:p},92796:function(t,e,n){"use strict";var r=n(79039),i=n(94901),o=/#|\.prototype\./,a=function(t,e){var n=l[s(t)];return n===c||n!==u&&(i(e)?r(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},l=a.data={},u=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a},64117:function(t){"use strict";t.exports=function(t){return null==t}},20034:function(t,e,n){"use strict";var r=n(94901);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},13925:function(t,e,n){"use strict";var r=n(20034);t.exports=function(t){return r(t)||null===t}},96395:function(t){"use strict";t.exports=!1},60788:function(t,e,n){"use strict";var r=n(20034),i=n(22195),o=n(78227)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"===i(t))}},10757:function(t,e,n){"use strict";var r=n(97751),i=n(94901),o=n(1625),a=n(7040),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return i(e)&&o(e.prototype,s(t))}},40507:function(t,e,n){"use strict";var r=n(69565);t.exports=function(t,e,n){for(var i,o,a=n?t:t.iterator,s=t.next;!(i=r(s,a)).done;)if(void 0!==(o=e(i.value)))return o}},72652:function(t,e,n){"use strict";var r=n(76080),i=n(69565),o=n(28551),a=n(16823),s=n(44209),l=n(26198),u=n(1625),c=n(70081),d=n(50851),h=n(9539),f=TypeError,p=function(t,e){this.stopped=t,this.result=e},g=p.prototype;t.exports=function(t,e,n){var y,m,v,b,x,_,w,S=n&&n.that,M=!(!n||!n.AS_ENTRIES),I=!(!n||!n.IS_RECORD),A=!(!n||!n.IS_ITERATOR),D=!(!n||!n.INTERRUPTED),T=r(e,S),C=function(t){return y&&h(y,"normal",t),new p(!0,t)},O=function(t){return M?(o(t),D?T(t[0],t[1],C):T(t[0],t[1])):D?T(t,C):T(t)};if(I)y=t.iterator;else if(A)y=t;else{if(!(m=d(t)))throw new f(a(t)+" is not iterable");if(s(m)){for(v=0,b=l(t);b>v;v++)if((x=O(t[v]))&&u(g,x))return x;return new p(!1)}y=c(t,m)}for(_=I?t.next:y.next;!(w=i(_,y)).done;){try{x=O(w.value)}catch(t){h(y,"throw",t)}if("object"==typeof x&&x&&u(g,x))return x}return new p(!1)}},9539:function(t,e,n){"use strict";var r=n(69565),i=n(28551),o=n(55966);t.exports=function(t,e,n){var a,s;i(t);try{if(!(a=o(t,"return"))){if("throw"===e)throw n;return n}a=r(a,t)}catch(t){s=!0,a=t}if("throw"===e)throw n;if(s)throw a;return i(a),n}},33994:function(t,e,n){"use strict";var r=n(57657).IteratorPrototype,i=n(2360),o=n(6980),a=n(10687),s=n(26269),l=function(){return this};t.exports=function(t,e,n,u){var c=e+" Iterator";return t.prototype=i(r,{next:o(+!u,n)}),a(t,c,!1,!0),s[c]=l,t}},51088:function(t,e,n){"use strict";var r=n(46518),i=n(69565),o=n(96395),a=n(10350),s=n(94901),l=n(33994),u=n(42787),c=n(52967),d=n(10687),h=n(66699),f=n(36840),p=n(78227),g=n(26269),y=n(57657),m=a.PROPER,v=a.CONFIGURABLE,b=y.IteratorPrototype,x=y.BUGGY_SAFARI_ITERATORS,_=p("iterator"),w="keys",S="values",M="entries",I=function(){return this};t.exports=function(t,e,n,a,p,y,A){l(n,e,a);var D,T,C,O=function(t){if(t===p&&L)return L;if(!x&&t&&t in $)return $[t];switch(t){case w:case S:case M:return function(){return new n(this,t)}}return function(){return new n(this)}},P=e+" Iterator",k=!1,$=t.prototype,E=$[_]||$["@@iterator"]||p&&$[p],L=!x&&E||O(p),N="Array"===e&&$.entries||E;if(N&&(D=u(N.call(new t)))!==Object.prototype&&D.next&&(o||u(D)===b||(c?c(D,b):s(D[_])||f(D,_,I)),d(D,P,!0,!0),o&&(g[P]=I)),m&&p===S&&E&&E.name!==S&&(!o&&v?h($,"name",S):(k=!0,L=function(){return i(E,this)})),p)if(T={values:O(S),keys:y?L:O(w),entries:O(M)},A)for(C in T)(x||k||!(C in $))&&f($,C,T[C]);else r({target:e,proto:!0,forced:x||k},T);return o&&!A||$[_]===L||f($,_,L,{name:p}),g[e]=L,T}},57657:function(t,e,n){"use strict";var r,i,o,a=n(79039),s=n(94901),l=n(20034),u=n(2360),c=n(42787),d=n(36840),h=n(78227),f=n(96395),p=h("iterator"),g=!1;[].keys&&("next"in(o=[].keys())?(i=c(c(o)))!==Object.prototype&&(r=i):g=!0),!l(r)||a((function(){var t={};return r[p].call(t)!==t}))?r={}:f&&(r=u(r)),s(r[p])||d(r,p,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:g}},26269:function(t){"use strict";t.exports={}},26198:function(t,e,n){"use strict";var r=n(18014);t.exports=function(t){return r(t.length)}},50283:function(t,e,n){"use strict";var r=n(79504),i=n(79039),o=n(94901),a=n(39297),s=n(43724),l=n(10350).CONFIGURABLE,u=n(33706),c=n(91181),d=c.enforce,h=c.get,f=String,p=Object.defineProperty,g=r("".slice),y=r("".replace),m=r([].join),v=s&&!i((function(){return 8!==p((function(){}),"length",{value:8}).length})),b=String(String).split("String"),x=t.exports=function(t,e,n){"Symbol("===g(f(e),0,7)&&(e="["+y(f(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!a(t,"name")||l&&t.name!==e)&&(s?p(t,"name",{value:e,configurable:!0}):t.name=e),v&&n&&a(n,"arity")&&t.length!==n.arity&&p(t,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=d(t);return a(r,"source")||(r.source=m(b,"string"==typeof e?e:"")),t};Function.prototype.toString=x((function(){return o(this)&&h(this).source||u(this)}),"toString")},80741:function(t){"use strict";var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?n:e)(r)}},60511:function(t,e,n){"use strict";var r=n(60788),i=TypeError;t.exports=function(t){if(r(t))throw new i("The method doesn't accept regular expressions");return t}},50360:function(t,e,n){"use strict";var r=n(44576).isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&r(t)}},52703:function(t,e,n){"use strict";var r=n(44576),i=n(79039),o=n(79504),a=n(655),s=n(43802).trim,l=n(47452),u=r.parseInt,c=r.Symbol,d=c&&c.iterator,h=/^[+-]?0x/i,f=o(h.exec),p=8!==u(l+"08")||22!==u(l+"0x16")||d&&!i((function(){u(Object(d))}));t.exports=p?function(t,e){var n=s(a(t));return u(n,e>>>0||(f(h,n)?16:10))}:u},2360:function(t,e,n){"use strict";var r,i=n(28551),o=n(96801),a=n(88727),s=n(30421),l=n(20397),u=n(4055),c=n(66119),d="prototype",h="script",f=c("IE_PROTO"),p=function(){},g=function(t){return"<"+h+">"+t+"</"+h+">"},y=function(t){t.write(g("")),t.close();var e=t.parentWindow.Object;return t=null,e},m=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e,n;m="undefined"!=typeof document?document.domain&&r?y(r):(e=u("iframe"),n="java"+h+":",e.style.display="none",l.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(g("document.F=Object")),t.close(),t.F):y(r);for(var i=a.length;i--;)delete m[d][a[i]];return m()};s[f]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(p[d]=i(t),n=new p,p[d]=null,n[f]=t):n=m(),void 0===e?n:o.f(n,e)}},96801:function(t,e,n){"use strict";var r=n(43724),i=n(48686),o=n(24913),a=n(28551),s=n(25397),l=n(71072);e.f=r&&!i?Object.defineProperties:function(t,e){a(t);for(var n,r=s(e),i=l(e),u=i.length,c=0;u>c;)o.f(t,n=i[c++],r[n]);return t}},24913:function(t,e,n){"use strict";var r=n(43724),i=n(35917),o=n(48686),a=n(28551),s=n(56969),l=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor,d="enumerable",h="configurable",f="writable";e.f=r?o?function(t,e,n){if(a(t),e=s(e),a(n),"function"==typeof t&&"prototype"===e&&"value"in n&&f in n&&!n[f]){var r=c(t,e);r&&r[f]&&(t[e]=n.value,n={configurable:h in n?n[h]:r[h],enumerable:d in n?n[d]:r[d],writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(a(t),e=s(e),a(n),i)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new l("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},77347:function(t,e,n){"use strict";var r=n(43724),i=n(69565),o=n(48773),a=n(6980),s=n(25397),l=n(56969),u=n(39297),c=n(35917),d=Object.getOwnPropertyDescriptor;e.f=r?d:function(t,e){if(t=s(t),e=l(e),c)try{return d(t,e)}catch(t){}if(u(t,e))return a(!i(o.f,t,e),t[e])}},10298:function(t,e,n){"use strict";var r=n(22195),i=n(25397),o=n(38480).f,a=n(67680),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"Window"===r(t)?function(t){try{return o(t)}catch(t){return a(s)}}(t):o(i(t))}},38480:function(t,e,n){"use strict";var r=n(61828),i=n(88727).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},33717:function(t,e){"use strict";e.f=Object.getOwnPropertySymbols},42787:function(t,e,n){"use strict";var r=n(39297),i=n(94901),o=n(48981),a=n(66119),s=n(12211),l=a("IE_PROTO"),u=Object,c=u.prototype;t.exports=s?u.getPrototypeOf:function(t){var e=o(t);if(r(e,l))return e[l];var n=e.constructor;return i(n)&&e instanceof n?n.prototype:e instanceof u?c:null}},34124:function(t,e,n){"use strict";var r=n(79039),i=n(20034),o=n(22195),a=n(15652),s=Object.isExtensible,l=r((function(){s(1)}));t.exports=l||a?function(t){return!!i(t)&&((!a||"ArrayBuffer"!==o(t))&&(!s||s(t)))}:s},1625:function(t,e,n){"use strict";var r=n(79504);t.exports=r({}.isPrototypeOf)},61828:function(t,e,n){"use strict";var r=n(79504),i=n(39297),o=n(25397),a=n(19617).indexOf,s=n(30421),l=r([].push);t.exports=function(t,e){var n,r=o(t),u=0,c=[];for(n in r)!i(s,n)&&i(r,n)&&l(c,n);for(;e.length>u;)i(r,n=e[u++])&&(~a(c,n)||l(c,n));return c}},71072:function(t,e,n){"use strict";var r=n(61828),i=n(88727);t.exports=Object.keys||function(t){return r(t,i)}},48773:function(t,e){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);e.f=i?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},52967:function(t,e,n){"use strict";var r=n(46706),i=n(20034),o=n(67750),a=n(73506);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=r(Object.prototype,"__proto__","set"))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return o(n),a(r),i(n)?(e?t(n,r):n.__proto__=r,n):n}}():void 0)},32357:function(t,e,n){"use strict";var r=n(43724),i=n(79039),o=n(79504),a=n(42787),s=n(71072),l=n(25397),u=o(n(48773).f),c=o([].push),d=r&&i((function(){var t=Object.create(null);return t[2]=2,!u(t,2)})),h=function(t){return function(e){for(var n,i=l(e),o=s(i),h=d&&null===a(i),f=o.length,p=0,g=[];f>p;)n=o[p++],r&&!(h?n in i:u(i,n))||c(g,t?[n,i[n]]:i[n]);return g}};t.exports={entries:h(!0),values:h(!1)}},53179:function(t,e,n){"use strict";var r=n(92140),i=n(36955);t.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},84270:function(t,e,n){"use strict";var r=n(69565),i=n(94901),o=n(20034),a=TypeError;t.exports=function(t,e){var n,s;if("string"===e&&i(n=t.toString)&&!o(s=r(n,t)))return s;if(i(n=t.valueOf)&&!o(s=r(n,t)))return s;if("string"!==e&&i(n=t.toString)&&!o(s=r(n,t)))return s;throw new a("Can't convert object to primitive value")}},35031:function(t,e,n){"use strict";var r=n(97751),i=n(79504),o=n(38480),a=n(33717),s=n(28551),l=i([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(s(t)),n=a.f;return n?l(e,n(t)):e}},19167:function(t,e,n){"use strict";var r=n(44576);t.exports=r},11056:function(t,e,n){"use strict";var r=n(24913).f;t.exports=function(t,e,n){n in t||r(t,n,{configurable:!0,get:function(){return e[n]},set:function(t){e[n]=t}})}},56682:function(t,e,n){"use strict";var r=n(69565),i=n(28551),o=n(94901),a=n(22195),s=n(57323),l=TypeError;t.exports=function(t,e){var n=t.exec;if(o(n)){var u=r(n,t,e);return null!==u&&i(u),u}if("RegExp"===a(t))return r(s,t,e);throw new l("RegExp#exec called on incompatible receiver")}},57323:function(t,e,n){"use strict";var r,i,o=n(69565),a=n(79504),s=n(655),l=n(67979),u=n(58429),c=n(25745),d=n(2360),h=n(91181).get,f=n(83635),p=n(18814),g=c("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,m=y,v=a("".charAt),b=a("".indexOf),x=a("".replace),_=a("".slice),w=(i=/b*/g,o(y,r=/a/,"a"),o(y,i,"a"),0!==r.lastIndex||0!==i.lastIndex),S=u.BROKEN_CARET,M=void 0!==/()??/.exec("")[1];(w||M||S||f||p)&&(m=function(t){var e,n,r,i,a,u,c,f=this,p=h(f),I=s(t),A=p.raw;if(A)return A.lastIndex=f.lastIndex,e=o(m,A,I),f.lastIndex=A.lastIndex,e;var D=p.groups,T=S&&f.sticky,C=o(l,f),O=f.source,P=0,k=I;if(T&&(C=x(C,"y",""),-1===b(C,"g")&&(C+="g"),k=_(I,f.lastIndex),f.lastIndex>0&&(!f.multiline||f.multiline&&"\n"!==v(I,f.lastIndex-1))&&(O="(?: "+O+")",k=" "+k,P++),n=new RegExp("^(?:"+O+")",C)),M&&(n=new RegExp("^"+O+"$(?!\\s)",C)),w&&(r=f.lastIndex),i=o(y,T?n:f,k),T?i?(i.input=_(i.input,P),i[0]=_(i[0],P),i.index=f.lastIndex,f.lastIndex+=i[0].length):f.lastIndex=0:w&&i&&(f.lastIndex=f.global?i.index+i[0].length:r),M&&i&&i.length>
vendor: 5,693 bytes, line 9
91&&o(g,i[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)})),i&&D)for(i.groups=u=d(null),a=0;a<D.length;a++)u[(c=D[a])[0]]=i[c[1]];return i}),t.exports=m},67979:function(t,e,n){"use strict";var r=n(28551);t.exports=function(){var t=r(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},61034:function(t,e,n){"use strict";var r=n(69565),i=n(39297),o=n(1625),a=n(67979),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||i(t,"flags")||!o(s,t)?e:r(a,t)}},58429:function(t,e,n){"use strict";var r=n(79039),i=n(44576).RegExp,o=r((function(){var t=i("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),a=o||r((function(){return!i("a","y").sticky})),s=o||r((function(){var t=i("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));t.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},83635:function(t,e,n){"use strict";var r=n(79039),i=n(44576).RegExp;t.exports=r((function(){var t=i(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))},18814:function(t,e,n){"use strict";var r=n(79039),i=n(44576).RegExp;t.exports=r((function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},67750:function(t,e,n){"use strict";var r=n(64117),i=TypeError;t.exports=function(t){if(r(t))throw new i("Can't call method on "+t);return t}},93389:function(t,e,n){"use strict";var r=n(44576),i=n(43724),o=Object.getOwnPropertyDescriptor;t.exports=function(t){if(!i)return r[t];var e=o(r,t);return e&&e.value}},3470:function(t){"use strict";t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},89286:function(t,e,n){"use strict";var r=n(94402),i=n(38469),o=r.Set,a=r.add;t.exports=function(t){var e=new o;return i(t,(function(t){a(e,t)})),e}},83440:function(t,e,n){"use strict";var r=n(97080),i=n(94402),o=n(89286),a=n(25170),s=n(83789),l=n(38469),u=n(40507),c=i.has,d=i.remove;t.exports=function(t){var e=r(this),n=s(t),i=o(e);return a(e)<=n.size?l(e,(function(t){n.includes(t)&&d(i,t)})):u(n.getIterator(),(function(t){c(e,t)&&d(i,t)})),i}},94402:function(t,e,n){"use strict";var r=n(79504),i=Set.prototype;t.exports={Set:Set,add:r(i.add),has:r(i.has),remove:r(i.delete),proto:i}},68750:function(t,e,n){"use strict";var r=n(97080),i=n(94402),o=n(25170),a=n(83789),s=n(38469),l=n(40507),u=i.Set,c=i.add,d=i.has;t.exports=function(t){var e=r(this),n=a(t),i=new u;return o(e)>n.size?l(n.getIterator(),(function(t){d(e,t)&&c(i,t)})):s(e,(function(t){n.includes(t)&&c(i,t)})),i}},64449:function(t,e,n){"use strict";var r=n(97080),i=n(94402).has,o=n(25170),a=n(83789),s=n(38469),l=n(40507),u=n(9539);t.exports=function(t){var e=r(this),n=a(t);if(o(e)<=n.size)return!1!==s(e,(function(t){if(n.includes(t))return!1}),!0);var c=n.getIterator();return!1!==l(c,(function(t){if(i(e,t))return u(c,"normal",!1)}))}},53838:function(t,e,n){"use strict";var r=n(97080),i=n(25170),o=n(38469),a=n(83789);t.exports=function(t){var e=r(this),n=a(t);return!(i(e)>n.size)&&!1!==o(e,(function(t){if(!n.includes(t))return!1}),!0)}},28527:function(t,e,n){"use strict";var r=n(97080),i=n(94402).has,o=n(25170),a=n(83789),s=n(40507),l=n(9539);t.exports=function(t){var e=r(this),n=a(t);if(o(e)<n.size)return!1;var u=n.getIterator();return!1!==s(u,(function(t){if(!i(e,t))return l(u,"normal",!1)}))}},38469:function(t,e,n){"use strict";var r=n(79504),i=n(40507),o=n(94402),a=o.Set,s=o.proto,l=r(s.forEach),u=r(s.keys),c=u(new a).next;t.exports=function(t,e,n){return n?i({iterator:u(t),next:c},e):l(t,e)}},84916:function(t,e,n){"use strict";var r=n(97751),i=function(t){return{size:t,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}};t.exports=function(t){var e=r("Set");try{(new e)[t](i(0));try{return(new e)[t](i(-1)),!1}catch(t){return!0}}catch(t){return!1}}},25170:function(t,e,n){"use strict";var r=n(46706),i=n(94402);t.exports=r(i.proto,"size","get")||function(t){return t.size}},87633:function(t,e,n){"use strict";var r=n(97751),i=n(62106),o=n(78227),a=n(43724),s=o("species");t.exports=function(t){var e=r(t);a&&e&&!e[s]&&i(e,s,{configurable:!0,get:function(){return this}})}},83650:function(t,e,n){"use strict";var r=n(97080),i=n(94402),o=n(89286),a=n(83789),s=n(40507),l=i.add,u=i.has,c=i.remove;t.exports=function(t){var e=r(this),n=a(t).getIterator(),i=o(e);return s(n,(function(t){u(e,t)?c(i,t):l(i,t)})),i}},10687:function(t,e,n){"use strict";var r=n(24913).f,i=n(39297),o=n(78227)("toStringTag");t.exports=function(t,e,n){t&&!n&&(t=t.prototype),t&&!i(t,o)&&r(t,o,{configurable:!0,value:e})}},44204:function(t,e,n){"use strict";var r=n(97080),i=n(94402).add,o=n(89286),a=n(83789),s=n(40507);t.exports=function(t){var e=r(this),n=a(t).getIterator(),l=o(e);return s(n,(function(t){i(l,t)})),l}},66119:function(t,e,n){"use strict";var r=n(25745),i=n(33392),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},77629:function(t,e,n){"use strict";var r=n(96395),i=n(44576),o=n(39433),a="__core-js_shared__",s=t.exports=i[a]||o(a,{});(s.versions||(s.versions=[])).push({version:"3.38.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"})},25745:function(t,e,n){"use strict";var r=n(77629);t.exports=function(t,e){return r[t]||(r[t]=e||{})}},2293:function(t,e,n){"use strict";var r=n(28551),i=n(35548),o=n(64117),a=n(78227)("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||o(n=r(s)[a])?e:i(n)}},68183:function(t,e,n){"use strict";
vendor: 9,992 bytes, line 9
9var r=n(79504),i=n(91291),o=n(655),a=n(67750),s=r("".charAt),l=r("".charCodeAt),u=r("".slice),c=function(t){return function(e,n){var r,c,d=o(a(e)),h=i(n),f=d.length;return h<0||h>=f?t?"":void 0:(r=l(d,h))<55296||r>56319||h+1===f||(c=l(d,h+1))<56320||c>57343?t?s(d,h):r:t?u(d,h,h+2):c-56320+(r-55296<<10)+65536}};t.exports={codeAt:c(!1),charAt:c(!0)}},83063:function(t,e,n){"use strict";var r=n(82839);t.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},60533:function(t,e,n){"use strict";var r=n(79504),i=n(18014),o=n(655),a=n(72333),s=n(67750),l=r(a),u=r("".slice),c=Math.ceil,d=function(t){return function(e,n,r){var a,d,h=o(s(e)),f=i(n),p=h.length,g=void 0===r?" ":o(r);return f<=p||""===g?h:((d=l(g,c((a=f-p)/g.length))).length>a&&(d=u(d,0,a)),t?h+d:d+h)}};t.exports={start:d(!1),end:d(!0)}},72333:function(t,e,n){"use strict";var r=n(91291),i=n(655),o=n(67750),a=RangeError;t.exports=function(t){var e=i(o(this)),n="",s=r(t);if(s<0||s===1/0)throw new a("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(e+=e))1&s&&(n+=e);return n}},60706:function(t,e,n){"use strict";var r=n(10350).PROPER,i=n(79039),o=n(47452);t.exports=function(t){return i((function(){return!!o[t]()||"âÂ
á "!=="âÂ
á "[t]()||r&&o[t].name!==t}))}},43802:function(t,e,n){"use strict";var r=n(79504),i=n(67750),o=n(655),a=n(47452),s=r("".replace),l=RegExp("^["+a+"]+"),u=RegExp("(^|[^"+a+"])["+a+"]+$"),c=function(t){return function(e){var n=o(i(e));return 1&t&&(n=s(n,l,"")),2&t&&(n=s(n,u,"$1")),n}};t.exports={start:c(1),end:c(2),trim:c(3)}},4495:function(t,e,n){"use strict";var r=n(39519),i=n(79039),o=n(44576).String;t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol("symbol detection");return!o(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},31240:function(t,e,n){"use strict";var r=n(79504);t.exports=r(1..valueOf)},35610:function(t,e,n){"use strict";var r=n(91291),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},25397:function(t,e,n){"use strict";var r=n(47055),i=n(67750);t.exports=function(t){return r(i(t))}},91291:function(t,e,n){"use strict";var r=n(80741);t.exports=function(t){var e=+t;return e!=e||0===e?0:r(e)}},18014:function(t,e,n){"use strict";var r=n(91291),i=Math.min;t.exports=function(t){var e=r(t);return e>0?i(e,9007199254740991):0}},48981:function(t,e,n){"use strict";var r=n(67750),i=Object;t.exports=function(t){return i(r(t))}},72777:function(t,e,n){"use strict";var r=n(69565),i=n(20034),o=n(10757),a=n(55966),s=n(84270),l=n(78227),u=TypeError,c=l("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var n,l=a(t,c);if(l){if(void 0===e&&(e="default"),n=r(l,t,e),!i(n)||o(n))return n;throw new u("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},56969:function(t,e,n){"use strict";var r=n(72777),i=n(10757);t.exports=function(t){var e=r(t,"string");return i(e)?e:e+""}},92140:function(t,e,n){"use strict";var r={};r[n(78227)("toStringTag")]="z",t.exports="[object z]"===String(r)},655:function(t,e,n){"use strict";var r=n(36955),i=String;t.exports=function(t){if("Symbol"===r(t))throw new TypeError("Cannot convert a Symbol value to a string");return i(t)}},16823:function(t){"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},33392:function(t,e,n){"use strict";var r=n(79504),i=0,o=Math.random(),a=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+o,36)}},67416:function(t,e,n){"use strict";var r=n(79039),i=n(78227),o=n(43724),a=n(96395),s=i("iterator");t.exports=!r((function(){var t=new URL("b?a=1&b=2&c=3","https://a"),e=t.searchParams,n=new URLSearchParams("a=1&a=2&b=3"),r="";return t.pathname="c%20d",e.forEach((function(t,n){e.delete("b"),r+=n+t})),n.delete("a",2),n.delete("b",void 0),a&&(!t.toJSON||!n.has("a",1)||n.has("a",2)||!n.has("a",void 0)||n.has("b"))||!e.size&&(a||!o)||!e.sort||"https://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://ÑеÑÑ").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==r||"x"!==new URL("https://x",void 0).host}))},7040:function(t,e,n){"use strict";var r=n(4495);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},48686:function(t,e,n){"use strict";var r=n(43724),i=n(79039);t.exports=r&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},22812:function(t){"use strict";var e=TypeError;t.exports=function(t,n){if(t<n)throw new e("Not enough arguments");return t}},58622:function(t,e,n){"use strict";var r=n(44576),i=n(94901),o=r.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},78227:function(t,e,n){"use strict";var r=n(44576),i=n(25745),o=n(39297),a=n(33392),s=n(4495),l=n(7040),u=r.Symbol,c=i("wks"),d=l?u.for||u:u&&u.withoutSetter||a;t.exports=function(t){return o(c,t)||(c[t]=s&&o(u,t)?u[t]:d("Symbol."+t)),c[t]}},47452:function(t){"use strict";t.exports="\t\n\v\f\r  áââââââ
ââââââ¯âã\u2028\u2029\ufeff"},18107:function(t,e,n){"use strict";var r=n(46518),i=n(48981),o=n(26198),a=n(91291),s=n(6469);r({target:"Array",proto:!0},{at:function(t){var e=i(this),n=o(e),r=a(t),s=r>=0?r:n+r;return s<0||s>=n?void 0:e[s]}}),s("at")},28706:function(t,e,n){"use strict";var r=n(46518),i=n(79039),o=n(34376),a=n(20034),s=n(48981),l=n(26198),u=n(96837),c=n(97040),d=n(1469),h=n(70597),f=n(78227),p=n(39519),g=f("isConcatSpreadable"),y=p>=51||!i((function(){var t=[];return t[g]=!1,t.concat()[0]!==t})),m=function(t){if(!a(t))return!1;var e=t[g];return void 0!==e?!!e:o(t)};r({target:"Array",proto:!0,arity:1,forced:!y||!h("concat")},{concat:function(t){var e,n,r,i,o,a=s(this),h=d(a,0),f=0;for(e=-1,r=arguments.length;e<r;e++)if(m(o=-1===e?a:arguments[e]))for(i=l(o),u(f+i),n=0;n<i;n++,f++)n in o&&c(h,f,o[n]);else u(f+1),c(h,f++,o);return h.length=f,h}})},33771:function(t,e,n){"use strict";var r=n(46518),i=n(84373),o=n(6469);r({target:"Array",proto:!0},{fill:i}),o("fill")},2008:function(t,e,n){"use strict";var r=n(46518),i=n(59213).filter;r({target:"Array",proto:!0,forced:!n(70597)("filter")},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},48980:function(t,e,n){"use strict";var r=n(46518),i=n(59213).findIndex,o=n(6469),a="findIndex",s=!0;a in[]&&Array(1)[a]((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o(a)},50113:function(t,e,n){"use strict";var r=n(46518),i=n(59213).find,o=n(6469),a="find",s=!0;a in[]&&Array(1)[a]((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o(a)},78350:function(t,e,n){"use strict";var r=n(46518),i=n(70259),o=n(79306),a=n(48981),s=n(26198),l=n(1469);r({target:"Array",proto:!0},{flatMap:function(t){var e,n=a(this),r=s(n);return o(t),(e=l(n,0)).length=i(e,n,n,r,0,1,t,arguments.length>1?arguments[1]:void 0),e}})},23418:function(t,e,n){"use strict";var r=n(46518),i=n(97916);r({target:"Array",stat:!0,forced:!n(84428)((function(t){Array.from(t)}))},{from:i})},74423:function(t,e,n){"use strict";var r=n(46518),i=n(19617).includes,o=n(79039),a=n(6469);r({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},23792:function(t,e,n){"use strict";var r=n(25397),i=n(6469),o=n(26269),a=n(91181),s=n(24913).f,l=n(51088),u=n(62529),c=n(96395),d=n(43724),h="Array Iterator",f=a.set,p=a.getterFor(h);t.exports=l(Array,"Array",(function(t,e){f(this,{type:h,target:r(t),index:0,kind:e})}),(function(){var t=p(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(n,!1);case"values":return u(e[n],!1)}return u([n,e[n]],!1)}),"values");var g=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!c&&d&&"values"!==g.name)try{s(g,"name",{value:"values"})}catch(t){}},48598:function(t,e,n){"use strict";var r=n(46518),i=n(79504),o=n(47055),a=n(25397),s=n(34598),l=i([].join);r({target:"Array",proto:!0,forced:o!==Object||!s("join",",")},{join:function(t){return l(a(this),void 0===t?",":t)}})},62062:function(t,e,n){"use strict";var r=n(46518),i=n(59213).map;r({target:"Array",proto:!0,forced:!n(70597)("map")},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},44114:function(t,e,n){"use strict";var r=n(46518),i=n(48981),o=n(26198),a=n(34527),s=n(96837);r({target:"Array",proto:!0,arity:1,forced:n(79039)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function(t){var e=i(this),n=o(e),r=arguments.length;s(n+r);for(var l=0;l<r;l++)e[n]=arguments[l],n++;return a(e,n),n}})},34782:function(t,e,n){"use strict";var r=n(46518),i=n(34376),o=n(33517),a=n(20034),s=n(35610),l=n(26198),u=n(25397),c=n(97040),d=n(78227),h=n(70597),f=n(67680),p=h("slice"),g=d("species"),y=Array,m=Math.max;r({target:"Array",proto:!0,forced:!p},{slice:function(t,e){var n,r,d,h=u(this),p=l(h),v=s(t,p),b=s(void 0===e?p:e,p);if(i(h)&&(n=h.constructor,(o(n)&&(n===y||i(n.prototype))||a(n)&&null===(n=n[g]))&&(n=void 0),n===y||void 0===n))return f(h,v,b);for(r=new(void 0===n?y:n)(m(b-v,0)),d=0;v<b;v++,d++)v in h&&c(r,d,h[v]);return r.length=d,r}})},26910:function(t,e,n){"use strict";var r=n(46518),i=n(79504),o=n(79306),a=n(48981),s=n(26198),l=n(84606),u=n(655),c=n(79039),d=n(74488),h=n(34598),f=n(13709),p=n(13763),g=n(39519),y=n(3607),m=[],v=i(m.sort),b=i(m.push),x=c((function(){m.sort(void 0)})),_=c((function(){m.sort(null)})),w=h("sort"),S=!c((function(){if(g)return g<70;if(!(f&&f>3)){if(p)return!0;if(y)return y<603;var t,e,n,r,i="";for(t=65;t<76;
vendor: 16,326 bytes, line 9
9t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)m.push({k:e+r,v:n})}for(m.sort((function(t,e){return e.v-t.v})),r=0;r<m.length;r++)e=m[r].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}}));r({target:"Array",proto:!0,forced:x||!_||!w||!S},{sort:function(t){void 0!==t&&o(t);var e=a(this);if(S)return void 0===t?v(e):v(e,t);var n,r,i=[],c=s(e);for(r=0;r<c;r++)r in e&&b(i,e[r]);for(d(i,function(t){return function(e,n){return void 0===n?-1:void 0===e?1:void 0!==t?+t(e,n)||0:u(e)>u(n)?1:-1}}(t)),n=s(i),r=0;r<n;)e[r]=i[r++];for(;r<c;)l(e,r++);return e}})},54554:function(t,e,n){"use strict";var r=n(46518),i=n(48981),o=n(35610),a=n(91291),s=n(26198),l=n(34527),u=n(96837),c=n(1469),d=n(97040),h=n(84606),f=n(70597)("splice"),p=Math.max,g=Math.min;r({target:"Array",proto:!0,forced:!f},{splice:function(t,e){var n,r,f,y,m,v,b=i(this),x=s(b),_=o(t,x),w=arguments.length;for(0===w?n=r=0:1===w?(n=0,r=x-_):(n=w-2,r=g(p(a(e),0),x-_)),u(x+n-r),f=c(b,r),y=0;y<r;y++)(m=_+y)in b&&d(f,y,b[m]);if(f.length=r,n<r){for(y=_;y<x-r;y++)v=y+n,(m=y+r)in b?b[v]=b[m]:h(b,v);for(y=x;y>x-r+n;y--)h(b,y-1)}else if(n>r)for(y=x-r;y>_;y--)v=y+n-1,(m=y+r-1)in b?b[v]=b[m]:h(b,v);for(y=0;y<n;y++)b[y+_]=arguments[y+2];return l(b,x-r+n),f}})},30237:function(t,e,n){"use strict";n(6469)("flatMap")},62010:function(t,e,n){"use strict";var r=n(43724),i=n(10350).EXISTS,o=n(79504),a=n(62106),s=Function.prototype,l=o(s.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,c=o(u.exec);r&&!i&&a(s,"name",{configurable:!0,get:function(){try{return c(u,l(this))[1]}catch(t){return""}}})},33110:function(t,e,n){"use strict";var r=n(46518),i=n(97751),o=n(18745),a=n(69565),s=n(79504),l=n(79039),u=n(94901),c=n(10757),d=n(67680),h=n(66933),f=n(4495),p=String,g=i("JSON","stringify"),y=s(/./.exec),m=s("".charAt),v=s("".charCodeAt),b=s("".replace),x=s(1..toString),_=/[\uD800-\uDFFF]/g,w=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,M=!f||l((function(){var t=i("Symbol")("stringify detection");return"[null]"!==g([t])||"{}"!==g({a:t})||"{}"!==g(Object(t))})),I=l((function(){return'"\\udf06\\ud834"'!==g("\udf06\ud834")||'"\\udead"'!==g("\udead")})),A=function(t,e){var n=d(arguments),r=h(e);if(u(r)||void 0!==t&&!c(t))return n[1]=function(t,e){if(u(r)&&(e=a(r,this,p(t),e)),!c(e))return e},o(g,null,n)},D=function(t,e,n){var r=m(n,e-1),i=m(n,e+1);return y(w,t)&&!y(S,i)||y(S,t)&&!y(w,r)?"\\u"+x(v(t,0),16):t};g&&r({target:"JSON",stat:!0,arity:3,forced:M||I},{stringify:function(t,e,n){var r=d(arguments),i=o(M?A:g,null,r);return I&&"string"==typeof i?b(i,_,D):i}})},48523:function(t,e,n){"use strict";n(16468)("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),n(86938))},36033:function(t,e,n){"use strict";n(48523)},2892:function(t,e,n){"use strict";var r=n(46518),i=n(96395),o=n(43724),a=n(44576),s=n(19167),l=n(79504),u=n(92796),c=n(39297),d=n(23167),h=n(1625),f=n(10757),p=n(72777),g=n(79039),y=n(38480).f,m=n(77347).f,v=n(24913).f,b=n(31240),x=n(43802).trim,_="Number",w=a[_],S=s[_],M=w.prototype,I=a.TypeError,A=l("".slice),D=l("".charCodeAt),T=function(t){var e,n,r,i,o,a,s,l,u=p(t,"number");if(f(u))throw new I("Cannot convert a Symbol value to a number");if("string"==typeof u&&u.length>2)if(u=x(u),43===(e=D(u,0))||45===e){if(88===(n=D(u,2))||120===n)return NaN}else if(48===e){switch(D(u,1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+u}for(a=(o=A(u,2)).length,s=0;s<a;s++)if((l=D(o,s))<48||l>i)return NaN;return parseInt(o,r)}return+u},C=u(_,!w(" 0o1")||!w("0b1")||w("+0x1")),O=function(t){var e,n=arguments.length<1?0:w(function(t){var e=p(t,"number");return"bigint"==typeof e?e:T(e)}(t));return h(M,e=this)&&g((function(){b(e)}))?d(Object(n),this,O):n};O.prototype=M,C&&!i&&(M.constructor=O),r({global:!0,constructor:!0,wrap:!0,forced:C},{Number:O});var P=function(t,e){for(var n,r=o?y(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;r.length>i;i++)c(e,n=r[i])&&!c(t,n)&&v(t,n,m(e,n))};i&&S&&P(s[_],S),(C||i)&&P(s[_],w)},25428:function(t,e,n){"use strict";n(46518)({target:"Number",stat:!0},{isFinite:n(50360)})},64601:function(t,e,n){"use strict";n(46518)({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},25843:function(t,e,n){"use strict";var r=n(46518),i=n(52703);r({target:"Number",stat:!0,forced:Number.parseInt!==i},{parseInt:i})},9868:function(t,e,n){"use strict";var r=n(46518),i=n(79504),o=n(91291),a=n(31240),s=n(72333),l=n(79039),u=RangeError,c=String,d=Math.floor,h=i(s),f=i("".slice),p=i(1..toFixed),g=function(t,e,n){return 0===e?n:e%2==1?g(t,e-1,n*t):g(t*t,e/2,n)},y=function(t,e,n){for(var r=-1,i=n;++r<6;)i+=e*t[r],t[r]=i%1e7,i=d(i/1e7)},m=function(t,e){for(var n=6,r=0;--n>=0;)r+=t[n],t[n]=d(r/e),r=r%e*1e7},v=function(t){for(var e=6,n="";--e>=0;)if(""!==n||0===e||0!==t[e]){var r=c(t[e]);n=""===n?r:n+h("0",7-r.length)+r}return n};r({target:"Number",proto:!0,forced:l((function(){return"0.000"!==p(8e-5,3)||"1"!==p(.9,0)||"1.25"!==p(1.255,2)||"1000000000000000128"!==p(0xde0b6b3a7640080,0)}))||!l((function(){p({})}))},{toFixed:function(t){var e,n,r,i,s=a(this),l=o(t),d=[0,0,0,0,0,0],p="",b="0";if(l<0||l>20)throw new u("Incorrect fraction digits");if(s!=s)return"NaN";if(s<=-1e21||s>=1e21)return c(s);if(s<0&&(p="-",s=-s),s>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(s*g(2,69,1))-69)<0?s*g(2,-e,1):s/g(2,e,1),n*=4503599627370496,(e=52-e)>0){for(y(d,0,n),r=l;r>=7;)y(d,1e7,0),r-=7;for(y(d,g(10,r,1),0),r=e-1;r>=23;)m(d,1<<23),r-=23;m(d,1<<r),y(d,1,1),m(d,2),b=v(d)}else y(d,0,n),y(d,1<<-e,0),b=v(d)+h("0",l);return b=l>0?p+((i=b.length)<=l?"0."+h("0",l-i)+b:f(b,0,i-l)+"."+f(b,i-l)):p+b}})},5506:function(t,e,n){"use strict";var r=n(46518),i=n(32357).entries;r({target:"Object",stat:!0},{entries:function(t){return i(t)}})},53921:function(t,e,n){"use strict";var r=n(46518),i=n(72652),o=n(97040);r({target:"Object",stat:!0},{fromEntries:function(t){var e={};return i(t,(function(t,n){o(e,t,n)}),{AS_ENTRIES:!0}),e}})},83851:function(t,e,n){"use strict";var r=n(46518),i=n(79039),o=n(25397),a=n(77347).f,s=n(43724);r({target:"Object",stat:!0,forced:!s||i((function(){a(1)})),sham:!s},{getOwnPropertyDescriptor:function(t,e){return a(o(t),e)}})},79432:function(t,e,n){"use strict";var r=n(46518),i=n(48981),o=n(71072);r({target:"Object",stat:!0,forced:n(79039)((function(){o(1)}))},{keys:function(t){return o(i(t))}})},26099:function(t,e,n){"use strict";var r=n(92140),i=n(36840),o=n(53179);r||i(Object.prototype,"toString",o,{unsafe:!0})},16034:function(t,e,n){"use strict";var r=n(46518),i=n(32357).values;r({target:"Object",stat:!0},{values:function(t){return i(t)}})},84864:function(t,e,n){"use strict";var r=n(43724),i=n(44576),o=n(79504),a=n(92796),s=n(23167),l=n(66699),u=n(2360),c=n(38480).f,d=n(1625),h=n(60788),f=n(655),p=n(61034),g=n(58429),y=n(11056),m=n(36840),v=n(79039),b=n(39297),x=n(91181).enforce,_=n(87633),w=n(78227),S=n(83635),M=n(18814),I=w("match"),A=i.RegExp,D=A.prototype,T=i.SyntaxError,C=o(D.exec),O=o("".charAt),P=o("".replace),k=o("".indexOf),$=o("".slice),E=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,L=/a/g,N=/a/g,R=new A(L)!==L,F=g.MISSED_STICKY,B=g.UNSUPPORTED_Y,j=r&&(!R||F||S||M||v((function(){return N[I]=!1,A(L)!==L||A(N)===N||"/a/i"!==String(A(L,"i"))})));if(a("RegExp",j)){for(var z=function(t,e){var n,r,i,o,a,c,g=d(D,this),y=h(t),m=void 0===e,v=[],_=t;if(!g&&y&&m&&t.constructor===z)return t;if((y||d(D,t))&&(t=t.source,m&&(e=p(_))),t=void 0===t?"":f(t),e=void 0===e?"":f(e),_=t,S&&"dotAll"in L&&(r=!!e&&k(e,"s")>-1)&&(e=P(e,/s/g,"")),n=e,F&&"sticky"in L&&(i=!!e&&k(e,"y")>-1)&&B&&(e=P(e,/y/g,"")),M&&(o=function(t){for(var e,n=t.length,r=0,i="",o=[],a=u(null),s=!1,l=!1,c=0,d="";r<=n;r++){if("\\"===(e=O(t,r)))e+=O(t,++r);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:if(i+=e,"?:"===$(t,r+1,r+3))continue;C(E,$(t,r+1))&&(r+=2,l=!0),c++;continue;case">"===e&&l:if(""===d||b(a,d))throw new T("Invalid capture group name");a[d]=!0,o[o.length]=[d,c],l=!1,d="";continue}l?d+=e:i+=e}return[i,o]}(t),t=o[0],v=o[1]),a=s(A(t,e),g?this:D,z),(r||i||v.length)&&(c=x(a),r&&(c.dotAll=!0,c.raw=z(function(t){for(var e,n=t.length,r=0,i="",o=!1;r<=n;r++)"\\"!==(e=O(t,r))?o||"."!==e?("["===e?o=!0:"]"===e&&(o=!1),i+=e):i+="[\\s\\S]":i+=e+O(t,++r);return i}(t),n)),i&&(c.sticky=!0),v.length&&(c.groups=v)),t!==_)try{l(a,"source",""===_?"(?:)":_)}catch(t){}return a},V=c(A),H=0;V.length>H;)y(z,A,V[H++]);D.constructor=z,z.prototype=D,m(i,"RegExp",z,{constructor:!0})}_("RegExp")},57465:function(t,e,n){"use strict";var r=n(43724),i=n(83635),o=n(22195),a=n(62106),s=n(91181).get,l=RegExp.prototype,u=TypeError;r&&i&&a(l,"dotAll",{configurable:!0,get:function(){if(this!==l){if("RegExp"===o(this))return!!s(this).dotAll;throw new u("Incompatible receiver, RegExp required")}}})},27495:function(t,e,n){"use strict";var r=n(46518),i=n(57323);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},87745:function(t,e,n){"use strict";var r=n(43724),i=n(58429).MISSED_STICKY,o=n(22195),a=n(62106),s=n(91181).get,l=RegExp.prototype,u=TypeError;r&&i&&a(l,"sticky",{configurable:!0,get:function(){if(this!==l){if("RegExp"===o(this))return!!s(this).sticky;throw new u("Incompatible receiver, RegExp required")}}})},38781:function(t,e,n){"use strict";var r=n(10350).PROPER,i=n(36840),o=n(28551),a=n(655),s=n(79039),l=n(61034),u="toString",c=RegExp.prototype,d=c[u],h=s((function(){return"/a/b"!==d.call({source:"a",flags:"b"})})),f=r&&d.name!==u;(h||f)&&i(c,u,(function(){var t=o(this);return"/"+a(t.source)+"/"+a(l(t))}),{unsafe:!0})},92405:function(t,e,n){"use strict";n(16468)("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),n(86938))},17642:function(t,e,n){"use strict";var r=n(46518),i=n(83440);r({target:"Set",proto:!0,real:!0,forced:!n(84916)("difference")},{difference:i})},58004:function(t,e,n){"use strict";var r=n(46518),i=n(79039),o=n(68750);r({target:"Set",proto:!0,real:!0,forced:!n(84916)("intersection")||i((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}))},{intersection:o})},33853:function(t,e,n){"use strict";var r=n(46518),i=n(64449);r({target:"Set",proto:!0,real:!0,forced:!n(84916)("isDisjointFrom")},{isDisjointFrom:i})},45876:function(t,e,n){"use strict";var r=n(46518),i=n(53838);r({target:"Set",proto:!0,real:!0,forced:!n(84916)("isSubsetOf")},{isSubsetOf:i})},32475:function(t,e,n){"use strict";var r=n(46518),i=n(28527);r({target:"Set",proto:!0,real:!0,forced:!n(84916)("isSupersetOf")},{isSupersetOf:i})},31415:function(t,e,n){"use strict";n(92405)},15024:function(t,e,n){"use strict";var r=n(46518),i=n(83650);r({target:"Set",proto:!0,real:!0,forced:!n(84916)("symmetricDifference")},{symmetricDifference:i})},31698:function(t,e,n){"use strict";var r=n(46518),i=n(44204);r({target:"Set",proto:!0,real:!0,forced:!n(84916)("union")},{union:i})},67357:function(t,e,n){"use strict";var r=n(46518),i=n(79504),o=n(67750),a=n(91291),s=n(655),l=n(79039),u=i("".charAt);r({target:"String",proto:!0,forced:l((function(){return"\ud842"!=="ð ®·".at(-2)}))},{at:function(t){var e=s(o(this)),n=e.length,r=a(t),i=r>=0?r:n+r;return i<0||i>=n?void 0:u(e,i)}})},27337:function(t,e,n){"use strict";var r=n(46518),i=n(79504),o=n(35610),a=RangeError,s=String.fromCharCode,l=String.fromCodePoint,u=i([].join);r({target:"String",stat:!0,arity:1,forced:!!l&&1!==l.length},{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,i=0;r>i;){if(e=+arguments[i++],o(e,1114111)!==e)throw new a(e+" is not a valid code point");n[i]=e<65536?s(e):s(55296+((e-=65536)>>10),e%1024+56320)}return u(n,"")}})},21699:function(t,e,n){"use strict";var r=n(46518),i=n(79504),o=n(60511),a=n(67750),s=n(655),l=n(41436),u=i("".indexOf);r({target:"String",proto:!0,forced:!l("includes")},{includes:function(t){return!!~u(s(a(this)),s(o(t)),arguments.length>1?arguments[1]:void 0)}})},47764:function(t,e,n){"use strict";var r=n(68183).charAt,i=n(655),o=n(91181),a=n(51088),s=n(62529),l="String Iterator",u=o.set,c=o.getterFor(l);a(String,"String",(function(t){u(this,{type:l,string:i(t),index:0})}),(function(){var t,e=c(this),n=e.string,i=e.index;return i>=n.length?s(void 0,!0):(t=r(n,i),e.index+=t.length,s(t,!1))}))},71761:function(t,e,n){"use strict";var r=n(69565),i=n(89228),o=n(28551),a=n(64117),s=n(18014),l=n(655),u=n(67750),c=n(55966),d=n(57829),h=n(56682);i("match",(function(t,e,n){return[function(e){var n=u(this),i=a(e)?void 0:c(e,t);return i?r(i,e,n):new RegExp(e)[t](l(n))},function(t){var r=o(this),i=l(t),a=n(e,r,i);if(a.done)return a.value;if(!r.global)return h(r,i);var u=r.unicode;r.lastIndex=0;for(var c,f=[],p=0;null!==(c=h(r,i));){var g=l(c[0]);f[p]=g,""===g&&(r.lastIndex=d(i,s(r.lastIndex),u)),p++}return 0===p?null:f}]}))},68156:function(t,e,n){"use strict";var r=n(46518),i=n(60533).start;r({target:"String",proto:!0,forced:n(83063)},{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},25440:function(t,e,n){"use strict";var r=n(18745),i=n(69565),o=n(79504),a=n(89228),s=n(79039),l=n(28551),u=n(94901),c=n(64117),d=n(91291),h=n(18014),f=n(655),p=n(67750),g=n(57829),y=n(55966),m=n(2478),v=n(56682),b=n(78227)("replace"),x=Math.max,_=Math.min,w=o([].concat),S=o([].push),M=o("".indexOf),I=o("".slice),A="$0"==="a".replace(/./,"$0"),D=!!/./[b]&&""===/./[b]("a","$0");a("replace",(function(t,e,n){var o=D?"$":"$0";return[function(t,n){var r=p(this),o=c(t)?void 0:y(t,b);return o?i(o,t,r,n):i(e,f(r),t,n)},function(t,i){var a=l(this),s=f(t);if("string"==typeof i&&-1===M(i,o)&&-1===M(i,"$<")){var c=n(e,a,s,i);if(c.done)return c.value}var p=u(i);p||(i=f(i));var y,b=a.global;b&&(y=a.unicode,a.lastIndex=0);for(var A,D=[];null!==(A=v(a,s))&&(S(D,A),b);){""===f(A[0])&&(a.lastIndex=g(s,h(a.lastIndex),y))}for(var T,C="",O=0,P=0;P<D.length;P++){for(var k,$=f((A=D[P])[0]),E=x(_(d(A.index),s.length),0),L=[],N=1;N<A.length;N++)S(L,void 0===(T=A[N])?T:String(T));var R=A.groups;if(p){var F=w([$],L,E,s);void 0!==R&&S(F,R),k=f(r(i,void 0,F))}else k=m($,s,E,L,R,i);E>=O&&(C+=I(s,O,E)+k,O=E+$.length)}return C+I(s,O)}]}),!!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!A||D)},5746:function(t,e,n){"use strict";var r=n(69565),i=n(89228),o=n(28551),a=n(64117),s=n(67750),l=n(3470),u=n(655),c=n(55966),d=n(56682);i("search",(function(t,e,n){return[function(e){var n=s(this),i=a(e)?void 0:c(e,t);return i?r(i,e,n):new RegExp(e)[t](u(n))},function(t){var r=o(this),i=u(t),a=n(e,r,i);if(a.done)return a.value;var s=r.lastIndex;l(s,0)||(r.lastIndex=0);var c=d(r,i);return l(r.lastIndex,s)||(r.lastIndex=s),null===c?-1:c.index}]}))},90744:function(t,e,n){"use strict";var r=n(69565),i=n(79504),o=n(89228),a=n(28551),s=n(64117),l=n(67750),u=n(2293),c=n(57829),d=n(18014),h=n(655),f=n(55966),p=n(56682),g=n(58429),y=n(79039),m=g.UNSUPPORTED_Y,v=Math.min,b=i([].push),x=i("".slice),_=!y((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),w="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;o("split",(function(t,e,n){var i="0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:r(e,this,t,n)}:e;return[function(e,n){var o=l(this),a=s(e)?void 0:f(e,t);return a?r(a,e,o,n):r(i,h(o),e,n)},function(t,r){var o=a(this),s=h(t);if(!w){var l=n(i,o,s,r,i!==e);if(l.done)return l.value}var f=u(o,RegExp),g=o.unicode,y=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(m?"g":"y"),_=new f(m?"^(?:"+o.source+")":o,y),S=void 0===r?4294967295:r>>>0;if(0===S)return[];if(0===s.length)return null===p(_,s)?[s]:[];for(var M=0,I=0,A=[];I<s.length;){_.lastIndex=m?0:I;var D,T=p(_,m?x(s,I):s);if(null===T||(D=v(d(_.lastIndex+(m?I:0)),s.length))===M)I=c(s,I,g);else{if(b(A,x(s,M,I)),A.length===S)return A;for(var C=1;C<=T.length-1;C++)if(b(A,T[C]),A.length===S)return A;I=M=D}}return b(A,x(s,M)),A}]}
vendor: 4,155 bytes, line 9
9),w||!_,m)},11392:function(t,e,n){"use strict";var r,i=n(46518),o=n(27476),a=n(77347).f,s=n(18014),l=n(655),u=n(60511),c=n(67750),d=n(41436),h=n(96395),f=o("".slice),p=Math.min,g=d("startsWith");i({target:"String",proto:!0,forced:!!(h||g||(r=a(String.prototype,"startsWith"),!r||r.writable))&&!g},{startsWith:function(t){var e=l(c(this));u(t);var n=s(p(arguments.length>1?arguments[1]:void 0,e.length)),r=l(t);return f(e,n,n+r.length)===r}})},42762:function(t,e,n){"use strict";var r=n(46518),i=n(43802).trim;r({target:"String",proto:!0,forced:n(60706)("trim")},{trim:function(){return i(this)}})},23500:function(t,e,n){"use strict";var r=n(44576),i=n(67400),o=n(79296),a=n(90235),s=n(66699),l=function(t){if(t&&t.forEach!==a)try{s(t,"forEach",a)}catch(e){t.forEach=a}};for(var u in i)i[u]&&l(r[u]&&r[u].prototype);l(o)},62953:function(t,e,n){"use strict";var r=n(44576),i=n(67400),o=n(79296),a=n(23792),s=n(66699),l=n(10687),u=n(78227)("iterator"),c=a.values,d=function(t,e){if(t){if(t[u]!==c)try{s(t,u,c)}catch(e){t[u]=c}if(l(t,e,!0),i[e])for(var n in a)if(t[n]!==a[n])try{s(t,n,a[n])}catch(e){t[n]=a[n]}}};for(var h in i)d(r[h]&&r[h].prototype,h);d(o,"DOMTokenList")},98406:function(t,e,n){"use strict";n(23792),n(27337);var r=n(46518),i=n(44576),o=n(93389),a=n(97751),s=n(69565),l=n(79504),u=n(43724),c=n(67416),d=n(36840),h=n(62106),f=n(56279),p=n(10687),g=n(33994),y=n(91181),m=n(90679),v=n(94901),b=n(39297),x=n(76080),_=n(36955),w=n(28551),S=n(20034),M=n(655),I=n(2360),A=n(6980),D=n(70081),T=n(50851),C=n(62529),O=n(22812),P=n(78227),k=n(74488),$=P("iterator"),E="URLSearchParams",L=E+"Iterator",N=y.set,R=y.getterFor(E),F=y.getterFor(L),B=o("fetch"),j=o("Request"),z=o("Headers"),V=j&&j.prototype,H=z&&z.prototype,W=i.TypeError,G=i.encodeURIComponent,Y=String.fromCharCode,U=a("String","fromCodePoint"),Z=parseInt,X=l("".charAt),q=l([].join),K=l([].push),J=l("".replace),Q=l([].shift),tt=l([].splice),et=l("".split),nt=l("".slice),rt=l(/./.exec),it=/\+/g,ot=/^[0-9a-f]+$/i,at=function(t,e){var n=nt(t,e,e+2);return rt(ot,n)?Z(n,16):NaN},st=function(t){for(var e=0,n=128;n>0&&t&n;n>>=1)e++;return e},lt=function(t){var e=null;switch(t.length){case 1:e=t[0];break;case 2:e=(31&t[0])<<6|63&t[1];break;case 3:e=(15&t[0])<<12|(63&t[1])<<6|63&t[2];break;case 4:e=(7&t[0])<<18|(63&t[1])<<12|(63&t[2])<<6|63&t[3]}return e>1114111?null:e},ut=function(t){for(var e=(t=J(t,it," ")).length,n="",r=0;r<e;){var i=X(t,r);if("%"===i){if("%"===X(t,r+1)||r+3>e){n+="%",r++;continue}var o=at(t,r+1);if(o!=o){n+=i,r++;continue}r+=2;var a=st(o);if(0===a)i=Y(o);else{if(1===a||a>4){n+="�",r++;continue}for(var s=[o],l=1;l<a&&!(++r+3>e||"%"!==X(t,r));){var u=at(t,r+1);if(u!=u){r+=3;break}if(u>191||u<128)break;K(s,u),r+=2,l++}if(s.length!==a){n+="�";continue}var c=lt(s);null===c?n+="�":i=U(c)}}n+=i,r++}return n},ct=/[!'()~]|%20/g,dt={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ht=function(t){return dt[t]},ft=function(t){return J(G(t),ct,ht)},pt=g((function(t,e){N(this,{type:L,target:R(t).entries,index:0,kind:e})}),E,(function(){var t=F(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=null,C(void 0,!0);var r=e[n];switch(t.kind){case"keys":return C(r.key,!1);case"values":return C(r.value,!1)}return C([r.key,r.value],!1)}),!0),gt=function(t){this.entries=[],this.url=null,void 0!==t&&(S(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===X(t,0)?nt(t,1):t:M(t)))};gt.prototype={type:E,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,n,r,i,o,a,l,u=this.entries,c=T(t);if(c)for(n=(e=D(t,c)).next;!(r=s(n,e)).done;){if(o=(i=D(w(r.value))).next,(a=s(o,i)).done||(l=s(o,i)).done||!s(o,i).done)throw new W("Expected sequence with length 2");K(u,{key:M(a.value),value:M(l.value)})}else for(var d in t)b(t,d)&&K(u,{key:d,value:M(t[d])})},parseQuery:function(t){if(t)for(var e,n,r=this.entries,i=et(t,"&"),o=0;o<i.length;)(e=i[o++]).length&&(n=et(e,"="),K(r,{key:ut(Q(n)),value:ut(q(n,"="))}))},serialize:function(){for(var t,e=this.entries,n=[],r=0;r<e.length;)t=e[r++],K(n,ft(t.key)+"="+ft(t.value));return q(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)}
9,updateURL:function(){this.url&&this.url.update()}};var yt=function(){m(this,mt);var t=N(this,new gt(arguments.length>0?arguments[0]:void 0));u||(this.size=t.entries.length)},mt=yt.prototype;if(f(mt,{append:function(t,e){var n=R(this);O(arguments.length,2),K(n.entries,{key:M(t),value:M(e)}),u||this.length++,n.updateURL()},delete:function(t){for(var e=R(this),n=O(arguments.length,1),r=e.entries,i=M(t),o=n<2?void 0:arguments[1],a=void 0===o?o:M(o),s=0;s<r.length;){var l=r[s];if(l.key!==i||void 0!==a&&l.value!==a)s++;else if(tt(r,s,1),void 0!==a)break}u||(this.size=r.length),e.updateURL()},get:function(t){var e=R(this).entries;O(arguments.length,1);for(var n=M(t),r=0;r<e.length;r++)if(e[r].key===n)return e[r].value;return null},getAll:function(t){var e=R(this).entries;O(arguments.length,1);for(var n=M(t),r=[],i=0;i<e.length;i++)e[i].key===n&&K(r,e[i].value);return r},has:function(t){for(var e=R(this).entries,n=O(arguments.length,1),r=M(t),i=n<2?void 0:arguments[1],o=void 0===i?i:M(i),a=0;a<e.length;){var s=e[a++];if(s.key===r&&(void 0===o||s.value===o))return!0}return!1},set:function(t,e){var n=R(this);O(arguments.length,1);for(var r,i=n.entries,o=!1,a=M(t),s=M(e),l=0;l<i.length;l++)(r=i[l]).key===a&&(o?tt(i,l--,1):(o=!0,r.value=s));o||K(i,{key:a,value:s}),u||(this.size=i.length),n.updateURL()},sort:function(){var t=R(this);k(t.entries,(function(t,e){return t.key>e.key?1:-1})),t.updateURL()},forEach:function(t){for(var e,n=R(this).entries,r=x(t,arguments.length>1?arguments[1]:void 0),i=0;i<n.length;)r((e=n[i++]).value,e.key,this)},keys:function(){return new pt(this,"keys")},values:function(){return new pt(this,"values")},entries:function(){return new pt(this,"entries")}},{enumerable:!0}),d(mt,$,mt.entries,{name:"entries"}),d(mt,"toString",(function(){return R(this).serialize()}),{enumerable:!0}),u&&h(mt,"size",{get:function(){return R(this).entries.length},configurable:!0,enumerable:!0}),p(yt,E),r({global:!0,constructor:!0,forced:!c},{URLSearchParams:yt}),!c&&v(z)){var vt=l(H.has),bt=l(H.set),xt=function(t){if(S(t)){var e,n=t.body;if(_(n)===E)return e=t.headers?new z(t.headers):new z,vt(e,"content-type")||bt(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),I(t,{body:A(0,M(n)),headers:A(0,e)})}return t};if(v(B)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return B(t,arguments.length>1?xt(arguments[1]):{})}}),v(j)){var _t=function(t){return m(this,V),new j(t,arguments.length>1?xt(arguments[1]):{})};V.constructor=_t,_t.prototype=V,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:_t})}}t.exports={URLSearchParams:yt,getState:R}},14603:function(t,e,n){"use strict";var r=n(36840),i=n(79504),o=n(655),a=n(22812),s=URLSearchParams,l=s.prototype,u=i(l.append),c=i(l.delete),d=i(l.forEach),h=i([].push),f=new s("a=1&a=2&b=3");f.delete("a",1),f.delete("b",void 0),f+""!="a=2"&&r(l,"delete",(function(t){var e=arguments.length,n=e<2?void 0:arguments[1];if(e&&void 0===n)return c(this,t);var r=[];d(this,(function(t,e){h(r,{key:e,value:t})})),a(e,1);for(var i,s=o(t),l=o(n),f=0,p=0,g=!1,y=r.length;f<y;)i=r[f++],g||i.key===s?(g=!0,c(this,i.key)):p++;for(;p<y;)(i=r[p++]).key===s&&i.value===l||u(this,i.key,i.value)}),{enumerable:!0,unsafe:!0})},47566:function(t,e,n){"use strict";var r=n(36840),i=n(79504),o=n(655),a=n(22812),s=URLSearchParams,l=s.prototype,u=i(l.getAll),c=i(l.has),d=new s("a=1");!d.has("a",2)&&d.has("a",void 0)||r(l,"has",(function(t){var e=arguments.length,n=e<2?void 0:arguments[1];if(e&&void 0===n)return c(this,t);var r=u(this,t);a(e,1);for(var i=o(n),s=0;s<r.length;)if(r[s++]===i)return!0;return!1}),{enumerable:!0,unsafe:!0})},48408:function(t,e,n){"use strict";n(98406)},98721:function(t,e,n){"use strict";var r=n(43724),i=n(79504),o=n(62106),a=URLSearchParams.prototype,s=i(a.forEach);r&&!("size"in a)&&o(a,"size",{get:function(){var t=0;return s(this,(function(){t++})),t},configurable:!0,enumerable:!0})},30803:function(t,e,n){var r=n(48287).hp;!function(t){"use strict"; 10/*! ***************************************************************************** 11 Copyright (c) Microsoft Corporation. 12 13 Permission to use, copy, modify, and/or distribute this software for any 14 purpose with or without fee is hereby granted. 15 16 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 17 REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 18 AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 19 INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 20 LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 21 OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 22 PERFORMANCE OF THIS SOFTWARE. 23 ***************************************************************************** */var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},e(t,n)};function i(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var o=function(){function t(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return t}(),a=new(function(){function t(){this.browser=new o,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window}return t}());function s(t,e){var n=e.browser,r=t.match(/Firefox\/([\d.]+)/),i=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);r&&(n.firefox=!0,n.version=r[1]),i&&(n.ie=!0,n.version=i[1]),o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18),a&&(n.weChat=!0),e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!=typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(a.wxa=!0,a.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?a.worker=!0:"undefined"==typeof navigator||0===navigator.userAgent.indexOf("Node.js")?(a.node=!0,a.svgSupported=!0):s(navigator.userAgent,a);var l=12,u="sans-serif",c=l+"px "+u,d=20,h=100;function f(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n<t.length;n++){var r=String.fromCharCode(n+32),i=(t.charCodeAt(n)-d)/h;e[r]=i}return e}
vendor: 24,833 bytes, line 23
23var p,g,y=f("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),m={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(t,e){if(!p){var n=m.createCanvas();p=n&&n.getContext("2d")}if(p)return g!==e&&(g=p.font=e||c),p.measureText(t);t=t||"";var r=/((?:\d+)?\.?\d*)px/.exec(e=e||c),i=r&&+r[1]||l,o=0;if(e.indexOf("mono")>=0)o=i*t.length;else for(var a=0;a<t.length;a++){var s=y[t[a]];o+=null==s?i:s*i}return{width:o}},loadImage:function(t,e,n){var r=new Image;return r.onload=e,r.onerror=n,r.src=t,r}};function v(t){for(var e in m)t[e]&&(m[e]=t[e])}var b=G(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(t,e){return t["[object "+e+"]"]=!0,t}),{}),x=G(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(t,e){return t["[object "+e+"Array]"]=!0,t}),{}),_=Object.prototype.toString,w=Array.prototype,S=w.forEach,M=w.filter,I=w.slice,A=w.map,D=function(){}.constructor,T=D?D.prototype:null,C="__proto__",O=2311;function P(){return O++}function k(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!=typeof console&&console.error.apply(console,t)}function $(t){if(null==t||"object"!=typeof t)return t;var e=t,n=_.call(t);if("[object Array]"===n){if(!xt(t)){e=[];for(var r=0,i=t.length;r<i;r++)e[r]=$(t[r])}}else if(x[n]){if(!xt(t)){var o=t.constructor;if(o.from)e=o.from(t);else for(e=new o(t.length),r=0,i=t.length;r<i;r++)e[r]=t[r]}}else if(!b[n]&&!xt(t)&&!at(t))for(var a in e={},t)t.hasOwnProperty(a)&&a!==C&&(e[a]=$(t[a]));return e}function E(t,e,n){if(!rt(e)||!rt(t))return n?$(e):t;for(var r in e)if(e.hasOwnProperty(r)&&r!==C){var i=t[r],o=e[r];!rt(o)||!rt(i)||J(o)||J(i)||at(o)||at(i)||it(o)||it(i)||xt(o)||xt(i)?!n&&r in t||(t[r]=$(e[r])):E(i,o,n)}return t}function L(t,e){for(var n=t[0],r=1,i=t.length;r<i;r++)n=E(n,t[r],e);return n}function N(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==C&&(t[n]=e[n]);return t}function R(t,e,n){for(var r=Z(e),i=0;i<r.length;i++){var o=r[i];(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}return t}var F=m.createCanvas;function B(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n}return-1}function j(t,e){var n=t.prototype;function r(){}for(var i in r.prototype=e.prototype,t.prototype=new r,n)n.hasOwnProperty(i)&&(t.prototype[i]=n[i]);t.prototype.constructor=t,t.superClass=e}function z(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var r=Object.getOwnPropertyNames(e),i=0;i<r.length;i++){var o=r[i];"constructor"!==o&&(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}else R(t,e,n)}function V(t){return!!t&&"string"!=typeof t&&"number"==typeof t.length}function H(t,e,n){if(t&&e)if(t.forEach&&t.forEach===S)t.forEach(e,n);else if(t.length===+t.length)for(var r=0,i=t.length;r<i;r++)e.call(n,t[r],r,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function W(t,e,n){if(!t)return[];if(!e)return pt(t);if(t.map&&t.map===A)return t.map(e,n);for(var r=[],i=0,o=t.length;i<o;i++)r.push(e.call(n,t[i],i,t));return r}function G(t,e,n,r){if(t&&e){for(var i=0,o=t.length;i<o;i++)n=e.call(r,n,t[i],i,t);return n}}function Y(t,e,n){if(!t)return[];if(!e)return pt(t);if(t.filter&&t.filter===M)return t.filter(e,n);for(var r=[],i=0,o=t.length;i<o;i++)e.call(n,t[i],i,t)&&r.push(t[i]);return r}function U(t,e,n){if(t&&e)for(var r=0,i=t.length;r<i;r++)if(e.call(n,t[r],r,t))return t[r]}function Z(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}function X(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return function(){return t.apply(e,n.concat(I.call(arguments)))}}var q=T&&Q(T.bind)?T.call.bind(T.bind):X;function K(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(I.call(arguments)))}}function J(t){return Array.isArray?Array.isArray(t):"[object Array]"===_.call(t)}function Q(t){return"function"==typeof t}function tt(t){return"string"==typeof t}function et(t){return"[object String]"===_.call(t)}function nt(t){return"number"==typeof t}function rt(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function it(t){return!!b[_.call(t)]}function ot(t){return!!x[_.call(t)]}function at(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function st(t){return null!=t.colorStops}function lt(t){return null!=t.image}function ut(t){return"[object RegExp]"===_.call(t)}function ct(t){return t!=t}function dt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,r=t.length;n<r;n++)if(null!=t[n])return t[n]}function ht(t,e){return null!=t?t:e}function ft(t,e,n){return null!=t?t:null!=e?e:n}function pt(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return I.apply(t,e)}function gt(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function yt(t,e){if(!t)throw new Error(e)}function mt(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var vt="__ec_primitive__";function bt(t){t[vt]=!0}function xt(t){return t[vt]}var _t=function(){function t(){this.data={}}return t.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return Z(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},t}(),wt="function"==typeof Map;function St(){return wt?new Map:new _t}var Mt=function(){function t(e){var n=J(e);this.data=St();var r=this;function i(t,e){n?r.set(t,e):r.set(e,t)}e instanceof t?e.each(i):e&&H(e,i)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach((function(n,r){t.call(e,n,r)}))},t.prototype.keys=function(){var t=this.data.keys();return wt?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}();function It(t){return new Mt(t)}function At(t,e){for(var n=new t.constructor(t.length+e.length),r=0;r<t.length;r++)n[r]=t[r];var i=t.length;for(r=0;r<e.length;r++)n[r+i]=e[r];return n}function Dt(t,e){var n;if(Object.create)n=Object.create(t);else{var r=function(){};r.prototype=t,n=new r}return e&&N(n,e),n}function Tt(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function Ct(t,e){return t.hasOwnProperty(e)}function Ot(){}var Pt=180/Math.PI,kt=Object.freeze({__proto__:null,guid:P,logError:k,clone:$,merge:E,mergeAll:L,extend:N,defaults:R,createCanvas:F,indexOf:B,inherits:j,mixin:z,isArrayLike:V,each:H,map:W,reduce:G,filter:Y,find:U,keys:Z,bind:q,curry:K,isArray:J,isFunction:Q,isString:tt,isStringSafe:et,isNumber:nt,isObject:rt,isBuiltInObject:it,isTypedArray:ot,isDom:at,isGradientObject:st,isImagePatternObject:lt,isRegExp:ut,eqNaN:ct,retrieve:dt,retrieve2:ht,retrieve3:ft,slice:pt,normalizeCssArray:gt,assert:yt,trim:mt,setAsPrimitive:bt,isPrimitive:xt,HashMap:Mt,createHashMap:It,concatArray:At,createObject:Dt,disableUserSelect:Tt,hasOwn:Ct,noop:Ot,RADIAN_TO_DEGREE:Pt});function $t(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function Et(t,e){return t[0]=e[0],t[1]=e[1],t}function Lt(t){return[t[0],t[1]]}function Nt(t,e,n){return t[0]=e,t[1]=n,t}function Rt(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function Ft(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t}function Bt(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function jt(t){return Math.sqrt(Vt(t))}var zt=jt;function Vt(t){return t[0]*t[0]+t[1]*t[1]}var Ht=Vt;function Wt(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t}function Gt(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t}function Yt(t,e){return t[0]*e[0]+t[1]*e[1]}function Ut(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function Zt(t,e){var n=jt(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function Xt(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var qt=Xt;function Kt(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var Jt=Kt;function Qt(t,e){return t[0]=-e[0],t[1]=-e[1],t}function te(t,e,n,r){return t[0]=e[0]+r*(n[0]-e[0]),t[1]=e[1]+r*(n[1]-e[1]),t}function ee(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i+n[4],t[1]=n[1]*r+n[3]*i+n[5],t}function ne(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function re(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}var ie=Object.freeze({__proto__:null,create:$t,copy:Et,clone:Lt,set:Nt,add:Rt,scaleAndAdd:Ft,sub:Bt,len:jt,length:zt,lenSquare:Vt,lengthSquare:Ht,mul:Wt,div:Gt,dot:Yt,scale:Ut,normalize:Zt,distance:Xt,dist:qt,distanceSquare:Kt,distSquare:Jt,negate:Qt,lerp:te,applyTransform:ee,min:ne,max:re}),oe=function(){function t(t,e){this.target=t,this.topTarget=e&&e.topTarget}return t}(),ae=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new oe(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,r=t.offsetY,i=n-this._x,o=r-this._y;this._x=n,this._y=r,e.drift(i,o,t),this.handler.dispatchToElement(new oe(e,t),"drag",t.event);var a=this.handler.findHover(n,r,e).target,s=this._dropTarget;this._dropTarget=a,e!==a&&(s&&a!==s&&this.handler.dispatchToElement(new oe(s,t),"dragleave",t.event),a&&a!==s&&this.handler.dispatchToElement(new oe(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new oe(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new oe(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),se=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,r){this._$handlers||(this._$handlers={});var i=this._$handlers;if("function"==typeof e&&(r=n,n=e,e=null),!n||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),i[t]||(i[t]=[]);for(var a=0;a<i[t].length;a++)if(i[t][a].h===n)return this;var s={h:n,query:e,ctx:r||this,callAtLast:n.zrEventfulCallAtLast},l=i[t].length-1,u=i[t][l];return u&&u.callAtLast?i[t].splice(l,0,s):i[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var r=[],i=0,o=n[t].length;i<o;i++)n[t][i].h!==e&&r.push(n[t][i]);n[t]=r}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var r=this._$handlers[t],i=this._$eventProcessor;if(r)for(var o=e.length,a=r.length,s=0;s<a;s++){var l=r[s];if(!i||!i.filter||null==l.query||i.filter(t,l.query))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e)}}return i&&i.afterTrigger&&i.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var r=this._$handlers[t],i=this._$eventProcessor;if(r)for(var o=e.length,a=e[o-1],s=r.length,l=0;l<s;l++){var u=r[l];if(!i||!i.filter||null==u.query||i.filter(t,u.query))switch(o){case 0:u.h.call(a);break;case 1:u.h.call(a,e[0]);break;case 2:u.h.call(a,e[0],e[1]);break;default:u.h.apply(a,e.slice(1,o-1))}}return i&&i.afterTrigger&&i.afterTrigger(t),this},t}(),le=Math.log(2);function ue(t,e,n,r,i,o){var a=r+"-"+i,s=t.length;if(o.hasOwnProperty(a))return o[a];if(1===e){var l=Math.round(Math.log((1<<s)-1&~i)/le);return t[n][l]}for(var u=r|1<<n,c=n+1;r&1<<c;)c++;for(var d=0,h=0,f=0;h<s;h++){var p=1<<h;p&i||(d+=(f%2?-1:1)*t[n][h]*ue(t,e-1,c,u,i|p,o),f++)}return o[a]=d,d}function ce(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],r={},i=ue(n,8,0,0,0,r);if(0!==i){for(var o=[],a=0;a<8;a++)for(var s=0;s<8;s++)null==o[s]&&(o[s]=0),o[s]+=((a+s)%2?-1:1)*ue(n,7,0===a?1:0,1<<a,1<<s,r)/i*e[a];return function(t,e,n){var r=e*o[6]+n*o[7]+1;t[0]=(e*o[0]+n*o[1]+o[2])/r,t[1]=(e*o[3]+n*o[4]+o[5])/r}}}var de="___zrEVENTSAVED",he=[];function fe(t,e,n,r,i){return pe(he,e,r,i,!0)&&pe(t,n,he[0],he[1])}function pe(t,e,n,r,i){if(e.getBoundingClientRect&&a.domSupported&&!me(e)){var o=e[de]||(e[de]={}),s=ye(ge(e,o),o,i);if(s)return s(t,n,r),!0}return!1}function ge(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var r=["left","right"],i=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=o%2,l=(o>>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[s]+":0",i[l]+":0",r[1-s]+":auto",i[1-l]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}function ye(t,e,n){for(var r=n?"invTrans":"trans",i=e[r],o=e.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var c=t[u].getBoundingClientRect(),d=2*u,h=c.left,f=c.top;a.push(h,f),l=l&&o&&h===o[d]&&f===o[d+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&i?i:(e.srcCoords=a,e[r]=n?ce(s,a):ce(a,s))}function me(t){return"CANVAS"===t.nodeName.toUpperCase()}var ve=/([&<>"'])/g,be={"&":"&","<":"<",">":">",'"':""","'":"'"};function xe(t){return null==t?"":(t+"").replace(ve,(function(t,e){return be[e]}))}var _e=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,we=[],Se=a.browser.firefox&&+a.browser.version.split(".")[0]<39;function Me(t,e,n,r){return n=n||{},r?Ie(t,e,n):Se&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):Ie(t,e,n),n}function Ie(t,e,n){if(a.domSupported&&t.getBoundingClientRect){var r=e.clientX,i=e.clientY;if(me(t)){var o=t.getBoundingClientRect();return n.zrX=r-o.left,void(n.zrY=i-o.top)}if(pe(we,t,r,i))return n.zrX=we[0],void(n.zrY=we[1])}n.zrX=n.zrY=0}function Ae(t){return t||window.event}function De(t,e,n){if(null!=(e=Ae(e)).zrX)return e;var r=e.type;if(r&&r.indexOf("touch")>=0){var i="touchend"!==r?e.targetTouches[0]:e.changedTouches[0];i&&Me(t,i,e,n)}else{Me(t,e,e,n);var o=Te(e);e.zrDelta=o?o/120:-(e.detail||0)/3}var a=e.button;return null==e.which&&void 0!==a&&_e.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e}function Te(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,r=t.deltaY;return null==n||null==r?e:3*(0!==r?Math.abs(r):Math.abs(n))*(r>0?-1:r<0?1:n>0?-1:1)}function Ce(t,e,n,r){t.addEventListener(e,n,r)}function Oe(t,e,n,r){t.removeEventListener(e,n,r)}var Pe=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function ke(t){return 2===t.which||3===t.which}var $e=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var r=t.touches;if(r){for(var i={points:[],touches:[],target:e,event:t},o=0,a=r.length;o<a;o++){var s=r[o],l=Me(n,s,{});i.points.push([l.zrX,l.zrY]),i.touches.push(s)}this._track.push(i)}},t.prototype._recognize=function(t){for(var e in Ne)if(Ne.hasOwnProperty(e)){var n=Ne[e](this._track,t);if(n)return n}},t}();function Ee(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}function Le(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}var Ne={pinch:function(t,e){var n=t.length;if(n){var r=(t[n-1]||{}).points,i=(t[n-2]||{}).points||r;if(i&&i.length>1&&r&&r.length>1){var o=Ee(r)/Ee(i);!isFinite(o)&&(o=1),e.pinchScale=o;var a=Le(r);return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:t[0].target,event:e}}}}};function Re(){return[1,0,0,1,0,0]}function Fe(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function Be(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function je(t,e,n){var r=e[0]*n[0]+e[2]*n[1],i=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=r,t[1]=i,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function ze(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function Ve(t,e,n,r){void 0===r&&(r=[0,0]);var i=e[0],o=e[2],a=e[4],s=e[1],l=e[3],u=e[5],c=Math.sin(n),d=Math.cos(n);return t[0]=i*d+s*c,t[1]=-i*c+s*d,t[2]=o*d+l*c,t[3]=-o*c+d*l,t[4]=d*(a-r[0])+c*(u-r[1])+r[0],t[5]=d*(u-r[1])-c*(a-r[0])+r[1],t}function He(t,e,n){var r=n[0],i=n[1];return t[0]=e[0]*r,t[1]=e[1]*i,t[2]=e[2]*r,t[3]=e[3]*i,t[4]=e[4]*r,t[5]=e[5]*i,t}function We(t,e){var n=e[0],r=e[2],i=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*r;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-r*l,t[3]=n*l,t[4]=(r*s-a*i)*l,t[5]=(o*i-n*s)*l,t):null}function Ge(t){var e=Re();return Be(e,t),e}var Ye=Object.freeze({__proto__:null,create:Re,identity:Fe,copy:Be,mul:je,translate:ze,rotate:Ve,scale:He,invert:We,clone:Ge}),Ue=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,r){t.x=e.x+n.x*r,t.y=e.y+n.y*r},t.lerp=function(t,e,n,r){var i=1-r;t.x=i*e.x+r*n.x,t.y=i*e.y+r*n.y},t}(),Ze=Math.min,Xe=Math.max,qe=new Ue,Ke=new Ue,Je=new Ue,Qe=new Ue,tn=new Ue,en=new Ue,nn=function(){function t(t,e,n,r){n<0&&(t+=n,n=-n),r<0&&(e+=r,r=-r),this.x=t,this.y=e,this.width=n,this.height=r}return t.prototype.union=function(t){var e=Ze(t.x,this.x),n=Ze(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Xe(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=Xe(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,r=t.height/e.height,i=Re();return ze(i,i,[-e.x,-e.y]),He(i,i,[n,r]),ze(i,i,[t.x,t.y]),i},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var r=this,i=r.x,o=r.x+r.width,a=r.y,s=r.y+r.height,l=e.x,u=e.x+e.width,c=e.y,d=e.y+e.height,h=!(o<l||u<i||s<c||d<a);if(n){var f=1/0,p=0,g=Math.abs(o-l),y=Math.abs(u-i),m=Math.abs(s-c),v=Math.abs(d-a),b=Math.min(g,y),x=Math.min(m,v);o<l||u<i?b>p&&(p=b,g<y?Ue.set(en,-g,0):Ue.set(en,y,0)):b<f&&(f=b,g<y?Ue.set(tn,g,0):Ue.set(tn,-y,0)),s<c||d<a?x>p&&(p=x,m<v?Ue.set(en,0,-m):Ue.set(en,0,v)):b<f&&(f=b,m<v?Ue.set(tn,0,m):Ue.set(tn,0,-v))}return n&&Ue.copy(n,h?tn:en),h},t.prototype.contain=function(t,e){var n=this;return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,r){if(r){if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var i=r[0],o=r[3],a=r[4],s=r[5];return e.x=n.x*i+a,e.y=n.y*o+s,e.width=n.width*i,e.height=n.height*o,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}qe.x=Je.x=n.x,qe.y=Qe.y=n.y,Ke.x=Qe.x=n.x+n.width,Ke.y=Je.y=n.y+n.height,qe.transform(r),Qe.transform(r),Ke.transform(r),Je.transform(r),e.x=Ze(qe.x,Ke.x,Je.x,Qe.x),e.y=Ze(qe.y,Ke.y,Je.y,Qe.y);var l=Xe(qe.x,Ke.x,Je.x,Qe.x),u=Xe(qe.y,Ke.y,Je.y,Qe.y);e.width=l-e.x,e.height=u-e.y}else e!==n&&t.copy(e,n)},t}(),rn="silent";function on(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:an}}function an(){Pe(this.event)}var sn=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return i(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(se),ln=function(){function t(t,e){this.x=t,this.y=e}return t}(),un=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],cn=new nn(0,0,0,0),dn=function(t){function e(e,n,r,i,o){var a=t.call(this)||this;return a._hovered=new ln(0,0),a.storage=e,a.painter=n,a.painterRoot=i,a._pointerSize=o,r=r||new sn,a.proxy=null,a.setHandlerProxy(r),a._draggingMgr=new ae(a),a}return i(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(H(un,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,r=pn(this,e,n),i=this._hovered,o=i.target;o&&!o.__zr&&(o=(i=this.findHover(i.x,i.y)).target);var a=this._hovered=r?new ln(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(i,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new ln(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){var r=(t=t||{}).target;if(!r||!r.silent){for(var i="on"+e,o=on(e,t,n);r&&(r[i]&&(o.cancelBubble=!!r[i].call(r,o)),r.trigger(e,o),r=r.__hostTarget?r.__hostTarget:r.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"==typeof t[i]&&t[i].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,n){var r=this.storage.getDisplayList(),i=new ln(t,e);if(fn(r,i,t,e,n),this._pointerSize&&!i.target){for(var o=[],a=this._pointerSize,s=a/2,l=ne
vendor: 4,456 bytes, line 23
23w nn(t-s,e-s,a,a),u=r.length-1;u>=0;u--){var c=r[u];c===n||c.ignore||c.ignoreCoarsePointer||c.parent&&c.parent.ignoreCoarsePointer||(cn.copy(c.getBoundingRect()),c.transform&&cn.applyTransform(c.transform),cn.intersect(l)&&o.push(c))}if(o.length)for(var d=4,h=Math.PI/12,f=2*Math.PI,p=0;p<s;p+=d)for(var g=0;g<f;g+=h)if(fn(o,i,t+p*Math.cos(g),e+p*Math.sin(g),n),i.target)return i}return i},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new $e);var n=this._gestureMgr;"start"===e&&n.clear();var r=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),r){var i=r.type;t.gestureEvent=i;var o=new ln;o.target=r.target,this.dispatchToElement(o,i,r.event)}},e}(se);function hn(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var r=t,i=void 0,o=!1;r;){if(r.ignoreClip&&(o=!0),!o){var a=r.getClipPath();if(a&&!a.contain(e,n))return!1}r.silent&&(i=!0);var s=r.__hostTarget;r=s||r.parent}return!i||rn}return!1}function fn(t,e,n,r,i){for(var o=t.length-1;o>=0;o--){var a=t[o],s=void 0;if(a!==i&&!a.ignore&&(s=hn(a,n,r))&&(!e.topTarget&&(e.topTarget=a),s!==rn)){e.target=a;break}}}function pn(t,e,n){var r=t.painter;return e<0||e>r.getWidth()||n<0||n>r.getHeight()}H(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){dn.prototype[t]=function(e){var n,r,i=e.zrX,o=e.zrY,a=pn(this,i,o);if("mouseup"===t&&a||(r=(n=this.findHover(i,o)).target),"mousedown"===t)this._downEl=r,this._downPoint=[e.zrX,e.zrY],this._upEl=r;else if("mouseup"===t)this._upEl=r;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||qt(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));var gn=32,yn=7;function mn(t){for(var e=0;t>=gn;)e|=1&t,t>>=1;return t+e}function vn(t,e,n,r){var i=e+1;if(i===n)return 1;if(r(t[i++],t[e])<0){for(;i<n&&r(t[i],t[i-1])<0;)i++;bn(t,e,i)}else for(;i<n&&r(t[i],t[i-1])>=0;)i++;return i-e}function bn(t,e,n){for(n--;e<n;){var r=t[e];t[e++]=t[n],t[n--]=r}}function xn(t,e,n,r,i){for(r===e&&r++;r<n;r++){for(var o,a=t[r],s=e,l=r;s<l;)i(a,t[o=s+l>>>1])<0?l=o:s=o+1;var u=r-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function _n(t,e,n,r,i,o){var a=0,s=0,l=1;if(o(t,e[n+i])>0){for(s=r-i;l<s&&o(t,e[n+i+l])>0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}else{for(s=i+1;l<s&&o(t,e[n+i-l])<=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=a;a=i-l,l=i-u}for(a++;a<l;){var c=a+(l-a>>>1);o(t,e[n+c])>0?a=c+1:l=c}return l}function wn(t,e,n,r,i,o){var a=0,s=0,l=1;if(o(t,e[n+i])<0){for(s=i+1;l<s&&o(t,e[n+i-l])<0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=a;a=i-l,l=i-u}else{for(s=r-i;l<s&&o(t,e[n+i+l])>=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}for(a++;a<l;){var c=a+(l-a>>>1);o(t,e[n+c])<0?l=c:a=c+1}return l}function Sn(t,e){var n,r,i=yn,o=0,a=[];function s(t,e){n[o]=t,r[o]=e,o+=1}function l(){for(;o>1;){var t=o-2;if(t>=1&&r[t-1]<=r[t]+r[t+1]||t>=2&&r[t-2]<=r[t]+r[t-1])r[t-1]<r[t+1]&&t--;else if(r[t]>r[t+1])break;c(t)}}function u(){for(;o>1;){var t=o-2;t>0&&r[t-1]<r[t+1]&&t--,c(t)}}function c(i){var a=n[i],s=r[i],l=n[i+1],u=r[i+1];r[i]=s+u,i===o-3&&(n[i+1]=n[i+2],r[i+1]=r[i+2]),o--;var c=wn(t[l],t,a,s,0,e);a+=c,0!=(s-=c)&&0!==(u=_n(t[a+s-1],t,l,u,u-1,e))&&(s<=u?d(a,s,l,u):h(a,s,l,u))}function d(n,r,o,s){var l=0;for(l=0;l<r;l++)a[l]=t[n+l];var u=0,c=o,d=n;if(t[d++]=t[c++],0!=--s)if(1!==r){for(var h,f,p,g=i;;){h=0,f=0,p=!1;do{if(e(t[c],a[u])<0){if(t[d++]=t[c++],f++,h=0,0==--s){p=!0;break}}else if(t[d++]=a[u++],h++,f=0,1==--r){p=!0;break}}while((h|f)<g);if(p)break;do{if(0!==(h=wn(t[c],a,u,r,0,e))){for(l=0;l<h;l++)t[d+l]=a[u+l];if(d+=h,u+=h,(r-=h)<=1){p=!0;break}}if(t[d++]=t[c++],0==--s){p=!0;break}if(0!==(f=_n(a[u],t,c,s,0,e))){for(l=0;l<f;l++)t[d+l]=t[c+l];if(d+=f,c+=f,0==(s-=f)){p=!0;break}}if(t[d++]=a[u++],1==--r){p=!0;break}g--}while(h>=yn||f>=yn);if(p)break;g<0&&(g=0),g+=2}if((i=g)<1&&(i=1),1===r){for(l=0;l<s;l++)t[d+l]=t[c+l];t[d+s]=a[u]}else{if(0===r)throw new Error;for(l=0;l<r;l++)t[d+l]=a[u+l]}}else{for(l=0;l<s;l++)t[d+l]=t[c+l];t[d+s]=a[u]}else for(l=0;l<r;l++)t[d+l]=a[u+l]}function h(n,r,o,s){var l=0;for(l=0;l<s;l++)a[l]=t[o+l];var u=n+r-1,c=s-1,d=o+s-1,h=0,f=0;if(t[d--]=t[u--],0!=--r)if(1!==s){for(var p=i;;){var g=0,y=0,m=!1;do{if(e(a[c],t[u])<0){if(t[d--]=t[u--],g++,y=0,0==--r){m=!0;break}}else if(t[d--]=a[c--],y++,g=0,1==--s){m=!0;break}}while((g|y)<p);if(m)break;
vendor: 5,898 bytes, line 23
23do{if(0!=(g=r-wn(a[c],t,n,r,r-1,e))){for(r-=g,f=1+(d-=g),h=1+(u-=g),l=g-1;l>=0;l--)t[f+l]=t[h+l];if(0===r){m=!0;break}}if(t[d--]=a[c--],1==--s){m=!0;break}if(0!=(y=s-_n(t[u],a,0,s,s-1,e))){for(s-=y,f=1+(d-=y),h=1+(c-=y),l=0;l<y;l++)t[f+l]=a[h+l];if(s<=1){m=!0;break}}if(t[d--]=t[u--],0==--r){m=!0;break}p--}while(g>=yn||y>=yn);if(m)break;p<0&&(p=0),p+=2}if((i=p)<1&&(i=1),1===s){for(f=1+(d-=r),h=1+(u-=r),l=r-1;l>=0;l--)t[f+l]=t[h+l];t[d]=a[c]}else{if(0===s)throw new Error;for(h=d-(s-1),l=0;l<s;l++)t[h+l]=a[l]}}else{for(f=1+(d-=r),h=1+(u-=r),l=r-1;l>=0;l--)t[f+l]=t[h+l];t[d]=a[c]}else for(h=d-(s-1),l=0;l<s;l++)t[h+l]=a[l]}return n=[],r=[],{mergeRuns:l,forceMergeRuns:u,pushRun:s}}function Mn(t,e,n,r){n||(n=0),r||(r=t.length);var i=r-n;if(!(i<2)){var o=0;if(i<gn)xn(t,n,r,n+(o=vn(t,n,r,e)),e);else{var a=Sn(t,e),s=mn(i);do{if((o=vn(t,n,r,e))<s){var l=i;l>s&&(l=s),xn(t,n,n+l,n+o,e),o=l}a.pushRun(n,o),a.mergeRuns(),i-=o,n+=o}while(0!==i);a.forceMergeRuns()}}}var In=1,An=2,Dn=4,Tn=!1;function Cn(){Tn||(Tn=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function On(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var Pn=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=On}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return!t&&n.length||this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,r=0,i=e.length;r<i;r++)this._updateAndAddDisplayable(e[r],null,t);n.length=this._displayListLen,Mn(n,On)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var r=t.getClipPath();if(t.ignoreClip)e=null;else if(r){e=e?e.slice():[];for(var i=r,o=t;i;)i.parent=o,i.updateTransform(),e.push(i),o=i,i=i.getClipPath()}if(t.childrenRef){for(var a=t.childrenRef(),s=0;s<a.length;s++){var l=a[s];t.__dirty&&(l.__dirty|=In),this._updateAndAddDisplayable(l,e,n)}t.__dirty=0}else{var u=t;e&&e.length?u.__clipPaths=e:u.__clipPaths&&u.__clipPaths.length>0&&(u.__clipPaths=[]),isNaN(u.z)&&(Cn(),u.z=0),isNaN(u.z2)&&(Cn(),u.z2=0),isNaN(u.zlevel)&&(Cn(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var c=t.getDecalElement&&t.getDecalElement();c&&this._updateAndAddDisplayable(c,e,n);var d=t.getTextGuideLine();d&&this._updateAndAddDisplayable(d,e,n);var h=t.getTextContent();h&&this._updateAndAddDisplayable(h,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e<n;e++)this.delRoot(t[e]);else{var r=B(this._roots,t);r>=0&&this._roots.splice(r,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),kn=a.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},$n={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1,r=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=r/4):e=r*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/r))},elasticOut:function(t){var e,n=.1,r=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=r/4):e=r*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/r)+1)},elasticInOut:function(t){var e,n=.1,r=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=r/4):e=r*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/r)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/r)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-$n.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*$n.bounceIn(2*t):.5*$n.bounceOut(2*t-1)+.5}},En=Math.pow,Ln=Math.sqrt,Nn=1e-8,Rn=1e-4,Fn=Ln(3),Bn=1/3,jn=$t(),zn=$t(),Vn=$t();function Hn(t){return t>-Nn&&t<Nn}function Wn(t){return t>Nn||t<-Nn}function Gn(t,e,n,r,i){var o=1-i;
vendor: 11,053 bytes, line 23
23return o*o*(o*t+3*i*e)+i*i*(i*r+3*o*n)}function Yn(t,e,n,r,i){var o=1-i;return 3*(((e-t)*o+2*(n-e)*i)*o+(r-n)*i*i)}function Un(t,e,n,r,i,o){var a=r+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-i,c=s*s-3*a*l,d=s*l-9*a*u,h=l*l-3*s*u,f=0;if(Hn(c)&&Hn(d))Hn(s)?o[0]=0:(M=-l/s)>=0&&M<=1&&(o[f++]=M);else{var p=d*d-4*c*h;if(Hn(p)){var g=d/c,y=-g/2;(M=-s/a+g)>=0&&M<=1&&(o[f++]=M),y>=0&&y<=1&&(o[f++]=y)}else if(p>0){var m=Ln(p),v=c*s+1.5*a*(-d+m),b=c*s+1.5*a*(-d-m);(M=(-s-((v=v<0?-En(-v,Bn):En(v,Bn))+(b=b<0?-En(-b,Bn):En(b,Bn))))/(3*a))>=0&&M<=1&&(o[f++]=M)}else{var x=(2*c*s-3*a*d)/(2*Ln(c*c*c)),_=Math.acos(x)/3,w=Ln(c),S=Math.cos(_),M=(-s-2*w*S)/(3*a),I=(y=(-s+w*(S+Fn*Math.sin(_)))/(3*a),(-s+w*(S-Fn*Math.sin(_)))/(3*a));M>=0&&M<=1&&(o[f++]=M),y>=0&&y<=1&&(o[f++]=y),I>=0&&I<=1&&(o[f++]=I)}}return f}function Zn(t,e,n,r,i){var o=6*n-12*e+6*t,a=9*e+3*r-3*t-9*n,s=3*e-3*t,l=0;if(Hn(a))Wn(o)&&(c=-s/o)>=0&&c<=1&&(i[l++]=c);else{var u=o*o-4*a*s;if(Hn(u))i[0]=-o/(2*a);else if(u>0){var c,d=Ln(u),h=(-o-d)/(2*a);(c=(-o+d)/(2*a))>=0&&c<=1&&(i[l++]=c),h>=0&&h<=1&&(i[l++]=h)}}return l}function Xn(t,e,n,r,i,o){var a=(e-t)*i+t,s=(n-e)*i+e,l=(r-n)*i+n,u=(s-a)*i+a,c=(l-s)*i+s,d=(c-u)*i+u;o[0]=t,o[1]=a,o[2]=u,o[3]=d,o[4]=d,o[5]=c,o[6]=l,o[7]=r}function qn(t,e,n,r,i,o,a,s,l,u,c){var d,h,f,p,g,y=.005,m=1/0;jn[0]=l,jn[1]=u;for(var v=0;v<1;v+=.05)zn[0]=Gn(t,n,i,a,v),zn[1]=Gn(e,r,o,s,v),(p=Jt(jn,zn))<m&&(d=v,m=p);m=1/0;for(var b=0;b<32&&!(y<Rn);b++)h=d-y,f=d+y,zn[0]=Gn(t,n,i,a,h),zn[1]=Gn(e,r,o,s,h),p=Jt(zn,jn),h>=0&&p<m?(d=h,m=p):(Vn[0]=Gn(t,n,i,a,f),Vn[1]=Gn(e,r,o,s,f),g=Jt(Vn,jn),f<=1&&g<m?(d=f,m=g):y*=.5);return c&&(c[0]=Gn(t,n,i,a,d),c[1]=Gn(e,r,o,s,d)),Ln(m)}function Kn(t,e,n,r,i,o,a,s,l){for(var u=t,c=e,d=0,h=1/l,f=1;f<=l;f++){var p=f*h,g=Gn(t,n,i,a,p),y=Gn(e,r,o,s,p),m=g-u,v=y-c;d+=Math.sqrt(m*m+v*v),u=g,c=y}return d}function Jn(t,e,n,r){var i=1-r;return i*(i*t+2*r*e)+r*r*n}function Qn(t,e,n,r){return 2*((1-r)*(e-t)+r*(n-e))}function tr(t,e,n,r,i){var o=t-2*e+n,a=2*(e-t),s=t-r,l=0;if(Hn(o))Wn(a)&&(c=-s/a)>=0&&c<=1&&(i[l++]=c);else{var u=a*a-4*o*s;if(Hn(u))(c=-a/(2*o))>=0&&c<=1&&(i[l++]=c);else if(u>0){var c,d=Ln(u),h=(-a-d)/(2*o);(c=(-a+d)/(2*o))>=0&&c<=1&&(i[l++]=c),h>=0&&h<=1&&(i[l++]=h)}}return l}function er(t,e,n){var r=t+n-2*e;return 0===r?.5:(t-e)/r}function nr(t,e,n,r,i){var o=(e-t)*r+t,a=(n-e)*r+e,s=(a-o)*r+o;i[0]=t,i[1]=o,i[2]=s,i[3]=s,i[4]=a,i[5]=n}function rr(t,e,n,r,i,o,a,s,l){var u,c=.005,d=1/0;jn[0]=a,jn[1]=s;for(var h=0;h<1;h+=.05)zn[0]=Jn(t,n,i,h),zn[1]=Jn(e,r,o,h),(y=Jt(jn,zn))<d&&(u=h,d=y);d=1/0;for(var f=0;f<32&&!(c<Rn);f++){var p=u-c,g=u+c;zn[0]=Jn(t,n,i,p),zn[1]=Jn(e,r,o,p);var y=Jt(zn,jn);if(p>=0&&y<d)u=p,d=y;else{Vn[0]=Jn(t,n,i,g),Vn[1]=Jn(e,r,o,g);var m=Jt(Vn,jn);g<=1&&m<d?(u=g,d=m):c*=.5}}return l&&(l[0]=Jn(t,n,i,u),l[1]=Jn(e,r,o,u)),Ln(d)}function ir(t,e,n,r,i,o,a){for(var s=t,l=e,u=0,c=1/a,d=1;d<=a;d++){var h=d*c,f=Jn(t,n,i,h),p=Jn(e,r,o,h),g=f-s,y=p-l;u+=Math.sqrt(g*g+y*y),s=f,l=p}return u}var or=/cubic-bezier\(([0-9,\.e ]+)\)/;function ar(t){var e=t&&or.exec(t);if(e){var n=e[1].split(","),r=+mt(n[0]),i=+mt(n[1]),o=+mt(n[2]),a=+mt(n[3]);if(isNaN(r+i+o+a))return;var s=[];return function(t){return t<=0?0:t>=1?1:Un(0,r,o,1,t,s)&&Gn(0,i,a,1,s[0])}}}var sr=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||Ot,this.ondestroy=t.ondestroy||Ot,this.onrestart=t.onrestart||Ot,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,r=t-this._startTime-this._pausedTime,i=r/n;i<0&&(i=0),i=Math.min(i,1);var o=this.easingFunc,a=o?o(i):i;if(this.onframe(a),1===i){if(!this.loop)return!0;var s=r%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=Q(t)?t:$n[t]||ar(t)},t}(),lr=function(){function t(t){this.value=t}return t}(),ur=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new lr(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),cr=function(){function t(t){this._list=new ur,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,r=this._map,i=null;if(null==r[t]){var o=n.len(),a=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var s=n.head;n.remove(s),delete r[s.key],i=s.value,this._lastRemovedEntry=s}a?a.value=e:a=new lr(e),a.key=t,n.insertEntry(a),r[t]=a}return i},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}(),dr={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function hr(t){return(t=Math.round(t))<0?0:t>255?255:t}function fr(t){return(t=Math.round(t))<0?0:t>360?360:t}function pr(t){return t<0?0:t>1?1:t}function gr(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?hr(parseFloat(e)/100*255):hr(parseInt(e,10))}function yr(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?pr(parseFloat(e)/100):pr(parseFloat(e))}function mr(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function vr(t,e,n){return t+(e-t)*n}function br(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t}function xr(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var _r=new cr(20),wr=null;function Sr(t,e){wr&&xr(wr,e),wr=_r.put(t,wr||e.slice())}function Mr(t,e){if(t){e=e||[];var n=_r.get(t);if(n)return xr(e,n);var r=(t+="").replace(/ /g,"").toLowerCase();if(r in dr)return xr(e,dr[r]),Sr(t,e),e;var i,o=r.length;if("#"===r.charAt(0))return 4===o||5===o?(i=parseInt(r.slice(1,4),16))>=0&&i<=4095?(br(e,(3840&i)>>4|(3840&i)>>8,240&i|(240&i)>>4,15&i|(15&i)<<4,5===o?parseInt(r.slice(4),16)/15:1),Sr(t,e),e):void br(e,0,0,0,1):7===o||9===o?(i=parseInt(r.slice(1,7),16))>=0&&i<=16777215?(br(e,(16711680&i)>>16,(65280&i)>>8,255&i,9===o?parseInt(r.slice(7),16)/255:1),Sr(t,e),e):void br(e,0,0,0,1):void 0;var a=r.indexOf("("),s=r.indexOf(")");if(-1!==a&&s+1===o){var l=r.substr(0,a),u=r.substr(a+1,s-(a+1)).split(","),c=1;switch(l){case"rgba":if(4!==u.length)return 3===u.length?br(e,+u[0],+u[1],+u[2],1):br(e,0,0,0,1);c=yr(u.pop());case"rgb":return u.length>=3?(br(e,gr(u[0]),gr(u[1]),gr(u[2]),3===u.length?c:yr(u[3])),Sr(t,e),e):void br(e,0,0,0,1);case"hsla":return 4!==u.length?void br(e,0,0,0,1):(u[3]=yr(u[3]),Ir(u,e),Sr(t,e),e);case"hsl":return 3!==u.length?void br(e,0,0,0,1):(Ir(u,e),Sr(t,e),e);default:return}}br(e,0,0,0,1)}}function Ir(t,e){var n=(parseFloat(t[0])%360+360)%360/360,r=yr(t[1]),i=yr(t[2]),o=i<=.5?i*(r+1):i+r-i*r,a=2*i-o;return br(e=e||[],hr(255*mr(a,o,n+1/3)),hr(255*mr(a,o,n)),hr(255*mr(a,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function Ar(t){if(t){var e,n,r=t[0]/255,i=t[1]/255,o=t[2]/255,a=Math.min(r,i,o),s=Math.max(r,
vendor: 30,037 bytes, line 23
23i,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var c=((s-r)/6+l/2)/l,d=((s-i)/6+l/2)/l,h=((s-o)/6+l/2)/l;r===s?e=h-d:i===s?e=1/3+c-h:o===s&&(e=2/3+d-c),e<0&&(e+=1),e>1&&(e-=1)}var f=[360*e,n,u];return null!=t[3]&&f.push(t[3]),f}}function Dr(t,e){var n=Mr(t);if(n){for(var r=0;r<3;r++)n[r]=e<0?n[r]*(1-e)|0:(255-n[r])*e+n[r]|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return Lr(n,4===n.length?"rgba":"rgb")}}function Tr(t){var e=Mr(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function Cr(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var r=t*(e.length-1),i=Math.floor(r),o=Math.ceil(r),a=e[i],s=e[o],l=r-i;return n[0]=hr(vr(a[0],s[0],l)),n[1]=hr(vr(a[1],s[1],l)),n[2]=hr(vr(a[2],s[2],l)),n[3]=pr(vr(a[3],s[3],l)),n}}var Or=Cr;function Pr(t,e,n){if(e&&e.length&&t>=0&&t<=1){var r=t*(e.length-1),i=Math.floor(r),o=Math.ceil(r),a=Mr(e[i]),s=Mr(e[o]),l=r-i,u=Lr([hr(vr(a[0],s[0],l)),hr(vr(a[1],s[1],l)),hr(vr(a[2],s[2],l)),pr(vr(a[3],s[3],l))],"rgba");return n?{color:u,leftIndex:i,rightIndex:o,value:r}:u}}var kr=Pr;function $r(t,e,n,r){var i=Mr(t);if(t)return i=Ar(i),null!=e&&(i[0]=fr(e)),null!=n&&(i[1]=yr(n)),null!=r&&(i[2]=yr(r)),Lr(Ir(i),"rgba")}function Er(t,e){var n=Mr(t);if(n&&null!=e)return n[3]=pr(e),Lr(n,"rgba")}function Lr(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function Nr(t,e){var n=Mr(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}function Rr(){return Lr([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")}var Fr=new cr(100);function Br(t){if(tt(t)){var e=Fr.get(t);return e||(e=Dr(t,-.1),Fr.put(t,e)),e}if(st(t)){var n=N({},t);return n.colorStops=W(t.colorStops,(function(t){return{offset:t.offset,color:Dr(t.color,-.1)}})),n}return t}var jr=Object.freeze({__proto__:null,parse:Mr,lift:Dr,toHex:Tr,fastLerp:Cr,fastMapToColor:Or,lerp:Pr,mapToColor:kr,modifyHSL:$r,modifyAlpha:Er,stringify:Lr,lum:Nr,random:Rr,liftColor:Br}),zr=Math.round;function Vr(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var n=Mr(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}var Hr=1e-4;function Wr(t){return t<Hr&&t>-Hr}function Gr(t){return zr(1e3*t)/1e3}function Yr(t){return zr(1e4*t)/1e4}function Ur(t){return"matrix("+Gr(t[0])+","+Gr(t[1])+","+Gr(t[2])+","+Gr(t[3])+","+Yr(t[4])+","+Yr(t[5])+")"}var Zr={left:"start",right:"end",center:"middle",middle:"middle"};function Xr(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}function qr(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}function Kr(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}function Jr(t){return t&&!!t.image}function Qr(t){return t&&!!t.svgElement}function ti(t){return Jr(t)||Qr(t)}function ei(t){return"linear"===t.type}function ni(t){return"radial"===t.type}function ri(t){return t&&("linear"===t.type||"radial"===t.type)}function ii(t){return"url(#"+t+")"}function oi(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function ai(t){var e=t.x||0,n=t.y||0,r=(t.rotation||0)*Pt,i=ht(t.scaleX,1),o=ht(t.scaleY,1),a=t.skewX||0,s=t.skewY||0,l=[];return(e||n)&&l.push("translate("+e+"px,"+n+"px)"),r&&l.push("rotate("+r+")"),1===i&&1===o||l.push("scale("+i+","+o+")"),(a||s)&&l.push("skew("+zr(a*Pt)+"deg, "+zr(s*Pt)+"deg)"),l.join(" ")}var si=a.hasGlobalWindow&&Q(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:void 0!==r?function(t){return r.from(t).toString("base64")}:function(t){return k("Base64 isn't natively supported in the current environment."),null},li=Array.prototype.slice;function ui(t,e,n){return(e-t)*n+t}function ci(t,e,n,r){for(var i=e.length,o=0;o<i;o++)t[o]=ui(e[o],n[o],r);return t}function di(t,e,n,r){for(var i=e.length,o=i&&e[0].length,a=0;a<i;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=ui(e[a][s],n[a][s],r)}return t}function hi(t,e,n,r){for(var i=e.length,o=0;o<i;o++)t[o]=e[o]+n[o]*r;return t}function fi(t,e,n,r){for(var i=e.length,o=i&&e[0].length,a=0;a<i;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+n[a][s]*r}return t}function pi(t,e){for(var n=t.length,r=e.length,i=n>r?e:t,o=Math.min(n,r),a=i[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,r);s++)i.push({offset:a.offset,color:a.color.slice()})}function gi(t,e,n){var r=t,i=e;if(r.push&&i.push){var o=r.length,a=i.length;if(o!==a)if(o>a)r.length=a;else for(var s=o;s<a;s++)r.push(1===n?i[s]:li.call(i[s]));var l=r[0]&&r[0].length;for(s=0;s<r.length;s++)if(1===n)isNaN(r[s])&&(r[s]=i[s]);else for(var u=0;u<l;u++)isNaN(r[s][u])&&(r[s][u]=i[s][u])}}function yi(t){if(V(t)){var e=t.length;if(V(t[0])){for(var n=[],r=0;r<e;r++)n.push(li.call(t[r]));return n}return li.call(t)}return t}function mi(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function vi(t){return V(t&&t[0])?2:1}var bi=0,xi=1,_i=2,wi=3,Si=4,Mi=5,Ii=6;function Ai(t){return t===Si||t===Mi}function Di(t){return t===xi||t===_i}var Ti=[0,0,0,0],Ci=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var r=this.keyframes,i=r.length,o=!1,a=Ii,s=e;if(V(e)){var l=vi(e);a=l,(1===l&&!nt(e[0])||2===l&&!nt(e[0][0]))&&(o=!0)}else if(nt(e)&&!ct(e))a=bi;else if(tt(e))if(isNaN(+e)){var u=Mr(e);u&&(s=u,a=wi)}else a=bi;else if(st(e)){var c=N({},s);c.colorStops=W(e.colorStops,(function(t){return{offset:t.offset,color:Mr(t.color)}})),ei(e)?a=Si:ni(e)&&(a=Mi),s=c}0===i?this.valType=a:a===this.valType&&a!==Ii||(o=!0),this.discrete=this.discrete||o;var d={time:t,value:s,rawValue:e,percent:0};return n&&(d.easing=n,d.easingFunc=Q(n)?n:$n[n]||ar(n)),r.push(d),d},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var r=this.valType,i=n.length,o=n[i-1],a=this.discrete,s=Di(r),l=Ai(r),u=0;u<i;u++){var c=n[u],d=c.value,h=o.value;c.percent=c.time/t,a||(s&&u!==i-1?gi(d,h,r):l&&pi(d.colorStops,h.colorStops))}if(!a&&r!==Mi&&e&&this.needsAnimate()&&e.needsAnimate()&&r===e.valType&&!e._finished){this._additiveTrack=e;var f=n[0].value;for(u=0;u<i;u++)r===bi?n[u].additiveValue=n[u].value-f:r===wi?n[u].additiveValue=hi([],n[u].value,f,-1):Di(r)&&(n[u].additiveValue=r===xi?hi([],n[u].value,f,-1):fi([],n[u].value,f,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,r,i,o=null!=this._additiveTrack,a=o?"additiveValue":"value",s=this.valType,l=this.keyframes,u=l.length,c=this.propName,d=s===wi,h=this._lastFr,f=Math.min;if(1===u)r=i=l[0];else{if(e<0)n=0;else if(e<this._lastFrP){for(n=f(h+1,u-1);n>=0&&!(l[n].percent<=e);n--);n=f(n,u-2)}else{for(n=h;n<u&&!(l[n].percent>e);n++);n=f(n-1,u-2)}i=l[n+1],r=l[n]}if(r&&i){this._lastFr=n,this._lastFrP=e;var p=i.percent-r.percent,g=0===p?1:f((e-r.percent)/p,1);i.easingFunc&&(g=i.easingFunc(g));var y=o?this._additiveValue:d?Ti:t[c];if(!Di(s)&&!d||y||(y=this._additiveValue=[]),this.discrete)t[c]=g<1?r.rawValue:i.rawValue;else if(Di(s))s===xi?ci(y,r[a],i[a],g):di(y,r[a],i[a],g);else if(Ai(s)){var m=r[a],v=i[a],b=s===Si;t[c]={type:b?"linear":"radial",x:ui(m.x,v.x,g),y:ui(m.y,v.y,g),colorStops:W(m.colorStops,(function(t,e){var n=v.colorStops[e];return{offset:ui(t.offset,n.offset,g),color:mi(ci([],t.color,n.color,g))}})),global:v.global},b?(t[c].x2=ui(m.x2,v.x2,g),t[c].y2=ui(m.y2,v.y2,g)):t[c].r=ui(m.r,v.r,g)}else if(d)ci(y,r[a],i[a],g),o||(t[c]=mi(y));else{var x=ui(r[a],i[a],g);o?this._additiveValue=x:t[c]=x}o&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,r=this._additiveValue;e===bi?t[n]=t[n]+r:e===wi?(Mr(t[n],Ti),hi(Ti,Ti,r,1),t[n]=mi(Ti)):e===xi?hi(t[n],t[n],r,1):e===_i&&fi(t[n],t[n],r,1)},t}(),Oi=function(){function t(t,e,n,r){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&r?k("Can' use additive animation on looped animation."):(this._additiveAnimators=r,this._allowDiscrete=n)}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,Z(e),n)},t.prototype.whenWithKeys=function(t,e,n,r){for(var i=this._tracks,o=0;o<n.length;o++){var a=n[o],s=i[a];if(!s){s=i[a]=new Ci(a);var l=void 0,u=this._getAdditiveTrack(a);if(u){var c=u.keyframes,d=c[c.length-1];l=d&&d.value,u.valType===wi&&l&&(l=mi(l))}else l=this._target[a];if(null==l)continue;t>0&&s.addKeyframe(0,yi(l),r),this._trackKeys.push(a)}s.addKeyframe(t,yi(e[a]),r)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n<e;n++)t[n].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var r=0;r<n.length;r++){var i=n[r].getTrack(t);i&&(e=i)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,n=[],r=this._maxTime||0,i=0;i<this._trackKeys.length;i++){var o=this._trackKeys[i],a=this._tracks[o],s=this._getAdditiveTrack(o),l=a.keyframes,u=l.length;if(a.prepare(r,s),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var c=l[u-1];c&&(e._target[a.propName]=c.rawValue),a.setFinished()}else n.push(a)}if(n.length||this._force){var d=new sr({life:r,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var r=e._additiveAnimators;if(r){for(var i=!1,o=0;o<r.length;o++)if(r[o]._clip){i=!0;break}i||(e._additiveAnimators=null)}for(o=0;o<n.length;o++)n[o].step(e._target,t);var a=e._onframeCbs;if(a)for(o=0;o<a.length;o++)a[o](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=d,this.animation&&this.animation.addClip(d),t&&d.setEasing(t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return W(this._trackKeys,(function(e){return t._tracks[e]}))},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,r=this._trackKeys,i=0;i<t.length;i++){var o=n[t[i]];o&&!o.isFinished()&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}var a=!0;for(i=0;i<r.length;i++)if(!n[r[i]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var r=0;r<e.length;r++){var i=e[r],o=this._tracks[i];if(o&&!o.isFinished()){var a=o.keyframes,s=a[n?0:a.length-1];s&&(t[i]=yi(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||Z(t);for(var n=0;n<e.length;n++){var r=e[n],i=this._tracks[r];if(i){var o=i.keyframes;if(o.length>1){var a=o.pop();i.addKeyframe(a.time,t[r]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},t}();function Pi(){return(new Date).getTime()}var ki,$i,Ei=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return i(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=Pi()-this._pausedTime,n=e-this._time,r=this._head;r;){var i=r.next;r.step(e,n)?(r.ondestroy(),this.removeClip(r),r=i):r=i}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;function e(){t._running&&(kn(e),!t._paused&&t.update())}this._running=!0,kn(e)},e.prototype.start=function(){this._running||(this._time=Pi(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=Pi(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=Pi()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new Oi(t,e.loop);return this.addAnimator(n),n},e}(se),Li=300,Ni=a.domSupported,Ri=($i={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:ki=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:W(ki,(function(t){var e=t.replace("mouse","pointer");return $i.hasOwnProperty(e)?e:t}))}),Fi={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},Bi=!1;function ji(t){var e=t.pointerType;return"pen"===e||"touch"===e}function zi(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}function Vi(t){t&&(t.zrByTouch=!0)}function Hi(t,e){return De(t.dom,new Gi(t,e),!0)}function Wi(t,e){for(var n=e,r=!1;n&&9!==n.nodeType&&!(r=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return r}var Gi=function(){function t(t,e){this.stopPropagation=Ot,this.stopImmediatePropagation=Ot,this.preventDefault=Ot,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}return t}(),Yi={mousedown:function(t){t=De(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=De(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=De(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){Wi(this,(t=De(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){Bi=!0,t=De(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){Bi||(t=De(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){Vi(t=De(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),Yi.mousemove.call(this,t),Yi.mousedown.call(this,t)},touchmove:function(t){Vi(t=De(this.dom,t)),this.handler.processGesture(t,"change"),Yi.mousemove.call(this,t)},touchend:function(t){Vi(t=De(this.dom,t)),this.handler.processGesture(t,"end"),Yi.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<Li&&Yi.click.call(this,t)},pointerdown:function(t){Yi.mousedown.call(this,t)},pointermove:function(t){ji(t)||Yi.mousemove.call(this,t)},pointerup:function(t){Yi.mouseup.call(this,t)},pointerout:function(t){ji(t)||Yi.mouseout.call(this,t)}};H(["click","dblclick","contextmenu"],(function(t){Yi[t]=function(e){e=De(this.dom,e),this.trigger(t,e)}}));var Ui={pointermove:function(t){ji(t)||Ui.mousemove.call(this,t)},pointerup:function(t){Ui.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function Zi(t,e){var n=e.domHandlers;a.pointerEventsSupported?H(Ri.pointer,(function(r){qi(e,r,(function(e){n[r].call(t,e)}))})):(a.touchEventsSupported&&H(Ri.touch,(function(r){qi(e,r,(function(i){n[r].call(t,i),zi(e)}))})),H(Ri.mouse,(function(r){qi(e,r,(function(i){i=Ae(i),e.touching||n[r].call(t,i)}))})))}function Xi(t,e){function n(n){function r(r){r=Ae(r),Wi(t,r.target)||(r=Hi(t,r),e.domHandlers[n].call(t,r))}qi(e,n,r,{capture:!0})}a.pointerEventsSupported?H(Fi.pointer,n):a.touchEventsSupported||H(Fi.mouse,n)}function qi(t,e,n,r){t.mounted[e]=n,t.listenerOpts[e]=r,Ce(t.domTarget,e,n,r)}function Ki(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&Oe(t.domTarget,n,e[n],t.listenerOpts[n]);t.mounted={}}var Ji=function(){function t(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e}return t}(),Qi=function(t){function e(e,n){var r=t.call(this)||this;return r.__pointerCapturing=!1,r.dom=e,r.painterRoot=n,r._localHandlerScope=new Ji(e,Yi),Ni&&(r._globalHandlerScope=new Ji(document,Ui)),Zi(r,r._localHandlerScope),r}return i(e,t),e.prototype.dispose=function(){Ki(this._localHandlerScope),Ni&&Ki(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,Ni&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?Xi(this,e):Ki(e)}},e}(se),to=1;a.hasGlobalWindow&&(to=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var eo=to,no=.4,ro="#333",io="#ccc",oo="#eee",ao=Fe,so=5e-5;function lo(t){return t>so||t<-so}var uo=[],co=[],ho=Re(),fo=Math.abs,po=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return lo(this.rotation)||lo(this.x)||lo(this.y)||lo(this.scaleX-1)||lo(this.scaleY-1)||lo(this.skewX)||lo(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||Re(),e?this.getLocalTransform(n):ao(n),t&&(e?je(n,t,n):Be(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(ao(n),this.invTransform=null)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(uo);var n=uo[0]<0?-1:1,r=uo[1]<0?-1:1,i=((uo[0]-n)*e+n)/uo[0]||0,o=((uo[1]-r)*e+r)/uo[1]||0;t[0]*=i,t[1]*=i,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||Re(),We(this.invTransform,t)},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],r=Math.atan2(t[1],t[0]),i=Math.PI/2+r-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(i),e=Math.sqrt(e),this.skewX=i,this.skewY=0,this.rotation=-r,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||Re(),je(co,t.invTransform,e),e=co);var n=this.originX,r=this.originY;(n||r)&&(ho[4]=n,ho[5]=r,je(co,e,ho),co[4]-=n,co[5]-=r,e=co),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],r=this.invTransform;return r&&ee(n,n,r),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],r=this.transform;return r&&ee(n,n,r),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&fo(t[0]-1)>1e-10&&fo(t[3]-1)>1e-10?Math.sqrt(fo(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){yo(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,r=t.originY||0,i=t.scaleX,o=t.scaleY,a=t.anchorX,s=t.anchorY,l=t.rotation||0,u=t.x,c=t.y,d=t.skewX?Math.tan(t.skewX):0,h=t.skewY?Math.tan(-t.skewY):0;if(n||r||a||s){var f=n+a,p=r+s;e[4]=-f*i-d*p*o,e[5]=-p*o-h*f*i}else e[4]=e[5]=0;return e[0]=i,e[3]=o,e[1]=h*i,e[2]=d*o,l&&Ve(e,e,l),e[4]+=n+u,e[5]+=r+c,e},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),go=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function yo(t,e){for(var n=0;n<go.length;n++){var r=go[n];t[r]=e[r]}}var mo={};function vo(t,e){var n=mo[e=e||c];n||(n=mo[e]=new cr(500));var r=n.get(t);return null==r&&(r=m.measureText(t,e).width,n.put(t,r)),r}function bo(t,e,n,r){var i=vo(t,e),o=So(e),a=_o(0,i,n),s=wo(0,o,r);return new nn(a,s,i,o)}function xo(t,e,n,r){var i=((t||"")+"").split("\n");if(1===i.length)return bo(i[0],e,n,r);for(var o=new nn(0,0,0,0),a=0;a<i.length;a++){var s=bo(i[a],e,n,r);0===a?o.copy(s):o.union(s)}return o}function _o(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function wo(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function So(t){return vo("å½",t)}function Mo(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function Io(t,e,n){var r=e.position||"inside",i=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,c="left",d="top";if(r instanceof Array)l+=Mo(r[0],n.width),u+=Mo(r[1],n.height),c=null,d=null;else switch(r){case"left":l-=i,u+=s,c="right",d="middle";break;case"right":l+=i+a,u+=s,d="middle";break;case"top":l+=a/2,u-=i,c="center",d="bottom";break;case"bottom":l+=a/2,u+=o+i,c="center";break;case"inside":l+=a/2,u+=s,c="center",d="middle";break;case"insideLeft":l+=i,u+=s,d="middle";break;case"insideRight":l+=a-i,u+=s,c="right",d="middle";break;case"insideTop":l+=a/2,u+=i,c="center";break;case"insideBottom":l+=a/2,u+=o-i,c="center",d="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=a-i,u+=i,c="right";break;case"insideBottomLeft":l+=i,u+=o-i,d="bottom";break;case"insideBottomRight":l+=a-i,u+=o-i,c="right",d="bottom"}return(t=t||{}).x=l,t.y=u,t.align=c,t.verticalAlign=d,t}var Ao="__zr_normal__",Do=go.concat(["ignore"]),To=G(go,(function(t,e){return t[e]=!0,t}),{ignore:!1}),Co={},Oo=new nn(0,0,0,0),Po=function(){function t(t){this.id=P(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var r=this.transform;r||(r=this.transform=[1,0,0,1,0,0]),r[4]+=t,r[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,r=n.local,i=e.innerTransformable,o=void 0,a=void 0,s=!1;i.parent=r?this:null;var l=!1;if(i.copyTransform(e),null!=n.position){var u=Oo;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),r||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Co,n,u):Io(Co,n,u),i.x=Co.x,i.y=Co.y,o=Co.align,a=Co.verticalAlign;var c=n.origin;if(c&&null!=n.rotation){var d=void 0,h=void 0;"center"===c?(d=.5*u.width,h=.5*u.height):(d=Mo(c[0],u.width),h=Mo(c[1],u.height)),l=!0,i.originX=-i.x+d+(r?0:u.x),i.originY=-i.y+h+(r?0:u.y)}}null!=n.rotation&&(i.rotation=n.rotation);var f=n.offset;f&&(i.x+=f[0],i.y+=f[1],l||(i.originX=-f[0],i.originY=-f[1]));var p=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),y=void 0,m=void 0,v=void 0;p&&this.canBeInsideText()?(y=n.insideFill,m=n.insideStroke,null!=y&&"auto"!==y||(y=this.getInsideTextFill()),null!=m&&"auto"!==m||(m=this.getInsideTextStroke(y),v=!0)):(y=n.outsideFill,m=n.outsideStroke,null!=y&&"auto"!==y||(y=this.getOutsideFill()),null!=m&&"auto"!==m||(m=this.getOutsideStroke(y),v=!0)),(y=y||"#000")===g.fill&&m===g.stroke&&v===g.autoStroke&&o===g.align&&a===g.verticalAlign||(s=!0,g.fill=y,g.stroke=m,g.autoStroke=v,g.align=o,g.verticalAlign=a,e.setDefaultTextStyle(g)),e.__dirty|=In,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?io:ro},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&Mr(e);n||(n=[255,255,255,1]);for(var r=n[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*r+(i?0:255)*(1-r);return n[3]=1,Lr(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},N(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(rt(t))for(var n=Z(t),r=0;r<n.length;r++){var i=n[r];this.attrKV(i,t[i])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var r=this.animators[n],i=r.__fromStateTransition;if(!(r.getLoop()||i&&i!==Ao)){var o=r.targetName,a=o?e[o]:e;r.saveTo(a)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,Do)},t.prototype._savePrimaryToNormal=function(t,e,n){for(var r=0;r<n.length;r++){var i=n[r];null==t[i]||i in e||(e[i]=this[i])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(Ao,!1,t)},t.prototype.useState=function(t,e,n,r){var i=t===Ao;if(this.hasState()||!i){var o=this.currentStates,a=this.stateTransition;if(!(B(o,t)>=0)||!e&&1!==o.length){var s;if(this.stateProxy&&!i&&(s=this.stateProxy(t)),s||(s=this.states&&this.states[t]),s||i){i||this.saveCurrentToNormalState(s);var l=!!(s&&s.hoverLayer||r);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,s,this._normalState,e,!n&&!this.__inHover&&a&&a.duration>0,a);var u=this._textContent,c=this._textGuide;return u&&u.useState(t,e,n,l),c&&c.useState(t,e,n,l),i?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~In),s}k("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var r=[],i=this.currentStates,o=t.length,a=o===i.length;if(a)for(var s=0;s<o;s++)if(t[s]!==i[s]){a=!1;break}if(a)return;for(s=0;s<o;s++){var l=t[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,t)),u||(u=this.states[l]),u&&r.push(u)}var c=r[o-1],d=!!(c&&c.hoverLayer||n);d&&this._toggleHoverLayerFlag(!0);var h=this._mergeStates(r),f=this.stateTransition;this.saveCurrentToNormalState(h),this._applyStateObj(t.join(","),h,this._normalState,!1,!e&&!this.__inHover&&f&&f.duration>0,f);var p=this._textContent,g=this._textGuide;p&&p.useStates(t,e,d),g&&g.useStates(t,e,d),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!d&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~In)}else this.clearStates()},t.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=B(this.currentStates,t);
vendor: 6,825 bytes, line 23
23if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var r=this.currentStates.slice(),i=B(r,t),o=B(r,e)>=0;i>=0?o?r.splice(i,1):r[i]=e:n&&!o&&r.push(e),this.useStates(r)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},r=0;r<t.length;r++){var i=t[r];N(n,i),i.textConfig&&N(e=e||{},i.textConfig)}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,r,i,o){var a=!(e&&r);e&&e.textConfig?(this.textConfig=N({},r?this.textConfig:n.textConfig),N(this.textConfig,e.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},l=!1,u=0;u<Do.length;u++){var c=Do[u],d=i&&To[c];e&&null!=e[c]?d?(l=!0,s[c]=e[c]):this[c]=e[c]:a&&null!=n[c]&&(d?(l=!0,s[c]=n[c]):this[c]=n[c])}if(!i)for(u=0;u<this.animators.length;u++){var h=this.animators[u],f=h.targetName;h.getLoop()||h.__changeFinalValue(f?(e||n)[f]:e||n)}l&&this._transitionState(t,s,o)},t.prototype._attachComponent=function(t){if(t.__zr&&!t.__hostTarget)throw new Error("Text element has been added to zrender.");if(t===this)throw new Error("Recursive component attachment.");var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;if(e!==t){if(e&&e!==t&&this.removeTextContent(),t.__zr&&!t.__hostTarget)throw new Error("Text element has been added to zrender.");t.innerTransformable=new po,this._attachComponent(t),this._textContent=t,this.markRedraw()}},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),N(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=In;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,n){var r=t?this[t]:this;if(r){var i=new Oi(r,e,n);return t&&(i.targetName=t),this.addAnimator(i,t),i}k('Property "'+t+'" is not existed in element '+this.id)},t.prototype.addAnimator=function(t,e){var n=this.__zr,r=this;t.during((function(){r.updateDuringAnimation(e)})).done((function(){var e=r.animators,n=B(e,t);n>=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,r=n.length,i=[],o=0;o<r;o++){var a=n[o];t&&t!==a.scope?i.push(a):a.stop(e)}return this.animators=i,this},t.prototype.animateTo=function(t,e,n){ko(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){ko(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,r){for(var i=ko(this,e,n,r),o=0;o<i.length;o++)i[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=In;var n={};function r(t,e,r){n[t+e+r]||(console.warn("DEPRECATED: '"+t+"' has been deprecated. use '"+e+"', '"+r+"' instead"),n[t+e+r]=!0)}function i(t,n,i,o){function a(t,e){Object.defineProperty(e,0,{get:function(){return t[i]},set:function(e){t[i]=e}}),Object.defineProperty(e,1,{get:function(){return t[o]},set:function(e){t[o]=e}})}Object.defineProperty(e,t,{get:function(){return r(t,i,o),this[n]||a(this,this[n]=[]),this[n]},set:function(e){r(t,i,o),this[i]=e[0],this[o]=e[1],this[n]=e,a(this,e)}})}Object.defineProperty&&(i("position","_legacyPos","x","y"),i("scale","_legacyScale","scaleX","scaleY"),i("origin","_legacyOrigin","originX","originY"))}(),t}();function ko(t,e,n,r,i){var o=[];Fo(t,"",t,e,n=n||{},r,o,i);var a=o.length,s=!1,l=n.done,u=n.aborted,c=function(){s=!0,--a<=0&&(s?l&&l():u&&u())},d=function(){--a<=0&&(s?l&&l():u&&u())};a||l&&l(),o.length>0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var h=0;h<o.length;h++){var f=o[h];c&&f.done(c),d&&f.aborted(d),n.force&&f.duration(n.duration),f.start(n.easing)}return o}function $o(t,e,n){for(var r=0;r<n;r++)t[r]=e[r]}function Eo(t){return V(t[0])}function Lo(t,e,n){if(V(e[n]))if(V(t[n])||(t[n]=[]),ot(e[n])){var r=e[n].length;t[n].length!==r&&(t[n]=new e[n].constructor(r),$o(t[n],e[n],r))}else{var i=e[n],o=t[n],a=i.length;if(Eo(i))for(var s=i[0].length,l=0;l<a;l++)o[l]?$o(o[l],i[l],s):o[l]=Array.prototype.slice.call(i[l]);else $o(o,i,a);o.length=i.length}else t[n]=e[n]}function No(t,e){return t===e||V(t)&&V(e)&&Ro(t,e)}function Ro(t,e){var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function Fo(t,e,n,r,i,o,a,s){for(var l=Z(r),u=i.duration,c=i.delay,d=i.additive,h=i.setToFinal,f=!rt(o),p=t.animators,g=[],y=0;y<l.length;y++){var m=l[y],v=r[m];if(null!=v&&null!=n[m]&&(f||o[m]))if(!rt(v)||V(v)||st(v))g.push(m);
vendor: 4,877 bytes, lines 23-33
23else{if(e){s||(n[m]=v,t.updateDuringAnimation(e));continue}Fo(t,m,n[m],v,i,o&&o[m],a,s)}else s||(n[m]=v,t.updateDuringAnimation(e),g.push(m))}var b=g.length;if(!d&&b)for(var x=0;x<p.length;x++)if((w=p[x]).targetName===e&&w.stopTracks(g)){var _=B(p,w);p.splice(_,1)}if(i.force||(b=(g=Y(g,(function(t){return!No(r[t],n[t])}))).length),b>0||i.force&&!a.length){var w,S=void 0,M=void 0,I=void 0;if(s)for(M={},h&&(S={}),x=0;x<b;x++)M[m=g[x]]=n[m],h?S[m]=r[m]:n[m]=r[m];else if(h)for(I={},x=0;x<b;x++)I[m=g[x]]=yi(n[m]),Lo(n,r,m);(w=new Oi(n,!1,!1,d?Y(p,(function(t){return t.targetName===e})):null)).targetName=e,i.scope&&(w.scope=i.scope),h&&S&&w.whenWithKeys(0,S,g),I&&w.whenWithKeys(0,I,g),w.whenWithKeys(null==u?500:u,s?M:r,g).delay(c||0),t.addAnimator(w,e),a.push(w)}}z(Po,se),z(Po,po);var Bo=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return i(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){if(t&&(t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),t.__hostTarget))throw"This elemenet has been used as an attachment";return this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,r=n.indexOf(e);r>=0&&(n.splice(r,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=B(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,r=n[e];if(t&&t!==this&&t.parent!==this&&t!==r){n[e]=t,r.parent=null;var i=this.__zr;i&&r.removeSelfFromZr(i),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,r=B(n,t);return r<0||(n.splice(r,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n<t.length;n++){var r=t[n];e&&r.removeSelfFromZr(e),r.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,r=0;r<n.length;r++){var i=n[r];t.call(e,i,r)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var r=this._children[n],i=t.call(e,r);r.isGroup&&!i&&r.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].addSelfToZr(e)},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].removeSelfFromZr(e)},e.prototype.getBoundingRect=function(t){for(var e=new nn(0,0,0,0),n=t||this._children,r=[],i=null,o=0;o<n.length;o++){var a=n[o];if(!a.ignore&&!a.invisible){var s=a.getBoundingRect(),l=a.getLocalTransform(r);l?(nn.applyTransform(e,s,l),(i=i||e.clone()).union(e)):(i=i||s.clone()).union(s)}}return i||e},e}(Po);Bo.prototype.type="group"; 24/*! 25 * ZRender, a high performance 2d drawing library. 26 * 27 * Copyright (c) 2013, Baidu Inc. 28 * All rights reserved. 29 * 30 * LICENSE 31 * https://github.com/ecomfe/zrender/blob/master/LICENSE.txt 32 */ 33var jo={},zo={};function Vo(t){delete zo[t]}function Ho(t){if(!t)return!1;if("string"==typeof t)return Nr(t,1)<no;if(t.colorStops){for(var e=t.colorStops,n=0,r=e.length,i=0;i<r;i++)n+=Nr(e[i].color,1);return(n/=r)<no}return!1}var Wo,Go=function(){function t(t,e,n){var r=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var i=new Pn,o=n.renderer||"canvas";if(jo[o]||(o=Z(jo)[0]),!jo[o])throw new Error("Renderer '"+o+"' is not imported. Please import it first.");n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var s=new jo[o](e,i,n,t),l=n.ssr||s.ssrOnly;this.storage=i,this.painter=s;var u,c=a.node||a.worker||l?null:new Qi(s.getViewportRoot(),s.root),d=n.useCoarsePointer,h=44;(null==d||"auto"===d?a.touchEventsSupported:!!d)&&(u=ht(n.pointerSize,h)),this.handler=new dn(i,s,c,s.root,u),this.animation=new Ei({stage:{update:l?null:function(){return r._flush(!0)}}}),l||this.animation.start()}return t.prototype.add=function(t){!this._disposed&&t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){!this._disposed&&t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())}
vendor: 10,349 bytes, line 33
33,t.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=Ho(t))},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},t.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},t.prototype.flush=function(){this._disposed||this._flush(!1)},t.prototype._flush=function(t){var e,n=Pi();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var r=Pi();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:r-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},t.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},t.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof Bo&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},t.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,Vo(this.id))},t}();function Yo(t,e){var n=new Go(P(),t,e);return zo[n.id]=n,n}function Uo(t){t.dispose()}function Zo(){for(var t in zo)zo.hasOwnProperty(t)&&zo[t].dispose();zo={}}function Xo(t){return zo[t]}function qo(t,e){jo[t]=e}function Ko(t){if("function"==typeof Wo)return Wo(t)}function Jo(t){Wo=t}var Qo="5.6.0",ta=Object.freeze({__proto__:null,init:Yo,dispose:Uo,disposeAll:Zo,getInstance:Xo,registerPainter:qo,getElementSSRData:Ko,registerSSRDataGetter:Jo,version:Qo}),ea=1e-4,na=20;function ra(t){return t.replace(/^\s+|\s+$/g,"")}function ia(t,e,n,r){var i=e[0],o=e[1],a=n[0],s=n[1],l=o-i,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(r)if(l>0){if(t<=i)return a;if(t>=o)return s}else{if(t>=i)return a;if(t<=o)return s}else{if(t===i)return a;if(t===o)return s}return(t-i)/l*u+a}function oa(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return tt(t)?ra(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function aa(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),na),t=(+t).toFixed(e),n?t:+t}function sa(t){return t.sort((function(t,e){return t-e})),t}function la(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return ua(t)}function ua(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),r=n>0?+e.slice(n+1):0,i=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:i-1-o;return Math.max(0,a-r)}function ca(t,e){var n=Math.log,r=Math.LN10,i=Math.floor(n(t[1]-t[0])/r),o=Math.round(n(Math.abs(e[1]-e[0]))/r),a=Math.min(Math.max(-i+o,0),20);return isFinite(a)?a:20}function da(t,e,n){return t[e]&&ha(t,n)[e]||0}function ha(t,e){var n=G(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return[];for(var r=Math.pow(10,e),i=W(t,(function(t){return(isNaN(t)?0:t)/n*r*100})),o=100*r,a=W(i,(function(t){return Math.floor(t)})),s=G(a,(function(t,e){return t+e}),0),l=W(i,(function(t,e){return t-a[e]}));s<o;){for(var u=Number.NEGATIVE_INFINITY,c=null,d=0,h=l.length;d<h;++d)l[d]>u&&(u=l[d],c=d);++a[c],l[c]=0,++s}return W(a,(function(t){return t/r}))}function fa(t,e){var n=Math.max(la(t),la(e)),r=t+e;return n>na?r:aa(r,n)}var pa=9007199254740991;function ga(t){var e=2*Math.PI;return(t%e+e)%e}function ya(t){return t>-ea&&t<ea}var ma=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function va(t){if(t instanceof Date)return t;if(tt(t)){var e=ma.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}return null==t?new Date(NaN):new Date(Math.round(t))}function ba(t){return Math.pow(10,xa(t))}function xa(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function _a(t,e){var n=xa(t),r=Math.pow(10,n),i=t/r;return t=(e?i<1.5?1:i<2.5?2:i<4?3:i<7?5:10:i<1?1:i<2?2:i<3?3:i<5?5:10)*r,n>=-20?+t.toFixed(n<0?-n:0):t}function wa(t,e){var n=(t.length-1)*e+1,r=Math.floor(n),i=+t[r-1],o=n-r;return o?i+o*(t[r]-i):i}function Sa(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,r=0;r<t.length;){for(var i=t[r].interval,o=t[r].close,a=0;a<2;a++)i[a]<=e&&(i[a]=e,o[a]=a?1:1-n),e=i[a],n=o[a];i[0]===i[1]&&o[0]*o[1]!=1?t.splice(r,1):r++}return t;function s(t,e,n){return t.interval[n]<e.interval[n]||t.interval[n]===e.interval[n]&&(t.close[n]-e.close[n]==(n?-1:1)||!n&&s(t,e,1))}}function Ma(t){var e=parseFloat(t);return e==t&&(0!==e||!tt(t)||t.indexOf("x")<=0)?e:NaN}function Ia(t){return!isNaN(Ma(t))}function Aa(){return Math.round(9*Math.random())}function Da(t,e){return 0===e?t:Da(e,t%e)}function Ta(t,e){return null==t?e:null==e?t:t*e/Da(t,e)}var Ca="[ECharts] ",Oa={},Pa="undefined"!=typeof console&&console.warn&&console.log;function ka(t,e,n){if(Pa){if(n){if(Oa[e])return;Oa[e]=!0}console[t](Ca+e)}}function $a(t,e){ka("log",t,e)}function Ea(t,e){ka("warn",t,e)}function La(t,e){ka("error",t,e)}function Na(t){ka("warn","DEPRECATED: "+t,!0)}function Ra(t,e,n){Na((n?"["+n+"]":"")+t+" is deprecated, use "+e+" instead.")}function Fa(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=function(t){return void 0===t?"undefined":t===1/0?"Infinity":t===-1/0?"-Infinity":ct(t)?"NaN":t instanceof Date?"Date("+t.toISOString()+")":Q(t)?"function () { ... }":ut(t)?t+"":null};return W(t,(function(t){if(tt(t))return t;var e=n(t);if(null!=e)return e;if("undefined"==typeof JSON||!JSON.stringify)return"?";try{return JSON.stringify(t,(function(t,e){var r=n(e);return null==r?e:r}))}catch(t){return"?"}})).join(" ")}function Ba(t){throw new Error(t)}function ja(t,e,n){return(e-t)*n+t}var za="series\0",Va="\0_ec_\0";function Ha(t){return t instanceof Array?t:null==t?[]:[t]}function Wa(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var r=0,i=n.length;r<i;r++){var o=n[r];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}}var Ga=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function Ya(t){return!rt(t)||J(t)||t instanceof Date?t:t.value}function Ua(t){return rt(t)&&!(t instanceof Array)}function Za(t,e,n){var r="normalMerge"===n,i="replaceMerge"===n,o="replaceAll"===n;t=t||[],e=(e||[]).slice();var a=It();H(e,(function(t,n){rt(t)?(null==t.id||os(t.id)||is(t.id),null==t.name||os(t.name)||is(t.name)):e[n]=null}));var s=Xa(t,a,n);return(r||i)&&qa(s,t,a,e),r&&Ka(s,e),r||i?Ja(s,e,i):o&&Qa(s,e),ts(s),s}function Xa(t,e,n){var r=[];if("replaceAll"===n)return r;for(var i=0;i<t.length;i++){var o=t[i];o&&null!=o.id&&e.set(o.id,i),r.push({existing:"replaceMerge"===n||ss(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return r}function qa(t,e,n,r){H(r,(function(i,o){if(i&&null!=i.id){var a=ns(i.id),s=n.get(a);if(null!=s){var l=t[s];yt(!l.newOption,'Duplicated option on id "'+a+'".'),l.newOption=i,l.existing=e[s],r[o]=null}}}))}function Ka(t,e){H(e,(function(n,r){if(n&&null!=n.name)for(var i=0;i<t.length;i++){var o=t[i].existing;if(!t[i].newOption&&o&&(null==o.id||null==n.id)&&!ss(n)&&!ss(o)&&es("name",o,n))return t[i].newOption=n,void(e[r]=null)}}))}function Ja(t,e,n){H(e,(function(e){if(e){for(var r,i=0;(r=t[i])&&(r.newOption||ss(r.existing)||r.existing&&null!=e.id&&!es("id",e,r.existing));)i++;r?(r.newOption=e,r.brandNew=n):t.push({newOption:e,brandNew:n,existing:null,keyInfo:null}),i++}}))}function Qa(t,e){H(e,(function(e){t.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})}))}function ts(t){var e=It();H(t,(function(t){var n=t.existing;n&&e.set(n.id,t)})),H(t,(function(t){var n=t.newOption;yt(!n||null==n.id||!e.get(n.id)||e.get(n.id)===t,"id duplicates: "+(n&&n.id)),n&&null!=n.id&&e.set(n.id,t),!t.keyInfo&&(t.keyInfo={})})),H(t,(function(t,n){var r=t.existing,i=t.newOption,o=t.keyInfo;if(rt(i)){if(o.name=null!=i.name?ns(i.name):r?r.name:za+n,r)o.id=ns(r.id);else if(null!=i.id)o.id=ns(i.id);else{var a=0;do{o.id="\0"+o.name+"\0"+a++}while(e.get(o.id))}e.set(o.id,t)}}))}function es(t,e,n){var r=rs(e[t],null),i=rs(n[t],null);return null!=r&&null!=i&&r===i}function ns(t){if(null==t)throw new Error;return rs(t,"")}function rs(t,e){return null==t?e:tt(t)?t:nt(t)||et(t)?t+"":e}
vendor: 4,793 bytes, line 33
33function is(t){Ea("`"+t+"` is invalid id or name. Must be a string or number.")}function os(t){return et(t)||Ia(t)}function as(t){var e=t.name;return!(!e||!e.indexOf(za))}function ss(t){return t&&null!=t.id&&0===ns(t.id).indexOf(Va)}function ls(t){return Va+t}function us(t,e,n){H(t,(function(t){var r=t.newOption;rt(r)&&(t.keyInfo.mainType=e,t.keyInfo.subType=cs(e,r,t.existing,n))}))}function cs(t,e,n,r){return e.type?e.type:n?n.subType:r.determineSubType(t,e)}function ds(t,e){var n={},r={};return i(t||[],n),i(e||[],r,n),[o(n),o(r)];function i(t,e,n){for(var r=0,i=t.length;r<i;r++){var o=rs(t[r].seriesId,null);if(null==o)return;for(var a=Ha(t[r].dataIndex),s=n&&n[o],l=0,u=a.length;l<u;l++){var c=a[l];s&&s[c]?s[c]=null:(e[o]||(e[o]={}))[c]=1}}}function o(t,e){var n=[];for(var r in t)if(t.hasOwnProperty(r)&&null!=t[r])if(e)n.push(+r);else{var i=o(t[r],!0);i.length&&n.push({seriesId:r,dataIndex:i})}return n}}function hs(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?J(e.dataIndex)?W(e.dataIndex,(function(e){return t.indexOfRawIndex(e)})):t.indexOfRawIndex(e.dataIndex):null!=e.name?J(e.name)?W(e.name,(function(e){return t.indexOfName(e)})):t.indexOfName(e.name):void 0}function fs(){var t="__ec_inner_"+ps++;return function(e){return e[t]||(e[t]={})}}var ps=Aa();function gs(t,e,n){var r=ys(e,n),i=r.mainTypeSpecified,o=r.queryOptionMap,a=r.others,s=n?n.defaultMainType:null;return!i&&s&&o.set(s,{}),o.each((function(e,r){var i=bs(t,r,e,{useDefault:s===r,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});a[r+"Models"]=i.models,a[r+"Model"]=i.models[0]})),a}function ys(t,e){var n;if(tt(t)){var r={};r[t+"Index"]=0,n=r}else n=t;var i=It(),o={},a=!1;return H(n,(function(t,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var r=n.match(/^(\w+)(Index|Id|Name)$/)||[],s=r[1],l=(r[2]||"").toLowerCase();!s||!l||e&&e.includeMainTypes&&B(e.includeMainTypes,s)<0||(a=a||!!s,(i.get(s)||i.set(s,{}))[l]=t)}else o[n]=t})),{mainTypeSpecified:a,queryOptionMap:i,others:o}}var ms={useDefault:!0,enableAll:!1,enableNone:!1},vs={useDefault:!1,enableAll:!0,enableNone:!0};function bs(t,e,n,r){r=r||ms;var i=n.index,o=n.id,a=n.name,s={models:null,specified:null!=i||null!=o||null!=a};if(!s.specified){var l=void 0;return s.models=r.useDefault&&(l=t.getComponent(e))?[l]:[],s}return"none"===i||!1===i?(yt(r.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):("all"===i&&(yt(r.enableAll,'`"all"` is not a valid value on index option.'),i=o=a=null),s.models=t.queryComponents({mainType:e,index:i,id:o,name:a}),s)}function xs(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function _s(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function ws(t){return"auto"===t?a.domSupported?"html":"richText":t||"html"}function Ss(t,e){var n=It(),r=[];return H(t,(function(t){var i=e(t);(n.get(i)||(r.push(i),n.set(i,[]))).push(t)})),{keys:r,buckets:n}}function Ms(t,e,n,r,i){var o=null==e||"auto"===e;if(null==r)return r;if(nt(r))return aa(p=ja(n||0,r,i),o?Math.max(la(n||0),la(r)):e);if(tt(r))return i<1?n:r;for(var a=[],s=n,l=r,u=Math.max(s?s.length:0,l.length),c=0;c<u;++c){var d=t.getDimensionInfo(c);if(d&&"ordinal"===d.type)a[c]=(i<1&&s?s:l)[c];else{var h=s&&s[c]?s[c]:0,f=l[c],p=ja(h,f,i);a[c]=aa(p,o?Math.max(la(h),la(f)):e)}}return a}var Is=".",As="___EC__COMPONENT__CONTAINER___",Ds="___EC__EXTENDED_CLASS___";function Ts(t){var e={main:"",sub:""};if(t){var n=t.split(Is);e.main=n[0]||"",e.sub=n[1]||""}return e}function Cs(t){yt(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function Os(t){return!(!t||!t[Ds])}function Ps(t,e){t.$constructor=t,t.extend=function(t){H(e,(function(e){t[e]||console.warn("Method `"+e+"` should be implemented"+(t.type?" in "+t.type:"")+".")}));var n,r=this;return ks(r)?n=function(t){function e(){return t.apply(this,arguments)||this}return i(e,t),e}(r):(n=function(){(t.$constructor||r).apply(this,arguments)},j(n,this)),N(n.prototype,t),n[Ds]=!0,n.extend=this.extend,n.superCall=Ns,n.superApply=Rs,n.superClass=r,n}}function ks(t){return Q(t)&&/^class\s/.test(Function.prototype.toString.call(t))}function $s(t,e){t.extend=e.extend}var Es=Math.round(10*Math.random());function Ls(t){var e=["__\0is_clz",Es++].join("_");t.prototype[e]=!0,yt(!t.isInstance,'The method "is" can not be defined.'),t.isInstance=function(t){return!(!t||!t[e])}}function Ns(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this.superClass.prototype[e].apply(t,n)}function Rs(t,e,n){return this.superClass.prototype[e].apply(t,n)}function Fs(t){var e={};function n(t){var n=e[t.main];return n&&n[As]||((n=e[t.main]={})[As]=!0),n}t.registerClass=function(t){var r=t.type||t.prototype.type;if(r){Cs(r),t.prototype.type=r;var i=Ts(r);
vendor: 21,772 bytes, line 33
33i.sub?i.sub!==As&&(n(i)[i.sub]=t):(e[i.main]&&console.warn(i.main+" exists."),e[i.main]=t)}return t},t.getClass=function(t,n,r){var i=e[t];if(i&&i[As]&&(i=n?i[n]:null),r&&!i)throw new Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return i},t.getClassesByMainType=function(t){var n=Ts(t),r=[],i=e[n.main];return i&&i[As]?H(i,(function(t,e){e!==As&&r.push(t)})):r.push(i),r},t.hasClass=function(t){var n=Ts(t);return!!e[n.main]},t.getAllClassMainTypes=function(){var t=[];return H(e,(function(e,n){t.push(n)})),t},t.hasSubTypes=function(t){var n=Ts(t),r=e[n.main];return r&&r[As]}}function Bs(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(n,r,i){for(var o={},a=0;a<t.length;a++){var s=t[a][1];if(!(r&&B(r,s)>=0||i&&B(i,s)<0)){var l=n.getShallow(s,e);null!=l&&(o[t[a][0]]=l)}}return o}}var js=Bs([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),zs=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return js(this,t,e)},t}(),Vs=new cr(50);function Hs(t){if("string"==typeof t){var e=Vs.get(t);return e&&e.image}return t}function Ws(t,e,n,r,i){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var o=Vs.get(t),a={hostEl:n,cb:r,cbPayload:i};return o?!Ys(e=o.image)&&o.pending.push(a):((e=m.loadImage(t,Gs,Gs)).__zrImageSrc=t,Vs.put(t,e.__cachedImgObj={image:e,pending:[a]})),e}return t}return e}function Gs(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],r=n.cb;r&&r(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function Ys(t){return t&&t.width&&t.height}var Us=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function Zs(t,e,n,r,i){if(!e)return"";var o=(t+"").split("\n");i=Xs(e,n,r,i);for(var a=0,s=o.length;a<s;a++)o[a]=qs(o[a],i);return o.join("\n")}function Xs(t,e,n,r){var i=N({},r=r||{});i.font=e,n=ht(n,"..."),i.maxIterations=ht(r.maxIterations,2);var o=i.minChar=ht(r.minChar,0);i.cnCharWidth=vo("å½",e);var a=i.ascCharWidth=vo("a",e);i.placeholder=ht(r.placeholder,"");for(var s=t=Math.max(0,t-1),l=0;l<o&&s>=a;l++)s-=a;var u=vo(n,e);return u>s&&(n="",u=0),s=t-u,i.ellipsis=n,i.ellipsisWidth=u,i.contentWidth=s,i.containerWidth=t,i}function qs(t,e){var n=e.containerWidth,r=e.font,i=e.contentWidth;if(!n)return"";var o=vo(t,r);if(o<=n)return t;for(var a=0;;a++){if(o<=i||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?Ks(t,i,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*i/o):0;o=vo(t=t.substr(0,s),r)}return""===t&&(t=e.placeholder),t}function Ks(t,e,n,r){for(var i=0,o=0,a=t.length;o<a&&i<e;o++){var s=t.charCodeAt(o);i+=0<=s&&s<=127?n:r}return o}function Js(t,e){null!=t&&(t+="");var n,r=e.overflow,i=e.padding,o=e.font,a="truncate"===r,s=So(o),l=ht(e.lineHeight,s),u=!!e.backgroundColor,c="truncate"===e.lineOverflow,d=e.width,h=(n=null==d||"break"!==r&&"breakAll"!==r?t?t.split("\n"):[]:t?sl(t,e.font,d,"breakAll"===r,0).lines:[]).length*l,f=ht(e.height,h);if(h>f&&c){var p=Math.floor(f/l);n=n.slice(0,p)}if(t&&a&&null!=d)for(var g=Xs(d,o,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),y=0;y<n.length;y++)n[y]=qs(n[y],g);var m=f,v=0;for(y=0;y<n.length;y++)v=Math.max(vo(n[y],o),v);null==d&&(d=v);var b=v;return i&&(m+=i[0]+i[2],b+=i[1]+i[3],d+=i[1]+i[3]),u&&(b=d),{lines:n,height:f,outerWidth:b,outerHeight:m,lineHeight:l,calculatedLineHeight:s,contentWidth:v,contentHeight:h,width:d}}var Qs=function(){function t(){}return t}(),tl=function(){function t(t){this.tokens=[],t&&(this.tokens=t)}return t}(),el=function(){function t(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return t}();function nl(t,e){var n=new el;if(null!=t&&(t+=""),!t)return n;for(var r,i=e.width,o=e.height,a=e.overflow,s="break"!==a&&"breakAll"!==a||null==i?null:{width:i,accumWidth:0,breakAll:"breakAll"===a},l=Us.lastIndex=0;null!=(r=Us.exec(t));){var u=r.index;u>l&&rl(n,t.substring(l,u),e,s),rl(n,r[2],e,s,r[1]),l=Us.lastIndex}l<t.length&&rl(n,t.substring(l,t.length),e,s);var c=[],d=0,h=0,f=e.padding,p="truncate"===a,g="truncate"===e.lineOverflow;function y(t,e,n){t.width=e,t.lineHeight=n,d+=n,h=Math.max(h,e)}t:for(var m=0;m<n.lines.length;m++){for(var v=n.lines[m],b=0,x=0,_=0;_<v.tokens.length;_++){var w=(k=v.tokens[_]).styleName&&e.rich[k.styleName]||{},S=k.textPadding=w.padding,M=S?S[1]+S[3]:0,I=k.font=w.font||e.font;k.contentHeight=So(I);var A=ht(w.height,k.contentHeight);if(k.innerHeight=A,S&&(A+=S[0]+S[2]),k.height=A,k.lineHeight=ft(w.lineHeight,e.lineHeight,A),k.align=w&&w.align||e.align,k.verticalAlign=w&&w.verticalAlign||"middle",g&&null!=o&&d+k.lineHeight>o){_>0?(v.tokens=v.tokens.slice(0,_),y(v,x,b),n.lines=n.lines.slice(0,m+1)):n.lines=n.lines.slice(0,m);break t}var D=w.width,T=null==D||"auto"===D;if("string"==typeof D&&"%"===D.charAt(D.length-1))k.percentWidth=D,c.push(k),k.contentWidth=vo(k.text,I);else{if(T){var C=w.backgroundColor,O=C&&C.image;O&&Ys(O=Hs(O))&&(k.width=Math.max(k.width,O.width*A/O.height))}var P=p&&null!=i?i-x:null;null!=P&&P<k.width?!T||P<M?(k.text="",k.width=k.contentWidth=0):(k.text=Zs(k.text,P-M,I,e.ellipsis,{minChar:e.truncateMinChar}),k.width=k.contentWidth=vo(k.text,I)):k.contentWidth=vo(k.text,I)}k.width+=M,x+=k.width,w&&(b=Math.max(b,k.lineHeight))}y(v,x,b)}for(n.outerWidth=n.width=ht(i,h),n.outerHeight=n.height=ht(o,d),n.contentHeight=d,n.contentWidth=h,f&&(n.outerWidth+=f[1]+f[3],n.outerHeight+=f[0]+f[2]),m=0;m<c.length;m++){var k,$=(k=c[m]).percentWidth;k.width=parseInt($,10)/100*n.width}return n}function rl(t,e,n,r,i){var o,a,s=""===e,l=i&&n.rich[i]||{},u=t.lines,c=l.font||n.font,d=!1;if(r){var h=l.padding,f=h?h[1]+h[3]:0;if(null!=l.width&&"auto"!==l.width){var p=Mo(l.width,r.width)+f;u.length>0&&p+r.accumWidth>r.width&&(o=e.split("\n"),d=!0),r.accumWidth=p}else{var g=sl(e,c,r.width,r.breakAll,r.accumWidth);r.accumWidth=g.accumWidth+f,a=g.linesWidths,o=g.lines}}else o=e.split("\n");for(var y=0;y<o.length;y++){var m=o[y],v=new Qs;if(v.styleName=i,v.text=m,v.isLineHolder=!m&&!s,"number"==typeof l.width?v.width=l.width:v.width=a?a[y]:vo(m,c),y||d)u.push(new tl([v]));else{var b=(u[u.length-1]||(u[0]=new tl)).tokens,x=b.length;1===x&&b[0].isLineHolder?b[0]=v:(m||!x||s)&&b.push(v)}}}function il(t){var e=t.charCodeAt(0);return e>=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}var ol=G(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function al(t){return!il(t)||!!ol[t]}function sl(t,e,n,r,i){for(var o=[],a=[],s="",l="",u=0,c=0,d=0;d<t.length;d++){var h=t.charAt(d);if("\n"!==h){var f=vo(h,e),p=!r&&!al(h);(o.length?c+f>n:i+c+f>n)?c?(s||l)&&(p?(s||(s=l,l="",c=u=0),o.push(s),a.push(c-u),l+=h,s="",c=u+=f):(l&&(s+=l,l="",u=0),o.push(s),a.push(c),s=h,c=f)):p?(o.push(l),a.push(u),l=h,u=f):(o.push(h),a.push(f)):(c+=f,p?(l+=h,u+=f):(l&&(s+=l,l="",u=0),s+=h))}else l&&(s+=l,c+=u),o.push(s),a.push(c),s="",l="",u=0,c=0}return o.length||s||(s=t,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(c)),1===o.length&&(c+=i),{accumWidth:c,lines:o,linesWidths:a}}var ll="__zr_style_"+Math.round(10*Math.random()),ul={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},cl={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};ul[ll]=!0;var dl=["z","z2","invisible"],hl=["invisible"],fl=function(t){function e(e){return t.call(this,e)||this}var n;return i(e,t),e.prototype._init=function(e){for(var n=Z(e),r=0;r<n.length;r++){var i=n[r];"style"===i?this.useStyle(e[i]):t.prototype.attrKV.call(this,i,e[i])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(t,e,n,r){var i=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&yl(this,t,e)||i&&!i[0]&&!i[3])return!1;if(n&&this.__clipPaths)for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1;if(r&&this.parent)for(var a=this.parent;a;){if(a.ignore)return!1;a=a.parent}return!0},e.prototype.contain=function(t,e){return this.rectContain(t,e)},e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.rectContain=function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},e.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,n=this.getBoundingRect(),r=this.style,i=r.shadowBlur||0,o=r.shadowOffsetX||0,a=r.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new nn(0,0,0,0)),e?nn.applyTransform(t,n,e):t.copy(n),(i||o||a)&&(t.width+=2*i+Math.abs(o),t.height+=2*i+Math.abs(a),t.x=Math.min(t.x,t.x+o-i),t.y=Math.min(t.y,t.y+a-i));var s=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-s),t.y=Math.floor(t.y-s),t.width=Math.ceil(t.width+1+2*s),t.height=Math.ceil(t.height+1+2*s))}return t},e.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new nn(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(t){return this.animate("style",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(e,n){"style"!==e?t.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},e.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:N(this.style,t),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=An,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(this.__dirty&An)},e.prototype.styleUpdated=function(){this.__dirty&=~An},e.prototype.createStyle=function(t){return Dt(ul,t)},e.prototype.useStyle=function(t){t[ll]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[ll]},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,dl)},e.prototype._applyStateObj=function(e,n,r,i,o,a){t.prototype._applyStateObj.call(this,e,n,r,i,o,a);var s,l=!(n&&i);if(n&&n.style?o?i?s=n.style:(s=this._mergeStyle(this.createStyle(),r.style),this._mergeStyle(s,n.style)):(s=this._mergeStyle(this.createStyle(),i?this.style:r.style),this._mergeStyle(s,n.style)):l&&(s=r.style),s)if(o){var u=this.style;if(this.style=this.createStyle(l?{}:u),l)for(var c=Z(u),d=0;d<c.length;d++)(f=c[d])in s&&(s[f]=s[f],this.style[f]=u[f]);var h=Z(s);for(d=0;d<h.length;d++){var f=h[d];this.style[f]=this.style[f]}this._transitionState(e,{style:s},a,this.getAnimationStyleProps())}else this.useStyle(s);var p=this.__inHover?hl:dl;for(d=0;d<p.length;d++)f=p[d],n&&null!=n[f]?this[f]=n[f]:l&&null!=r[f]&&(this[f]=r[f])},e.prototype._mergeStates=function(e){for(var n,r=t.prototype._mergeStates.call(this,e),i=0;i<e.length;i++){var o=e[i];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(r.style=n),r},e.prototype._mergeStyle=function(t,e){return N(t,e),t},e.prototype.getAnimationStyleProps=function(){return cl},e.initDefaultProps=((n=e.prototype).type="displayable",n.invisible=!1,n.z=0,n.z2=0,n.zlevel=0,n.culling=!1,n.cursor="pointer",n.rectHover=!1,n.incremental=!1,n._rect=null,n.dirtyRectTolerance=0,void(n.__dirty=In|An)),e}(Po),pl=new nn(0,0,0,0),gl=new nn(0,0,0,0);function yl(t,e,n){return pl.copy(t.getBoundingRect()),t.transform&&pl.applyTransform(t.transform),gl.width=e,gl.height=n,!pl.intersect(gl)}var ml=Math.min,vl=Math.max,bl=Math.sin,xl=Math.cos,_l=2*Math.PI,wl=$t(),Sl=$t(),Ml=$t();function Il(t,e,n){if(0!==t.length){for(var r=t[0],i=r[0],o=r[0],a=r[1],s=r[1],l=1;l<t.length;l++)r=t[l],i=ml(i,r[0]),o=vl(o,r[0]),a=ml(a,r[1]),s=vl(s,r[1]);e[0]=i,e[1]=a,n[0]=o,n[1]=s}}function Al(t,e,n,r,i,o){i[0]=ml(t,n),i[1]=ml(e,r),o[0]=vl(t,n),o[1]=vl(e,r)}var Dl=[],Tl=[];function Cl(t,e,n,r,i,o,a,s,l,u){var c=Zn,d=Gn,h=c(t,n,i,a,Dl);l[0]=1/0,l[1]=1/0,u[0]=-1/0,u[1]=-1/0;for(var f=0;f<h;f++){var p=d(t,n,i,a,Dl[f]);l[0]=ml(p,l[0]),u[0]=vl(p,u[0])}for(h=c(e,r,o,s,Tl),f=0;f<h;f++){var g=d(e,r,o,s,Tl[f]);l[1]=ml(g,l[1]),u[1]=vl(g,u[1])}l[0]=ml(t,l[0]),u[0]=vl(t,u[0]),l[0]=ml(a,l[0]),u[0]=vl(a,u[0]),l[1]=ml(e,l[1]),u[1]=vl(e,u[1]),l[1]=ml(s,l[1]),u[1]=vl(s,u[1])}function Ol(t,e,n,r,i,o,a,s){var l=er,u=Jn,c=vl(ml(l(t,n,i),1),0),d=vl(ml(l(e,r,o),1),0),h=u(t,n,i,c),f=u(e,r,o,d);a[0]=ml(t,i,h),a[1]=ml(e,o,f),s[0]=vl(t,i,h),s[1]=vl(e,o,f)}function Pl(t,e,n,r,i,o,a,s,l){var u=ne,c=re,d=Math.abs(i-o);if(d%_l<1e-4&&d>1e-4)return s[0]=t-n,s[1]=e-r,l[0]=t+n,void(l[1]=e+r);if(wl[0]=xl(i)*n+t,wl[1]=bl(i)*r+e,Sl[0]=xl(o)*n+t,Sl[1]=bl(o)*r+e,u(s,wl,Sl),c(l,wl,Sl),(i%=_l)<0&&(i+=_l),(o%=_l)<0&&(o+=_l),i>o&&!a?o+=_l:i<o&&a&&(i+=_l),a){var h=o;o=i,i=h}for(var f=0;f<o;f+=Math.PI/2)f>i&&(Ml[0]=xl(f)*n+t,Ml[1]=bl(f)*r+e,u(s,Ml,s),c(l,Ml,l))}var kl={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},$l=[],El=[],Ll=[],Nl=[],Rl=[],Fl=[],Bl=Math.min,jl=Math.max,zl=Math.cos,Vl=Math.sin,Hl=Math.abs,Wl=Math.PI,Gl=2*Wl,Yl="undefined"!=typeof Float32Array,Ul=[];function Zl(t){return Math.round(t/Wl*1e8)/1e8%2*Wl}function Xl(t,e){var n=Zl(t[0]);n<0&&(n+=Gl);var r=n-t[0],i=t[1];i+=r,!e&&i-n>=Gl?i=n+Gl:e&&n-i>=Gl?i=n-Gl:!e&&n>i?i=n+(Gl-Zl(n-i)):e&&n<i&&(i=n-(Gl-Zl(i-n))),t[0]=n,t[1]=i}var ql=function(){function t(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(t,e,n){(n=n||0)>0&&(this._ux=Hl(n/eo/t)||0,this._uy=Hl(n/eo/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(kl.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=Hl(t-this._xi),r=Hl(e-this._yi),i=n>this._ux||r>this._uy;if(this.addData(kl.L,t,e),this._ctx&&i&&this._ctx.lineTo(t,e),i)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+r*r;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,r,i,o){return this._drawPendingPt(),this.addData(kl.C,t,e,n,r,i,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,r,i,o),this._xi=i,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,r){return this._drawPendingPt(),this.addData(kl.Q,t,e,n,r),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,r),this._xi=n,this._yi=r,this},t.prototype.arc=function(t,e,n,r,i,o){this._drawPendingPt(),Ul[0]=r,Ul[1]=i,Xl(Ul,o),r=Ul[0];var a=(i=Ul[1])-r;return this.addData(kl.A,t,e,n,n,r,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,r,i,o),this._xi=zl(i)*n+t,this._yi=Vl(i)*n+e,this},t.prototype.arcTo=function(t,e,n,r,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,r,i),this},t.prototype.rect=function(t,e,n,r){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,r),this.addData(kl.R,t,e,n,r),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(kl.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!Yl||(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},t.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,r=this._len,i=0;i<e;i++)n+=t[i].len();for(Yl&&this.data instanceof Float32Array&&(this.data=new Float32Array(r+n)),i=0;i<e;i++)for(var o=t[i].data,a=0;a<o.length;a++)this.data[r++]=o[a];this._len=r},t.prototype.addData=function(t,e,n,r,i,o,a,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var c=0;c<arguments.length;c++)u[this._len++]=arguments[c]}},t.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,Yl&&this._len>11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){Ll[0]=Ll[1]=Rl[0]=Rl[1]=Number.MAX_VALUE,Nl[0]=Nl[1]=Fl[0]=Fl[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,r=0,i=0,o=0;for(t=0;t<this._len;){var a=e[t++],s=1===t;switch(s&&(i=n=e[t],o=r=e[t+1]),a){case kl.M:n=i=e[t++],r=o=e[t++],Rl[0]=i,Rl[1]=o,Fl[0]=i,Fl[1]=o;break;case kl.L:Al(n,r,e[t],e[t+1],Rl,Fl),n=e[t++],r=e[t++];break;case kl.C:Cl(n,r,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],Rl,Fl),n=e[t++],r=e[t++];break;case kl.Q:Ol(n,r,e[t++],e[t++],e[t],e[t+1],Rl,Fl),n=e[t++],r=e[t++];break;case kl.A:var l=e[t++],u=e[t++],c=e[t++],d=e[t++],h=e[t++],f=e[t++]+h;t+=1;var p=!e[t++];s&&(i=zl(h)*c+l,o=Vl(h)*d+u),Pl(l,u,c,d,h,f,p,Rl,Fl),n=zl(f)*c+l,r=Vl(f)*d+u;break;case kl.R:Al(i=n=e[t++],o=r=e[t++],i+e[t++],o+e[t++],Rl,Fl);break;case kl.Z:n=i,r=o}ne(Ll,Ll,Rl),re(Nl,Nl,Fl)}return 0===t&&(Ll[0]=Ll[1]=Nl[0]=Nl[1]=0),new nn(Ll[0],Ll[1],Nl[0]-Ll[0],Nl[1]-Ll[1])},t.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,r=this._uy,i=0,o=0,a=0,s=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,u=0,c=0,d=0;d<e;){var h=t[d++],f=1===d;f&&(a=i=t[d],s=o=t[d+1]);var p=-1;switch(h){case kl.M:i=a=t[d++],o=s=t[d++];break;case kl.L:var g=t[d++],y=(b=t[d++])-o;(Hl(C=g-i)>n||Hl(y)>r||d===e-1)&&(p=Math.sqrt(C*C+y*y),i=g,o=b);break;case kl.C:var m=t[d++],v=t[d++],b=(g=t[d++],t[d++]),x=t[d++],_=t[d++];p=Kn(i,o,m,v,g,b,x,_,10),i=x,o=_;break;case kl.Q:p=ir(i,o,m=t[d++],v=t[d++],g=t[d++],b=t[d++],10),i=g,o=b;break;case kl.A:var w=t[d++],S=t[d++],M=t[d++],I=t[d++],A=t[d++],D=t[d++],T=D+A;d+=1,f&&(a=zl(A)*M+w,s=Vl(A)*I+S),p=jl(M,I)*Bl(Gl,Math.abs(D)),i=zl(T)*M+w,o=Vl(T)*I+S;break;case kl.R:a=i=t[d++],s=o=t[d++],p=2*t[d++]+2*t[d++];break;case kl.Z:var C=a-i;y=s-o,p=Math.sqrt(C*C+y*y),i=a,o=s}p>=0&&(l[c++]=p,u+=p)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,r,i,o,a,s,l,u,c,d,h=this.data,f=this._ux,p=this._uy,g=this._len,y=e<1,m=0,v=0,b=0;if(!y||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=e*this._pathLen))t:for(var x=0;x<g;){var _=h[x++],w=1===x;switch(w&&(n=i=h[x],r=o=h[x+1]),_!==kl.L&&b>0&&(t.lineTo(c,d),b=0),_){case kl.M:n=i=h[x++],r=o=h[x++],t.moveTo(i,o);break;case kl.L:a=h[x++],s=h[x++];var S=Hl(a-i),M=Hl(s-o);if(S>f||M>p){if(y){if(m+(Z=l[v++])>u){var I=(u-m)/Z;t.lineTo(i*(1-I)+a*I,o*(1-I)+s*I);break t}m+=Z}t.lineTo(a,s),i=a,o=s,b=0}else{var A=S*S+M*M;A>b&&(c=a,d=s,b=A)}break;case kl.C:var D=h[x++],T=h[x++],C=h[x++],O=h[x++],P=h[x++],k=h[x++];if(y){if(m+(Z=l[v++])>u){Xn(i,D,C,P,I=(u-m)/Z,$l),Xn(o,T,O,k,I,El),t.bezierCurveTo($l[1],El[1],$l[2],El[2],$l[3],El[3]);break t}m+=Z}t.bezierCurveTo(D,T,C,O,P,k),i=P,o=k;break;case kl.Q:if(D=h[x++],T=h[x++],C=h[x++],O=h[x++],y){if(m+(Z=l[v++])>u){nr(i,D,C,I=(u-m)/Z,$l),nr(o,T,O,I,El),t.quadraticCurveTo($l[1],El[1],$l[2],El[2]);break t}m+=Z}t.quadraticCurveTo(D,T,C,O),i=C,o=O;break;case kl.A:var $=h[x++],E=h[x++],L=h[x++],N=h[x++],R=h[x++],F=h[x++],B=h[x++],j=!h[x++],z=L>N?L:N,V=Hl(L-N)>.001,H=R+F,W=!1;if(y&&(m+(Z=l[v++])>u&&(H=R+F*(u-m)/Z,W=!0),m+=Z),V&&t.ellipse?t.ellipse($,E,L,N,B,R,H,j):t.arc($,E,z,R,H,j),W)break t;w&&(n=zl(R)*L+$,r=Vl(R)*N+E),i=zl(H)*L+$,o=Vl(H)*N+E;break;case kl.R:n=i=h[x],r=o=h[x+1],a=h[x++],s=h[x++];var G=h[x++],Y=h[x++];if(y){if(m+(Z=l[v++])>u){var U=u-m;t.moveTo(a,s),t.lineTo(a+Bl(U,G),s),(U-=G)>0&&t.lineTo(a+G,s+Bl(U,Y)),(U-=Y)>0&&t.lineTo(a+jl(G-U,0),s+Y),(U-=G)>0&&t.lineTo(a,s+jl(Y-U,0));break t}m+=Z}t.rect(a,s,G,Y);break;case kl.Z:if(y){var Z;if(m+(Z=l[v++])>u){I=(u-m)/Z,t.lineTo(i*(1-I)+n*I,o*(1-I)+r*I);break t}m+=Z}t.closePath(),i=n,o=r}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=kl,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}();function Kl(t,e,n,r,i,o,a){if(0===i)return!1;var s=i,l=0;if(a>e+s&&a>r+s||a<e-s&&a<r-s||o>t+s&&o>n+s||o<t-s&&o<n-s)return!1;if(t===n)return Math.abs(o-t)<=s/2;var u=(l=(e-r)/(t-n))*o-a+(t*r-n*e)/(t-n);return u*u/(l*l+1)<=s/2*s/2}function Jl(t,e,n,r,i,o,a,s,l,u,c){if(0===l)return!1;var d=l;return!(c>e+d&&c>r+d&&c>o+d&&c>s+d||c<e-d&&c<r-d&&c<o-d&&c<s-d||u>t+d&&u>n+d&&u>i+d&&u>a+d||u<t-d&&u<n-d&&u<i-d&&u<a-d)&&qn(t,e,n,r,i,o,a,s,u,c,null)<=d/2}function Ql(t,e,n,r,i,o,a,s,l){if(0===a)return!1;var u=a;return!(l>e+u&&l>r+u&&l>o+u||l<e-u&&l<r-u&&l<o-u||s>t+u&&s>n+u&&s>i+u||s<t-u&&s<n-u&&s<i-u)&&rr(t,e,n,r,i,o,s,l,null)<=u/2}var tu=2*Math.PI;function eu(t){return(t%=tu)<0&&(t+=tu),t}var nu=2*Math.PI;function ru(t,e,n,r,i,o,a,s,l){if(0===a)return!1;var u=a;s-=t,l-=e;var c=Math.sqrt(s*s+l*l);if(c-u>n||c+u<n)return!1;if(Math.abs(r-i)%nu<1e-4)return!0;
vendor: 1,213 bytes, line 33
33if(o){var d=r;r=eu(i),i=eu(d)}else r=eu(r),i=eu(i);r>i&&(i+=nu);var h=Math.atan2(l,s);return h<0&&(h+=nu),h>=r&&h<=i||h+nu>=r&&h+nu<=i}function iu(t,e,n,r,i,o){if(o>e&&o>r||o<e&&o<r)return 0;if(r===e)return 0;var a=(o-e)/(r-e),s=r<e?1:-1;1!==a&&0!==a||(s=r<e?.5:-.5);var l=a*(n-t)+t;return l===i?1/0:l>i?s:0}var ou=ql.CMD,au=2*Math.PI,su=1e-4;function lu(t,e){return Math.abs(t-e)<su}var uu=[-1,-1,-1],cu=[-1,-1];function du(){var t=cu[0];cu[0]=cu[1],cu[1]=t}function hu(t,e,n,r,i,o,a,s,l,u){if(u>e&&u>r&&u>o&&u>s||u<e&&u<r&&u<o&&u<s)return 0;var c=Un(e,r,o,s,u,uu);if(0===c)return 0;for(var d=0,h=-1,f=void 0,p=void 0,g=0;g<c;g++){var y=uu[g],m=0===y||1===y?.5:1;Gn(t,n,i,a,y)<l||(h<0&&(h=Zn(e,r,o,s,cu),cu[1]<cu[0]&&h>1&&du(),f=Gn(e,r,o,s,cu[0]),h>1&&(p=Gn(e,r,o,s,cu[1]))),2===h?y<cu[0]?d+=f<e?m:-m:y<cu[1]?d+=p<f?m:-m:d+=s<p?m:-m:y<cu[0]?d+=f<e?m:-m:d+=s<f?m:-m)}return d}function fu(t,e,n,r,i,o,a,s){if(s>e&&s>r&&s>o||s<e&&s<r&&s<o)return 0;var l=tr(e,r,o,s,uu);if(0===l)return 0;var u=er(e,r,o);if(u>=0&&u<=1){for(var c=0,d=Jn(e,r,o,u),h=0;h<l;h++){var f=0===uu[h]||1===uu[h]?.5:1;Jn(t,n,i,uu[h])<a||(uu[h]<u?c+=d<e?f:-f:c+=o<d?f:-f)}return c}return f=0===uu[0]||1===uu[0]?.5:1,Jn(t,n,i,uu[0])<a?0:o<e?f:-f}
vendor: 4,309 bytes, line 33
33function pu(t,e,n,r,i,o,a,s){if((s-=e)>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);uu[0]=-l,uu[1]=l;var u=Math.abs(r-i);if(u<1e-4)return 0;if(u>=au-1e-4){r=0,i=au;var c=o?1:-1;return a>=uu[0]+t&&a<=uu[1]+t?c:0}if(r>i){var d=r;r=i,i=d}r<0&&(r+=au,i+=au);for(var h=0,f=0;f<2;f++){var p=uu[f];if(p+t>a){var g=Math.atan2(s,p);c=o?1:-1,g<0&&(g=au+g),(g>=r&&g<=i||g+au>=r&&g+au<=i)&&(g>Math.PI/2&&g<1.5*Math.PI&&(c=-c),h+=c)}}return h}function gu(t,e,n,r,i){for(var o,a,s=t.data,l=t.len(),u=0,c=0,d=0,h=0,f=0,p=0;p<l;){var g=s[p++],y=1===p;switch(g===ou.M&&p>1&&(n||(u+=iu(c,d,h,f,r,i))),y&&(h=c=s[p],f=d=s[p+1]),g){case ou.M:c=h=s[p++],d=f=s[p++];break;case ou.L:if(n){if(Kl(c,d,s[p],s[p+1],e,r,i))return!0}else u+=iu(c,d,s[p],s[p+1],r,i)||0;c=s[p++],d=s[p++];break;case ou.C:if(n){if(Jl(c,d,s[p++],s[p++],s[p++],s[p++],s[p],s[p+1],e,r,i))return!0}else u+=hu(c,d,s[p++],s[p++],s[p++],s[p++],s[p],s[p+1],r,i)||0;c=s[p++],d=s[p++];break;case ou.Q:if(n){if(Ql(c,d,s[p++],s[p++],s[p],s[p+1],e,r,i))return!0}else u+=fu(c,d,s[p++],s[p++],s[p],s[p+1],r,i)||0;c=s[p++],d=s[p++];break;case ou.A:var m=s[p++],v=s[p++],b=s[p++],x=s[p++],_=s[p++],w=s[p++];p+=1;var S=!!(1-s[p++]);o=Math.cos(_)*b+m,a=Math.sin(_)*x+v,y?(h=o,f=a):u+=iu(c,d,o,a,r,i);var M=(r-m)*x/b+m;if(n){if(ru(m,v,x,_,_+w,S,e,M,i))return!0}else u+=pu(m,v,x,_,_+w,S,M,i);c=Math.cos(_+w)*b+m,d=Math.sin(_+w)*x+v;break;case ou.R:if(h=c=s[p++],f=d=s[p++],o=h+s[p++],a=f+s[p++],n){if(Kl(h,f,o,f,e,r,i)||Kl(o,f,o,a,e,r,i)||Kl(o,a,h,a,e,r,i)||Kl(h,a,h,f,e,r,i))return!0}else u+=iu(o,f,o,a,r,i),u+=iu(h,a,h,f,r,i);break;case ou.Z:if(n){if(Kl(c,d,h,f,e,r,i))return!0}else u+=iu(c,d,h,f,r,i);c=h,d=f}}return n||lu(d,f)||(u+=iu(c,d,h,f,r,i)||0),0!==u}function yu(t,e,n){return gu(t,0,!1,e,n)}function mu(t,e,n,r){return gu(t,e,!0,n,r)}var vu=R({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},ul),bu={style:R({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},cl.style)},xu=go.concat(["invisible","culling","z","z2","zlevel","parent"]),_u=function(t){function e(e){return t.call(this,e)||this}var n;return i(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var r=this.style;if(r.decal){var i=this._decalEl=this._decalEl||new e;i.buildPath===e.prototype.buildPath&&(i.buildPath=function(t){n.buildPath(t,n.shape)}),i.silent=!0;var o=i.style;for(var a in r)o[a]!==r[a]&&(o[a]=r[a]);o.fill=r.fill?r.decal:null,o.decal=null,o.shadowColor=null,r.strokeFirst&&(o.stroke=null);for(var s=0;s<xu.length;++s)i[xu[s]]=this[xu[s]];i.__dirty|=In}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(e){var n=Z(e);this.shape=this.getDefaultShape();var r=this.getDefaultStyle();r&&this.useStyle(r);for(var i=0;i<n.length;i++){var o=n[i],a=e[o];"style"===o?this.style?N(this.style,a):this.useStyle(a):"shape"===o?N(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if(tt(t)){var e=Nr(t,0);return e>.5?ro:e>.2?oo:io}if(t)return io}return ro},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(tt(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())==Nr(t,0)<no)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=~Dn},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new ql(!1)},e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var r=!1;this.path||(r=!0,this.createPathProxy());var i=this.path;(r||this.__dirty&Dn)&&(i.beginPath(),this.buildPath(i,this.shape,!1),this.pathUpdated()),t=i.getBoundingRect
vendor: 26,293 bytes, line 33
33()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),r=this.getBoundingRect(),i=this.style;if(t=n[0],e=n[1],r.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=i.lineWidth,s=i.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),mu(o,a/s,t,e)))return!0}if(this.hasFill())return yu(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=Dn,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:N(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&Dn)},e.prototype.createStyle=function(t){return Dt(vu,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=N({},this.shape))},e.prototype._applyStateObj=function(e,n,r,i,o,a){t.prototype._applyStateObj.call(this,e,n,r,i,o,a);var s,l=!(n&&i);if(n&&n.shape?o?i?s=n.shape:(s=N({},r.shape),N(s,n.shape)):(s=N({},i?this.shape:r.shape),N(s,n.shape)):l&&(s=r.shape),s)if(o){this.shape=N({},this.shape);for(var u={},c=Z(s),d=0;d<c.length;d++){var h=c[d];"object"==typeof s[h]?this.shape[h]=s[h]:u[h]=s[h]}this._transitionState(e,{shape:u},a)}else this.shape=s,this.dirtyShape()},e.prototype._mergeStates=function(e){for(var n,r=t.prototype._mergeStates.call(this,e),i=0;i<e.length;i++){var o=e[i];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(r.shape=n),r},e.prototype.getAnimationStyleProps=function(){return bu},e.prototype.isZeroArea=function(){return!1},e.extend=function(t){var n=function(e){function n(n){var r=e.call(this,n)||this;return t.init&&t.init.call(r,n),r}return i(n,e),n.prototype.getDefaultStyle=function(){return $(t.style)},n.prototype.getDefaultShape=function(){return $(t.shape)},n}(e);for(var r in t)"function"==typeof t[r]&&(n.prototype[r]=t[r]);return n},e.initDefaultProps=((n=e.prototype).type="path",n.strokeContainThreshold=5,n.segmentIgnoreThreshold=0,n.subPixelOptimize=!1,n.autoBatch=!1,void(n.__dirty=In|An|Dn)),e}(fl),wu=R({strokeFirst:!0,font:c,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},vu),Su=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return Dt(wu,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=xo(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var r=t.lineWidth;n.x-=r/2,n.y-=r/2,n.width+=r,n.height+=r}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(fl);Su.prototype.type="tspan";var Mu=R({x:0,y:0},ul),Iu={style:R({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},cl.style)};function Au(t){return!!(t&&"string"!=typeof t&&t.width&&t.height)}var Du=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.createStyle=function(t){return Dt(Mu,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var r=Au(e.image)?e.image:this.__image;if(!r)return 0;var i="width"===t?"height":"width",o=e[i];return null==o?r[t]:r[t]/r[i]*o},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return Iu},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new nn(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(fl);function Tu(t,e){var n,r,i,o,a,s=e.x,l=e.y,u=e.width,c=e.height,d=e.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"==typeof d?n=r=i=o=d:d instanceof Array?1===d.length?n=r=i=o=d[0]:2===d.length?(n=i=d[0],r=o=d[1]):3===d.length?(n=d[0],r=o=d[1],i=d[2]):(n=d[0],r=d[1],i=d[2],o=d[3]):n=r=i=o=0,n+r>u&&(n*=u/(a=n+r),r*=u/a),i+o>u&&(i*=u/(a=i+o),o*=u/a),r+i>c&&(r*=c/(a=r+i),i*=c/a),n+o>c&&(n*=c/(a=n+o),o*=c/a),t.moveTo(s+n,l),t.lineTo(s+u-r,l),0!==r&&t.arc(s+u-r,l+r,r,-Math.PI/2,0),t.lineTo(s+u,l+c-i),0!==i&&t.arc(s+u-i,l+c-i,i,0,Math.PI/2),t.lineTo(s+o,l+c),0!==o&&t.arc(s+o,l+c-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}Du.prototype.type="image";var Cu=Math.round;function Ou(t,e,n){if(e){var r=e.x1,i=e.x2,o=e.y1,a=e.y2;t.x1=r,t.x2=i,t.y1=o,t.y2=a;var s=n&&n.lineWidth;return s?(Cu(2*r)===Cu(2*i)&&(t.x1=t.x2=ku(r,s,!0)),Cu(2*o)===Cu(2*a)&&(t.y1=t.y2=ku(o,s,!0)),t):t}}function Pu(t,e,n){if(e){var r=e.x,i=e.y,o=e.width,a=e.height;t.x=r,t.y=i,t.width=o,t.height=a;var s=n&&n.lineWidth;return s?(t.x=ku(r,s,!0),t.y=ku(i,s,!0),t.width=Math.max(ku(r+o,s,!1)-t.x,0===o?0:1),t.height=Math.max(ku(i+a,s,!1)-t.y,0===a?0:1),t):t}}function ku(t,e,n){if(!e)return t;var r=Cu(2*t);return(r+Cu(e))%2==0?r/2:(r+(n?1:-1))/2}var $u=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),Eu={},Lu=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultShape=function(){return new $u},e.prototype.buildPath=function(t,e){var n,r,i,o;if(this.subPixelOptimize){var a=Pu(Eu,e,this.style);n=a.x,r=a.y,i=a.width,o=a.height,a.r=e.r,e=a}else n=e.x,r=e.y,i=e.width,o=e.height;e.r?Tu(t,e):t.rect(n,r,i,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(_u);Lu.prototype.type="rect";var Nu={fill:"#000"},Ru=2,Fu={style:R({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},cl.style)},Bu=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Nu,n.attr(e),n}return i(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var n=this.innerTransformable;return n?n.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){this._childCursor=0,Yu(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new nn(0,0,0,0),e=this._children,n=[],r=null,i=0;i<e.length;i++){var o=e[i],a=o.getBoundingRect(),s=o.getLocalTransform(n);s?(t.copy(a),t.applyTransform(s),(r=r||t.clone()).union(t)):(r=r||a.clone()).union(a)}this._rect=r||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||Nu},e.prototype.setTextContent=function(t){throw new Error("Can't attach text on another text")},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,r=t.rich||n&&{};return N(t,e),n&&r?(this._mergeRich(r,n),t.rich=r):r&&(t.rich=r),t},e.prototype._mergeRich=function(t,e){for(var n=Z(e),r=0;r<n.length;r++){var i=n[r];t[i]=t[i]||{},N(t[i],e[i])}},e.prototype.getAnimationStyleProps=function(){return Fu},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||c,n=t.padding,r=Js(Ku(t),t),i=Ju(t),o=!!t.backgroundColor,a=r.outerHeight,s=r.outerWidth,l=r.contentWidth,u=r.lines,d=r.lineHeight,h=this._defaultStyle,f=t.x||0,p=t.y||0,g=t.align||h.align||"left",y=t.verticalAlign||h.verticalAlign||"top",m=f,v=wo(p,r.contentHeight,y);if(i||n){var b=_o(f,s,g),x=wo(p,a,y);i&&this._renderBackground(t,t,b,x,s,a)}v+=d/2,n&&(m=qu(f,g,n),"top"===y?v+=n[0]:"bottom"===y&&(v-=n[2]));for(var _=0,w=!1,S=(Xu("fill"in t?t.fill:(w=!0,h.fill))),M=(Zu("stroke"in t?t.stroke:o||h.autoStroke&&!w?null:(_=Ru,h.stroke))),I=t.textShadowBlur>0,A=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),D=r.calculatedLineHeight,T=0;T<u.length;T++){var C=this._getOrCreateChild(Su),O=C.createStyle();C.useStyle(O),O.text=u[T],O.x=m,O.y=v,g&&(O.textAlign=g),O.textBaseline="middle",O.opacity=t.opacity,O.strokeFirst=!0,I&&(O.shadowBlur=t.textShadowBlur||0,O.shadowColor=t.textShadowColor||"transparent",O.shadowOffsetX=t.textShadowOffsetX||0,O.shadowOffsetY=t.textShadowOffsetY||0),O.stroke=M,O.fill=S,M&&(O.lineWidth=t.lineWidth||_,O.lineDash=t.lineDash,O.lineDashOffset=t.lineDashOffset||0),O.font=e,Wu(O,t),v+=d,A&&C.setBoundingRect(new nn(_o(O.x,t.width,O.textAlign),wo(O.y,D,O.textBaseline),l,D))}},e.prototype._updateRichTexts=function(){var t=this.style,e=nl(Ku(t),t),n=e.width,r=e.outerWidth,i=e.outerHeight,o=t.padding,a=t.x||0,s=t.y||0,l=this._defaultStyle,u=t.align||l.align,c=t.verticalAlign||l.verticalAlign,d=_o(a,r,u),h=wo(s,i,c),f=d,p=h;o&&(f+=o[3],p+=o[0]);var g=f+n;Ju(t)&&this._renderBackground(t,t,d,h,r,i);for(var y=!!t.backgroundColor,m=0;m<e.lines.length;m++){for(var v=e.lines[m],b=v.tokens,x=b.length,_=v.lineHeight,w=v.width,S=0,M=f,I=g,A=x-1,D=void 0;S<x&&(!(D=b[S]).align||"left"===D.align);)this._placeToken(D,t,_,p,M,"left",y),w-=D.width,M+=D.width,S++;for(;A>=0&&"right"===(D=b[A]).align;)this._placeToken(D,t,_,p,I,"right",y),w-=D.width,I-=D.width,A--;for(M+=(n-(M-f)-(g-I)-w)/2;S<=A;)D=b[S],this._placeToken(D,t,_,p,M+D.width/2,"center",y),M+=D.width,S++;p+=_}},e.prototype._placeToken=function(t,e,n,r,i,o,a){var s=e.rich[t.styleName]||{};s.text=t.text;var l=t.verticalAlign,u=r+n/2;"top"===l?u=r+t.height/2:"bottom"===l&&(u=r+n-t.height/2),!t.isLineHolder&&Ju(s)&&this._renderBackground(s,e,"right"===o?i-t.width:"center"===o?i-t.width/2:i,u-t.height/2,t.width,t.height);var d=!!s.backgroundColor,h=t.textPadding;h&&(i=qu(i,o,h),u-=t.height/2-h[0]-t.innerHeight/2);var f=this._getOrCreateChild(Su),p=f.createStyle();f.useStyle(p);var g=this._defaultStyle,y=!1,m=0,v=Xu("fill"in s?s.fill:"fill"in e?e.fill:(y=!0,g.fill)),b=Zu("stroke"in s?s.stroke:"stroke"in e?e.stroke:d||a||g.autoStroke&&!y?null:(m=Ru,g.stroke)),x=s.textShadowBlur>0||e.textShadowBlur>0;p.text=t.text,p.x=i,p.y=u,x&&(p.shadowBlur=s.textShadowBlur||e.textShadowBlur||0,p.shadowColor=s.textShadowColor||e.textShadowColor||"transparent",p.shadowOffsetX=s.textShadowOffsetX||e.textShadowOffsetX||0,p.shadowOffsetY=s.textShadowOffsetY||e.textShadowOffsetY||0),p.textAlign=o,p.textBaseline="middle",p.font=t.font||c,p.opacity=ft(s.opacity,e.opacity,1),Wu(p,s),b&&(p.lineWidth=ft(s.lineWidth,e.lineWidth,m),p.lineDash=ht(s.lineDash,e.lineDash),p.lineDashOffset=e.lineDashOffset||0,p.stroke=b),v&&(p.fill=v);var _=t.contentWidth,w=t.contentHeight;f.setBoundingRect(new nn(_o(p.x,_,p.textAlign),wo(p.y,w,p.textBaseline),_,w))},e.prototype._renderBackground=function(t,e,n,r,i,o){var a,s,l,u=t.backgroundColor,c=t.borderWidth,d=t.borderColor,h=u&&u.image,f=u&&!h,p=t.borderRadius,g=this;if(f||t.lineHeight||c&&d){(a=this._getOrCreateChild(Lu)).useStyle(a.createStyle()),a.style.fill=null;var y=a.shape;y.x=n,y.y=r,y.width=i,y.height=o,y.r=p,a.dirtyShape()}if(f)(l=a.style).fill=u||null,l.fillOpacity=ht(t.fillOpacity,1);else if(h){(s=this._getOrCreateChild(Du)).onload=function(){g.dirtyStyle()};var m=s.style;m.image=u.image,m.x=n,m.y=r,m.width=i,m.height=o}c&&d&&((l=a.style).lineWidth=c,l.stroke=d,l.strokeOpacity=ht(t.strokeOpacity,1),l.lineDash=t.borderDash,l.lineDashOffset=t.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(l.strokeFirst=!0,l.lineWidth*=2));var v=(a||s).style;v.shadowBlur=t.shadowBlur||0,v.shadowColor=t.shadowColor||"transparent",v.shadowOffsetX=t.shadowOffsetX||0,v.shadowOffsetY=t.shadowOffsetY||0,v.opacity=ft(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return Gu(t)&&(e=[t.fontStyle,t.fontWeight,Hu(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&mt(e)||t.textFont||t.font},e}(fl),ju={left:!0,right:1,center:1},zu={top:1,bottom:1,middle:1},Vu=["fontStyle","fontWeight","fontSize","fontFamily"];function Hu(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?l+"px":t+"px":t}function Wu(t,e){for(var n=0;n<Vu.length;n++){var r=Vu[n],i=e[r];null!=i&&(t[r]=i)}}function Gu(t){return null!=t.fontSize||t.fontFamily||t.fontWeight}function Yu(t){return Uu(t),H(t.rich,Uu),t}function Uu(t){if(t){t.font=Bu.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||ju[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||zu[n]?n:"top",t.padding&&(t.padding=gt(t.padding))}}function Zu(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function Xu(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function qu(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function Ku(t){var e=t.text;return null!=e&&(e+=""),e}function Ju(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}var Qu=fs(),tc=function(t,e,n,r){if(r){var i=Qu(r);i.dataIndex=n,i.dataType=e,i.seriesIndex=t,i.ssrType="chart","group"===r.type&&r.traverse((function(r){var i=Qu(r);i.seriesIndex=t,i.dataIndex=n,i.dataType=e,i.ssrType="chart"}))}},ec=1,nc={},rc=fs(),ic=fs(),oc=0,ac=1,sc=2,lc=["emphasis","blur","select"],uc=["normal","emphasis","blur","select"],cc=10,dc=9,hc="highlight",fc="downplay",pc="select",gc="unselect",yc="toggleSelect";function mc(t){return null!=t&&"none"!==t}function vc(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function bc(t){vc(t,"emphasis",sc)}function xc(t){t.hoverState===sc&&vc(t,"normal",oc)}function _c(t){vc(t,"blur",ac)}function wc(t){t.hoverState===ac&&vc(t,"normal",oc)}function Sc(t){t.selected=!0}function Mc(t){t.selected=!1}function Ic(t,e,n){e(t,n)}function Ac(t,e,n){Ic(t,e,n),t.isGroup&&t.traverse((function(t){Ic(t,e,n)}))}function Dc(t,e){switch(e){case"emphasis":t.hoverState=sc;break;case"normal":t.hoverState=oc;break;case"blur":t.hoverState=ac;break;case"select":t.selected=!0}}function Tc(t,e,n,r){for(var i=t.style,o={},a=0;a<e.length;a++){var s=e[a],l=i[s];o[s]=null==l?r&&r[s]:l}for(a=0;a<t.animators.length;a++){var u=t.animators[a];u.__fromStateTransition&&u.__fromStateTransition.indexOf(n)<0&&"style"===u.targetName&&u.saveTo(o,e)}return o}function Cc(t,e,n,r){var i=n&&B(n,"select")>=0,o=!1;if(t instanceof _u){var a=rc(t),s=i&&a.selectFill||a.normalFill,l=i&&a.selectStroke||a.normalStroke;if(mc(s)||mc(l)){var u=(r=r||{}).style||{};"inherit"===u.fill?(o=!0,r=N({},r),(u=N({},u)).fill=s):!mc(u.fill)&&mc(s)?(o=!0,r=N({},r),(u=N({},u)).fill=Br(s)):!mc(u.stroke)&&mc(l)&&(o||(r=N({},r),u=N({},u)),u.stroke=Br(l)),r.style=u}}if(r&&null==r.z2){o||(r=N({},r));var c=t.z2EmphasisLift;r.z2=t.z2+(null!=c?c:cc)}return r}function Oc(t,e,n){if(n&&null==n.z2){n=N({},n);var r=t.z2SelectLift;n.z2=t.z2+(null!=r?r:dc)}return n}function Pc(t,e,n){var r=B(t.currentStates,e)>=0,i=t.style.opacity,o=r?null:Tc(t,["opacity"],e,{opacity:1}),a=(n=n||{}).style||{};return null==a.opacity&&(n=N({},n),a=N({opacity:r?i:.1*o.opacity},a),n.style=a),n}function kc(t,e){var n=this.states[t];if(this.style){if("emphasis"===t)return Cc(this,t,e,n);if("blur"===t)return Pc(this,t,n);if("select"===t)return Oc(this,t,n)}return n}function $c(t){t.stateProxy=kc;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=kc),n&&(n.stateProxy=kc)}function Ec(t,e){!Vc(t,e)&&!t.__highByOuter&&Ac(t,bc)}function Lc(t,e){!Vc(t,e)&&!t.__highByOuter&&Ac(t,xc)}function Nc(t,e){t.__highByOuter|=1<<(e||0),Ac(t,bc)}function Rc(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&Ac(t,xc)}function Fc(t){Ac(t,_c)}function Bc(t){Ac(t,wc)}function jc(t){Ac(t,Sc)}function zc(t){Ac(t,Mc)}function Vc(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function Hc(t){var e=t.getModel(),n=[],r=[];e.eachComponent((function(e,i){var o=ic(i),a="series"===e,s=a?t.getViewOfSeriesModel(i):t.getViewOfComponentModel(i);!a&&r.push(s),o.isBlured&&(s.group.traverse((function(t){wc(t)})),a&&n.push(i)),o.isBlured=!1})),H(r,(function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)}))}function Wc(t,e,n,r){var i=r.getModel();function o(t,e){for(var n=0;n<e.length;n++){var r=t.getItemGraphicEl(e[n]);r&&Bc(r)}}if(n=n||"coordinateSystem",null!=t&&e&&"none"!==e){var a=i.getSeriesByIndex(t),s=a.coordinateSystem;s&&s.master&&(s=s.master);var l=[];i.eachSeries((function(t){var i=a===t,u=t.coordinateSystem;if(u&&u.master&&(u=u.master),!("series"===n&&!i||"coordinateSystem"===n&&!(u&&s?u===s:i)||"series"===e&&i)){if(r.getViewOfSeriesModel(t).group.traverse((function(t){t.__highByOuter&&i&&"self"===e||_c(t)})),V(e))o(t.getData(),e);else if(rt(e))for(var c=Z(e),d=0;d<c.length;d++)o(t.getData(c[d]),e[c[d]]);l.push(t),ic(t).isBlured=!0}})),i.eachComponent((function(t,e){if("series"!==t){var n=r.getViewOfComponentModel(e);n&&n.toggleBlurSeries&&n.toggleBlurSeries(l,!0,i)}}))}}function Gc(t,e,n){if(null!=t&&null!=e){var r=n.getModel().getComponent(t,e);if(r){ic(r).isBlured=!0;var i=n.getViewOfComponentModel(r);i&&i.focusBlurEnabled&&i.group.traverse((function(t){_c(t)}))}}}function Yc(t,e,n){var r=t.seriesIndex,i=t.getData(e.dataType);if(i){var o=hs(i,e);o=(J(o)?o[0]:o)||0;var a=i.getItemGraphicEl(o);if(!a)for(var s=i.count(),l=0;!a&&l<s;)a=i.getItemGraphicEl(l++);if(a){var u=Qu(a);Wc(r,u.focus,u.blurScope,n)}else{var c=t.get(["emphasis","focus"]),d=t.get(["emphasis","blurScope"]);null!=c&&Wc(r,c,d,n)}}else La("Unknown dataType "+e.dataType)}function Uc(t,e,n,r){var i={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return i;var o=r.getModel().getComponent(t,e);if(!o)return i;var a=r.getViewOfComponentModel(o);if(!a||!a.findHighDownDispatchers)return i;for(var s,l=a.findHighDownDispatchers(n),u=0;u<l.length;u++)if(sd(l[u])||La("param should be highDownDispatcher"),"self"===Qu(l[u]).focus){s=!0;break}return{focusSelf:s,dispatchers:l}}function Zc(t,e,n){sd(t)||La("param should be highDownDispatcher");var r=Qu(t),i=Uc(r.componentMainType,r.componentIndex,r.componentHighDownName,n),o=i.dispatchers,a=i.focusSelf;o?(a&&Gc(r.componentMainType,r.componentIndex,n),H(o,(function(t){return Ec(t,e)}))):(Wc(r.seriesIndex,r.focus,r.blurScope,n),"self"===r.focus&&Gc(r.componentMainType,r.componentIndex,n),Ec(t,e))}function Xc(t,e,n){sd(t)||La("param should be highDownDispatcher"),Hc(n);var r=Qu(t),i=Uc(r.componentMainType,r.componentIndex,r.componentHighDownName,n).dispatchers;i?H(i,(function(t){return Lc(t,e)})):Lc(t,e)}function qc(t,e,n){if(cd(e)){var r=e.dataType,i=hs(t.getData(r),e);J(i)||(i=[i]),t[e.type===yc?"toggleSelect":e.type===pc?"select":"unselect"](i,r)}}function Kc(t){H(t.getAllData(),(function(e){var n=e.data,r=e.type;n.eachItemGraphicEl((function(e,n){t.isSelected(n,r)?jc(e):zc(e)}))}))}function Jc(t){var e=[];return t.eachSeries((function(t){H(t.getAllData(),(function(n){n.data;var r=n.type,i=t.getSelectedDataIndices();if(i.length>0){var o={dataIndex:i,seriesIndex:t.seriesIndex};null!=r&&(o.dataType=r),e.push(o)}}))})),e}function Qc(t,e,n){ad(t,!0),Ac(t,$c),nd(t,e,n)}function td(t){ad(t,!1)}function ed(t,e,n,r){r?td(t):Qc(t,e,n)}function nd(t,e,n){var r=Qu(t);null!=e?(r.focus=e,r.blurScope=n):r.focus&&(r.focus=null)}var rd=["emphasis","blur","select"],id={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function od(t,e,n,r){n=n||"itemStyle";for(var i=0;i<rd.length;i++){var o=rd[i],a=e.getModel([o,n]);t.ensureState(o).style=r?r(a):a[id[n]]()}}function ad(t,e){var n=!1===e,r=t;t.highDownSilentOnTouch&&(r.__highDownSilentOnTouch=t.highDownSilentOnTouch),n&&!r.__highDownDispatcher||(r.__highByOuter=r.__highByOuter||0,r.__highDownDispatcher=!n)}function sd(t){return!(!t||!t.__highDownDispatcher)}function ld(t,e,n){var r=Qu(t);r.componentMainType=e.mainType,r.componentIndex=e.componentIndex,r.componentHighDownName=n}function ud(t){var e=nc[t];return null==e&&ec<=32&&(e=nc[t]=ec++),e}function cd(t){var e=t.type;return e===pc||e===gc||e===yc}function dd(t){var e=t.type;return e===hc||e===fc}function hd(t){var e=rc(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}var fd=ql.CMD,pd=[[],[],[]],gd=Math.sqrt,yd=Math.atan2;function md(t,e){if(e){var n,r,i,o,a,s,l=t.data,u=t.len(),c=fd.M,d=fd.C,h=fd.L,f=fd.R,p=fd.A,g=fd.Q;for(i=0,o=0;i<u;){switch(n=l[i++],o=i,r=0,n){case c:case h:r=1;break;case d:r=3;break;case g:r=2;break;case p:var y=e[4],m=e[5],v=gd(e[0]*e[0]+e[1]*e[1]),b=gd(e[2]*e[2]+e[3]*e[3]),x=yd(-e[1]/b,e[0]/v);l[i]*=v,l[i++]+=y,l[i]*=b,l[i++]+=m,l[i++]*=v,l[i++]*=b,l[i++]+=x,l[i++]+=x,o=i+=2;break;case f:s[0]=l[i++],s[1]=l[i++],ee(s,s,e),l[o++]=s[0],l[o++]=s[1],s[0]+=l[i++],s[1]+=l[i++],ee(s,s,e),l[o++]=s[0],l[o++]=s[1]}for(a=0;a<r;a++){var _=pd[a];_[0]=l[i++],_[1]=l[i++],ee(_,_,e),l[o++]=_[0],l[o++]=_[1]}}t.increaseVersion()}}var vd=Math.sqrt,bd=Math.sin,xd=Math.cos,_d=Math.PI;function wd(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function Sd(t,e){return(t[0]*e[0]+t[1]*e[1])/(wd(t)*wd(e))}function Md(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(Sd(t,e))}function Id(t,e,n,r,i,o,a,s,l,u,c){var d=l*(_d/180),h=xd(d)*(t-n)/2+bd(d)*(e-r)/2,f=-1*bd(d)*(t-n)/2+xd(d)*(e-r)/2,p=h*h/(a*a)+f*f/(s*s);p>1&&(a*=vd(p),s*=vd(p));var g=(i===o?-1:1)*vd((a*a*(s*s)-a*a*(f*f)-s*s*(h*h))/(a*a*(f*f)+s*s*(h*h)))||0,y=g*a*f/s,m=g*-s*h/a,v=(t+n)/2+xd(d)*y-bd(d)*m,b=(e+r)/2+bd(d)*y+xd(d)*m,x=Md([1,0],[(h-y)/a,(f-m)/s]),_=[(h-y)/a,(f-m)/s],w=[(-1*h-y)/a,(-1*f-m)/s],S=Md(_,w);if(Sd(_,w)<=-1&&(S=_d),Sd(_,w)>=1&&(S=0),S<0){var M=Math.round(S/_d*1e6)/1e6;S=2*_d+M%2*_d}c.addData(u,v,b,a,s,x,S,d,o)}var Ad=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,Dd=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function Td(t){var e=new ql;if(!t)return e;var n,r=0,i=0,o=r,a=i,s=ql.CMD,l=t.match(Ad);if(!l)return e;for(var u=0;u<l.length;u++){for(var c=l[u],d=c.charAt(0),h=void 0,f=c.match(Dd)||[],p=f.length,g=0;g<p;g++)f[g]=parseFloat(f[g]);for(var y=0;y<p;){var m=void 0,v=void 0,b=void 0,x=void 0,_=void 0,w=void 0,S=void 0,M=r,I=i,A=void 0,D=void 0;switch(d){case"l":r+=f[y++],i+=f[y++],h=s.L,e.addData(h,r,i);break;case"L":r=f[y++],i=f[y++],h=s.L,e.addData(h,r,i);break;case"m":r+=f[y++],i+=f[y++],h=s.M,e.addData(h,r,i),o=r,a=i,d="l";break;case"M":r=f[y++],i=f[y++],h=s.M,e.addData(h,r,i),o=r,a=i,d="L";break;case"h":r+=f[y++],h=s.L,e.addData(h,r,i);break;case"H":r=f[y++],h=s.L,e.addData(h,r,i);break;case"v":i+=f[y++],h=s.L,e.addData(h,r,i);break;case"V":i=f[y++],h=s.L,e.addData(h,r,i);break;case"C":h=s.C,e.addData(h,f[y++],f[y++],f[y++],f[y++],f[y++],f[y++]),r=f[y-2],i=f[y-1];break;case"c":h=s.C,e.addData(h,f[y++]+r,f[y++]+i,f[y++]+r,f[y++]+i,f[y++]+r,f[y++]+i),r+=f[y-2],i+=f[y-1];break;case"S":m=r,v=i,A=e.len(),D=e.data,n===s.C&&(m+=r-D[A-4],v+=i-D[A-3]),h=s.C,M=f[y++],I=f[y++],r=f[y++],i=f[y++],e.addData(h,m,v,M,I,r,i);break;case"s":m=r,v=i,A=e.len(),D=e.data,n===s.C&&(m+=r-D[A-4],v+=i-D[A-3]),h=s.C,M=r+f[y++],I=i+f[y++],r+=f[y++],i+=f[y++],e.addData(h,m,v,M,I,r,i);break;case"Q":M=f[y++],I=f[y++],r=f[y++],i=f[y++],h=s.Q,e.addData(h,M,I,r,i);break;case"q":M=f[y++]+r,I=f[y++]+i,r+=f[y++],i+=f[y++],h=s.Q,e.addData(h,M,I,r,i);break;case"T":m=r,v=i,A=e.len(),D=e.data,n===s.Q&&(m+=r-D[A-4],v+=i-D[A-3]),r=f[y++],i=f[y++],h=s.Q,e.addData(h,m,v,r,i);break;case"t":m=r,v=i,A=e.len(),D=e.data,n===s.Q&&(m+=r-D[A-4],v+=i-D[A-3]),r+=f[y++],i+=f[y++],h=s.Q,e.addData(h,m,v,r,i);break;case"A":b=f[y++],x=f[y++],_=f[y++],w=f[y++],S=f[y++],Id(M=r,I=i,r=f[y++],i=f[y++],w,S,b,x,_,h=s.A,e);break;case"a":b=f[y++],x=f[y++],_=f[y++],w=f[y++],S=f[y++],Id(M=r,I=i,r+=f[y++],i+=f[y++],w,S,b,x,_,h=s.A,e)}}"z"!==d&&"Z"!==d||(h=s.Z,e.addData(h),r=o,i=a),n=h}return e.toStatic(),e}var Cd=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.applyTransform=function(t){},e}(_u);function Od(t){return null!=t.setData}function Pd(t,e){var n=Td(t),r=N({},e);return r.buildPath=function(t){if(Od(t))t.setData(n.data),(e=t.getContext())&&t.rebuildPath(e,1);else{var e=t;n.rebuildPath(e,1)}},r.applyTransform=function(t){md(n,t),this.dirtyShape()},r}function kd(t,e){return new Cd(Pd(t,e))}function $d(t,e){var n=Pd(t,e);return function(t){function e(e){var r=t.call(this,e)||this;return r.applyTransform=n.applyTransform,r.buildPath=n.buildPath,r}return i(e,t),e}(Cd)}function Ed(t,e){for(var n=[],r=t.length,i=0;i<r;i++){var o=t[i];
vendor: 10,268 bytes, line 33
33n.push(o.getUpdatedPathProxy(!0))}var a=new _u(e);return a.createPathProxy(),a.buildPath=function(t){if(Od(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},a}function Ld(t,e){e=e||{};var n=new _u;return t.shape&&n.setShape(t.shape),n.setStyle(t.style),e.bakeTransform?md(n.path,t.getComputedTransform()):e.toLocal?n.setLocalTransform(t.getComputedTransform()):n.copyTransform(t),n.buildPath=t.buildPath,n.applyTransform=n.applyTransform,n.z=t.z,n.z2=t.z2,n.zlevel=t.zlevel,n}var Nd=function(){function t(){this.cx=0,this.cy=0,this.r=0}return t}(),Rd=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultShape=function(){return new Nd},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(_u);Rd.prototype.type="circle";var Fd=function(){function t(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return t}(),Bd=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultShape=function(){return new Fd},e.prototype.buildPath=function(t,e){var n=.5522848,r=e.cx,i=e.cy,o=e.rx,a=e.ry,s=o*n,l=a*n;t.moveTo(r-o,i),t.bezierCurveTo(r-o,i-l,r-s,i-a,r,i-a),t.bezierCurveTo(r+s,i-a,r+o,i-l,r+o,i),t.bezierCurveTo(r+o,i+l,r+s,i+a,r,i+a),t.bezierCurveTo(r-s,i+a,r-o,i+l,r-o,i),t.closePath()},e}(_u);Bd.prototype.type="ellipse";var jd=Math.PI,zd=2*jd,Vd=Math.sin,Hd=Math.cos,Wd=Math.acos,Gd=Math.atan2,Yd=Math.abs,Ud=Math.sqrt,Zd=Math.max,Xd=Math.min,qd=1e-4;function Kd(t,e,n,r,i,o,a,s){var l=n-t,u=r-e,c=a-i,d=s-o,h=d*l-c*u;if(!(h*h<qd))return[t+(h=(c*(e-o)-d*(t-i))/h)*l,e+h*u]}function Jd(t,e,n,r,i,o,a){var s=t-n,l=e-r,u=(a?o:-o)/Ud(s*s+l*l),c=u*l,d=-u*s,h=t+c,f=e+d,p=n+c,g=r+d,y=(h+p)/2,m=(f+g)/2,v=p-h,b=g-f,x=v*v+b*b,_=i-o,w=h*g-p*f,S=(b<0?-1:1)*Ud(Zd(0,_*_*x-w*w)),M=(w*b-v*S)/x,I=(-w*v-b*S)/x,A=(w*b+v*S)/x,D=(-w*v+b*S)/x,T=M-y,C=I-m,O=A-y,P=D-m;return T*T+C*C>O*O+P*P&&(M=A,I=D),{cx:M,cy:I,x0:-c,y0:-d,x1:M*(i/_-1),y1:I*(i/_-1)}}function Qd(t){var e;if(J(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}function th(t,e){var n,r=Zd(e.r,0),i=Zd(e.r0||0,0),o=r>0;if(o||i>0){if(o||(r=i,i=0),i>r){var a=r;r=i,i=a}var s=e.startAngle,l=e.endAngle;if(!isNaN(s)&&!isNaN(l)){var u=e.cx,c=e.cy,d=!!e.clockwise,h=Yd(l-s),f=h>zd&&h%zd;if(f>qd&&(h=f),r>qd)if(h>zd-qd)t.moveTo(u+r*Hd(s),c+r*Vd(s)),t.arc(u,c,r,s,l,!d),i>qd&&(t.moveTo(u+i*Hd(l),c+i*Vd(l)),t.arc(u,c,i,l,s,d));else{var p=void 0,g=void 0,y=void 0,m=void 0,v=void 0,b=void 0,x=void 0,_=void 0,w=void 0,S=void 0,M=void 0,I=void 0,A=void 0,D=void 0,T=void 0,C=void 0,O=r*Hd(s),P=r*Vd(s),k=i*Hd(l),$=i*Vd(l),E=h>qd;if(E){var L=e.cornerRadius;L&&(p=(n=Qd(L))[0],g=n[1],y=n[2],m=n[3]);var N=Yd(r-i)/2;if(v=Xd(N,y),b=Xd(N,m),x=Xd(N,p),_=Xd(N,g),M=w=Zd(v,b),I=S=Zd(x,_),(w>qd||S>qd)&&(A=r*Hd(l),D=r*Vd(l),T=i*Hd(s),C=i*Vd(s),h<jd)){var R=Kd(O,P,T,C,A,D,k,$);if(R){var F=O-R[0],B=P-R[1],j=A-R[0],z=D-R[1],V=1/Vd(Wd((F*j+B*z)/(Ud(F*F+B*B)*Ud(j*j+z*z)))/2),H=Ud(R[0]*R[0]+R[1]*R[1]);M=Xd(w,(r-H)/(V+1)),I=Xd(S,(i-H)/(V-1))}}}if(E)if(M>qd){var W=Xd(y,M),G=Xd(m,M),Y=Jd(T,C,O,P,r,W,d),U=Jd(A,D,k,$,r,G,d);t.moveTo(u+Y.cx+Y.x0,c+Y.cy+Y.y0),M<w&&W===G?t.arc(u+Y.cx,c+Y.cy,M,Gd(Y.y0,Y.x0),Gd(U.y0,U.x0),!d):(W>0&&t.arc(u+Y.cx,c+Y.cy,W,Gd(Y.y0,Y.x0),Gd(Y.y1,Y.x1),!d),t.arc(u,c,r,Gd(Y.cy+Y.y1,Y.cx+Y.x1),Gd(U.cy+U.y1,U.cx+U.x1),!d),G>0&&t.arc(u+U.cx,c+U.cy,G,Gd(U.y1,U.x1),Gd(U.y0,U.x0),!d))}else t.moveTo(u+O,c+P),t.arc(u,c,r,s,l,!d);else t.moveTo(u+O,c+P);i>qd&&E?I>qd?(W=Xd(p,I),Y=Jd(k,$,A,D,i,-(G=Xd(g,I)),d),U=Jd(O,P,T,C,i,-W,d),t.lineTo(u+Y.cx+Y.x0,c+Y.cy+Y.y0),I<S&&W===G?t.arc(u+Y.cx,c+Y.cy,I,Gd(Y.y0,Y.x0),Gd(U.y0,U.x0),!d):(G>0&&t.arc(u+Y.cx,c+Y.cy,G,Gd(Y.y0,Y.x0),Gd(Y.y1,Y.x1),!d),t.arc(u,c,i,Gd(Y.cy+Y.y1,Y.cx+Y.x1),Gd(U.cy+U.y1,U.cx+U.x1),d),W>0&&t.arc(u+U.cx,c+U.cy,W,Gd(U.y1,U.x1),Gd(U.y0,U.x0),!d))):(t.lineTo(u+k,c+$),t.arc(u,c,i,l,s,d)):t.lineTo(u+k,c+$)}else t.moveTo(u,c);t.closePath()}}}var eh=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0}return t}(),nh=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultShape=function(){return new eh},e.prototype.buildPath=function(t,e){th(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(_u);nh.prototype.type="sector";var rh=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return t}(),ih=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultShape=function(){return new rh},e.prototype.buildPath=function(t,e){var n=e.cx,r=e.cy,i=2*Math.PI;t.moveTo(n+e.r,r),t.arc(n,r,e.r,0,i,!1),t.moveTo(n+e.r0,r),t.arc(n,r,e.r0,0,i,!0)},e}(_u);function oh(t,e,n,r){var i,o,a,s,l=[],u=[],c=[],d=[];if(r){a=[1/0,1/0],s=[-1/0,-1/0];for(var h=0,f=t.length;h<f;h++)ne(a,a,t[h]),re(s,s,t[h]);ne(a,a,r[0]),re(s,s,r[1])}for(h=0,f=t.length;h<f;h++){var p=t[h];if(n)i=t[h?h-1:f-1],o=t[(h+1)%f];else{if(0===h||h===f-1){l.push(Lt(t[h]));continue}i=t[h-1],o=t[h+1]}Bt(u,o,i),Ut(u,u,e);var g=Xt(p,i),y=Xt(p,o),m=g+y;0!==m&&(g/=m,y/=m),Ut(c,u,-g),Ut(d,u,y);var v=Rt([],p,c),b=Rt([],p,d);r&&(re(v,v,a),ne(v,v,s),re(b,b,a),ne(b,b,s)),l.push(v),l.push(b)}return n&&l.push(l.shift()),l}function ah(t,e,n){var r=e.smooth,i=e.points;if(i&&i.length>=2){if(r){var o=oh(i,r,n,e.smoothConstraint);t.moveTo(i[0][0],i[0][1]);for(var a=i.length,s=0;s<(n?a:a-1);s++){var l=o[2*s],u=o[2*s+1],c=i[(s+1)%a];t.bezierCurveTo(l[0],l[1],u[0],u[1],c[0],c[1])}}else{t.moveTo(i[0][0],i[0][1]),s=1;for(var d=i.length;s<d;s++)t.lineTo(i[s][0],i[s][1])}n&&t.closePath()}}ih.prototype.type="ring";var sh=function(){function t(){this.points=null,this.smooth=0,this.smoothConstraint=null}return t}(),lh=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultShape=function(){return new sh},e.prototype.buildPath=function(t,e){ah(t,e,!0)},e}(_u);lh.prototype.type="polygon";var uh=function(){function t(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return t}(),ch=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new uh},e.prototype.buildPath=function(t,e){ah(t,e,!1)},e}(_u);ch.prototype.type="polyline";var dh={},hh=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return t}(),fh=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new hh},e.prototype.buildPath=function(t,e){var n,r,i,o;if(this.subPixelOptimize){var a=Ou(dh,e,this.style);n=a.x1,r=a.y1,i=a.x2,o=a.y2}else n=e.x1,r=e.y1,i=e.x2,o=e.y2;var s=e.percent;0!==s&&(t.moveTo(n,r),s<1&&(i=n*(1-s)+i*s,o=r*(1-s)+o*s),t.lineTo(i,o))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(_u);fh.prototype.type="line";var ph=[],gh=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return t}();function yh(t,e,n){var r=t.cpx2,i=t.cpy2;return null!=r||null!=i?[(n?Yn:Gn)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?Yn:Gn)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?Qn:Jn)(t.x1,t.cpx1,t.x2,e),(n?Qn:Jn)(t.y1,t.cpy1,t.y2,e)]}var mh=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new gh},e.prototype.buildPath=function(t,e){var n=e.x1,r=e.y1,i=e.x2,o=e.y2,a=e.cpx1,s=e.cpy1,l=e.cpx2,u=e.cpy2,c=e.percent;0!==c&&(t.moveTo(n,r),null==l||null==u?(c<1&&(nr(n,a,i,c,ph),a=ph[1],i=ph[2],nr(r,s,o,c,ph),s=ph[1],o=ph[2]),t.quadraticCurveTo(a,s,i,o)):(c<1&&(Xn(n,a,l,i,c,ph),a=ph[1],l=ph[2],i=ph[3],Xn(r,s,u,o,c,ph),s=ph[1],u=ph[2],o=ph[3]),t.bezierCurveTo(a,s,l,u,i,o)))},e.prototype.pointAt=function(t){return yh(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=yh(this.shape,t,!0);return Zt(e,e)},e}(_u);mh.prototype.type="bezier-curve";var vh=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return t}(),bh=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new vh},e.prototype.buildPath=function(t,e){var n=e.cx,r=e.cy,i=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*i+n,u*i+r),t.arc(n,r,i,o,a,!s)},e}(_u);bh.prototype.type="arc";var xh=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return i(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n<t.length;n++)e=e||t[n].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var n=e.paths||[],r=0;r<n.length;r++)n[r].buildPath(t,n[r].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),_u.prototype.getBoundingRect.call(this)},e}(_u),_h=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}(),wh=function(t){function e(e,n,r,i,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==n?0:n,s.x2=null==r?1:r,s.y2=null==i?0:i,s.type="linear",s.global=a||!1,s}return i(e,t),e}(_h),Sh=function(t){function e(e,n,r,i,o){var a=t.call(this,i)||this;return a.x=null==e?.5:e,a.y=null==n?.5:n,a.r=null==r?.5:r,a.type="radial",a.global=o||!1,a}return i(e,t),e}(_h),Mh=[0,0],Ih=[0,0],Ah=new Ue,Dh=new Ue,Th=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new Ue;for(n=0;n<2;n++)this._axes[n]=new Ue;
vendor: 3,036 bytes, line 33
33t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,r=this._axes,i=t.x,o=t.y,a=i+t.width,s=o+t.height;if(n[0].set(i,o),n[1].set(a,o),n[2].set(a,s),n[3].set(i,s),e)for(var l=0;l<4;l++)n[l].transform(e);for(Ue.sub(r[0],n[1],n[0]),Ue.sub(r[1],n[3],n[0]),r[0].normalize(),r[1].normalize(),l=0;l<2;l++)this._origin[l]=r[l].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,r=!e;return Ah.set(1/0,1/0),Dh.set(0,0),!this._intersectCheckOneSide(this,t,Ah,Dh,r,1)&&(n=!1,r)||!this._intersectCheckOneSide(t,this,Ah,Dh,r,-1)&&(n=!1,r)||r||Ue.copy(e,n?Ah:Dh),n},t.prototype._intersectCheckOneSide=function(t,e,n,r,i,o){for(var a=!0,s=0;s<2;s++){var l=this._axes[s];if(this._getProjMinMaxOnAxis(s,t._corners,Mh),this._getProjMinMaxOnAxis(s,e._corners,Ih),Mh[1]<Ih[0]||Mh[0]>Ih[1]){if(a=!1,i)return a;var u=Math.abs(Ih[0]-Mh[1]),c=Math.abs(Mh[0]-Ih[1]);Math.min(u,c)>r.len()&&(u<c?Ue.scale(r,l,-u*o):Ue.scale(r,l,c*o))}else n&&(u=Math.abs(Ih[0]-Mh[1]),c=Math.abs(Mh[0]-Ih[1]),Math.min(u,c)<n.len()&&(u<c?Ue.scale(n,l,u*o):Ue.scale(n,l,-c*o)))}return a},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var r=this._axes[t],i=this._origin,o=e[0].dot(r)+i[t],a=o,s=o,l=1;l<e.length;l++){var u=e[l].dot(r)+i[t];a=Math.min(u,a),s=Math.max(u,s)}n[0]=a,n[1]=s},t}(),Ch=[],Oh=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return i(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++)(e=this._displayables[t]).parent=this,e.update(),e.parent=null;for(t=0;t<this._temporaryDisplayables.length;t++){var e;(e=this._temporaryDisplayables[t]).parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new nn(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],r=n.getBoundingRect().clone();
vendor: 5,314 bytes, line 33
33n.needLocalTransform()&&r.applyTransform(n.getLocalTransform(Ch)),t.union(r)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(n[0],n[1]))for(var r=0;r<this._displayables.length;r++)if(this._displayables[r].contain(t,e))return!0;return!1},e}(fl),Ph=fs();function kh(t,e,n,r,i){var o;if(e&&e.ecModel){var a=e.ecModel.getUpdatePayload();o=a&&a.animation}var s="update"===t;if(e&&e.isAnimationEnabled()){var l=void 0,u=void 0,c=void 0;return r?(l=ht(r.duration,200),u=ht(r.easing,"cubicOut"),c=0):(l=e.getShallow(s?"animationDurationUpdate":"animationDuration"),u=e.getShallow(s?"animationEasingUpdate":"animationEasing"),c=e.getShallow(s?"animationDelayUpdate":"animationDelay")),o&&(null!=o.duration&&(l=o.duration),null!=o.easing&&(u=o.easing),null!=o.delay&&(c=o.delay)),Q(c)&&(c=c(n,i)),Q(l)&&(l=l(n)),{duration:l||0,delay:c,easing:u}}return null}function $h(t,e,n,r,i,o,a){var s,l=!1;Q(i)?(a=o,o=i,i=null):rt(i)&&(o=i.cb,a=i.during,l=i.isFrom,s=i.removeOpt,i=i.dataIndex);var u="leave"===t;u||e.stopAnimation("leave");var c=kh(t,r,i,u?s||{}:null,r&&r.getAnimationDelayParams?r.getAnimationDelayParams(e,i):null);if(c&&c.duration>0){var d={duration:c.duration,delay:c.delay||0,easing:c.easing,done:o,force:!!o||!!a,setToFinal:!u,scope:t,during:a};l?e.animateFrom(n,d):e.animateTo(n,d)}else e.stopAnimation(),!l&&e.attr(n),a&&a(1),o&&o()}function Eh(t,e,n,r,i,o){$h("update",t,e,n,r,i,o)}function Lh(t,e,n,r,i,o){$h("enter",t,e,n,r,i,o)}function Nh(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++)if("leave"===t.animators[e].scope)return!0;return!1}function Rh(t,e,n,r,i,o){Nh(t)||$h("leave",t,e,n,r,i,o)}function Fh(t,e,n,r){t.removeTextContent(),t.removeTextGuideLine(),Rh(t,{style:{opacity:0}},e,n,r)}function Bh(t,e,n){function r(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse((function(t){t.isGroup||Fh(t,e,n,r)})):Fh(t,e,n,r)}function jh(t){Ph(t).oldStyle=t.style}function zh(t){return Ph(t).oldStyle}var Vh=Math.max,Hh=Math.min,Wh={};function Gh(t){return _u.extend(t)}var Yh=$d;function Uh(t,e){return Yh(t,e)}function Zh(t,e){Wh[t]=e}function Xh(t){if(Wh.hasOwnProperty(t))return Wh[t]}function qh(t,e,n,r){var i=kd(t,e);return n&&("center"===r&&(n=Jh(n,i.getBoundingRect())),tf(i,n)),i}function Kh(t,e,n){var r=new Du({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var i={width:t.width,height:t.height};r.setStyle(Jh(e,i))}}});return r}function Jh(t,e){var n,r=e.width/e.height,i=t.height*r;return n=i<=t.width?t.height:(i=t.width)/r,{x:t.x+t.width/2-i/2,y:t.y+t.height/2-n/2,width:i,height:n}}var Qh=Ed;function tf(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}function ef(t,e){return Ou(t,t,{lineWidth:e}),t}function nf(t){return Pu(t.shape,t.shape,t.style),t}var rf=ku;function of(t,e){for(var n=Fe([]);t&&t!==e;)je(n,t.getLocalTransform(),n),t=t.parent;return n}function af(t,e,n){return e&&!V(e)&&(e=po.getLocalTransform(e)),n&&(e=We([],e)),ee([],t,e)}function sf(t,e,n){var r=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),i=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-r:"right"===t?r:0,"top"===t?-i:"bottom"===t?i:0];return o=af(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function lf(t){return!t.isGroup}function uf(t){return null!=t.shape}function cf(t,e,n){if(t&&e){var r=i(t);e.traverse((function(t){if(lf(t)&&t.anid){var e=r[t.anid];if(e){var i=o(t);t.attr(o(e)),Eh(t,i,n,Qu(t).dataIndex)}}}))}function i(t){var e={};return t.traverse((function(t){lf(t)&&t.anid&&(e[t.anid]=t)})),e}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return uf(t)&&(e.shape=N({},t.shape)),e}}function df(t,e){return W(t,(function(t){var n=t[0];n=Vh(n,e.x),n=Hh(n,e.x+e.width);var r=t[1];return r=Vh(r,e.y),[n,r=Hh(r,e.y+e.height)]}))}function hf(t,e){var n=Vh(t.x,e.x),r=Hh(t.x+t.width,e.x+e.width),i=Vh(t.y,e.y),o=Hh(t.y+t.height,e.y+e.height);if(r>=n&&o>=i)return{x:n,y:i,width:r-n,height:o-i}}function ff(t,e,n){var r=N({rectHover:!0},e),i=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(i.image=t.slice(8),R(i,n),new Du(r)):qh(t.replace("path://",""),r,n,"center")}function pf(t,e,n,r,i){for(var o=0,a=i[i.length-1];o<i.length;o++){var s=i[o];if(gf(t,e,n,r,s[0],s[1],a[0],a[1]))return!0;a=s}}function gf(t,e,n,r,i,o,a,s){var l=n-t,u=r-e,c=a-i,d=s-o,h=yf(c,d,l,u);if(mf(h))return!1;var f=t-i,p=e-o,g=yf(f,p,l,u)/h;if(g<0||g>1)return!1;var y=yf(f,p,c,d)/h;return!(y<0||y>1)}function yf(t,e,n,r){return t*r-n*e}function mf(t){return t<=1e-6&&t>=-1e-6}function vf(t){var e=t.itemTooltipOption,n=t.componentModel,r=t.itemName,i=tt(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:r,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&H(Z(l),(function(t){Ct(s,t)||(s[t]=l[t],s.$vars.push(t))}));var u=Qu(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:r,option:R({content:r,encodeHTMLContent:!0,formatterParams:s},i)}}function bf(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function xf(t,e){if(t)if(J(t))for(var n=0;n<t.length;n++)bf(t[n],e);else bf(t,e)}Zh("circle",Rd),Zh("ellipse",Bd),Zh("sector",nh),Zh("ring",ih),Zh("pol
33ygon",lh),Zh("polyline",ch),Zh("rect",Lu),Zh("line",fh),Zh("bezierCurve",mh),Zh("arc",bh);var _f=Object.freeze({__proto__:null,updateProps:Eh,initProps:Lh,removeElement:Rh,removeElementWithFadeOut:Bh,isElementRemoved:Nh,extendShape:Gh,extendPath:Uh,registerShape:Zh,getShapeClass:Xh,makePath:qh,makeImage:Kh,mergePath:Qh,resizePath:tf,subPixelOptimizeLine:ef,subPixelOptimizeRect:nf,subPixelOptimize:rf,getTransform:of,applyTransform:af,transformDirection:sf,groupTransition:cf,clipPointsByRect:df,clipRectByRect:hf,createIcon:ff,linePolygonIntersect:pf,lineLineIntersect:gf,setTooltipConfig:vf,traverseElements:xf,Group:Bo,Image:Du,Text:Bu,Circle:Rd,Ellipse:Bd,Sector:nh,Ring:ih,Polygon:lh,Polyline:ch,Rect:Lu,Line:fh,BezierCurve:mh,Arc:bh,IncrementalDisplayable:Oh,CompoundPath:xh,LinearGradient:wh,RadialGradient:Sh,BoundingRect:nn,OrientedBoundingRect:Th,Point:Ue,Path:_u}),wf={};function Sf(t,e){for(var n=0;n<lc.length;n++){var r=lc[n],i=e[r],o=t.ensureState(r);o.style=o.style||{},o.style.text=i}var a=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(a,!0)}function Mf(t,e,n){var r,i=t.labelFetcher,o=t.labelDataIndex,a=t.labelDimIndex,s=e.normal;i&&(r=i.getFormattedLabel(o,"normal",null,a,s&&s.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==r&&(r=Q(t.defaultText)?t.defaultText(o,t,n):t.defaultText);for(var l={normal:r},u=0;u<lc.length;u++){var c=lc[u],d=e[c];l[c]=ht(i?i.getFormattedLabel(o,c,null,a,d&&d.get("formatter")):null,r)}return l}function If(t,e,n,r){n=n||wf;for(var i=t instanceof Bu,o=!1,a=0;a<uc.length;a++)if((h=e[uc[a]])&&h.getShallow("show")){o=!0;break}var s=i?t:t.getTextContent();if(o){i||(s||(s=new Bu,t.setTextContent(s)),t.stateProxy&&(s.stateProxy=t.stateProxy));var l=Mf(n,e),u=e.normal,c=!!u.getShallow("show"),d=Df(u,r&&r.normal,n,!1,!i);for(d.text=l.normal,i||t.setTextConfig(Tf(u,n,!1)),a=0;a<lc.length;a++){var h,f=lc[a];if(h=e[f]){var p=s.ensureState(f),g=!!ht(h.getShallow("show"),c);g!==c&&(p.ignore=!g),p.style=Df(h,r&&r[f],n,!0,!i),p.style.text=l[f],i||(t.ensureState(f).textConfig=Tf(h,n,!0))}}s.silent=!!u.getShallow("silent"),null!=s.style.x&&(d.x=s.style.x),null!=s.style.y&&(d.y=s.style.y),s.ignore=!c,s.useStyle(d),s.dirty(),n.enableTextSetter&&(Nf(s).setLabelText=function(t){var r=Mf(n,e,t);Sf(s,r)})}else s&&(s.ignore=!0);t.dirty()}function Af(t,e){e=e||"label";for(var n={normal:t.getModel(e)},r=0;r<lc.length;r++){var i=lc[r];n[i]=t.getModel([i,e])}return n}function Df(t,e,n,r,i){var o={};return Cf(o,t,n,r,i),e&&N(o,e),o}function Tf(t,e,n){e=e||{};var r,i={},o=t.getShallow("rotate"),a=ht(t.getShallow("distance"),n?null:5),s=t.getShallow("offset");return"outside"===(r=t.getShallow("position")||(n?null:"inside"))&&(r=e.defaultOutsidePosition||"top"),null!=r&&(i.position=r),null!=s&&(i.offset=s),null!=o&&(o*=Math.PI/180,i.rotation=o),null!=a&&(i.distance=a),i.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",i}function Cf(t,e,n,r,i){n=n||wf;var o,a=e.ecModel,s=a&&a.option.textStyle,l=Of(e);if(l)for(var u in o={},l)if(l.hasOwnProperty(u)){var c=e.getModel(["rich",u]);Ef(o[u]={},c,s,n,r,i,!1,!0)}o&&(t.rich=o);var d=e.get("overflow");d&&(t.overflow=d);var h=e.get("minMargin");null!=h&&(t.margin=h),Ef(t,e,s,n,r,i,!0,!1)}function Of(t){for(var e;t&&t!==t.ecModel;){var n=(t.option||wf).rich;if(n){e=e||{};for(var r=Z(n),i=0;i<r.length;i++)e[r[i]]=1}t=t.parentModel}return e}var Pf=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],kf=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],$f=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function Ef(t,e,n,r,i,o,a,s){n=!i&&n||wf;var l=r&&r.inheritColor,u=e.getShallow("color"),c=e.getShallow("textBorderColor"),d=ht(e.getShallow("opacity"),n.opacity);"inherit"!==u&&"auto"!==u||("auto"===u&&Ra("color: 'auto'","color: 'inherit'"),u=l||null),"inherit"!==c&&"auto"!==c||("auto"===c&&Ra("color: 'auto'","color: 'inherit'"),c=l||null),o||(u=u||n.color,c=c||n.textBorderColor),null!=u&&(t.fill=u),null!=c&&(t.stroke=c);var h=ht(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=h&&(t.lineWidth=h);var f=ht(e.getShallow("textBorderType"),n.textBorderType);null!=f&&(t.lineDash=f);var p=ht(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=p&&(t.lineDashOffset=p),i||null!=d||s||(d=r&&r.defaultOpacity),null!=d&&(t.opacity=d),i||o||null==t.fill&&r.inheritColor&&(t.fill=r.inheritColor);for(var g=0;g<Pf.length;g++){var y=Pf[g];null!=(v=ht(e.getShallow(y),n[y]))&&(t[y]=v)}for(g=0;g<kf.length;g++)y=kf[g],null!=(v=e.getShallow(y))&&(t[y]=v);if(null==t.verticalAlign){var m=e.getShallow("baseline");null!=m&&(t.verticalAlign=m)}if(!a||!r.disableBox){for(g=0;g<$f.length;g++){var v;y=$f[g],null!=(v=e.getShallow(y))&&(t[y]=v)}var b=e.getShallow("borderType");null!=b&&(t.borderDash=b),"auto"!==t.backgroundColor&&"inherit"!==t.backgroundColor||!l||("auto"===t.backgroundColor&&Ra("backgroundColor: 'auto'","backgroundColor: 'inherit'"),t.backgroundColor=l),"auto"!==t.borderColor&&"inherit"!==t.borderColor||!l||("auto"===t.borderColor&&Ra("borderColor: 'auto'","borderColor: 'inherit'"),t.borderColor=l)}}function Lf(t,e){var n=e&&e.getModel("textStyle");return mt([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var Nf=fs();function Rf(t,e,n,r){if(t){var i=Nf(t);i.prevValue=i.value,i.value=n;
vendor: 1,245 bytes, line 33
33var o=e.normal;i.valueAnimation=o.get("valueAnimation"),i.valueAnimation&&(i.precision=o.get("precision"),i.defaultInterpolatedText=r,i.statesModels=e)}}function Ff(t,e,n,r,i){var o=Nf(t);if(o.valueAnimation&&o.prevValue!==o.value){var a=o.defaultInterpolatedText,s=ht(o.interpolatedValue,o.prevValue),l=o.value;t.percent=0,(null==o.prevValue?Lh:Eh)(t,{percent:1},r,e,null,u)}function u(r){var u=Ms(n,o.precision,s,l,r);o.interpolatedValue=1===r?null:u;var c=Mf({labelDataIndex:e,labelFetcher:i,defaultText:a?a(u):u+""},o.statesModels,u);Sf(t,c)}}var Bf=["textStyle","color"],jf=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],zf=new Bu,Vf=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(Bf):null)},t.prototype.getFont=function(){return Lf({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<jf.length;n++)e[jf[n]]=this.getShallow(jf[n]);
vendor: 4,299 bytes, line 33
33return zf.useStyle(e),zf.update(),zf.getBoundingRect()},t}(),Hf=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],Wf=Bs(Hf),Gf=function(){function t(){}return t.prototype.getLineStyle=function(t){return Wf(this,t)},t}(),Yf=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],Uf=Bs(Yf),Zf=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return Uf(this,t,e)},t}(),Xf=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){for(var r=[],i=3;i<arguments.length;i++)r[i-3]=arguments[i]},t.prototype.mergeOption=function(t,e){E(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var n=this.option,r=null==n?n:n[t];if(null==r&&!e){var i=this.parentModel;i&&(r=i.getShallow(t))}return r},t.prototype.getModel=function(e,n){var r=null!=e,i=r?this.parsePath(e):null;return new t(r?this._doGet(i):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(i)),this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){return new(0,this.constructor)($(this.option))},t.prototype.parsePath=function(t){return"string"==typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!a.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var r=0;r<t.length&&(!t[r]||null!=(n=n&&"object"==typeof n?n[t[r]]:null));r++);return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();Ps(Xf),Ls(Xf),z(Xf,Gf),z(Xf,Zf),z(Xf,zs),z(Xf,Vf);var qf=Math.round(10*Math.random());function Kf(t){return[t||"",qf++].join("_")}function Jf(t){var e={};t.registerSubTypeDefaulter=function(t,n){var r=Ts(t);e[r.main]=n},t.determineSubType=function(n,r){var i=r.type;if(!i){var o=Ts(n).main;t.hasSubTypes(n)&&e[o]&&(i=e[o](r))}return i}}function Qf(t,e){function n(t){var n={},o=[];return H(t,(function(a){var s=r(n,a),l=i(s.originalDeps=e(a),t);s.entryCount=l.length,0===s.entryCount&&o.push(a),H(l,(function(t){B(s.predecessor,t)<0&&s.predecessor.push(t);var e=r(n,t);B(e.successor,t)<0&&e.successor.push(a)}))})),{graph:n,noEntryList:o}}function r(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}function i(t,e){var n=[];return H(t,(function(t){B(e,t)>=0&&n.push(t)})),n}t.topologicalTravel=function(t,e,r,i){if(t.length){var o=n(e),a=o.graph,s=o.noEntryList,l={};for(H(t,(function(t){l[t]=!0}));s.length;){var u=s.pop(),c=a[u],d=!!l[u];d&&(r.call(i,u,c.originalDeps.slice()),delete l[u]),H(c.successor,d?f:h)}H(l,(function(){var n="";throw n=Fa("Circular dependency may exists: ",l,t,e),new Error(n)}))}function h(t){a[t].entryCount--,0===a[t].entryCount&&s.push(t)}function f(t){l[t]=!0,h(t)}}}function tp(t,e){return E(E({},t,!0),e,!0)}var ep={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"}
33,saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},np={time:{month:["䏿","äºæ","䏿","åæ","äºæ","å
æ","䏿","å
«æ","乿","åæ","å䏿","åäºæ"],monthAbbr:["1æ","2æ","3æ","4æ","5æ","6æ","7æ","8æ","9æ","10æ","11æ","12æ"],dayOfWeek:["æææ¥","ææä¸","ææäº","ææä¸","ææå","ææäº","ææå
"],dayOfWeekAbbr:["æ¥","ä¸","äº","ä¸","å","äº","å
"]},legend:{selector:{all:"å
¨é",inverse:"åé"}},toolbox:{brush:{title:{rect:"ç©å½¢éæ©",polygon:"åé",lineX:"横åéæ©",lineY:"纵åéæ©",keep:"ä¿æéæ©",clear:"æ¸
é¤éæ©"}},dataView:{title:"æ°æ®è§å¾",lang:["æ°æ®è§å¾","å
³é","å·æ°"]},dataZoom:{title:{zoom:"åºå缩æ¾",back:"åºå缩æ¾è¿å"}},magicType:{title:{line:"åæ¢ä¸ºæçº¿å¾",bar:"åæ¢ä¸ºæ±ç¶å¾",stack:"åæ¢ä¸ºå å ",tiled:"åæ¢ä¸ºå¹³éº"}},restore:{title:"è¿å"},saveAsImage:{title:"ä¿å为å¾ç",lang:["å³é®å¦å为å¾ç"]}},series:{typeNames:{pie:"饼å¾",bar:"æ±ç¶å¾",line:"æçº¿å¾",scatter:"æ£ç¹å¾",effectScatter:"æ¶æ¼ªæ£ç¹å¾",radar:"é·è¾¾å¾",tree:"æ å¾",treemap:"ç©å½¢æ å¾",boxplot:"ç®±åå¾",candlestick:"K线å¾",k:"K线å¾",heatmap:"çåå¾",map:"å°å¾",parallel:"å¹³è¡åæ å¾",lines:"线å¾",graph:"å
³ç³»å¾",sankey:"æ¡åºå¾",funnel:"æ¼æå¾",gauge:"仪表çå¾",pictorialBar:"象形æ±å¾",themeRiver:"䏻颿²³æµå¾",sunburst:"ææ¥å¾",custom:"èªå®ä¹å¾è¡¨",chart:"å¾è¡¨"}},aria:{general:{withTitle:"è¿æ¯ä¸ä¸ªå
³äºâ{title}âçå¾è¡¨ã",withoutTitle:"è¿æ¯ä¸ä¸ªå¾è¡¨ï¼"},series:{single:{prefix:"",withName:"å¾è¡¨ç±»åæ¯{seriesType}ï¼è¡¨ç¤º{seriesName}ã",withoutName:"å¾è¡¨ç±»åæ¯{seriesType}ã"},multiple:{prefix:"å®ç±{seriesCount}个å¾è¡¨ç³»åç»æã",withName:"第{seriesId}ä¸ªç³»åæ¯ä¸ä¸ªè¡¨ç¤º{seriesName}ç{seriesType}
33ï¼",withoutName:"第{seriesId}ä¸ªç³»åæ¯ä¸ä¸ª{seriesType}ï¼",separator:{middle:"ï¼",end:"ã"}}},data:{allData:"å
¶æ°æ®æ¯ââ",partialData:"å
¶ä¸ï¼å{displayCnt}项æ¯ââ",withName:"{name}çæ°æ®æ¯{value}",withoutName:"{value}",separator:{middle:"ï¼",end:""}}}},rp="ZH",ip="EN",op=ip,ap={},sp={},lp=a.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage||op).toUpperCase().indexOf(rp)>-1?rp:op;function up(t,e){t=t.toUpperCase(),sp[t]=new Xf(e),ap[t]=e}function cp(t){if(tt(t)){var e=ap[t.toUpperCase()]||{};return t===rp||t===ip?$(e):E($(e),$(ap[op]),!1)}return E($(t),$(ap[op]),!1)}function dp(t){return sp[t]}function hp(){return sp[op]}up(ip,ep),up(rp,np);var fp=1e3,pp=60*fp,gp=60*pp,yp=24*gp,mp=365*yp,vp={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},bp="{yyyy}-{MM}-{dd}",xp={year:"{yyyy}",month:"{yyyy}-{MM}",day:bp,hour:bp+" "+vp.hour,minute:bp+" "+vp.minute,second:bp+" "+vp.second,millisecond:vp.none},_p=["year","month","day","hour","minute","second","millisecond"],wp=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Sp(t,e){return"0000".substr(0,e-(t+="").length)+t}function Mp(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function Ip(t){return t===Mp(t)}function Ap(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function Dp(t,e,n,r){var i=va(t),o=i[Pp(n)](),a=i[kp(n)]()+1,s=Math.floor((a-1)/3)+1,l=i[$p(n)](),u=i["get"+(n?"UTC":"")+"Day"](),c=i[Ep(n)](),d=(c-1)%12+1,h=i[Lp(n)](),f=i[Np(n)](),p=i[Rp(n)](),g=c>=12?"pm":"am",y=g.toUpperCase(),m=(r instanceof Xf?r:dp(r||lp)||hp()).getModel("time"),v=m.get("month"),b=m.get("monthAbbr"),x=m.get("dayOfWeek"),_=m.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,g+"").replace(/{A}/g,y+"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,Sp(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,v[a-1]).replace(/{MMM}/g,b[a-1]).replace(/{MM}/g,Sp(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,Sp(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,x[u]).replace(/{ee}/g,_[u]).replace(/{e}/g,u+"").replace(/{HH}/g,Sp(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,Sp(d+"",2)).replace(/{h}/g,d+"").replace(/{mm}/g,Sp(h,2)).replace(/{m}/g,h+"").replace(/{ss}/g,Sp(f,2)).replace(/{s}/g,f+"").replace(/{SSS}/g,Sp(p,3)).replace(/{S}/g,p+"")}function Tp(t,e,n,r,i){var o=null;if(tt(n))o=n;else if(Q(n))o=n(t.value,e,{level:t.level});else{var a=N({},vp);if(t.level>0)for(var s=0;s<_p.length;++s)a[_p[s]]="{primary|"+a[_p[s]]+"}";var l=n?!1===n.inherit?n:R(n,a):a,u=Cp(t.value,i);if(l[u])o=l[u];else if(l.inherit){for(s=wp.indexOf(u)-1;s>=0;--s)if(l[u]){o=l[u];break}o=o||a.none}if(J(o)){var c=null==t.level?0:t.level>=0?t.level:o.length+t.level;o=o[c=Math.min(c,o.length-1)]}}return Dp(new Date(t.value),o,i,r)}function Cp(t,e){var n=va(t),r=n[kp(e)]()+1,i=n[$p(e)](),o=n[Ep(e)](),a=n[Lp(e)](),s=n[Np(e)](),l=0===n[Rp(e)](),u=l&&0===s,c=u&&0===a,d=c&&0===o,h=d&&1===i;return h&&1===r?"year":h?"month":d?"day":c?"hour":u?"minute":l?"second":"millisecond"}function Op(t,e,n){var r=nt(t)?va(t):t;switch(e=e||Cp(t,n)){case"year":return r[Pp(n)]();case"half-year":return r[kp(n)]()>=6?1:0;case"quarter":return Math.floor((r[kp(n)]()+1)/4);case"month":return r[kp(n)]();case"day":return r[$p(n)]();case"half-day":return r[Ep(n)]()/24;case"hour":return r[Ep(n)]();case"minute":return r[Lp(n)]();case"second":return r[Np(n)]();case"millisecond":return r[Rp(n)]()}}function Pp(t){return t?"getUTCFullYear":"getFullYear"}function kp(t){return t?"getUTCMonth":"getMonth"}function $p(t){return t?"getUTCDate":"getDate"}function Ep(t){return t?"getUTCHours":"getHours"}function Lp(t){return t?"getUTCMinutes":"getMinutes"}function Np(t){return t?"getUTCSeconds":"getSeconds"}function Rp(t){return t?"getUTCMilliseconds":"getMilliseconds"}function Fp(t){return t?"setUTCFullYear":"setFullYear"}function Bp(t){return t?"setUTCMonth":"setMonth"}function jp(t){return t?"setUTCDate":"setDate"}function zp(t){return t?"setUTCHours":"setHours"}function Vp(t){return t?"setUTCMinutes":"setMinutes"}function Hp(t){return t?"setUTCSeconds":"setSeconds"}function Wp(t){return t?"setUTCMilliseconds":"setMilliseconds"}function Gp(t,e,n,r,i,o,a,s){return new Bu({style:{text:t,font:e,align:n,verticalAlign:r,padding:i,rich:o,overflow:a?"truncate":null,lineHeight:s}}
vendor: 7,201 bytes, line 33
33).getBoundingRect()}function Yp(t){if(!Ia(t))return tt(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function Up(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var Zp=gt;function Xp(t,e,n){var r="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function i(t){return t&&mt(t)?t:"-"}function o(t){return!(null==t||isNaN(t)||!isFinite(t))}var a="time"===e,s=t instanceof Date;if(a||s){var l=a?va(t):t;if(!isNaN(+l))return Dp(l,r,n);if(s)return"-"}if("ordinal"===e)return et(t)?i(t):nt(t)&&o(t)?t+"":"-";var u=Ma(t);return o(u)?Yp(u):et(t)?i(t):"boolean"==typeof t?t+"":"-"}var qp=["a","b","c","d","e","f","g"],Kp=function(t,e){return"{"+t+(null==e?"":e)+"}"};function Jp(t,e,n){J(e)||(e=[e]);var r=e.length;if(!r)return"";for(var i=e[0].$vars||[],o=0;o<i.length;o++){var a=qp[o];t=t.replace(Kp(a),Kp(a,0))}for(var s=0;s<r;s++)for(var l=0;l<i.length;l++){var u=e[s][i[l]];t=t.replace(Kp(qp[l],s),n?xe(u):u)}return t}function Qp(t,e,n){return H(e,(function(e,r){t=t.replace("{"+r+"}",n?xe(e):e)})),t}function tg(t,e){var n=tt(t)?{color:t,extraCssText:e}:t||{},r=n.color,i=n.type;e=n.extraCssText;var o=n.renderMode||"html";return r?"html"===o?"subItem"===i?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+xe(r)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+xe(r)+";"+(e||"")+'"></span>':{renderMode:o,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===i?{width:4,height:4,borderRadius:2,backgroundColor:r}:{width:10,height:10,borderRadius:5,backgroundColor:r}}:""}function eg(t,e,n){Ra("echarts.format.formatTime","echarts.time.format"),"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var r=va(e),i=n?"getUTC":"get",o=r[i+"FullYear"](),a=r[i+"Month"]()+1,s=r[i+"Date"](),l=r[i+"Hours"](),u=r[i+"Minutes"](),c=r[i+"Seconds"](),d=r[i+"Milliseconds"]();return t=t.replace("MM",Sp(a,2)).replace("M",a).replace("yyyy",o).replace("yy",Sp(o%100+"",2)).replace("dd",Sp(s,2)).replace("d",s).replace("hh",Sp(l,2)).replace("h",l).replace("mm",Sp(u,2)).replace("m",u).replace("ss",Sp(c,2)).replace("s",c).replace("SSS",Sp(d,3))}function ng(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}function rg(t,e){return e=e||"transparent",tt(t)?t:rt(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function ig(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}var og=H,ag=["left","right","top","bottom","width","height"],sg=[["width","left","right"],["height","top","bottom"]];function lg(t,e,n,r,i){var o=0,a=0;null==r&&(r=1/0),null==i&&(i=1/0);var s=0;e.eachChild((function(l,u){var c,d,h=l.getBoundingRect(),f=e.childAt(u+1),p=f&&f.getBoundingRect();if("horizontal"===t){var g=h.width+(p?-p.x+h.x:0);(c=o+g)>r||l.newline?(o=0,c=g,a+=s+n,s=h.height):s=Math.max(s,h.height)}else{var y=h.height+(p?-p.y+h.y:0);(d=a+y)>i||l.newline?(o+=s+n,a=0,d=y,s=h.width):s=Math.max(s,h.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=c+n:a=d+n)}))}var ug=lg;function cg(t,e,n){var r=e.width,i=e.height,o=oa(t.left,r),a=oa(t.top,i),s=oa(t.right,r),l=oa(t.bottom,i);return(isNaN(o)||isNaN(parseFloat(t.left)))&&(o=0),(isNaN(s)||isNaN(parseFloat(t.right)))&&(s=r),(isNaN(a)||isNaN(parseFloat(t.top)))&&(a=0),(isNaN(l)||isNaN(parseFloat(t.bottom)))&&(l=i),n=Zp(n||0),{width:Math.max(s-o-n[1]-n[3],0),height:Math.max(l-a-n[0]-n[2],0)}}function dg(t,e,n){n=Zp(n||0);var r=e.width,i=e.height,o=oa(t.left,r),a=oa(t.top,i),s=oa(t.right,r),l=oa(t.bottom,i),u=oa(t.width,r),c=oa(t.height,i),d=n[2]+n[0],h=n[1]+n[3],f=t.aspect;switch(isNaN(u)&&(u=r-s-h-o),isNaN(c)&&(c=i-l-d-a),null!=f&&(isNaN(u)&&isNaN(c)&&(f>r/i?u=.8*r:c=.8*i),isNaN(u)&&(u=f*c),isNaN(c)&&(c=u/f)),isNaN(o)&&(o=r-s-u-h),isNaN(a)&&(a=i-l-c-d),t.left||t.right){case"center":o=r/2-u/2-n[3];break;case"right":o=r-u-h}switch(t.top||t.bottom){case"middle":case"center":a=i/2-c/2-n[0];break;case"bottom":a=i-c-d}o=o||0,a=a||0,isNaN(u)&&(u=r-h-o-(s||0)),isNaN(c)&&(c=i-d-a-(l||0));var p=new nn(o+n[3],a+n[0],u,c);return p.margin=n,p}function hg(t,e,n,r,i,o){var a,s=!i||!i.hv||i.hv[0],l=!i||!i.hv||i.hv[1],u=i&&i.boundingMode||"all";if((o=o||t).x=t.x,o.y=t.y,!s&&!l)return!1;if("raw"===u)a="group"===t.type?new nn(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(a=t.getBoundingRect(),t.needLocalTransform()){var c=t.getLocalTransform();(a=a.clone()).applyTransform(c)}var d=dg(R({width:a.width,height:a.height},e),n,r),h=s?d.x-a.x:0,f=l?d.y-a.y:0;return"raw"===u?(o.x=h,o.y=f):(o.x+=h,o.y+=f),o===t&&t.markRedraw(),!0}function fg(t,e){return null!=t[sg[e][0]]||null!=t[sg[e][1]]&&null!=t[sg[e][2]]}function pg(t){var e=t.layoutMode||t.constructor.layoutMode;return rt(e)?e:e?{type:e}:null}function gg(t,e,n){var r=n&&n.ignoreSize;!J(r)&&(r=[r,r]);var i=a(sg[0],0),o=a(sg[1],1);function a(n,i){var o={},a=0,u={},c=0,d=2;if(og(n,(function(e){u[e]=t[e]})),og(n,(function(t){s(e,t)&&(o[t]=u[t]=e[t]),l(o,t)&&a++,l(u,t)&&c++})),r[i])return l(e,n[1])?u[n[2]]=null:l(e,n[2])&&(u[n[1]]=null),u;if(c!==d&&a){if(a>=d)return o;for(var h=0;h<n.length;h++){var f=n[h];if(!s(o,f)&&s(t,f)){o[f]=t[f];break}}return o}return u}function s(t,e){return t.hasOwnProperty(e)}function l(t,e){return null!=t[e]&&"auto"!==t[e]}function u(t,e,n){og(t,(function(t){e[t]=n[t]}))}u(sg[0],t,i),u(sg[1],t,o)}function yg(t){return mg({},t)}function mg(t,e){return e&&t&&og(ag,(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}K(lg,"vertical"),K(lg,"horizontal");var vg=fs(),bg=function(t){function e(e,n,r){var i=t.call(this,e,n,r)||this;return i.uid=Kf("ec_cpt_model"),i}return i(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=pg(this),r=n?yg(t):{};E(t,e.getTheme().get(this.mainType)),E(t,this.getDefaultOption()),n&&gg(t,r,n)},e.prototype.mergeOption=function(t,e){E(this.option,t,!0);var n=pg(this);n&&gg(this.option,t,n)},e.prototype.optionUpdated=function(t,e){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!Os(t))return t.defaultOption;var e=vg(this);if(!e.defaultOption){for(var n=[],r=t;r;){var i=r.prototype.defaultOption;i&&n.push(i),r=r.superClass}for(var o={},a=n.length-1;a>=0;a--)o=E(o,n[a],!0);e.defaultOption=o}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",r=t+"Id";return bs(this.ecModel,t,{index:this.get(n,!0),id:this.get(r,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(Xf);function xg(t){var e=[];return H(bg.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.depen
33dencies||[])})),e=W(e,(function(t){return Ts(t).main})),"dataset"!==t&&B(e,"dataset")<=0&&e.unshift("dataset"),e}$s(bg,Xf),Fs(bg),Jf(bg),Qf(bg,xg);var _g="";"undefined"!=typeof navigator&&(_g=navigator.platform||"");var wg="rgba(0, 0, 0, 0.2)",Sg={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:wg,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:wg,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:wg,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:wg,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:wg,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:wg,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:_g.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},Mg=It(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),Ig="original",Ag="arrayRows",Dg="objectRows",Tg="keyedColumns",Cg="typedArray",Og="unknown",Pg="column",kg="row",$g={Must:1,Might:2,Not:3},Eg=fs();function Lg(t){Eg(t).datasetMap=It()}function Ng(t,e,n){var r={},i=Fg(e);if(!i||!t)return r;var o,a,s=[],l=[],u=e.ecModel,c=Eg(u).datasetMap,d=i.uid+"_"+n.seriesLayoutBy;H(t=t.slice(),(function(e,n){var i=rt(e)?e:t[n]={name:e};"ordinal"===i.type&&null==o&&(o=n,a=p(i)),r[i.name]=[]}));var h=c.get(d)||c.set(d,{categoryWayDim:a,valueWayDim:0});function f(t,e,n){for(var r=0;r<n;r++)t.push(e+r)}function p(t){var e=t.dimsDef;return e?e.length:1}return H(t,(function(t,e){var n=t.name,i=p(t);if(null==o){var a=h.valueWayDim;f(r[n],a,i),f(l,a,i),h.valueWayDim+=i}else o===e?(f(r[n],0,i),f(s,0,i)):(a=h.categoryWayDim,f(r[n],a,i),f(l,a,i),h.categoryWayDim+=i)})),s.length&&(r.itemName=s),l.length&&(r.seriesName=l),r}function Rg(t,e,n){var r={};if(!Fg(t))return r;var i,o=e.sourceFormat,a=e.dimensionsDefine;o!==Dg&&o!==Tg||H(a,(function(t,e){"name"===(rt(t)?t.name:t)&&(i=e)}));var s=function(){for(var t={},r={},s=[],l=0,u=Math.min(5,n);l<u;l++){var c=zg(e.data,o,e.seriesLayoutBy,a,e.startIndex,l);s.push(c);var d=c===$g.Not;if(d&&null==t.v&&l!==i&&(t.v=l),(null==t.n||t.n===t.v||!d&&s[t.n]===$g.Not)&&(t.n=l),h(t)&&s[t.n]!==$g.Not)return t;d||(c===$g.Might&&null==r.v&&l!==i&&(r.v=l),null!=r.n&&r.n!==r.v||(r.n=l))}function h(t){return null!=t.v&&null!=t.n}return h(t)?t:h(r)?r:null}();if(s){r.value=[s.v];var l=null!=i?i:s.n;r.itemName=[l],r.seriesName=[l]}return r}function Fg(t){if(!t.get("data",!0))return bs(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},ms).models[0]}function Bg(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?bs(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},ms).models:[]}function jg(t,e){return zg(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function zg(t,e,n,r,i,o){var a,s,l,u=5;if(ot(t))return $g.Not;if(r){var c=r[o];rt(c)?(s=c.name,l=c.type):tt(c)&&(s=c)}if(null!=l)return"ordinal"===l?$g.Must:$g.Not;if(e===Ag){var d=t;if(n===kg){for(var h=d[o],f=0;f<(h||[]).length&&f<u;f++)if(null!=(a=x(h[i+f])))return a}else for(f=0;f<d.length&&f<u;f++){var p=d[i+f];if(p&&null!=(a=x(p[o])))return a}}else if(e===Dg){var g=t;if(!s)return $g.Not;for(f=0;f<g.length&&f<u;f++)if((v=g[f])&&null!=(a=x(v[s])))return a}else if(e===Tg){var y=t;if(!s)return $g.Not;if(!(h=y[s])||ot(h))return $g.Not;for(f=0;f<h.length&&f<u;f++)if(null!=(a=x(h[f])))return a}else if(e===Ig){var m=t;for(f=0;f<m.length&&f<u;f++){var v,b=Ya(v=m[f]);if(!J(b))return $g.Not;if(null!=(a=x(b[o])))return a}}function x(t){var e=tt(t);return null!=t&&Number.isFinite(Number(t))&&""!==t?e?$g.Might:$g.Not:e&&"-"!==t?$g.Must:void 0}return $g.Not}var Vg=It();function Hg(t,e){yt(null==Vg.get(t)&&e),Vg.set(t,e)}function Wg(t,e,n){var r=Vg.get(e);if(!r)return n;var i=r(t);if(!i)return n;for(var o=0;o<i.length;o++)yt(ss(i[o]));return n.concat(i)}var Gg,Yg,Ug,Zg=fs(),Xg=fs(),qg=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){var r=Ha(this.get("color",!0)),i=this.get("colorLayer",!0);return Qg(this,Zg,r,i,t,e,n)},t.prototype.clearColorPalette=function(){ty(this,Zg)},t}();
33function Kg(t,e,n,r){var i=Ha(t.get(["aria","decal","decals"]));return Qg(t,Xg,i,null,e,n,r)}function Jg(t,e){for(var n=t.length,r=0;r<n;r++)if(t[r].length>e)return t[r];return t[n-1]}function Qg(t,e,n,r,i,o,a){var s=e(o=o||t),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(i))return u[i];var c=null!=a&&r?Jg(r,a):n;if((c=c||n)&&c.length){var d=c[l];return i&&(u[i]=d),s.paletteIdx=(l+1)%c.length,d}}function ty(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}var ey="\0_ec_inner",ny=1,ry={grid:"GridComponent",polar:"PolarComponent",geo:"GeoComponent",singleAxis:"SingleAxisComponent",parallel:"ParallelComponent",calendar:"CalendarComponent",graphic:"GraphicComponent",toolbox:"ToolboxComponent",tooltip:"TooltipComponent",axisPointer:"AxisPointerComponent",brush:"BrushComponent",title:"TitleComponent",timeline:"TimelineComponent",markPoint:"MarkPointComponent",markLine:"MarkLineComponent",markArea:"MarkAreaComponent",legend:"LegendComponent",dataZoom:"DataZoomComponent",visualMap:"VisualMapComponent",xAxis:"GridComponent",yAxis:"GridComponent",angleAxis:"PolarComponent",radiusAxis:"PolarComponent"},iy={line:"LineChart",bar:"BarChart",pie:"PieChart",scatter:"ScatterChart",radar:"RadarChart",map:"MapChart",tree:"TreeChart",treemap:"TreemapChart",graph:"GraphChart",gauge:"GaugeChart",funnel:"FunnelChart",parallel:"ParallelChart",sankey:"SankeyChart",boxplot:"BoxplotChart",candlestick:"CandlestickChart",effectScatter:"EffectScatterChart",lines:"LinesChart",heatmap:"HeatmapChart",pictorialBar:"PictorialBarChart",themeRiver:"ThemeRiverChart",sunburst:"SunburstChart",custom:"CustomChart"},oy={};function ay(t){H(t,(function(t,e){if(!bg.hasClass(e)){var n=ry[e];n&&!oy[n]&&(La("Component "+e+" is used but not imported.\nimport { "+n+" } from 'echarts/components';\necharts.use(["+n+"]);"),oy[n]=!0)}}))}var sy=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.init=function(t,e,n,r,i,o){r=r||{},this.option=null,this._theme=new Xf(r),this._locale=new Xf(i),this._optionManager=o},e.prototype.setOption=function(t,e,n){yt(null!=t,"option is null/undefined"),yt(t[ey]!==ny,"please use chart.getOption()");var r=hy(e);this._optionManager.setOption(t,n,r),this._resetOption(null,r)},e.prototype.resetOption=function(t,e){return this._resetOption(t,hy(e))},e.prototype._resetOption=function(t,e){var n=!1,r=this._optionManager;if(!t||"recreate"===t){var i=r.mountOption("recreate"===t);ay(i),this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(i,e)):Ug(this,i),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=r.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=r.getMediaOption(this);a.length&&H(a,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,r=this._componentsMap,i=this._componentsCount,o=[],a=It(),s=e&&e.replaceMergeMainTypeMap;function l(e){var o=Wg(this,e,Ha(t[e])),a=r.get(e),l=Za(a,o,a?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll");us(l,e,bg),n[e]=null,r.set(e,null),i.set(e,0);var u,c,d=[],h=[],f=0;H(l,(function(t,n){var r=t.existing,i=t.newOption;if(i){var o="series"===e,a=bg.getClass(e,t.keyInfo.subType,!o);if(!a){var s=t.keyInfo.subType,l=iy[s];return void(oy[s]||(oy[s]=!0,La(l?"Series "+s+" is used but not imported.\nimport { "+l+" } from 'echarts/charts';\necharts.use(["+l+"]);":"Unknown series "+s)))}if("tooltip"===e){if(u)return void(c||(Ea("Currently only one tooltip component is allowed."),c=!0));u=!0}if(r&&r.constructor===a)r.name=t.keyInfo.name,r.mergeOption(i,this),r.optionUpdated(i,!1);else{var p=N({componentIndex:n},t.keyInfo);
vendor: 5,166 bytes, line 33
33N(r=new a(i,this,this,p),p),t.brandNew&&(r.__requireNewView=!0),r.init(i,this,this),r.optionUpdated(null,!0)}}else r&&(r.mergeOption({},this),r.optionUpdated({},!1));r?(d.push(r.option),h.push(r),f++):(d.push(void 0),h.push(void 0))}),this),n[e]=d,r.set(e,h),i.set(e,f),"series"===e&&Gg(this)}Lg(this),H(t,(function(t,e){null!=t&&(bg.hasClass(e)?e&&(o.push(e),a.set(e,!0)):n[e]=null==n[e]?$(t):E(n[e],t,!0))})),s&&s.each((function(t,e){bg.hasClass(e)&&!a.get(e)&&(o.push(e),a.set(e,!0))})),bg.topologicalTravel(o,bg.getAllClassMainTypes(),l,this),this._seriesIndices||Gg(this)},e.prototype.getOption=function(){var t=$(this.option);return H(t,(function(e,n){if(bg.hasClass(n)){for(var r=Ha(e),i=r.length,o=!1,a=i-1;a>=0;a--)r[a]&&!ss(r[a])?o=!0:(r[a]=null,!o&&i--);r.length=i,t[n]=r}})),delete t[ey],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var r=n[e||0];if(r)return r;if(null==e)for(var i=0;i<n.length;i++)if(n[i])return n[i]}},e.prototype.queryComponents=function(t){var e=t.mainType;if(!e)return[];var n,r=t.index,i=t.id,o=t.name,a=this._componentsMap.get(e);return a&&a.length?(null!=r?(n=[],H(Ha(r),(function(t){a[t]&&n.push(a[t])}))):n=null!=i?cy("id",i,a):null!=o?cy("name",o,a):Y(a,(function(t){return!!t})),dy(n,t)):[]},e.prototype.findComponents=function(t){var e=t.query,n=t.mainType,r=i(e);return o(dy(r?this.queryComponents(r):Y(this._componentsMap.get(n),(function(t){return!!t})),t));function i(t){var e=n+"Index",r=n+"Id",i=n+"Name";return!t||null==t[e]&&null==t[r]&&null==t[i]?null:{mainType:n,index:t[e],id:t[r],name:t[i]}}function o(e){return t.filter?Y(e,t.filter):e}},e.prototype.eachComponent=function(t,e,n){var r=this._componentsMap;if(Q(t)){var i=e,o=t;r.each((function(t,e){for(var n=0;t&&n<t.length;n++){var r=t[n];r&&o.call(i,e,r,r.componentIndex)}}))}else for(var a=tt(t)?r.get(t):rt(t)?this.findComponents(t):null,s=0;a&&s<a.length;s++){var l=a[s];l&&e.call(n,l,l.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=rs(t,null);return Y(this._componentsMap.get("series"),(function(t){return!!t&&null!=e&&t.name===e}))},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return Y(this._componentsMap.get("series"),(function(e){return!!e&&e.subType===t}))},e.prototype.getSeries=function(){return Y(this._componentsMap.get("series"),(function(t){return!!t}))},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){Yg(this),H(this._seriesIndices,(function(n){var r=this._componentsMap.get("series")[n];t.call(e,r,n)}),this)},e.prototype.eachRawSeries=function(t,e){H(this._componentsMap.get("series"),(function(n){n&&t.call(e,n,n.componentIndex)}))},e.prototype.eachSeriesByType=function(t,e,n){Yg(this),H(this._seriesIndices,(function(r){var i=this._componentsMap.get("series")[r];i.subType===t&&e.call(n,i,r)}),this)},e.prototype.eachRawSeriesByType=function(t,e,n){return H(this.getSeriesByType(t),e,n)},e.prototype.isSeriesFiltered=function(t){return Yg(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){Yg(this);var n=[];H(this._seriesIndices,(function(r){var i=this._componentsMap.get("series")[r];t.call(e,i,r)&&n.push(r)}),this),this._seriesIndices=n,this._seriesIndicesMap=It(n)},e.prototype.restoreData=function(t){Gg(this);var e=this._componentsMap,n=[];e.each((function(t,e){bg.hasClass(e)&&n.push(e)})),bg.topologicalTravel(n,bg.getAllClassMainTypes(),(function(n){H(e.get(n),(function(e){!e||"series"===n&&ly(e,t)||e.restoreData()}))}))},e.internalField=(Gg=function(t){var e=t._seriesIndices=[];H(t._componentsMap.get("series"),(function(t){t&&e.push(t.componentIndex)})),t._seriesIndicesMap=It(e)},Yg=function(t){if(!t._seriesIndices)throw new Error("Option should contains series.")},void(Ug=function(t,e){t.option={},t.option[ey]=ny,t._componentsMap=It({series:[]}),t._componentsCount=It();var n=e.aria;rt(n)&&null==n.enabled&&(n.enabled=!0),uy(e,t._theme.option),E(e,Sg,!1),t._mergeOption(e,null)})),e}(Xf);function ly(t,e){if(e){var n=e.seriesIndex,r=e.seriesId,i=e.seriesName;return null!=n&&t.componentIndex!==n||null!=r&&t.id!==r||null!=i&&t.name!==i}}function uy(t,e){var n=t.color&&!t.colorLayer;H(e,(function(e,r){"colorLayer"===r&&n||bg.hasClass(r)||("object"==typeof e?t[r]=t[r]?E(t[r],e,!1):$(e):null==t[r]&&(t[r]=e))}))}function cy(t,e,n){if(J(e)){var r=It();return H(e,(function(t){null!=t&&null!=rs(t,null)&&r.set(t,!0)})),Y(n,(function(e){return e&&r.get(e[t])}))}var i=rs(e,null);return Y(n,(function(e){return e&&null!=i&&e[t]===i}))}function dy(t,e){return e.hasOwnProperty("subType")?Y(t,(function(t){return t&&t.subType===e.subType})):t}function hy(t){var e=It();return t&&H(Ha(t.replaceMerge),(function(t){yt(bg.hasClass(t),'"'+t+'" is not val
33id component main type in "replaceMerge"'),e.set(t,!0)})),{replaceMergeMainTypeMap:e}}z(sy,qg);var fy=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],py=function(){function t(t){H(fy,(function(e){this[e]=q(t[e],t)}),this)}return t}(),gy={},yy=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];H(gy,(function(r,i){var o=r.create(t,e);n=n.concat(o||[])})),this._coordinateSystems=n},t.prototype.update=function(t,e){H(this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){gy[t]=e},t.get=function(t){return gy[t]},t}(),my=/^(min|max)?(.+)$/,vy=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&(H(Ha(t.series),(function(t){t&&t.data&&ot(t.data)&&bt(t.data)})),H(Ha(t.dataset),(function(t){t&&t.source&&ot(t.source)&&bt(t.source)}))),t=$(t);var r=this._optionBackup,i=by(t,e,!r);this._newBaseOption=i.baseOption,r?(i.timelineOptions.length&&(r.timelineOptions=i.timelineOptions),i.mediaList.length&&(r.mediaList=i.mediaList),i.mediaDefault&&(r.mediaDefault=i.mediaDefault)):this._optionBackup=i},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],$(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var r=t.getComponent("timeline");r&&(e=$(n[r.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e=this._api.getWidth(),n=this._api.getHeight(),r=this._mediaList,i=this._mediaDefault,o=[],a=[];if(!r.length&&!i)return a;for(var s=0,l=r.length;s<l;s++)xy(r[s].query,e,n)&&o.push(s);return!o.length&&i&&(o=[-1]),o.length&&!wy(o,this._currentMediaIndices)&&(a=W(o,(function(t){return $(-1===t?i.option:r[t].option)}))),this._currentMediaIndices=o,a},t}();function by(t,e,n){var r,i,o=[],a=t.baseOption,s=t.timeline,l=t.options,u=t.media,c=!!t.media,d=!!(l||s||a&&a.timeline);function h(t){H(e,(function(e){e(t,n)}))}return a?(i=a).timeline||(i.timeline=s):((d||c)&&(t.options=t.media=null),i=t),c&&(J(u)?H(u,(function(t){t&&!t.option&&rt(t.query)&&rt(t.query.option)&&La("Illegal media option. Must be like { media: [ { query: {}, option: {} } ] }"),t&&t.option&&(t.query?o.push(t):r||(r=t))})):La("Illegal media option. Must be an array. Like { media: [ {...}, {...} ] }")),h(i),H(l,(function(t){return h(t)})),H(o,(function(t){return h(t.option)})),{baseOption:i,timelineOptions:l||[],mediaDefault:r,mediaList:o}}function xy(t,e,n){var r={width:e,height:n,aspectratio:e/n},i=!0;return H(t,(function(t,e){var n=e.match(my);if(n&&n[1]&&n[2]){var o=n[1],a=n[2].toLowerCase();_y(r[a],t,o)||(i=!1)}})),i}function _y(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e}function wy(t,e){return t.join(",")===e.join(",")}var Sy=H,My=rt,Iy=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Ay(t){var e=t&&t.itemStyle;if(e)for(var n=0,r=Iy.length;n<r;n++){var i=Iy[n],o=e.normal,a=e.emphasis;o&&o[i]&&(Ra("itemStyle.normal."+i,i),t[i]=t[i]||{},t[i].normal?E(t[i].normal,o[i]):t[i].normal=o[i],o[i]=null),a&&a[i]&&(Ra("itemStyle.emphasis."+i,"emphasis."+i),t[i]=t[i]||{},t[i].emphasis?E(t[i].emphasis,a[i]):t[i].emphasis=a[i],a[i]=null)}}function Dy(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var r=t[e].normal,i=t[e].emphasis;r&&(Na("'normal' hierarchy in "+e+" has been removed since 4.0. All style properties are configured in "+e+" directly now."),n?(t[e].normal=t[e].emphasis=null,R(t[e],r)):t[e]=r),i&&(Na(e+".emphasis has been changed to emphasis."+e+" since 4.0"),t.emphasis=t.emphasis||{},t.emphasis[e]=i,i.focus&&(t.emphasis.focus=i.focus),i.blurScope&&(t.emphasis.blurScope=i.blurScope))}}function Ty(t){Dy(t,"itemStyle"),Dy(t,"lineStyle"),Dy(t,"areaStyle"),Dy(t,"label"),Dy(t,"labelLine"),Dy(t,"upperLabel"),Dy(t,"edgeLabel")}function Cy(t,e){var n=My(t)&&t[e],r=My(n)&&n.textStyle;
vendor: 2,120 bytes, line 33
33if(r){Na("textStyle hierarchy in "+e+" has been removed since 4.0. All textStyle properties are configured in "+e+" directly now.");for(var i=0,o=Ga.length;i<o;i++){var a=Ga[i];r.hasOwnProperty(a)&&(n[a]=r[a])}}}function Oy(t){t&&(Ty(t),Cy(t,"label"),t.emphasis&&Cy(t.emphasis,"label"))}function Py(t){if(My(t)){Ay(t),Ty(t),Cy(t,"label"),Cy(t,"upperLabel"),Cy(t,"edgeLabel"),t.emphasis&&(Cy(t.emphasis,"label"),Cy(t.emphasis,"upperLabel"),Cy(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(Ay(e),Oy(e));var n=t.markLine;n&&(Ay(n),Oy(n));var r=t.markArea;r&&Oy(r);var i=t.data;if("graph"===t.type){i=i||t.nodes;var o=t.links||t.edges;if(o&&!ot(o))for(var a=0;a<o.length;a++)Oy(o[a]);H(t.categories,(function(t){Ty(t)}))}if(i&&!ot(i))for(a=0;a<i.length;a++)Oy(i[a]);if((e=t.markPoint)&&e.data){var s=e.data;for(a=0;a<s.length;a++)Oy(s[a])}if((n=t.markLine)&&n.data){var l=n.data;for(a=0;a<l.length;a++)J(l[a])?(Oy(l[a][0]),Oy(l[a][1])):Oy(l[a])}"gauge"===t.type?(Cy(t,"axisLabel"),Cy(t,"title"),Cy(t,"detail")):"treemap"===t.type?(Dy(t.breadcrumb,"itemStyle"),H(t.levels,(function(t){Ty(t)}))):"tree"===t.type&&Ty(t.leaves)}}function ky(t){return J(t)?t:t?[t]:[]}function $y(t){return(J(t)?t[0]:t)||{}}function Ey(t,e){Sy(ky(t.series),(function(t){My(t)&&Py(t)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),Sy(n,(function(e){Sy(ky(t[e]),(function(t){t&&(Cy(t,"axisLabel"),Cy(t.axisPointer,"label"))}))})),Sy(ky(t.parallel),(function(t){var e=t&&t.parallelAxisDefault;Cy(e,"axisLabel"),Cy(e&&e.axisPointer,"label")})),Sy(ky(t.calendar),(function(t){Dy(t,"itemStyle"),Cy(t,"dayLabel"),Cy(t,"monthLabel"),Cy(t,"yearLabel")})),Sy(ky(t.radar),(function(t){Cy(t,"name"),t.name&&null==t.axisName&&(t.axisName=t.name,delete t.name,Na("name property in radar component has been changed to axisName")),null!=t.nameGap&&null==t.axisNameGap&&(t.axisNameGap=t.nameGap,delete t.nameGap,Na("nameGap property in radar component has been changed to axisNameGap")),Sy(t.indicator,(function(t){t.text&&Ra("text","name","radar.indicator")}))}
vendor: 13,362 bytes, line 33
33)),Sy(ky(t.geo),(function(t){My(t)&&(Oy(t),Sy(ky(t.regions),(function(t){Oy(t)})))})),Sy(ky(t.timeline),(function(t){Oy(t),Dy(t,"label"),Dy(t,"itemStyle"),Dy(t,"controlStyle",!0);var e=t.data;J(e)&&H(e,(function(t){rt(t)&&(Dy(t,"label"),Dy(t,"itemStyle"))}))})),Sy(ky(t.toolbox),(function(t){Dy(t,"iconStyle"),Sy(t.feature,(function(t){Dy(t,"iconStyle")}))})),Cy($y(t.axisPointer),"label"),Cy($y(t.tooltip).axisPointer,"label")}function Ly(t,e){for(var n=e.split(","),r=t,i=0;i<n.length&&null!=(r=r&&r[n[i]]);i++);return r}function Ny(t,e,n,r){for(var i,o=e.split(","),a=t,s=0;s<o.length-1;s++)null==a[i=o[s]]&&(a[i]={}),a=a[i];(r||null==a[o[s]])&&(a[o[s]]=n)}function Ry(t){t&&H(Fy,(function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])}))}var Fy=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],By=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],jy=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function zy(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<jy.length;n++){var r=jy[n][1],i=jy[n][0];null!=e[r]&&(e[i]=e[r],Ra(r,i))}}function Vy(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(Ra("label.margin","label.edgeDistance","pie"),t.edgeDistance=t.margin)}function Hy(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay,Ra("downplay","blur","sunburst"))}function Wy(t){t&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(Ra("focusNodeAdjacency","emphasis: { focus: 'adjacency'}","graph/sankey"),t.emphasis.focus="adjacency"))}function Gy(t,e){if(t)for(var n=0;n<t.length;n++)e(t[n]),t[n]&&Gy(t[n].children,e)}function Yy(t,e){Ey(t,e),t.series=Ha(t.series),H(t.series,(function(t){if(rt(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow,Ra("clipOverflow","clip","line"));else if("pie"===e||"gauge"===e){if(null!=t.clockWise&&(t.clockwise=t.clockWise,Ra("clockWise","clockwise")),Vy(t.label),(i=t.data)&&!ot(i))for(var n=0;n<i.length;n++)Vy(i[n]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},(t.emphasis.scaleSize=null)&&(Ra("hoverOffset","emphasis.scaleSize"),t.emphasis.scaleSize=t.hoverOffset))}else if("gauge"===e){var r=Ly(t,"pointer.color");null!=r&&Ny(t,"itemStyle.color",r)}else if("bar"===e){var i;if(zy(t),zy(t.backgroundStyle),zy(t.emphasis),(i=t.data)&&!ot(i))for(n=0;n<i.length;n++)"object"==typeof i[n]&&(zy(i[n]),zy(i[n]&&i[n].emphasis))}else if("sunburst"===e){var o=t.highlightPolicy;o&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=o,Ra("highlightPolicy","emphasis.focus","sunburst"))),Hy(t),Gy(t.data,Hy)}else"graph"===e||"sankey"===e?Wy(t):"map"===e&&(t.mapType&&!t.map&&(Ra("mapType","map","map"),t.map=t.mapType),t.mapLocation&&(Na("`mapLocation` is not used anymore."),R(t,t.mapLocation)));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(Ra("hoverAnimation","emphasis.scale"),t.emphasis.scale=t.hoverAnimation)),Ry(t)}})),t.dataRange&&(t.visualMap=t.dataRange),H(By,(function(e){var n=t[e];n&&(J(n)||(n=[n]),H(n,(function(t){Ry(t)})))}))}function Uy(t){var e=It();t.eachSeries((function(t){var n=t.get("stack");if(n){var r=e.get(n)||e.set(n,[]),i=t.getData(),o={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;r.length&&i.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(o)}})),e.each(Zy)}function Zy(t){H(t,(function(e,n){var r=[],i=[NaN,NaN],o=[e.stackResultDimension,e.stackedOverDimension],a=e.data,s=e.isStackedByIndex,l=e.seriesModel.get("stackStrategy")||"samesign";a.modify(o,(function(o,u,c){var d,h,f=a.get(e.stackedDimension,c);if(isNaN(f))return i;s?h=a.getRawIndex(c):d=a.get(e.stackedByDimension,c);for(var p=NaN,g=n-1;g>=0;g--){var y=t[g];if(s||(h=y.data.rawIndexOf(y.stackedByDimension,d)),h>=0){var m=y.data.getByRawIndex(y.stackResultDimension,h);if("all"===l||"positive"===l&&m>0||"negative"===l&&m<0||"samesign"===l&&f>=0&&m>0||"samesign"===l&&f<=0&&m<0){f=fa(f,m),p=m;break}}}return r[0]=f,r[1]=p,r}))}))}var Xy,qy,Ky,Jy,Qy,tm=function(){function t(t){this.data=t.data||(t.sourceFormat===Tg?{}:[]),this.sourceFormat=t.sourceFormat||Og,this.seriesLayoutBy=t.seriesLayoutBy||Pg,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var r=e[n];null==r.type&&jg(this,n)===$g.Must&&(r.type="ordinal")}}return t}();function em(t){return t instanceof tm}function nm(t,e,n){n=n||om(t);var r=e.seriesLayoutBy,i=am(t,n,r,e.sourceHeader,e.dimensions);return new tm({data:t,sourceFormat:n,seriesLayoutBy:r,dimensionsDefine:i.dimensionsDefine,startIndex:i.startIndex,dimensionsDetectedCount:i.dimensionsDetectedCount,metaRawOption:$(e)})}function rm(t){return new tm({data:t,sourceFormat:ot(t)?Cg:Ig})}function im(t){return new tm({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:$(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})}function om(t){var e=Og;if(ot(t))e=Cg;else if(J(t)){0===t.length&&(e=Ag);for(var n=0,r=t.length;n<r;n++){var i=t[n];if(null!=i){if(J(i)||ot(i)){e=Ag;break}if(rt(i)){e=Dg;break}}}}else if(rt(t))for(var o in t)if(Ct(t,o)&&V(t[o])){e=Tg;break}return e}function am(t,e,n,r,i){var o,a;if(!t)return{dimensionsDefine:lm(i),startIndex:a,dimensionsDetectedCount:o};if(e===Ag){var s=t;"auto"===r||null==r?um((function(t){null!=t&&"-"!==t&&(tt(t)?null==a&&(a=1):a=0)}),n,s,10):a=nt(r)?r:r?1:0,i||1!==a||(i=[],um((function(t,e){i[e]=null!=t?t+"":""}),n,s,1/0)),o=i?i.length:n===kg?s.length:s[0]?s[0].length:null}else if(e===Dg)i||(i=sm(t));else if(e===Tg)i||(i=[],H(t,(function(t,e){i.push(e)})));else if(e===Ig){var l=Ya(t[0]);o=J(l)&&l.length||1}else e===Cg&&yt(!!i,"dimensions must be given if data is TypedArray.");return{startIndex:a,dimensionsDefine:lm(i),dimensionsDetectedCount:o}}function sm(t){for(var e,n=0;n<t.length&&!(e=t[n++]););if(e)return Z(e)}function lm(t){if(t){var e=It();return W(t,(function(t,n){var r={name:(t=rt(t)?t:{name:t}).name,displayName:t.displayName,type:t.type};if(null==r.name)return r;r.name+="",null==r.displayName&&(r.displayName=r.name);var i=e.get(r.name);return i?r.name+="-"+i.count++:e.set(r.name,{count:1}),r}))}}function um(t,e,n,r){if(e===kg)for(var i=0;i<n.length&&i<r;i++)t(n[i]?n[i][0]:null,i);else{var o=n[0]||[];for(i=0;i<o.length&&i<r;i++)t(o[i],i)}}function cm(t){var e=t.sourceFormat;return e===Dg||e===Tg}var dm=function(){function t(t,e){var n=em(t)?t:rm(t);this._source=n;var r=this._data=n.data;if(n.sourceFormat===Cg){if(null==e)throw new Error("Typed array data must specify dimension size");this._offset=0,this._dimSize=e,this._data=r}Qy(this,r,n)}return t.prototype.getSource=function(){return this._source},t.prototype.count=function(){return 0},t.prototype.getItem=function(t,e){},t.prototype.appendData=function(t){},t.prototype.clean=function(){},t.protoInitialize=function(){var e=t.prototype;e.pure=!1,e.persistent=!0}(),t.internalField=function(){var t;Qy=function(t,i,o){var a=o.sourceFormat,s=o.seriesLayoutBy,l=o.startIndex,u=o.dimensionsDefine,c=Jy[_m(a,s)];if(yt(c,"Invalide sourceFormat: "+a),N(t,c),a===Cg)t.getItem=e,t.count=r,t.fillStorage=n;else{var d=pm(a,s);t.getItem=q(d,null,i,l,u);var h=mm(a,s);t.count=q(h,null,i,l,u)}};var e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,r=this._dimSize,i=r*t,o=0;o<r;o++)e[o]=n[i+o];return e},n=function(t,e,n,r){for(var i=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=r[a],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],c=e-t,d=n[a],h=0;h<c;h++){var f=i[h*o+a];d[t+h]=f,f<l&&(l=f),f>u&&(u=f)}s[0]=l,s[1]=u}},r=function(){return this._data?this._data.length/this._dimSize:0};function i(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}(t={})[Ag+"_"+Pg]={pure:!0,appendData:i},t[Ag+"_"+kg]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[Dg]={pure:!0,appendData:i},t[Tg]={pure:!0,appendData:function(t){var e=this._data;H(t,(function(t,n){for(var r=e[n]||(e[n]=[]),i=0;i<(t||[]).length;i++)r.push(t[i])}))}},t[Ig]={appendData:i},t[Cg]={persistent:!1,pure:!0,appendData:function(t){yt(ot(t),"Added data must be TypedArray if data in initialization is TypedArray"),this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},Jy=t}(),t}(),hm=function(t,e,n,r){return t[r]},fm=((Xy={})[Ag+"_"+Pg]=function(t,e,n,r){return t[r+e]},Xy[Ag+"_"+kg]=function(t,e,n,r,i){r+=e;for(var o=i||[],a=t,s=0;s<a.length;s++){var l=a[s];o[s]=l?l[r]:null}return o},Xy[Dg]=hm,Xy[Tg]=function(t,e,n,r,i){for(var o=i||[],a=0;a<n.length;a++){var s=n[a].name;if(null==s)throw new Error;var l=t[s];o[a]=l?l[r]:null}return o},Xy[Ig]=hm,Xy);function pm(t,e){var n=fm[_m(t,e)];return yt(n,'Do not support get item on "'+t+'", "'+e+'".'),n}var gm=function(t,e,n){return t.length},ym=((qy={})[Ag+"_"+Pg]=function(t,e,n){return Math.max(0,t.length-e)},qy[Ag+"_"+kg]=function(t,e,n){var r=t[0];return r?Math.max(0,r.length-e):0},qy[Dg]=gm,qy[Tg]=function(t,e,n){var r=n[0].name;if(null==r)throw new Error;var i=t[r];return i?i.length:0},qy[Ig]=gm,qy);function mm(t,e){var n=ym[_m(t,e)];return yt(n,'Do not support count on "'+t+'", "'+e+'".'),n}var vm=function(t,e,n){return t[e]},bm=((Ky={})[Ag]=vm,Ky[Dg]=function(t,e,n){return t[n]},Ky[Tg]=vm,Ky[Ig]=function(t,e,n){var r=Ya(t);return r instanceof Array?r[e]:r},Ky[Cg]=vm,Ky);function xm(t){var e=bm[t];return yt(e,'Do not support get value on "'+t+'".'),e}function _m(t,e){return t===Ag?t+"_"+e:t}function wm(t,e,n){if(t){var r=t.getRawDataItem(e);if(null!=r){var i=t.getStore(),o=i.getSource().sourceFormat;if(null!=n){var a=t.getDimensionIndex(n),s=i.getDimensionProperty(a);return xm(o)(r,a,s)}var l=r;return o===Ig&&(l=Ya(r)),l}}}var Sm=/\{@(.+?)\}/g,Mm=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),r=this.getRawValue(t,e),i=n.getRawIndex(t),o=n.getName(t),a=n.getRawDataItem(t),s=n.getItemVisual(t,"style"),l=s&&s[n.getItemVisual(t,"drawType")||"fill"],u=s&&s.stroke,c=this.mainType,d="series"===c,h=n.userOutput&&n.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:d?this.subType:null,seriesIndex:this.seriesIndex,seriesId:d?this.id:null,seriesName:d?this.name:null,name:o,dataIndex:i,data:a,dataType:e,value:r,color:l,borderColor:u,dimensionNames:h?h.fullDimensions:null,encode:h?h.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,r,i,o){e=e||"normal";var a=this.getData(n),s=this.getDataParams(t,n);return o&&(s.value=o.interpolatedValue),null!=r&&J(s.value)&&(s.value=s.value[r]),i||(i=a.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"])),Q(i)?(s.status=e,s.dimensionIndex=r,i(s)):tt(i)?Jp(i,s).replace(Sm,(function(e,n){var r=n.length,i=n;"["===i.charAt(0)&&"]"===i.charAt(r-1)&&(i=+i.slice(1,r-1),isNaN(i)&&La("Invalide label formatter: @"+n+", only support @[0], @[1], @[2], ..."));var s=wm(a,t,i);if(o&&J(o.interpolatedValue)){var l=a.getDimensionIndex(i);l>=0&&(s=o.interpolatedValue[l])}return null!=s?s+"":""})):void 0},t.prototype.getRawValue=function(t,e){return wm(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function Im(t){var e,n;return rt(t)?t.type?n=t:console.warn("The return type of `formatTooltip` is not supported: "+Fa(t)):e=t,{text:e,frag:n}}function Am(t){return new Dm(t)}var Dm=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,r=t&&t.skip;if(this._dirty&&n){var i=this.context;i.data=i.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!r&&(e=this._plan(this.context));var o,a=c(this._modBy),s=this._modDataCount||0,l=c(t&&t.modBy),u=t&&t.modDataCount||0;function c(t){return!(t>=1)&&(t=1),t}a===l&&s===u||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=this._doReset(r)),this._modBy=l,this._modDataCount=u;var d=t&&t.step;if(n?(yt(null!=n._outputDueEnd),this._dueEnd=n._outputDueEnd):(yt(!this._progress||this._count),this._dueEnd=this._count?this._count(this.context):1/0),this._progress){var h=this._dueIndex,f=Math.min(null!=d?this._dueIndex+d:1/0,this._dueEnd);if(!r&&(o||h<f)){var p=this._progress;if(J(p))for(var g=0;g<p.length;g++)this._doProgress(p[g],h,f,l,u);else this._doProgress(p,h,f,l,u)}this._dueIndex=f;var y=null!=this._settedOutputEnd?this._settedOutputEnd:f;yt(y>=this._outputDueEnd),this._outputDueEnd=y}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,n,r,i){Tm.reset(e,n,r,i),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:Tm.
vendor: 13,853 bytes, line 33
33next},this.context)},t.prototype._doReset=function(t){var e,n;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&((e=this._reset(this.context))&&e.progress&&(n=e.forceFirstProgress,e=e.progress),J(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var r=this._downstream;return r&&r.dirty(),n},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){yt(t&&!t._disposed&&t!==this),(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),Tm=function(){var t,e,n,r,i,o={reset:function(l,u,c,d){e=l,t=u,n=c,r=d,i=Math.ceil(r/n),o.next=n>1&&r>0?s:a}};return o;function a(){return e<t?e++:null}function s(){var o=e%i*n+Math.ceil(e/i),a=e>=t?null:o<r?o:e;return e++,a}}();function Cm(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||nt(t)||null==t||"-"===t||(t=+va(t)),null==t||""===t?NaN:Number(t))}var Om=It({number:function(t){return parseFloat(t)},time:function(t){return+va(t)},trim:function(t){return tt(t)?mt(t):t}});function Pm(t){return Om.get(t)}var km={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}},$m=function(){function t(t,e){nt(e)||Ba('rvalue of "<", ">", "<=", ">=" can only be number in filter.'),this._opFn=km[t],this._rvalFloat=Ma(e)}return t.prototype.evaluate=function(t){return nt(t)?this._opFn(t,this._rvalFloat):this._opFn(Ma(t),this._rvalFloat)},t}(),Em=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=nt(t)?t:Ma(t),r=nt(e)?e:Ma(e),i=isNaN(n),o=isNaN(r);if(i&&(n=this._incomparable),o&&(r=this._incomparable),i&&o){var a=tt(t),s=tt(e);a&&(n=s?t:0),s&&(r=a?e:0)}return n<r?this._resultLT:n>r?-this._resultLT:0},t}(),Lm=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=Ma(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=Ma(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function Nm(t,e){return"eq"===t||"ne"===t?new Lm("eq"===t,e):Ct(km,t)?new $m(t,e):null}var Rm=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return Cm(t,e)},t}();function Fm(t,e){var n=new Rm,r=t.data,i=n.sourceFormat=t.sourceFormat,o=t.startIndex;t.seriesLayoutBy!==Pg&&Ba('`seriesLayoutBy` of upstream dataset can only be "column" in data transform.');var a=[],s={},l=t.dimensionsDefine;if(l)H(l,(function(t,e){var n=t.name,r={index:e,name:n,displayName:t.displayName};a.push(r),null!=n&&(Ct(s,n)&&Ba('dimension name "'+n+'" duplicated.'),s[n]=r)}));else for(var u=0;u<t.dimensionsDetectedCount;u++)a.push({index:u});var c=pm(i,Pg);e.__isBuiltIn&&(n.getRawDataItem=function(t){return c(r,o,a,t)},n.getRawData=q(Bm,null,t)),n.cloneRawData=q(jm,null,t);var d=mm(i,Pg);n.count=q(d,null,r,o,a);var h=xm(i);n.retrieveValue=function(t,e){var n=c(r,o,a,t);return f(n,e)};var f=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=a[e];return n?h(t,e,n.name):void 0}};return n.getDimensionInfo=q(zm,null,a,s),n.cloneAllDimensionInfo=q(Vm,null,a),n}function Bm(t){var e=t.sourceFormat;return Um(e)||Ba("`getRawData` is not supported in source format "+e),t.data}function jm(t){var e=t.sourceFormat,n=t.data;if(Um(e)||Ba("`cloneRawData` is not supported in source format "+e),e===Ag){for(var r=[],i=0,o=n.length;i<o;i++)r.push(n[i].slice());return r}if(e===Dg){for(r=[],i=0,o=n.length;i<o;i++)r.push(N({},n[i]));return r}}function zm(t,e,n){if(null!=n)return nt(n)||!isNaN(n)&&!Ct(e,n)?t[n]:Ct(e,n)?e[n]:void 0}function Vm(t){return $(t)}var Hm=It();function Wm(t){var e=(t=$(t)).type;e||Ba("Must have a `type` when `registerTransform`.");var n=e.split(":");2!==n.length&&Ba('Name must include namespace like "ns:regression".');var r=!1;"echarts"===n[0]&&(e=n[1],r=!0),t.__isBuiltIn=r,Hm.set(e,t)}function Gm(t,e,n){var r=Ha(t),i=r.length;i||Ba("If `transform` declared, it should at least contain one transform.");for(var o=0,a=i;o<a;o++)e=Ym(r[o],e,n,1===i?null:o),o!==a-1&&(e.length=Math.max(e.length,1));return e}function Ym(t,e,n,r){e.length||Ba("Must have at least one upstream dataset."),rt(t)||Ba("transform declaration must be an object rather than "+typeof t+".");var i=t.type,o=Hm.get(i);o||Ba('Can not find transform on type "'+i+'".');var a=W(e,(function(t){return Fm(t,o)})),s=Ha(o.transform({upstream:a[0],upstreamList:a,config:$(t.config)}));return t.print&&$a(W(s,(function(t){var e=null!=r?" === pipe index: "+r:"";return["=== dataset index: "+n.datasetIndex+e+" ===","- transform result data:",Fa(t.data),"- transform result dimensions:",Fa(t.dimensions)].join("\n")})).join("\n")),W(s,(function(t,n){var r;rt(t)||Ba("A transform should not return some empty results."),t.data||Ba("Transform result data should be not be null or undefined"),Um(om(t.data))||Ba("Transform result data should be array rows or object rows.");var i=e[0];if(i&&0===n&&!t.dimensions){var o=i.startIndex;o&&(t.data=i.data.slice(0,o).concat(t.data)),r={seriesLayoutBy:Pg,sourceHeader:o,dimensions:i.metaRawOption.dimensions}}else r={seriesLayoutBy:Pg,sourceHeader:0,dimensions:t.dimensions};return nm(t.data,r,null)}))}function Um(t){return t===Ag||t===Dg}var Zm,Xm="undefined",qm=typeof Uint32Array===Xm?Array:Uint32Array,Km=typeof Uint16Array===Xm?Array:Uint16Array,Jm=typeof Int32Array===Xm?Array:Int32Array,Qm=typeof Float64Array===Xm?Array:Float64Array,tv={float:Qm,int:Jm,ordinal:Array,number:Array,time:Qm};function ev(t){return t>65535?qm:Km}function nv(){return[1/0,-1/0]}function rv(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function iv(t,e,n,r,i){var o=tv[n||"float"];if(i){var a=t[e],s=a&&a.length;if(s!==r){for(var l=new o(r),u=0;u<s;u++)l[u]=a[u];t[e]=l}}else t[e]=new o(r)}var ov=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=It()}return t.prototype.initData=function(t,e,n){yt(Q(t.getItem)&&Q(t.count),"Invalid data provider."),this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var r=t.getSource(),i=this.defaultDimValueGetter=Zm[r.sourceFormat];this._dimValueGetter=n||i,this._rawExtent=[];var o=cm(r);this._dimensions=W(e,(function(t){return o&&yt(null!=t.property),{type:t.type,property:t.property}})),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,r=this._dimensions,i=n.get(t);if(null!=i){if(r[i].type===e)return i}else i=r.length;return r[i]={type:e},n.set(t,i),this._chunks[i]=new tv[e||"float"](this._rawCount),this._rawExtent[i]=nv(),i},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],r=this._dimensions[t],i=this._rawExtent,o=r.ordinalOffset||0,a=n.length;0===o&&(i[t]=nv());for(var s=i[t],l=o;l<a;l++){var u=n[l]=e.parseAndCollect(n[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}r.ordinalMeta=e,r.ordinalOffset=a,r.type="ordinal"},t.prototype.getOrdinalMeta=function(t){return this._dimensions[t].ordinalMeta},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){yt(!this._indices,"appendData can only be called on raw data.");var e=this._provider,n=this.count();e.appendData(t);var r=e.count();return e.persistent||(r+=n),n<r&&this._initDataFromProvider(n,r,!0),[n,r]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,r=this._dimensions,i=r.length,o=this._rawExtent,a=this.count(),s=a+Math.max(t.length,e||0),l=0;l<i;l++)iv(n,l,(f=r[l]).type,s,!0);for(var u=[],c=a;c<s;c++)for(var d=c-a,h=0;h<i;h++){var f=r[h],p=Zm.arrayRows.call(this,t[d]||u,f.property,d,h);n[h][c]=p;var g=o[h];p<g[0]&&(g[0]=p),p>g[1]&&(g[1]=p)}return this._rawCount=this._count=s,{start:a,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var r=this._provider,i=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=W(o,(function(t){return t.property})),u=0;u<a;u++){var c=o[u];s[u]||(s[u]=nv()),iv(i,u,c.type,e,n)}if(r.fillStorage)r.fillStorage(t,e,i,s);else for(var d=[],h=t;h<e;h++){d=r.getItem(h,d);for(var f=0;f<a;f++){var p=i[f],g=this._dimValueGetter(d,l[f],h,f);p[h]=g;var y=s[f];g<y[0]&&(y[0]=g),g>y[1]&&(y[1]=g)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var n=[],r=[];if(null==e){e=t,t=[];for(var i=0;i<this._dimensions.length;i++)r.push(i)}else r=t;i=0;for(var o=r.length;i<o;i++)n.push(this.get(r[i],e));return n},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._chunks[t];return n?n[e]:NaN},t.prototype.getSum=function(t){var e=0;if(this._chunks[t])for(var n=0,r=this.count();n<r;n++){var i=this.get(t,n);isNaN(i)||(e+=i)}return e},t.prototype.getMedian=function(t){var e=[];this.each([t],(function(t){isNaN(t)||e.push(t)}));var n=e.sort((function(t,e){return t-e})),r=this.count();return 0===r?0:r%2==1?n[(r-1)/2]:(n[r/2]+n[r/2-1])/2},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;for(var r=0,i=this._count-1;r<=i;){var o=(r+i)/2|0;if(e[o]<t)r=o+1;else{if(!(e[o]>t))return o;i=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var r=this._chunks[t],i=[];if(!r)return i;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,l=0,u=this.count();l<u;l++){var c=e-r[this.getRawIndex(l)],d=Math.abs(c);d<=n&&((d<o||d===o&&c>=0&&a<0)&&(o=d,a=c,s=0),c===a&&(i[s++]=l))}return i.length=s,i},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,r=this._count;if(n===Array){t=new n(r);for(var i=0;i<r;i++)t[i]=e[i]}else t=new n(e.buffer,0,r)}else for(t=new(n=ev(this._rawCount))(this.count()),i=0;i<t.length;i++)t[i]=i;return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),r=n.count(),i=new(ev(n._rawCount))(r),o=[],a=t.length,s=0,l=t[0],u=n._chunks,c=0;c<r;c++){var d=void 0,h=n.getRawIndex(c);if(0===a)d=e(c);else if(1===a)d=e(u[l][h],c);else{for(var f=0;f<a;f++)o[f]=u[t[f]][h];o[f]=c,d=e.apply(null,o)}d&&(i[s++]=h)}return s<r&&(n._indices=i),n._count=s,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var r=Z(t),i=r.length;if(!i)return this;var o=e.count(),a=new(ev(e._rawCount))(o),s=0,l=r[0],u=t[l][0],c=t[l][1],d=e._chunks,h=!1;if(!e._indices){var f=0;if(1===i){for(var p=d[r[0]],g=0;g<n;g++)((b=p[g])>=u&&b<=c||isNaN(b))&&(a[s++]=f),f++;h=!0}else if(2===i){p=d[r[0]];var y=d[r[1]],m=t[r[1]][0],v=t[r[1]][1];for(g=0;g<n;g++){var b=p[g],x=y[g];(b>=u&&b<=c||isNaN(b))&&(x>=m&&x<=v||isNaN(x))&&(a[s++]=f),f++}h=!0}}if(!h)if(1===i)for(g=0;g<o;g++){var _=e.getRawIndex(g);((b=d[r[0]][_])>=u&&b<=c||isNaN(b))&&(a[s++]=_)}else for(g=0;g<o;g++){for(var w=!0,S=(_=e.getRawIndex(g),0);S<i;S++){var M=r[S];((b=d[M][_])<t[M][0]||b>t[M][1])&&(w=!1)}w&&(a[s++]=e.getRawIndex(g))}return s<o&&(e._indices=a),e._count=s,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,n){for(var r=t._chunks,i=[],o=e.length,a=t.count(),s=[],l=t._rawExtent,u=0;u<e.length;u++)l[e[u]]=nv();for(var c=0;c<a;c++){for(var d=t.getRawIndex(c),h=0;h<o;h++)s[h]=r[e[h]][d];s[o]=c;var f=n&&n.apply(null,s);if(null!=f)for("object"!=typeof f&&(i[0]=f,f=i),u=0;u<f.length;u++){var p=e[u],g=f[u],y=l[p],m=r[p];m&&(m[d]=g),g<y[0]&&(y[0]=g),g>y[1]&&(y[1]=g)}}},t.prototype.lttbDownSample=function(t,e){var n,r,i,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),c=this.getRawIndex(0),d=new(ev(this._rawCount))(Math.min(2*(Math.ceil(s/u)+2),s));d[l++]=c;for(var h=1;h<s-1;h+=u){for(var f=Math.min(h+u,s-1),p=Math.min(h+2*u,s),g=(p+f)/2,y=0,m=f;m<p;m++){var v=a[I=this.getRawIndex(m)];isNaN(v)||(y+=v)}y/=p-f;var b=h,x=Math.min(h+u,s),_=h-1,w=a[c];n=-1,i=b;var S=-1,M=0;for(m=b;m<x;m++){var I;v=a[I=this.getRawIndex(m)],isNaN(v)?(M++,S<0&&(S=I)):(r=Math.abs((_-g)*(v-w)-(_-m)*(y-w)))>n&&(n=r,i=I)}M>0&&M<x-b&&(d[l++]=Math.min(S,i),i=Math.max(S,i)),d[l++]=i,c=i}return d[l++]=this.getRawIndex(s-1),o._count=l,o._indices=d,o.getRawIndex=this._getRawIdx,o},t.prototype.downSample=function(t,e,n,r){for(var i=this.clone([t],!0),o=i._chunks,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),c=i._rawExtent[t]=nv(),d=new(ev(this._rawCount))(Math.ceil(u/s)),h=0,f=0;f<u;f+=s){s>u-f&&(s=u-f,a.length=s);for(var p=0;p<s;p++){var g=this.getRawIndex(f+p);a[p]=l[g]}
vendor: 10,995 bytes, line 33
33var y=n(a),m=this.getRawIndex(Math.min(f+r(a,y)||0,u-1));l[m]=y,y<c[0]&&(c[0]=y),y>c[1]&&(c[1]=y),d[h++]=m}return i._count=h,i._indices=d,i._updateGetRawIdx(),i},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,r=this._chunks,i=0,o=this.count();i<o;i++){var a=this.getRawIndex(i);switch(n){case 0:e(i);break;case 1:e(r[t[0]][a],i);break;case 2:e(r[t[0]][a],r[t[1]][a],i);break;default:for(var s=0,l=[];s<n;s++)l[s]=r[t[s]][a];l[s]=i,e.apply(null,l)}}},t.prototype.getDataExtent=function(t){var e=this._chunks[t],n=nv();if(!e)return n;var r,i=this.count();if(!this._indices)return this._rawExtent[t].slice();if(r=this._extent[t])return r.slice();for(var o=(r=n)[0],a=r[1],s=0;s<i;s++){var l=e[this.getRawIndex(s)];l<o&&(o=l),l>a&&(a=l)}return r=[o,a],this._extent[t]=r,r},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],r=this._chunks,i=0;i<r.length;i++)n.push(r[i][e]);return n},t.prototype.clone=function(e,n){var r=new t,i=this._chunks,o=e&&G(e,(function(t,e){return t[e]=!0,t}),{});if(o)for(var a=0;a<i.length;a++)r._chunks[a]=o[a]?rv(i[a]):i[a];else r._chunks=i;return this._copyCommonProps(r),n||(r._indices=this._cloneIndices()),r._updateGetRawIdx(),r},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=$(this._extent),t._rawExtent=$(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var r=0;r<n;r++)e[r]=this._indices[r]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,r){return Cm(t[r],this._dimensions[r])}Zm={arrayRows:t,objectRows:function(t,e,n,r){return Cm(t[e],this._dimensions[r])},keyedColumns:t,original:function(t,e,n,r){var i=t&&(null==t.value?t:t.value);return Cm(i instanceof Array?i[r]:i,this._dimensions[r])},typedArray:function(t,e,n,r){return t[r]}}}(),t}(),av=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,r=this._getUpstreamSourceManagers(),i=!!r.length;if(lv(n)){var o=n,a=void 0,s=void 0,l=void 0;if(i){var u=r[0];u.prepareSource(),a=(l=u.getSource()).data,s=l.sourceFormat,e=[u._getVersionSign()]}else s=ot(a=o.get("data",!0))?Cg:Ig,e=[];var c=this._getSourceMetaRawOption()||{},d=l&&l.metaRawOption||{},h=ht(c.seriesLayoutBy,d.seriesLayoutBy)||null,f=ht(c.sourceHeader,d.sourceHeader),p=ht(c.dimensions,d.dimensions);t=h!==d.seriesLayoutBy||!!f!=!!d.sourceHeader||p?[nm(a,{seriesLayoutBy:h,sourceHeader:f,dimensions:p},s)]:[]}else{var g=n;if(i){var y=this._applyTransform(r);t=y.sourceList,e=y.upstreamSignList}else t=[nm(g.get("source",!0),this._getSourceMetaRawOption(),null)],e=[]}yt(t&&e),this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,r=n.get("transform",!0),i=n.get("fromTransformResult",!0);yt(null!=i||null!=r),null!=i&&1!==t.length&&uv("When using `fromTransformResult`, there should be only one upstream dataset");var o=[],a=[];return H(t,(function(t){t.prepareSource();var e=t.getSource(i||0);null==i||e||uv("Can not retrieve result by `fromTransformResult`: "+i),o.push(e),a.push(t._getVersionSign())})),r?e=Gm(r,o,{datasetIndex:n.componentIndex}):null!=i&&(e=[im(o[0])]),{sourceList:e,upstreamSignList:a}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){yt(lv(this._sourceHost),"Can only call getDataStore on series source manager.");var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,n){var r=0,i=this._storeList,o=i[r];o||(o=i[r]={});var a=o[n];if(!a){var s=this._getUpstreamSourceManagers()[0];lv(this._sourceHost)&&s?a=s._innerGetDataStore(t,e,n):(a=new ov).initData(new dm(e,t.length),t),o[n]=a}return a},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(lv(t)){var e=Fg(t);return e?[e.getSourceManager()]:[]}return W(Bg(t),(function(t){return t.getSourceManager()}))},t.prototype._getSourceMetaRawOption=function(){var t,e,n,r=this._sourceHost;if(lv(r))t=r.get("seriesLayoutBy",!0),e=r.get("sourceHeader",!0),n=r.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var i=r;t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0)}return{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function sv(t){t.option.transform&&bt(t.option.transform)}function lv(t){return"series"===t.mainType}function uv(t){throw new Error(t)}var cv="line-height:1";function dv(t,e){var n=t.color||"#6e7079",r=t.fontSize||12,i=t.fontWeight||"400",o=t.color||"#464646",a=t.fontSize||14,s=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+xe(r+"")+"px;color:"+xe(n)+";font-weight:"+xe(i+""),valueStyle:"font-size:"+xe(a+"")+"px;color:"+xe(o)+";font-weight:"+xe(s+"")}:{nameStyle:{fontSize:r,fill:n,fontWeight:i},valueStyle:{fontSize:a,fill:o,fontWeight:s}}}var hv=[0,10,20,30],fv=["","\n","\n\n","\n\n\n"];function pv(t,e){return e.type=t,e}function gv(t){return"section"===t.type}function yv(t){return gv(t)?vv:bv}function mv(t){if(gv(t)){var e=0,n=t.blocks.length,r=n>1||n>0&&!t.noHeader;return H(t.blocks,(function(t){var n=mv(t);n>=e&&(e=n+ +(r&&(!n||gv(t)&&!t.noHeader)))})),e}return 0}function vv(t,e,n,r){var i=e.noHeader,o=_v(mv(e)),a=[],s=e.blocks||[];yt(!s||J(s)),s=s||[];var l=t.orderMode;if(e.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(Ct(u,l)){var c=new Em(u[l],null);s.sort((function(t,e){return c.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===l&&s.reverse()}H(s,(function(n,i){var s=e.valueFormatter,l=yv(n)(s?N(N({},t),{valueFormatter:s}):t,n,i>0?o.html:0,r);null!=l&&a.push(l)}));var d="richText"===t.renderMode?a.join(o.richText):wv(a.join(""),i?n:o.html);if(i)return d;var h=Xp(e.header,"ordinal",t.useUTC),f=dv(r,t.renderMode).nameStyle;return"richText"===t.renderMode?Iv(t,h,f)+o.richText+d:wv('<div style="'+f+";"+cv+';">'+xe(h)+"</div>"+d,n)}function bv(t,e,n,r){var i=t.renderMode,o=e.noName,a=e.noValue,s=!e.markerType,l=e.name,u=t.useUTC,c=e.valueFormatter||t.valueFormatter||function(t){return W(t=J(t)?t:[t],(function(t,e){return Xp(t,J(f)?f[e]:f,u)}))};if(!o||!a){var d=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",i),h=o?"":Xp(l,"ordinal",u),f=e.valueType,p=a?[]:c(e.value,e.dataIndex),g=!s||!o,y=!s&&o,m=dv(r,i),v=m.nameStyle,b=m.valueStyle;return"richText"===i?(s?"":d)+(o?"":Iv(t,h,v))+(a?"":Av(t,p,g,y,b)):wv((s?"":d)+(o?"":Sv(h,!s,v))+(a?"":Mv(p,g,y,b)),n)}}function xv(t,e,n,r,i,o){if(t)return yv(t)({useUTC:i,renderMode:n,orderMode:r,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function _v(t){return{html:hv[t],richText:fv[t]}}function wv(t,e){return'<div style="margin: '+e+"px 0 0;"+cv+';">'+t+'<div style="clear:both"></div></div>'}function Sv(t,e,n){return'<span style="'+n+";"+(e?"margin-left:2px":"")+'">'+xe(t)+"</span>"}function Mv(t,e,n,r){return'<span style="'+(e?"float:right;margin-left:"+(n?"10px":"20px"):"")+";"+r+'">'+W(t=J(t)?t:[t],(function(t){return xe(t)})).join(" ")+"</span>"}function Iv(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function Av(t,e,n,r,i){var o=[i],a=r?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(J(e)?e.join(" "):e,o)}function Dv(t,e){return rg(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function Tv(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var Cv=function(){function t(){this.richTextStyles={},this._nextStyleNameId=Aa()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var r="richText"===n?this._generateStyleName():null,i=tg({color:e,type:t,renderMode:n,markerId:r});return tt(i)?i:(yt(r),this.richTextStyles[r]=i.style,i.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};J(e)?H(e,(function(t){return N(n,t)})):N(n,e);var r=this._generateStyleName();return this.richTextStyles[r]=n,"{"+r+"|"+t+"}"},t}();function Ov(t){var e,n,r,i,o=t.series,a=t.dataIndex,s=t.multipleSeries,l=o.getData(),u=l.mapDimensionsAll("defaultedTooltip"),c=u.length,d=o.getRawValue(a),h=J(d),f=Dv(o,a);if(c>1||h&&!c){var p=Pv(d,o,a,u,f);e=p.inlineValues,n=p.inlineValueTypes,r=p.blocks,i=p.inlineValues[0]}else if(c){var g=l.getDimensionInfo(u[0]);i=e=wm(l,a,u[0]),n=g.type}else i=e=h?d[0]:d;var y=as(o),m=y&&o.name||"",v=l.getName(a),b=s?m:v;return pv("section",{header:m,noHeader:s||!y,sortParam:i,blocks:[pv("nameValue",{markerType:"item",markerColor:f,name:b,noName:!mt(b),value:e,valueType:n,dataIndex:a})].concat(r||[])})}function Pv(t,e,n,r,i){var o=e.getData(),a=G(t,(function(t,e,n){var r=o.getDimensionInfo(n);return t||r&&!1!==r.tooltip&&null!=r.displayName}),!1),s=[],l=[],u=[];function c(t,e){var n=o.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(a?u.push(pv("nameValue",{markerType:"subItem",markerColor:i,name:n.displayName,value:t,valueType:n.type})):(s.push(t),l.push(n.type)))}return r.length?H(r,(function(t){c(wm(o,n,t),t)})):H(t,c),{inlineValues:s,inlineValueTypes:l,blocks:u}}var kv=fs();function $v(t,e){return t.getName(e)||t.getId(e)}var Ev="__universalTransitionEnabled",Lv=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return i(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=Am({count:Fv,reset:Bv}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(kv(this).sourceManager=new av(this)).prepareSource();var r=this.getInitialData(t,n);zv(r,this),this.dataTask.context.data=r,yt(r,"getInitialData returned invali
33d data."),kv(this).dataBeforeProcessed=r,Nv(this),this._initSelectedMapFromData(r)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=pg(this),r=n?yg(t):{},i=this.subType;bg.hasClass(i)&&(i+="Series"),E(t,e.getTheme().get(this.subType)),E(t,this.getDefaultOption()),Wa(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&gg(t,r,n)},e.prototype.mergeOption=function(t,e){t=E(this.option,t,!0),this.fillDataTextStyle(t.data);var n=pg(this);n&&gg(this.option,t,n);var r=kv(this).sourceManager;r.dirty(),r.prepareSource();var i=this.getInitialData(t,e);zv(i,this),this.dataTask.dirty(),this.dataTask.context.data=i,kv(this).dataBeforeProcessed=i,Nv(this),this._initSelectedMapFromData(i)},e.prototype.fillDataTextStyle=function(t){if(t&&!ot(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&Wa(t[n],"label",e)},e.prototype.getInitialData=function(t,e){},e.prototype.appendData=function(t){this.getRawData().appendData(t.data)},e.prototype.getData=function(t){var e=Hv(this);if(e){var n=e.context.data;return null!=t&&n.getLinkedData?n.getLinkedData(t):n}return kv(this).data},e.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},e.prototype.setData=function(t){var e=Hv(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}kv(this).data=t},e.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return It(t)},e.prototype.getSourceManager=function(){return kv(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return kv(this).dataBeforeProcessed},e.prototype.getColorBy=function(){return this.get("colorBy")||"series"},e.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},e.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},e.prototype.formatTooltip=function(t,e,n){return Ov({series:this,dataIndex:t,multipleSeries:e})},e.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(a.node&&(!t||!t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var r=this.ecModel,i=qg.prototype.getColorFromPalette.call(this,t,e,n);return i||(i=r.getColorFromPalette(t,e,n)),i},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var r=this.option.selectedMode,i=this.getData(e);if("series"===r||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o<t.length;o++){var a=$v(i,t[o]);n[a]=!1,this._selectedDataIndicesMap[a]=-1}}},e.prototype.toggleSelect=function(t,e){for(var n=[],r=0;r<t.length;r++)n[0]=t[r],this.isSelected(t[r],e)?this.unselect(n,e):this.select(n,e)},e.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=Z(t),n=[],r=0;r<e.length;r++){var i=t[e[r]];i>=0&&n.push(i)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var r=this.getData(e);return("all"===n||n[$v(r,t)])&&!r.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[Ev])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,r,i=this.option,o=i.selectedMode,a=e.length;if(o&&a)if("series"===o)i.selectedMap="all";else if("multiple"===o){rt(i.selectedMap)||(i.selectedMap={});for(var s=i.selectedMap,l=0;l<a;l++){var u=e[l];s[d=$v(t,u)]=!0,this._selectedDataIndicesMap[d]=t.getRawIndex(u)}}else if("single"===o||!0===o){var c=e[a-1],d=$v(t,c);i.selectedMap=((n={})[d]=!0,n),this._selectedDataIndicesMap=((r={})[d]=t.getRawIndex(c),r)}},e.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each((function(n){var r=t.getRawDataItem(n);r&&r.selected&&e.push(n)})),e.length>0&&this._innerSelect(t,e)}},e.registerClass=function(t){return bg.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(bg);function Nv(t){var e=t.name;as(t)||(t.name=Rv(t)||e)}function Rv(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),r=[];return H(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&r.push(n.displayName)})),r.join(" ")}function Fv(t){return t.model.getRawData().count()}function Bv(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),jv}function jv(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function zv(t,e){H(At(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,K(Vv,e))}))}function Vv(t,e){var n=Hv(t);return n&&n.setOutputEnd((e||this).count()),e}function Hv(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(t.uid))}return r}}z(Lv,Mm),z(Lv,qg),$s(Lv,bg);var Wv=function(){function t(){this.group=new Bo,this.uid=Kf("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,r){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,r){},t.prototype.updateLayout=function(t,e,n,r){},t.prototype.updateVisual=function(t,e,n,r){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();function Gv(){var t=fs();return function(e){var n=t(e),r=e.pipelineContext,i=!!n.large,o=!!n.progressiveRen
vendor: 9,749 bytes, line 33
33der,a=n.large=!(!r||!r.large),s=n.progressiveRender=!(!r||!r.progressiveRender);return!(i===a&&o===s)&&"reset"}}Ps(Wv),Fs(Wv);var Yv=fs(),Uv=Gv(),Zv=function(){function t(){this.group=new Bo,this.uid=Kf("viewChart"),this.renderTask=Am({plan:Kv,reset:Jv}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,r){throw new Error("render method must been implemented")},t.prototype.highlight=function(t,e,n,r){var i=t.getData(r&&r.dataType);i?qv(i,r,"emphasis"):La("Unknown dataType "+r.dataType)},t.prototype.downplay=function(t,e,n,r){var i=t.getData(r&&r.dataType);i?qv(i,r,"normal"):La("Unknown dataType "+r.dataType)},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,r){this.render(t,e,n,r)},t.prototype.updateLayout=function(t,e,n,r){this.render(t,e,n,r)},t.prototype.updateVisual=function(t,e,n,r){this.render(t,e,n,r)},t.prototype.eachRendered=function(t){xf(this.group,t)},t.markUpdateMethod=function(t,e){Yv(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function Xv(t,e,n){t&&sd(t)&&("emphasis"===e?Nc:Rc)(t,n)}function qv(t,e,n){var r=hs(t,e),i=e&&null!=e.highlightKey?ud(e.highlightKey):null;null!=r?H(Ha(r),(function(e){Xv(t.getItemGraphicEl(e),n,i)})):t.eachItemGraphicEl((function(t){Xv(t,n,i)}))}function Kv(t){return Uv(t.model)}function Jv(t){var e=t.model,n=t.ecModel,r=t.api,i=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=i&&Yv(i).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,r,i),Qv[l]}Ps(Zv,["dispose"]),Fs(Zv);var Qv={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},tb="\0__throttleOriginMethod",eb="\0__throttleRate",nb="\0__throttleType";function rb(t,e,n){var r,i,o,a,s,l=0,u=0,c=null;function d(){u=(new Date).getTime(),c=null,t.apply(o,a||[])}e=e||0;var h=function(){for(var t=[],h=0;h<arguments.length;h++)t[h]=arguments[h];r=(new Date).getTime(),o=this,a=t;var f=s||e,p=s||n;s=null,i=r-(p?l:u)-f,clearTimeout(c),p?c=setTimeout(d,f):i>=0?d():c=setTimeout(d,-i),l=r};return h.clear=function(){c&&(clearTimeout(c),c=null)},h.debounceNextCall=function(t){s=t},h}function ib(t,e,n,r){var i=t[e];if(i){var o=i[tb]||i,a=i[nb];if(i[eb]!==n||a!==r){if(null==n||!r)return t[e]=o;(i=t[e]=rb(o,n,"debounce"===r))[tb]=o,i[nb]=r,i[eb]=n}return i}}function ob(t,e){var n=t[e];n&&n[tb]&&(n.clear&&n.clear(),t[e]=n[tb])}var ab=fs(),sb={itemStyle:Bs(Yf,!0),lineStyle:Bs(Hf,!0)},lb={lineStyle:"stroke",itemStyle:"fill"};function ub(t,e){var n=t.visualStyleMapper||sb[e];return n||(console.warn("Unknown style type '"+e+"'."),sb.itemStyle)}function cb(t,e){var n=t.visualDrawType||lb[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var db={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),r=t.visualStyleAccessPath||"itemStyle",i=t.getModel(r),o=ub(t,r)(i),a=i.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=cb(t,r),l=o[s],u=Q(l)?l:null,c="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||c){var d=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=d,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||Q(o.fill)?d:o.fill,o.stroke="auto"===o.stroke||Q(o.stroke)?d:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var r=t.getDataParams(n),i=N({},o);i[s]=u(r),e.setItemVisual(n,"style",i)}}}},hb=new Xf,fb={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),r=t.visualStyleAccessPath||"itemStyle",i=ub(t,r),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[r]){hb.option=n[r];var a=i(hb);N(t.ensureUniqueItemVisual(e,"style"),a),hb.option.decal&&(t.setItemVisual(e,"decal",hb.option.decal),hb.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},pb={performRawSeries:!0,overallReset:function(t){var e=It();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var r=t.type+"-"+n,i=e.get(r);i||(i={},e.set(r,i)),ab(t).scope=i}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),r={},i=e.getData(),o=ab(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=cb(e,a);i.each((function(t){var e=i.getRawIndex(t);r[e]=t})),n.each((function(t){var a=r[t];if(i.getItemVisual(a,"colorFromPalette")){var l=i.ensureUniqueItemVisual(a,"style"),u=n.getName(t)||t+"",c=n.count();l[s]=e.getColorFromPalette(u,o,c)}}))}}))}},gb=Math.PI;function yb(t,e){R(e=e||{},{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new Bo,r=new Lu({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(r);var i,o=new Bu({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new Lu({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&((i=new bh({shape:{startAngle:-gb/2,endAngle:-gb/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*gb/2}).start("circularInOut"),i.animateShape(!0).when(1e3,{startAngle:3*gb/2}).delay(300).start("circularInOut"),n.add(i)),n.resize=function(){var n=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),u=t.getHeight()/2;e.showSpinner&&i.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),r.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n}var mb=function(){function t(t,e,n,r){this._stageTaskMap=It(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),r=this._visualHandlers=r.slice(),this._allHandlers=n.concat(r)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),r=n.context,i=!e&&n.progressiveEnabled&&(!r||r.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=r&&r.modDataCount;return{step:i,modBy:null!=o?Math.ceil(o/i):null,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),r=t.getData().count(),i=n.progressiveEnabled&&e.incrementalPrepareRender&&r>=n.threshold,o=t.get("large")&&r>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?r:null;t.pipelineContext=n.context={progressiveRender:i,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=It();t.eachSeries((function(t){var r=t.getProgressive(),i=t.uid;n.set(i,{id:i,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:r&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;H(this._allHandlers,(function(r){var i=t.get(r.uid)||t.set(r.uid,{}),o="";o='"reset" and "overallReset" must not be both specified.',yt(!(r.reset&&r.overallReset),o),r.reset&&this._createSeriesStageTask(r,i,e,n),r.overallReset&&this._createOverallStageTask(r,i,e,n)}),this)},t.prototype.prepareView=function(t,e,n,r){var i=t.renderTask,o=i.context;o.model=e,o.ecModel=n,o.api=r,i.__block=!t.incrementalPrepareRender,this._pipe(e,i)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,r){r=r||{};var i=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}H(t,(function(t,s){if(!r.visualType||r.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var d,h=c.agentStubMap;h.each((function(t){a(r,t)&&(t.dirty(),d=!0)})),d&&c.dirty(),o.updatePayload(c,n);var f=o.getPerformArgs(c,r.block);h.each((function(t){t.perform(f)})),c.perform(f)&&(i=!0)}else u&&u.each((function(s,l){a(r,s)&&s.dirty();var u=o.getPerformArgs(s,r.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(i=!0)}))}})),this.unfinished=i||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,r){var i=this,o=e.seriesTaskMap,a=e.seriesTaskMap=It(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||Am({plan:wb,reset:Sb,count:Ab}));l.context={model:e,ecModel:n,api:r,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:i},i._pipe(e,l)}
vendor: 2,351 bytes, line 33
33t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,r).each(u)},t.prototype._createOverallStageTask=function(t,e,n,r){var i=this,o=e.overallTask=e.overallTask||Am({reset:vb});o.context={ecModel:n,api:r,overallReset:t.overallReset,scheduler:i};var a=o.agentStubMap,s=o.agentStubMap=It(),l=t.seriesType,u=t.getTargetSeries,c=!0,d=!1,h="";function f(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(d=!0,Am({reset:bb,onDirty:_b})));n.context={model:t,overallProgress:c},n.agent=o,n.__block=c,i._pipe(t,n)}h='"createOnAllSeries" is not supported for "overallReset", because it will block all streams.',yt(!t.createOnAllSeries,h),l?n.eachRawSeriesByType(l,f):u?u(n,r).each(f):(c=!1,H(n.getSeries(),f)),d&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,r=this._pipelineMap.get(n);!r.head&&(r.head=e),r.tail&&r.tail.pipe(e),r.tail=e,e.__idxInPipeline=r.count++,e.__pipeline=r},t.wrapStageHandler=function(t,e){return Q(t)&&(t={overallReset:t,seriesType:Db(t)}),t.uid=Kf("stageHandler"),e&&(t.visualType=e),t},t}();function vb(t){t.overallReset(t.ecModel,t.api,t.payload)}function bb(t){return t.overallProgress&&xb}function xb(){this.agent.dirty(),this.getDownstream().dirty()}function _b(){this.agent&&this.agent.dirty()}function wb(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function Sb(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=Ha(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?W(e,(function(t,e){return Ib(e)})):Mb}var Mb=Ib(0);function Ib(t){return function(e,n){var r=n.data,i=n.resetDefines[t];if(i&&i.dataEach)for(var o=e.start;o<e.end;o++)i.dataEach(r,o);else i&&i.progress&&i.progress(e,r)}}function Ab(t){return t.data.count()}function Db(t){Tb=null;try{t(Cb,Ob)}catch(t){}return Tb}var Tb,Cb={},Ob={};function Pb(t,e){for(var n in e.prototype)t[n]=Ot}Pb(Cb,sy),Pb(Ob,py),Cb.eachSeriesByType=Cb.eachRawSeriesByType=function(t){Tb=t},Cb.eachComponent=function(t){"series"===t.mainType&&t.subType&&(Tb=t.subType)};var kb=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],$b={color:kb,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],kb]}
vendor: 15,963 bytes, line 33
33,Eb="#B9B8CE",Lb="#100C2A",Nb=function(){return{axisLine:{lineStyle:{color:Eb}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},Rb=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],Fb={darkMode:!0,color:Rb,backgroundColor:Lb,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:Eb}},textStyle:{color:Eb},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:Eb}},dataZoom:{borderColor:"#71708A",textStyle:{color:Eb},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:Eb}},timeline:{lineStyle:{color:Eb},label:{color:Eb},controlStyle:{color:Eb,borderColor:Eb}},calendar:{itemStyle:{color:Lb},dayLabel:{color:Eb},monthLabel:{color:Eb},yearLabel:{color:Eb}},timeAxis:Nb(),logAxis:Nb(),valueAxis:Nb(),categoryAxis:Nb(),line:{symbol:"circle"},graph:{color:Rb},gauge:{title:{color:Eb},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:Eb},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};Fb.categoryAxis.splitLine.show=!1;var Bb=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},r={};if(tt(t)){var i=Ts(t);e.mainType=i.main||null,e.subType=i.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};H(t,(function(t,i){for(var s=!1,l=0;l<o.length;l++){var u=o[l],c=i.lastIndexOf(u);if(c>0&&c===i.length-u.length){var d=i.slice(0,c);"data"!==d&&(e.mainType=d,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(i)&&(n[i]=t,s=!0),s||(r[i]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:r}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var r=n.targetEl,i=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,i,"name")&&u(l,i,"dataIndex")&&u(l,i,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,r,i));function u(t,e,n,r){return null==t[n]||e[r||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),jb=["symbol","symbolSize","symbolRotate","symbolOffset"],zb=jb.concat(["symbolKeepAspect"]),Vb={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var r={},i={},o=!1,a=0;a<jb.length;a++){var s=jb[a],l=t.get(s);Q(l)?(o=!0,i[s]=l):r[s]=l}if(r.symbol=r.symbol||t.defaultSymbol,n.setVisual(N({legendIcon:t.legendIcon||r.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},r)),!e.isSeriesFiltered(t)){var u=Z(i);return{dataEach:o?c:null}}}function c(e,n){for(var r=t.getRawValue(n),o=t.getDataParams(n),a=0;a<u.length;a++){var s=u[a];e.setItemVisual(n,s,i[s](r,o))}}}},Hb={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t))return{dataEach:t.getData().hasItemOption?n:null};function n(t,e){for(var n=t.getItemModel(e),r=0;r<zb.length;r++){var i=zb[r],o=n.getShallow(i,!0);null!=o&&t.setItemVisual(e,i,o)}}}};function Wb(t,e,n){switch(n){case"color":return t.getItemVisual(e,"style")[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n);default:console.warn("Unknown visual type "+n)}}function Gb(t,e){switch(e){case"color":return t.getVisual("style")[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e);default:console.warn("Unknown visual type "+e)}}function Yb(t,e,n,r){switch(n){case"color":t.ensureUniqueItemVisual(e,"style")[t.getVisual("drawType")]=r,t.setItemVisual(e,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(e,"style").opacity=r;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(e,n,r);break;default:console.warn("Unknown visual type "+n)}}function Ub(t,e){function n(e,n){var r=[];return e.eachComponent({mainType:"series",subType:t,query:n},(function(t){r.push(t.seriesIndex)})),r}H([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],(function(t){e(t[0],(function(e,r,i){Ra((e=N({},e)).type,t[1]),i.dispatchAction(N(e,{type:t[1],seriesIndex:n(r,e)}))}))}))}function Zb(t,e,n,r,i){var o=t+e;n.isSilent(o)||(Na("event "+o+" is deprecated."),r.eachComponent({mainType:"series",subType:"pie"},(function(t){for(var e=t.seriesIndex,r=t.option.selectedMap,a=i.selected,s=0;s<a.length;s++)if(a[s].seriesIndex===e){var l=t.getData(),u=hs(l,i.fromActionPayload);n.trigger(o,{type:o,seriesId:t.id,name:J(u)?l.getName(u[0]):l.getName(u),selected:tt(r)?r:N({},r)})}})))}function Xb(t,e,n){t.on("selectchanged",(function(t){var r=n.getModel();t.isFromClick?(Zb("map","selectchanged",e,r,t),Zb("pie","selectchanged",e,r,t)):"select"===t.fromAction?(Zb("map","selected",e,r,t),Zb("pie","selected",e,r,t)):"unselect"===t.fromAction&&(Zb("map","unselected",e,r,t),Zb("pie","unselected",e,r,t))}))}function qb(t,e,n){for(var r;t&&(!e(t)||(r=t,!n));)t=t.__hostTarget||t.parent;return r}var Kb=Math.round(9*Math.random()),Jb="function"==typeof Object.defineProperty,Qb=function(){function t(){this._id="__ec_inner_"+Kb++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return Jb?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[this._id]=e,this},t.prototype.delete=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}(),tx=_u.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,r=e.cy,i=e.width/2,o=e.height/2;t.moveTo(n,r-o),t.lineTo(n+i,r+o),t.lineTo(n-i,r+o),t.closePath()}}),ex=_u.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,r=e.cy,i=e.width/2,o=e.height/2;t.moveTo(n,r-o),t.lineTo(n+i,r),t.lineTo(n,r+o),t.lineTo(n-i,r),t.closePath()}}),nx=_u.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,r=e.y,i=e.width/5*3,o=Math.max(i,e.height),a=i/2,s=a*a/(o-a),l=r-o+a+s,u=Math.asin(s/a),c=Math.cos(u)*a,d=Math.sin(u),h=Math.cos(u),f=.6*a,p=.7*a;t.moveTo(n-c,l+s),t.arc(n,l,a,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+c-d*f,l+s+h*f,n,r-p,n,r),t.bezierCurveTo(n,r-p,n-c+d*f,l+s+h*f,n-c,l+s),t.closePath()}}),rx=_u.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,r=e.width,i=e.x,o=e.y,a=r/3*2;t.moveTo(i,o),t.lineTo(i+a,o+n),t.lineTo(i,o+n/4*3),t.lineTo(i-a,o+n),t.lineTo(i,o),t.closePath()}}),ix={line:function(t,e,n,r,i){i.x1=t,i.y1=e+r/2,i.x2=t+n,i.y2=e+r/2},rect:function(t,e,n,r,i){i.x=t,i.y=e,i.width=n,i.height=r},roundRect:function(t,e,n,r,i){i.x=t,i.y=e,i.width=n,i.height=r,i.r=Math.min(n,r)/4},square:function(t,e,n,r,i){var o=Math.min(n,r);i.x=t,i.y=e,i.width=o,i.height=o},circle:function(t,e,n,r,i){i.cx=t+n/2,i.cy=e+r/2,i.r=Math.min(n,r)/2},diamond:function(t,e,n,r,i){i.cx=t+n/2,i.cy=e+r/2,i.width=n,i.height=r},pin:function(t,e,n,r,i){i.x=t+n/2,i.y=e+r/2,i.width=n,i.height=r},arrow:function(t,e,n,r,i){i.x=t+n/2,i.y=e+r/2,i.width=n,i.height=r},triangle:function(t,e,n,r,i){i.cx=t+n/2,i.cy=e+r/2,i.width=n,i.height=r}},ox={};H({line:fh,rect:Lu,roundRect:Lu,square:Lu,circle:Rd,diamond:ex,pin:nx,arrow:rx,triangle:tx},(function(t,e){ox[e]=new t}));var ax=_u.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var r=Io(t,e,n),i=this.shape;return i&&"pin"===i.symbolType&&"inside"===e.position&&(r.y=n.y+.4*n.height),r},buildPath:function(t,e,n){var r=e.symbolType;if("none"!==r){var i=ox[r];i||(i=ox[r="rect"]),ix[r](e.x,e.y,e.width,e.height,i.shape),i.buildPath(t,i.shape,n)}}});function sx(t,e){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=t:n.fill=t,this.markRedraw()}}function lx(t,e,n,r,i,o,a){var s,l=0===t.indexOf("empty");return l&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(s=0===t.indexOf("image://")?Kh(t.slice(8),new nn(e,n,r,i),a?"center":"cover"):0===t.indexOf("path://")?qh(t.slice(7),{},new nn(e,n,r,i),a?"center":"cover"):new ax({shape:{symbolType:t,x:e,y:n,width:r,height:i}})).__isEmptyBrush=l,s.setColor=sx,o&&s.setColor(o),s}function ux(t){return J(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function cx(t,e){if(null!=t)return J(t)||(t=[t,t]),[oa(t[0],e[0])||0,oa(ht(t[1],t[0]),e[1])||0]}function dx(t){return isFinite(t)}function hx(t,e,n){var r=null==e.x?0:e.x,i=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;return e.global||(r=r*n.width+n.x,i=i*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),r=dx(r)?r:0,i=dx(i)?i:1,o=dx(o)?o:0,a=dx(a)?a:0,t.createLinearGradient(r,o,i,a)}function fx(t,e,n){var r=n.width,i=n.height,o=Math.min(r,i),a=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;return e.global||(a=a*r+n.x,s=s*i+n.y,l*=o),a=dx(a)?a:.5,s=dx(s)?s:.5,l=l>=0&&dx(l)?l:.5,t.createRadialGradient(a,s,0,a,s,l)}function px(t,e,n){for(var r="radial"===e.type?fx(t,e,n):hx(t,e,n),i=e.colorStops,o=0;o<i.length;o++)r.addColorStop(i[o].offset,i[o].color);return r}function gx(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1}function yx(t){return parseInt(t,10)}function mx(t,e,n){var r=["width","height"][e],i=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],a=["paddingRight","paddingBottom"][e];if(null!=n[r]&&"auto"!==n[r])return parseFloat(n[r]);var s=document.defaultView.getComputedStyle(t);return(t[i]||yx(s[r])||yx(t.style[r]))-(yx(s[o])||0)-(yx(s[a])||0)|0}function vx(t,e){return t&&"solid"!==t&&e>0?"dashed"===t?[4*e,2*e]:"dotted"===t?[e]:nt(t)?[t]:J(t)?t:null:null}function bx(t){var e=t.style,n=e.lineDash&&e.lineWidth>0&&vx(e.lineDash,e.lineWidth),r=e.lineDashOffset;if(n){var i=e.strokeNoScale&&t.getLineScale?t.getLineScale():1;i&&1!==i&&(n=W(n,(function(t){return t/i})),r/=i)}return[n,r]}var xx=new ql(!0);function _x(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function Sx(t){return"string"==typeof t&&"none"!==t}function Mx(t){var e=t.fill;return null!=e&&"none"!==e}function Ix(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function Ax(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function Dx(t,e,n){var r=Ws(e.image,e.__image,n);if(Ys(r)){var i=t.createPattern(r,e.repeat||"repeat");if("function"==typeof DOMMatrix&&i&&i.setTransform){var o=new DOMMatrix;o.translateSelf(e.x||0,e.y||0),o.rotateSelf(0,0,(e.rotation||0)*Pt),o.scaleSelf(e.scaleX||1,e.scaleY||1),i.setTransform(o)}return i}}function Tx(t,e,n,r){var i,o=_x(n),a=Mx(n),s=n.strokePercent,l=s<1,u=!e.path;e.silent&&!l||!u||e.createPathProxy();var c=e.path||xx,d=e.__dirty;if(!r){var h=n.fill,f=n.stroke,p=a&&!!h.colorStops,g=o&&!!f.colorStops,y=a&&!!h.image,m=o&&!!f.image,v=void 0,b=void 0,x=void 0,_=void 0,w=void 0;(p||g)&&(w=e.getBoundingRect()),p&&(v=d?px(t,h,w):e.__canvasFillGradient,e.__canvasFillGradient=v),g&&(b=d?px(t,f,w):e.__canvasStrokeGradient,e.__canvasStrokeGradient=b),y&&(x=d||!e.__canvasFillPattern?Dx(t,h,e):e.__canvasFillPattern,e.__canvasFillPattern=x),m&&(_=d||!e.__canvasStrokePattern?Dx(t,f,e):e.__canvasStrokePattern,e.__canvasStrokePattern=x),p?t.fillStyle=v:y&&(x?t.fillStyle=x:a=!1),g?t.strokeStyle=b:m&&(_?t.strokeStyle=_:o=!1)}var S,M,I=e.getGlobalScale();c.setScale(I[0],I[1],e.segmentIgnoreThreshold),t.setLineDash&&n.lineDash&&(S=(i=bx(e))[0],M=i[1]);var A=!0;(u||d&Dn)&&(c.setDPR(t.dpr),l?c.setContext(null):(c.setContext(t),A=!1),c.reset(),e.buildPath(c,e.shape,r),c.toStatic(),e.pathUpdated()),A&&c.rebuildPath(t,l?s:1),S&&(t.setLineDash(S),t.lineDashOffset=M),r||(n.strokeFirst?(o&&Ax(t,n),a&&Ix(t,n)):(a&&Ix(t,n),o&&Ax(t,n))),S&&t.setLineDash([])}function Cx(t,e,n){var r=e.__image=Ws(n.image,e.__image,e,e.onload);if(r&&Ys(r)){var i=n.x||0,o=n.y||0,a=e.getWidth(),s=e.getHeight(),l=r.width/r.height;if(null==a&&null!=s?a=s*l:null==s&&null!=a?s=a/l:null==a&&null==s&&(a=r.width,s=r.height),n.sWidth&&n.sHeight){var u=n.sx||0,c=n.sy||0;t.drawImage(r,u,c,n.sWidth,n.sHeight,i,o,a,s)}else if(n.sx&&n.sy){var d=a-(u=n.sx),h=s-(c=n.sy);t.drawImage(r,u,c,d,h,i,o,a,s)}else t.drawImage(r,i,o,a,s)}}function Ox(t,e,n){var r,i=n.text;if(null!=i&&(i+=""),i){t.font=n.font||c,t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var o=void 0,a=void 0;t.setLineDash&&n.lineDash&&(o=(r=bx(e))[0],a=r[1]),o&&(t.setLineDash(o),t.lineDashOffset=a),n.strokeFirst?(_x(n)&&t.strokeText(i,n.x,n.y),Mx(n)&&t.fillText(i,n.x,n.y)):(Mx(n)&&t.fillText(i,n.x,n.y),_x(n)&&t.strokeText(i,n.x,n.y)),o&&t.setLineDash([])}}var Px=["shadowBlur","shadowOffsetX","shadowOffsetY"],kx=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function $x(t,e,n,r,i){var o=!1;if(!r&&e===(n=n||{}))return!1;if(r||e.opacity!==n.opacity){Wx(t,i),o=!0;var a=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(a)?ul.opacity:a}(r||e.blend!==n.blend)&&(o||(Wx(t,i),o=!0),t.globalCompositeOperation=e.blend||ul.blend);for(var s=0;s<Px.length;s++){var l=Px[s];(r||e[l]!==n[l])&&(o||(Wx(t,i),o=!0),t[l]=t.dpr*(e[l]||0))}return(r||e.shadowColor!==n.shadowColor)&&(o||(Wx(t,i),o=!0),t.shadowColor=e.shadowColor||ul.shadowColor),o}function Ex(t,e,n,r,i){var o=Gx(e,i.inHover),a=r?null:n&&Gx(n,i.inHover)||{};if(o===a)return!1;var s=$x(t,o,a,r,i);if((r||o.fill!==a.fill)&&(s||(Wx(t,i),s=!0),Sx(o.fill)&&(t.fillStyle=o.fill)),(r||o.stroke!==a.stroke)&&(s||(Wx(t,i),s=!0),Sx(o.stroke)&&(t.strokeStyle=o.stroke)),(r||o.opacity!==a.opacity)&&(s||(Wx(t,i),s=!0),t.globalAlpha=null==o.opacity?1:o.opacity),e.hasStroke()){var l=o.lineWidth/(o.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==l&&(s||(Wx(t,i),s=!0),t.lineWidth=l)}for(var u=0;u<kx.length;u++){var c=kx[u],d=c[0];(r||o[d]!==a[d])&&(s||(Wx(t,i),s=!0),t[d]=o[d]||c[1])}return s}function Lx(t,e,n,r,i){return $x(t,Gx(e,i.inHover),n&&Gx(n,i.inHover),r,i)}function Nx(t,e){var n=e.transform,r=t.dpr||1;n?t.setTransform(r*n[0],r*n[1],r*n[2],r*n[3],r*n[4],r*n[5]):t.setTransform(r,0,0,r,0,0)}function Rx(t,e,n){for(var r=!1,i=0;i<t.length;i++){var o=t[i];r=r||o.isZeroArea(),Nx(e,o),e.beginPath(),o.buildPath(e,o.shape),e.clip()}n.allClipped=r}function Fx(t,e){return t&&e?t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||t[3]!==e[3]||t[4]!==e[4]||t[5]!==e[5]:!(!t&&!e)}var Bx=1,jx=2,zx=3,Vx=4;function Hx(t){var e=Mx(t),n=_x(t);return!(t.lineDash||!(+e^+n)||e&&"string"!=typeof t.fill||n&&"string"!=typeof t.stroke||t.strokePercent<1||t.strokeOpacity<1||t.fillOpacity<1)}function Wx(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function Gx(t,e){return e&&t.__hoverStyle||t.style}function Yx(t,e){Ux(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function Ux(t,e,n,r){var i=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1))return e.__dirty&=~In,void(e.__isRendered=!1);var o=e.__clipPaths,a=n.prevElClipPaths,s=!1,l=!1;
33if(a&&!gx(o,a)||(a&&a.length&&(Wx(t,n),t.restore(),l=s=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),o&&o.length&&(Wx(t,n),t.save(),Rx(o,t,n),s=!0),n.prevElClipPaths=o),n.allClipped)e.__isRendered=!1;else{e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var u=n.prevEl;u||(l=s=!0);var c=e instanceof _u&&e.autoBatch&&Hx(e.style);s||Fx(i,u.transform)?(Wx(t,n),Nx(t,e)):c||Wx(t,n);var d=Gx(e,n.inHover);e instanceof _u?(n.lastDrawType!==Bx&&(l=!0,n.lastDrawType=Bx),Ex(t,e,u,l,n),c&&(n.batchFill||n.batchStroke)||t.beginPath(),Tx(t,e,d,c),c&&(n.batchFill=d.fill||"",n.batchStroke=d.stroke||"")):e instanceof Su?(n.lastDrawType!==zx&&(l=!0,n.lastDrawType=zx),Ex(t,e,u,l,n),Ox(t,e,d)):e instanceof Du?(n.lastDrawType!==jx&&(l=!0,n.lastDrawType=jx),Lx(t,e,u,l,n),Cx(t,e,d)):e.getTemporalDisplayables&&(n.lastDrawType!==Vx&&(l=!0,n.lastDrawType=Vx),Zx(t,e,n)),c&&r&&Wx(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}}function Zx(t,e,n){var r=e.getDisplayables(),i=e.getTemporalDisplayables();t.save();var o,a,s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(o=e.getCursor(),a=r.length;o<a;o++)(c=r[o]).beforeBrush&&c.beforeBrush(),c.innerBeforeBrush(),Ux(t,c,s,o===a-1),c.innerAfterBrush(),c.afterBrush&&c.afterBrush(),s.prevEl=c;for(var l=0,u=i.length;l<u;l++){var c;(c=i[l]).beforeBrush&&c.beforeBrush(),c.innerBeforeBrush(),Ux(t,c,s,l===u-1),c.innerAfterBrush(),c.afterBrush&&c.afterBrush(),s.prevEl=c}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}var Xx=new Qb,qx=new cr(100),Kx=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function Jx(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),r=e.getZr(),i="svg"===r.painter.type;t.dirty&&Xx.delete(t);var o=Xx.get(t);if(o)return o;var a=R(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var s={repeat:"repeat"};return l(s),s.rotation=a.rotation,s.scaleX=s.scaleY=i?1:1/n,Xx.set(t,s),t.dirty=!1,s;function l(t){for(var e,o=[n],s=!0,l=0;l<Kx.length;++l){var u=a[Kx[l]];if(null!=u&&!J(u)&&!tt(u)&&!nt(u)&&"boolean"!=typeof u){s=!1;break}o.push(u)}if(s){e=o.join(",")+(i?"-svg":"");var c=qx.get(e);c&&(i?t.svgElement=c:t.image=c)}var d,h=t_(a.dashArrayX),f=e_(a.dashArrayY),p=Qx(a.symbol),g=n_(h),y=r_(f),v=!i&&m.createCanvas(),b=i&&{tag:"g",attrs:{},key:"dcl",children:[]},x=_();function _(){for(var t=1,e=0,n=g.length;e<n;++e)t=Ta(t,g[e]);var r=1;for(e=0,n=p.length;e<n;++e)r=Ta(r,p[e].length);t*=r;var i=y*g.length*p.length,o=function(t){console.warn("Calculated decal size is greater than "+t+" due to decal option settings so "+t+" is used for the decal size. Please consider changing the decal option to make a smaller decal or set "+t+" to be larger to avoid incontinuity.")};return t>a.maxTileWidth&&o("maxTileWidth"),i>a.maxTileHeight&&o("maxTileHeight"),{width:Math.max(1,Math.min(t,a.maxTileWidth)),height:Math.max(1,Math.min(i,a.maxTileHeight))}}function w(){d&&(d.clearRect(0,0,v.width,v.height),a.backgroundColor&&(d.fillStyle=a.backgroundColor,d.fillRect(0,0,v.width,v.height)));for(var t=0,e=0;e<f.length;++e)t+=f[e];if(!(t<=0))for(var o=-y,s=0,l=0,u=0;o<x.height;){if(s%2==0){for(var c=l/2%p.length,g=0,m=0,_=0;g<2*x.width;){var w=0;for(e=0;e<h[u].length;++e)w+=h[u][e];if(w<=0)break;if(m%2==0){var S=.5*(1-a.symbolSize),M=g+h[u][m]*S,I=o+f[s]*S,A=h[u][m]*a.symbolSize,D=f[s]*a.symbolSize,T=_/2%p[c].length;C(M,I,A,D,p[c][T])}g+=h[u][m],++_,++m===h[u].length&&(m=0)}++u===h.length&&(u=0)}o+=f[s],++l,++s===f.length&&(s=0)}function C(t,e,o,s,l){var u=i?1:n,c=lx(l,t*u,e*u,o*u,s*u,a.color,a.symbolKeepAspect);if(i){var h=r.painter.renderOneToVNode(c);h&&b.children.push(h)}else Yx(d,c)}}v&&(v.width=x.width*n,v.height=x.height*n,d=v.getContext("2d")),w(),s&&qx.put(e,v||b),t.image=v,t.svgElement=b,t.svgWidth=x.width,t.svgHeight=x.height}}function Qx(t){if(!t||0===t.length)return[["rect"]];if(tt(t))return[[t]];for(var e=!0,n=0;n<t.length;++n)if(!tt(t[n])){e=!1;break}if(e)return Qx([t]);var r=[];for(n=0;n<t.length;
vendor: 14,911 bytes, line 33
33++n)tt(t[n])?r.push([t[n]]):r.push(t[n]);return r}function t_(t){if(!t||0===t.length)return[[0,0]];if(nt(t))return[[i=Math.ceil(t),i]];for(var e=!0,n=0;n<t.length;++n)if(!nt(t[n])){e=!1;break}if(e)return t_([t]);var r=[];for(n=0;n<t.length;++n)if(nt(t[n])){var i=Math.ceil(t[n]);r.push([i,i])}else(i=W(t[n],(function(t){return Math.ceil(t)}))).length%2==1?r.push(i.concat(i)):r.push(i);return r}function e_(t){if(!t||"object"==typeof t&&0===t.length)return[0,0];if(nt(t)){var e=Math.ceil(t);return[e,e]}var n=W(t,(function(t){return Math.ceil(t)}));return t.length%2?n.concat(n):n}function n_(t){return W(t,(function(t){return r_(t)}))}function r_(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2==1?2*e:e}function i_(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var r=n.getData();r.hasItemVisual()&&r.each((function(t){var n=r.getItemVisual(t,"decal");n&&(r.ensureUniqueItemVisual(t,"style").decal=Jx(n,e))}));var i=r.getVisual("decal");i&&(r.getVisual("style").decal=Jx(i,e))}}))}var o_=new se,a_={};function s_(t,e){a_[t]&&La("Already has an implementation of "+t+"."),a_[t]=e}function l_(t){return a_[t]||La("Implementation of "+t+" doesn't exists."),a_[t]}var u_="5.5.1",c_={zrender:"5.6.0"},d_=1,h_=900,f_=2e3,p_=1e3,g_=2e3,y_=3e3,m_=4500,v_=7e3,b_={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:p_,PROGRESSIVE_LAYOUT:1100,GLOBAL:g_,CHART:y_,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:m_,ARIA:6e3,DECAL:v_}},x_="__flagInMainProcess",__="__pendingUpdate",w_="__needsUpdateStatus",S_=/^[a-zA-Z0-9_]+$/,M_="__connectUpdateStatus",I_=0,A_=1,D_=2;function T_(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(!this.isDisposed())return O_(this,t,e);tw(this.id)}}function C_(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return O_(this,t,e)}}function O_(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),se.prototype[e].apply(t,n)}var P_,k_,$_,E_,L_,N_,R_,F_,B_,j_,z_,V_,H_,W_,G_,Y_,U_,Z_,X_=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(se),q_=X_.prototype;q_.on=C_("on"),q_.off=C_("off");var K_=function(t){function e(e,r,i){var o=t.call(this,new Bb)||this;o._chartsViews=[],o._chartsMap={},o._componentsViews=[],o._componentsMap={},o._pendingActions=[],i=i||{},tt(r)&&(r=aw[r]),o._dom=e;var s="canvas",l="auto",u=!1,c=a.hasGlobalWindow?window:n.g;c&&(s=ht(c.__ECHARTS__DEFAULT__RENDERER__,s),l=ht(c.__ECHARTS__DEFAULT__COARSE_POINTER,l),u=ht(c.__ECHARTS__DEFAULT__USE_DIRTY_RECT__,u)),i.ssr&&Jo((function(t){var e=Qu(t),n=e.dataIndex;if(null!=n){var r=It();return r.set("series_index",e.seriesIndex),r.set("data_index",n),e.ssrType&&r.set("ssr_type",e.ssrType),r}}));var d=o._zr=Yo(e,{renderer:i.renderer||s,devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:ht(i.useDirtyRect,u),useCoarsePointer:ht(i.useCoarsePointer,l),pointerSize:i.pointerSize});o._ssr=i.ssr,o._throttledZrFlush=rb(q(d.flush,d),17),(r=$(r))&&Yy(r,!0),o._theme=r,o._locale=cp(i.locale||lp),o._coordSysMgr=new yy;var h=o._api=G_(o);function f(t,e){return t.__prio-e.__prio}return Mn(ow,f),Mn(rw,f),o._scheduler=new mb(o,h,rw,ow),o._messageCenter=new X_,o._initEvents(),o.resize=q(o.resize,o),d.animation.on("frame",o._onframe,o),j_(d,o),z_(d,o),bt(o),o}return i(e,t),e.prototype._onframe=function(){if(!this._disposed){Z_(this);var t=this._scheduler;if(this[__]){var e=this[__].silent;this[x_]=!0;try{P_(this),E_.update.call(this,null,this[__].updateParams)}catch(t){throw this[x_]=!1,this[__]=null,t}this._zr.flush(),this[x_]=!1,this[__]=null,F_.call(this,e),B_.call(this,e)}else if(t.unfinished){var n=d_,r=this._model,i=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(r),t.performDataProcessorTasks(r),N_(this,r),t.performVisualTasks(r),W_(this,this._model,i,"remain",{}),n-=+new Date-o}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(this[x_])La("`setOption` should not be called during main process.");else if(this._disposed)tw(this.id);else{var r,i,o;if(rt(e)&&(n=e.lazyUpdate,r=e.silent,i=e.replaceMerge,o=e.transition,e=e.notMerge),this[x_]=!0,!this._model||e){var a=new vy(this._api),s=this._theme,l=this._model=new sy;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:i},iw);var u={seriesTransition:o,optionChanged:!0};if(n)this[__]={silent:r,updateParams:u},this[x_]=!1,this.getZr().wakeUp();else{try{P_(this),E_.update.call(this,null,u)}catch(t){throw this[__]=null,this[x_]=!1,t}this._ssr||this._zr.flush(),this[__]=null,this[x_]=!1,F_.call(this,r),B_.call(this,r)}}},e.prototype.setTheme=function(){Na("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||a.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return Ra("getRenderedCanvas","renderToCanvas"),this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){t=t||{};var e=this._zr.painter;if("canvas"!==e.type)throw new Error("renderToCanvas can only be used in the canvas renderer.");return e.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){t=t||{};var e=this._zr.painter;if("svg"!==e.type)throw new Error("renderToSVGString can only be used in the svg renderer.");return e.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(a.svgSupported){var t=this._zr;return H(t.storage.getDisplayList(),(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,r=[],i=this;H(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=i._componentsMap[t.__viewId];e.group.ignore||(r.push(e),e.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return H(r,(function(t){t.group.ignore=!1})),o}tw(this.id)},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,r=Math.min,i=Math.max,o=1/0;if(uw[n]){var a=o,s=o,l=-o,u=-o,c=[],d=t&&t.pixelRatio||this.getDevicePixelRatio();H(lw,(function(o,d){if(o.group===n){var h=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas($(t)),f=o.getDom().getBoundingClientRect();a=r(f.left,a),s=r(f.top,s),l=i(f.right,l),u=i(f.bottom,u),c.push({dom:h,left:f.left,top:f.top})}}));var h=(l*=d)-(a*=d),f=(u*=d)-(s*=d),p=m.createCanvas(),g=Yo(p,{renderer:e?"svg":"canvas"});if(g.resize({width:h,height:f}),e){var y="";return H(c,(function(t){var e=t.left-a,n=t.top-s;y+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"})),g.painter.getSvgRoot().innerHTML=y,t.connectedBackgroundColor&&g.painter.setBackgroundColor(t.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()}return t.connectedBackgroundColor&&g.add(new Lu({shape:{x:0,y:0,width:h,height:f},style:{fill:t.connectedBackgroundColor}})),H(c,(function(t){var e=new Du({style:{x:t.left*d-a,y:t.top*d-s,image:t.dom}});g.add(e)})),g.refreshImmediately(),p.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}tw(this.id)},e.prototype.convertToPixel=function(t,e){return L_(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return L_(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){var n;if(!this._disposed)return H(gs(this._model,t),(function(t,r){r.indexOf("Models")>=0&&H(t,(function(t){var i=t.coordinateSystem;if(i&&i.containPoint)n=n||!!i.containPoint(e);else if("seriesModels"===r){var o=this._chartsMap[t.__viewId];o&&o.containPoint?n=n||o.containPoint(e,t):Ea(r+": "+(o?"The found component do not support containPoint.":"No view mapping to the found component."))}else Ea(r+": containPoint is not supported")}),this)}),this),!!n;tw(this.id)},e.prototype.getVisual=function(t,e){var n=gs(this._model,t,{defaultMainType:"series"}),r=n.seriesModel;r||Ea("There is no specified series model");var i=r.getData(),o=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?i.indexOfRawIndex(n.dataIndex):null;return null!=o?Wb(i,o,e):Gb(i,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t=this;H(Q_,(function(e){var n=function(n){var r,i=t.getModel(),o=n.target,a="globalout"===e;if(a?r={}:o&&qb(o,(function(t){var e=Qu(t);if(e&&null!=e.dataIndex){var n=e.dataModel||i.getSeriesByIndex(e.seriesIndex);return r=n&&n.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return r=N({},e.eventData),!0}),!0),r){var s=r.componentType,l=r.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=r.seriesIndex);var u=s&&null!=l&&i.getComponent(s,l),c=u&&t["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];a||u&&c||Ea("model or view can not be found by params"),r.event=n,r.type=e,t._$eventProcessor.eventInfo={targetEl:o,packedEvent:r,model:u,view:c},t.trigger(e,r)}};n.zrEventfulCallAtLast=!0,t._zr.on(e,n,t)})),H(nw,(function(e,n){t._messageCenter.on(n,(function(t){this.trigger(n,t)}),t)})),H(["selectchanged"],(function(e){t._messageCenter.on(e,(function(t){this.trigger(e,t)}),t)})),Xb(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?tw(this.id):this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)tw(this.id);else{this._disposed=!0,this.getDom()&&xs(this.getDom(),hw,"");var t=this,e=t._api,n=t._model;H(t._componentsViews,(function(t){t.dispose(n,e)})),H(t._chartsViews,(function(t){t.dispose(n,e)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete lw[t.id]}},e.prototype.resize=function(t){if(this[x_])La("`resize` should not be called during main process.");else if(this._disposed)tw(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),r=t&&t.silent;this[__]&&(null==r&&(r=this[__].silent),n=!0,this[__]=null),this[x_]=!0;try{n&&P_(this),E_.update.call(this,{type:"resize",animation:N({duration:0},t&&t.animation)})}catch(t){throw this[x_]=!1,t}this[x_]=!1,F_.call(this,r),B_.call(this,r)}}},e.prototype.showLoading=function(t,e){if(this._disposed)tw(this.id);else if(rt(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),sw[t]){var n=sw[t](this._api,e),r=this._zr;this._loadingFX=n,r.add(n)}else Ea("Loading effects "+t+" not exists.")},e.prototype.hideLoading=function(){this._disposed?tw(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=N({},t);return e.type=nw[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)tw(this.id);else if(rt(e)||(e={silent:!!e}),ew[t.type]&&this._model)if(this[x_])this._pendingActions.push(t);else{var n=e.silent;R_.call(this,t,n);var r=e.flush;r?this._zr.flush():!1!==r&&a.browser.weChat&&this._throttledZrFlush(),F_.call(this,n),B_.call(this,n)}},e.prototype.updateLabelLayout=function(){o_.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)tw(this.id);else{var e=t.seriesIndex,n=this.getModel().getSeriesByIndex(e);yt(t.data&&n),n.appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function e(t){var e=[],n=[],r=!1;if(t.eachComponent((function(t,i){var o=i.get("zlevel")||0,a=i.get("z")||0,s=i.getZLevelKey();r=r||!!s,("series"===t?n:e).push({zlevel:o,z:a,idx:i.componentIndex,type:t,key:s})})),r){var i,o,a=e.concat(n);Mn(a,(function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel})),H(a,(function(e){var n=t.getComponent(e.type,e.idx),r=e.zlevel,a=e.key;null!=i&&(r=Math.max(i,r)),a?(r===i&&a!==o&&r++,o=a):o&&(r===i&&r++,o=""),i=r,n.setZLevel(r)}))}}function n(t){for(var e=[],n=t.currentStates,r=0;r<n.length;r++){var i=n[r];"emphasis"!==i&&"blur"!==i&&"select"!==i&&e.push(i)}t.selected&&t.states.select&&e.push("select"),t.hoverState===sc&&t.states.emphasis?e.push("emphasis"):t.hoverState===ac&&t.states.blur&&e.push("blur"),t.useStates(e)}function r(t,e){var n=t._zr.storage,r=0;n.traverse((function(t){t.isGroup||r++})),r>e.get("hoverLayerThreshold")&&!a.node&&!a.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}function o(t,e){var n=t.get("blendMode")||null;e.eachRendered((function(t){t.isGroup||(t.style.blend=n)}))}function s(t,e){if(!t.preventAutoZ){var n=t.get("z")||0,r=t.get("zlevel")||0;e.eachRendered((function(t){return l(t,n,r,-1/0),!0}))}}function l(t,e,n,r){var i=t.getTextContent(),o=t.getTextGuideLine();if(t.isGroup)for(var a=t.childrenRef(),s=0;s<a.length;s++)r=Math.max(l(a[s],e,n,r),r);else t.z=e,t.zlevel=n,r=Math.max(t.z2,r);if(i&&(i.z=e,i.zlevel=n,isFinite(r)&&(i.z2=r+2)),o){var u=t.textGuideLineConfig;o.z=e,o.zlevel=n,isFinite(r)&&(o.z2=r+(u&&u.showAbove?1:-1))}return r}function u(t,e){e.eachRendered((function(t){if(!Nh(t)){var e=t.getTextContent(),n=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}}))}function c(t,e){var r=t.getModel("stateAnimation"),i=t.isAnimationEnabled(),o=r.get("duration"),a=o>0?{duration:o,delay:r.get("delay"),easing:r.get("easing")}:null;e.eachRendered((function(t){if(t.states&&t.states.emphasis){if(Nh(t))return;if(t instanceof _u&&hd(t),t.__dirty){var e=t.prevStates;e&&t.useStates(e)}if(i){t.stateTransition=a;var r=t.getTextContent(),o=t.getTextGuideLine();r&&(r.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&n(t)}}))}P_=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),k_(t,!0),k_(t,!1),e.plan()}
vendor: 1,258 bytes, line 33
33,k_=function(t,e){for(var n=t._model,r=t._scheduler,i=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;l<i.length;l++)i[l].__alive=!1;function u(t){var l=t.__requireNewView;t.__requireNewView=!1;var u="_ec_"+t.id+"_"+t.type,c=!l&&o[u];if(!c){var d=Ts(t.type),h=e?Wv.getClass(d.main,d.sub):Zv.getClass(d.sub);yt(h,d.sub+" does not exist."),(c=new h).init(n,s),o[u]=c,i.push(c),a.add(c.group)}t.__viewId=c.__id=u,c.__alive=!0,c.__model=t,c.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!e&&r.prepareView(c,t,n,s)}for(e?n.eachComponent((function(t,e){"series"!==t&&u(e)})):n.eachSeries(u),l=0;l<i.length;){var c=i[l];c.__alive?l++:(!e&&c.renderTask.dispose(),a.remove(c.group),c.dispose(n,s),i.splice(l,1),o[c.__id]===c&&delete o[c.__id],c.__id=c.group.__ecComponentInfo=null)}},$_=function(t,e,n,r,i){var o=t._model;if(o.setUpdatePayload(n),r){var a={};a[r+"Id"]=n[r+"Id"],a[r+"Index"]=n[r+"Index"],a[r+"Name"]=n[r+"Name"];var s={mainType:r,query:a};i&&(s.subType=i);var l,u=n.excludeSeriesId;null!=u&&(l=It(),H(Ha(u),(function(t){var e=rs(t,null);null!=e&&l.set(e,!0)}))),o&&o.eachComponent(s,(function(e){if(!l||null==l.get(e.id))if(dd(n))if(e instanceof Lv)n.type!==hc||n.notBlur||e.get(["emp
33hasis","disabled"])||Yc(e,n,t._api);else{var r=Uc(e.mainType,e.componentIndex,n.name,t._api),i=r.focusSelf,o=r.dispatchers;n.type===hc&&i&&!n.notBlur&&Gc(e.mainType,e.componentIndex,t._api),o&&H(o,(function(t){n.type===hc?Nc(t):Rc(t)}))}else cd(n)&&e instanceof Lv&&(qc(e,n,t._api),Kc(e),U_(t))}),t),o&&o.eachComponent(s,(function(e){l&&null!=l.get(e.id)||c(t["series"===r?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else H([].concat(t._componentsViews).concat(t._chartsViews),c);function c(r){r&&r.__alive&&r[e]&&r[e](r.__model,o,t._api,n)}},E_={prepareAndUpdate:function(t){P_(this),E_.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(e,n){var r=this._model,i=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(r){r.setUpdatePayload(e),s.restoreData(r,e),s.performSeriesTasks(r),a.create(r,i),s.performDataProcessorTasks(r,e),N_(this,r),a.update(r,i),t(r),s.performVisualTasks(r,e),V_(this,r,i,e,n);var l=r.get("backgroundColor")||"transparent",u=r.get("darkMode");o.setBackgroundColor(l),null!=u&&"auto"!==u&&o.setDarkMode(u),o_.trigger("afterupdate",r,i)}},updateTransform:function(e){var n=this,r=this._model,i=this._api;if(r){r.setUpdatePayload(e);var o=[];r.eachComponent((function(t,a){if("series"!==t){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,r,i,e);l&&l.update&&o.push(s)}else o.push(s)}}));var a=It();r.eachSeries((function(t){var o=n._chartsMap[t.__viewId];if(o.updateTransform){var s=o.updateTransform(t,r,i,e);s&&s.update&&a.set(t.uid,1)}else a.set(t.uid,1)})),t(r),this._scheduler.performVisualTasks(r,e,{setDirty:!0,dirtyMap:a}),W_(this,r,i,e,{},a),o_.trigger("afterupdate",r,i)}},updateView:function(e){var n=this._model;n&&(n.setUpdatePayload(e),Zv.markUpdateMethod(e,"updateView"),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0}),V_(this,n,this._api,e,{}),o_.trigger("afterupdate",n,this._api))},updateVisual:function(e){var n=this,r=this._model;r&&(r.setUpdatePayload(e),r.eachSeries((function(t){t.getData().clearAllVisual()})),Zv.markUpdateMethod(e,"updateVisual"),t(r),this._scheduler.performVisualTasks(r,e,{visualType:"visual",setDirty:!0}),r.eachComponent((function(t,i){if("series"!==t){var o=n.getViewOfComponentModel(i);o&&o.__alive&&o.updateVisual(i,r,n._api,e)}})),r.eachSeries((function(t){n._chartsMap[t.__viewId].updateVisual(t,r,n._api,e)})),o_.trigger("afterupdate",r,this._api))},updateLayout:function(t){E_.update.call(this,t)}},L_=function(t,e,n,r){if(t._disposed)tw(t.id);else{for(var i,o=t._model,a=t._coordSysMgr.getCoordinateSystems(),s=gs(o,n),l=0;l<a.length;l++){var u=a[l];if(u[e]&&null!=(i=u[e](o,s,r)))return i}Ea("No coordinate system that supports "+e+" found by the given finder.")}},N_=function(t,e){var n=t._chartsMap,r=t._scheduler;e.eachSeries((function(t){r.updateStreamModes(t,n[t.__viewId])}))},R_=function(t,e){var n=this,r=this.getModel(),i=t.type,o=t.escapeConnect,a=ew[i],s=a.actionInfo,l=(s.update||"update").split(":"),u=l.pop(),c=null!=l[0]&&Ts(l[0]);this[x_]=!0;var d=[t],h=!1;t.batch&&(h=!0,d=W(t.batch,(function(e){return(e=R(N({},e),t)).batch=null,e})));var f,p=[],g=cd(t),y=dd(t);if(y&&Hc(this._api),H(d,(function(e){if((f=(f=a.action(e,n._model,n._api))||N({},e)).type=s.event||f.type,p.push(f),y){var r=ys(t),i=r.queryOptionMap,o=r.mainTypeSpecified?i.keys()[0]:"series";$_(n,u,e,o),U_(n)}else g?($_(n,u,e,"series"),U_(n)):c&&$_(n,u,e,c.main,c.sub)})),"none"!==u&&!y&&!g&&!c)try{this[__]?(P_(this),E_.update.call(this,t),this[__]=null):E_[u].call(this,t)}catch(t){throw this[x_]=!1,t}if(f=h?{type:s.event||i,escapeConnect:o,batch:p}:p[0],this[x_]=!1,!e){var m=this._messageCenter;if(m.trigger(f.type,f),g){var v={type:"selectchanged",escapeConnect:o,selected:Jc(r),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};m.trigger(v.type,v)}}}
vendor: 60,683 bytes, line 33
33,F_=function(t){for(var e=this._pendingActions;e.length;){var n=e.shift();R_.call(this,n,t)}},B_=function(t){!t&&this.trigger("updated")},j_=function(t,e){t.on("rendered",(function(n){e.trigger("rendered",n),!t.animation.isFinished()||e[__]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))},z_=function(t,e){t.on("mouseover",(function(t){var n=qb(t.target,sd);n&&(Zc(n,t,e._api),U_(e))})).on("mouseout",(function(t){var n=qb(t.target,sd);n&&(Xc(n,t,e._api),U_(e))})).on("click",(function(t){var n=qb(t.target,(function(t){return null!=Qu(t).dataIndex}),!0);if(n){var r=n.selected?"unselect":"select",i=Qu(n);e._api.dispatchAction({type:r,dataType:i.dataType,dataIndexInside:i.dataIndex,seriesIndex:i.seriesIndex,isFromClick:!0})}}))},V_=function(t,n,r,i,o){e(n),H_(t,n,r,i,o),H(t._chartsViews,(function(t){t.__alive=!1})),W_(t,n,r,i,o),H(t._chartsViews,(function(t){t.__alive||t.remove(n,r)}))},H_=function(t,e,n,r,i,o){H(o||t._componentsViews,(function(t){var i=t.__model;u(i,t),t.render(i,e,n,r),s(i,t),c(i,t)}))},W_=function(t,e,n,i,a,l){var d=t._scheduler;a=N(a||{},{updatedSeries:e.getSeries()}),o_.trigger("series:beforeupdate",e,n,a);var h=!1;e.eachSeries((function(e){var n=t._chartsMap[e.__viewId];n.__alive=!0;var r=n.renderTask;d.updatePayload(r,i),u(e,n),l&&l.get(e.uid)&&r.dirty(),r.perform(d.getPerformArgs(r))&&(h=!0),n.group.silent=!!e.get("silent"),o(e,n),Kc(e)})),d.unfinished=h||d.unfinished,o_.trigger("series:layoutlabels",e,n,a),o_.trigger("series:transition",e,n,a),e.eachSeries((function(e){var n=t._chartsMap[e.__viewId];s(e,n),c(e,n)})),r(t,e),o_.trigger("series:afterupdate",e,n,a)},U_=function(t){t[w_]=!0,t.getZr().wakeUp()},Z_=function(t){t[w_]&&(t.getZr().storage.traverse((function(t){Nh(t)||n(t)})),t[w_]=!1)},G_=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return i(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){Nc(e,n),U_(t)},n.prototype.leaveEmphasis=function(e,n){Rc(e,n),U_(t)},n.prototype.enterBlur=function(e){Fc(e),U_(t)},n.prototype.leaveBlur=function(e){Bc(e),U_(t)},n.prototype.enterSelect=function(e){jc(e),U_(t)},n.prototype.leaveSelect=function(e){zc(e),U_(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n}(py))(t)},Y_=function(t){function e(t,e){for(var n=0;n<t.length;n++)t[n][M_]=e}H(nw,(function(n,r){t._messageCenter.on(r,(function(n){if(uw[t.group]&&t[M_]!==I_){if(n&&n.escapeConnect)return;var r=t.makeActionFromEvent(n),i=[];H(lw,(function(e){e!==t&&e.group===t.group&&i.push(e)})),e(i,I_),H(i,(function(t){t[M_]!==A_&&t.dispatchAction(r)})),e(i,D_)}}))}))}}(),e}(se),J_=K_.prototype;J_.on=T_("on"),J_.off=T_("off"),J_.one=function(t,e,n){var r=this;function i(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];e&&e.apply&&e.apply(this,n),r.off(t,i)}Na("ECharts#one is deprecated."),this.on.call(this,t,i,n)};var Q_=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function tw(t){Ea("Instance "+t+" has been disposed")}var ew={},nw={},rw=[],iw=[],ow=[],aw={},sw={},lw={},uw={},cw=+new Date-0,dw=+new Date-0,hw="_echarts_instance_";function fw(t,e,n){var r=!(n&&n.ssr);if(r){if(!t)throw new Error("Initialize failed: invalid dom.");var i=vw(t);if(i)return Ea("There is a chart instance already initialized on the dom."),i;!at(t)||"CANVAS"===t.nodeName.toUpperCase()||(t.clientWidth||n&&null!=n.width)&&(t.clientHeight||n&&null!=n.height)||Ea("Can't get DOM width or height. Please check dom.clientWidth and dom.clientHeight. They should not be 0.For example, you may need to call this in the callback of window.onload.")}var o=new K_(t,e,n);return o.id="ec_"+cw++,lw[o.id]=o,r&&xs(t,hw,o.id),Y_(o),o_.trigger("afterinit",o),o}function pw(t){if(J(t)){var e=t;t=null,H(e,(function(e){null!=e.group&&(t=e.group)})),t=t||"g_"+dw++,H(e,(function(e){e.group=t}))}return uw[t]=!0,t}function gw(t){uw[t]=!1}var yw=gw;function mw(t){tt(t)?t=lw[t]:t instanceof K_||(t=vw(t)),t instanceof K_&&!t.isDisposed()&&t.dispose()}function vw(t){return lw[_s(t,hw)]}function bw(t){return lw[t]}function xw(t,e){aw[t]=e}function _w(t){B(iw,t)<0&&iw.push(t)}function ww(t,e){kw(rw,t,e,f_)}function Sw(t){Iw("afterinit",t)}function Mw(t){Iw("afterupdate",t)}function Iw(t,e){o_.on(t,e)}function Aw(t,e,n){Q(e)&&(n=e,e="");var r=rt(t)?t.type:[t,t={event:e}][0];t.event=(t.event||r).toLowerCase(),e=t.event,nw[e]||(yt(S_.test(r)&&S_.test(e)),ew[r]||(ew[r]={action:n,actionInfo:t}),nw[e]=r)}function Dw(t,e){yy.register(t,e)}function Tw(t){var e=yy.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()}function Cw(t,e){kw(ow,t,e,p_,"layout")}function Ow(t,e){kw(ow,t,e,y_,"visual")}var Pw=[];function kw(t,e,n,r,i){if((Q(e)||rt(e))&&(n=e,e=r),isNaN(e)||null==e)throw new Error("Illegal priority");if(H(t,(function(t){yt(t.__raw!==n)})),!(B(Pw,n)>=0)){Pw.push(n);var o=mb.wrapStageHandler(n,i);o.__prio=e,o.__raw=n,t.push(o)}}function $w(t,e){sw[t]=e}function Ew(t){Na("setCanvasCreator is deprecated. Use setPlatformAPI({ createCanvas }) instead."),v({createCanvas:t})}function Lw(t,e,n){var r=l_("registerMap");r&&r(t,e,n)}function Nw(t){var e=l_("getMap");return e&&e(t)}var Rw=Wm;Ow(g_,db),Ow(m_,fb),Ow(m_,pb),Ow(g_,Vb),Ow(m_,Hb),Ow(v_,i_),_w(Yy),ww(h_,Uy),$w("default",yb),Aw({type:hc,event:hc,update:hc},Ot),Aw({type:fc,event:fc,update:fc},Ot),Aw({type:pc,event:pc,update:pc},Ot),Aw({type:gc,event:gc,update:gc},Ot),Aw({type:yc,event:yc,update:yc},Ot),xw("light",$b),xw("dark",Fb);var Fw={},Bw=[],jw={registerPreprocessor:_w,registerProcessor:ww,registerPostInit:Sw,registerPostUpdate:Mw,registerUpdateLifecycle:Iw,registerAction:Aw,registerCoordinateSystem:Dw,registerLayout:Cw,registerVisual:Ow,registerTransform:Rw,registerLoading:$w,registerMap:Lw,registerImpl:s_,PRIORITY:b_,ComponentModel:bg,ComponentView:Wv,SeriesModel:Lv,ChartView:Zv,registerComponentModel:function(t){bg.registerClass(t)},registerComponentView:function(t){Wv.registerClass(t)},registerSeriesModel:function(t){Lv.registerClass(t)},registerChartView:function(t){Zv.registerClass(t)},registerSubTypeDefaulter:function(t,e){bg.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){qo(t,e)}};function zw(t){J(t)?H(t,(function(t){zw(t)})):B(Bw,t)>=0||(Bw.push(t),Q(t)&&(t={install:t}),t.install(jw))}function Vw(t){return null==t?0:t.length||1}function Hw(t){return t}var Ww=function(){function t(t,e,n,r,i,o){this._old=t,this._new=e,this._oldKeyGetter=n||Hw,this._newKeyGetter=r||Hw,this.context=i,this._diffModeMultiple="multiple"===o}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},r=new Array(t.length),i=new Array(e.length);this._initIndexMap(t,null,r,"_oldKeyGetter"),this._initIndexMap(e,n,i,"_newKeyGetter");for(var o=0;o<t.length;o++){var a=r[o],s=n[a],l=Vw(s);if(l>1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(i,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},r={},i=[],o=[];this._initIndexMap(t,n,i,"_oldKeyGetter"),this._initIndexMap(e,r,o,"_newKeyGetter");for(var a=0;a<i.length;a++){var s=i[a],l=n[s],u=r[s],c=Vw(l),d=Vw(u);if(c>1&&1===d)this._updateManyToOne&&this._updateManyToOne(u,l),r[s]=null;else if(1===c&&d>1)this._updateOneToMany&&this._updateOneToMany(u,l),r[s]=null;else if(1===c&&1===d)this._update&&this._update(u,l),r[s]=null;else if(c>1&&d>1)this._updateManyToMany&&this._updateManyToMany(u,l),r[s]=null;else if(c>1)for(var h=0;h<c;h++)this._remove&&this._remove(l[h]);else this._remove&&this._remove(l)}this._performRestAdd(o,r)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var r=t[n],i=e[r],o=Vw(i);if(o>1)for(var a=0;a<o;a++)this._add&&this._add(i[a]);else 1===o&&this._add&&this._add(i);e[r]=null}},t.prototype._initIndexMap=function(t,e,n,r){for(var i=this._diffModeMultiple,o=0;o<t.length;o++){var a="_ec_"+this[r](t[o],o);if(i||(n[o]=a),e){var s=e[a],l=Vw(s);0===l?(e[a]=o,i&&n.push(a)):1===l?e[a]=[s,o]:s.push(o)}}},t}(),Gw=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function Yw(t,e){var n={},r=n.encode={},i=It(),o=[],a=[],s={};H(t.dimensions,(function(e){var n=t.getDimensionInfo(e),l=n.coordDim;if(l){yt(null==Mg.get(l));var u=n.coordDimIndex;Uw(r,l)[u]=e,n.isExtraCoord||(i.set(l,1),Xw(n.type)&&(o[0]=e),Uw(s,l)[u]=t.getDimensionIndex(n.name)),n.defaultTooltip&&a.push(e)}Mg.each((function(t,e){var i=Uw(r,e),o=n.otherDims[e];null!=o&&!1!==o&&(i[o]=n.name)}))}));var l=[],u={};i.each((function(t,e){var n=r[e];u[e]=n[0],l=l.concat(n)})),n.dataDimsOnCoord=l,n.dataDimIndicesOnCoord=W(l,(function(e){return t.getDimensionInfo(e).storeDimIndex})),n.encodeFirstDimNotExtra=u;var c=r.label;c&&c.length&&(o=c.slice());var d=r.tooltip;return d&&d.length?a=d.slice():a.length||(a=o.slice()),r.defaultedLabel=o,r.defaultedTooltip=a,n.userOutput=new Gw(s,e),n}function Uw(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function Zw(t){return"category"===t?"ordinal":"time"===t?"time":"float"}function Xw(t){return!("ordinal"===t||"time"===t)}var qw=function(){function t(t){this.otherDims={},null!=t&&N(this,t)}return t}(),Kw=fs(),Jw={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},Qw=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=nS(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return ht(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=cm(this.source),n=!rS(t),r="",i=[],o=0,a=0;o<t;o++){var s=void 0,l=void 0,u=void 0,c=this.dimensions[a];if(c&&c.storeDimIndex===o)s=e?c.name:null,l=c.type,u=c.ordinalMeta,a++;else{var d=this.getSourceDimension(o);d&&(s=e?d.name:null,l=d.type)}i.push({property:s,type:l,ordinalMeta:u}),!e||null==s||c&&c.isCalculationCoord||(r+=n?s.replace(/\`/g,"`1").replace(/\$/g,"`2"):s),r+="$",r+=Jw[l]||"f",u&&(r+=u.uid),r+="$"}var h=this.source;return{dimensions:i,hash:[h.seriesLayoutBy,h.startIndex,r].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var r=void 0,i=this.dimensions[n];if(i&&i.storeDimIndex===e)i.isCalculationCoord||(r=i.name),n++;else{var o=this.getSourceDimension(e);o&&(r=o.name)}t.push(r)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function tS(t){return t instanceof Qw}function eS(t){for(var e=It(),n=0;n<(t||[]).length;n++){var r=t[n],i=rt(r)?r.name:r;null!=i&&null==e.get(i)&&e.set(i,n)}return e}function nS(t){var e=Kw(t);return e.dimNameMap||(e.dimNameMap=eS(t.dimensionsDefine))}function rS(t){return t>30}var iS,oS,aS,sS,lS,uS,cS,dS=rt,hS=W,fS="undefined"==typeof Int32Array?Array:Int32Array,pS="e\0\0",gS=-1,yS=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],mS=["_approximateExtent"],vS=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var r=!1;tS(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(r=!0,n=t),n=n||["x","y"];for(var i={},o=[],a={},s=!1,l={},u=0;u<n.length;u++){var c=n[u],d=tt(c)?new qw({name:c}):c instanceof qw?c:new qw(c),h=d.name;d.type=d.type||"float",d.coordDim||(d.coordDim=h,d.coordDimIndex=0);var f=d.otherDims=d.otherDims||{};o.push(h),i[h]=d,null!=l[h]&&(s=!0),d.createInvertedIndices&&(a[h]=[]),0===f.itemName&&(this._nameDimIdx=u),0===f.itemId&&(this._idDimIdx=u),yt(r||d.storeDimIndex>=0),r&&(d.storeDimIndex=u)}if(this.dimensions=o,this._dimInfos=i,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var p=this._dimIdxToName=It();H(o,(function(t){p.set(i[t].storeDimIndex,t)}))}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(null!=n)return n;var r=this._schema.getSourceDimension(e);return r?r.name:void 0},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return-1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(nt(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},t.prototype._getStoreDimIndex=function(t){var e=this.getDimensionIndex(t);if(null==e)throw new Error("Unknown dimension "+t);return e},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var r=n.encode[t];return r?r[e]:null},t.prototype.mapDimensionsAll=function(t){return(this._dimSummary.encode[t]||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var r,i=this;if(t instanceof ov&&(r=t),!r){var o=this.dimensions,a=em(t)||V(t)?new dm(t,o.length):t;r=new ov;var s=hS(o,(function(t){return{type:i._dimInfos[t].type,property:t}}));r.initData(a,s,n)}this._store=r,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,r.count()),this._dimSummary=Yw(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e.length),r=n.start,i=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=r;a<i;a++){var s=a-r;this._nameList[a]=e[s],o&&cS(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var r=this._dimInfos[e[n]];r.ordinalMeta&&t.collectOrdinalMeta(r.storeDimIndex,r.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==Cg&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var r=this._nameList,i=this._idList;if(n.getSource().sourceFormat===Ig&&!n.pure)for(var o=[],a=t;a<e;a++){var s=n.getItem(a,o);if(!this.hasItemOption&&Ua(s)&&(this.hasItemOption=!0),s){var l=s.name;null==r[a]&&null!=l&&(r[a]=rs(l,null));var u=s.id;null==i[a]&&null!=u&&(i[a]=rs(u,null))}}if(this._shouldMakeIdFromName())for(a=t;a<e;a++)cS(this,a);iS(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){dS(t)?N(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=aS(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),r=this._store.getOrdinalMeta(t);return r?r.categories[n]:n},t.prototype.getId=function(t){return oS(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,r=this._dimInfos[t];if(r)return n.get(r.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,r=this._dimInfos[t];if(r)return n.getByRawIndex(r.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var n=this,r=this._store;return J(t)?r.getValues(hS(t,(function(t){return n._getStoreDimIndex(t)})),e):r.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,r=e.length;n<r;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;e++)if(this.getName(e)===t)return e;return-1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var n=t&&this._invertedIndicesMap[t];if(!n)throw new Error("Do not supported yet");var r=n[e];return null==r||isNaN(r)?gS:r},t.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},t.prototype.each=function(t,e,n){Q(t)&&(n=e,e=t,t=[]);var r=n||this,i=hS(sS(t),this._getStoreDimIndex,this);this._store.each(i,r?q(e,r):e)},t.prototype.filterSelf=function(t,e,n){Q(t)&&(n=e,e=t,t=[]);var r=n||this,i=hS(sS(t),this._getStoreDimIndex,this);return this._store=this._store.filter(i,r?q(e,r):e),this},t.prototype.selectRange=function(t){var e=this,n={};return H(Z(t),(function(r){var i=e._getStoreDimIndex(r);n[i]=t[r]})),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){Q(t)&&(n=e,e=t,t=[]),n=n||this;var r=[];return this.each(t,(function(){r.push(e&&e.apply(this,arguments))}),n),r},t.prototype.map=function(t,e,n,r){var i=n||r||this,o=hS(sS(t),this._getStoreDimIndex,this),a=uS(this);return a._store=this._store.map(o,i?q(e,i):e),a},t.prototype.modify=function(t,e,n,r){var i=this,o=n||r||this;H(sS(t),(function(t){i.getDimensionInfo(t).isCalculationCoord||console.error("Danger: only stack dimension can be modified")}));var a=hS(sS(t),this._getStoreDimIndex,this);this._store.modify(a,o?q(e,o):e)},t.prototype.downSample=function(t,e,n,r){var i=uS(this);return i._store=this._store.downSample(this._getStoreDimIndex(t),e,n,r),i},t.prototype.lttbDownSample=function(t,e){var n=uS(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new Xf(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new Ww(t?t.getStore().getIndices():[],this.getStore().getIndices(),(function(e){return oS(t,e)}),(function(t){return oS(e,t)}))},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},dS(t)?N(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],r=n&&n[e];return null==r?this.getVisual(e):r},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,r=n[t];r||(r=n[t]={});var i=r[e];return null==i&&(J(i=this.getVisual(e))?i=i.slice():dS(i)&&(i=N({},i)),r[e]=i),i},t.prototype.setItemVisual=function(t,e,n){var r=this._itemVisuals[t]||{};this._itemVisuals[t]=r,dS(e)?N(r,e):r[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){dS(t)?N(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?N(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;tc(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){H(this._graphicEls,(function(n,r){n&&t&&t.call(e,n,r)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:hS(this.dimensions,this._getDimInfo,this),this.hostModel)),lS(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];Q(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(pt(arguments)))})},t.internalField=(iS=function(t){var e=t._invertedIndicesMap;H(e,(function(n,r){var i=t._dimInfos[r],o=i.ordinalMeta,a=t._store;if(o){n=e[r]=new fS(o.categories.length);for(var s=0;s<n.length;s++)n[s]=gS;for(s=0;s<a.count();s++)n[a.get(i.storeDimIndex,s)]=s}}))},aS=function(t,e,n){return rs(t._getCategory(e,n),null)},oS=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=aS(t,t._idDimIdx,e)),null==n&&(n=pS+e),n},sS=function(t){return J(t)||(t=null!=t?[t]:[]),t},uS=function(e){var n=new t(e._schema?e._schema:hS(e.dimensions,e._getDimInfo,e),e.hostModel);return lS(n,e),n},lS=function(t,e){H(yS.concat(e.__wrappedMethods||[]),(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t.__wrappedMethods=e.__wrappedMethods,H(mS,(function(n){t[n]=$(e[n])})),t._calculationInfo=N({},e._calculationInfo)},void(cS=function(t,e){var n=t._nameList,r=t._idList,i=t._nameDimIdx,o=t._idDimIdx,a=n[e],s=r[e];if(null==a&&null!=i&&(n[e]=a=aS(t,i,e)),null==s&&null!=o&&(r[e]=s=aS(t,o,e)),null==s&&null!=a){var l=t._nameRepeatCount,u=l[a]=(l[a]||0)+1;s=a,u>1&&(s+="__ec__"+u),r[e]=s}})),t}();function bS(t,e){return xS(t,e).dimensions}function xS(t,e){em(t)||(t=rm(t));var n=(e=e||{}).coordDimensions||[],r=e.dimensionsDefine||t.dimensionsDefine||[],i=It(),o=[],a=wS(t,n,r,e.dimensionsCount),s=e.canOmitUnusedDimensions&&rS(a),l=r===t.dimensionsDefine,u=l?nS(t):eS(r),c=e.encodeDefine;!c&&e.encodeDefaulter&&(c=e.encodeDefaulter(t,a));for(var d=It(c),h=new Jm(a),f=0;f<h.length;f++)h[f]=-1;function p(t){var e=h[t];if(e<0){var n=r[t],i=rt(n)?n:{name:n},a=new qw,s=i.name;null!=s&&null!=u.get(s)&&(a.name=a.displayName=s),null!=i.type&&(a.type=i.type),null!=i.displayName&&(a.displayName=i.displayName);var l=o.length;return h[t]=l,a.storeDimIndex=t,o.push(a),a}return o[e]}if(!s)for(f=0;f<a;f++)p(f);d.each((function(t,e){var n=Ha(t).slice();if(1===n.length&&!tt(n[0])&&n[0]<0)d.set(e,!1);else{var r=d.set(e,[]);H(n,(function(t,n){var i=tt(t)?u.get(t):t;null!=i&&i<a&&(r[n]=i,y(p(i),e,n))}))}}));var g=0;function y(t,e,n){null!=Mg.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,i.set(e,!0))}H(n,(function(t){var e,n,r,i;if(tt(t))e=t,i={};else{e=(i=t).name;var o=i.ordinalMeta;i.ordinalMeta=null,(i=N({},i)).ordinalMeta=o,n=i.dimsDef,r=i.otherDims,i.name=i.coordDim=i.coordDimIndex=i.dimsDef=i.otherDims=null}var s=d.get(e);if(!1!==s){if(!(s=Ha(s)).length)for(var u=0;u<(n&&n.length||1);u++){for(;g<a&&null!=p(g).coordDim;)g++;g<a&&s.push(g++)}H(s,(function(t,o){var a=p(t);if(l&&null!=i.type&&(a.type=i.type),y(R(a,i),e,o),null==a.name&&n){var s=n[o];!rt(s)&&(s={name:s}),a.name=a.displayName=s.name,a.defaultTooltip=s.defaultTooltip}r&&R(a.otherDims,r)}))}}));var m=e.generateCoord,v=e.generateCoordCount,b=null!=v;v=m?v||1:0;var x=m||"value";function _(t){null==t.name&&(t.name=t.coordDim)}if(s)H(o,(function(t){_(t)})),o.sort((function(t,e){return t.storeDimIndex-e.storeDimIndex}));else for(var w=0;w<a;w++){var S=p(w);null==S.coordDim&&(S.coordDim=SS(x,i,b),S.coordDimIndex=0,(!m||v<=0)&&(S.isExtraCoord=!0),v--),_(S),null!=S.type||jg(t,w)!==$g.Must&&(!S.isExtraCoord||null==S.otherDims.itemName&&null==S.otherDims.seriesName)||(S.type="ordinal")}return _S(o),new Qw({source:t,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function _S(t){for(var e=It(),n=0;n<t.length;n++){var r=t[n],i=r.name,o=e.get(i)||0;o>0&&(r.name=i+(o-1)),o++,e.set(i,o)}}function wS(t,e,n,r){var i=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,r||0);return H(e,(function(t){var e;rt(t)&&(e=t.dimsDef)&&(i=Math.max(i,e.length))})),i}function SS(t,e,n){if(n||e.hasKey(t)){for(var r=0;e.hasKey(t+r);)r++;t+=r}return e.set(t,!0),t}var MS=function(){function t(t){this.coordSysDims=[],this.axisMap=It(),this.categoryAxisMap=It(),this.coordSysName=t}return t}();function IS(t){var e=t.get("coordinateSystem"),n=new MS(e),r=AS[e];if(r)return r(t,n,n.axisMap,n.categoryAxisMap),n}var AS={cartesian2d:function(t,e,n,r){var i=t.getReferringComponents("xAxis",ms).models[0],o=t.getReferringComponents("yAxis",ms).models[0];if(!i)throw new Error('xAxis "'+dt(t.get("xAxisIndex"),t.get("xAxisId"),0)+'" not found');if(!o)throw new Error('yAxis "'+dt(t.get("xAxisIndex"),t.get("yAxisId"),0)+'" not found');e.coordSysDims=["x","y"],n.set("x",i),n.set("y",o),DS(i)&&(r.set("x",i),e.firstCategoryDimIndex=0),DS(o)&&(r.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,r){var i=t.getReferringComponents("singleAxis",ms).models[0];if(!i)throw new Error("singleAxis should be specified.");e.coordSysDims=["single"],n.set("single",i),DS(i)&&(r.set("single",i),e.firstCategoryDimIndex=0)},polar:function(t,e,n,r){var i=t.getReferringComponents("polar",ms).models[0],o=i.findAxisModel("radiusAxis"),a=i.findAxisModel("angleAxis");if(!a)throw new Error("angleAxis option not found");if(!o)throw new Error("radiusAxis option not found");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),DS(o)&&(r.set("radius",o),e.firstCategoryDimIndex=0),DS(a)&&(r.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,r){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,r){var i=t.ecModel,o=i.getComponent("parallel",t.get("parallelIndex")),a=e.coordSysDims=o.dimensions.slice();H(o.parallelAxisIndex,(function(t,o){var s=i.getComponent("parallelAxis",t),l=a[o];n.set(l,s),DS(s)&&(r.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))}))}};function DS(t){return"category"===t.get("type")}function TS(t,e,n){var r,i,o,a=(n=n||{}).byIndex,s=n.stackedCoordDimension;CS(e)?r=e:(i=e.schema,r=i.dimensions,o=e.store);var l,u,c,d,h=!(!t||!t.get("stack"));if(H(r,(function(t,e){tt(t)&&(r[e]=t={name:t}),h&&!t.isExtraCoord&&(a||l||!t.ordinalMeta||(l=t),u||"ordinal"===t.type||"time"===t.type||s&&s!==t.coordDim||(u=t))})),!u||a||l||(a=!0),u){c="__\0ecstackresult_"+t.id,d="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var f=u.coordDim,p=u.type,g=0;H(r,(function(t){t.coordDim===f&&g++}));var y={name:c,coordDim:f,coordDimIndex:g,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:r.length},m={name:d,coordDim:d,coordDimIndex:g+1,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:r.length+1};i?(o&&(y.storeDimIndex=o.ensureCalculationDimension(d,p),m.storeDimIndex=o.ensureCalculationDimension(c,p)),i.appendCalculationDimension(y),i.appendCalculationDimension(m)):(r.push(y),r.push(m))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:a,stackedOverDimension:d,stackResultDimension:c}}function CS(t){return!tS(t.schema)}function OS(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function PS(t,e){return OS(t,e)?t.getCalculationInfo("stackResultDimension"):e}function kS(t,e){var n,r=t.get("coordinateSystem"),i=yy.get(r);return e&&e.coordSysDims&&(n=W(e.coordSysDims,(function(t){var n={name:t},r=e.axisMap.get(t);if(r){var i=r.get("type");n.type=Zw(i)}return n}))),n||(n=i&&(i.getDimensionsInfo?i.getDimensionsInfo():i.dimensions.slice())||["x","y"]),n}function $S(t,e,n){var r,i;return n&&H(t,(function(t,o){var a=t.coordDim,s=n.categoryAxisMap.get(a);s&&(null==r&&(r=o),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(i=!0)})),i||null==r||(t[r].otherDims.itemName=0),r}function ES(t,e,n){n=n||{};var r,i=e.getSourceManager(),o=!1;t?(o=!0,r=rm(t)):o=(r=i.getSource()).sourceFormat===Ig;var a=IS(e),s=kS(e,a),l=n.useEncodeDefaulter,u=Q(l)?l:l?K(Ng,s,e):null,c=xS(r,{coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o}),d=$S(c.dimensions,n.createInvertedIndices,a),h=o?null:i.getSharedDataStore(c),f=TS(e,{schema:c,store:h}),p=new vS(c,e);p.setCalculationInfo(f);var g=null!=d&&LS(r)?function(t,e,n,r){return r===d?n:this.defaultDimValueGetter(t,e,n,r)}:null;return p.hasItemOption=!1,p.initData(o?r:h,null,g),p}function LS(t){if(t.sourceFormat===Ig)return!J(Ya(NS(t.data||[])))}function NS(t){for(var e=0;e<t.length&&null==t[e];)e++;return t[e]}var RS=function(){function t(t){this._setting=t||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(t){return this._setting[t]},t.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();Fs(RS);var FS=0,BS=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++FS}return t.createByAxisModel=function(e){var n=e.option,r=n.data,i=r&&W(r,jS);return new t({categories:i,needCollect:!i,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!tt(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var r=this._getOrCreateMap();return null==(e=r.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,r.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=It(this.categories))},t}();function jS(t){return rt(t)&&null!=t.value?t.value:t+""}function zS(t){var e=Math.pow(10,xa(Math.abs(t))),n=Math.abs(t/e);return 0===n||1===n||2===n||3===n||5===n}function VS(t){return"interval"===t.type||"log"===t.type}function HS(t,e,n,r){var i={},o=t[1]-t[0],a=i.interval=_a(o/e,!0);null!=n&&a<n&&(a=i.interval=n),null!=r&&a>r&&(a=i.interval=r);var s=i.intervalPrecision=GS(a);return US(i.niceTickExtent=[aa(Math.ceil(t[0]/a)*a,s),aa(Math.floor(t[1]/a)*a,s)],t),i}function WS(t){var e=Math.pow(10,xa(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,aa(n*e)}function GS(t){return la(t)+2}function YS(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function US(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),YS(t,0,e),YS(t,1,e),t[0]>t[1]&&(t[0]=t[1])}function ZS(t,e){return t>=e[0]&&t<=e[1]}function XS(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function qS(t,e){return t*(e[1]-e[0])+e[0]}var KS=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var r=n.getSetting("ordinalMeta");return r||(r=new BS({})),J(r)&&(r=new BS({categories:W(r,(function(t){return rt(t)?t.value:t}))})),n._ordinalMeta=r,n._extent=n.getSetting("extent")||[0,r.categories.length-1],n}return i(e,t),e.prototype.parse=function(t){return null==t?NaN:tt(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return ZS(t=this.parse(t),this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return XS(t=this._getTickNumber(this.parse(t)),this._extent)},e.prototype.scale=function(t){return t=Math.round(qS(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],r=this._ticksByOrdinalNumber=[],i=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);i<a;++i){var s=e[i];n[i]=s,r[s]=i}for(var l=0;i<o;++i){for(;null!=r[l];)l++;n.push(l),r[l]=i}}else this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null},e.prototype._getTickNumber=function(t){var e=this._ticksByOrdinalNumber;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getRawOrdinalNumber=function(t){var e=this._ordinalNumbersByTick;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var e=this.getRawOrdinalNumber(t.value),n=this._ordinalMeta.categories[e];return null==n?"":n+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.isInExtentRange=function(t){return t=this._getTickNumber(t),this._extent[0]<=t&&this._extent[1]>=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(RS);RS.registerClass(KS);var JS=aa,QS=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return i(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return ZS(t,this._extent)},e.prototype.normalize=function(t){return XS(t,this._extent)},e.prototype.scale=function(t){return qS(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=GS(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,r=this._niceExtent,i=this._intervalPrecision,o=[];if(!e)return o;var a=1e4;n[0]<r[0]&&(t?o.push({value:JS(r[0]-e,i)}):o.push({value:n[0]}));for(var s=r[0];s<=r[1]&&(o.push({value:s}),(s=JS(s+e,i))!==o[o.length-1].value);)if(o.length>a)return[];var l=o.length?o[o.length-1].value:r[1];return n[1]>l&&(t?o.push({value:JS(l+e,i)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],r=this.getExtent(),i=1;i<e.length;i++){for(var o=e[i],a=e[i-1],s=0,l=[],u=(o.value-a.value)/t;s<t-1;){var c=JS(a.value+(s+1)*u);c>r[0]&&c<r[1]&&l.push(c),s++}n.push(l)}return n},e.prototype.getLabel=function(t,e){if(null==t)return"";var n=e&&e.precision;return null==n?n=la(t.value)||0:"auto"===n&&(n=this._intervalPrecision),Yp(JS(t.value,n,!0))},e.prototype.calcNiceTicks=function(t,e,n){t=t||5;var r=this._extent,i=r[1]-r[0];if(isFinite(i)){i<0&&(i=-i,r.reverse());var o=HS(r,t,e,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=Math.abs(e[0]);t.fixMax||(e[1]+=n/2),e[0]-=n/2}else e[1]=1;var r=e[1]-e[0];isFinite(r)||(e[0]=0,e[1]=1),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var i=this._interval;t.fixMin||(e[0]=JS(Math.floor(e[0]/i)*i)),t.fixMax||(e[1]=JS(Math.ceil(e[1]/i)*i))},e.prototype.setNiceExtent=function(t,e){this._niceExtent=[t,e]},e.type="interval",e}(RS);RS.registerClass(QS);var tM="undefined"!=typeof Float32Array,eM=tM?Float32Array:Array;function nM(t){return J(t)?tM?new Float32Array(t):t:new eM(t)}var rM="__ec_stack_";function iM(t){return t.get("stack")||rM+t.seriesIndex}function oM(t){return t.dim+t.index}function aM(t){var e=[],n=t.axis,r="axis0";if("category"===n.type){for(var i=n.getBandWidth(),o=0;o<t.count;o++)e.push(R({bandWidth:i,axisKey:r,stackId:rM+o},t));var a=cM(e),s=[];for(o=0;o<t.count;o++){var l=a[r][rM+o];l.offsetCenter=l.offset+l.width/2,s.push(l)}return s}}function sM(t,e){var n=[];return e.eachSeriesByType(t,(function(t){pM(t)&&n.push(t)})),n}function lM(t){var e={};H(t,(function(t){var n=t.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var r=t.getData(),i=n.dim+"_"+n.index,o=r.getDimensionIndex(r.mapDimension(n.dim)),a=r.getStore(),s=0,l=a.count();s<l;++s){var u=a.get(o,s);e[i]?e[i].push(u):e[i]=[u]}}));var n={};for(var r in e)if(e.hasOwnProperty(r)){var i=e[r];if(i){i.sort((function(t,e){return t-e}));for(var o=null,a=1;a<i.length;++a){var s=i[a]-i[a-1];s>0&&(o=null===o?s:Math.min(o,s))}n[r]=o}}return n}function uM(t){var e=lM(t),n=[];return H(t,(function(t){var r,i=t.coordinateSystem.getBaseAxis(),o=i.getExtent();if("category"===i.type)r=i.getBandWidth();else if("value"===i.type||"time"===i.type){var a=i.dim+"_"+i.index,s=e[a],l=Math.abs(o[1]-o[0]),u=i.scale.getExtent(),c=Math.abs(u[1]-u[0]);r=s?l/c*s:l}else{var d=t.getData();r=Math.abs(o[1]-o[0])/d.count()}var h=oa(t.get("barWidth"),r),f=oa(t.get("barMaxWidth"),r),p=oa(t.get("barMinWidth")||(gM(t)?.5:1),r),g=t.get("barGap"),y=t.get("barCategoryGap");n.push({bandWidth:r,barWidth:h,barMaxWidth:f,barMinWidth:p,barGap:g,barCategoryGap:y,axisKey:oM(i),stackId:iM(t)})})),cM(n)}function cM(t){var e={};H(t,(function(t,n){var r=t.axisKey,i=t.bandWidth,o=e[r]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[r]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var c=t.barMinWidth;c&&(a[s].minWidth=c);var d=t.barGap;null!=d&&(o.gap=d);var h=t.barCategoryGap;null!=h&&(o.categoryGap=h)}));var n={};return H(e,(function(t,e){n[e]={};var r=t.stacks,i=t.bandWidth,o=t.categoryGap;if(null==o){var a=Z(r).length;o=Math.max(35-4*a,15)+"%"}var s=oa(o,i),l=oa(t.gap,1),u=t.remainedWidth,c=t.autoWidthCount,d=(u-s)/(c+(c-1)*l);d=Math.max(d,0),H(r,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width)r=t.width,e&&(r=Math.min(r,e)),n&&(r=Math.max(r,n)),t.width=r,u-=r+l*r,c--;else{var r=d;e&&e<r&&(r=Math.min(e,u)),n&&n>r&&(r=n),r!==d&&(t.width=r,u-=r+l*r,c--)}})),d=(u-s)/(c+(c-1)*l),d=Math.max(d,0);var h,f=0;H(r,(function(t,e){t.width||(t.width=d),h=t,f+=t.width*(1+l)})),h&&(f-=h.width*l);var p=-f/2;H(r,(function(t,r){n[e][r]=n[e][r]||{bandWidth:i,offset:p,width:t.width},p+=t.width*(1+l)}))})),n}function dM(t,e,n){if(t&&e){var r=t[oM(e)];return null!=r&&null!=n?r[iM(n)]:r}}function hM(t,e){var n=sM(t,e),r=uM(n);H(n,(function(t){var e=t.getData(),n=t.coordinateSystem.getBaseAxis(),i=iM(t),o=r[oM(n)][i],a=o.offset,s=o.width;e.setLayout({bandWidth:o.bandWidth,offset:a,size:s})}))}function fM(t){return{seriesType:t,plan:Gv(),reset:function(t){if(pM(t)){var e=t.getData(),n=t.coordinateSystem,r=n.getBaseAxis(),i=n.getOtherAxis(r),o=e.getDimensionIndex(e.mapDimension(i.dim)),a=e.getDimensionIndex(e.mapDimension(r.dim)),s=t.get("showBackground",!0),l=e.mapDimension(i.dim),u=e.getCalculationInfo("stackResultDimension"),c=OS(e,l)&&!!e.getCalculationInfo("stackedOnSeries"),d=i.isHorizontal(),h=yM(r,i),f=gM(t),p=t.get("barMinHeight")||0,g=u&&e.getDimensionIndex(u),y=e.getLayout("size"),m=e.getLayout("offset");return{progress:function(t,e){for(var r,i=t.count,l=f&&nM(3*i),u=f&&s&&nM(3*i),v=f&&nM(i),b=n.master.getRect(),x=d?b.width:b.height,_=e.getStore(),w=0;null!=(r=t.next());){var S=_.get(c?g:o,r),M=_.get(a,r),I=h,A=void 0;c&&(A=+S-_.get(o,r));var D=void 0,T=void 0,C=void 0,O=void 0;if(d){var P=n.dataToPoint([S,M]);c&&(I=n.dataToPoint([A,M])[0]),D=I,T=P[1]+m,C=P[0]-I,O=y,Math.abs(C)<p&&(C=(C<0?-1:1)*p)}else P=n.dataToPoint([M,S]),c&&(I=n.dataToPoint([M,A])[1]),D=P[0]+m,T=I,C=y,O=P[1]-I,Math.abs(O)<p&&(O=(O<=0?-1:1)*p);f?(l[w]=D,l[w+1]=T,l[w+2]=d?C:O,u&&(u[w]=d?b.x:D,u[w+1]=d?T:b.y,u[w+2]=x),v[r]=r):e.setItemLayout(r,{x:D,y:T,width:C,height:O}),w+=3}f&&e.setLayout({largePoints:l,largeDataIndices:v,largeBackgroundPoints:u,valueAxisHorizontal:d})}}}}}}function pM(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function gM(t){return t.pipelineContext&&t.pipelineContext.large}function yM(t,e){var n=e.model.get("startValue");return n||(n=0),e.toGlobalCoord(e.dataToCoord("log"===e.type?n>0?n:1:n))}var mM=function(t,e,n,r){for(;n<r;){var i=n+r>>>1;t[i][1]<e?n=i+1:r=i}return n},vM=function(t){function e(e){var n=t.call(this,e)||this;return n.type="time",n}return i(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return Dp(t.value,xp[Ap(Mp(this._minLevelUnit))]||xp.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var r=this.getSetting("useUTC");return Tp(t,e,n,this.getSetting("locale"),r)},e.prototype.getTicks=function(){var t=this._interval,e=this._extent,n=[];if(!t)return n;n.push({value:e[0],level:0});var r=this.getSetting("useUTC"),i=DM(this._minLevelUnit,this._approxInterval,r,e);return(n=n.concat(i)).push({value:e[1],level:0}),n},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=yp,e[1]+=yp),e[1]===-1/0&&e[0]===1/0){var n=new Date;e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-yp}this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.calcNiceTicks=function(t,e,n){t=t||10;var r=this._extent,i=r[1]-r[0];this._approxInterval=i/t,null!=e&&this._approxInterval<e&&(this._approxInterval=e),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var o=bM.length,a=Math.min(mM(bM,this._approxInterval,0,o),o-1);this._interval=bM[a][1],this._minLevelUnit=bM[Math.max(a-1,0)][0]},e.prototype.parse=function(t){return nt(t)?t:+va(t)},e.prototype.contain=function(t){return ZS(this.parse(t),this._extent)},e.prototype.normalize=function(t){return XS(this.parse(t),this._extent)},e.prototype.scale=function(t){return qS(t,this._extent)},e.type="time",e}(QS),bM=[["second",fp],["minute",pp],["hour",gp],["quarter-day",6*gp],["half-day",12*gp],["day",1.2*yp],["half-week",3.5*yp],["week",7*yp],["month",31*yp],["quarter",95*yp],["half-year",mp/2],["year",mp]];function xM(t,e,n,r){var i=va(e),o=va(n),a=function(t){return Op(i,t,r)===Op(o,t,r)},s=function(){return a("year")},l=function(){return s()&&a("month")},u=function(){return l()&&a("day")},c=function(){return u()&&a("hour")},d=function(){return c()&&a("minute")},h=function(){return d()&&a("second")},f=function(){return h()&&a("millisecond")};switch(t){case"year":return s();case"month":return l();case"day":return u();case"hour":return c();case"minute":return d();case"second":return h();case"millisecond":return f()}}function _M(t,e){return(t/=yp)>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function wM(t){return(t/=30*yp)>6?6:t>3?3:t>2?2:1}function SM(t){return(t/=gp)>12?12:t>6?6:t>3.5?4:t>2?2:1}function MM(t,e){return(t/=e?pp:fp)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function IM(t){return _a(t,!0)}function AM(t,e,n){var r=new Date(t);switch(Mp(e)){case"year":case"month":r[Bp(n)](0);case"day":r[jp(n)](1);case"hour":r[zp(n)](0);case"minute":r[Vp(n)](0);case"second":r[Hp(n)](0),r[Wp(n)](0)}return r.getTime()}function DM(t,e,n,r){var i=1e4,o=wp,a=0;function s(t,e,n,i,o,a,s){for(var l=new Date(e),u=e,c=l[i]();u<n&&u<=r[1];)s.push({value:u}),c+=t,l[o](c),u=l.getTime();s.push({value:u,notAdd:!0})}function l(t,i,o){var a=[],l=!i.length;if(!xM(Mp(t),r[0],r[1],n)){l&&(i=[{value:AM(new Date(r[0]),t,n)},{value:r[1]}]);for(var u=0;u<i.length-1;u++){var c=i[u].value,d=i[u+1].value;if(c!==d){var h=void 0,f=void 0,p=void 0,g=!1;switch(t){case"year":h=Math.max(1,Math.round(e/yp/365)),f=Pp(n),p=Fp(n);break;case"half-year":case"quarter":case"month":h=wM(e),f=kp(n),p=Bp(n);break;case"week":case"half-week":case"day":h=_M(e),f=$p(n),p=jp(n),g=!0;break;case"half-day":case"quarter-day":case"hour":h=SM(e),f=Ep(n),p=zp(n);break;case"minute":h=MM(e,!0),f=Lp(n),p=Vp(n);break;case"second":h=MM(e,!1),f=Np(n),p=Hp(n);break;case"millisecond":h=IM(e),f=Rp(n),p=Wp(n)}s(h,c,d,f,p,g,a),"year"===t&&o.length>1&&0===u&&o.unshift({value:o[0].value-h})}}for(u=0;u<a.length;u++)o.push(a[u]);return a}}for(var u=[],c=[],d=0,h=0,f=0;f<o.length&&a++<i;++f){var p=Mp(o[f]);if(Ip(o[f])&&(l(o[f],u[u.length-1]||[],c),p!==(o[f+1]?Mp(o[f+1]):null))){if(c.length){h=d,c.sort((function(t,e){return t.value-e.value}));for(var g=[],y=0;y<c.length;++y){var m=c[y].value;0!==y&&c[y-1].value===m||(g.push(c[y]),m>=r[0]&&m<=r[1]&&d++)}var v=(r[1]-r[0])/e;if(d>1.5*v&&h>v/1.5)break;if(u.push(g),d>v||t===o[f])break}c=[]}}a>=i&&Ea("Exceed safe limit.");var b=Y(W(u,(function(t){return Y(t,(function(t){return t.value>=r[0]&&t.value<=r[1]&&!t.notAdd}))})),(function(t){return t.length>0})),x=[],_=b.length-1;for(f=0;f<b.length;++f)for(var w=b[f],S=0;S<w.length;++S)x.push({value:w[S].value,level:_-f});x.sort((function(t,e){return t.value-e.value}));var M=[];for(f=0;f<x.length;++f)0!==f&&x[f].value===x[f-1].value||M.push(x[f]);return M}RS.registerClass(vM);var TM=RS.prototype,CM=QS.prototype,OM=aa,PM=Math.floor,kM=Math.ceil,$M=Math.pow,EM=Math.log,LM=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new QS,e._interval=0,e}return i(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,r=e.getExtent();return W(CM.getTicks.call(this,t),(function(t){var e=t.value,i=aa($M(this.base,e));return i=e===n[0]&&this._fixMin?RM(i,r[0]):i,{value:i=e===n[1]&&this._fixMax?RM(i,r[1]):i}}),this)},e.prototype.setExtent=function(t,e){var n=EM(this.base);t=EM(Math.max(0,t))/n,e=EM(Math.max(0,e))/n,CM.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=TM.getExtent.call(this);e[0]=$M(t,e[0]),e[1]=$M(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=RM(e[0],n[0])),this._fixMax&&(e[1]=RM(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=EM(t[0])/EM(e),t[1]=EM(t[1])/EM(e),TM.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var r=ba(n);for(t/n*r<=.5&&(r*=10);!isNaN(r)&&Math.abs(r)<1&&Math.abs(r)>0;)r*=10;var i=[aa(kM(e[0]/r)*r),aa(PM(e[1]/r)*r)];this._interval=r,this._niceExtent=i}},e.prototype.calcNiceExtent=function(t){CM.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return ZS(t=EM(t)/EM(this.base),this._extent)},e.prototype.normalize=function(t){return XS(t=EM(t)/EM(this.base),this._extent)},e.prototype.scale=function(t){return t=qS(t,this._extent),$M(this.base,t)},e.type="log",e}(RS),NM=LM.prototype;function RM(t,e){return OM(t,la(e))}NM.getMinorTicks=CM.getMinorTicks,NM.getLabel=CM.getLabel,RS.registerClass(LM);var FM=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var r=this._isOrdinal="ordinal"===t.type;this._needCrossZero="interval"===t.type&&e.getNeedCrossZero&&e.getNeedCrossZero();var i=e.get("min",!0);null==i&&(i=e.get("startValue",!0));var o=this._modelMinRaw=i;Q(o)?this._modelMinNum=VM(t,o({min:n[0],max:n[1]})):"dataMin"!==o&&(this._modelMinNum=VM(t,o));var a=this._modelMaxRaw=e.get("max",!0);if(Q(a)?this._modelMaxNum=VM(t,a({min:n[0],max:n[1]})):"dataMax"!==a&&(this._modelMaxNum=VM(t,a)),r)this._axisDataLen=e.getCategories().length;else{var s=e.get("boundaryGap"),l=J(s)?s:[s||0,s||0];"boolean"==typeof l[0]||"boolean"==typeof l[1]?(console.warn('Boolean type for boundaryGap is only allowed for ordinal axis. Please use string in percentage instead, e.g., "20%". Currently, boundaryGap is set to be 0.'),this._boundaryGapInner=[0,0]):this._boundaryGapInner=[Mo(l[0],1),Mo(l[1],1)]}},t.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,n=this._dataMax,r=this._axisDataLen,i=this._boundaryGapInner,o=t?null:n-e||Math.abs(e),a="dataMin"===this._modelMinRaw?e:this._modelMinNum,s="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,l=null!=a,u=null!=s;null==a&&(a=t?r?0:NaN:e-i[0]*o),null==s&&(s=t?r?r-1:NaN:n+i[1]*o),(null==a||!isFinite(a))&&(a=NaN),(null==s||!isFinite(s))&&(s=NaN);var c=ct(a)||ct(s)||t&&!r;this._needCrossZero&&(a>0&&s>0&&!l&&(a=0),a<0&&s<0&&!u&&(s=0));var d=this._determinedMin,h=this._determinedMax;return null!=d&&(a=d,l=!0),null!=h&&(s=h,u=!0),{min:a,max:s,minFixed:l,maxFixed:u,isBlank:c}},t.prototype.modifyDataMinMax=function(t,e){yt(!this.frozen),this[jM[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){var n=BM[t];yt(!this.frozen&&null==this[n]),this[n]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),BM={min:"_determinedMin",max:"_determinedMax"},jM={min:"_dataMin",max:"_dataMax"};function zM(t,e,n){var r=t.rawExtentInfo;return r||(r=new FM(t,e,n),t.rawExtentInfo=r,r)}function VM(t,e){return null==e?null:ct(e)?NaN:t.parse(e)}function HM(t,e){var n=t.type,r=zM(t,e,t.getExtent()).calculate();t.setBlank(r.isBlank);var i=r.min,o=r.max,a=e.ecModel;if(a&&"time"===n){var s=sM("bar",a),l=!1;if(H(s,(function(t){l=l||t.getBaseAxis()===e.axis})),l){var u=uM(s),c=WM(i,o,e,u);i=c.min,o=c.max}}return{extent:[i,o],fixMin:r.minFixed,fixMax:r.maxFixed}}function WM(t,e,n,r){var i=n.axis.getExtent(),o=i[1]-i[0],a=dM(r,n.axis);if(void 0===a)return{min:t,max:e};var s=1/0;H(a,(function(t){s=Math.min(t.offset,s)}));var l=-1/0;H(a,(function(t){l=Math.max(t.offset+t.width,l)})),s=Math.abs(s),l=Math.abs(l);var u=s+l,c=e-t,d=c/(1-(s+l)/o)-c;return{min:t-=d*(s/u),max:e+=d*(l/u)}}function GM(t,e){var n=e,r=HM(t,n),i=r.extent,o=n.get("splitNumber");t instanceof LM&&(t.base=n.get("logBase"));var a=t.type,s=n.get("interval"),l="interval"===a||"time"===a;t.setExtent(i[0],i[1]),t.calcNiceExtent({splitNumber:o,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function YM(t,e){if(e=e||t.get("type"))switch(e){case"category":return new KS({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new vM({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(RS.getClass(e)||QS)}}function UM(t){var e=t.scale.getExtent(),n=e[0],r=e[1];return!(n>0&&r>0||n<0&&r<0)}function ZM(t){var e,n,r=t.getLabelModel().get("formatter"),i="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?(n=r,function(e,r){return t.scale.getFormattedLabel(e,r,n)}):tt(r)?function(e){return function(n){var r=t.scale.getLabel(n);return e.replace("{value}",null!=r?r:"")}}(r):Q(r)?(e=r,function(n,r){return null!=i&&(r=n.value-i),e(XM(t,n),r,null!=n.level?{level:n.level}:null)}):function(e){return t.scale.getLabel(e)}}function XM(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function qM(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var r,i,o=n.getExtent();i=n instanceof KS?n.count():(r=n.getTicks()).length;var a,s=t.getLabelModel(),l=ZM(t),u=1;i>40&&(u=Math.ceil(i/40));for(var c=0;c<i;c+=u){var d=l(r?r[c]:{value:o[0]+c},c),h=KM(s.getTextRect(d),s.get("rotate")||0);a?a.union(h):a=h}return a}}function KM(t,e){var n=e*Math.PI/180,r=t.width,i=t.height,o=r*Math.abs(Math.cos(n))+Math.abs(i*Math.sin(n)),a=r*Math.abs(Math.sin(n))+Math.abs(i*Math.cos(n));return new nn(t.x,t.y,o,a)}function JM(t){var e=t.get("interval");return null==e?"auto":e}function QM(t){return"category"===t.type&&0===JM(t.getLabelModel())}function tI(t,e){var n={};return H(t.mapDimensionsAll(e),(function(e){n[PS(t,e)]=!0})),Z(n)}function eI(t,e,n){e&&H(tI(e,n),(function(n){var r=e.getApproximateExtent(n);r[0]<t[0]&&(t[0]=r[0]),r[1]>t[1]&&(t[1]=r[1])}))}var nI=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}();function rI(t){return ES(null,t)}var iI={isDimensionStacked:OS,enableDataStack:TS,getStackedDimension:PS};function oI(t,e){var n=e;e instanceof Xf||(n=new Xf(e));var r=YM(n);return r.setExtent(t[0],t[1]),GM(r,n),r}function aI(t){z(t,nI)}function sI(t,e){return Df(t,null,null,"normal"!==(e=e||{}).state)}var lI=Object.freeze({__proto__:null,createList:rI,getLayoutRect:dg,dataStack:iI,createScale:oI,mixinAxisModelCommonMethods:aI,getECData:Qu,createTextStyle:sI,createDimensions:bS,createSymbol:lx,enableHoverEmphasis:Qc}),uI=1e-8;function cI(t,e){return Math.abs(t-e)<uI}function dI(t,e,n){var r=0,i=t[0];if(!i)return!1;for(var o=1;o<t.length;o++){var a=t[o];r+=iu(i[0],i[1],a[0],a[1],e,n),i=a}var s=t[0];return cI(i[0],s[0])&&cI(i[1],s[1])||(r+=iu(i[0],i[1],s[0],s[1],e,n)),0!==r}var hI=[];function fI(t,e){for(var n=0;n<t.length;n++)ee(t[n],t[n],e)}function pI(t,e,n,r){for(var i=0;i<t.length;i++){var o=t[i];r&&(o=r.project(o)),o&&isFinite(o[0])&&isFinite(o[1])&&(ne(e,e,o),re(n,n,o))}}function gI(t){for(var e=0,n=0,r=0,i=t.length,o=t[i-1][0],a=t[i-1][1],s=0;s<i;s++){var l=t[s][0],u=t[s][1],c=o*u-l*a;e+=c,n+=(o+l)*c,r+=(a+u)*c,o=l,a=u}return e?[n/e/3,r/e/3,e]:[t[0][0]||0,t[0][1]||0]}var yI=function(){function t(t){this.name=t}return t.prototype.setCenter=function(t){this._center=t},t.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this.calcCenter()),t},t}(),mI=function(){function t(t,e){this.type="polygon",this.exterior=t,this.interiors=e}return t}(),vI=function(){function t(t){this.type="linestring",this.points=t}return t}(),bI=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.type="geoJSON",i.geometries=n,i._center=r&&[r[0],r[1]],i}return i(e,t),e.prototype.calcCenter=function(){for(var t,e=this.geometries,n=0,r=0;r<e.length;r++){var i=e[r],o=i.exterior,a=o&&o.length;a>n&&(t=i,n=a)}if(t)return gI(t.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},e.prototype.getBoundingRect=function(t){var e=this._rect;if(e&&!t)return e;var n=[1/0,1/0],r=[-1/0,-1/0];return H(this.geometries,(function(e){"polygon"===e.type?pI(e.exterior,n,r,t):H(e.points,(function(e){pI(e,n,r,t)}))})),isFinite(n[0])&&isFinite(n[1])&&isFinite(r[0])&&isFinite(r[1])||(n[0]=n[1]=r[0]=r[1]=0),e=new nn(n[0],n[1],r[0]-n[0],r[1]-n[1]),t||(this._rect=e),e},e.prototype.contain=function(t){var e=this.getBoundingRect(),n=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var r=0,i=n.length;r<i;r++){var o=n[r];if("polygon"===o.type){var a=o.exterior,s=o.interiors;if(dI(a,t[0],t[1])){for(var l=0;l<(s?s.length:0);l++)if(dI(s[l],t[0],t[1]))continue t;return!0}}}return!1},e.prototype.transformTo=function(t,e,n,r){var i=this.getBoundingRect(),o=i.width/i.height;n?r||(r=n/o):n=o*r;for(var a=new nn(t,e,n,r),s=i.calculateTransform(a),l=this.geometries,u=0;u<l.length;u++){var c=l[u];"polygon"===c.type?(fI(c.exterior,s),H(c.interiors,(function(t){fI(t,s)}))):H(c.points,(function(t){fI(t,s)}))}(i=this._rect).copy(a),this._center=[i.x+i.width/2,i.y+i.height/2]},e.prototype.cloneShallow=function(t){null==t&&(t=this.name);var n=new e(t,this.geometries,this._center);return n._rect=this._rect,n.transformTo=null,n},e}(yI),xI=function(t){function e(e,n){var r=t.call(this,e)||this;return r.type="geoSVG",r._elOnlyForCalculate=n,r}return i(e,t),e.prototype.calcCenter=function(){for(var t=this._elOnlyForCalculate,e=t.getBoundingRect(),n=[e.x+e.width/2,e.y+e.height/2],r=Fe(hI),i=t;i&&!i.isGeoSVGGraphicRoot;)je(r,i.getLocalTransform(),r),i=i.parent;return We(r,r),ee(n,n,r),n},e}(yI);function _I(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;return null==n&&(n=1024),H(e.features,(function(t){var e=t.geometry,r=e.encodeOffsets,i=e.coordinates;if(r)switch(e.type){case"LineString":e.coordinates=SI(i,r,n);break;case"Polygon":case"MultiLineString":wI(i,r,n);break;case"MultiPolygon":H(i,(function(t,e){return wI(t,r[e],n)}))}})),e.UTF8Encoding=!1,e}function wI(t,e,n){for(var r=0;r<t.length;r++)t[r]=SI(t[r],e[r],n)}function SI(t,e,n){for(var r=[],i=e[0],o=e[1],a=0;a<t.length;a+=2){var s=t.charCodeAt(a)-64,l=t.charCodeAt(a+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),i=s+=i,o=l+=o,r.push([s/n,l/n])}return r}function MI(t,e){return W(Y((t=_I(t)).features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,r=t.geometry,i=[];switch(r.type){case"Polygon":var o=r.coordinates;i.push(new mI(o[0],o.slice(1)));break;case"MultiPolygon":H(r.coordinates,(function(t){t[0]&&i.push(new mI(t[0],t.slice(1)))}));break;case"LineString":i.push(new vI([r.coordinates]));break;case"MultiLineString":i.push(new vI(r.coordinates))}var a=new bI(n[e||"name"],i,n.cp);return a.properties=n,a}))}var II=Object.freeze({__proto__:null,linearMap:ia,round:aa,asc:sa,getPrecision:la,getPrecisionSafe:ua,getPixelPrecision:ca,getPercentWithPrecision:da,MAX_SAFE_INTEGER:pa,remRadian:ga,isRadianAroundZero:ya,parseDate:va,quantity:ba,quantityExponent:xa,nice:_a,quantile:wa,reformIntervals:Sa,isNumeric:Ia,numericToNumber:Ma}),AI=Object.freeze({__proto__:null,parse:va,format:Dp}),DI=Object.freeze({__proto__:null,extendShape:Gh,extendPath:Uh,makePath:qh,makeImage:Kh,mergePath:Qh,resizePath:tf,createIcon:ff,updateProps:Eh,initProps:Lh,getTransform:of,clipPointsByRect:df,clipRectByRect:hf,registerShape:Zh,getShapeClass:Xh,Group:Bo,Image:Du,Text:Bu,Circle:Rd,Ellipse:Bd,Sector:nh,Ring:ih,Polygon:lh,Polyline:ch,Rect:Lu,Line:fh,BezierCurve:mh,Arc:bh,IncrementalDisplayable:Oh,CompoundPath:xh,LinearGradient:wh,RadialGradient:Sh,BoundingRect:nn}),TI=Object.freeze({__proto__:null,addCommas:Yp,toCamelCase:Up,normalizeCssArray:Zp,encodeHTML:xe,formatTpl:Jp,getTooltipMarker:tg,formatTime:eg,capitalFirst:ng,truncateText:Zs,getTextRect:Gp}),CI=Object.freeze({__proto__:null,map:W,each:H,indexOf:B,inherits:j,reduce:G,filter:Y,bind:q,curry:K,isArray:J,isString:tt,isObject:rt,isFunction:Q,extend:N,defaults:R,clone:$,merge:E}),OI=fs();function PI(t,e){var n=W(e,(function(e){return t.scale.parse(e)}));return"time"===t.type&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function kI(t){var e=t.getLabelModel().get("customValues");if(e){var n=ZM(t);return{labels:PI(t,e).map((function(e){var r={value:e};return{formattedLabel:n(r),rawLabel:t.scale.getLabel(r),tickValue:e}}))}}return"category"===t.type?EI(t):RI(t)}function $I(t,e){var n=t.getTickModel().get("customValues");return n?{ticks:PI(t,n)}:"category"===t.type?NI(t,e):{ticks:W(t.scale.getTicks(),(function(t){return t.value}))}}function EI(t){var e=t.getLabelModel(),n=LI(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function LI(t,e){var n,r=FI(t,"labels"),i=JM(e),o=BI(r,i);return o||jI(r,i,{labels:Q(i)?GI(t,i):WI(t,n="auto"===i?zI(t):i),labelCategoryInterval:n})}function NI(t,e){var n,r,i=FI(t,"ticks"),o=JM(e),a=BI(i,o);if(a)return a;
vendor: 8,752 bytes, line 33
33if(e.get("show")&&!t.scale.isBlank()||(n=[]),Q(o))n=GI(t,o,!0);else if("auto"===o){var s=LI(t,t.getLabelModel());r=s.labelCategoryInterval,n=W(s.labels,(function(t){return t.tickValue}))}else n=WI(t,r=o,!0);return jI(i,o,{ticks:n,tickCategoryInterval:r})}function RI(t){var e=t.scale.getTicks(),n=ZM(t);return{labels:W(e,(function(e,r){return{level:e.level,formattedLabel:n(e,r),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}function FI(t,e){return OI(t)[e]||(OI(t)[e]=[])}function BI(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function jI(t,e,n){return t.push({key:e,value:n}),n}function zI(t){var e=OI(t).autoInterval;return null!=e?e:OI(t).autoInterval=t.calculateCategoryInterval()}function VI(t){var e=HI(t),n=ZM(t),r=(e.axisRotate-e.labelRotate)/180*Math.PI,i=t.scale,o=i.getExtent(),a=i.count();if(o[1]-o[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),c=Math.abs(u*Math.cos(r)),d=Math.abs(u*Math.sin(r)),h=0,f=0;l<=o[1];l+=s){var p=0,g=0,y=xo(n({value:l}),e.font,"center","top");p=1.3*y.width,g=1.3*y.height,h=Math.max(h,p,7),f=Math.max(f,g,7)}var m=h/c,v=f/d;isNaN(m)&&(m=1/0),isNaN(v)&&(v=1/0);var b=Math.max(0,Math.floor(Math.min(m,v))),x=OI(t.model),_=t.getExtent(),w=x.lastAutoInterval,S=x.lastTickCount;return null!=w&&null!=S&&Math.abs(w-b)<=1&&Math.abs(S-a)<=1&&w>b&&x.axisExtent0===_[0]&&x.axisExtent1===_[1]?b=w:(x.lastTickCount=a,x.lastAutoInterval=b,x.axisExtent0=_[0],x.axisExtent1=_[1]),b}function HI(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function WI(t,e,n){var r=ZM(t),i=t.scale,o=i.getExtent(),a=t.getLabelModel(),s=[],l=Math.max((e||0)+1,1),u=o[0],c=i.count();0!==u&&l>1&&c/l>2&&(u=Math.round(Math.ceil(u/l)*l));var d=QM(t),h=a.get("showMinLabel")||d,f=a.get("showMaxLabel")||d;h&&u!==o[0]&&g(o[0]);for(var p=u;p<=o[1];p+=l)g(p);function g(t){var e={value:t};s.push(n?t:{formattedLabel:r(e),rawLabel:i.getLabel(e),tickValue:t})}return f&&p-l!==o[1]&&g(o[1]),s}function GI(t,e,n){var r=t.scale,i=ZM(t),o=[];return H(r.getTicks(),(function(t){var a=r.getLabel(t),s=t.value;e(t.value,a)&&o.push(n?s:{formattedLabel:i(t),rawLabel:a,tickValue:s})})),o}var YI=[0,1],UI=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),r=Math.max(e[0],e[1]);return t>=n&&t<=r},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return ca(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,r=this.scale;return t=r.normalize(t),this.onBand&&"ordinal"===r.type&&ZI(n=n.slice(),r.count()),ia(t,YI,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&ZI(n=n.slice(),r.count());var i=ia(t,n,YI,e);return this.scale.scale(i)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=W($I(this,e).ticks,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this);return XI(this,n,e.get("alignWithLabel"),t.clamp),n},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick").get("splitNumber");return t>0&&t<100||(t=5),W(this.scale.getMinorTicks(t),(function(t){return W(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this)},t.prototype.getViewLabels=function(){return kI(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var r=Math.abs(t[1]-t[0]);return Math.abs(r)/n},t.prototype.calculateCategoryInterval=function(){return VI(this)},t}();function ZI(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}function XI(t,e,n,r){var i=e.length;if(t.onBand&&!n&&i){var o,a,s=t.getExtent();if(1===i)e[0].coord=s[0],o=e[1]={coord:s[1]};else{var l=e[i-1].tickValue-e[0].tickValue,u=(e[i-1].coord-e[0].coord)/l;H(e,(function(t){t.coord-=u/2})),a=1+t.scale.getExtent()[1]-e[i-1].tickValue,o={coord:e[i-1].coord+u*a},e.push(o)}var c=s[0]>s[1];d(e[0].coord,s[0])&&(r?e[0].coord=s[0]:e.shift()),r&&d(s[0],e[0].coord)&&e.unshift({coord:s[0]}),d(s[1],o.coord)&&(r?o.coord=s[1]:e.pop()),r&&d(o.coord,s[1])&&e.push({coord:s[1]})}function d(t,e){return t=aa(t),e=aa(e),c?t>e:t<e}}function qI(t){var e=bg.extend(t);return bg.registerClass(e),e}function KI(t){var e=Wv.extend(t);return Wv.registerClass(e),e}function JI(t){var e=Lv.extend(t);return Lv.registerClass(e),e}function QI(t){var e=Zv.extend(t);return Zv.registerClass(e),e}var tA=2*Math.PI,eA=ql.CMD,nA=["top","right","bottom","left"];function rA(t,e,n,r,i){var o=n.width,a=n.height;switch(t){case"top":r.set(n.x+o/2,n.y-e),i.set(0,-1);break;case"bottom":r.set(n.x+o/2,n.y+a+e),i.set(0,1);break;case"left":r.set(n.x-e,n.y+a/2),i.set(-1,0);break;case"right":r.set(n.x+o+e,n.y+a/2),i.set(1,0)}}function iA(t,e,n,r,i,o,a,s,l){a-=t,s-=e;var u=Math.sqrt(a*a+s*s),c=(a/=u)*n+t,d=(s/=u)*n+e;if(Math.abs(r-i)%tA<1e-4)return l[0]=c,l[1]=d,u-n;if(o){var h=r;r=eu(i),i=eu(h)}else r=eu(r),i=eu(i);r>i&&(i+=tA);var f=Math.atan2(s,a);if(f<0&&(f+=tA),f>=r&&f<=i||f+tA>=r&&f+tA<=i)return l[0]=c,l[1]=d,u-n;var p=n*Math.cos(r)+t,g=n*Math.sin(r)+e,y=n*Math.cos(i)+t,m=n*Math.sin(i)+e,v=(p-a)*(p-a)+(g-s)*(g-s),b=(y-a)*(y-a)+(m-s)*(m-s);return v<b?(l[0]=p,l[1]=g,Math.sqrt(v)):(l[0]=y,l[1]=m,Math.sqrt(b))}function oA(t,e,n,r,i,o,a,s){var l=i-t,u=o-e,c=n-t,d=r-e,h=Math.sqrt(c*c+d*d),f=(l*(c/=h)+u*(d/=h))/h;s&&(f=Math.min(Math.max(f,0),1)),f*=h;var p=a[0]=t+f*c,g=a[1]=e+f*d;return Math.sqrt((p-i)*(p-i)+(g-o)*(g-o))}function aA(t,e,n,r,i,o,a){n<0&&(t+=n,n=-n),r<0&&(e+=r,r=-r);var s=t+n,l=e+r,u=a[0]=Math.min(Math.max(i,t),s),c=a[1]=Math.min(Math.max(o,e),l);return Math.sqrt((u-i)*(u-i)+(c-o)*(c-o))}var sA=[];function lA(t,e,n){var r=aA(e.x,e.y,e.width,e.height,t.x,t.y,sA);return n.set(sA[0],sA[1]),r}function uA(t,e,n){for(var r,i,o=0,a=0,s=0,l=0,u=1/0,c=e.data,d=t.x,h=t.y,f=0;f<c.length;){var p=c[f++];1===f&&(s=o=c[f],l=a=c[f+1]);var g=u;switch(p){case eA.M:o=s=c[f++],a=l=c[f++];break;case eA.L:g=oA(o,a,c[f],c[f+1],d,h,sA,!0),o=c[f++],a=c[f++];break;case eA.C:g=qn(o,a,c[f++],c[f++],c[f++],c[f++],c[f],c[f+1],d,h,sA),o=c[f++],a=c[f++];break;case eA.Q:g=rr(o,a,c[f++],c[f++],c[f],c[f+1],d,h,sA),o=c[f++],a=c[f++];break;case eA.A:var y=c[f++],m=c[f++],v=c[f++],b=c[f++],x=c[f++],_=c[f++];f+=1;var w=!!(1-c[f++]);r=Math.cos(x)*v+y,i=Math.sin(x)*b+m,f<=1&&(s=r,l=i),g=iA(y,m,b,x,x+_,w,(d-y)*b/v+y,h,sA),o=Math.cos(x+_)*v+y,a=Math.sin(x+_)*b+m;break;case eA.R:g=aA(s=o=c[f++],l=a=c[f++],c[f++],c[f++],d,h,sA);break;case eA.Z:g=oA(o,a,s,l,d,h,sA,!0),o=s,a=l}g<u&&(u=g,n.set(sA[0],sA[1]))}return u}var cA=new Ue,dA=new Ue,hA=new Ue,fA=new Ue,pA=new Ue;function gA(t,e){if(t){var n=t.getTextGuideLine(),r=t.getTextContent();if(r&&n){var i=t.textGuideLineConfig||{},o=[[0,0],[0,0],[0,0]],a=i.candidates||nA,s=r.getBoundingRect().clone();s.applyTransform(r.getComputedTransform());var l=1/0,u=i.anchor,c=t.getComputedTransform(),d=c&&We([],c),h=e.get("length2")||0;u&&hA.copy(u);for(var f=0;f<a.length;f++){rA(a[f],0,s,cA,fA),Ue.scaleAndAdd(dA,cA,fA,h),dA.transform(d);var p=t.getBoundingRect(),g=u?u.distance(dA):t instanceof _u?uA(dA,t.path,hA):lA(dA,p,hA);g<l&&(l=g,dA.transform(c),hA.transform(c),hA.toArray(o[0]),dA.toArray(o[1]),cA.toArray(o[2]))}vA(o,e.get("minTurnAngle")),n.setShape({points:o})}}}var yA=[],mA=new Ue;function vA(t,e){if(e<=180&&e>0){e=e/180*Math.PI,cA.fromArray(t[0]),dA.fromArray(t[1]),hA.fromArray(t[2]),Ue.sub(fA,cA,dA),Ue.sub(pA,hA,dA);var n=fA.len(),r=pA.len();if(!(n<.001||r<.001)){fA.scale(1/n),pA.scale(1/r);var i=fA.dot(pA);if(Math.cos(e)<i){var o=oA(dA.x,dA.y,hA.x,hA.y,cA.x,cA.y,yA,!1);mA.fromArray(yA),mA.scaleAndAdd(pA,o/Math.tan(Math.PI-e));var a=hA.x!==dA.x?(mA.x-dA.x)/(hA.x-dA.x):(mA.y-dA.y)/(hA.y-dA.y);if(isNaN(a))return;a<0?Ue.copy(mA,dA):a>1&&Ue.copy(mA,hA),mA.toArray(t[1])}}}}function bA(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,cA.fromArray(t[0]),dA.fromArray(t[1]),hA.fromArray(t[2]),Ue.sub(fA,dA,cA),Ue.sub(pA,hA,dA);var r=fA.len(),i=pA.len();if(!(r<.001||i<.001)&&(fA.scale(1/r),pA.scale(1/i),fA.dot(e)<Math.cos(n))){var o=oA(dA.x,dA.y,hA.x,hA.y,cA.x,cA.y,yA,!1);mA.fromArray(yA);
vendor: 24,522 bytes, line 33
33var a=Math.PI/2,s=a+Math.acos(pA.dot(e))-n;if(s>=a)Ue.copy(mA,hA);else{mA.scaleAndAdd(pA,o/Math.tan(Math.PI/2-s));var l=hA.x!==dA.x?(mA.x-dA.x)/(hA.x-dA.x):(mA.y-dA.y)/(hA.y-dA.y);if(isNaN(l))return;l<0?Ue.copy(mA,dA):l>1&&Ue.copy(mA,hA)}mA.toArray(t[1])}}}function xA(t,e,n,r){var i="normal"===n,o=i?t:t.ensureState(n);o.ignore=e;var a=r.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=r.getModel("lineStyle").getLineStyle();i?t.useStyle(s):o.style=s}function _A(t,e){var n=e.smooth,r=e.points;if(r)if(t.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var i=qt(r[0],r[1]),o=qt(r[1],r[2]);if(!i||!o)return t.lineTo(r[1][0],r[1][1]),void t.lineTo(r[2][0],r[2][1]);var a=Math.min(i,o)*n,s=te([],r[1],r[0],a/i),l=te([],r[1],r[2],a/o),u=te([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],r[2][0],r[2][1])}else for(var c=1;c<r.length;c++)t.lineTo(r[c][0],r[c][1])}function wA(t,e,n){var r=t.getTextGuideLine(),i=t.getTextContent();if(i){for(var o=e.normal,a=o.get("show"),s=i.ignore,l=0;l<uc.length;l++){var u=uc[l],c=e[u],d="normal"===u;if(c){var h=c.get("show");if((d?s:ht(i.states[u]&&i.states[u].ignore,s))||!ht(h,a)){var f=d?r:r&&r.states[u];f&&(f.ignore=!0),r&&xA(r,!0,u,c);continue}r||(r=new ch,t.setTextGuideLine(r),d||!s&&a||xA(r,!0,"normal",e.normal),t.stateProxy&&(r.stateProxy=t.stateProxy)),xA(r,!1,u,c)}}if(r){R(r.style,n),r.style.fill=null;var p=o.get("showAbove");(t.textGuideLineConfig=t.textGuideLineConfig||{}).showAbove=p||!1,r.buildPath=_A}}else r&&t.removeTextGuideLine()}function SA(t,e){e=e||"labelLine";for(var n={normal:t.getModel(e)},r=0;r<lc.length;r++){var i=lc[r];n[i]=t.getModel([i,e])}return n}function MA(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];if(!r.defaultAttr.ignore){var i=r.label,o=i.getComputedTransform(),a=i.getBoundingRect(),s=!o||o[1]<1e-5&&o[2]<1e-5,l=i.style.margin||0,u=a.clone();u.applyTransform(o),u.x-=l/2,u.y-=l/2,u.width+=l,u.height+=l;var c=s?new Th(a,o):null;e.push({label:i,labelLine:r.labelLine,rect:u,localRect:a,obb:c,priority:r.priority,defaultAttr:r.defaultAttr,layoutOption:r.computedLayoutOption,axisAligned:s,transform:o})}}return e}function IA(t,e,n,r,i,o){var a=t.length;if(!(a<2)){t.sort((function(t,n){return t.rect[e]-n.rect[e]}));for(var s,l=0,u=!1,c=0,d=0;d<a;d++){var h=t[d],f=h.rect;(s=f[e]-l)<0&&(f[e]-=s,h.label[e]-=s,u=!0),c+=Math.max(-s,0),l=f[e]+f[n]}c>0&&o&&x(-c/a,0,a);var p,g,y=t[0],m=t[a-1];return v(),p<0&&_(-p,.8),g<0&&_(g,.8),v(),b(p,g,1),b(g,p,-1),v(),p<0&&w(-p),g<0&&w(g),u}function v(){p=y.rect[e]-r,g=i-m.rect[e]-m.rect[n]}function b(t,e,n){if(t<0){var r=Math.min(e,-t);if(r>0){x(r*n,0,a);var i=r+t;i<0&&_(-i*n,1)}else _(-t*n,1)}}function x(n,r,i){0!==n&&(u=!0);for(var o=r;o<i;o++){var a=t[o];a.rect[e]+=n,a.label[e]+=n}}function _(r,i){for(var o=[],s=0,l=1;l<a;l++){var u=t[l-1].rect,c=Math.max(t[l].rect[e]-u[e]-u[n],0);o.push(c),s+=c}if(s){var d=Math.min(Math.abs(r)/s,i);if(r>0)for(l=0;l<a-1;l++)x(o[l]*d,0,l+1);else for(l=a-1;l>0;l--)x(-o[l-1]*d,l,a)}}function w(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),r=0;r<a-1;r++)if(e>0?x(n,0,r+1):x(-n,a-r-1,a),(t-=n)<=0)return}}function AA(t,e,n,r){return IA(t,"x","width",e,n,r)}function DA(t,e,n,r){return IA(t,"y","height",e,n,r)}function TA(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new nn(0,0,0,0);function r(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var i=0;i<t.length;i++){var o=t[i],a=o.axisAligned,s=o.localRect,l=o.transform,u=o.label,c=o.labelLine;n.copy(o.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var d=o.obb,h=!1,f=0;f<e.length;f++){var p=e[f];if(n.intersect(p.rect)){if(a&&p.axisAligned){h=!0;break}if(p.obb||(p.obb=new Th(p.localRect,p.transform)),d||(d=new Th(s,l)),d.intersect(p.obb)){h=!0;break}}}h?(r(u),c&&r(c)):(u.attr("ignore",o.defaultAttr.ignore),c&&c.attr("ignore",o.defaultAttr.labelGuideIgnore),e.push(o))}}function CA(t){if(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].slice());return e}}function OA(t,e){var n=t.label,r=e&&e.getTextGuideLine();return{dataIndex:t.dataIndex,dataType:t.dataType,seriesIndex:t.seriesModel.seriesIndex,text:t.label.style.text,rect:t.hostRect,labelRect:t.rect,align:n.style.align,verticalAlign:n.style.verticalAlign,labelLinePoints:CA(r&&r.shape.points)}}var PA=["align","verticalAlign","width","height","fontSize"],kA=new po,$A=fs(),EA=fs();function LA(t,e,n){for(var r=0;r<n.length;r++){var i=n[r];null!=e[i]&&(t[i]=e[i])}}var NA=["x","y","rotation"],RA=function(){function t(){this._labelList=[],this._chartViewList=[]}return t.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},t.prototype._addLabel=function(t,e,n,r,i){var o=r.style,a=r.__hostTarget.textConfig||{},s=r.getComputedTransform(),l=r.getBoundingRect().plain();nn.applyTransform(l,l,s),s?kA.setLocalTransform(s):(kA.x=kA.y=kA.rotation=kA.originX=kA.originY=0,kA.scaleX=kA.scaleY=1),kA.rotation=eu(kA.rotation);var u,c=r.__hostTarget;if(c){u=c.getBoundingRect().plain();var d=c.getComputedTransform();nn.applyTransform(u,u,d)}var h=u&&c.getTextGuideLine();this._labelList.push({label:r,labelLine:h,seriesModel:n,dataIndex:t,dataType:e,layoutOption:i,computedLayoutOption:null,rect:l,hostRect:u,priority:u?u.width*u.height:0,defaultAttr:{ignore:r.ignore,labelGuideIgnore:h&&h.ignore,x:kA.x,y:kA.y,scaleX:kA.scaleX,scaleY:kA.scaleY,rotation:kA.rotation,style:{x:o.x,y:o.y,align:o.align,verticalAlign:o.verticalAlign,width:o.width,height:o.height,fontSize:o.fontSize},cursor:r.cursor,attachedPos:a.position,attachedRot:a.rotation}})},t.prototype.addLabelsOfSeries=function(t){var e=this;this._chartViewList.push(t);var n=t.__model,r=n.get("labelLayout");(Q(r)||Z(r).length)&&t.group.traverse((function(t){if(t.ignore)return!0;var i=t.getTextContent(),o=Qu(t);i&&!i.disableLabelLayout&&e._addLabel(o.dataIndex,o.dataType,n,i,r)}))},t.prototype.updateLayoutConfig=function(t){var e=t.getWidth(),n=t.getHeight();function r(t,e){return function(){gA(t,e)}}for(var i=0;i<this._labelList.length;i++){var o=this._labelList[i],a=o.label,s=a.__hostTarget,l=o.defaultAttr,u=void 0;u=(u=Q(o.layoutOption)?o.layoutOption(OA(o,s)):o.layoutOption)||{},o.computedLayoutOption=u;var c=Math.PI/180;s&&s.setTextConfig({local:!1,position:null!=u.x||null!=u.y?null:l.attachedPos,rotation:null!=u.rotate?u.rotate*c:l.attachedRot,offset:[u.dx||0,u.dy||0]});var d=!1;if(null!=u.x?(a.x=oa(u.x,e),a.setStyle("x",0),d=!0):(a.x=l.x,a.setStyle("x",l.style.x)),null!=u.y?(a.y=oa(u.y,n),a.setStyle("y",0),d=!0):(a.y=l.y,a.setStyle("y",l.style.y)),u.labelLinePoints){var h=s.getTextGuideLine();h&&(h.setShape({points:u.labelLinePoints}),d=!1)}$A(a).needsUpdateLabelLine=d,a.rotation=null!=u.rotate?u.rotate*c:l.rotation,a.scaleX=l.scaleX,a.scaleY=l.scaleY;for(var f=0;f<PA.length;f++){var p=PA[f];a.setStyle(p,null!=u[p]?u[p]:l.style[p])}if(u.draggable){if(a.draggable=!0,a.cursor="move",s){var g=o.seriesModel;null!=o.dataIndex&&(g=o.seriesModel.getData(o.dataType).getItemModel(o.dataIndex)),a.on("drag",r(s,g.getModel("labelLine")))}}else a.off("drag"),a.cursor=l.cursor}},t.prototype.layout=function(t){var e=t.getWidth(),n=t.getHeight(),r=MA(this._labelList),i=Y(r,(function(t){return"shiftX"===t.layoutOption.moveOverlap})),o=Y(r,(function(t){return"shiftY"===t.layoutOption.moveOverlap}));AA(i,0,e),DA(o,0,n),TA(Y(r,(function(t){return t.layoutOption.hideOverlap})))},t.prototype.processLabelsOverall=function(){var t=this;H(this._chartViewList,(function(e){var n=e.__model,r=e.ignoreLabelLineUpdate,i=n.isAnimationEnabled();e.group.traverse((function(e){if(e.ignore&&!e.forceLabelAnimation)return!0;var o=!r,a=e.getTextContent();!o&&a&&(o=$A(a).needsUpdateLabelLine),o&&t._updateLabelLine(e,n),i&&t._animateLabels(e,n)}))}))},t.prototype._updateLabelLine=function(t,e){var n=t.getTextContent(),r=Qu(t),i=r.dataIndex;if(n&&null!=i){var o=e.getData(r.dataType),a=o.getItemModel(i),s={},l=o.getItemVisual(i,"style");if(l){var u=o.getVisual("drawType");s.stroke=l[u]}var c=a.getModel("labelLine");wA(t,SA(a),s),gA(t,c)}},t.prototype._animateLabels=function(t,e){var n=t.getTextContent(),r=t.getTextGuideLine();if(n&&(t.forceLabelAnimation||!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!Nh(t))){var i=(f=$A(n)).oldLayout,o=Qu(t),a=o.dataIndex,s={x:n.x,y:n.y,rotation:n.rotation},l=e.getData(o.dataType);if(i){n.attr(i);var u=t.prevStates;u&&(B(u,"select")>=0&&n.attr(f.oldLayoutSelect),B(u,"emphasis")>=0&&n.attr(f.oldLayoutEmphasis)),Eh(n,s,e,a)}else if(n.attr(s),!Nf(n).valueAnimation){var c=ht(n.style.opacity,1);n.style.opacity=0,Lh(n,{style:{opacity:c}},e,a)}if(f.oldLayout=s,n.states.select){var d=f.oldLayoutSelect={};LA(d,s,NA),LA(d,n.states.select,NA)}if(n.states.emphasis){var h=f.oldLayoutEmphasis={};LA(h,s,NA),LA(h,n.states.emphasis,NA)}Ff(n,a,l,e,e)}if(r&&!r.ignore&&!r.invisible){i=(f=EA(r)).oldLayout;var f,p={points:r.shape.points};i?(r.attr({shape:i}),Eh(r,{shape:p},e)):(r.setShape(p),r.style.strokePercent=0,Lh(r,{style:{strokePercent:1}},e)),f.oldLayout=p}},t}(),FA=fs();function BA(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){var r=FA(e).labelManager;r||(r=FA(e).labelManager=new RA),r.clearLabels()})),t.registerUpdateLifecycle("series:layoutlabels",(function(t,e,n){var r=FA(e).labelManager;n.updatedSeries.forEach((function(t){r.addLabelsOfSeries(e.getViewOfSeriesModel(t))})),r.updateLayoutConfig(e),r.layout(e),r.processLabelsOverall()}))}var jA=Math.sin,zA=Math.cos,VA=Math.PI,HA=2*Math.PI,WA=180/VA,GA=function(){function t(){}return t.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,n,r,i,o){this._add("C",t,e,n,r,i,o)},t.prototype.quadraticCurveTo=function(t,e,n,r){this._add("Q",t,e,n,r)},t.prototype.arc=function(t,e,n,r,i,o){this.ellipse(t,e,n,n,0,r,i,o)},t.prototype.ellipse=function(t,e,n,r,i,o,a,s){var l=a-o,u=!s,c=Math.abs(l),d=Wr(c-HA)||(u?l>=HA:-l>=HA),h=l>0?l%HA:l%HA+HA,f=!1;f=!!d||!Wr(c)&&h>=VA==!!u;var p=t+n*zA(o),g=e+r*jA(o);this._start&&this._add("M",p,g);var y=Math.round(i*WA);if(d){var m=1/this._p,v=(u?1:-1)*(HA-m);this._add("A",n,r,y,1,+u,t+n*zA(o+v),e+r*jA(o+v)),m>.01&&this._add("A",n,r,y,0,+u,p,g)}else{var b=t+n*zA(a),x=e+r*jA(a);this._add("A",n,r,y,+f,+u,b,x)}},t.prototype.rect=function(t,e,n,r){this._add("M",t,e),this._add("l",n,0),this._add("l",0,r),this._add("l",-n,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,r,i,o,a,s,l){for(var u=[],c=this._p,d=1;d<arguments.length;d++){var h=arguments[d];if(isNaN(h))return void(this._invalid=!0);u.push(Math.round(h*c)/c)}this._d.push(t+u.join(" ")),this._start="Z"===t},t.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},t.prototype.getStr=function(){return this._str},t}(),YA="none",UA=Math.round;function ZA(t){var e=t.fill;return null!=e&&e!==YA}function XA(t){var e=t.stroke;return null!=e&&e!==YA}var qA=["lineCap","miterLimit","lineJoin"],KA=W(qA,(function(t){return"stroke-"+t.toLowerCase()}));function JA(t,e,n,r){var i=null==e.opacity?1:e.opacity;if(n instanceof Du)t("opacity",i);else{if(ZA(e)){var o=Vr(e.fill);t("fill",o.color);var a=null!=e.fillOpacity?e.fillOpacity*o.opacity*i:o.opacity*i;(r||a<1)&&t("fill-opacity",a)}else t("fill",YA);if(XA(e)){var s=Vr(e.stroke);t("stroke",s.color);var l=e.strokeNoScale?n.getLineScale():1,u=l?(e.lineWidth||0)/l:0,c=null!=e.strokeOpacity?e.strokeOpacity*s.opacity*i:s.opacity*i,d=e.strokeFirst;if((r||1!==u)&&t("stroke-width",u),(r||d)&&t("paint-order",d?"stroke":"fill"),(r||c<1)&&t("stroke-opacity",c),e.lineDash){var h=bx(n),f=h[0],p=h[1];f&&(p=UA(p||0),t("stroke-dasharray",f.join(",")),(p||r)&&t("stroke-dashoffset",p))}else r&&t("stroke-dasharray",YA);for(var g=0;g<qA.length;g++){var y=qA[g];if(r||e[y]!==vu[y]){var m=e[y]||vu[y];m&&t(KA[g],m)}}}else r&&t("stroke",YA)}}var QA="http://www.w3.org/2000/svg",tD="http://www.w3.org/1999/xlink",eD="http://www.w3.org/2000/xmlns/",nD="http://www.w3.org/XML/1998/namespace",rD="ecmeta_";function iD(t){return document.createElementNS(QA,t)}function oD(t,e,n,r,i){return{tag:t,attrs:n||{},children:r,text:i,key:e}}function aD(t,e){var n=[];if(e)for(var r in e){var i=e[r],o=r;!1!==i&&(!0!==i&&null!=i&&(o+='="'+i+'"'),n.push(o))}return"<"+t+" "+n.join(" ")+">"}function sD(t){return"</"+t+">"}function lD(t,e){var n=(e=e||{}).newline?"\n":"";function r(t){var e=t.children,i=t.tag,o=t.attrs,a=t.text;return aD(i,o)+("style"!==i?xe(a):a||"")+(e?""+n+W(e,(function(t){return r(t)})).join(n)+n:"")+sD(i)}return r(t)}function uD(t,e,n){var r=(n=n||{}).newline?"\n":"",i=" {"+r,o=r+"}",a=W(Z(t),(function(e){return e+i+W(Z(t[e]),(function(n){return n+":"+t[e][n]+";"})).join(r)+o})).join(r),s=W(Z(e),(function(t){return"@keyframes "+t+i+W(Z(e[t]),(function(n){return n+i+W(Z(e[t][n]),(function(r){var i=e[t][n][r];return"d"===r&&(i='path("'+i+'")'),r+":"+i+";"})).join(r)+o})).join(r)+o})).join(r);return a||s?["<![CDATA[",a,s,"]]>"].join(r):""}function cD(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function dD(t,e,n,r){return oD("svg","root",{width:t,height:e,xmlns:QA,"xmlns:xlink":tD,version:"1.1",baseProfile:"full",viewBox:!!r&&"0 0 "+t+" "+e},n)}var hD=0;function fD(){return hD++}var pD={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},gD="transform-origin";function yD(t,e,n){var r=N({},t.shape);N(r,e),t.buildPath(n,r);var i=new GA;return i.reset(oi(t)),n.rebuildPath(i,1),i.generateStr(),i.getStr()}function mD(t,e){var n=e.originX,r=e.originY;(n||r)&&(t[gD]=n+"px "+r+"px")}var vD={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function bD(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function xD(t,e,n){var r,i,o=t.shape.paths,a={};if(H(o,(function(t){var e=cD(n.zrId);e.animation=!0,wD(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,l=Z(o),u=l.length;if(u){var c=o[i=l[u-1]];for(var d in c){var h=c[d];a[d]=a[d]||{d:""},a[d].d+=h.d||""}for(var f in s){var p=s[f].animation;p.indexOf(i)>=0&&(r=p)}}})),r){e.d=!1;var s=bD(a,n);return r.replace(i,s)}}function _D(t){return tt(t)?pD[t]?"cubic-bezier("+pD[t]+")":ar(t)?t:"":""}function wD(t,e,n,r){var i=t.animators,o=i.length,a=[];if(t instanceof xh){if(y=xD(t,e,n))a.push(y);else if(!o)return}else if(!o)return;for(var s={},l=0;l<o;l++){var u=i[l],c=[u.getMaxTime()/1e3+"s"],d=_D(u.getClip().easing),h=u.getDelay();d?c.push(d):c.push("linear"),h&&c.push(h/1e3+"s"),u.getLoop()&&c.push("infinite");var f=c.join(" ");s[f]=s[f]||[f,[]],s[f][1].push(u)}function p(i){var o,a=i[1],s=a.length,l={},u={},c={},d="animation-timing-function";function h(t,e,n){for(var r=t.getTracks(),i=t.getMaxTime(),o=0;o<r.length;o++){var a=r[o];if(a.needsAnimate()){var s=a.keyframes,l=a.propName;if(n&&(l=n(l)),l)for(var u=0;u<s.length;u++){var c=s[u],h=Math.round(c.time/i*100)+"%",f=_D(c.easing),p=c.rawValue;(tt(p)||nt(p))&&(e[h]=e[h]||{},e[h][l]=c.rawValue,f&&(e[h][d]=f))}}}}for(var f=0;f<s;f++)(S=(w=a[f]).targetName)?"shape"===S&&h(w,u):!r&&h(w,l);for(var p in l){var g={};yo(g,t),N(g,l[p]);var y=ai(g),m=l[p][d];c[p]=y?{transform:y}:{},mD(c[p],g),m&&(c[p][d]=m)}var v=!0;for(var p in u){c[p]=c[p]||{};var b=!o;m=u[p][d],b&&(o=new ql);var x=o.len();o.reset(),c[p].d=yD(t,u[p],o);var _=o.len();if(!b&&x!==_){v=!1;break}m&&(c[p][d]=m)}if(!v)for(var p in c)delete c[p].d;if(!r)for(f=0;f<s;f++){var w,S;"style"===(S=(w=a[f]).targetName)&&h(w,c,(function(t){return vD[t]}))}var M,I=Z(c),A=!0;for(f=1;f<I.length;f++){var D=I[f-1],T=I[f];if(c[D][gD]!==c[T][gD]){A=!1;break}M=c[D][gD]}if(A&&M){for(var p in c)c[p][gD]&&delete c[p][gD];e[gD]=M}if(Y(I,(function(t){return Z(c[t]).length>0})).length)return bD(c,n)+" "+i[0]+" both"}for(var g in s){var y;(y=p(s[g]))&&a.push(y)}if(a.length){var m=n.zrId+"-cls-"+fD();n.cssNodes["."+m]={animation:a.join(",")},e.class=m}}function SD(t,e,n){if(!t.ignore)if(t.isSilent())MD(u={"pointer-events":"none"},e,n,!0);else{var r=t.states.emphasis&&t.states.emphasis.style?t.states.emphasis.style:{},i=r.fill;if(!i){var o=t.style&&t.style.fill,a=t.states.select&&t.states.select.style&&t.states.select.style.fill,s=t.currentStates.indexOf("select")>=0&&a||o;s&&(i=Br(s))}var l=r.lineWidth;l&&(l/=!r.strokeNoScale&&t.transform?t.transform[0]:1);var u={cursor:"pointer"};i&&(u.fill=i),r.stroke&&(u.stroke=r.stroke),l&&(u["stroke-width"]=l),MD(u,e,n,!0)}}function MD(t,e,n,r){var i=JSON.stringify(t),o=n.cssStyleCache[i];o||(o=n.zrId+"-cls-"+fD(),n.cssStyleCache[i]=o,n.cssNodes["."+o+(r?":hover":"")]=t),e.class=e.class?e.class+" "+o:o}var ID=Math.round;function AD(t){return t&&tt(t.src)}function DD(t){return t&&Q(t.toDataURL)}function TD(t,e,n,r){JA((function(i,o){var a="fill"===i||"stroke"===i;a&&ri(o)?HD(e,t,i,r):a&&ti(o)?WD(n,t,i,r):t[i]=a&&"none"===o?"transparent":o}),e,n,!1),VD(n,t,r)}function CD(t,e){var n=Ko(e);n&&(n.each((function(e,n){null!=e&&(t[(rD+n).toLowerCase()]=e+"")})),e.isSilent()&&(t[rD+"silent"]="true"))}function OD(t){return Wr(t[0]-1)&&Wr(t[1])&&Wr(t[2])&&Wr(t[3]-1)}function PD(t){return Wr(t[4])&&Wr(t[5])}function kD(t,e,n){if(e&&(!PD(e)||!OD(e))){var r=n?10:1e4;t.transform=OD(e)?"translate("+ID(e[4]*r)/r+" "+ID(e[5]*r)/r+")":Ur(e)}}function $D(t,e,n){for(var r=t.points,i=[],o=0;o<r.length;o++)i.push(ID(r[o][0]*n)/n),i.push(ID(r[o][1]*n)/n);e.points=i.join(" ")}function ED(t){return!t.smooth}function LD(t){var e=W(t,(function(t){return"string"==typeof t?[t,t]:t}));return function(t,n,r){for(var i=0;i<e.length;i++){var o=e[i],a=t[o[0]];null!=a&&(n[o[1]]=ID(a*r)/r)}}}var ND={circle:[LD(["cx","cy","r"])],polyline:[$D,ED],polygon:[$D,ED]};function RD(t){for(var e=t.animators,n=0;n<e.length;n++)if("shape"===e[n].targetName)return!0;return!1}function FD(t,e){var n=t.style,r=t.shape,i=ND[t.type],o={},a=e.animation,s="path",l=t.style.strokePercent,u=e.compress&&oi(t)||4;if(!i||e.willUpdate||i[1]&&!i[1](r)||a&&RD(t)||l<1){var c=!t.path||t.shapeChanged();t.path||t.createPathProxy();var d=t.path;c&&(d.beginPath(),t.buildPath(d,t.shape),t.pathUpdated());var h=d.getVersion(),f=t,p=f.__svgPathBuilder;f.__svgPathVersion===h&&p&&l===f.__svgPathStrokePercent||(p||(p=f.__svgPathBuilder=new GA),p.reset(u),d.rebuildPath(p,l),p.generateStr(),f.__svgPathVersion=h,f.__svgPathStrokePercent=l),o.d=p.getStr()}else{s=t.type;var g=Math.pow(10,u);i[0](r,o,g)}return kD(o,t.transform),TD(o,n,t,e),CD(o,t),e.animation&&wD(t,o,e),e.emphasis&&SD(t,o,e),oD(s,t.id+"",o)}function BD(t,e){var n=t.style,r=n.image;if(r&&!tt(r)&&(AD(r)?r=r.src:DD(r)&&(r=r.toDataURL())),r){var i=n.x||0,o=n.y||0,a={href:r,width:n.width,height:n.height};return i&&(a.x=i),o&&(a.y=o),kD(a,t.transform),TD(a,n,t,e),CD(a,t),e.animation&&wD(t,a,e),oD("image",t.id+"",a)}}function jD(t,e){var n=t.style,r=n.text;if(null!=r&&(r+=""),r&&!isNaN(n.x)&&!isNaN(n.y)){var i=n.font||c,o=n.x||0,a=Xr(n.y||0,So(i),n.textBaseline),s={"dominant-baseline":"central","text-anchor":Zr[n.textAlign]||n.textAlign};if(Gu(n)){var l="",d=n.fontStyle,h=Hu(n.fontSize);if(!parseFloat(h))return;var f=n.fontFamily||u,p=n.fontWeight;l+="font-size:"+h+";font-family:"+f+";",d&&"normal"!==d&&(l+="font-style:"+d+";"),p&&"normal"!==p&&(l+="font-weight:"+p+";"),s.style=l}else s.style="font: "+i;return r.match(/\s/)&&(s["xml:space"]="preserve"),o&&(s.x=o),a&&(s.y=a),kD(s,t.transform),TD(s,n,t,e),CD(s,t),e.animation&&wD(t,s,e),oD("text",t.id+"",s,void 0,r)}}function zD(t,e){return t instanceof _u?FD(t,e):t instanceof Du?BD(t,e):t instanceof Su?jD(t,e):void 0}function VD(t,e,n){var r=t.style;if(qr(r)){var i=Kr(t),o=n.shadowCache,a=o[i];if(!a){var s=t.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var c=r.shadowOffsetX||0,d=r.shadowOffsetY||0,h=r.shadowBlur,f=Vr(r.shadowColor),p=f.opacity,g=f.color,y=h/2/l+" "+h/2/u;a=n.zrId+"-s"+n.shadowIdx++,n.defs[a]=oD("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[oD("feDropShadow","",{dx:c/l,dy:d/u,stdDeviation:y,"flood-color":g,"flood-opacity":p})]),o[i]=a}e.filter=ii(a)}}function HD(t,e,n,r){var i,o=t[n],a={gradientUnits:o.global?"userSpaceOnUse":"objectBoundingBox"};if(ei(o))i="linearGradient",a.x1=o.x,a.y1=o.y,a.x2=o.x2,a.y2=o.y2;else{if(!ni(o))return void k("Illegal gradient type.");i="radialGradient",a.cx=ht(o.x,.5),a.cy=ht(o.y,.5),a.r=ht(o.r,.5)}for(var s=o.colorStops,l=[],u=0,c=s.length;u<c;++u){var d=100*Yr(s[u].offset)+"%",h=Vr(s[u].color),f=h.color,p=h.opacity,g={offset:d};g["stop-color"]=f,p<1&&(g["stop-opacity"]=p),l.push(oD("stop",u+"",g))}var y=lD(oD(i,"",a,l)),m=r.gradientCache,v=m[y];v||(v=r.zrId+"-g"+r.gradientIdx++,m[y]=v,a.id=v,r.defs[v]=oD(i,v,a,l)),e[n]=ii(v)}function WD(t,e,n,r){var i,o=t.style[n],a=t.getBoundingRect(),s={},l=o.repeat,u="no-repeat"===l,c="repeat-x"===l,d="repeat-y"===l;if(Jr(o)){var h=o.imageWidth,f=o.imageHeight,p=void 0,g=o.image;if(tt(g)?p=g:AD(g)?p=g.src:DD(g)&&(p=g.toDataURL()),"undefined"==typeof Image){var y="Image width/height must been given explictly in svg-ssr renderer.";yt(h,y),yt(f,y)}else if(null==h||null==f){var m=function(t,e){if(t){var n=t.elm,r=h||e.width,i=f||e.height;"pattern"===t.tag&&(c?(i=1,r/=a.width):d&&(r=1,i/=a.height)),t.attrs.width=r,t.attrs.height=i,n&&(n.setAttribute("width",r),n.setAttribute("height",i))}},v=Ws(p,null,t,(function(t){u||m(w,t),m(i,t)}));v&&v.width&&v.height&&(h=h||v.width,f=f||v.height)}i=oD("image","img",{href:p,width:h,height:f}),s.width=h,s.height=f}else o.svgElement&&(i=$(o.svgElement),s.width=o.svgWidth,s.height=o.svgHeight);if(i){var b,x;u?b=x=1:c?(x=1,b=s.width/a.width):d?(b=1,x=s.height/a.height):s.patternUnits="userSpaceOnUse",null==b||isNaN(b)||(s.width=b),null==x||isNaN(x)||(s.height=x);var _=ai(o);_&&(s.patternTransform=_);var w=oD("pattern","",s,[i]),S=lD(w),M=r.patternCache,I=M[S];I||(I=r.zrId+"-p"+r.patternIdx++,M[S]=I,s.id=I,w=r.defs[I]=oD("pattern",I,s,[i])),e[n]=ii(I)}}function GD(t,e,n){var r=n.clipPathCache,i=n.defs,o=r[t.id];if(!o){var a={id:o=n.zrId+"-c"+n.clipPathIdx++};r[t.id]=o,i[o]=oD("clipPath",o,a,[FD(t,n)])}e["clip-path"]=ii(o)}function YD(t){return document.createTextNode(t)}function UD(t,e,n){t.insertBefore(e,n)}function ZD(t,e){t.removeChild(e)}function XD(t,e){t.appendChild(e)}function qD(t){return t.parentNode}function KD(t){return t.nextSibling}function JD(t,e){t.textContent=e}var QD=58,tT=120,eT=oD("","");function nT(t){return void 0===t}function rT(t){return void 0!==t}function iT(t,e,n){for(var r={},i=e;i<=n;++i){var o=t[i].key;void 0!==o&&(null!=r[o]&&console.error("Duplicate key "+o),r[o]=i)}return r}function oT(t,e){var n=t.key===e.key;return t.tag===e.tag&&n}function aT(t){var e,n=t.children,r=t.tag;if(rT(r)){var i=t.elm=iD(r);if(uT(eT,t),J(n))for(e=0;e<n.length;++e){var o=n[e];null!=o&&XD(i,aT(o))}else rT(t.text)&&!rt(t.text)&&XD(i,YD(t.text))}else t.elm=YD(t.text);return t.elm}function sT(t,e,n,r,i){for(;r<=i;++r){var o=n[r];null!=o&&UD(t,aT(o),e)}}function lT(t,e,n,r){for(;n<=r;++n){var i=e[n];null!=i&&(rT(i.tag)?ZD(qD(i.elm),i.elm):ZD(t,i.elm))}}function uT(t,e){var n,r=e.elm,i=t&&t.attrs||{},o=e.attrs||{};if(i!==o){for(n in o){var a=o[n];i[n]!==a&&(!0===a?r.setAttribute(n,""):!1===a?r.removeAttribute(n):"style"===n?r.style.cssText=a:n.charCodeAt(0)!==tT?r.setAttribute(n,a):"xmlns:xlink"===n||"xmlns"===n?r.setAttributeNS(eD,n,a):n.charCodeAt(3)===QD?r.setAttributeNS(nD,n,a):n.charCodeAt(5)===QD?r.setAttributeNS(tD,n,a):r.setAttribute(n,a))}for(n in i)n in o||r.removeAttribute(n)}}function cT(t,e,n){for(var r,i,o,a=0,s=0,l=e.length-1,u=e[0],c=e[l],d=n.length-1,h=n[0],f=n[d];a<=l&&s<=d;)null==u?u=e[++a]:null==c?c=e[--l]:null==h?h=n[++s]:null==f?f=n[--d]:oT(u,h)?(dT(u,h),u=e[++a],h=n[++s]):oT(c,f)?(dT(c,f),c=e[--l],f=n[--d]):oT(u,f)?(dT(u,f),UD(t,u.elm,KD(c.elm)),u=e[++a],f=n[--d]):oT(c,h)?(dT(c,h),UD(t,c.elm,u.elm),c=e[--l],h=n[++s]):(nT(r)&&(r=iT(e,a,l)),nT(i=r[h.key])||
vendor: 7,880 bytes, line 33
33(o=e[i]).tag!==h.tag?UD(t,aT(h),u.elm):(dT(o,h),e[i]=void 0,UD(t,o.elm,u.elm)),h=n[++s]);(a<=l||s<=d)&&(a>l?sT(t,null==n[d+1]?null:n[d+1].elm,n,s,d):lT(t,e,a,l))}function dT(t,e){var n=e.elm=t.elm,r=t.children,i=e.children;t!==e&&(uT(t,e),nT(e.text)?rT(r)&&rT(i)?r!==i&&cT(n,r,i):rT(i)?(rT(t.text)&&JD(n,""),sT(n,null,i,0,i.length-1)):rT(r)?lT(n,r,0,r.length-1):rT(t.text)&&JD(n,""):t.text!==e.text&&(rT(r)&&lT(n,r,0,r.length-1),JD(n,e.text)))}function hT(t,e){if(oT(t,e))dT(t,e);else{var n=t.elm,r=qD(n);aT(e),null!==r&&(UD(r,e.elm,KD(n)),lT(r,[t],0,0))}return e}var fT=0,pT=function(){function t(t,e,n){if(this.type="svg",this.refreshHover=gT("refreshHover"),this.configLayer=gT("configLayer"),this.storage=e,this._opts=n=N({},n),this.root=t,this._id="zr"+fT++,this._oldVNode=dD(n.width,n.height),t&&!n.ssr){var r=this._viewport=document.createElement("div");r.style.cssText="position:relative;overflow:hidden";var i=this._svgDom=this._oldVNode.elm=iD("svg");uT(null,this._oldVNode),r.appendChild(i),t.appendChild(r)}this.resize(n.width,n.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",hT(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return zD(t,cD(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._width,r=this._height,i=cD(this._id);i.animation=t.animation,i.willUpdate=t.willUpdate,i.compress=t.compress,i.emphasis=t.emphasis;var o=[],a=this._bgVNode=yT(n,r,this._backgroundColor,i);a&&o.push(a);var s=t.compress?null:this._mainVNode=oD("g","main",{},[]);this._paintList(e,i,s?s.children:o),s&&o.push(s);var l=W(Z(i.defs),(function(t){return i.defs[t]}));if(l.length&&o.push(oD("defs","defs",{},l)),t.animation){var u=uD(i.cssNodes,i.cssAnims,{newline:!0});if(u){var c=oD("style","stl",{},[],u);o.push(c)}}return dD(n,r,o,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},lD(this.renderToVNode({animation:ht(t.cssAnimation,!0),emphasis:ht(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:ht(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,n){for(var r,i,o=t.length,a=[],s=0,l=0,u=0;u<o;u++){var c=t[u];if(!c.invisible){var d=c.__clipPaths,h=d&&d.length||0,f=i&&i.length||0,p=void 0;for(p=Math.max(h-1,f-1);p>=0&&(!d||!i||d[p]!==i[p]);p--);for(var g=f-1;g>p;g--)r=a[--s-1];for(var y=p+1;y<h;y++){var m={};GD(d[y],m,e);var v=oD("g","clip-g-"+l++,m,[]);(r?r.children:n).push(v),a[s++]=v,r=v}i=d;var b=zD(c,e);b&&(r?r.children:n).push(b)}}},t.prototype.resize=function(t,e){var n=this._opts,r=this.root,i=this._viewport;if(null!=t&&(n.width=t),null!=e&&(n.height=e),r&&i&&(i.style.display="none",t=mx(r,0,n),e=mx(r,1,n),i.style.display=""),this._width!==t||this._height!==e){if(this._width=t,this._height=e,i){var o=i.style;o.width=t+"px",o.height=e+"px"}if(ti(this._backgroundColor))this.refresh();else{var a=this._svgDom;a&&(a.setAttribute("width",t),a.setAttribute("height",e));var s=this._bgVNode&&this._bgVNode.elm;s&&(s.setAttribute("width",t),s.setAttribute("height",e))}}},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},t.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},t.prototype.toDataURL=function(t){var e=this.renderToString(),n="data:image/svg+xml;";return t?(e=si(e))&&n+"base64,"+e:n+"charset=UTF-8,"+encodeURIComponent(e)},t}();function gT(t){return function(){k('In SVG mode painter not support method "'+t+'"')}}function yT(t,e,n,r){var i;if(n&&"none"!==n)if(i=oD("rect","bg",{width:t,height:e,x:"0",y:"0"}),ri(n))HD({fill:n},i.attrs,"fill",r);else if(ti(n))WD({style:{fill:n},dirty:Ot,getBoundingRect:function(){return{width:t,height:e}}},i.attrs,"fill",r);else{var o=Vr(n),a=o.color,s=o.opacity;i.attrs.fill=a,s<1&&(i.attrs["fill-opacity"]=s)}return i}function mT(t){t.registerPainter("svg",pT)}function vT(t,e,n){var r=m.createCanvas(),i=e.getWidth(),o=e.getHeight(),a=r.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=i+"px",a.height=o+"px",r.setAttribute("data-zr-dom-id",t)),r.width=i*n,r.height=o*n,r}var bT=function(t){function e(e,n,r){var i,o=t.call(this)||this;o.motionBlur=!1,o.lastFrameAlpha=.7,o.dpr=1,o.virtual=!1,o.config={},o.incremental=!1,o.zlevel=0,o.maxRepaintRectCount=5,o.__dirty=!0,o.__firstTimePaint=!0,o.__used=!1,o.__drawIndex=0,o.__startIndex=0,o.__endIndex=0,o.__prevStartIndex=null,o.__prevEndIndex=null,r=r||eo,"string"==typeof e?i=vT(e,n,r):rt(e)&&(e=(i=e).id),o.id=e,o.dom=i;var a=i.style;return a&&(Tt(i),i.onselectstart=function(){return!1},a.padding="0",a.margin="0",a.borderWidth="0"),o.painter=n,o.dpr=r,o}return i(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=vT("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,n,r){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var i,o=[],a=this.maxRepaintRectCount,s=!1,l=new nn(0,0,0,0);function u(t){if(t.isFinite()&&!t.isZero())if(0===o.length)(e=new nn(0,0,0,0)).copy(t),o.push(e);else{for(var e,n=!1,r=1/0,i=0,u=0;u<o.length;++u){var c=o[u];if(c.intersect(t)){var d=new nn(0,0,0,0);d.copy(c),d.union(t),o[u]=d,n=!0;break}if(s){l.copy(t),l.union(c);var h=t.width*t.height,f=c.width*c.height,p=l.width*l.height-h-f;p<r&&(r=p,i=u)}}s&&(o[i].union(t),n=!0),n||((e=new nn(0,0,0,0)).copy(t),o.push(e)),s||(s=o.length>=a)}}for(var c=this.__startIndex;c<this.__endIndex;++c)if(f=t[c]){var d=f.shouldBePainted(n,r,!0,!0);(p=f.__isRendered&&(f.__dirty&In||!d)?f.getPrevPaintRect():null)&&u(p);var h=d&&(f.__dirty&In||!f.__isRendered)?f.getPaintRect():null;h&&u(h)}for(c=this.__prevStartIndex;c<this.__prevEndIndex;++c){var f,p;d=(f=e[c])&&f.shouldBePainted(n,r,!0,!0),!f||d&&f.__zr||!f.__isRendered||(p=f.getPrevPaintRect())&&u(p)}do{for(i=!1,c=0;c<o.length;)if(o[c].isZero())o.splice(c,1);else{for(var g=c+1;g<o.length;)o[c].intersect(o[g])?(i=!0,o[c].union(o[g]),o.splice(g,1)):g++;c++}}while(i);return this._paintRects=o,o},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var n=this.dpr,r=this.dom,i=r.style,o=this.domBack;i&&(i.width=t+"px",i.height=e+"px"),r.width=t*n,r.height=e*n,o&&(o.width=t*n,o.height=e*n,1!==n&&this.ctxBack.scale(n,n))},e.prototype.clear=function(t,e,n){var r=this.dom,i=this.ctx,o=r.width,a=r.height;e=e||this.clearColor;var s=this.motionBlur&&!t,l=this.lastFrameAlpha,u=this.dpr,c=this;s&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(r,0,0,o/u,a/u));var d=this.domBack;function h(t,n,r,o){if(i.clearRect(t,n,r,o),e&&"transparent"!==e){var a=void 0;st(e)?(a=(e.global||e.__width===r&&e.__height===o)&&e.__canvasGradient||px(i,e,{x:0,y:0,width:r,height:o}
vendor: 12,415 bytes, line 33
33),e.__canvasGradient=a,e.__width=r,e.__height=o):lt(e)&&(e.scaleX=e.scaleX||u,e.scaleY=e.scaleY||u,a=Dx(i,e,{dirty:function(){c.setUnpainted(),c.painter.refresh()}})),i.save(),i.fillStyle=a||e,i.fillRect(t,n,r,o),i.restore()}s&&(i.save(),i.globalAlpha=l,i.drawImage(d,t,n,r,o),i.restore())}!n||s?h(0,0,o,a):n.length&&H(n,(function(t){h(t.x*u,t.y*u,t.width*u,t.height*u)}))},e}(se),xT=1e5,_T=314159,wT=.01,ST=.001;function MT(t){return!!t&&(!!t.__builtin__||"function"==typeof t.resize&&"function"==typeof t.refresh)}function IT(t,e){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}var AT=function(){function t(t,e,n,r){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var i=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=N({},n||{}),this.dpr=n.devicePixelRatio||eo,this._singleCanvas=i,this.root=t,t.style&&(Tt(t),t.innerHTML=""),this.storage=e;var o=this._zlevelList;this._prevDisplayList=[];var a=this._layers;if(i){var s=t,l=s.width,u=s.height;null!=n.width&&(l=n.width),null!=n.height&&(u=n.height),this.dpr=n.devicePixelRatio||1,s.width=l*this.dpr,s.height=u*this.dpr,this._width=l,this._height=u;var c=new bT(s,this,this.dpr);c.__builtin__=!0,c.initContext(),a[_T]=c,c.zlevel=_T,o.push(_T),this._domRoot=t}else{this._width=mx(t,0,n),this._height=mx(t,1,n);var d=this._domRoot=IT(this._width,this._height);t.appendChild(d)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),n=this._prevDisplayList,r=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,n,t,this._redrawId);for(var i=0;i<r.length;i++){var o=r[i],a=this._layers[o];if(!a.__builtin__&&a.refresh){var s=0===i?this._backgroundColor:null;a.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(t){var e=t.length,n=this._hoverlayer;if(n&&n.clear(),e){for(var r,i={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<e;o++){var a=t[o];a.__inHover&&(n||(n=this._hoverlayer=this.getLayer(xT)),r||(r=n.ctx).save(),Ux(r,a,i,o===e-1))}r&&r.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(xT)},t.prototype.paintOne=function(t,e){Yx(t,e)},t.prototype._paintList=function(t,e,n,r){if(this._redrawId===r){n=n||!1,this._updateLayerStatus(t);var i=this._doPaintList(t,e,n),o=i.finished,a=i.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(t),o)this.eachLayer((function(t){t.afterBrush&&t.afterBrush()}));else{var s=this;kn((function(){s._paintList(t,e,n,r)}))}}},t.prototype._compositeManually=function(){var t=this.getLayer(_T).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer((function(r){r.virtual&&t.drawImage(r.dom,0,0,e,n)}))},t.prototype._doPaintList=function(t,e,n){for(var r=this,i=[],o=this._opts.useDirtyRect,s=0;s<this._zlevelList.length;s++){var l=this._zlevelList[s],u=this._layers[l];u.__builtin__&&u!==this._hoverlayer&&(u.__dirty||n)&&i.push(u)}for(var c=!0,d=!1,h=function(a){var s,l=i[a],u=l.ctx,h=o&&l.createRepaintRects(t,e,f._width,f._height),p=n?l.__startIndex:l.__drawIndex,g=!n&&l.incremental&&Date.now,y=g&&Date.now(),m=l.zlevel===f._zlevelList[0]?f._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,m,h);else if(p===l.__startIndex){var v=t[p];v.incremental&&v.notClear&&!n||l.clear(!1,m,h)}-1===p&&(console.error("For some unknown reason. drawIndex is -1"),p=l.__startIndex);var b=function(e){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:r._width,viewHeight:r._height};for(s=p;s<l.__endIndex;s++){var i=t[s];if(i.__inHover&&(d=!0),r._doPaintEl(i,l,o,e,n,s===l.__endIndex-1),g&&Date.now()-y>15)break}n.prevElClipPaths&&u.restore()};if(h)if(0===h.length)s=l.__endIndex;else for(var x=f.dpr,_=0;_<h.length;++_){var w=h[_];u.save(),u.beginPath(),u.rect(w.x*x,w.y*x,w.width*x,w.height*x),u.clip(),b(w),u.restore()}else u.save(),b(),u.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(c=!1)},f=this,p=0;p<i.length;p++)h(p);return a.wxa&&H(this._layers,(function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()})),{finished:c,needsRefreshHover:d}},t.prototype._doPaintEl=function(t,e,n,r,i,o){var a=e.ctx;if(n){var s=t.getPaintRect();(!r||s&&s.intersect(r))&&(Ux(a,t,i,o),t.setPrevPaintRect(s))}else Ux(a,t,i,o)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=_T);var n=this._layers[t];return n||((n=new bT("zr_"+t,this,this.dpr)).zlevel=t,n.__builtin__=!0,this._layerConfig[t]?E(n,this._layerConfig[t],!0):this._layerConfig[t-wT]&&E(n,this._layerConfig[t-wT],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},t.prototype.insertLayer=function(t,e){var n=this._layers,r=this._zlevelList,i=r.length,o=this._domRoot,a=null,s=-1;if(n[t])k("ZLevel "+t+" has been used already");else if(MT(e)){if(i>0&&t>r[0]){for(s=0;s<i-1&&!(r[s]<t&&r[s+1]>t);s++);a=n[r[s]]}if(r.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)}else k("Layer of zlevel "+t+" is not valid")},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,r=0;r<n.length;r++){var i=n[r];t.call(e,this._layers[i],i)}},t.prototype.eachBuiltinLayer=function(t,e){for(var n=this._zlevelList,r=0;r<n.length;r++){var i=n[r],o=this._layers[i];o.__builtin__&&t.call(e,o,i)}},t.prototype.eachOtherLayer=function(t,e){for(var n=this._zlevelList,r=0;r<n.length;r++){var i=n[r],o=this._layers[i];o.__builtin__||t.call(e,o,i)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){o&&(o.__endIndex!==t&&(o.__dirty=!0),o.__endIndex=t)}if(this.eachBuiltinLayer((function(t,e){t.__dirty=t.__used=!1})),this._singleCanvas)for(var n=1;n<t.length;n++)if((s=t[n]).zlevel!==t[n-1].zlevel||s.incremental){this._needsManuallyCompositing=!0;break}var r,i,o=null,a=0;for(i=0;i<t.length;i++){var s,l=(s=t[i]).zlevel,u=void 0;r!==l&&(r=l,a=0),s.incremental?((u=this.getLayer(l+ST,this._needsManuallyCompositing)).incremental=!0,a=1):u=this.getLayer(l+(a>0?wT:0),this._needsManuallyCompositing),u.__builtin__||k("ZLevel "+l+" has been used by unkown layer "+u.id),u!==o&&(u.__used=!0,u.__startIndex!==i&&(u.__dirty=!0),u.__startIndex=i,u.incremental?u.__drawIndex=-1:u.__drawIndex=i,e(i),o=u),s.__dirty&In&&!s.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=i))}e(i),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,H(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?E(n[t],e,!0):n[t]=e;for(var r=0;r<this._zlevelList.length;r++){var i=this._zlevelList[r];i!==t&&i!==t+wT||E(this._layers[i],n[t],!0)}}},t.prototype.delLayer=function(t){var e=this._layers,n=this._zlevelList,r=e[t];r&&(r.dom.parentNode.removeChild(r.dom),delete e[t],n.splice(B(n,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var r=this._opts,i=this.root;if(null!=t&&(r.width=t),null!=e&&(r.height=e),t=mx(i,0,r),e=mx(i,1,r),n.style.display="",this._width!==t||e!==this._height){for(var o in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(_T).resize(t,e)}return this},t.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[_T].dom;var e=new bT("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var n=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var r=e.dom.width,i=e.dom.height;this.eachLayer((function(t){t.__builtin__?n.drawImage(t.dom,0,0,r,i):t.renderToCanvas&&(n.save(),t.renderToCanvas(n),n.restore())}))}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,l=a.length;s<l;s++){var u=a[s];Ux(n,u,o,s===l-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}();function DT(t){t.registerPainter("canvas",AT)}var TT=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return i(e,t),e.prototype.getInitialData=function(t){var e=t.coordinateSystem;if("polar"!==e&&"cartesian2d"!==e)throw new Error("Line not support coordinateSystem besides cartesian and polar");return ES(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new Bo,n=lx("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(n),n.setStyle(t.lineStyle);var r=this.getData().getVisual("symbol"),i=this.getData().getVisual("symbolRotate"),o="none"===r?"circle":r,a=.8*t.itemHeight,s=lx(o,(t.itemWidth-a)/2,(t.itemHeight-a)/2,a,a,t.itemStyle.fill);e.add(s),s.setStyle(t.itemStyle);var l="inherit"===t.iconRotate?i:t.iconRotate||0;return s.rotation=l*Math.PI/180,s.setOrigin([t.itemWidth/2,t.itemHeight/2]),o.indexOf("empty")>-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(Lv);function CT(t,e){var n=t.mapDimensionsAll("defaultedLabel"),r=n.length;if(1===r){var i=wm(t,e,n[0]);return null!=i?i+"":null}if(r){for(var o=[],a=0;a<n.length;a++)o.push(wm(t,e,n[a]));return o.join(" ")}}function OT(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!J(e))return e+"";for(var r=[],i=0;i<n.length;i++){var o=t.getDimensionIndex(n[i]);o>=0&&r.push(e[o])}return r.join(" ")}var PT=function(t){function e(e,n,r,i){var o=t.call(this)||this;return o.updateData(e,n,r,i),o}return i(e,t),e.prototype._createSymbol=function(t,e,n,r,i){this.removeAll();var o=lx(t,-1,-1,2,2,null,i);o.attr({z2:100,culling:!0,scaleX:r[0]/2,scaleY:r[1]/2}),o.drift=kT,this._symbolType=t,this.add(o)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){Nc(this.childAt(0))},e.prototype.downplay=function(){Rc(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},e.prototype.updateData=function(t,n,r,i){this.silent=!1;var o=t.getItemVisual(n,"symbol")||"circle",a=t.hostModel,s=e.getSymbolSize(t,n),l=o!==this._symbolType,u=i&&i.disableAnimation;if(l){var c=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,s,c)}else{(h=this.childAt(0)).silent=!1;var d={scaleX:s[0]/2,scaleY:s[1]/2};
vendor: 5,129 bytes, line 33
33u?h.attr(d):Eh(h,d,a,n),jh(h)}if(this._updateCommon(t,n,s,r,i),l){var h=this.childAt(0);u||(d={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:h.style.opacity}},h.scaleX=h.scaleY=0,h.style.opacity=0,Lh(h,d,a,n))}u&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,r,i){var o,a,s,l,u,c,d,h,f,p=this.childAt(0),g=t.hostModel;if(r&&(o=r.emphasisItemStyle,a=r.blurItemStyle,s=r.selectItemStyle,l=r.focus,u=r.blurScope,d=r.labelStatesModels,h=r.hoverScale,f=r.cursorStyle,c=r.emphasisDisabled),!r||t.hasItemOption){var y=r&&r.itemModel?r.itemModel:t.getItemModel(e),m=y.getModel("emphasis");o=m.getModel("itemStyle").getItemStyle(),s=y.getModel(["select","itemStyle"]).getItemStyle(),a=y.getModel(["blur","itemStyle"]).getItemStyle(),l=m.get("focus"),u=m.get("blurScope"),c=m.get("disabled"),d=Af(y),h=m.getShallow("scale"),f=y.getShallow("cursor")}var v=t.getItemVisual(e,"symbolRotate");p.attr("rotation",(v||0)*Math.PI/180||0);var b=cx(t.getItemVisual(e,"symbolOffset"),n);b&&(p.x=b[0],p.y=b[1]),f&&p.attr("cursor",f);var x=t.getItemVisual(e,"style"),_=x.fill;if(p instanceof Du){var w=p.style;p.useStyle(N({image:w.image,x:w.x,y:w.y,width:w.width,height:w.height},x))}else p.__isEmptyBrush?p.useStyle(N({},x)):p.useStyle(x),p.style.decal=null,p.setColor(_,i&&i.symbolInnerColor),p.style.strokeNoScale=!0;var S=t.getItemVisual(e,"liftZ"),M=this._z2;null!=S?null==M&&(this._z2=p.z2,p.z2+=S):null!=M&&(p.z2=M,this._z2=null);var I=i&&i.useNameLabel;function A(e){return I?t.getName(e):CT(t,e)}If(p,d,{labelFetcher:g,labelDataIndex:e,defaultText:A,inheritColor:_,defaultOpacity:x.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var D=p.ensureState("emphasis");D.style=o,p.ensureState("select").style=s,p.ensureState("blur").style=a;var T=null==h||!0===h?Math.max(1.1,3/this._sizeY):isFinite(h)&&h>0?+h:1;D.scaleX=this._sizeX*T,D.scaleY=this._sizeY*T,this.setSymbolScale(1),ed(this,l,u,c)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var r=this.childAt(0),i=Qu(this).dataIndex,o=n&&n.animation;if(this.silent=r.silent=!0,n&&n.fadeLabel){var a=r.getTextContent();a&&Rh(a,{style:{opacity:0}},e,{dataIndex:i,removeOpt:o,cb:function(){r.removeTextContent()}})}else r.removeTextContent();Rh(r,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:i,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return ux(t.getItemVisual(e,"symbolSize"))},e}(Bo);function kT(t,e){this.parent.drift(t,e)}function $T(t,e,n,r){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(r.isIgnore&&r.isIgnore(n))&&!(r.clipShape&&!r.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function ET(t){return null==t||rt(t)||(t={isIgnore:t}),t||{}}function LT(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:Af(e),cursorStyle:e.get("cursor")}}var NT=function(){function t(t){this.group=new Bo,this._SymbolCtor=t||PT}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=ET(e);var n=this.group,r=t.hostModel,i=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=LT(t),l={disableAnimation:a},u=e.getSymbolPoint||function(e){return t.getItemLayout(e)};i||n.removeAll(),t.diff(i).add((function(r){var i=u(r);if($T(t,i,r,e)){var a=new o(t,r,s,l);a.setPosition(i),t.setItemGraphicEl(r,a),n.add(a)}})).update((function(c,d){var h=i.getItemGraphicEl(d),f=u(c);if($T(t,f,c,e)){var p=t.getItemVisual(c,"symbol")||"circle",g=h&&h.getSymbolType&&h.getSymbolType();if(!h||g&&g!==p)n.remove(h),(h=new o(t,c,s,l)).setPosition(f);else{h.updateData(t,c,s,l);var y={x:f[0],y:f[1]};a?h.attr(y):Eh(h,y,r)}n.add(h),t.setItemGraphicEl(c,h)}else n.remove(h)})).remove((function(t){var e=i.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}),r)})).execute(),this._getSymbolPoint=u,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var r=t._getSymbolPoint(n);e.setPosition(r),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=LT(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function r(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=ET(n);for(var i=t.start;i<t.end;i++){var o=e.getItemLayout(i);if($T(e,o,i,n)){var a=new this._SymbolCtor(e,i,this._seriesScope);a.traverse(r),a.setPosition(o),this.group.add(a),e.setItemGraphicEl(i,a),this._progressiveEls.push(a)}}},t.prototype.eachRendered=function(t){xf(this._progressiveEls||this.group,t)},t.prototype.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl((function(t){t.fadeOut((function(){e.remove(t)}),n.hostModel)})):e.removeAll()},t}();function RT(t,e,n){var r=t.getBaseAxis(),i=t.getOtherAxis(r),o=FT(i,n),a=r.dim,s=i.dim,l=e.mapDimension(s),u=e.mapDimension(a),c="x"===s||"radiu
33s"===s?1:0,d=W(t.dimensions,(function(t){return e.mapDimension(t)})),h=!1,f=e.getCalculationInfo("stackResultDimension");return OS(e,d[0])&&(h=!0,d[0]=f),OS(e,d[1])&&(h=!0,d[1]=f),{dataDimsForPoint:d,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!h,valueDim:l,baseDim:u,baseDataOffset:c,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function FT(t,e){var n=0,r=t.scale.getExtent();return"start"===e?n=r[0]:"end"===e?n=r[1]:nt(e)&&!isNaN(e)?n=e:r[0]>0?n=r[0]:r[1]<0&&(n=r[1]),n}function BT(t,e,n,r){var i=NaN;t.stacked&&(i=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(i)&&(i=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,r),a[1-o]=i,e.dataToPoint(a)}function jT(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}function zT(t,e,n,r,i,o,a,s){for(var l=jT(t,e),u=[],c=[],d=[],h=[],f=[],p=[],g=[],y=RT(i,e,a),m=t.getLayout("points")||[],v=e.getLayout("points")||[],b=0;b<l.length;b++){var x=l[b],_=!0,w=void 0,S=void 0;switch(x.cmd){case"=":w=2*x.idx,S=2*x.idx1;var M=m[w],I=m[w+1],A=v[S],D=v[S+1];(isNaN(M)||isNaN(I))&&(M=A,I=D),u.push(M,I),c.push(A,D),d.push(n[w],n[w+1]),h.push(r[S],r[S+1]),g.push(e.getRawIndex(x.idx1));break;case"+":var T=x.idx,C=y.dataDimsForPoint,O=i.dataToPoint([e.get(C[0],T),e.get(C[1],T)]);S=2*T,u.push(O[0],O[1]),c.push(v[S],v[S+1]);var P=BT(y,i,e,T);d.push(P[0],P[1]),h.push(r[S],r[S+1]),g.push(e.getRawIndex(T));break;case"-":_=!1}_&&(f.push(x),p.push(p.length))}p.sort((function(t,e){return g[t]-g[e]}));var k=u.length,$=nM(k),E=nM(k),L=nM(k),N=nM(k),R=[];for(b=0;b<p.length;b++){var F=p[b],B=2*b,j=2*F;$[B]=u[j],$[B+1]=u[j+1],E[B]=c[j],E[B+1]=c[j+1],L[B]=d[j],L[B+1]=d[j+1],N[B]=h[j],N[B+1]=h[j+1],R[b]=f[F]}return{current:$,next:E,stackedOnCurrent:L,stackedOnNext:N,status:R}}var VT=Math.min,HT=Math.max;function WT(t,e){return isNaN(t)||isNaN(e)}function GT(t,e,n,r,i,o,a,s,l){for(var u,c,d,h,f,p,g=n,y=0;y<r;y++){var m=e[2*g],v=e[2*g+1];if(g>=i||g<0)break;if(WT(m,v)){if(l){g+=o;continue}break}if(g===n)t[o>0?"moveTo":"lineTo"](m,v),d=m,h=v;else{var b=m-u,x=v-c;if(b*b+x*x<.5){g+=o;continue}if(a>0){for(var _=g+o,w=e[2*_],S=e[2*_+1];w===m&&S===v&&y<r;)y++,g+=o,w=e[2*(_+=o)],S=e[2*_+1],b=(m=e[2*g])-u,x=(v=e[2*g+1])-c;var M=y+1;if(l)for(;WT(w,S)&&M<r;)M++,w=e[2*(_+=o)],S=e[2*_+1];var I=.5,A=0,D=0,T=void 0,C=void 0;if(M>=r||WT(w,S))f=m,p=v;else{A=w-u,D=S-c;var O=m-u,P=w-m,k=v-c,$=S-v,E=void 0,L=void 0;if("x"===s){var N=A>0?1:-1;f=m-N*(E=Math.abs(O))*a,p=v,T=m+N*(L=Math.abs(P))*a,C=v}else if("y"===s){var R=D>0?1:-1;f=m,p=v-R*(E=Math.abs(k))*a,T=m,C=v+R*(L=Math.abs($))*a}else E=Math.sqrt(O*O+k*k),f=m-A*a*(1-(I=(L=Math.sqrt(P*P+$*$))/(L+E))),p=v-D*a*(1-I),C=v+D*a*I,T=VT(T=m+A*a*I,HT(w,m)),C=VT(C,HT(S,v)),T=HT(T,VT(w,m)),p=v-(D=(C=HT(C,VT(S,v)))-v)*E/L,f=VT(f=m-(A=T-m)*E/L,HT(u,m)),p=VT(p,HT(c,v)),T=m+(A=m-(f=HT(f,VT(u,m))))*L/E,C=v+(D=v-(p=HT(p,VT(c,v))))*L/E}t.bezierCurveTo(d,h,f,p,m,v),d=T,h=C}else t.lineTo(m,v)}u=m,c=v,g+=o}return y}var YT=function(){function t(){this.smooth=0,this.smoothConstraint=!0}return t}(),UT=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return i(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new YT},e.prototype.buildPath=function(t,e){var n=e.points,r=0,i=n.length/2;if(e.connectNulls){for(;i>0&&WT(n[2*i-2],n[2*i-1]);i--);for(;r<i&&WT(n[2*r],n[2*r+1]);r++);}for(;r<i;)r+=GT(t,n,r,i,i,1,e.smooth,e.smoothMonotone,e.connectNulls)+1},e.prototype.getPointOn=function(t,e){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n,r,i=this.path.data,o=ql.CMD,a="x"===e,s=[],l=0;l<i.length;){var u=void 0,c=void 0,d=void 0,h=void 0,f=void 0,p=void 0,g=void 0;switch(i[l++]){case o.M:n=i[l++],r=i[l++];break;case o.L:if(u=i[l++],c=i[l++],(g=a?(t-n)/(u-n):(t-r)/(c-r))<=1&&g>=0){var y=a?(c-r)*g+r:(u-n)*g+n;return a?[t,y]:[y,t]}n=u,r=c;break;case o.C:u=i[l++],c=i[l++],d=i[l++],h=i[l++],f=i[l++],p=i[l++];var m=a?Un(n,u,d,f,t,s):Un(r,c,h,p,t,s);if(m>0)for(var v=0;v<m;v++){var b=s[v];if(b<=1&&b>
vendor: 4,720 bytes, line 33
33=0)return y=a?Gn(r,c,h,p,b):Gn(n,u,d,f,b),a?[t,y]:[y,t]}n=f,r=p}}},e}(_u),ZT=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(YT),XT=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return i(e,t),e.prototype.getDefaultShape=function(){return new ZT},e.prototype.buildPath=function(t,e){var n=e.points,r=e.stackedOnPoints,i=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&WT(n[2*o-2],n[2*o-1]);o--);for(;i<o&&WT(n[2*i],n[2*i+1]);i++);}for(;i<o;){var s=GT(t,n,i,o,o,1,e.smooth,a,e.connectNulls);GT(t,r,i+s-1,s,o,-1,e.stackedOnSmooth,a,e.connectNulls),i+=s+1,t.closePath()}},e}(_u);function qT(t,e,n,r,i){var o=t.getArea(),a=o.x,s=o.y,l=o.width,u=o.height,c=n.get(["lineStyle","width"])||2;a-=c/2,s-=c/2,l+=c,u+=c,l=Math.ceil(l),a!==Math.floor(a)&&(a=Math.floor(a),l++);var d=new Lu({shape:{x:a,y:s,width:l,height:u}});if(e){var h=t.getBaseAxis(),f=h.isHorizontal(),p=h.inverse;f?(p&&(d.shape.x+=l),d.shape.width=0):(p||(d.shape.y+=u),d.shape.height=0);var g=Q(i)?function(t){i(t,d)}:null;Lh(d,{shape:{width:l,height:u,x:a,y:s}},n,null,r,g)}return d}function KT(t,e,n){var r=t.getArea(),i=aa(r.r0,1),o=aa(r.r,1),a=new nh({shape:{cx:aa(t.cx,1),cy:aa(t.cy,1),r0:i,r:o,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});return e&&("angle"===t.getBaseAxis().dim?a.shape.endAngle=r.startAngle:a.shape.r=i,Lh(a,{shape:{endAngle:r.endAngle,r:o}},n)),a}function JT(t,e,n,r,i){return t?"polar"===t.type?KT(t,e,n):"cartesian2d"===t.type?qT(t,e,n,r,i):null:null}function QT(t,e){return t.type===e}function tC(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++)if(t[n]!==e[n])return;return!0}}function eC(t){for(var e=1/0,n=1/0,r=-1/0,i=-1/0,o=0;o<t.length;){var a=t[o++],s=t[o++];isNaN(a)||(e=Math.min(a,e),r=Math.max(a,r)),isNaN(s)||(n=Math.min(s,n),i=Math.max(s,i))}return[[e,n],[r,i]]}function nC(t,e){var n=eC(t),r=n[0],i=n[1],o=eC(e),a=o[0],s=o[1];return Math.max(Math.abs(r[0]-a[0]),Math.abs(r[1]-a[1]),Math.abs(i[0]-s[0]),Math.abs(i[1]-s[1]))}function rC(t){return nt(t)?t:t?.5:0}function iC(t,e,n){if(!n.valueDim)return[];for(var r=e.count(),i=nM(2*r),o=0;o<r;o++){var a=BT(n,t,e,o);i[2*o]=a[0],i[2*o+1]=a[1]}return i}function oC(t,e,n,r){var i=e.getBaseAxis(),o="x"===i.dim||"radius"===i.dim?0:1,a=[],s=0,l=[],u=[],c=[],d=[];if(r){for(s=0;s<t.length;s+=2)isNaN(t[s])||isNaN(t[s+1])||d.push(t[s],t[s+1]);t=d}for(s=0;s<t.length-2;s+=2)switch(c[0]=t[s+2],c[1]=t[s+3],u[0]=t[s],u[1]=t[s+1],a.push(u[0],u[1]),n){case"end":l[o]=c[o],l[1-o]=u[1-o],a.push(l[0],l[1]);break;case"middle":var h=(u[o]+c[o])/2,f=[];l[o]=f[o]=h,l[1-o]=u[1-o],f[1-o]=c[1-o],a.push(l[0],l[1]),a.push(f[0],f[1]);break;default:l[o]=u[o],l[1-o]=c[1-o],a.push(l[0],l[1])}return a.push(t[s++],t[s++]),a}function aC(t,e){var n,r,i=[],o=t.length;function a(t,e,n){var r=t.coord;return{coord:n,color:Pr((n-r)/(e.coord-r),[t.color,e.color])}}for(var s=0;s<o;s++){var l=t[s],u=l.coord;if(u<0)n=l;else{if(u>e){r?i.push(a(r,l,e)):n&&i.push(a(n,l,0),a(n,l,e));break}n&&(i.push(a(n,l,0)),n=null),i.push(l),r=l}}return i}function sC(t,e,n){var r=t.getVisual("visualMeta");if(r&&r.length&&t.count())if("cartesian2d"===e.type){for(var i,o,a=r.length-1;a>=0;a--){var s=t.getDimensionInfo(r[a].dimension);if("x"===(i=s&&s.coordDim)||"y"===i){o=r[a];break}}if(o){var l=e.getAxis(i),u=W(o.stops,(function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}})),c=u.length,d=o.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),d.reverse());var h=aC(u,"x"===i?n.getWidth():n.getHeight()),f=h.length;if(!f&&c)return u[0].coord<0?d[1]?d[1]:u[c-1].color:d[0]?d[0]:u[0].color;var p=10,g=h[0].coord-p,y=h[f-1].coord+p,m=y-g;if(m<.001)return"transparent";H(h,(function(t){t.offset=(t.coord-g)/m})),h.push({offset:f?h[f-1].offset:.5,color:d[1]||"transparent"}),h.unshift({offset:f?h[0].offset:.5,color:d[0]||"transparent"});var v=new wh(0,0,0,0,h,!0);return v[i]=g,v[i+"2"]=y,v}console.warn("Visual map on line style only support x or y dimension.")}else console.warn("Visual map on line style is only supported on cartesian2d.")}function lC(t,e,n){var r=t.get("showAllSymbol"),i="auto"===r;if(!r||i){var o=n.getAxesByScale("ordinal")[0];if(o&&(!i||!uC(o,e))){var a=e.mapDimension(o.dim),s={};return H(o.getViewLabels(),(function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);s[e]=1})),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}function uC(t,e){var n=t.getExtent(),r=Math.abs(n[1]-n[0])/t.scale.count();isNaN(r)&&(r=0);for(var i=e.count(),o=Math.max(1,Math.round(i/5)),a=0;a<i;a+=o)if(1.5*PT.getSymbolSize(e,a)[t.isHorizontal()?1:0]>r)return!1;return!0}function cC(t,e){return isNaN(t)||isNaN(e)}function dC(t){for(var e=t.length/2;e>
vendor: 3,365 bytes, line 33
330&&cC(t[2*e-2],t[2*e-1]);e--);return e-1}function hC(t,e){return[t[2*e],t[2*e+1]]}function fC(t,e,n){for(var r,i,o=t.length/2,a="x"===n?0:1,s=0,l=-1,u=0;u<o;u++)if(i=t[2*u+a],!isNaN(i)&&!isNaN(t[2*u+1-a]))if(0!==u){if(r<=e&&i>=e||r>=e&&i<=e){l=u;break}s=u,r=i}else r=i;return{range:[s,l],t:(e-r)/(i-r)}}function pC(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e<lc.length;e++)if(t.get([lc[e],"endLabel","show"]))return!0;return!1}function gC(t,e,n,r){if(QT(e,"cartesian2d")){var i=r.getModel("endLabel"),o=i.get("valueAnimation"),a=r.getData(),s={lastFrameIndex:0},l=pC(r)?function(n,r){t._endLabelOnDuring(n,r,a,s,o,i,e)}:null,u=e.getBaseAxis().isHorizontal(),c=qT(e,n,r,(function(){var e=t._endLabel;e&&n&&null!=s.originalX&&e.attr({x:s.originalX,y:s.originalY})}),l);if(!r.get("clip",!0)){var d=c.shape,h=Math.max(d.width,d.height);u?(d.y-=h,d.height+=2*h):(d.x-=h,d.width+=2*h)}return l&&l(1,c),c}return r.get(["endLabel","show"])&&console.warn("endLabel is not supported for lines in polar systems."),KT(e,n,r)}function yC(t,e){var n=e.getBaseAxis(),r=n.isHorizontal(),i=n.inverse,o=r?i?"right":"left":"center",a=r?"middle":i?"top":"bottom";return{normal:{align:t.get("align")||o,verticalAlign:t.get("verticalAlign")||a}}}var mC=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.init=function(){var t=new Bo,e=new NT;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},e.prototype.render=function(t,e,n){var r=this,i=t.coordinateSystem,o=this.group,a=t.getData(),s=t.getModel("lineStyle"),l=t.getModel("areaStyle"),u=a.getLayout("points")||[],c="polar"===i.type,d=this._coordSys,h=this._symbolDraw,f=this._polyline,p=this._polygon,g=this._lineGroup,y=!e.ssr&&t.get("animation"),m=!l.isEmpty(),v=l.get("origin"),b=RT(i,a,v),x=m&&iC(i,a,b),_=t.get("showSymbol"),w=t.get("connectNulls"),S=_&&!c&&lC(t,a,i),M=this._data;M&&M.eachItemGraphicEl((function(t,e){t.__temp&&(o.remove(t),M.setItemGraphicEl(e,null))})),_||h.remove(),o.add(g);var I,A=!c&&t.get("step");i&&i.getArea&&t.get("clip",!0)&&(null!=(I=i.getArea()).width?(I.x-=.1,I.y-=.1,I.width+=.2,I.height+=.2):I.r0&&(I.r0-=.5,I.r+=.5)),this._clipShapeForSymbol=I;var D=sC(a,i,n)||a.getVisual("style")[a.getVisual("drawType")];if(f&&d.type===i.type&&A===this._step){m&&!p?p=this._newPolygon(u,x):p&&!m&&(g.remove(p),p=this._polygon=null),c||this._initOrUpdateEndLabel(t,i,rg(D));var T=g.getClipPath();T?Lh(T,{shape:gC(this,i,!1,t).shape},t):g.setClipPath(gC(this,i,!0,t)),_&&h.updateData(a,{isIgnore:S,clipShape:I,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),tC(this._stackedOnPoints,x)&&tC(this._points,u)||(y?this._doUpdateAnimation(a,x,i,n,A,v,w):(A&&(u=oC(u,i,A,w),x&&(x=oC(x,i,A,w))),f.setShape({points:u}),p&&p.setShape({points:u,stackedOnPoints:x})))}else _&&h.updateData(a,{isIgnore:S,clipShape:I,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),y&&this._initSymbolLabelAnimation(a,i,I),A&&(u=oC(u,i,A,w),x&&(x=oC(x,i,A,w))),f=this._newPolyline(u),m?p=this._newPolygon(u,x):p&&(g.remove(p),p=this._polygon=null),c||this._initOrUpdateEndLabel(t,i,rg(D)),g.setClipPath(gC(this,i,!0,t));var C=t.getModel("emphasis"),O=C.get("focus"),P=C.get("blurScope"),k=C.get("disabled");f.useStyle(R(s.getLineStyle(),{fill:"none",stroke:D,lineJoin:"bevel"})),od(f,t,"lineStyle"),f.style.lineWidth>
vendor: 19,215 bytes, line 33
330&&"bolder"===t.get(["emphasis","lineStyle","width"])&&(f.getState("emphasis").style.lineWidth=+f.style.lineWidth+1),Qu(f).seriesIndex=t.seriesIndex,ed(f,O,P,k);var $=rC(t.get("smooth")),E=t.get("smoothMonotone");if(f.setShape({smooth:$,smoothMonotone:E,connectNulls:w}),p){var L=a.getCalculationInfo("stackedOnSeries"),N=0;p.useStyle(R(l.getAreaStyle(),{fill:D,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),L&&(N=rC(L.get("smooth"))),p.setShape({smooth:$,stackedOnSmooth:N,smoothMonotone:E,connectNulls:w}),od(p,t,"areaStyle"),Qu(p).seriesIndex=t.seriesIndex,ed(p,O,P,k)}var F=function(t){r._changePolyState(t)};a.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=F)})),this._polyline.onHoverStateChange=F,this._data=a,this._coordSys=i,this._stackedOnPoints=x,this._points=u,this._step=A,this._valueOrigin=v,t.get("triggerLineEvent")&&(this.packEventData(t,f),p&&this.packEventData(t,p))},e.prototype.packEventData=function(t,e){Qu(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,n,r){var i=t.getData(),o=hs(i,r);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=i.getLayout("points"),s=i.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var c=t.get("zlevel")||0,d=t.get("z")||0;(s=new PT(i,o)).x=l,s.y=u,s.setZ(c,d);var h=s.getSymbolPath().getTextContent();h&&(h.zlevel=c,h.z=d,h.z2=this._polyline.z2+1),s.__temp=!0,i.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else Zv.prototype.highlight.call(this,t,e,n,r)},e.prototype.downplay=function(t,e,n,r){var i=t.getData(),o=hs(i,r);if(this._changePolyState("normal"),null!=o&&o>=0){var a=i.getItemGraphicEl(o);a&&(a.__temp?(i.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else Zv.prototype.downplay.call(this,t,e,n,r)},e.prototype._changePolyState=function(t){var e=this._polygon;Dc(this._polyline,t),e&&Dc(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new UT({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new XT({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var r,i,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(r=o.isHorizontal(),i=!1):"polar"===e.type&&(r="angle"===o.dim,i=!0);var s=t.hostModel,l=s.get("animationDuration");Q(l)&&(l=l(null));var u=s.get("animationDelay")||0,c=Q(u)?u(null):u;t.eachItemGraphicEl((function(t,o){var s=t;if(s){var d=[t.x,t.y],h=void 0,f=void 0,p=void 0;if(n)if(i){var g=n,y=e.pointToCoord(d);r?(h=g.startAngle,f=g.endAngle,p=-y[1]/180*Math.PI):(h=g.r0,f=g.r,p=y[0])}else{var m=n;r?(h=m.x,f=m.x+m.width,p=t.x):(h=m.y+m.height,f=m.y,p=t.y)}var v=f===h?0:(p-h)/(f-h);a&&(v=1-v);var b=Q(u)?u(o):l*v+c,x=s.getSymbolPath(),_=x.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:b}),_&&_.animateFrom({style:{opacity:0}},{duration:300,delay:b}),x.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,n){var r=t.getModel("endLabel");if(pC(t)){var i=t.getData(),o=this._polyline,a=i.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new Bu({z2:200})).ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=dC(a);l>=0&&(If(o,Af(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?OT(i,n):CT(i,t)},enableTextSetter:!0},yC(r,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,r,i,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==r.originalX&&(r.originalX=s.x,r.originalY=s.y);var u=n.getLayout("points"),c=n.hostModel,d=c.get("connectNulls"),h=o.get("precision"),f=o.get("distance")||0,p=a.getBaseAxis(),g=p.isHorizontal(),y=p.inverse,m=e.shape,v=y?g?m.x:m.y+m.height:g?m.x+m.width:m.y,b=(g?f:0)*(y?-1:1),x=(g?0:-f)*(y?-1:1),_=g?"x":"y",w=fC(u,v,_),S=w.range,M=S[1]-S[0],I=void 0;if(M>=1){if(M>1&&!d){var A=hC(u,S[0]);s.attr({x:A[0]+b,y:A[1]+x}),i&&(I=c.getRawValue(S[0]))}else{(A=l.getPointOn(v,_))&&s.attr({x:A[0]+b,y:A[1]+x});var D=c.getRawValue(S[0]),T=c.getRawValue(S[1]);i&&(I=Ms(n,h,D,T,w.t))}r.lastFrameIndex=S[0]}else{var C=1===t||r.lastFrameIndex>0?S[0]:0;A=hC(u,C),i&&(I=c.getRawValue(C)),s.attr({x:A[0]+b,y:A[1]+x})}if(i){var O=Nf(s);"function"==typeof O.setLabelText&&O.setLabelText(I)}}},e.prototype._doUpdateAnimation=function(t,e,n,r,i,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,c=zT(this._data,t,this._stackedOnPoints,e,this._coordSys,n,this._valueOrigin),d=c.current,h=c.stackedOnCurrent,f=c.next,p=c.stackedOnNext;if(i&&(d=oC(c.current,n,i,a),h=oC(c.stackedOnCurrent,n,i,a),f=oC(c.next,n,i,a),p=oC(c.stackedOnNext,n,i,a)),nC(d,f)>3e3||l&&nC(h,p)>3e3)return s.stopAnimation(),s.setShape({points:f}),void(l&&(l.stopAnimation(),l.setShape({points:f,stackedOnPoints:p})));s.shape.__points=c.current,s.shape.points=d;var g={shape:{points:f}};c.current!==d&&(g.shape.__points=c.next),s.stopAnimation(),Eh(s,g,u),l&&(l.setShape({points:d,stackedOnPoints:h}),l.stopAnimation(),Eh(l,{shape:{stackedOnPoints:p}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var y=[],m=c.status,v=0;v<m.length;v++)if("="===m[v].cmd){var b=t.getItemGraphicEl(m[v].idx1);b&&y.push({el:b,ptIdx:v})}s.animators&&s.animators.length&&s.animators[0].during((function(){l&&l.dirtyShape();for(var t=s.shape.__points,e=0;e<y.length;e++){var n=y[e].el,r=2*y[e].ptIdx;n.x=t[r],n.y=t[r+1],n.markRedraw()}}))},e.prototype.remove=function(t){var e=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl((function(t,r){t.__temp&&(e.remove(t),n.setItemGraphicEl(r,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e}(Zv);function vC(t,e){return{seriesType:t,plan:Gv(),reset:function(t){var n=t.getData(),r=t.coordinateSystem,i=t.pipelineContext,o=e||i.large;if(r){var a=W(r.dimensions,(function(t){return n.mapDimension(t)})).slice(0,2),s=a.length,l=n.getCalculationInfo("stackResultDimension");OS(n,a[0])&&(a[0]=l),OS(n,a[1])&&(a[1]=l);var u=n.getStore(),c=n.getDimensionIndex(a[0]),d=n.getDimensionIndex(a[1]);return s&&{progress:function(t,e){for(var n=t.end-t.start,i=o&&nM(n*s),a=[],l=[],h=t.start,f=0;h<t.end;h++){var p=void 0;if(1===s){var g=u.get(c,h);p=r.dataToPoint(g,null,l)}else a[0]=u.get(c,h),a[1]=u.get(d,h),p=r.dataToPoint(a,null,l);o?(i[f++]=p[0],i[f++]=p[1]):e.setItemLayout(h,p.slice())}o&&e.setLayout("points",i)}}}}}}var bC={average:function(t){for(var e=0,n=0,r=0;r<t.length;r++)isNaN(t[r])||(e+=t[r],n++);return 0===n?NaN:e/n},sum:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n]||0;return e},max:function(t){for(var e=-1/0,n=0;n<t.length;n++)t[n]>e&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return isFinite(e)?e:NaN},minmax:function(t){for(var e=-1/0,n=-1/0,r=0;r<t.length;r++){var i=t[r],o=Math.abs(i);o>e&&(e=o,n=i)}return isFinite(n)?n:NaN},nearest:function(t){return t[0]}},xC=function(t){return Math.round(t.length/2)};function _C(t){return{seriesType:t,reset:function(t,e,n){var r=t.getData(),i=t.get("sampling"),o=t.coordinateSystem,a=r.count();if(a>10&&"cartesian2d"===o.type&&i){var s=o.getBaseAxis(),l=o.getOtherAxis(s),u=s.getExtent(),c=n.getDevicePixelRatio(),d=Math.abs(u[1]-u[0])*(c||1),h=Math.round(a/d);if(isFinite(h)&&h>1){"lttb"===i&&t.setData(r.lttbDownSample(r.mapDimension(l.dim),1/h));var f=void 0;tt(i)?f=bC[i]:Q(i)&&(f=i),f&&t.setData(r.downSample(r.mapDimension(l.dim),1/h,f,xC))}}}}}function wC(t){t.registerChartView(mC),t.registerSeriesModel(TT),t.registerLayout(vC("line",!0)),t.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,_C("line"))}var SC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.getInitialData=function(t,e){return ES(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,e,n){var r=this.coordinateSystem;if(r&&r.clampData){var i=r.clampData(t),o=r.dataToPoint(i);if(n)H(r.getAxes(),(function(t,n){if("category"===t.type&&null!=e){var r=t.getTicksCoords(),a=t.getTickModel().get("alignWithLabel"),s=i[n],l="x1"===e[n]||"y1"===e[n];if(l&&!a&&(s+=1),r.length<2)return;if(2===r.length)return void(o[n]=t.toGlobalCoord(t.getExtent()[l?1:0]));for(var u=void 0,c=void 0,d=1,h=0;h<r.length;h++){var f=r[h].coord,p=h===r.length-1?r[h-1].tickValue+d:r[h].tickValue;if(p===s){c=f;break}if(p<s)u=f;else if(null!=u&&p>s){c=(f+u)/2;break}1===h&&(d=p-r[0].tickValue)}null==c&&(u?u&&(c=r[r.length-1].coord):c=r[0].coord),o[n]=t.toGlobalCoord(c)}}));else{var a=this.getData(),s=a.getLayout("offset"),l=a.getLayout("size"),u=r.getBaseAxis().isHorizontal()?0:1;o[u]+=s+l/2}return o}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(Lv);Lv.registerClass(SC);var MC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.getInitialData=function(){return ES(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},e.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=tp(SC.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(SC),IC=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return t}(),AC=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return i(e,t),e.prototype.getDefaultShape=function(){return new IC},e.prototype.buildPath=function(t,e){var n=e.cx,r=e.cy,i=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-i),s=i+a,l=e.startAngle,u=e.endAngle,c=e.clockwise,d=2*Math.PI,h=c?u-l<d:l-u<d;h||(l=u-(c?d:-d));var f=Math.cos(l),p=Math.sin(l),g=Math.cos(u),y=Math.sin(u);h?(t.moveTo(f*i+n,p*i+r),t.arc(f*s+n,p*s+r,a,-Math.PI+l,l,!c)):t.moveTo(f*o+n,p*o+r),t.arc(n,r,o,l,u,!c),t.arc(g*s+n,y*s+r,a,u-2*Math.PI,u-Math.PI,!c),0!==i&&t.arc(n,r,i,u,l,c)},e}(_u);function DC(t,e){var n=(e=e||{}).isRoundCap;return function(e,r,i){var o=r.position;if(!o||o instanceof Array)return Io(e,r,i);var a=t(o),s=null!=r.distance?r.distance:5,l=this.shape,u=l.cx,c=l.cy,d=l.r,h=l.r0,f=(d+h)/2,p=l.startAngle,g=l.endAngle,y=(p+g)/2,m=n?Math.abs(d-h)/2:0,v=Math.cos,b=Math.sin,x=u+d*v(p),_=c+d*b(p),w="left",S="top";switch(a){case"startArc":x=u+(h-s)*v(y),_=c+(h-s)*b(y),w="center",S="top";break;case"insideStartArc":x=u+(h+s)*v(y),_=c+(h+s)*b(y),w="center",S="bottom";break;case"startAngle":x=u+f*v(p)+CC(p,s+m,!1),_=c+f*b(p)+OC(p,s+m,!1),w="right",S="middle";break;case"insideStartAngle":x=u+f*v(p)+CC(p,-s+m,!1),_=c+f*b(p)+OC(p,-s+m,!1),w="left",S="middle";break;case"middle":x=u+f*v(y),_=c+f*b(y),w="center",S="middle";break;case"endArc":x=u+(d+s)*v(y),_=c+(d+s)*b(y),w="center",S="bottom";break;case"insideEndArc":x=u+(d-s)*v(y),_=c+(d-s)*b(y),w="center",S="top";break;case"endAngle":x=u+f*v(g)+CC(g,s+m,!0),_=c+f*b(g)+OC(g,s+m,!0),w="left",S="middle";break;case"insideEndAngle":x=u+f*v(g)+CC(g,-s+m,!0),_=c+f*b(g)+OC(g,-s+m,!0),w="right",S="middle";break;default:return Io(e,r,i)}return(e=e||{}).x=x,e.y=_,e.align=w,e.verticalAlign=S,e}}function TC(t,e,n,r){if(nt(r))t.setTextConfig({rotation:r});else if(J(e))t.setTextConfig({rotation:0});else{var i,o=t.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,l=(a+s)/2,u=n(e);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":i=l;break;case"startAngle":case"insideStartAngle":i=a;break;case"endAngle":case"insideEndAngle":i=s;break;default:return void t.setTextConfig({rotation:0})}var c=1.5*Math.PI-i;"middle"===u&&c>Math.PI/2&&c<1.5*Math.PI&&(c-=Math.PI),t.setTextConfig({rotation:c})}}function CC(t,e,n){return e*Math.sin(t)*(n?-1:1)}function OC(t,e,n){return e*Math.cos(t)*(n?1:-1)}function PC(t,e,n){var r=t.get("borderRadius");if(null==r)return n?{cornerRadius:0}:null;J(r)||(r=[r,r,r,r]);var i=Math.abs(e.r||0-e.r0||0);return{cornerRadius:W(r,(function(t){return Mo(t,i)}))}}var kC=Math.max,$C=Math.min;function EC(t,e){var n=t.getArea&&t.getArea();if(QT(t,"cartesian2d")){var r=t.getBaseAxis();if("category"!==r.type||!r.onBand){var i=e.getLayout("bandWidth");r.isHorizontal()?(n.x-=i,n.width+=2*i):(n.y-=i,n.height+=2*i)}}return n}var LC=function(t){function e(){var n=t.call(this)||this;return n.type=e.type,n._isFirstFrame=!0,n}return i(e,t),e.prototype.render=function(t,e,n,r){this._model=t,this._removeOnRenderedListener(n),this._updateDrawMode(t);var i=t.get("coordinateSystem");"cartesian2d"===i||"polar"===i?(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n,r)):Ea("Only cartesian2d and polar supported for bar.")},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,e){this._progressiveEls=[],this._incrementalRenderLarge(t,e)},e.prototype.eachRendered=function(t){xf(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t,e,n,r){var i,o=this.group,a=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?i=u.isHorizontal():"polar"===l.type&&(i="angle"===u.dim);var c=t.isAnimationEnabled()?t:null,d=FC(t,l);d&&this._enableRealtimeSort(d,a,n);var h=t.get("clip",!0)||d,f=EC(l,a);o.removeClipPath();var p=t.get("roundCap",!0),g=t.get("showBackground",!0),y=t.getModel("backgroundStyle"),m=y.get("borderRadius")||0,v=[],b=this._backgroundEls,x=r&&r.isInitSort,_=r&&"changeAxisOrder"===r.type;function w(t){var e=WC[l.type](a,t),n=eO(l,i,e);return n.useStyle(y.getItemStyle()),"cartesian2d"===l.type?n.setShape("r",m):n.setShape("cornerRadius",m),v[t]=n,n}a.diff(s).add((function(e){var n=a.getItemModel(e),r=WC[l.type](a,e,n);if(g&&w(e),a.hasValue(e)&&HC[l.type](r)){var s=!1;h&&(s=NC[l.type](f,r));var y=RC[l.type](t,a,e,r,i,c,u.model,!1,p);d&&(y.forceLabelAnimation=!0),UC(y,a,e,n,r,t,i,"polar"===l.type),x?y.attr({shape:r}):d?BC(d,c,y,r,e,i,!1,!1):Lh(y,{shape:r},t,e),a.setItemGraphicEl(e,y),o.add(y),y.ignore=s}})).update((function(e,n){var r=a.getItemModel(e),S=WC[l.type](a,e,r);if(g){var M=void 0;0===b.length?M=w(n):((M=b[n]).useStyle(y.getItemStyle()),"cartesian2d"===l.type?M.setShape("r",m):M.setShape("cornerRadius",m),v[e]=M);var I=WC[l.type](a,e);Eh(M,{shape:tO(i,I,l)},c,e)}var A=s.getItemGraphicEl(n);if(a.hasValue(e)&&HC[l.type](S)){var D=!1;if(h&&(D=NC[l.type](f,S))&&o.remove(A),A?jh(A):A=RC[l.type](t,a,e,S,i,c,u.model,!!A,p),d&&(A.forceLabelAnimation=!0),_){var T=A.getTextContent();if(T){var C=Nf(T);null!=C.prevValue&&(C.prevValue=C.value)}}else UC(A,a,e,r,S,t,i,"polar"===l.type);x?A.attr({shape:S}):d?BC(d,c,A,S,e,i,!0,_):Eh(A,{shape:S},t,e,null),a.setItemGraphicEl(e,A),A.ignore=D,o.add(A)}else o.remove(A)})).remove((function(e){var n=s.getItemGraphicEl(e);n&&Bh(n,t,e)})).execute();var S=this._backgroundGroup||(this._backgroundGroup=new Bo);S.removeAll();for(var M=0;M<v.length;++M)S.add(v[M]);o.add(S),this._backgroundEls=v,this._data=a},e.prototype._renderLarge=function(t,e,n){this._clear(),KC(t,this.group),this._updateLargeClip(t)},e.prototype._incrementalRenderLarge=function(t,e){this._removeBackground(),KC(e,this.group,this._progressiveEls,!0)},e.prototype._updateLargeClip=function(t){var e=t.get("clip",!0)&&JT(t.coordinateSystem,!1,t),n=this.group;e?n.setClipPath(e):n.removeClipPath()},e.prototype._enableRealtimeSort=function(t,e,n){var r=this;if(e.count()){var i=t.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(e,t,n),this._isFirstFrame=!1;else{var o=function(t){var n=e.getItemGraphicEl(t),r=n&&n.shape;return r&&Math.abs(i.isHorizontal()?r.height:r.width)||0};this._onRendered=function(){r._updateSortWithinSameData(e,o,i,n)},n.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(t,e,n){var r=[];return t.each(t.mapDimension(e.dim),(function(t,e){var i=n(e);i=null==i?NaN:i,r.push({dataIndex:e,mappedValue:i,ordinalNumber:t})})),r.sort((function(t,e){return e.mappedValue-t.mappedValue})),{ordinalNumbers:W(r,(function(t){return t.ordinalNumber}))}},e.prototype._isOrderChangedWithinSameData=function(t,e,n){for(var r=n.scale,i=t.mapDimension(n.dim),o=Number.MAX_VALUE,a=0,s=r.getOrdinalMeta().categories.length;a<s;++a){var l=t.rawIndexOf(i,r.getRawOrdinalNumber(a)),u=l<0?Number.MIN_VALUE:e(t.indexOfRawIndex(l));if(u>o)return!0;o=u}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,r=n.getExtent(),i=Math.max(0,r[0]),o=Math.min(r[1],n.getOrdinalMeta().categories.length-1);i<=o;++i)if(t.ordinalNumbers[i]!==n.getRawOrdinalNumber(i))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,r){if(this._isOrderChangedWithinSameData(t,e,n)){var i=this._dataSort(t,n,e);this._isOrderDifferentInView(i,n)&&(this._removeOnRenderedListener(r),r.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:i}))}},e.prototype._dispatchInitSort=function(t,e,n){var r=e.baseAxis,i=this._dataSort(t,r,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:r.dim+"Axis",isInitSort:!0,axisId:r.index,sortInfo:i})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackgroun
vendor: 4,614 bytes, line 33
33d(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){Bh(e,t,Qu(e).dataIndex)}))):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(Zv),NC={cartesian2d:function(t,e){var n=e.width<0?-1:1,r=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),r<0&&(e.y+=e.height,e.height=-e.height);var i=t.x+t.width,o=t.y+t.height,a=kC(e.x,t.x),s=$C(e.x+e.width,i),l=kC(e.y,t.y),u=$C(e.y+e.height,o),c=s<a,d=u<l;return e.x=c&&a>i?s:a,e.y=d&&l>o?u:l,e.width=c?0:s-a,e.height=d?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),r<0&&(e.y+=e.height,e.height=-e.height),c||d},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var r=e.r;e.r=e.r0,e.r0=r}var i=$C(e.r,t.r),o=kC(e.r0,t.r0);e.r=i,e.r0=o;var a=i-o<0;return n<0&&(r=e.r,e.r=e.r0,e.r0=r),a}},RC={cartesian2d:function(t,e,n,r,i,o,a,s,l){var u=new Lu({shape:N({},r),z2:1});return u.__dataIndex=n,u.name="item",o&&(u.shape[i?"height":"width"]=0),u},polar:function(t,e,n,r,i,o,a,s,l){var u=!i&&l?AC:nh,c=new u({shape:r,z2:1});c.name="item";var d=YC(i);if(c.calculateTextPosition=DC(d,{isRoundCap:u===AC}),o){var h=i?"r":"endAngle",f={};c.shape[h]=i?r.r0:r.startAngle,f[h]=r[h],(s?Eh:Lh)(c,{shape:f},o)}return c}};function FC(t,e){var n=t.get("realtimeSort",!0),r=e.getBaseAxis();if(n&&("category"!==r.type&&Ea("`realtimeSort` will not work because this bar series is not based on a category axis."),"cartesian2d"!==e.type&&Ea("`realtimeSort` will not work because this bar series is not on cartesian2d.")),n&&"category"===r.type&&"cartesian2d"===e.type)return{baseAxis:r,otherAxis:e.getOtherAxis(r)}}function BC(t,e,n,r,i,o,a,s){var l,u;o?(u={x:r.x,width:r.width},l={y:r.y,height:r.height}):(u={y:r.y,height:r.height},l={x:r.x,width:r.width}),s||(a?Eh:Lh)(n,{shape:l},e,i,null),(a?Eh:Lh)(n,{shape:u},e?t.baseAxis.model:null,i)}function jC(t,e){for(var n=0;n<e.length;n++)if(!isFinite(t[e[n]]))return!0;return!1}var zC=["x","y","width","height"],VC=["cx","cy","r","startAngle","endAngle"],HC={cartesian2d:function(t){return!jC(t,zC)},polar:function(t){return!jC(t,VC)}},WC={cartesian2d:function(t,e,n){var r=t.getItemLayout(e),i=n?ZC(n,r):0,o=r.width>0?1:-1,a=r.height>0?1:-1;return{x:r.x+o*i/2,y:r.y+a*i/2,width:r.width-o*i,height:r.height-a*i}},polar:function(t,e,n){var r=t.getItemLayout(e);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function GC(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}function YC(t){return function(t){var e=t?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(t)}function UC(t,e,n,r,i,o,a,s){var l=e.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var u=t.shape;N(u,PC(r.getModel("itemStyle"),u,!0)),t.setShape(u)}}else{var c=r.get(["itemStyle","borderRadius"])||0;t.setShape("r",c)}t.useStyle(l);var d=r.getShallow("cursor");d&&t.attr("cursor",d);var h=s?a?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":a?i.height>=0?"bottom":"top":i.width>=0?"right":"left",f=Af(r);If(t,f,{labelFetcher:o,labelDataIndex:n,defaultText:CT(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:h});var p=t.getTextContent();if(s&&p){var g=r.get(["label","position"]);t.textConfig.inside="middle"===g||null,TC(t,"outside"===g?h:g,YC(a),r.get(["label","rotate"]))}Rf(p,f,o.getRawValue(n),(function(t){return OT(e,t)}));var y=r.getModel(["emphasis"]);ed(t,y.get("focus"),y.get("blurScope"),y.get("disabled")),od(t,r),GC(i)&&(t.style.fill="none",t.style.stroke="none",H(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}function ZC(t,e){var n=t.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var r=t.get(["itemStyle","borderWidth"])||0,i=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),o=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(r,i,o)}var XC=function(){function t(){}return t}(),qC=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return i(e,t),e.prototype.getDefaultShape=function(){return new XC},e.prototype.buildPath=function(t,e){for(var n=e.points,r=this.baseDimIdx,i=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l<n.length;l+=3)a[r]=s,a[i]=n[l+2],o[r]=n[l+r],o[i]=n[l+i],t.rect(o[0],o[1],a[0],a[1])},e}(_u);function KC(t,e,n,r){var i=t.getData(),o=i.getLayout("valueAxisHorizontal")?1:0,a=i.getLayout("largeDataIndices"),s=i.getLayout("size"),l=t.getModel("backgroundStyle"),u=i.getLayout("largeBackgroun
33dPoints");if(u){var c=new qC({shape:{points:u},incremental:!!r,silent:!0,z2:0});c.baseDimIdx=o,c.largeDataIndices=a,c.barWidth=s,c.useStyle(l.getItemStyle()),e.add(c),n&&n.push(c)}var d=new qC({shape:{points:i.getLayout("largePoints")},incremental:!!r,ignoreCoarsePointer:!0,z2:1});d.baseDimIdx=o,d.largeDataIndices=a,d.barWidth=s,e.add(d),d.useStyle(i.getVisual("style")),Qu(d).seriesIndex=t.seriesIndex,t.get("silent")||(d.on("mousedown",JC),d.on("mousemove",JC)),n&&n.push(d)}var JC=rb((function(t){var e=this,n=QC(e,t.offsetX,t.offsetY);Qu(e).dataIndex=n>=0?n:null}),30,!1);function QC(t,e,n){for(var r=t.baseDimIdx,i=1-r,o=t.shape.points,a=t.largeDataIndices,s=[],l=[],u=t.barWidth,c=0,d=o.length/3;c<d;c++){var h=3*c;if(l[r]=u,l[i]=o[h+2],s[r]=o[h+r],s[i]=o[h+i],l[i]<0&&(s[i]+=l[i],l[i]=-l[i]),e>=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[c]}return-1}function tO(t,e,n){if(QT(n,"cartesian2d")){var r=e,i=n.getArea();return{x:t?r.x:i.x,y:t?i.y:r.y,width:t?r.width:i.width,height:t?i.height:r.height}}var o=e;return{cx:(i=n.getArea()).cx,cy:i.cy,r0:t?i.r0:o.r0,r:t?i.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}function eO(t,e,n){return new("polar"===t.type?nh:Lu)({shape:tO(e,n,t),silent:!0,z2:0})}function nO(t){t.registerChartView(LC),t.registerSeriesModel(MC),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,K(hM,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,fM("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,_C("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},(function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},(function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)}))}))}var rO=2*Math.PI,iO=Math.PI/180;function oO(t,e){return dg(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function aO(t,e){var n=oO(t,e),r=t.get("center"),i=t.get("radius");J(i)||(i=[0,i]);var o,a,s=oa(n.width,e.getWidth()),l=oa(n.height,e.getHeight()),u=Math.min(s,l),c=oa(i[0],u/2),d=oa(i[1],u/2),h=t.coordinateSystem;if(h){var f=h.dataToPoint(r);o=f[0]||0,a=f[1]||0}else J(r)||(r=[r,r]),o=oa(r[0],s)+n.x,a=oa(r[1],l)+n.y;return{cx:o,cy:a,r0:c,r:d}}function sO(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),r=e.mapDimension("value"),i=oO(t,n),o=aO(t,n),a=o.cx,s=o.cy,l=o.r,u=o.r0,c=-t.get("startAngle")*iO,d=t.get("endAngle"),h=t.get("padAngle")*iO;d="auto"===d?c-rO:-d*iO;var f=t.get("minAngle")*iO+h,p=0;e.each(r,(function(t){!isNaN(t)&&p++}));var g=e.getSum(r),y=Math.PI/(g||p)*2,m=t.get("clockwise"),v=t.get("roseType"),b=t.get("stillShowZeroSum"),x=e.getDataExtent(r);x[0]=0;var _=m?1:-1,w=[c,d],S=_*h/2;Xl(w,!m),c=w[0],d=w[1];var M=lO(t);M.startAngle=c,M.endAngle=d,M.clockwise=m;var I=Math.abs(d-c),A=I,D=0,T=c;if(e.setLayout({viewRect:i,r:l}),e.each(r,(function(t,n){var r;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:m,cx:a,cy:s,r0:u,r:v?NaN:l});else{(r="area"!==v?0===g&&b?y:t*y:I/p)<f?(r=f,A-=f):D+=t;var i=T+_*r,o=0,c=0;h>r?c=o=T+_*r/2:(o=T+S,c=i-S),e.setItemLayout(n,{angle:r,startAngle:o,endAngle:c,clockwise:m,cx:a,cy:s,r0:u,r:v?ia(t,x,[u,l]):l}),T=i}})),A<rO&&p)if(A<=.001){var C=I/p;e.each(r,(function(t,n){if(!isNaN(t)){var r=e.getItemLayout(n);r.angle=C;var i=0,o=0;C<h?o=i=c+_*(n+.5)*C:(i=c+_*n*C+S,o=c+_*(n+1)*C-S),r.startAngle=i,r.endAngle=o}}))}else y=A/D,T=c,e.each(r,(function(t,n){if(!isNaN(t)){var r=e.getItemLayout(n),i=r.angle===f?f:t*y,o=0,a=0;i<h?a=o=T+_*i/2:(o=T+S,a=T+_*i-S),r.startAngle=o,r.endAngle=a,T+=_*i}}))}))}var lO=fs();function uO(t){return{seriesType:t,reset:function(t,e){var n=e.findComponents({mainType:"legend"});if(n&&n.length){var r=t.getData();r.filterSelf((function(t){for(var e=r.getName(t),i=0;i<n.length;i++)if(!n[i].isSelected(e))return!1;return!0}))}}}}var cO=Math.PI/180;function dO(t,e,n,r,i,o,a,s,l,u){if(!(t.length<2)){for(var c=t.length,d=0;d<c;d++)if("outer"===t[d].position&&"labelLine"===t[d].labelAlignTo){var h=t[d].label.x-u;t[d].linePoints[1][0]+=h,t[d].label.x=u}DA(t,l,l+a)&&p(t)}function f(t){for(var o=t.rB,a=o*o,s=0;s<t.list.length;
vendor: 26,328 bytes, line 33
33s++){var l=t.list[s],u=Math.abs(l.label.y-n),c=r+l.len,d=c*c,h=Math.sqrt((1-Math.abs(u*u/a))*d),f=e+(h+l.len2)*i,p=f-l.label.x;fO(l,l.targetTextWidth-p*i,!0),l.label.x=f}}function p(t){for(var o={list:[],maxY:0},a={list:[],maxY:0},s=0;s<t.length;s++)if("none"===t[s].labelAlignTo){var l=t[s],u=l.label.y>n?a:o,c=Math.abs(l.label.y-n);if(c>=u.maxY){var d=l.label.x-e-l.len2*i,h=r+l.len,p=Math.abs(d)<h?Math.sqrt(c*c/(1-d*d/h/h)):h;u.rB=p,u.maxY=c}u.list.push(l)}f(o),f(a)}}function hO(t,e,n,r,i,o,a,s){for(var l=[],u=[],c=Number.MAX_VALUE,d=-Number.MAX_VALUE,h=0;h<t.length;h++){var f=t[h].label;pO(t[h])||(f.x<e?(c=Math.min(c,f.x),l.push(t[h])):(d=Math.max(d,f.x),u.push(t[h])))}for(h=0;h<t.length;h++)if(!pO(y=t[h])&&y.linePoints){if(null!=y.labelStyleWidth)continue;f=y.label;var p=y.linePoints,g=void 0;g="edge"===y.labelAlignTo?f.x<e?p[2][0]-y.labelDistance-a-y.edgeDistance:a+i-y.edgeDistance-p[2][0]-y.labelDistance:"labelLine"===y.labelAlignTo?f.x<e?c-a-y.bleedMargin:a+i-d-y.bleedMargin:f.x<e?f.x-a-y.bleedMargin:a+i-f.x-y.bleedMargin,y.targetTextWidth=g,fO(y,g)}for(dO(u,e,n,r,1,i,o,a,s,d),dO(l,e,n,r,-1,i,o,a,s,c),h=0;h<t.length;h++){var y;if(!pO(y=t[h])&&y.linePoints){f=y.label,p=y.linePoints;var m="edge"===y.labelAlignTo,v=f.style.padding,b=v?v[1]+v[3]:0,x=f.style.backgroundColor?0:b,_=y.rect.width+x,w=p[1][0]-p[2][0];m?f.x<e?p[2][0]=a+y.edgeDistance+_+y.labelDistance:p[2][0]=a+i-y.edgeDistance-_-y.labelDistance:(f.x<e?p[2][0]=f.x+y.labelDistance:p[2][0]=f.x-y.labelDistance,p[1][0]=p[2][0]+w),p[1][1]=p[2][1]=f.y}}}function fO(t,e,n){if(void 0===n&&(n=!1),null==t.labelStyleWidth){var r=t.label,i=r.style,o=t.rect,a=i.backgroundColor,s=i.padding,l=s?s[1]+s[3]:0,u=i.overflow,c=o.width+(a?0:l);if(e<c||n){var d=o.height;if(u&&u.match("break")){r.setStyle("backgroundColor",null),r.setStyle("width",e-l);var h=r.getBoundingRect();r.setStyle("width",Math.ceil(h.width)),r.setStyle("backgroundColor",a)}else{var f=e-l,p=e<c?f:n?f>t.unconstrainedWidth?null:f:null;r.setStyle("width",p)}var g=r.getBoundingRect();o.width=g.width;var y=(r.style.margin||0)+2.1;o.height=g.height+y,o.y-=(o.height-d)/2}}}function pO(t){return"center"===t.position}function gO(t){var e,n,r=t.getData(),i=[],o=!1,a=(t.get("minShowLabelAngle")||0)*cO,s=r.getLayout("viewRect"),l=r.getLayout("r"),u=s.width,c=s.x,d=s.y,h=s.height;function f(t){t.ignore=!0}function p(t){if(!t.ignore)return!0;for(var e in t.states)if(!1===t.states[e].ignore)return!0;return!1}r.each((function(t){var s=r.getItemGraphicEl(t),d=s.shape,h=s.getTextContent(),g=s.getTextGuideLine(),y=r.getItemModel(t),m=y.getModel("label"),v=m.get("position")||y.get(["emphasis","label","position"]),b=m.get("distanceToLabelLine"),x=m.get("alignTo"),_=oa(m.get("edgeDistance"),u),w=m.get("bleedMargin"),S=y.getModel("labelLine"),M=S.get("length");M=oa(M,u);var I=S.get("length2");if(I=oa(I,u),Math.abs(d.endAngle-d.startAngle)<a)return H(h.states,f),h.ignore=!0,void(g&&(H(g.states,f),g.ignore=!0));if(p(h)){var A,D,T,C,O=(d.startAngle+d.endAngle)/2,P=Math.cos(O),k=Math.sin(O);e=d.cx,n=d.cy;var $="inside"===v||"inner"===v;if("center"===v)A=d.cx,D=d.cy,C="center";else{var E=($?(d.r+d.r0)/2*P:d.r*P)+e,L=($?(d.r+d.r0)/2*k:d.r*k)+n;if(A=E+3*P,D=L+3*k,!$){var N=E+P*(M+l-d.r),R=L+k*(M+l-d.r),F=N+(P<0?-1:1)*I;A="edge"===x?P<0?c+_:c+u-_:F+(P<0?-b:b),D=R,T=[[E,L],[N,R],[F,R]]}C=$?"center":"edge"===x?P>0?"right":"left":P>0?"left":"right"}var B=Math.PI,j=0,z=m.get("rotate");if(nt(z))j=z*(B/180);else if("center"===v)j=0;else if("radial"===z||!0===z)j=P<0?-O+B:-O;else if("tangential"===z&&"outside"!==v&&"outer"!==v){var V=Math.atan2(P,k);V<0&&(V=2*B+V),k>0&&(V=B+V),j=V-B}if(o=!!j,h.x=A,h.y=D,h.rotation=j,h.setStyle({verticalAlign:"middle"}),$){h.setStyle({align:C});var W=h.states.select;W&&(W.x+=h.x,W.y+=h.y)}else{var G=h.getBoundingRect().clone();G.applyTransform(h.getComputedTransform());var Y=(h.style.margin||0)+2.1;G.y-=Y/2,G.height+=Y,i.push({label:h,labelLine:g,position:v,len:M,len2:I,minTurnAngle:S.get("minTurnAngle"),maxSurfaceAngle:S.get("maxSurfaceAngle"),surfaceNormal:new Ue(P,k),linePoints:T,textAlign:C,labelDistance:b,labelAlignTo:x,edgeDistance:_,bleedMargin:w,rect:G,unconstrainedWidth:G.width,labelStyleWidth:h.style.width})}s.setTextConfig({inside:$})}})),!o&&t.get("avoidLabelOverlap")&&hO(i,e,n,l,u,h,c,d);for(var g=0;g<i.length;g++){var y=i[g],m=y.label,v=y.labelLine,b=isNaN(m.x)||isNaN(m.y);if(m){m.setStyle({align:y.textAlign}),b&&(H(m.states,f),m.ignore=!0);var x=m.states.select;x&&(x.x+=m.x,x.y+=m.y)}if(v){var _=y.linePoints;b||!_?(H(v.states,f),v.ignore=!0):(vA(_,y.minTurnAngle),bA(_,y.surfaceNormal,y.maxSurfaceAngle),v.setShape({points:_}),m.__hostTarget.textGuideLineConfig={anchor:new Ue(_[0][0],_[0][1])})}}}var yO=function(t){function e(e,n,r){var i=t.call(this)||this;i.z2=2;var o=new Bu;return i.setTextContent(o),i.updateData(e,n,r,!0),i}return i(e,t),e.prototype.updateData=function(t,e,n,r){var i=this,o=t.hostModel,a=t.getItemModel(e),s=a.getModel("emphasis"),l=t.getItemLayout(e),u=N(PC(a.getModel("itemStyle"),l,!0),l);if(isNaN(u.startAngle))i.setShape(u);else{if(r){i.setShape(u);var c=o.getShallow("animationType");o.ecModel.ssr?(Lh(i,{scaleX:0,scaleY:0},o,{dataIndex:e,isFrom:!0}),i.originX=u.cx,i.originY=u.cy):"scale"===c?(i.shape.r=l.r0,Lh(i,{shape:{r:l.r}},o,e)):null!=n?(i.setShape({startAngle:n,endAngle:n}),Lh(i,{shape:{startAngle:l.startAngle,endAngle:l.endAngle}},o,e)):(i.shape.endAngle=l.startAngle,Eh(i,{shape:{endAngle:l.endAngle}},o,e))}else jh(i),Eh(i,{shape:u},o,e);i.useStyle(t.getItemVisual(e,"style")),od(i,a);var d=(l.startAngle+l.endAngle)/2,h=o.get("selectedOffset"),f=Math.cos(d)*h,p=Math.sin(d)*h,g=a.getShallow("cursor");g&&i.attr("cursor",g),this._updateLabel(o,t,e),i.ensureState("emphasis").shape=N({r:l.r+(s.get("scale")&&s.get("scaleSize")||0)},PC(s.getModel("itemStyle"),l)),N(i.ensureState("select"),{x:f,y:p,shape:PC(a.getModel(["select","itemStyle"]),l)}),N(i.ensureState("blur"),{shape:PC(a.getModel(["blur","itemStyle"]),l)});var y=i.getTextGuideLine(),m=i.getTextContent();y&&N(y.ensureState("select"),{x:f,y:p}),N(m.ensureState("select"),{x:f,y:p}),ed(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))}},e.prototype._updateLabel=function(t,e,n){var r=this,i=e.getItemModel(n),o=i.getModel("labelLine"),a=e.getItemVisual(n,"style"),s=a&&a.fill,l=a&&a.opacity;If(r,Af(i),{labelFetcher:e.hostModel,labelDataIndex:n,inheritColor:s,defaultOpacity:l,defaultText:t.getFormattedLabel(n,"normal")||e.getName(n)});var u=r.getTextContent();r.setTextConfig({position:null,rotation:null}),u.attr({z2:10});var c=t.get(["label","position"]);if("outside"!==c&&"outer"!==c)r.removeTextGuideLine();else{var d=this.getTextGuideLine();d||(d=new ch,this.setTextGuideLine(d)),wA(this,SA(i),{stroke:s,opacity:ft(o.get(["lineStyle","opacity"]),l,1)})}},e}(nh),mO=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ignoreLabelLineUpdate=!0,e}return i(e,t),e.prototype.render=function(t,e,n,r){var i,o=t.getData(),a=this._data,s=this.group;if(!a&&o.count()>0){for(var l=o.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u<o.count();++u)l=o.getItemLayout(u);l&&(i=l.startAngle)}if(this._emptyCircleSector&&s.remove(this._emptyCircleSector),0===o.count()&&t.get("showEmptyCircle")){var c=lO(t),d=new nh({shape:N(aO(t,n),c)});d.useStyle(t.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=d,s.add(d)}o.diff(a).add((function(t){var e=new yO(o,t,i);o.setItemGraphicEl(t,e),s.add(e)})).update((function(t,e){var n=a.getItemGraphicEl(e);n.updateData(o,t,i),n.off("click"),s.add(n),o.setItemGraphicEl(t,n)})).remove((function(e){Bh(a.getItemGraphicEl(e),t,e)})).execute(),gO(t),"expansion"!==t.get("animationTypeUpdate")&&(this._data=o)},e.prototype.dispose=function(){},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var r=t[0]-n.cx,i=t[1]-n.cy,o=Math.sqrt(r*r+i*i);return o<=n.r&&o>=n.r0}},e.type="pie",e}(Zv);function vO(t,e,n){e=J(e)&&{coordDimensions:e}||N({encodeDefine:t.getEncode()},e);var r=t.getSource(),i=xS(r,e).dimensions,o=new vS(i,t);return o.initData(r,n),o}var bO=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){return this._getRawData().indexOfName(t)>=0},t.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},t.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)},t}(),xO=fs(),_O=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new bO(q(this.getData,this),q(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return vO(this,{coordDimensions:["value"],encodeDefaulter:K(Rg,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),r=xO(n),i=r.seats;if(!i){var o=[];n.each(n.mapDimension("value"),(function(t){o.push(t)})),i=r.seats=ha(o,n.hostModel.get("percentPrecision"))}var a=t.prototype.getDataParams.call(this,e);return a.percent=i[e]||0,a.$vars.push("percent"),a},e.prototype._defaultLabelLine=function(t){Wa(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(Lv);function wO(t){return{seriesType:t,reset:function(t,e){var n=t.getData();n.filterSelf((function(t){var e=n.mapDimension("value"),r=n.get(e,t);return!(nt(r)&&!isNaN(r)&&r<0)}))}}}function SO(t){t.registerChartView(mO),t.registerSeriesModel(_O),Ub("pie",t.registerAction),t.registerLayout(K(sO,"pie")),t.registerProcessor(uO("pie")),t.registerProcessor(wO("pie"))}var MO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return i(e,t),e.prototype.getInitialData=function(t,e){return ES(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(Lv),IO=4,AO=function(){function t(){}return t}(),DO=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return i(e,t),e.prototype.getDefaultShape=function(){return new AO},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,e){var n,r=e.points,i=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&i[0]<IO,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n<r.length;){var c=r[n++],d=r[n++];isNaN(c)||isNaN(d)||u&&!u.contain(c,d)||(a.x=c-i[0]/2,a.y=d-i[1]/2,a.width=i[0],a.height=i[1],o.buildPath(t,a,!0))}this.incremental&&(this._off=n,this.notClear=!0)}},e.prototype.afterBrush=function(){var t,e=this.shape,n=e.points,r=e.size,i=this._ctx,o=this.softClipShape;if(i){for(t=this._off;t<n.length;){var a=n[t++],s=n[t++];isNaN(a)||isNaN(s)||o&&!o.contain(a,s)||i.fillRect(a-r[0]/2,s-r[1]/2,r[0],r[1])}this.incremental&&(this._off=t,this.notClear=!0)}},e.prototype.findDataIndex=function(t,e){for(var n=this.shape,r=n.points,i=n.size,o=Math.max(i[0],4),a=Math.max(i[1],4),s=r.length/2-1;s>=0;s--){var l=2*s,u=r[l]-o/2,c=r[l+1]-a/2;if(t>=u&&e>=c&&t<=u+o&&e<=c+a)return s}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),r=this.getBoundingRect();return t=n[0],e=n[1],r.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,r=e.size,i=r[0],o=r[1],a=1/0,s=1/0,l=-1/0,u=-1/0,c=0;c<n.length;){var d=n[c++],h=n[c++];a=Math.min(d,a),l=Math.max(d,l),s=Math.min(h,s),u=Math.max(h,u)}t=this._rect=new nn(a-i/2,s-o/2,l-a+i,u-s+o)}return t},e}(_u),TO=function(){function t(){this.group=new Bo}return t.prototype.updateData=function(t,e){this._clear();var n=this._create();n.setShape({points:t.getLayout("points")}),this._setCommon(n,t,e)},t.prototype.updateLayout=function(t){var e=t.getLayout("points");this.group.eachChild((function(t){if(null!=t.startIndex){var n=2*(t.endIndex-t.startIndex),r=4*t.startIndex*2;e=new Float32Array(e.buffer,r,n)}t.setShape("points",e),t.reset()}))},t.prototype.incrementalPrepareUpdate=function(t){this._clear()},t.prototype.incrementalUpdate=function(t,e,n){var r=this._newAdded[0],i=e.getLayout("points"),o=r&&r.shape.points;if(o&&o.length<2e4){var a=o.length,s=new Float32Array(a+i.length);s.set(o),s.set(i,a),r.endIndex=t.end,r.setShape({points:s})}else{this._newAdded=[];var l=this._create();l.startIndex=t.start,l.endIndex=t.end,l.incremental=!0,l.setShape({points:i}),this._setCommon(l,e,n)}},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new DO({cursor:"default"});return t.ignoreCoarsePointer=!0,this.group.add(t),this._newAdded.push(t),t},t.prototype._setCommon=function(t,e,n){var r=e.hostModel;n=n||{};var i=e.getVisual("symbolSize");t.setShape("size",i instanceof Array?i:[i,i]),t.softClipShape=n.clipShape||null,t.symbolProxy=lx(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<IO;t.useStyle(r.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var a=e.getVisual("style"),s=a&&a.fill;s&&t.setColor(s);var l=Qu(t);l.seriesIndex=r.seriesIndex,t.on("mousemove",(function(e){l.dataIndex=null;var n=t.hoverDataIdx;n>=0&&(l.dataIndex=n+(t.startIndex||0))}))},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),CO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){var r=t.getData();this._updateSymbolDraw(r,t).updateData(r,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var r=t.getData();this._updateSymbolDraw(r,t).incrementalPrepareUpdate(r),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var r=t.getData();if(this.group.dirty(),!this._finished||r.count()>1e4)return{update:!0};var i=vC("").reset(t,e,n);i.progress&&i.progress({start:0,end:r.count(),count:r.count()},r),this._symbolDraw.updateLayout(r)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){if(t.get("clip",!0)){var e=t.coordinateSystem;return e&&e.getArea&&e.getArea(.1)}},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,r=e.pipelineContext.large;return n&&r===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=r?new TO:new NT,this._isLargeDraw=r,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(Zv),OO=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(bg),PO=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",ms).models[0]},e.type="cartesian2dAxis",e}(bg);z(PO,nI);var kO={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},$O=E({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},kO),EO=E({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},kO),LO=E({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},EO),NO=R({logBase:10},EO),RO={category:$O,value:EO,time:LO,log:NO},FO={value:1,category:1,time:1,log:1};function BO(t,e,n,r){H(FO,(function(o,a){var s=E(E({},RO[a],!0),r,!0),l=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+a,n}return i(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=pg(this),r=n?yg(t):{};E(t,e.getTheme().get(a+"Axis")),E(t,this.getDefaultOption()),t.type=jO(t),n&&gg(t,r,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=BS.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=e+"Axis."+a,n.defaultOption=s,n}(n);t.registerComponentModel(l)})),t.registerSubTypeDefaulter(e+"Axis",jO)}function jO(t){return t.type||(t.data?"category":"value")}var zO=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return W(this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),Y(this.getAxes(),(function(e){return e.scale.type===t}))},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),VO=["x","y"];function HO(t){return"interval"===t.type||"time"===t.type}var WO=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=VO,e}return i(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(HO(t)&&HO(e)){var n=t.getExtent(),r=e.getExtent(),i=this.dataToPoint([n[0],r[0]]),o=this.dataToPoint([n[1],r[1]]),a=n[1]-n[0],s=r[1]-r[0];if(a&&s){var l=(o[0]-i[0])/a,u=(o[1]-i[1])/s,c=i[0]-n[0]*l,d=i[1]-r[0]*u,h=this._transform=[l,0,0,u,c,d];this._invTransform=We([],h)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var n=this.dataToPoint(t),r=this.dataToPoint(e),i=this.getArea(),o=new nn(n[0],n[1],r[0]-n[0],r[1]-n[1]);return i.intersect(o)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var r=t[0],i=t[1];if(this._transform&&null!=r&&isFinite(r)&&null!=i&&isFinite(i))return ee(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(r,e)),n[1]=a.toGlobalCoord(a.dataToCoord(i,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,r=this.getAxis("y").scale,i=n.getExtent(),o=r.getExtent(),a=n.parse(t[0]),s=r.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(i[0],i[1]),a),Math.max(i[0],i[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return ee(n,t,this._invTransform);var r=this.getAxis("x"),i=this.getAxis("y");return n[0]=r.coordToData(r.toLocalCoord(t[0]),e),n[1]=i.coordToData(i.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(t){t=t||0;var e=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),r=Math.min(e[0],e[1])-t,i=Math.min(n[0],n[1])-t,o=Math.max(e[0],e[1])-r+t,a=Math.max(n[0],n[1])-i+t;return new nn(r,i,o,a)},e}(zO),GO=function(t){function e(e,n,r,i,o){var a=t.call(this,e,n,r)||this;return a.index=0,a.type=i||"value",a.position=o||"bottom",a}return i(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(UI);function YO(t,e,n){n=n||{};var r=t.coordinateSystem,i=e.axis,o={},a=i.getAxesOnZeroOf()[0],s=i.position,l=a?"onZero":s,u=i.dim,c=r.getRect(),d=[c.x,c.x+c.width,c.y,c.y+c.height],h={left:0,right:1,top:0,bottom:1,onZero:2},f=e.get("offset")||0,p="x"===u?[d[2]-f,d[3]+f]:[d[0]-f,d[1]+f];if(a){var g=a.toGlobalCoord(a.dataToCoord(0));p[h.onZero]=Math.max(Math.min(g,p[1]),p[0])}o.position=["y"===u?p[h[l]]:d[0],"x"===u?p[h[l]]:d[3]],o.rotation=Math.PI/2*("x"===u?0:1);var y={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=y[s],o.labelOffset=a?p[h[s]]-p[h.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),dt(n.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var m=e.get(["axisLabel","rotate"]);return o.labelRotate="top"===l?-m:m,o.z2=1,o}function UO(t){return"cartesian2d"===t.get("coordinateSystem")}function ZO(t){var e={xAxisModel:null,yAxisModel:null};return H(e,(function(n,r){var i=r.replace(/Model$/,""),o=t.getReferringComponents(i,ms).models[0];if(!o)throw new Error(i+' "'+ft(t.get(i+"Index"),t.get(i+"Id"),0)+'" not found');e[r]=o})),e}var XO=Math.log;function qO(t,e,n){var r=QS.prototype,i=r.getTicks.call(n),o=r.getTicks.call(n,!0),a=i.length-1,s=r.getInterval.call(n),l=HM(t,e),u=l.extent,c=l.fixMin,d=l.fixMax;if("log"===t.type){var h=XO(t.base);u=[XO(u[0])/h,XO(u[1])/h]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:a,fixMin:c,fixMax:d});var f=r.getExtent.call(t);c&&(u[0]=f[0]),d&&(u[1]=f[1]);var p=r.getInterval.call(t),g=u[0],y=u[1];if(c&&d)p=(y-g)/a;else if(c)for(y=u[0]+p*a;y<u[1]&&isFinite(y)&&isFinite(u[1]);)p=WS(p),y=u[0]+p*a;else if(d)for(g=u[1]-p*a;g>u[0]&&isFinite(g)&&isFinite(u[0]);)p=WS(p),g=u[1]-p*a;else{t.getTicks().length-1>a&&(p=WS(p));var m=p*a;(g=aa((y=Math.ceil(u[1]/p)*p)-m))<0&&u[0]>=0?(g=0,y=aa(m)):y>0&&u[1]<=0&&(y=0,g=-aa(m))}var v=(i[0].value-o[0].value)/s,b=(i[a].value-o[a].value)/s;r.setExtent.call(t,g+p*v,y+p*b),r.setInterval.call(t,p),(v||b)&&r.setNiceExtent.call(t,g+p,y-p);var x=r.getTicks.call(t);x[1]&&(!zS(p)||ua(x[1].value)>ua(p))&&Ea("The ticks may be not readable when set min: "+e.get("min")+", max: "+e.get("max")+" and alignTicks: true")}var KO=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=VO,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function r(t){var e,n=Z(t),r=n.length;if(r){for(var i=[],o=r-1;o>=0;o--){var a=t[+n[o]],s=a.model,l=a.scale;VS(l)&&s.get("alignTicks")&&null==s.get("interval")?i.push(a):(GM(l,s),VS(l)&&(e=a))}i.length&&(e||GM((e=i.pop()).scale,e.model),H(i,(function(t){qO(t.scale,t.model,e.scale)})))}}this._updateScale(t,this.model),r(n.x),r(n.y);var i={};H(n.x,(function(t){QO(n,"y",t,i)})),H(n.y,(function(t){QO(n,"x",t,i)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var r=t.getBoxLayoutParams(),i=!n&&t.get("containLabel"),o=dg(r,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){H(a,(function(t){var e=t.isHorizontal(),n=e?[0,o.width]:[0,o.height],r=t.inverse?1:0;t.setExtent(n[r],n[1-r]),eP(t,e?o.x:o.y)}))}s(),i&&(H(a,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=qM(t);if(e){var n=t.isHorizontal()?"height":"width",r=t.model.get(["axisLabel","margin"]);
vendor: 14,435 bytes, line 33
33o[n]-=e[n]+r,"top"===t.position?o.y+=e.height+r:"left"===t.position&&(o.x+=e.width+r)}}})),s()),H(this._coordsList,(function(t){t.calcAffineTransform()}))},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}rt(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var r=0,i=this._coordsList;r<i.length;r++)if(i[r].getAxis("x").index===t||i[r].getAxis("y").index===e)return i[r]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,n){var r=this._findConvertTarget(e);return r.cartesian?r.cartesian.dataToPoint(n):r.axis?r.axis.toGlobalCoord(r.axis.dataToCoord(n)):null},t.prototype.convertFromPixel=function(t,e,n){var r=this._findConvertTarget(e);return r.cartesian?r.cartesian.pointToData(n):r.axis?r.axis.coordToData(r.axis.toLocalCoord(n)):null},t.prototype._findConvertTarget=function(t){var e,n,r=t.seriesModel,i=t.xAxisModel||r&&r.getReferringComponents("xAxis",ms).models[0],o=t.yAxisModel||r&&r.getReferringComponents("yAxis",ms).models[0],a=t.gridModel,s=this._coordsList;return r?B(s,e=r.coordinateSystem)<0&&(e=null):i&&o?e=this.getCartesian(i.componentIndex,o.componentIndex):i?n=this.getAxis("x",i.componentIndex):o?n=this.getAxis("y",o.componentIndex):a&&a.coordinateSystem===this&&(e=this._coordsList[0]),{cartesian:e,axis:n}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,n){var r=this,i=this,o={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},s={x:0,y:0};if(e.eachComponent("xAxis",l("x"),this),e.eachComponent("yAxis",l("y"),this),!s.x||!s.y)return this._axesMap={},void(this._axesList=[]);function l(e){return function(n,r){if(JO(n,t)){var l=n.get("position");"x"===e?"top"!==l&&"bottom"!==l&&(l=o.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=o.left?"right":"left"),o[l]=!0;var u=new GO(e,YM(n),[0,0],n.get("type"),l),c="category"===u.type;u.onBand=c&&n.get("boundaryGap"),u.inverse=n.get("inverse"),n.axis=u,u.model=n,u.grid=i,u.index=r,i._axesList.push(u),a[e][r]=u,s[e]++}}}this._axesMap=a,H(a.x,(function(e,n){H(a.y,(function(i,o){var a="x"+n+"y"+o,s=new WO(a);s.master=r,s.model=t,r._coordsMap[a]=s,r._coordsList.push(s),s.addAxis(e),s.addAxis(i)}))}))},t.prototype._updateScale=function(t,e){function n(t,e){H(tI(t,e.dim),(function(n){e.scale.unionExtentFromData(t,n)}))}H(this._axesList,(function(t){if(t.scale.setExtent(1/0,-1/0),"category"===t.type){var e=t.model.get("categorySortInfo");t.scale.setSortInfo(e)}})),t.eachSeries((function(t){if(UO(t)){var r=ZO(t),i=r.xAxisModel,o=r.yAxisModel;if(!JO(i,e)||!JO(o,e))return;var a=this.getCartesian(i.componentIndex,o.componentIndex),s=t.getData(),l=a.getAxis("x"),u=a.getAxis("y");n(s,l),n(s,u)}}),this)},t.prototype.getTooltipAxes=function(t){var e=[],n=[];return H(this.getCartesians(),(function(r){var i=null!=t&&"auto"!==t?r.getAxis(t):r.getBaseAxis(),o=r.getOtherAxis(i);B(e,i)<0&&e.push(i),B(n,o)<0&&n.push(o)})),{baseAxes:e,otherAxes:n}},t.create=function(e,n){var r=[];return e.eachComponent("grid",(function(i,o){var a=new t(i,e,n);a.name="grid_"+o,a.resize(i,n,!0),i.coordinateSystem=a,r.push(a)})),e.eachSeries((function(t){if(UO(t)){var e=ZO(t),n=e.xAxisModel,r=e.yAxisModel,i=n.getCoordSysModel();if(!i)throw new Error('Grid "'+ft(n.get("gridIndex"),n.get("gridId"),0)+'" not found');if(n.getCoordSysModel()!==r.getCoordSysModel())throw new Error("xAxis and yAxis must use the same grid");var o=i.coordinateSystem;t.coordinateSystem=o.getCartesian(n.componentIndex,r.componentIndex)}})),r},t.dimensions=VO,t}();function JO(t,e){return t.getCoordSysModel()===e}function QO(t,e,n,r){n.getAxesOnZeroOf=function(){return i?[i]:[]};var i,o=t[e],a=n.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)tP(o[l])&&(i=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&tP(o[u])&&!r[c(o[u])]){i=o[u];break}i&&(r[c(i)]=!0)}function c(t){return t.dim+"_"+t.index}}function tP(t){return t&&"category"!==t.type&&"time"!==t.type&&UM(t)}function eP(t,e){var n=t.getExtent(),r=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return r-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return r-t+e}}var nP=Math.PI,rP=function(){function t(t,e){this.group=new Bo,this.opt=e,this.axisModel=t,R(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new Bo({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!iP[t]},t.prototype.add=function(t){iP[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var r,i,o=ga(e-t);return ya(o)?(i=n>0?"top":"bottom",r="center"):ya(o-nP)?(i=n>0?"bottom":"top",r="center"):(i="middle",r=o>0&&o<nP?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:r,textVerticalAlign:i}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),iP={axisLine:function(t,e,n,r){var i=e.get(["axisLine","show"]);if("auto"===i&&t.handleAutoShown&&(i=t.handleAutoShown("axisLine")),i){var o=e.axis.getExtent(),a=r.transform,s=[o[0],0],l=[o[1],0],u=s[0]>l[0];a&&(ee(s,s,a),ee(l,l,a));var c=N({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),d=new fh({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:c,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});ef(d.shape,d.style.lineWidth),d.anid="line",n.add(d);var h=e.get(["axisLine","symbol"]);if(null!=h){var f=e.get(["axisLine","symbolSize"]);tt(h)&&(h=[h,h]),(tt(f)||nt(f))&&(f=[f,f]);var p=cx(e.get(["axisLine","symbolOffset"])||0,f),g=f[0],y=f[1];H([{rotate:t.rotation+Math.PI/2,offset:p[0],r:0},{rotate:t.rotation-Math.PI/2,offset:p[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],(function(e,r){if("none"!==h[r]&&null!=h[r]){var i=lx(h[r],-g/2,-y/2,g,y,c.stroke,!0),o=e.r+e.offset,a=u?l:s;i.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(i)}}))}}},axisTickLabel:function(t,e,n,r){var i=dP(n,r,e,t),o=fP(n,r,e,t);aP(e,o,i),hP(n,r,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])&&TA(MA(W(o,(function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}}))))},axisName:function(t,e,n,r){var i=dt(t.axisName,e.get("name"));if(i){var o,a,s=e.get("nameLocation"),l=t.nameDirection,u=e.getModel("nameTextStyle"),c=e.get("nameGap")||0,d=e.axis.getExtent(),h=d[0]>d[1]?-1:1,f=["start"===s?d[0]-h*c:"end"===s?d[1]+h*c:(d[0]+d[1])/2,uP(s)?t.labelOffset+l*c:0],p=e.get("nameRotate");null!=p&&(p=p*nP/180),uP(s)?o=rP.innerTextLayout(t.rotation,null!=p?p:t.rotation,l):(o=oP(t.rotation,s,p||0,d),null!=(a=t.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var g=u.getFont(),y=e.get("nameTruncate",!0)||{},m=y.ellipsis,v=dt(t.nameTruncateMaxWidth,y.maxWidth,a),b=new Bu({x:f[0],y:f[1],rotation:o.rotation,silent:rP.isLabelSilent(e),style:Df(u,{text:i,font:g,overflow:"truncate",width:v,ellipsis:m,fill:u.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:u.get("align")||o.textAlign,verticalAlign:u.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(vf({el:b,componentModel:e,itemName:i}),b.__fullText=i,b.anid="name",e.get("triggerEvent")){var x=rP.makeAxisEventDataBase(e);x.targetType="axisName",x.name=i,Qu(b).eventData=x}r.add(b),b.updateTransform(),n.add(b),b.decomposeTransform()}}};function oP(t,e,n,r){var i,o,a=ga(n-t),s=r[0]>r[1],l="start"===e&&!s||"start"!==e&&s;return ya(a-nP/2)?(o=l?"bottom":"top",i="center"):ya(a-1.5*nP)?(o=l?"top":"bottom",i="center"):(o="middle",i=a<1.5*nP&&a>nP/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:i,textVerticalAlign:o}}function aP(t,e,n){if(!QM(t.axis)){var r=t.get(["axisLabel","showMinLabel"]),i=t.get(["axisLabel","showMaxLabel"]);n=n||[];var o=(e=e||[])[0],a=e[1],s=e[e.length-1],l=e[e.length-2],u=n[0],c=n[1],d=n[n.length-1],h=n[n.length-2];!1===r?(sP(o),sP(u)):lP(o,a)&&(r?(sP(a),sP(c)):(sP(o),sP(u))),!1===i?(sP(s),sP(d)):lP(l,s)&&(i?(sP(l),sP(h)):(sP(s),sP(d)))}}function sP(t){t&&(t.ignore=!0)}function lP(t,e){var n=t&&t.getBoundingRect().clone(),r=e&&e.getBoundingRect().clone();if(n&&r){var i=Fe([]);return Ve(i,i,-t.rotation),n.applyTransform(je([],i,t.getLocalTransform())),r.applyTransform(je([],i,e.getLocalTransform())),n.intersect(r)}}function uP(t){return"middle"===t||"center"===t}function cP(t,e,n,r,i){for(var o=[],a=[],s=[],l=0;l<t.length;l++){var u=t[l].coord;a[0]=u,a[1]=0,s[0]=u,s[1]=n,e&&(ee(a,a,e),ee(s,s,e));var c=new fh({shape:{x1:a[0],y1:a[1],x2:s[0],y2:s[1]},style:r,z2:2,autoBatch:!0,silent:!0});ef(c.shape,c.style.lineWidth),c.anid=i+"_"+t[l].tickValue,o.push(c)}return o}function dP(t,e,n,r){var i=n.axis,o=n.getModel("axisTick"),a=o.get("show");if("auto"===a&&r.handleAutoShown&&(a=r.handleAutoShown("axisTick")),a&&!i.scale.isBlank()){for(var s=o.getModel("lineStyle"),l=r.tickDirection*o.get("length"),u=cP(i.getTicksCoords(),e.transform,l,R(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),c=0;c<u.length;c++)t.add(u[c]);return u}}function hP(t,e,n,r){var i=n.axis,o=n.getModel("minorTick");if(o.get("show")&&!i.scale.isBlank()){var a=i.getMinorTicksCoords();if(a.length)for(var s=o.getModel("lineStyle"),l=r*o.get("length"),u=R(s.getLineStyle(),R(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),c=0;c<a.length;c++)for(var d=cP(a[c],e.transform,l,u,"minorticks_"+c),h=0;h<d.length;h++)t.add(d[h])}}function fP(t,e,n,r){var i=n.axis;if(dt(r.axisLabelShow,n.get(["axisLabel","show"]))&&!i.scale.isBlank()){var o=n.getModel("axisLabel"),a=o.get("margin"),s=i.getViewLabels(),l=(dt(r.labelRotate,o.get("rotate"))||0)*nP/180,u=rP.innerTextLayout(r.rotation,l,r.labelDirection),c=n.getCategories&&n.getCategories(!0),d=[],h=rP.isLabelSilent(n),f=n.get("triggerEvent");return H(s,(function(l,p){var g="ordinal"===i.scale.type?i.scale.getRawOrdinalNumber(l.tickValue):l.tickValue,y=l.formattedLabel,m=l.rawLabel,v=o;if(c&&c[g]){var b=c[g];rt(b)&&b.textStyle&&(v=new Xf(b.textStyle,o,n.ecModel))}var x=v.getTextColor()||n.get(["axisLine","lineStyle","color"]),_=i.dataToCoord(g),w=v.getShallow("align",!0)||u.textAlign,S=ht(v.getShallow("alignMinLabel",!0),w),M=ht(v.getShallow("alignMaxLabel",!0),w),I=v.getShallow("verticalAlign",!0)||v.getShallow("baseline",!0)||u.textVerticalAlign,A=ht(v.getShallow("verticalAlignMinLabel",!0),I),D=ht(v.getShallow("verticalAlignMaxLabel",!0),I),T=new Bu({x:_,y:r.labelOffset+r.labelDirection*a,rotation:u.rotation,silent:h,z2:10+(l.level||0),style:Df(v,{text:y,align:0===p?S:p===s.length-1?M:w,verticalAlign:0===p?A:p===s.length-1?D:I,fill:Q(x)?x("category"===i.type?m:"value"===i.type?g+"":g,p):x})});if(T.anid="label_"+g,f){var C=rP.makeAxisEventDataBase(n);C.targetType="axisLabel",C.value=m,C.tickIndex=p,"category"===i.type&&(C.dataIndex=g),Qu(T).eventData=C}e.add(T),T.updateTransform(),d.push(T),t.add(T),T.decomposeTransform()})),d}}function pP(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return gP(n,t,e),n.seriesInvolved&&mP(n,t),n}function gP(t,e,n){var r=e.getComponent("tooltip"),i=e.getComponent("axisPointer"),o=i.get("link",!0)||[],a=[];H(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var s=MP(n.model),l=t.coordSysAxesInfo[s]={};t.coordSysMap[s]=n;var u=n.model.getModel("tooltip",r);if(H(n.getAxes(),K(f,!1,null)),n.getTooltipAxes&&r&&u.get("show")){var c="axis"===u.get("trigger"),d="cross"===u.get(["axisPointer","type"]),h=n.getTooltipAxes(u.get(["axisPointer","axis"]));(c||d)&&H(h.baseAxes,K(f,!d||"cross",c)),d&&H(h.otherAxes,K(f,"cross",!1))}}function f(r,s,c){var d=c.model.getModel("axisPointer",i),h=d.get("show");if(h&&("auto"!==h||r||SP(d))){null==s&&(s=d.get("triggerTooltip"));var f=(d=r?yP(c,u,i,e,r,s):d).get("snap"),p=d.get("triggerEmphasis"),g=MP(c.model),y=s||f||"category"===c.type,m=t.axesInfo[g]={key:g,axis:c,coordSys:n,axisPointerModel:d,triggerTooltip:s,triggerEmphasis:p,involveSeries:y,snap:f,useHandle:SP(d),seriesModels:[],linkGroup:null};l[g]=m,t.seriesInvolved=t.seriesInvolved||y;var v=vP(o,c);if(null!=v){var b=a[v]||(a[v]={axesInfo:{}});b.axesInfo[g]=m,b.mapper=o[v].mapper,m.linkGroup=b}}}}))}function yP(t,e,n,r,i,o){var a=e.getModel("axisPointer"),s={};H(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(t){s[t]=$(a.get(t))})),s.snap="category"!==t.type&&!!o,"cross"===a.get("type")&&(s.type="line");var l=s.label||(s.label={});if(null==l.show&&(l.show=!1),"cross"===i){var u=a.get(["label","show"]);if(l.show=null==u||u,!o){var c=s.lineStyle=a.get("crossStyle");c&&R(l,c.textStyle)}}return t.model.getModel("axisPointer",new Xf(s,n,r))}function mP(t,e){e.eachSeries((function(e){var n=e.coordinateSystem,r=e.get(["tooltip","trigger"],!0),i=e.get(["tooltip","show"],!0);n&&"none"!==r&&!1!==r&&"item"!==r&&!1!==i&&!1!==e.get(["axisPointer","show"],!0)&&H(t.coordSysAxesInfo[MP(n.model)],(function(t){var r=t.axis;n.getAxis(r.dim)===r&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())}))}))}function vP(t,e){for(var n=e.model,r=e.dim,i=0;i<t.length;i++){var o=t[i]||{};if(bP(o[r+"AxisId"],n.id)||bP(o[r+"AxisIndex"],n.componentIndex)||bP(o[r+"AxisName"],n.name))return i}}function bP(t,e){return"all"===t||J(t)&&B(t,e)>=0||t===e}function xP(t){var e=_P(t);if(e){var n=e.axisPointerModel,r=e.axis.scale,i=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=r.parse(a));var s=SP(n);null==o&&(i.status=s?"show":"hide");var l=r.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a<l[0]&&(a=l[0]),i.value=a,s&&(i.status=e.axis.scale.isBlank()?"hide":"show")}}function _P(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[MP(t)]}function wP(t){var e=_P(t);return e&&e.axisPointerModel}function SP(t){return!!t.get(["handle","show"])}
vendor: 9,230 bytes, line 33
33function MP(t){return t.type+"||"+t.id}var IP={},AP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(e,n,r,i){this.axisPointerClass&&xP(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,r,!0)},e.prototype.updateAxisPointer=function(t,e,n,r){this._doUpdateAxisPointerClass(t,n,!1)},e.prototype.remove=function(t,e){var n=this._axisPointer;n&&n.remove(e)},e.prototype.dispose=function(e,n){this._disposeAxisPointer(n),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,n,r){var i=e.getAxisPointerClass(this.axisPointerClass);if(i){var o=wP(t);o?(this._axisPointer||(this._axisPointer=new i)).render(t,o,n,r):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){if(IP[t])throw new Error("axisPointer "+t+" exists");IP[t]=e},e.getAxisPointerClass=function(t){return t&&IP[t]},e.type="axis",e}(Wv),DP=fs();function TP(t,e,n,r){var i=n.axis;if(!i.scale.isBlank()){var o=n.getModel("splitArea"),a=o.getModel("areaStyle"),s=a.get("color"),l=r.coordinateSystem.getRect(),u=i.getTicksCoords({tickModel:o,clamp:!0});if(u.length){var c=s.length,d=DP(t).splitAreaColors,h=It(),f=0;if(d)for(var p=0;p<u.length;p++){var g=d.get(u[p].tickValue);if(null!=g){f=(g+(c-1)*p)%c;break}}var y=i.toGlobalCoord(u[0].coord),m=a.getAreaStyle();for(s=J(s)?s:[s],p=1;p<u.length;p++){var v=i.toGlobalCoord(u[p].coord),b=void 0,x=void 0,_=void 0,w=void 0;i.isHorizontal()?(b=y,x=l.y,_=v-b,w=l.height,y=b+_):(b=l.x,x=y,_=l.width,y=x+(w=v-x));var S=u[p-1].tickValue;null!=S&&h.set(S,f),e.add(new Lu({anid:null!=S?"area_"+S:null,shape:{x:b,y:x,width:_,height:w},style:R({fill:s[f]},m),autoBatch:!0,silent:!0})),f=(f+1)%c}DP(t).splitAreaColors=h}}}function CP(t){DP(t).splitAreaColors=null}var OP=["axisLine","axisTickLabel","axisName"],PP=["splitArea","splitLine","minorSplitLine"],kP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="CartesianAxisPointer",n}return i(e,t),e.prototype.render=function(e,n,r,i){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new Bo,this.group.add(this._axisGroup),e.get("show")){var a=e.getCoordSysModel(),s=YO(a,e),l=new rP(e,N({handleAutoShown:function(t){for(var n=a.coordinateSystem.getCartesians(),r=0;r<n.length;r++)if(VS(n[r].getOtherAxis(e.axis).scale))return!0;return!1}},s));H(OP,l.add,l),this._axisGroup.add(l.getGroup()),H(PP,(function(t){e.get([t,"show"])&&$P[t](this,this._axisGroup,e,a)}),this),i&&"changeAxisOrder"===i.type&&i.isInitSort||cf(o,this._axisGroup,e),t.prototype.render.call(this,e,n,r,i)}},e.prototype.remove=function(){CP(this)},e.type="cartesianAxis",e}(AP),$P={splitLine:function(t,e,n,r){var i=n.axis;if(!i.scale.isBlank()){var o=n.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=J(s)?s:[s];for(var l=r.coordinateSystem.getRect(),u=i.isHorizontal(),c=0,d=i.getTicksCoords({tickModel:o}),h=[],f=[],p=a.getLineStyle(),g=0;g<d.length;g++){var y=i.toGlobalCoord(d[g].coord);u?(h[0]=y,h[1]=l.y,f[0]=y,f[1]=l.y+l.height):(h[0]=l.x,h[1]=y,f[0]=l.x+l.width,f[1]=y);var m=c++%s.length,v=d[g].tickValue,b=new fh({anid:null!=v?"line_"+d[g].tickValue:null,autoBatch:!0,shape:{x1:h[0],y1:h[1],x2:f[0],y2:f[1]},style:R({stroke:s[m]},p),silent:!0});ef(b.shape,p.lineWidth),e.add(b)}}},minorSplitLine:function(t,e,n,r){var i=n.axis,o=n.getModel("minorSplitLine").getModel("lineStyle"),a=r.coordinateSystem.getRect(),s=i.isHorizontal(),l=i.getMinorTicksCoords();if(l.length)for(var u=[],c=[],d=o.getLineStyle(),h=0;h<l.length;h++)for(var f=0;f<l[h].length;f++){var p=i.toGlobalCoord(l[h][f].coord);s?(u[0]=p,u[1]=a.y,c[0]=p,c[1]=a.y+a.height):(u[0]=a.x,u[1]=p,c[0]=a.x+a.width,c[1]=p);var g=new fh({anid:"minor_line_"+l[h][f].tickValue,autoBatch:!0,shape:{x1:u[0],y1:u[1],x2:c[0],y2:c[1]},style:d,silent:!0});ef(g.shape,d.lineWidth),e.add(g)}},splitArea:function(t,e,n,r){TP(t,e,n,r)}},EP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="xAxis",e}(kP),LP=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=EP.type,e}return i(e,t),e.type="yAxis",e}(kP),NP=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return i(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new Lu({shape:t.coordinateSystem.getRect(),style:R({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(Wv),RP={offset:0};function FP(t){t.registerComponentView(NP),t.registerComponentModel(OO),t.registerCoordinateSystem("cartesian2d",KO),BO(t,"x",PO,RP),BO(t,"y",PO,RP),t.registerComponentView(EP),t.registerComponentView(LP),t.registerPreprocessor((function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})}))}function BP(t){zw(FP),t.registerSeriesModel(MO),t.registerChartView(CO),t.registerLayout(vC("scatter"))}function jP(t){t.eachSeriesByType("radar",(function(t){var e=t.getData(),n=[],r=t.coordinateSystem;if(r){var i=r.getIndicatorAxes();H(i,(function(t,o){e.each(e.mapDimension(i[o].dim),(function(t,e){n[e]=n[e]||[];var i=r.dataToPoint(t,o);n[e][o]=zP(i)?i:VP(r)}))})),e.each((function(t){var i=U(n[t],(function(t){return zP(t)}))||VP(r);n[t].push(i.slice()),e.setItemLayout(t,n[t])}))}}))}function zP(t){return!isNaN(t[0])&&!isNaN(t[1])}function VP(t){return[t.cx,t.cy]}function HP(t){var e=t.polar;if(e){J(e)||(e=[e]);var n=[];H(e,(function(e,r){e.indicator?(e.type&&!e.shape&&(e.shape=e.type),t.radar=t.radar||[],J(t.radar)||(t.radar=[t.radar]),t.radar.push(e)):n.push(e)})),t.polar=n}H(t.series,(function(t){t&&"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)}))}var WP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){var r=t.coordinateSystem,i=this.group,o=t.getData(),a=this._data;function s(t,e){var n=t.getItemVisual(e,"symbol")||"circle";if("none"!==n){var r=ux(t.getItemVisual(e,"symbolSize")),i=lx(n,-1,-1,2,2),o=t.getItemVisual(e,"symbolRotate")||0;return i.attr({style:{strokeNoScale:!0},z2:100,scaleX:r[0]/2,scaleY:r[1]/2,rotation:o*Math.PI/180||0}),i}}function l(e,n,r,i,o,a){r.removeAll();for(var l=0;l<n.length-1;l++){var u=s(i,o);u&&(u.__dimIdx=l,e[l]?(u.setPosition(e[l]),_f[a?"initProps":"updateProps"](u,{x:n[l][0],y:n[l][1]},t,o)):u.setPosition(n[l]),r.add(u))}}function u(t){return W(t,(function(t){return[r.cx,r.cy]}))}o.diff(a).add((function(e){var n=o.getItemLayout(e);if(n){var r=new lh,i=new ch,a={shape:{points:n}};r.shape.points=u(n),i.shape.points=u(n),Lh(r,a,t,e),Lh(i,a,t,e);var s=new Bo,c=new Bo;s.add(i),s.add(r),s.add(c),l(i.shape.points,n,c,o,e,!0),o.setItemGraphicEl(e,s)}})).update((function(e,n){var r=a.getItemGraphicEl(n),i=r.childAt(0),s=r.childAt(1),u=r.childAt(2),c={shape:{points:o.getItemLayout(e)}};c.shape.points&&(l(i.shape.points,c.shape.points,u,o,e,!1),jh(s),jh(i),Eh(i,c,t),Eh(s,c,t),o.setItemGraphicEl(e,r))})).remove((function(t){i.remove(a.getItemGraphicEl(t))})).execute(),o.eachItemGraphicEl((function(t,e){var n=o.getItemModel(e),r=t.childAt(0),a=t.childAt(1),s=t.childAt(2),l=o.getItemVisual(e,"style"),u=l.fill;i.add(t),r.useStyle(R(n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:u})),od(r,n,"lineStyle"),od(a,n,"areaStyle");var c=n.getModel("areaStyle"),d=c.isEmpty()&&c.parentModel.isEmpty();a.ignore=d,H(["emphasis","select","blur"],(function(t){var e=n.getModel([t,"areaStyle"]),r=e.isEmpty()&&e.parentModel.isEmpty();a.ensureState(t).ignore=r&&d})),a.useStyle(R(c.getAreaStyle(),{fill:u,opacity:.7,decal:l.decal}));var h=n.getModel("emphasis"),f=h.getModel("itemStyle").getItemStyle();s.eachChild((function(t){if(t instanceof Du){var r=t.style;t.useStyle(N({image:r.image,x:r.x,y:r.y,width:r.width,height:r.height},l))}else t.useStyle(l),t.setColor(u),t.style.strokeNoScale=!0;t.ensureState("emphasis").style=$(f);var i=o.getStore().get(o.getDimensionIndex(t.__dimIdx),e);(null==i||isNaN(i))&&(i=""),If(t,Af(n),{labelFetcher:o.hostModel,labelDataIndex:e,labelDimIndex:t.__dimIdx,defaultText:i,inheritColor:u,defaultOpacity:l.opacity})})),ed(t,h.get("focus"),h.get("blurScope"),h.get("disabled"))})),this._data=o},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.type="radar",e}(Zv),GP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return i(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new bO(q(this.getData,this),q(this.getRawData,this))},e.prototype.getInitialData=function(t,e){return vO(this,{generateCoord:"indicator_",generateCoordCount:1/0})},e.prototype.formatTooltip=function(t,e,n){var r=this.getData(),i=this.coordinateSystem.getIndicatorAxes(),o=this.getData().getName(t),a=""===o?this.name:o,s=Dv(this,t);return pv("section",{header:a,sortBlocks:!0,blocks:W(i,(function(e){var n=r.get(r.mapDimension(e.dim),t);return pv("nameValue",{markerType:"subItem",markerColor:s,name:e.name,value:n,sortParam
vendor: 4,945 bytes, line 33
33:n})}))})},e.prototype.getTooltipPosition=function(t){if(null!=t)for(var e=this.getData(),n=this.coordinateSystem,r=e.getValues(W(n.dimensions,(function(t){return e.mapDimension(t)})),t),i=0,o=r.length;i<o;i++)if(!isNaN(r[i])){var a=n.getIndicatorAxes();return n.coordToPoint(a[i].dataToCoord(r[i]),i)}},e.type="series.radar",e.dependencies=["radar"],e.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},e}(Lv),YP=RO.value;function UP(t,e){return R({show:e},t)}var ZP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.optionUpdated=function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),n=this.get("scale"),r=this.get("axisLine"),i=this.get("axisTick"),o=this.get("axisLabel"),a=this.get("axisName"),s=this.get(["axisName","show"]),l=this.get(["axisName","formatter"]),u=this.get("axisNameGap"),c=this.get("triggerEvent"),d=W(this.get("indicator")||[],(function(d){null!=d.max&&d.max>0&&!d.min?d.min=0:null!=d.min&&d.min<0&&!d.max&&(d.max=0);var h=a;null!=d.color&&(h=R({color:d.color},a));var f=E($(d),{boundaryGap:t,splitNumber:e,scale:n,axisLine:r,axisTick:i,axisLabel:o,name:d.text,showName:s,nameLocation:"end",nameGap:u,nameTextStyle:h,triggerEvent:c},!1);if(tt(l)){var p=f.name;f.name=l.replace("{value}",null!=p?p:"")}else Q(l)&&(f.name=l(f.name,f));var g=new Xf(f,null,this.ecModel);return z(g,nI.prototype),g.mainType="radar",g.componentIndex=this.componentIndex,g}),this);this._indicatorModels=d},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:E({lineStyle:{color:"#bbb"}},YP.axisLine),axisLabel:UP(YP.axisLabel,!1),axisTick:UP(YP.axisTick,!1),splitLine:UP(YP.splitLine,!0),splitArea:UP(YP.splitArea,!0),indicator:[]},e}(bg),XP=["axisLine","axisTickLabel","axisName"],qP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var e=t.coordinateSystem;H(W(e.getIndicatorAxes(),(function(t){var n=t.model.get("showName")?t.name:"";return new rP(t.model,{axisName:n,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})})),(function(t){H(XP,t.add,t),this.group.add(t.getGroup())}),this)},e.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var r=t.get("shape"),i=t.getModel("splitLine"),o=t.getModel("splitArea"),a=i.getModel("lineStyle"),s=o.getModel("areaStyle"),l=i.get("show"),u=o.get("show"),c=a.get("color"),d=s.get("color"),h=J(c)?c:[c],f=J(d)?d:[d],p=[],g=[];if("circle"===r)for(var y=n[0].getTicksCoords(),m=e.cx,v=e.cy,b=0;b<y.length;b++)l&&p[D(p,h,b)].push(new Rd({shape:{cx:m,cy:v,r:y[b].coord}})),u&&b<y.length-1&&g[D(g,f,b)].push(new ih({shape:{cx:m,cy:v,r0:y[b].coord,r:y[b+1].coord}}));else{var x,_=W(n,(function(t,n){var r=t.getTicksCoords();return x=null==x?r.length-1:Math.min(r.length-1,x),W(r,(function(t){return e.coordToPoint(t.coord,n)}))})),w=[];for(b=0;b<=x;b++){for(var S=[],M=0;M<n.length;M++)S.push(_[M][b]);S[0]?S.push(S[0].slice()):console.error("Can't draw value axis "+b),l&&p[D(p,h,b)].push(new ch({shape:{points:S}})),u&&w&&g[D(g,f,b-1)].push(new lh({shape:{points:S.concat(w)}})),w=S.slice().reverse()}}var I=a.getLineStyle(),A=s.getAreaStyle();H(g,(function(t,e){this.group.add(Qh(t,{style:R({stroke:"none",fill:f[e%f.length]},A),silent:!0}))}),this),H(p,(function(t,e){this.group.add(Qh(t,{style:R({fill:"none",stroke:h[e%h.length]},I),silent:!0}))}),this)}function D(t,e,n){var r=n%e.length;return t[r]=t[r]||[],r}},e.type="radar",e}(Wv),KP=function(t){function e(e,n,r){var i=t.call(this,e,n,r)||this;return i.type="value",i.angle=0,i.name="",i}return i(e,t),e}(UI),JP=function(){function t(t,e,n){this.dimensions=[],this._model=t,this._indicatorAxes=W(t.getIndicatorModels(),(function(t,e){var n="indicator_"+e,r=new KP(n,new QS);return r.name=t.get("name"),r.model=t,t.axis=r,this.dimensions.push(n),r}),this),this.resize(t,n)}return t.prototype.getIndicatorAxes=function(){return this._indicatorAxes},t.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},t.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e].angle;return[this.cx+t*Math.cos(n),this.cy-t*Math.sin(n)]},t.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,r=Math.sqrt(e*e+n*n);e/=r,n/=r;for(var i,o=Math.atan2(-n,e),a=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var u=this._indicatorAxes[l],c=Math.abs(o-u.angle);c<a&&(i=u,s=l,a=c)}
vendor: 15,095 bytes, line 33
33return[s,+(i&&i.coordToData(r))]},t.prototype.resize=function(t,e){var n=t.get("center"),r=e.getWidth(),i=e.getHeight(),o=Math.min(r,i)/2;this.cx=oa(n[0],r),this.cy=oa(n[1],i),this.startAngle=t.get("startAngle")*Math.PI/180;var a=t.get("radius");(tt(a)||nt(a))&&(a=[0,a]),this.r0=oa(a[0],o),this.r=oa(a[1],o),H(this._indicatorAxes,(function(t,e){t.setExtent(this.r0,this.r);var n=this.startAngle+e*Math.PI*2/this._indicatorAxes.length;n=Math.atan2(Math.sin(n),Math.cos(n)),t.angle=n}),this)},t.prototype.update=function(t,e){var n=this._indicatorAxes,r=this._model;H(n,(function(t){t.scale.setExtent(1/0,-1/0)})),t.eachSeriesByType("radar",(function(e,i){if("radar"===e.get("coordinateSystem")&&t.getComponent("radar",e.get("radarIndex"))===r){var o=e.getData();H(n,(function(t){t.scale.unionExtentFromData(o,o.mapDimension(t.dim))}))}}),this);var i=r.get("splitNumber"),o=new QS;o.setExtent(0,i),o.setInterval(1),H(n,(function(t,e){qO(t.scale,t.model,o)}))},t.prototype.convertToPixel=function(t,e,n){return console.warn("Not implemented."),null},t.prototype.convertFromPixel=function(t,e,n){return console.warn("Not implemented."),null},t.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},t.create=function(e,n){var r=[];return e.eachComponent("radar",(function(i){var o=new t(i,e,n);r.push(o),i.coordinateSystem=o})),e.eachSeriesByType("radar",(function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=r[t.get("radarIndex")||0])})),r},t.dimensions=[],t}();function QP(t){t.registerCoordinateSystem("radar",JP),t.registerComponentModel(ZP),t.registerComponentView(qP),t.registerVisual({seriesType:"radar",reset:function(t){var e=t.getData();e.each((function(t){e.setItemVisual(t,"legendIcon","roundRect")})),e.setVisual("legendIcon","roundRect")}})}function tk(t){zw(QP),t.registerChartView(WP),t.registerSeriesModel(GP),t.registerLayout(jP),t.registerProcessor(uO("radar")),t.registerPreprocessor(HP)}var ek="\0_ec_interaction_mutex";function nk(t,e,n){ok(t)[e]=n}function rk(t,e,n){var r=ok(t);r[e]===n&&(r[e]=null)}function ik(t,e){return!!ok(t)[e]}function ok(t){return t[ek]||(t[ek]={})}Aw({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},Ot);var ak=function(t){function e(e){var n=t.call(this)||this;n._zr=e;var r=q(n._mousedownHandler,n),i=q(n._mousemoveHandler,n),o=q(n._mouseupHandler,n),a=q(n._mousewheelHandler,n),s=q(n._pinchHandler,n);return n.enable=function(t,n){this.disable(),this._opt=R($(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",r),e.on("mousemove",i),e.on("mouseup",o)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",a),e.on("pinch",s))},n.disable=function(){e.off("mousedown",r),e.off("mousemove",i),e.off("mouseup",o),e.off("mousewheel",a),e.off("pinch",s)},n}return i(e,t),e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype.setPointerChecker=function(t){this.pointerChecker=t},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!ke(t)){for(var e=t.target;e;){if(e.draggable)return;e=e.__hostTarget||e.parent}var n=t.offsetX,r=t.offsetY;this.pointerChecker&&this.pointerChecker(t,n,r)&&(this._x=n,this._y=r,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){if(this._dragging&&uk("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!ik(this._zr,"globalPan")){var e=t.offsetX,n=t.offsetY,r=this._x,i=this._y,o=e-r,a=n-i;this._x=e,this._y=n,this._opt.preventDefaultMouseMove&&Pe(t.event),lk(this,"pan","moveOnMouseMove",t,{dx:o,dy:a,oldX:r,oldY:i,newX:e,newY:n,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){ke(t)||(this._dragging=!1)},e.prototype._mousewheelHandler=function(t){var e=uk("zoomOnMouseWheel",t,this._opt),n=uk("moveOnMouseWheel",t,this._opt),r=t.wheelDelta,i=Math.abs(r),o=t.offsetX,a=t.offsetY;if(0!==r&&(e||n)){if(e){var s=i>3?1.4:i>1?1.2:1.1;sk(this,"zoom","zoomOnMouseWheel",t,{scale:r>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(r);sk(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(r>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){ik(this._zr,"globalPan")||sk(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})},e}(se);function sk(t,e,n,r,i){t.pointerChecker&&t.pointerChecker(r,i.originX,i.originY)&&(Pe(r.event),lk(t,e,n,r,i))}function lk(t,e,n,r,i){i.isAvailableBehavior=q(uk,null,n,r),t.trigger(e,i)}function uk(t,e,n){var r=n[t];return!t||r&&(!tt(r)||e.event[r+"Key"])}function ck(t,e,n){var r=t.target;r.x+=e,r.y+=n,r.dirty()}function dk(t,e,n,r){var i=t.target,o=t.zoomLimit,a=t.zoom=t.zoom||1;if(a*=e,o){var s=o.min||0,l=o.max||1/0;a=Math.max(Math.min(l,a),s)}var u=a/t.zoom;t.zoom=a,i.x-=(n-i.x)*(u-1),i.y-=(r-i.y)*(u-1),i.scaleX*=u,i.scaleY*=u,i.dirty()}var hk,fk={axisPointer:1,tooltip:1,brush:1};function pk(t,e,n){var r=e.getComponentByElement(t.topTarget),i=r&&r.coordinateSystem;return r&&r!==n&&!fk.hasOwnProperty(r.mainType)&&i&&i.model!==n}function gk(t){tt(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));var e=t;for(9===e.nodeType&&(e=e.firstChild);"svg"!==e.nodeName.toLowerCase()||1!==e.nodeType;)e=e.nextSibling;return e}var yk={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},mk=Z(yk),vk={"alignment-baseline":"textBaseline","stop-color":"stopColor"},bk=Z(vk),xk=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=gk(t);if(!n)throw new Error("Illegal svg");this._defsUsePending=[];var r=new Bo;this._root=r;var i=[],o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||e.width),s=parseFloat(n.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),Ak(n,r,null,!0,!1);for(var l,u,c=n.firstChild;c;)this._parseNode(c,r,i,null,!1,!1),c=c.nextSibling;if(Ok(this._defs,this._defsUsePending),this._defsUsePending=[],o){var d=kk(o);d.length>=4&&(l={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(l&&null!=a&&null!=s&&(u=Bk(l,{x:0,y:0,width:a,height:s}),!e.ignoreViewBox)){var h=r;(r=new Bo).add(h),h.scaleX=h.scaleY=u.scale,h.x=u.x,h.y=u.y}return e.ignoreRootClip||null==a||null==s||r.setClipPath(new Lu({shape:{x:0,y:0,width:a,height:s}})),{root:r,width:a,height:s,viewBoxRect:l,viewBoxTransform:u,named:i}},t.prototype._parseNode=function(t,e,n,r,i,o){var a,s=t.nodeName.toLowerCase(),l=r;if("defs"===s&&(i=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)a=e;else{if(!i){var u=hk[s];if(u&&Ct(hk,s)){a=u.call(this,t,e);var c=t.getAttribute("name");if(c){var d={name:c,namedFrom:null,svgNodeTagLower:s,el:a};n.push(d),"g"===s&&(l=d)}else r&&n.push({name:r.name,namedFrom:r,svgNodeTagLower:s,el:a});e.add(a)}}var h=_k[s];if(h&&Ct(_k,s)){var f=h.call(this,t),p=t.getAttribute("id");p&&(this._defs[p]=f)}}if(a&&a.isGroup)for(var g=t.firstChild;g;)1===g.nodeType?this._parseNode(g,a,n,l,i,o):3===g.nodeType&&o&&this._parseText(g,a),g=g.nextSibling},t.prototype._parseText=function(t,e){var n=new Su({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});Mk(e,n),Ak(t,n,this._defsUsePending,!1,!1),Dk(n,e);var r=n.style,i=r.fontSize;i&&i<9&&(r.fontSize=9,n.scaleX*=i/9,n.scaleY*=i/9);var o=(r.fontSize||r.fontFamily)&&[r.fontStyle,r.fontWeight,(r.fontSize||12)+"px",r.fontFamily||"sans-serif"].join(" ");r.font=o;var a=n.getBoundingRect();return this._textX+=a.width,e.add(n),n},t.internalField=void(hk={g:function(t,e){var n=new Bo;return Mk(e,n),Ak(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new Lu;return Mk(e,n),Ak(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,e){var n=new Rd;return Mk(e,n),Ak(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new fh;return Mk(e,n),Ak(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,e){var n=new Bd;return Mk(e,n),Ak(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,e){var n,r=t.getAttribute("points");r&&(n=Ik(r));var i=new lh({shape:{points:n||[]},silent:!0});return Mk(e,i),Ak(t,i,this._defsUsePending,!1,!1),i},polyline:function(t,e){var n,r=t.getAttribute("points");r&&(n=Ik(r));var i=new ch({shape:{points:n||[]},silent:!0});return Mk(e,i),Ak(t,i,this._defsUsePending,!1,!1),i},image:function(t,e){var n=new Du;return Mk(e,n),Ak(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",r=t.getAttribute("y")||"0",i=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(i),this._textY=parseFloat(r)+parseFloat(o);var a=new Bo;return Mk(e,a),Ak(t,a,this._defsUsePending,!1,!0),a},tspan:function(t,e){var n=t.getAttribute("x"),r=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=r&&(this._textY=parseFloat(r));var i=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",a=new Bo;return Mk(e,a),Ak(t,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(i),this._textY+=parseFloat(o),a},path:function(t,e){var n=kd(t.getAttribute("d")||"");return Mk(e,n),Ak(t,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),t}(),_k={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),r=parseInt(t.getAttribute("x2")||"10",10),i=parseInt(t.getAttribute("y2")||"0",10),o=new wh(e,n,r,i);return wk(t,o),Sk(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),r=parseInt(t.getAttribute("r")||"0",10),i=new Sh(e,n,r);return wk(t,i),Sk(t,i),i}};function wk(t,e){"userSpaceOnUse"===t.getAttribute("gradientUnits")&&(e.global=!0)}function Sk(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var r=n.getAttribute("offset"),i=void 0;i=r&&r.indexOf("%")>0?parseInt(r,10)/100:r?parseFloat(r):0;var o={};Rk(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:i,color:a})}n=n.nextSibling}}function Mk(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),R(e.__inheritedStyle,t.__inheritedStyle))}function Ik(t){for(var e=kk(t),n=[],r=0;r<e.length;r+=2){var i=parseFloat(e[r]),o=parseFloat(e[r+1]);n.push([i,o])}return n}function Ak(t,e,n,r,i){var o=e,a=o.__inheritedStyle=o.__inheritedStyle||{},s={};1===t.nodeType&&(Lk(t,e),Rk(t,a,s),r||Fk(t,a,s)),o.style=o.style||{},null!=a.fill&&(o.style.fill=Ck(o,"fill",a.fill,n)),null!=a.stroke&&(o.style.stroke=Ck(o,"stroke",a.stroke,n)),H(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(t){null!=a[t]&&(o.style[t]=parseFloat(a[t]))})),H(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],(function(t){null!=a[t]&&(o.style[t]=a[t])})),i&&(o.__selfStyle=s),a.lineDash&&(o.style.lineDash=W(kk(a.lineDash),(function(t){return parseFloat(t)}))),"hidden"!==a.visibility&&"collapse"!==a.visibility||(o.invisible=!0),"none"===a.display&&(o.ignore=!0)}function Dk(t,e){var n=e.__selfStyle;if(n){var r=n.textBaseline,i=r;r&&"auto"!==r?"baseline"===r?i="alphabetic":"before-edge"===r||"text-before-edge"===r?i="top":"after-edge"===r||"text-after-edge"===r?i="bottom":"central"!==r&&"mathematical"!==r||(i="middle"):i="alphabetic",t.style.textBaseline=i}var o=e.__inheritedStyle;if(o){var a=o.textAlign,s=a;a&&("middle"===a&&(s="center"),t.style.textAlign=s)}}var Tk=/^url\(\s*#(.*?)\)/;function Ck(t,e,n,r){var i=n&&n.match(Tk);if(!i)return"none"===n&&(n=null),n;var o=mt(i[1]);r.push([t,e,o])}function Ok(t,e){for(var n=0;n<e.length;n++){var r=e[n];r[0].style[r[1]]=t[r[2]]}}var Pk=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function kk(t){return t.match(Pk)||[]}var $k=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,Ek=Math.PI/180;function Lk(t,e){var n=t.getAttribute("transform");if(n){n=n.replace(/,/g," ");var r=[],i=null;n.replace($k,(function(t,e,n){return r.push(e,n),""}));for(var o=r.length-1;o>0;o-=2){var a=r[o],s=r[o-1],l=kk(a);switch(i=i||Re(),s){case"translate":ze(i,i,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":He(i,i,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":Ve(i,i,-parseFloat(l[0])*Ek,[parseFloat(l[1]||"0"),parseFloat(l[2]||"0")]);break;case"skewX":je(i,[1,0,Math.tan(parseFloat(l[0])*Ek),1,0,0],i);break;case"skewY":je(i,[1,Math.tan(parseFloat(l[0])*Ek),0,1,0,0],i);break;case"matrix":i[0]=parseFloat(l[0]),i[1]=parseFloat(l[1]),i[2]=parseFloat(l[2]),i[3]=parseFloat(l[3]),i[4]=parseFloat(l[4]),i[5]=parseFloat(l[5])}}e.setLocalTransform(i)}}var Nk=/([^\s:;]+)\s*:\s*([^:;]+)/g;function Rk(t,e,n){var r,i=t.getAttribute("style");if(i)for(Nk.lastIndex=0;null!=(r=Nk.exec(i));){var o=r[1],a=Ct(yk,o)?yk[o]:null;a&&(e[a]=r[2]);var s=Ct(vk,o)?vk[o]:null;s&&(n[s]=r[2])}}function Fk(t,e,n){for(var r=0;r<mk.length;r++){var i=mk[r];null!=(o=t.getAttribute(i))&&(e[yk[i]]=o)}for(r=0;r<bk.length;r++){var o;i=bk[r],null!=(o=t.getAttribute(i))&&(n[vk[i]]=o)}}function Bk(t,e){var n=e.width/t.width,r=e.height/t.height,i=Math.min(n,r);return{scale:i,x:-(t.x+t.width/2)*i+(e.x+e.width/2),y:-(t.y+t.height/2)*i+(e.y+e.height/2)}}function jk(t,e){return(new xk).parse(t,e)}var zk=It(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),Vk=function(){function t(t,e){this.type="geoSVG",this._usedGraphicMap=It(),this._freedGraphics=[],this._mapName=t,this._parsedXML=gk(e)}return t.prototype.load=function(){var t=this._firstGraphic;if(!t){t=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(t),this._boundingRect=this._firstGraphic.boundingRect.clone();var e=Wk(t.named),n=e.regions,r=e.regionsMap;this._regions=n,this._regionsMap=r}
33return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},t.prototype._buildGraphic=function(t){var e,n;try{yt(null!=(n=(e=t&&jk(t,{ignoreViewBox:!0,ignoreRootClip:!0})||{}).root))}catch(t){throw new Error("Invalid svg format\n"+t.message)}var r=new Bo;r.add(n),r.isGeoSVGGraphicRoot=!0;var i=e.width,o=e.height,a=e.viewBoxRect,s=this._boundingRect;if(!s){var l=void 0,u=void 0,c=void 0,d=void 0;if(null!=i?(l=0,c=i):a&&(l=a.x,c=a.width),null!=o?(u=0,d=o):a&&(u=a.y,d=a.height),null==l||null==u){var h=n.getBoundingRect();null==l&&(l=h.x,c=h.width),null==u&&(u=h.y,d=h.height)}s=this._boundingRect=new nn(l,u,c,d)}if(a){var f=Bk(a,s);n.scaleX=n.scaleY=f.scale,n.x=f.x,n.y=f.y}r.setClipPath(new Lu({shape:s.plain()}));var p=[];return H(e.named,(function(t){null!=zk.get(t.svgNodeTagLower)&&(p.push(t),Hk(t.el))})),{root:r,boundingRect:s,named:p}},t.prototype.useGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);return n||(n=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),e.set(t,n),n)},t.prototype.freeGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);n&&(e.removeKey(t),this._freedGraphics.push(n))},t}();function Hk(t){t.silent=!1,t.isGroup&&t.traverse((function(t){t.silent=!1}))}function Wk(t){var e=[],n=It();return H(t,(function(t){if(null==t.namedFrom){var r=new xI(t.name,t.el);e.push(r),n.set(t.name,r)}})),{regions:e,regionsMap:n}}for(var Gk=[126,25],Yk="åæµ·è¯¸å²",Uk=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],Zk=0;Zk<Uk.length;Zk++)for(var Xk=0;Xk<Uk[Zk].length;Xk++)Uk[Zk][Xk][0]/=10.5,Uk[Zk][Xk][1]/=-14,Uk[Zk][Xk][0]+=Gk[0],Uk[Zk][Xk][1]+=Gk[1];function qk(t,e){if("china"===t){for(var n=0;n<e.length;n++)if(e[n].name===Yk)return;e.push(new bI(Yk,W(Uk,(function(t){return{type:"polygon",exterior:t}})),Gk))}}var Kk={"åæµ·è¯¸å²":[32,80],"广ä¸":[0,-10],"馿¸¯":[10,5],"æ¾³é¨":[-10,10],"天津":[5,5]};function Jk(t,e){if("china"===t){var n=Kk[e.name];if(n){var r=e.getCenter();r[0]+=n[0]/10.5,r[1]+=-n[1]/14,e.setCenter(r)}}}var Qk=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function t$(t,e){"china"===t&&"å°æ¹¾"===e.name&&e.geometries.push({type:"polygon",exterior:Qk[0]})}var e$="name",n$=function(){function t(t,e,n){this.type="geoJSON",this._parsedMap=It(),this._mapName=t,this._specialAreas=n,this._geoJSON=i$(e)}return t.prototype.load=function(t,e){e=e||e$;var n=this._parsedMap.get(e);if(!n){var r=this._parseToRegions(e);n=this._parsedMap.set(e,{regions:r,boundingRect:r$(r)})}var i=It(),o=[];return H(n.regions,(function(e){var n=e.name;t&&Ct(t,n)&&(e=e.cloneShallow(n=t[n])),o.push(e),i.set(n,e)})),{regions:o,boundingRect:n.boundingRect||new nn(0,0,0,0),regionsMap:i}},t.prototype._parseToRegions=function(t){var e,n=this._mapName,r=this._geoJSON;try{e=r?MI(r,t):[]}catch(t){throw new Error("Invalid geoJson format\n"+t.message)}return qk(n,e),H(e,(function(t){var e=t.name;Jk(n,t),t$(n,t);var r=this._specialAreas&&this._specialAreas[e];r&&t.transformTo(r.left,r.top,r.width,r.height)}),this),e},t.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},t}();function r$(t){for(var e,n=0;n<t.length;n++){var r=t[n].getBoundingRect();(e=e||r.clone()).union(r)}return e}function i$(t){return tt(t)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")():t}var o$=It(),a$={registerMap:function(t,e,n){if(e.svg){var r=new Vk(t,e.svg);o$.set(t,r)}
vendor: 33,274 bytes, line 33
33else{var i=e.geoJson||e.geoJSON;i&&!e.features?n=e.specialAreas:i=e,r=new n$(t,i,n),o$.set(t,r)}},getGeoResource:function(t){return o$.get(t)},getMapForUser:function(t){var e=o$.get(t);return e&&"geoJSON"===e.type&&e.getMapForUser()},load:function(t,e,n){var r=o$.get(t);if(r)return r.load(e,n);console.error("Map "+t+" not exists. The GeoJSON of the map must be provided.")}},s$=["rect","circle","line","ellipse","polygon","polyline","path"],l$=It(s$),u$=It(s$.concat(["g"])),c$=It(s$.concat(["g"])),d$=fs();function h$(t){var e=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(e.fill=n),e}function f$(t){var e=t.style;e&&(e.stroke=e.stroke||e.fill,e.fill=null)}var p$=function(){function t(t){var e=new Bo;this.uid=Kf("ec_map_draw"),this._controller=new ak(t.getZr()),this._controllerHost={target:e},this.group=e,e.add(this._regionsGroup=new Bo),e.add(this._svgGroup=new Bo)}return t.prototype.draw=function(t,e,n,r,i){var o="geo"===t.mainType,a=t.getData&&t.getData();o&&e.eachComponent({mainType:"series",subType:"map"},(function(e){a||e.getHostGeoModel()!==t||(a=e.getData())}));var s=t.coordinateSystem,l=this._regionsGroup,u=this.group,c=s.getTransformInfo(),d=c.raw,h=c.roam;!l.childAt(0)||i?(u.x=h.x,u.y=h.y,u.scaleX=h.scaleX,u.scaleY=h.scaleY,u.dirty()):Eh(u,h,t);var f=a&&a.getVisual("visualMeta")&&a.getVisual("visualMeta").length>0,p={api:n,geo:s,mapOrGeoModel:t,data:a,isVisualEncodedByVisualMap:f,isGeo:o,transformInfoRaw:d};"geoJSON"===s.resourceType?this._buildGeoJSON(p):"geoSVG"===s.resourceType&&this._buildSVG(p),this._updateController(t,e,n),this._updateMapSelectHandler(t,l,n,r)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=It(),n=It(),r=this._regionsGroup,i=t.transformInfoRaw,o=t.mapOrGeoModel,a=t.data,s=t.geo.projection,l=s&&s.stream;function u(t,e){return e&&(t=e(t)),t&&[t[0]*i.scaleX+i.x,t[1]*i.scaleY+i.y]}function c(t){for(var e=[],n=!l&&s&&s.project,r=0;r<t.length;++r){var i=u(t[r],n);i&&e.push(i)}return e}function d(t){return{shape:{points:c(t)}}}r.removeAll(),H(t.geo.regions,(function(i){var c=i.name,h=e.get(c),f=n.get(c)||{},p=f.dataIdx,g=f.regionModel;h||(h=e.set(c,new Bo),r.add(h),p=a?a.indexOfName(c):null,g=t.isGeo?o.getRegionModel(c):a?a.getItemModel(p):null,n.set(c,{dataIdx:p,regionModel:g}));var y=[],m=[];H(i.geometries,(function(t){if("polygon"===t.type){var e=[t.exterior].concat(t.interiors||[]);l&&(e=x$(e,l)),H(e,(function(t){y.push(new lh(d(t)))}))}else{var n=t.points;l&&(n=x$(n,l,!0)),H(n,(function(t){m.push(new ch(d(t)))}))}}));var v=u(i.getCenter(),s&&s.project);function b(e,n){if(e.length){var r=new xh({culling:!0,segmentIgnoreThreshold:1,shape:{paths:e}});h.add(r),g$(t,r,p,g),y$(t,r,c,g,o,p,v),n&&(f$(r),H(r.states,f$))}}b(y),b(m,!0)})),e.each((function(e,r){var i=n.get(r),a=i.dataIdx,s=i.regionModel;m$(t,e,r,s,o,a),v$(t,e,r,s,o),b$(t,e,r,s,o)}),this)},t.prototype._buildSVG=function(t){var e=t.geo.map,n=t.transformInfoRaw;this._svgGroup.x=n.x,this._svgGroup.y=n.y,this._svgGroup.scaleX=n.scaleX,this._svgGroup.scaleY=n.scaleY,this._svgResourceChanged(e)&&(this._freeSVG(),this._useSVG(e));var r=this._svgDispatcherMap=It(),i=!1;H(this._svgGraphicRecord.named,(function(e){var n=e.name,o=t.mapOrGeoModel,a=t.data,s=e.svgNodeTagLower,l=e.el,u=a?a.indexOfName(n):null,c=o.getRegionModel(n);null!=l$.get(s)&&l instanceof fl&&g$(t,l,u,c),l instanceof fl&&(l.culling=!0),l.z2EmphasisLift=0,e.namedFrom||(null!=c$.get(s)&&y$(t,l,n,c,o,u,null),m$(t,l,n,c,o,u),v$(t,l,n,c,o),null!=u$.get(s)&&("self"===b$(t,l,n,c,o)&&(i=!0),(r.get(n)||r.set(n,[])).push(l)))}),this),this._enableBlurEntireSVG(i,t)},t.prototype._enableBlurEntireSVG=function(t,e){if(t&&e.isGeo){var n=e.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle().opacity;this._svgGraphicRecord.root.traverse((function(t){if(!t.isGroup){$c(t);var e=t.ensureState("blur").style||{};null==e.opacity&&null!=n&&(e.opacity=n),t.ensureState("emphasis")}}))}},t.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},t.prototype.findHighDownDispatchers=function(t,e){if(null==t)return[];var n=e.coordinateSystem;if("geoJSON"===n.resourceType){var r=this._regionsGroupByName;if(r){var i=r.get(t);return i?[i]:[]}}else if("geoSVG"===n.resourceType)return this._svgDispatcherMap&&this._svgDispatcherMap.get(t)||[]},t.prototype._svgResourceChanged=function(t){return this._svgMapName!==t},t.prototype._useSVG=function(t){var e=a$.getGeoResource(t);if(e&&"geoSVG"===e.type){var n=e.useGraphic(this.uid);this._svgGroup.add(n.root),this._svgGraphicRecord=n,this._svgMapName=t}},t.prototype._freeSVG=function(){var t=this._svgMapName;if(null!=t){var e=a$.getGeoResource(t);e&&"geoSVG"===e.type&&e.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},t.prototype._updateController=function(t,e,n){var r=t.coordinateSystem,i=this._controller,o=this._controllerHost;o.zoomLimit=t.get("scaleLimit"),o.zoom=r.getZoom(),i.enable(t.get("roam")||!1);var a=t.mainType;function s(){var e={type:"geoRoam",componentType:a};return e[a+"Id"]=t.id,e}i.off("pan").on("pan",(function(t){this._mouseDownFlag=!1,ck(o,t.dx,t.dy),n.dispatchAction(N(s(),{dx:t.dx,dy:t.dy,animation:{duration:0}}))}),this),i.off("zoom").on("zoom",(function(t){this._mouseDownFlag=!1,dk(o,t.scale,t.originX,t.originY),n.dispatchAction(N(s(),{totalZoom:o.zoom,zoom:t.scale,originX:t.originX,originY:t.originY,animation:{duration:0}}))}),this),i.setPointerChecker((function(e,i,o){return r.containPoint([i,o])&&!pk(e,n,t)}))},t.prototype.resetForLabelLayout=function(){this.group.traverse((function(t){var e=t.getTextContent();e&&(e.ignore=d$(e).ignore)}))},t.prototype._updateMapSelectHandler=function(t,e,n,r){var i=this;e.off("mousedown"),e.off("click"),t.get("selectedMode")&&(e.on("mousedown",(function(){i._mouseDownFlag=!0})),e.on("click",(function(t){i._mouseDownFlag&&(i._mouseDownFlag=!1)})))},t}();function g$(t,e,n,r){var i=r.getModel("itemStyle"),o=r.getModel(["emphasis","itemStyle"]),a=r.getModel(["blur","itemStyle"]),s=r.getModel(["select","itemStyle"]),l=h$(i),u=h$(o),c=h$(s),d=h$(a),h=t.data;if(h){var f=h.getItemVisual(n,"style"),p=h.getItemVisual(n,"decal");t.isVisualEncodedByVisualMap&&f.fill&&(l.fill=f.fill),p&&(l.decal=Jx(p,t.api))}e.setStyle(l),e.style.strokeNoScale=!0,e.ensureState("emphasis").style=u,e.ensureState("select").style=c,e.ensureState("blur").style=d,$c(e)}function y$(t,e,n,r,i,o,a){var s=t.data,l=t.isGeo,u=s&&isNaN(s.get(s.mapDimension("value"),o)),c=s&&s.getItemLayout(o);if(l||u||c&&c.showLabel){var d=l?n:o,h=void 0;(!s||o>=0)&&(h=i);var f=a?{normal:{align:"center",verticalAlign:"middle"}}:null;If(e,Af(r),{labelFetcher:h,labelDataIndex:d,defaultText:n},f);var p=e.getTextContent();if(p&&(d$(p).ignore=p.ignore,e.textConfig&&a)){var g=e.getBoundingRect().clone();e.textConfig.layoutRect=g,e.textConfig.position=[(a[0]-g.x)/g.width*100+"%",(a[1]-g.y)/g.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function m$(t,e,n,r,i,o){t.data?t.data.setItemGraphicEl(o,e):Qu(e).eventData={componentType:"geo",componentIndex:i.componentIndex,geoIndex:i.componentIndex,name:n,region:r&&r.option||{}}}function v$(t,e,n,r,i){t.data||vf({el:e,componentModel:i,itemName:n,itemTooltipOption:r.get("tooltip")})}function b$(t,e,n,r,i){e.highDownSilentOnTouch=!!i.get("selectedMode");var o=r.getModel("emphasis"),a=o.get("focus");return ed(e,a,o.get("blurScope"),o.get("disabled")),t.isGeo&&ld(e,i,n),a}function x$(t,e,n){var r,i=[];function o(){r=[]}function a(){r.length&&(i.push(r),r=[])}var s=e({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(t,e){isFinite(t)&&isFinite(e)&&r.push([t,e])},sphere:function(){}});return!n&&s.polygonStart(),H(t,(function(t){s.lineStart();for(var e=0;e<t.length;e++)s.point(t[e][0],t[e][1]);s.lineEnd()})),!n&&s.polygonEnd(),i}var _$=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n,r){if(!r||"mapToggleSelect"!==r.type||r.from!==this.uid){var i=this.group;if(i.removeAll(),!t.getHostGeoModel()){if(this._mapDraw&&r&&"geoRoam"===r.type&&this._mapDraw.resetForLabelLayout(),r&&"geoRoam"===r.type&&"series"===r.componentType&&r.seriesId===t.id)(o=this._mapDraw)&&i.add(o.group);else if(t.needsDrawMap){var o=this._mapDraw||new p$(n);i.add(o.group),o.draw(t,e,n,this,r),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,n)}}},e.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},e.prototype._renderSymbols=function(t,e,n){var r=t.originalData,i=this.group;r.each(r.mapDimension("value"),(function(e,n){if(!isNaN(e)){var o=r.getItemLayout(n);if(o&&o.point){var a=o.point,s=o.offset,l=new Rd({style:{fill:t.getData().getVisual("style").fill},shape:{cx:a[0]+9*s,cy:a[1],r:3},silent:!0,z2:8+(s?0:cc+1)});if(!s){var u=t.mainSeries.getData(),c=r.getName(n),d=u.indexOfName(c),h=r.getItemModel(n),f=h.getModel("label"),p=u.getItemGraphicEl(d);If(l,Af(h),{labelFetcher:{getFormattedLabel:function(e,n){return t.getFormattedLabel(d,n)}},defaultText:c}),l.disableLabelAnimation=!0,f.get("position")||l.setTextConfig({position:"bottom"}),p.onHoverStateChange=function(t){Dc(l,t)}}i.add(l)}}}))},e.type="map",e}(Zv),w$=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.needsDrawMap=!1,n.seriesGroup=[],n.getTooltipPosition=function(t){if(null!=t){var e=this.getData().getName(t),n=this.coordinateSystem,r=n.getRegion(e);return r&&n.dataToPoint(r.getCenter())}},n}return i(e,t),e.prototype.getInitialData=function(t){for(var e=vO(this,{coordDimensions:["value"],encodeDefaulter:K(Rg,this)}),n=It(),r=[],i=0,o=e.count();i<o;i++){var a=e.getName(i);n.set(a,!0)}return H(a$.load(this.getMapType(),this.option.nameMap,this.option.nameProperty).regions,(function(t){var e=t.name;n.get(e)||r.push(e)})),e.appendValues([],r),e},e.prototype.getHostGeoModel=function(){var t=this.option.geoIndex;return null!=t?this.ecModel.getComponent("geo",t):null},e.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},e.prototype.getRawValue=function(t){var e=this.getData();return e.get(e.mapDimension("value"),t)},e.prototype.getRegionModel=function(t){var e=this.getData();return e.getItemModel(e.indexOfName(t))},e.prototype.formatTooltip=function(t,e,n){for(var r=this.getData(),i=this.getRawValue(t),o=r.getName(t),a=this.seriesGroup,s=[],l=0;l<a.length;l++){var u=a[l].originalData.indexOfName(o),c=r.mapDimension("value");isNaN(a[l].originalData.get(c,u))||s.push(a[l].name)}return pv("section",{header:s.join(", "),noHeader:!s.length,blocks:[pv("nameValue",{name:o,value:i})]})},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.getLegendIcon=function(t){var e=t.icon||"roundRect",n=lx(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill);return n.setStyle(t.itemStyle),n.style.stroke="none",e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},e}(Lv);function S$(t,e){var n={};return H(t,(function(t){t.each(t.mapDimension("value"),(function(e,r){var i="ec-"+t.getName(r);n[i]=n[i]||[],isNaN(e)||n[i].push(e)}))})),t[0].map(t[0].mapDimension("value"),(function(r,i){for(var o,a="ec-"+t[0].getName(i),s=0,l=1/0,u=-1/0,c=n[a].length,d=0;d<c;d++)l=Math.min(l,n[a][d]),u=Math.max(u,n[a][d]),s+=n[a][d];return o="min"===e?l:"max"===e?u:"average"===e?s/c:s,0===c?NaN:o}))}function M$(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel(),r=n?"o"+n.id:"i"+t.getMapType();(e[r]=e[r]||[]).push(t)})),H(e,(function(t,e){for(var n=S$(W(t,(function(t){return t.getData()})),t[0].get("mapValueCalculation")),r=0;r<t.length;r++)t[r].originalData=t[r].getData();for(r=0;r<t.length;r++)t[r].seriesGroup=t,t[r].needsDrawMap=0===r&&!t[r].getHostGeoModel(),t[r].setData(n.cloneShallow()),t[r].mainSeries=t[0]}))}function I$(t){var e={};t.eachSeriesByType("map",(function(n){var r=n.getMapType();if(!n.getHostGeoModel()&&!e[r]){var i={};H(n.seriesGroup,(function(e){var n=e.coordinateSystem,r=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&r.each(r.mapDimension("value"),(function(t,e){var o=r.getName(e),a=n.getRegion(o);if(a&&!isNaN(t)){var s=i[o]||0,l=n.dataToPoint(a.getCenter());i[o]=s+1,r.setItemLayout(e,{point:l,offset:s})}}))}));var o=n.getData();o.each((function(t){var e=o.getName(t),n=o.getItemLayout(t)||{};n.showLabel=!i[e],o.setItemLayout(t,n)})),e[r]=!0}}))}var A$=ee,D$=function(t){function e(e){var n=t.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new po,n._rawTransformable=new po,n.name=e,n}return i(e,t),e.prototype.setBoundingRect=function(t,e,n,r){return this._rect=new nn(t,e,n,r),this._rect},e.prototype.getBoundingRect=function(){return this._rect},e.prototype.setViewRect=function(t,e,n,r){this._transformTo(t,e,n,r),this._viewRect=new nn(t,e,n,r)},e.prototype._transformTo=function(t,e,n,r){var i=this.getBoundingRect(),o=this._rawTransformable;o.transform=i.calculateTransform(new nn(t,e,n,r));var a=o.parent;o.parent=null,o.decomposeTransform(),o.parent=a,this._updateTransform()},e.prototype.setCenter=function(t,e){t&&(this._center=[oa(t[0],e.getWidth()),oa(t[1],e.getHeight())],this._updateCenterAndZoom())},e.prototype.setZoom=function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},e.prototype.getDefaultCenter=function(){var t=this.getBoundingRect();return[t.x+t.width/2,t.y+t.height/2]},e.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},e.prototype.getZoom=function(){return this._zoom||1},e.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},e.prototype._updateCenterAndZoom=function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,n=this.getDefaultCenter(),r=this.getCenter(),i=this.getZoom();r=ee([],r,t),n=ee([],n,t),e.originX=r[0],e.originY=r[1],e.x=n[0]-r[0],e.y=n[1]-r[1],e.scaleX=e.scaleY=i,this._updateTransform()},e.prototype._updateTransform=function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),Be(this.transform||(this.transform=[]),e.transform||Re()),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],We(this.invTransform,this.transform),this.decomposeTransform()},e.prototype.getTransformInfo=function(){var t=this._rawTransformable,e=this._roamTransformable,n=new po;return n.transform=e.transform,n.decomposeTransform(),{roam:{x:n.x,y:n.y,scaleX:n.scaleX,scaleY:n.scaleY},raw:{x:t.x,y:t.y,scaleX:t.scaleX,scaleY:t.scaleY}}},e.prototype.getViewRect=function(){return this._viewRect},e.prototype.getViewRectAfterRoam=function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},e.prototype.dataToPoint=function(t,e,n){var r=e?this._rawTransform:this.transform;return n=n||[],r?A$(n,t,r):Et(n,t)},e.prototype.pointToData=function(t){var e=this.invTransform;return e?A$([],t,e):[t[0],t[1]]},e.prototype.convertToPixel=function(t,e,n){var r=T$(e);return r===this?r.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var r=T$(e);return r===this?r.pointToData(n):null},e.prototype.containPoint=function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])},e.dimensions=["x","y"],e}(po);function T$(t){var e=t.seriesModel;return e?e.coordinateSystem:null}var C$={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},O$=["lng","lat"],P$=function(t){function e(e,n,r){var i=t.call(this,e)||this;i.dimensions=O$,i.type="geo",i._nameCoordMap=It(),i.map=n;var o,a=r.projection,s=a$.load(n,r.nameMap,r.nameProperty),l=a$.getGeoResource(n),u=i.resourceType=l?l.type:null,c=i.regions=s.regions,d=C$[l.type];if(i._regionsMap=s.regionsMap,i.regions=s.regions,a&&("geoSVG"===u&&(Ea("Map "+n+" with SVG source can't use projection. Only GeoJSON source supports projection."),a=null),a.project&&a.unproject||(Ea("project and unproject must be both provided in the projeciton."),a=null)),i.projection=a,a)for(var h=0;h<c.length;h++){var f=c[h].getBoundingRect(a);(o=o||f.clone()).union(f)}else o=s.boundingRect;return i.setBoundingRect(o.x,o.y,o.width,o.height),i.aspectScale=a?1:ht(r.aspectScale,d.aspectScale),i._invertLongitute=!a&&d.invertLongitute,i}return i(e,t),e.prototype._transformTo=function(t,e,n,r){var i=this.getBoundingRect(),o=this._invertLongitute;i=i.clone(),o&&(i.y=-i.y-i.height);var a=this._rawTransformable;a.transform=i.calculateTransform(new nn(t,e,n,r));var s=a.parent;a.parent=null,a.decomposeTransform(),a.parent=s,o&&(a.scaleY=-a.scaleY),this._updateTransform()},e.prototype.getRegion=function(t){return this._regionsMap.get(t)},e.prototype.getRegionByCoord=function(t){for(var e=this.regions,n=0;n<e.length;n++){var r=e[n];if("geoJSON"===r.type&&r.contain(t))return e[n]}},e.prototype.addGeoCoord=function(t,e){this._nameCoordMap.set(t,e)},e.prototype.getGeoCoord=function(t){var e=this._regionsMap.get(t);return this._nameCoordMap.get(t)||e&&e.getCenter()},e.prototype.dataToPoint=function(t,e,n){if(tt(t)&&(t=this.getGeoCoord(t)),t){var r=this.projection;return r&&(t=r.project(t)),t&&this.projectedToPoint(t,e,n)}},e.prototype.pointToData=function(t){var e=this.projection;return e&&(t=e.unproject(t)),t&&this.pointToProjected(t)},e.prototype.pointToProjected=function(e){return t.prototype.pointToData.call(this,e)},e.prototype.projectedToPoint=function(e,n,r){return t.prototype.dataToPoint.call(this,e,n,r)},e.prototype.convertToPixel=function(t,e,n){var r=k$(e);return r===this?r.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var r=k$(e);return r===this?r.pointToData(n):null},e}(D$);function k$(t){var e=t.geoModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo",ms).models[0]||{}).coordinateSystem:null}function $$(t,e){var n=t.get("boundingCoords");if(null!=n){var r=n[0],i=n[1];if(isFinite(r[0])&&isFinite(r[1])&&isFinite(i[0])&&isFinite(i[1])){var o=this.projection;if(o){var a=r[0],s=r[1],l=i[0],u=i[1];r=[1/0,1/0],i=[-1/0,-1/0];var c=function(t,e,n,a){for(var s=n-t,l=a-e,u=0;u<=100;u++){var c=u/100,d=o.project([t+s*c,e+l*c]);ne(r,r,d),re(i,i,d)}};c(a,s,l,s),c(l,s,l,u),c(l,u,a,u),c(a,u,l,s)}this.setBoundingRect(r[0],r[1],i[0]-r[0],i[1]-r[1])}else console.error("Invalid boundingCoords")}var d,h,f,p=this.getBoundingRect(),g=t.get("layoutCenter"),y=t.get("layoutSize"),m=e.getWidth(),v=e.getHeight(),b=p.width/p.height*this.aspectScale,x=!1;if(g&&y&&(d=[oa(g[0],m),oa(g[1],v)],h=oa(y,Math.min(m,v)),isNaN(d[0])||isNaN(d[1])||isNaN(h)?console.warn("Given layoutCenter or layoutSize data are invalid. Use left/top/width/height instead."):x=!0),x)f={},b>1?(f.width=h,f.height=h/b):(f.height=h,f.width=h*b),f.y=d[1]-f.height/2,f.x=d[0]-f.width/2;else{var _=t.getBoxLayoutParams();_.aspect=b,f=dg(_,{width:m,height:v})}this.setViewRect(f.x,f.y,f.width,f.height),this.setCenter(t.get("center"),e),this.setZoom(t.get("zoom"))}function E$(t,e){H(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}z(P$,D$);var L$=new(function(){function t(){this.dimensions=O$}return t.prototype.create=function(t,e){var n=[];function r(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale"),projection:t.get("projection")}}t.eachComponent("geo",(function(t,i){var o=t.get("map"),a=new P$(o+i,o,N({nameMap:t.get("nameMap")},r(t)));a.zoomLimit=t.get("scaleLimit"),n.push(a),t.coordinateSystem=a,a.model=t,a.resize=$$,a.resize(t,e)})),t.eachSeries((function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}}));var i={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();i[e]=i[e]||[],i[e].push(t)}})),H(i,(function(t,i){var o=W(t,(function(t){return t.get("nameMap")})),a=new P$(i,i,N({nameMap:L(o)},r(t[0])));a.zoomLimit=dt.apply(null,W(t,(function(t){return t.get("scaleLimit")}))),n.push(a),a.resize=$$,a.resize(t[0],e),H(t,(function(t){t.coordinateSystem=a,E$(a,t)}))})),n},t.prototype.getFilledRegions=function(t,e,n,r){for(var i=(t||[]).slice(),o=It(),a=0;a<i.length;a++)o.set(i[a].name,i[a]);return H(a$.load(e,n,r).regions,(function(t){var e=t.name;!o.get(e)&&i.push({name:e})})),i},t}()),N$=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(t,e,n){var r=a$.getGeoResource(t.map);if(r&&"geoJSON"===r.type){var i=t.itemStyle=t.itemStyle||{};"color"in i||(i.color="#eee")}this.mergeDefaultAndTheme(t,n),Wa(t,"label",["show"])},e.prototype.optionUpdated=function(){var t=this,e=this.option;e.regions=L$.getFilledRegions(e.regions,e.map,e.nameMap,e.nameProperty);var n={};this._optionModelMap=G(e.regions||[],(function(e,r){var i=r.name;return i&&(e.set(i,new Xf(r,t,t.ecModel)),r.selected&&(n[i]=!0)),e}),It()),e.selectedMap||(e.selectedMap=n)},e.prototype.getRegionModel=function(t){return this._optionModelMap.get(t)||new Xf(null,this,this.ecModel)},e.prototype.getFormattedLabel=function(t,e){var n=this.getRegionModel(t),r="normal"===e?n.get(["label","formatter"]):n.get(["emphasis","label","formatter"]),i={name:t};return Q(r)?(i.status=e,r(i)):tt(r)?r.replace("{a}",null!=t?t:""):void 0},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.select=function(t){var e=this.option,n=e.selectedMode;n&&("multiple"!==n&&(e.selectedMap=null),(e.selectedMap||(e.selectedMap={}))[t]=!0)},e.prototype.unSelect=function(t){var e=this.option.selectedMap;e&&(e[t]=!1)},e.prototype.toggleSelected=function(t){this[this.isSelected(t)?"unSelect":"select"](t)},e.prototype.isSelected=function(t){var e=this.option.selectedMap;return!(!e||!e[t])},e.type="geo",e.layoutMode="box",e.defaultOption={z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},e}(bg);function R$(t,e){return t.pointToProjected?t.pointToProjected(e):t.pointToData(e)}function F$(t,e,n,r){var i=t.getZoom(),o=t.getCenter(),a=e.zoom,s=t.projectedToPoint?t.projectedToPoint(o):t.dataToPoint(o);if(null!=e.dx&&null!=e.dy&&(s[0]-=e.dx,s[1]-=e.dy,t.setCenter(R$(t,s),r)),null!=a){if(n){var l=n.min||0,u=n.max||1/0;a=Math.max(Math.min(i*a,u),l)/i}t.scaleX*=a,t.scaleY*=a;var c=(e.originX-t.x)*(a-1),d=(e.originY-t.y)*(a-1);t.x-=c,t.y-=d,t.updateTransform(),t.setCenter(R$(t,s),r),t.setZoom(a*i)}return{center:t.getCenter(),zoom:t.getZoom()}}var B$=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.focusBlurEnabled=!0,n}return i(e,t),e.prototype.init=function(t,e){this._api=e},e.prototype.render=function(t,e,n,r){if(this._model=t,!t.get("show"))return this._mapDraw&&this._mapDraw.remove(),void(this._mapDraw=null);this._mapDraw||(this._mapDraw=new p$(n));var i=this._mapDraw;i.draw(t,e,n,this,r),i.group.on("click",this._handleRegionClick,this),i.group.silent=t.get("silent"),this.group.add(i.group),this.updateSelectStatus(t,e,n)},e.prototype._handleRegionClick=function(t){var e;qb(t.target,(function(t){return null!=(e=Qu(t).eventData)}),!0),e&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:e.name})},e.prototype.updateSelectStatus=function(t,e,n){var r=this;this._mapDraw.group.traverse((function(t){var e=Qu(t).eventData;if(e)return r._model.isSelected(e.name)?n.enterSelect(t):n.leaveSelect(t),!0}))},e.prototype.findHighDownDispatchers=function(t){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(t,this._model)},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},e.type="geo",e}(Wv);function j$(t,e,n){a$.registerMap(t,e,n)}function z$(t){function e(e,n){n.update="geo:updateSelectStatus",t.registerAction(n,(function(t,n){var r={},i=[];return n.eachComponent({mainType:"geo",query:t},(function(n){n[e](t.name),H(n.coordinateSystem.regions,(function(t){r[t.name]=n.isSelected(t.name)||!1}));var o=[];H(r,(function(t,e){r[e]&&o.push(e)})),i.push({geoIndex:n.componentIndex,name:o})})),{selected:r,allSelected:i,name:t.name}}))}t.registerCoordinateSystem("geo",L$),t.registerComponentModel(N$),t.registerComponentView(B$),t.registerImpl("registerMap",j$),t.registerImpl("getMap",(function(t){return a$.getMapForUser(t)})),e("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),e("select",{type:"geoSelect",event:"geoselected"}),e("unSelect",{type:"geoUnSelect",event:"geounselected"}),t.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(t,e,n){var r=t.componentType||"series";e.eachComponent({mainType:r,query:t},(function(e){var i=e.coordinateSystem;if("geo"===i.type){var o=F$(i,t,e.get("scaleLimit"),n);e.setCenter&&e.setCenter(o.center),e.setZoom&&e.setZoom(o.zoom),"series"===r&&H(e.seriesGroup,(function(t){t.setCenter(o.center),t.setZoom(o.zoom)}))}}))}))}function V$(t){zw(z$),t.registerChartView(_$),t.registerSeriesModel(w$),t.registerLayout(I$),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,M$),Ub("map",t.registerAction)}function H$(t){var e=t;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n,r,i=[e];n=i.pop();)if(r=n.children,n.isExpand&&r.length)for(var o=r.length-1;o>=0;o--){var a=r[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},i.push(a)}}function W$(t,e){var n=t.isExpand?t.children:[],r=t.parentNode.children,i=t.hierNode.i?r[t.hierNode.i-1]:null;if(n.length){X$(t);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;i?(t.hierNode.prelim=i.hierNode.prelim+e(t,i),t.hierNode.modifier=t.hierNode.prelim-o):t.hierNode.prelim=o}else i&&(t.hierNode.prelim=i.hierNode.prelim+e(t,i));t.parentNode.hierNode.defaultAncestor=q$(t,i,t.parentNode.hierNode.defaultAncestor||r[0],e)}function G$(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function Y$(t){return arguments.length?t:eE}function U$(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function Z$(t,e){return dg(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function X$(t){for(var e=t.children,n=e.length,r=0,i=0;--n>=0;){var o=e[n];o.hierNode.prelim+=r,o.hierNode.modifier+=r,i+=o.hierNode.change,r+=o.hierNode.shift+i}}function q$(t,e,n,r){if(e){for(var i=t,o=t,a=o.parentNode.children[0],s=e,l=i.hierNode.modifier,u=o.hierNode.modifier,c=a.hierNode.modifier,d=s.hierNode.modifier;s=K$(s),o=J$(o),s&&o;){i=K$(i),a=J$(a),i.hierNode.ancestor=t;var h=s.hierNode.prelim+d-o.hierNode.prelim-u+r(s,o);h>0&&(tE(Q$(s,t,n),t,h),u+=h,l+=h),d+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=i.hierNode.modifier,c+=a.hierNode.modifier}s&&!K$(i)&&(i.hierNode.thread=s,i.hierNode.modifier+=d-l),o&&!J$(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-c,n=t)}return n}function K$(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function J$(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function Q$(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function tE(t,e,n){var r=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=r,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=r}function eE(t,e){return t.parentNode===e.parentNode?1:2}var nE=function(){function t(){this.parentPoint=[],this.childPoints=[]}return t}(),rE=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new nE},e.prototype.buildPath=function(t,e){var n=e.childPoints,r=n.length,i=e.parentPoint,o=n[0],a=n[r-1];if(1===r)return t.moveTo(i[0],i[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=oa(e.forkPosition,1),d=[];d[l]=i[l],d[u]=i[u]+(a[u]-i[u])*c,t.moveTo(i[0],i[1]),t.lineTo(d[0],d[1]),t.moveTo(o[0],o[1]),d[l]=o[l],t.lineTo(d[0],d[1]),d[l]=a[l],t.lineTo(d[0],d[1]),t.lineTo(a[0],a[1]);for(var h=1;h<r-1;h++){var f=n[h];t.moveTo(f[0],f[1]),d[l]=f[l],t.lineTo(d[0],d[1])}},e}(_u),iE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._mainGroup=new Bo,n}return i(e,t),e.prototype.init=function(t,e){this._controller=new ak(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},e.prototype.render=function(t,e,n){var r=t.getData(),i=t.layoutInfo,o=this._mainGroup;"radial"===t.get("layout")?(o.x=i.x+i.width/2,o.y=i.y+i.height/2):(o.x=i.x,o.y=i.y),this._updateViewCoordSys(t,n),this._updateController(t,e,n);var a=this._data;r.diff(a).add((function(e){oE(r,e)&&aE(r,e,null,o,t)})).update((function(e,n){var i=a.getItemGraphicEl(n);oE(r,e)?aE(r,e,i,o,t):i&&cE(a,n,i,o,t)})).remove((function(e){var n=a.getItemGraphicEl(e);n&&cE(a,e,n,o,t)})).execute(),this._nodeScaleRatio=t.get("nodeScaleRatio"),this._updateNodeAndLinkScale(t),!0===t.get("expandAndCollapse")&&r.eachItemGraphicEl((function(e,r){e.off("click").on("click",(function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:t.id,dataIndex:r})}))})),this._data=r},e.prototype._updateViewCoordSys=function(t,e){var n=t.getData(),r=[];n.each((function(t){var e=n.getItemLayout(t);!e||isNaN(e.x)||isNaN(e.y)||r.push([+e.x,+e.y])}));var i=[],o=[];Il(r,i,o);var a=this._min,s=this._max;o[0]-i[0]==0&&(i[0]=a?a[0]:i[0]-1,o[0]=s?s[0]:o[0]+1),o[1]-i[1]==0&&(i[1]=a?a[1]:i[1]-1,o[1]=s?s[1]:o[1]+1);var l=t.coordinateSystem=new D$;l.zoomLimit=t.get("scaleLimit"),l.setBoundingRect(i[0],i[1],o[0]-i[0],o[1]-i[1]),l.setCenter(t.get("center"),e),l.setZoom(t.get("zoom")),this.group.attr({x:l.x,y:l.y,scaleX:l.scaleX,scaleY:l.scaleY}),this._min=i,this._max=o},e.prototype._updateController=function(t,e,n){var r=this,i=this._controller,o=this._controllerHost,a=this.group;i.setPointerChecker((function(e,r,i){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(r,i)&&!pk(e,n,t)})),i.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(e){ck(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"treeRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){dk(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"treeRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),r._updateNodeAndLinkScale(t),n.updateLabelLayout()}))},e.prototype._updateNodeAndLinkScale=function(t){var e=t.getData(),n=this._getNodeGlobalScale(t);e.eachItemGraphicEl((function(t,e){t.setSymbolScale(n)}))},e.prototype._getNodeGlobalScale=function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=this._nodeScaleRatio,r=e.scaleX||1;return((e.getZoom()-1)*n+1)/r},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},e.type="tree",e}(Zv);function oE(t,e){var n=t.getItemLayout(e);return n&&!isNaN(n.x)&&!isNaN(n.y)}function aE(t,e,n,r,i){var o=!n,a=t.tree.getNodeByDataIndex(e),s=a.getModel(),l=a.getVisual("style").fill,u=!1===a.isExpand&&0!==a.children.length?l:"#fff",c=t.tree.root,d=a.parentNode===c?a:a.parentNode||a,h=t.getItemGraphicEl(d.dataIndex),f=d.getLayout(),p=h?{x:h.__oldX,y:h.__oldY,rawX:h.__radialOldRawX,rawY:h.__radialOldRawY}:f,g=a.getLayout();o?((n=new PT(t,e,null,{symbolInnerColor:u,useNameLabel:!0})).x=p.x,n.y=p.y):n.updateData(t,e,null,{symbolInnerColor:u,useNameLabel:!0}),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=g.rawX,n.__radialRawY=g.rawY,r.add(n),t.setItemGraphicEl(e,n),n.__oldX=n.x,n.__oldY=n.y,Eh(n,{x:g.x,y:g.y},i);var y=n.getSymbolPath();if("radial"===i.get("layout")){var m=c.children[0],v=m.getLayout(),b=m.children.length,x=void 0,_=void 0;if(g.x===v.x&&!0===a.isExpand&&m.children.length){var w={x:(m.children[0].getLayout().x+m.children[b-1].getLayout().x)/2,y:(m.children[0].getLayout().y+m.children[b-1].getLayout().y)/2};
vendor: 8,533 bytes, line 33
33(x=Math.atan2(w.y-v.y,w.x-v.x))<0&&(x=2*Math.PI+x),(_=w.x<v.x)&&(x-=Math.PI)}else(x=Math.atan2(g.y-v.y,g.x-v.x))<0&&(x=2*Math.PI+x),0===a.children.length||0!==a.children.length&&!1===a.isExpand?(_=g.x<v.x)&&(x-=Math.PI):(_=g.x>v.x)||(x-=Math.PI);var S=_?"left":"right",M=s.getModel("label"),I=M.get("rotate"),A=I*(Math.PI/180),D=y.getTextContent();D&&(y.setTextConfig({position:M.get("position")||S,rotation:null==I?-x:A,origin:"center"}),D.setStyle("verticalAlign","middle"))}var T=s.get(["emphasis","focus"]),C="relative"===T?At(a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===T?a.getAncestorsIndices():"descendant"===T?a.getDescendantIndices():null;C&&(Qu(n).focus=C),sE(i,a,c,n,p,f,g,r),n.__edge&&(n.onHoverStateChange=function(e){if("blur"!==e){var r=a.parentNode&&t.getItemGraphicEl(a.parentNode.dataIndex);r&&r.hoverState===ac||Dc(n.__edge,e)}})}function sE(t,e,n,r,i,o,a,s){var l=e.getModel(),u=t.get("edgeShape"),c=t.get("layout"),d=t.getOrient(),h=t.get(["lineStyle","curveness"]),f=t.get("edgeForkPosition"),p=l.getModel("lineStyle").getLineStyle(),g=r.__edge;if("curve"===u)e.parentNode&&e.parentNode!==n&&(g||(g=r.__edge=new mh({shape:dE(c,d,h,i,i)})),Eh(g,{shape:dE(c,d,h,o,a)},t));else if("polyline"===u){if("orthogonal"!==c)throw new Error("The polyline edgeShape can only be used in orthogonal layout");if(e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var y=e.children,m=[],v=0;v<y.length;v++){var b=y[v].getLayout();m.push([b.x,b.y])}g||(g=r.__edge=new rE({shape:{parentPoint:[a.x,a.y],childPoints:[[a.x,a.y]],orient:d,forkPosition:f}})),Eh(g,{shape:{parentPoint:[a.x,a.y],childPoints:m}},t)}}g&&("polyline"!==u||e.isExpand)&&(g.useStyle(R({strokeNoScale:!0,fill:null},p)),od(g,l,"lineStyle"),$c(g),s.add(g))}function lE(t,e,n,r,i){var o=uE(e.tree.root,t),a=o.source,s=o.sourceLayout,l=e.getItemGraphicEl(t.dataIndex);if(l){var u=e.getItemGraphicEl(a.dataIndex).__edge,c=l.__edge||(!1===a.isExpand||1===a.children.length?u:void 0),d=r.get("edgeShape"),h=r.get("layout"),f=r.get("orient"),p=r.get(["lineStyle","curveness"]);c&&("curve"===d?Rh(c,{shape:dE(h,f,p,s,s),style:{opacity:0}},r,{cb:function(){n.remove(c)},removeOpt:i}):"polyline"===d&&"orthogonal"===r.get("layout")&&Rh(c,{shape:{parentPoint:[s.x,s.y],childPoints:[[s.x,s.y]]},style:{opacity:0}},r,{cb:function(){n.remove(c)},removeOpt:i}))}}function uE(t,e){for(var n,r=e.parentNode===t?e:e.parentNode||e;null==(n=r.getLayout());)r=r.parentNode===t?r:r.parentNode||r;return{source:r,sourceLayout:n}}function cE(t,e,n,r,i){var o=t.tree.getNodeByDataIndex(e),a=uE(t.tree.root,o).sourceLayout,s={duration:i.get("animationDurationUpdate"),easing:i.get("animationEasingUpdate")};Rh(n,{x:a.x+1,y:a.y+1},i,{cb:function(){r.remove(n),t.setItemGraphicEl(e,null)},removeOpt:s}),n.fadeOut(null,t.hostModel,{fadeLabel:!0,animation:s}),o.children.forEach((function(e){lE(e,t,r,i,s)})),lE(o,t,r,i,s)}function dE(t,e,n,r,i){var o,a,s,l,u,c,d,h;if("radial"===t){u=r.rawX,d=r.rawY,c=i.rawX,h=i.rawY;var f=U$(u,d),p=U$(u,d+(h-d)*n),g=U$(c,h+(d-h)*n),y=U$(c,h);return{x1:f.x||0,y1:f.y||0,x2:y.x||0,y2:y.y||0,cpx1:p.x||0,cpy1:p.y||0,cpx2:g.x||0,cpy2:g.y||0}}return u=r.x,d=r.y,c=i.x,h=i.y,"LR"!==e&&"RL"!==e||(o=u+(c-u)*n,a=d,s=c+(u-c)*n,l=h),"TB"!==e&&"BT"!==e||(o=u,a=d+(h-d)*n,s=c,l=h+(d-h)*n),{x1:u,y1:d,x2:c,y2:h,cpx1:o,cpy1:a,cpx2:s,cpy2:l}}var hE=fs();function fE(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,xE(e,n,t),H(n,(function(n){H(e.TRANSFERABLE_METHODS,(function(e){n.wrapMethod(e,K(pE,t))}))})),e.wrapMethod("cloneShallow",K(yE,t)),H(e.CHANGABLE_METHODS,(function(n){e.wrapMethod(n,K(gE,t))})),yt(n[e.dataType]===e)}function pE(t,e){if(bE(this)){var n=N({},hE(this).datas);n[this.dataType]=e,xE(e,n,t)}else _E(e,this.dataType,hE(this).mainData,t);return e}function gE(t,e){return t.struct&&t.struct.update(),e}function yE(t,e){return H(hE(e).datas,(function(n,r){n!==e&&_E(n.cloneShallow(),r,e,t)})),e}function mE(t){var e=hE(this).mainData;return null==t||null==e?e:hE(e).datas[t]}function vE(){var t=hE(this).mainData;return null==t?[{data:t}]:W(Z(hE(t).datas),(function(e){return{type:e,data:hE(t).datas[e]}}))}function bE(t){return hE(t).mainData===t}function xE(t,e,n){hE(t).datas={},H(e,(function(e,r){_E(e,r,t,n)}))}function _E(t,e,n,r){hE(n).datas[e]=t,hE(t).mainData=n,t.dataType=e,r.struct&&(t[r.structAttr]=r.struct,r.struct[r.datasAttr[e]]=t),t.getLinkedData=mE,t.getLinkedDataAll=vE}var wE=function(){function t(t,e){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=t||"",this.hostTree=e}return t.prototype.isRemoved=function(){return this.dataIndex<0},t.prototype.eachNode=function(t,e,n){Q(t)&&(n=e,e=t,t=null),tt(t=t||{})&&(t={order:t});var r,i=t.order||"preorder",o=this[t.attr||"children"];"preorder"===i&&(r=e.call(n,this));for(var a=0;!r&&a<o.length;a++)o[a].eachNode(t,e,n);"postorder"===i&&e.call(n,this)},t.prototype.updateDepthAndHeight=function(t){var e=0;this.depth=t;for(var n=0;n<this.children.length;n++){var r=this.children[n];r.updateDepthAndHeight(t+1),r.height>e&&(e=r.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,r=n.length;e<r;e++){var i=n[e].getNodeById(t);if(i)return i}},t.prototype.contains=function(t){if(t===this)return!0;for(var e=0,n=this.children,r=n.length;e<r;e++){var i=n[e].contains(t);if(i)return i}},t.prototype.getAncestors=function(t){for(var e=[],n=t?this:this.parentNode;n;)e.push(n),n=n.parentNode;return e.reverse(),e},t.prototype.getAncestorsIndices=function(){for(var t=[],e=this;e;)t.push(e.dataIndex),e=e.parentNode;return t.reverse(),t},t.prototype.getDescendantIndices=function(){var t=[];return this.eachNode((function(e){t.push(e.dataIndex)})),t},t.prototype.getValue=function(t){var e=this.hostTree.data;return e.getStore().get(e.getDimensionIndex(t||"value"),this.dataIndex)},t.prototype.setLayout=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e<t.length;++e)if(t[e]===this)return e;return-1}return-1},t.prototype.isAncestorOf=function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},t.prototype.isDescendantOf=function(t){return t!==this&&t.isAncestorOf(this)},t}(),SE=function(){function t(t){this.type="tree",this._nodes=[],this.hostModel=t}return t.prototype.eachNode=function(t,e,n){this.root.eachNode(t,e,n)},t.prototype.getNodeByDataIndex=function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},t.prototype.getNodeById=function(t){return this.root.getNodeById(t)},t.prototype.update=function(){for(var t=this.data,e=this._nodes,n=0,r=e.length;n<r;n++)e[n].dataIndex=-1;for(n=0,r=t.count();n<r;n++)e[t.getRawIndex(n)].dataIndex=n},t.prototype.clearLayouts=function(){this.data.clearItemLayouts()},t.createTree=function(e,n,r){var i=new t(n),o=[],a=1;function s(t,e){var n=t.value;a=Math.max(a,J(n)?n.length:1),o.push(t);var r=new wE(rs(t.name,""),i);e?ME(r,e):i.root=r,i._nodes.push(r);var l=t.children;if(l)for(var u=0;u<l.length;u++)s(l[u],r)}s(e),i.root.updateDepthAndHeight(0);var l=xS(o,{coordDimensions:["value"],dimensionsCount:a}).dimensions,u=new vS(l,n);return u.initData(o),r&&r(u),fE({mainData:u,struct:i,structAttr:"tree"}),i.update(),i},t}();function ME(t,e){var n=e.children;t.parentNode!==e&&(n.push(t),t.parentNode=e)}function IE(t,e,n){if(t&&B(e,t.type)>=0){var r=n.getData().tree.root,i=t.targetNode;if(tt(i)&&(i=r.getNodeById(i)),i&&r.contains(i))return{node:i};var o=t.targetNodeId;if(null!=o&&(i=r.getNodeById(o)))return{node:i}}}function AE(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function DE(t,e){return B(AE(t),e)>=0}function TE(t,e){for(var n=[];t;){var r=t.dataIndex;
vendor: 7,512 bytes, line 33
33n.push({name:t.name,dataIndex:r,value:e.getRawValue(r)}),t=t.parentNode}return n.reverse(),n}var CE=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return i(e,t),e.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=t.leaves||{},r=new Xf(n,this,this.ecModel),i=SE.createTree(e,this,o);function o(t){t.wrapMethod("getItemModel",(function(t,e){var n=i.getNodeByDataIndex(e);return n&&n.children.length&&n.isExpand||(t.parentModel=r),t}))}var a=0;i.eachNode("preorder",(function(t){t.depth>a&&(a=t.depth)}));var s=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:a;return i.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=s})),i.data},e.prototype.getOrient=function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.formatTooltip=function(t,e,n){for(var r=this.getData().tree,i=r.root.children[0],o=r.getNodeByDataIndex(t),a=o.getValue(),s=o.name;o&&o!==i;)s=o.parentNode.name+"."+s,o=o.parentNode;return pv("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=TE(r,this),n.collapsed=!r.isExpand,n},e.type="series.tree",e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(Lv);function OE(t,e,n){for(var r,i=[t],o=[];r=i.pop();)if(o.push(r),r.isExpand){var a=r.children;if(a.length)for(var s=0;s<a.length;s++)i.push(a[s])}for(;r=o.pop();)e(r,n)}function PE(t,e){for(var n,r=[t];n=r.pop();)if(e(n),n.isExpand){var i=n.children;if(i.length)for(var o=i.length-1;o>=0;o--)r.push(i[o])}}function kE(t,e){t.eachSeriesByType("tree",(function(t){$E(t,e)}))}function $E(t,e){var n=Z$(t,e);t.layoutInfo=n;var r=t.get("layout"),i=0,o=0,a=null;"radial"===r?(i=2*Math.PI,o=Math.min(n.height,n.width)/2,a=Y$((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(i=n.width,o=n.height,a=Y$());var s=t.getData().tree.root,l=s.children[0];if(l){H$(s),OE(l,W$,a),s.hierNode.modifier=-l.hierNode.prelim,PE(l,G$);var u=l,c=l,d=l;PE(l,(function(t){var e=t.getLayout().x;e<u.getLayout().x&&(u=t),e>c.getLayout().x&&(c=t),t.depth>d.depth&&(d=t)}));var h=u===c?1:a(u,c)/2,f=h-u.getLayout().x,p=0,g=0,y=0,m=0;if("radial"===r)p=i/(c.getLayout().x+h+f),g=o/(d.depth-1||1),PE(l,(function(t){y=(t.getLayout().x+f)*p,m=(t.depth-1)*g;var e=U$(y,m);t.setLayout({x:e.x,y:e.y,rawX:y,rawY:m},!0)}));else{var v=t.getOrient();"RL"===v||"LR"===v?(g=o/(c.getLayout().x+h+f),p=i/(d.depth-1||1),PE(l,(function(t){m=(t.getLayout().x+f)*g,y="LR"===v?(t.depth-1)*p:i-(t.depth-1)*p,t.setLayout({x:y,y:m},!0)}))):"TB"!==v&&"BT"!==v||(p=i/(c.getLayout().x+h+f),g=o/(d.depth-1||1),PE(l,(function(t){y=(t.getLayout().x+f)*p,m="TB"===v?(t.depth-1)*g:o-(t.depth-1)*g,t.setLayout({x:y,y:m},!0)})))}}}function EE(t){t.eachSeriesByType("tree",(function(t){var e=t.getData();e.tree.eachNode((function(t){var n=t.getModel().getModel("itemStyle").getItemStyle();N(e.ensureUniqueItemVisual(t.dataIndex,"style"),n)}))}))}function LE(t){t.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var n=t.dataIndex,r=e.getData().tree.getNodeByDataIndex(n);r.isExpand=!r.isExpand}))})),t.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(t,e,n){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var r=F$(e.coordinateSystem,t,void 0,n);e.setCenter&&e.setCenter(r.center),e.setZoom&&e.setZoom(r.zoom)}))}))}function NE(t){t.registerChartView(iE),t.registerSeriesModel(CE),t.registerLayout(kE),t.registerVisual(EE),LE(t)}var RE=["treemapZoomToNode","treemapRender","treemapMove"];function FE(t){for(var e=0;e<RE.length;e++)t.registerAction({type:RE[e],update:"updateView"},Ot);t.registerAction({type:"treemapRootToNode",update:"updateView"},(function(t,e){function n(e,n){var r=IE(t,["treemapZoomToNode","treemapRootToNode"],e);if(r){var i=e.getViewRoot();i&&(t.direction=DE(i,r.node)?"rollUp":"drillDown"),e.resetViewRoot(r.node)}}e.eachComponent({mainType:"series",subType:"treemap",query:t},n)}))}function BE(t){var e=t.getData().tree,n={};e.eachNode((function(e){for(var r=e;r&&r.depth>1;)r=r.parentNode;var i=Kg(t.ecModel,r.name||r.dataIndex+"",n);e.setVisual("decal",i)}))}var jE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventUsingHoverLayer=!0,n}return i(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};zE(n);var r=t.levels||[],i=this.designatedVisualItemStyle={},o=new Xf({itemStyle:i},this,e),a=W((r=t.levels=VE(r,e))||[],(function(t){return new Xf(t,o,e)}),this),s=SE.createTree(n,this,l);function l(t){t.wrapMethod("getItemModel",(function(t,e){var n=s.getNodeByDataIndex(e),r=n?a[n.depth]:null;return t.parentModel=r||o,t}))}return s.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,n){var r=this.getData(),i=this.getRawValue(t);return pv("nameValue",{name:r.getName(t),value:i})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=TE(r,this),n.treePathInfo=n.treeAncestors,n},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},N(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=It(),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){BE(this)},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"â¶",zoomToNodeRatio:.1024,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}}
vendor: 4,235 bytes, line 33
33,visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(Lv);function zE(t){var e=0;H(t.children,(function(t){zE(t);var n=t.value;J(n)&&(n=n[0]),e+=n}));var n=t.value;J(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),J(t.value)?t.value[0]=n:t.value=n}function VE(t,e){var n=Ha(e.get("color")),r=Ha(e.get(["aria","decal","decals"]));if(n){var i,o;H(t=t||[],(function(t){var e=new Xf(t),n=e.get("color"),r=e.get("decal");(e.get(["itemStyle","color"])||n&&"none"!==n)&&(i=!0),(e.get(["itemStyle","decal"])||r&&"none"!==r)&&(o=!0)}));var a=t[0]||(t[0]={});return i||(a.color=n.slice()),!o&&r&&(a.decal=r.slice()),t}}var HE=8,WE=8,GE=5,YE=function(){function t(t){this.group=new Bo,t.add(this.group)}return t.prototype.render=function(t,e,n,r){var i=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),i.get("show")&&n){var a=i.getModel("itemStyle"),s=i.getModel("emphasis"),l=a.getModel("textStyle"),u=s.getModel(["itemStyle","textStyle"]),c={pos:{left:i.get("left"),right:i.get("right"),top:i.get("top"),bottom:i.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:i.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,c,l),this._renderContent(t,c,a,s,l,u,r),hg(o,c.pos,c.box)}},t.prototype._prepare=function(t,e,n){for(var r=t;r;r=r.parentNode){var i=rs(r.getModel().get("name"),""),o=n.getTextRect(i),a=Math.max(o.width+2*HE,e.emptyItemWidth);e.totalWidth+=a+WE,e.renderList.push({node:r,text:i,width:a})}},t.prototype._renderContent=function(t,e,n,r,i,o,a){for(var s=0,l=e.emptyItemWidth,u=t.get(["breadcrumb","height"]),c=cg(e.pos,e.box),d=e.totalWidth,h=e.renderList,f=r.getModel("itemStyle").getItemStyle(),p=h.length-1;p>=0;p--){var g=h[p],y=g.node,m=g.width,v=g.text;d>c.width&&(d-=m-l,m=l,v=null);var b=new lh({shape:{points:UE(s,0,m,u,p===h.length-1,0===p)},style:R(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new Bu({style:Df(i,{text:v})}),textConfig:{position:"inside"},z2:1e4*cc,onclick:K(a,y)});b.disableLabelAnimation=!0,b.getTextContent().ensureState("emphasis").style=Df(o,{text:v}),b.ensureState("emphasis").style=f,ed(b,r.get("focus"),r.get("blurScope"),r.get("disabled")),this.group.add(b),ZE(b,t,y),s+=m+WE}},t.prototype.remove=function(){this.group.removeAll()},t}();function UE(t,e,n,r,i,o){var a=[[i?t:t-GE,e],[t+n,e],[t+n,e+r],[i?t:t-GE,e+r]];return!o&&a.splice(2,0,[t+n+GE,e+r/2]),!i&&a.push([t,e+r/2]),a}function ZE(t,e,n){Qu(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&TE(n,e)}}var XE=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,r,i){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:r,easing:i}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){--e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},r=0,i=this._storage.length;r<i;r++){var o=this._storage[r];o.el.animateTo(o.target,{duration:o.duration,delay:o.delay,easing:o.easing,setToFinal:!0,done:n,aborted:n})}return this},t}();function qE(){return new XE}var KE=Bo,JE=Lu,QE=3,tL="label",eL="upperLabel",nL=10*cc,rL=2*cc,iL=3*cc,oL=Bs([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),aL=function(t){var e=oL(t);return e.stroke=e.fill=e.lineWidth=null,e},sL=fs(),lL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._state="ready",n._storage=uL(),n}return i(e,t),e.prototype.render=function(t,e,n,r){if(!(B(e.findComponents({mainType:"series",subType:"treemap",query:r}),t)<0)){this.seriesModel=t,this.api=n,this.ecModel=e;var i=IE(r,["treemapZoomToNode","treemapRootToNode"],t),o=r&&r.type,a=t.layoutInfo,s=!this._oldTree,l=this._storage,u="treemapRootToNode"===o&&i&&l?{rootNodeGroup:l.n
vendor: 15,196 bytes, line 33
33odeGroup[i.node.getRawIndex()],direction:r.direction}:null,c=this._giveContainerGroup(a),d=t.get("animation"),h=this._doRender(c,t,u);!d||s||o&&"treemapZoomToNode"!==o&&"treemapRootToNode"!==o?h.renderFinally():this._doAnimation(c,h,t,u),this._resetController(n),this._renderBreadcrumb(t,n,i)}},e.prototype._giveContainerGroup=function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new KE,this._initEvents(e),this.group.add(e)),e.x=t.x,e.y=t.y,e},e.prototype._doRender=function(t,e,n){var r=e.getData().tree,i=this._oldTree,o=uL(),a=uL(),s=this._storage,l=[];function u(t,r,i,u){return cL(e,a,s,n,o,l,t,r,i,u)}f(r.root?[r.root]:[],i&&i.root?[i.root]:[],t,r===i||!i,0);var c=p(s);if(this._oldTree=r,this._storage=a,this._controllerHost){var d=this.seriesModel.layoutInfo,h=r.root.getLayout();h.width===d.width&&h.height===d.height&&(this._controllerHost.zoom=1)}return{lastsForAnimation:o,willDeleteEls:c,renderFinally:g};function f(t,e,n,r,i){function o(t){return t.getId()}function a(o,a){var s=null!=o?t[o]:null,l=null!=a?e[a]:null,c=u(s,l,n,i);c&&f(s&&s.viewChildren||[],l&&l.viewChildren||[],c,r,i+1)}r?(e=t,H(t,(function(t,e){!t.isRemoved()&&a(e,e)}))):new Ww(e,t,o,o).add(a).update(a).remove(K(a,null)).execute()}function p(t){var e=uL();return t&&H(t,(function(t,n){var r=e[n];H(t,(function(t){t&&(r.push(t),sL(t).willDelete=!0)}))})),e}function g(){H(c,(function(t){H(t,(function(t){t.parent&&t.parent.remove(t)}))})),H(l,(function(t){t.invisible=!0,t.dirty()}))}},e.prototype._doAnimation=function(t,e,n,r){var i=n.get("animationDurationUpdate"),o=n.get("animationEasing"),a=(Q(i)?0:i)||0,s=(Q(o)?null:o)||"cubicOut",l=qE();H(e.willDeleteEls,(function(t,e){H(t,(function(t,n){if(!t.invisible){var i,o=t.parent,u=sL(o);if(r&&"drillDown"===r.direction)i=o===r.rootNodeGroup?{shape:{x:0,y:0,width:u.nodeWidth,height:u.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var c=0,d=0;u.willDelete||(c=u.nodeWidth/2,d=u.nodeHeight/2),i="nodeGroup"===e?{x:c,y:d,style:{opacity:0}}:{shape:{x:c,y:d,width:0,height:0},style:{opacity:0}}}i&&l.add(t,i,a,0,s)}}))})),H(this._storage,(function(t,n){H(t,(function(t,r){var i=e.lastsForAnimation[n][r],o={};i&&(t instanceof Bo?null!=i.oldX&&(o.x=t.x,o.y=t.y,t.x=i.oldX,t.y=i.oldY):(i.oldShape&&(o.shape=N({},t.shape),t.setShape(i.oldShape)),i.fadein?(t.setStyle("opacity",0),o.style={opacity:1}):1!==t.style.opacity&&(o.style={opacity:1})),l.add(t,o,a,0,s))}))}),this),this._state="animating",l.finished(q((function(){this._state="ready",e.renderFinally()}),this)).start()},e.prototype._resetController=function(t){var e=this._controller,n=this._controllerHost;n||(this._controllerHost={target:this.group},n=this._controllerHost),e||((e=this._controller=new ak(t.getZr())).enable(this.seriesModel.get("roam")),n.zoomLimit=this.seriesModel.get("scaleLimit"),n.zoom=this.seriesModel.get("zoom"),e.on("pan",q(this._onPan,this)),e.on("zoom",q(this._onZoom,this)));var r=new nn(0,0,t.getWidth(),t.getHeight());e.setPointerChecker((function(t,e,n){return r.contain(e,n)}))},e.prototype._clearController=function(){var t=this._controller;this._controllerHost=null,t&&(t.dispose(),t=null)},e.prototype._onPan=function(t){if("animating"!==this._state&&(Math.abs(t.dx)>QE||Math.abs(t.dy)>QE)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},e.prototype._onZoom=function(t){var e=t.originX,n=t.originY,r=t.scale;if("animating"!==this._state){var i=this.seriesModel.getData().tree.root;if(!i)return;var o=i.getLayout();if(!o)return;var a=new nn(o.x,o.y,o.width,o.height),s=null,l=this._controllerHost;s=l.zoomLimit;var u=l.zoom=l.zoom||1;if(u*=r,s){var c=s.min||0,d=s.max||1/0;u=Math.max(Math.min(d,u),c)}var h=u/l.zoom;l.zoom=u;var f=this.seriesModel.layoutInfo;e-=f.x,n-=f.y;var p=Re();ze(p,p,[-e,-n]),He(p,p,[h,h]),ze(p,p,[e,n]),a.applyTransform(p),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:a.x,y:a.y,width:a.width,height:a.height}})}},e.prototype._initEvents=function(t){var e=this;t.on("click",(function(t){if("ready"===e._state){var n=e.seriesModel.get("nodeClick",!0);if(n){var r=e.findTarget(t.offsetX,t.offsetY);if(r){var i=r.node;if(i.getLayout().isLeafRoot)e._rootToNode(r);else if("zoomToNode"===n)e._zoomToNode(r);else if("link"===n){var o=i.hostTree.data.getItemModel(i.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&ig(a,s)}}}}}),this)},e.prototype._renderBreadcrumb=function(t,e,n){var r=this;n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new YE(this.group))).render(t,e,n.node,(function(e){"animating"!==r._state&&(DE(t.getViewRoot(),e)?r._rootToNode({node:e}):r._zoomToNode({node:e}))}))},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=uL(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(r){var i=this._storage.background[r.getRawIndex()];if(i){var o=i.transformCoordToLocal(t,e),a=i.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:r,offsetX:o[0],offsetY:o[1]}}}),this),n},e.type="treemap",e}(Zv);function uL(){return{nodeGroup:[],background:[],content:[]}}function cL(t,e,n,r,i,o,a,s,l,u){if(a){var c=a.getLayout(),d=t.getData(),h=a.getModel();if(d.setItemGraphicEl(a.dataIndex,null),c&&c.isInView){var f=c.width,p=c.height,g=c.borderWidth,y=c.invisible,m=a.getRawIndex(),v=s&&s.getRawIndex(),b=a.viewChildren,x=c.upperHeight,_=b&&b.length,w=h.getModel("itemStyle"),S=h.getModel(["emphasis","itemStyle"]),M=h.getModel(["blur","itemStyle"]),I=h.getModel(["select","itemStyle"]),A=w.get("borderRadius")||0,D=z("nodeGroup",KE);if(D){if(l.add(D),D.x=c.x||0,D.y=c.y||0,D.markRedraw(),sL(D).nodeWidth=f,sL(D).nodeHeight=p,c.isAboveViewRoot)return D;var T=z("background",JE,u,rL);T&&L(D,T,_&&c.upperLabelHeight);var C=h.getModel("emphasis"),O=C.get("focus"),P=C.get("blurScope"),k=C.get("disabled"),$="ancestor"===O?a.getAncestorsIndices():"descendant"===O?a.getDescendantIndices():O;if(_)sd(D)&&ad(D,!1),T&&(ad(T,!k),d.setItemGraphicEl(a.dataIndex,T),nd(T,$,P));else{var E=z("content",JE,u,iL);E&&R(D,E),T.disableMorphing=!0,T&&sd(T)&&ad(T,!1),ad(D,!k),d.setItemGraphicEl(a.dataIndex,D),nd(D,$,P)}return D}}}function L(e,n,r){var i=Qu(n);if(i.dataIndex=a.dataIndex,i.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:f,height:p,r:A}),y)F(n);else{n.invisible=!1;var o=a.getVisual("style"),s=o.stroke,l=aL(w);l.fill=s;var u=oL(S);u.fill=S.get("borderColor");var c=oL(M);c.fill=M.get("borderColor");var d=oL(I);if(d.fill=I.get("borderColor"),r){var h=f-2*g;B(n,s,o.opacity,{x:g,y:0,width:h,height:x})}else n.removeTextContent();n.setStyle(l),n.ensureState("emphasis").style=u,n.ensureState("blur").style=c,n.ensureState("select").style=d,$c(n)}e.add(n)}function R(e,n){var r=Qu(n);r.dataIndex=a.dataIndex,r.seriesIndex=t.seriesIndex;var i=Math.max(f-2*g,0),o=Math.max(p-2*g,0);if(n.culling=!0,n.setShape({x:g,y:g,width:i,height:o,r:A}),y)F(n);else{n.invisible=!1;var s=a.getVisual("style"),l=s.fill,u=aL(w);u.fill=l,u.decal=s.decal;var c=oL(S),d=oL(M),h=oL(I);B(n,l,s.opacity,null),n.setStyle(u),n.ensureState("emphasis").style=c,n.ensureState("blur").style=d,n.ensureState("select").style=h,$c(n)}e.add(n)}function F(t){!t.invisible&&o.push(t)}function B(e,n,r,i){var o=h.getModel(i?eL:tL),s=rs(h.get("name"),null),l=o.getShallow("show");If(e,Af(h,i?eL:tL),{defaultText:l?s:null,inheritColor:n,defaultOpacity:r,labelFetcher:t,labelDataIndex:a.dataIndex});var u=e.getTextContent();if(u){var d=u.style,f=gt(d.padding||0);i&&(e.setTextConfig({layoutRect:i}),u.disableLabelLayout=!0),u.beforeUpdate=function(){var t=Math.max((i?i.width:e.shape.width)-f[1]-f[3],0),n=Math.max((i?i.height:e.shape.height)-f[0]-f[2],0);d.width===t&&d.height===n||u.setStyle({width:t,height:n})},d.truncateMinChar=2,d.lineOverflow="truncate",j(d,i,c);var p=u.getState("emphasis");j(p?p.style:null,i,c)}}function j(e,n,r){var i=e?e.text:null;if(!n&&r.isLeafRoot&&null!=i){var o=t.get("drillDownIcon",!0);e.text=o?o+" "+i:i}}function z(t,r,o,a){var s=null!=v&&n[t][v],l=i[t];return s?(n[t][v]=null,V(l,s)):y||((s=new r)instanceof fl&&(s.z2=dL(o,a)),H(l,s)),e[t][m]=s}function V(t,e){var n=t[m]={};e instanceof KE?(n.oldX=e.x,n.oldY=e.y):n.oldShape=N({},e.shape)}function H(t,e){var n=t[m]={},o=a.parentNode,s=e instanceof Bo;if(o&&(!r||"drillDown"===r.direction)){var l=0,u=0,c=i.background[o.getRawIndex()];!r&&c&&c.oldShape&&(l=c.oldShape.width,u=c.oldShape.height),s?(n.oldX=0,n.oldY=u):n.oldShape={x:l,y:u,width:0,height:0}}n.fadein=!s}}function dL(t,e){return t*nL+e}var hL=H,fL=rt,pL=-1,gL=function(){function t(e){var n=e.mappingMethod,r=e.type,i=this.option=$(e);this.type=r,this.mappingMethod=n,this._normalizeData=DL[n];var o=t.visualHandlers[r];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(vL(i),yL(i)):"category"===n?i.categories?mL(i):vL(i,!0):(yt("linear"!==n||i.dataExtent),vL(i))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return q(this._normalizeData,this)},t.listVisualTypes=function(){return Z(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){rt(t)?H(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,r){var i,o=J(e)?[]:rt(e)?{}:(i=!0,null);return t.eachVisual(e,(function(t,e){var a=n.call(r,t,e);i?o=a:o[e]=a})),o},t.retrieveVisuals=function(e){var n,r={};return e&&hL(t.visualHandlers,(function(t,i){e.hasOwnProperty(i)&&(r[i]=e[i],n=!0)})),n?r:null},t.prepareVisualTypes=function(t){if(J(t))t=t.slice();else{if(!fL(t))return[];var e=[];hL(t,(function(t,n){e.push(n)})),t=e}return t.sort((function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1})),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var r,i=1/0,o=0,a=e.length;o<a;o++){var s=e[o].value;if(null!=s){if(s===t||tt(s)&&s===t+"")return o;n&&d(s,o)}}for(o=0,a=e.length;o<a;o++){var l=e[o],u=l.interval,c=l.close;if(u){if(u[0]===-1/0){if(TL(c[1],t,u[1]))return o}else if(u[1]===1/0){if(TL(c[0],u[0],t))return o}else if(TL(c[0],u[0],t)&&TL(c[1],t,u[1]))return o;n&&d(u[0],o),n&&d(u[1],o)}}if(n)return t===1/0?e.length-1:t===-1/0?0:r;function d(e,n){var o=Math.abs(e-t);o<i&&(i=o,r=n)}},t.visualHandlers={color:{applyVisual:_L("color"),getColorMapper:function(){var t=this.option;return q("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),wL.call(this,t)}:function(e,n,r){var i=!!r;return!n&&(e=this._normalizeData(e)),r=Cr(e,t.parsedVisual,r),i?r:Lr(r,"rgba")},this)},_normalizedToVisual:{linear:function(t){return Lr(Cr(t,this.option.parsedVisual),"rgba")},category:wL,piecewise:function(t,e){var n=IL.call(this,e);return null==n&&(n=Lr(Cr(t,this.option.parsedVisual),"rgba")),n},fixed:SL}},colorHue:bL((function(t,e){return $r(t,e)})),colorSaturation:bL((function(t,e){return $r(t,null,e)})),colorLightness:bL((function(t,e){return $r(t,null,null,e)})),colorAlpha:bL((function(t,e){return Er(t,e)})),decal:{applyVisual:_L("decal"),_normalizedToVisual:{linear:null,category:wL,piecewise:null,fixed:null}},opacity:{applyVisual:_L("opacity"),_normalizedToVisual:ML([0,1])},liftZ:{applyVisual:_L("liftZ"),_normalizedToVisual:{linear:SL,category:SL,piecewise:SL,fixed:SL}},symbol:{applyVisual:function(t,e,n){n("symbol",this.mapValueToVisual(t))},_normalizedToVisual:{linear:xL,category:wL,piecewise:function(t,e){var n=IL.call(this,e);return null==n&&(n=xL.call(this,t)),n},fixed:SL}},symbolSize:{applyVisual:_L("symbolSize"),_normalizedToVisual:ML([0,1])}},t}();function yL(t){var e=t.pieceList;t.hasSpecialVisual=!1,H(e,(function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)}))}function mL(t){var e=t.categories,n=t.categoryMap={},r=t.visual;if(hL(e,(function(t,e){n[t]=e})),!J(r)){var i=[];rt(r)?hL(r,(function(t,e){var r=n[e];i[null!=r?r:pL]=t})):i[pL]=r,r=AL(t,i)}for(var o=e.length-1;o>=0;o--)null==r[o]&&(delete n[e[o]],e.pop())}function vL(t,e){var n=t.visual,r=[];rt(n)?hL(n,(function(t){r.push(t)})):null!=n&&r.push(n);var i={color:1,symbol:1};e||1!==r.length||i.hasOwnProperty(t.type)||(r[1]=r[0]),AL(t,r)}function bL(t){return{applyVisual:function(e,n,r){var i=this.mapValueToVisual(e);r("color",t(n("color"),i))},_normalizedToVisual:ML([0,1])}}function xL(t){var e=this.option.visual;return e[Math.round(ia(t,[0,1],[0,e.length-1],!0))]||{}}function _L(t){return function(e,n,r){r(t,this.mapValueToVisual(e))}}function wL(t){var e=this.option.visual;return e[this.option.loop&&t!==pL?t%e.length:t]}function SL(){return this.option.visual[0]}function ML(t){return{linear:function(e){return ia(e,t,this.option.visual,!0)},category:wL,piecewise:function(e,n){var r=IL.call(this,n);return null==r&&(r=ia(e,t,this.option.visual,!0)),r},fixed:SL}}function IL(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var r=n[gL.findPieceIndex(t,n)];if(r&&r.visual)return r.visual[this.type]}}function AL(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=W(e,(function(t){var e=Mr(t);return e||Ea("'"+t+"' is an illegal color, fallback to '#000000'",!0),e||[0,0,0,1]}))),e}var DL={linear:function(t){return ia(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=gL.findPieceIndex(t,e,!0);if(null!=n)return ia(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?pL:e},fixed:Ot};function TL(t,e,n){return t?e<=n:e<n}var CL="itemStyle",OL=fs(),PL={seriesType:"treemap",reset:function(t){var e=t.getData().tree.root;e.isRemoved()||kL(e,{},t.getViewRoot().getAncestors(),t)}};function kL(t,e,n,r){var i=t.getModel(),o=t.getLayout(),a=t.hostTree.data;if(o&&!o.invisible&&o.isInView){var s,l=i.getModel(CL),u=$L(l,e,r),c=a.ensureUniqueItemVisual(t.dataIndex,"style"),d=l.get("borderColor"),h=l.get("borderColorSaturation");null!=h&&(d=LL(h,s=EL(u))),c.stroke=d;var f=t.viewChildren;if(f&&f.length){var p=RL(t,i,o,l,u,f);H(f,(function(t,e){(t.depth>=n.length||t===n[t.depth])&&kL(t,BL(i,u,t,e,p,r),n,r)}))}else s=EL(u),c.fill=s}}function $L(t,e,n){var r=N({},e),i=n.designatedVisualItemStyle;return H(["color","colorAlpha","colorSaturation"],(function(n){i[n]=e[n];var o=t.get(n);i[n]=null,null!=o&&(r[n]=o)})),r}function EL(t){var e=NL(t,"color");
vendor: 8,365 bytes, line 33
33if(e){var n=NL(t,"colorAlpha"),r=NL(t,"colorSaturation");return r&&(e=$r(e,null,null,r)),n&&(e=Er(e,n)),e}}function LL(t,e){return null!=e?$r(e,null,null,t):null}function NL(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function RL(t,e,n,r,i,o){if(o&&o.length){var a=FL(e,"color")||null!=i.color&&"none"!==i.color&&(FL(e,"colorAlpha")||FL(e,"colorSaturation"));if(a){var s=e.get("visualMin"),l=e.get("visualMax"),u=n.dataExtent.slice();null!=s&&s<u[0]&&(u[0]=s),null!=l&&l>u[1]&&(u[1]=l);var c=e.get("colorMappingBy"),d={type:a.name,dataExtent:u,visual:a.range};"color"!==d.type||"index"!==c&&"id"!==c?d.mappingMethod="linear":(d.mappingMethod="category",d.loop=!0);var h=new gL(d);return OL(h).drColorMappingBy=c,h}}}function FL(t,e){var n=t.get(e);return J(n)&&n.length?{name:e,range:n}:null}function BL(t,e,n,r,i,o){var a=N({},e);if(i){var s=i.type,l="color"===s&&OL(i).drColorMappingBy,u="index"===l?r:"id"===l?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));a[s]=i.mapValueToVisual(u)}return a}var jL=Math.max,zL=Math.min,VL=dt,HL=H,WL=["itemStyle","borderWidth"],GL=["itemStyle","gapWidth"],YL=["upperLabel","show"],UL=["upperLabel","height"],ZL={seriesType:"treemap",reset:function(t,e,n,r){var i=n.getWidth(),o=n.getHeight(),a=t.option,s=dg(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=a.size||[],u=oa(VL(s.width,l[0]),i),c=oa(VL(s.height,l[1]),o),d=r&&r.type,h=IE(r,["treemapZoomToNode","treemapRootToNode"],t),f="treemapRender"===d||"treemapMove"===d?r.rootRect:null,p=t.getViewRoot(),g=AE(p);if("treemapMove"!==d){var y="treemapZoomToNode"===d?nN(t,h,p,u,c):f?[f.width,f.height]:[u,c],m=a.sort;m&&"asc"!==m&&"desc"!==m&&(m="desc");var v={squareRatio:a.squareRatio,sort:m,leafDepth:a.leafDepth};p.hostTree.clearLayouts();var b={x:0,y:0,width:y[0],height:y[1],area:y[0]*y[1]};p.setLayout(b),XL(p,v,!1,0),b=p.getLayout(),HL(g,(function(t,e){var n=(g[e+1]||p).getValue();t.setLayout(N({dataExtent:[n,n],borderWidth:0,upperHeight:0},b))}))}var x=t.getData().tree.root;x.setLayout(rN(s,f,h),!0),t.setLayoutInfo(s),iN(x,new nn(-s.x,-s.y,i,o),g,p,0)}};function XL(t,e,n,r){var i,o;if(!t.isRemoved()){var a=t.getLayout();i=a.width,o=a.height;var s=t.getModel(),l=s.get(WL),u=s.get(GL)/2,c=oN(s),d=Math.max(l,c),h=l-u,f=d-u;t.setLayout({borderWidth:l,upperHeight:d,upperLabelHeight:c},!0);var p=(i=jL(i-2*h,0))*(o=jL(o-h-f,0)),g=qL(t,s,p,e,n,r);if(g.length){var y={x:h,y:f,width:i,height:o},m=zL(i,o),v=1/0,b=[];b.area=0;for(var x=0,_=g.length;x<_;){var w=g[x];b.push(w),b.area+=w.getLayout().area;var S=tN(b,m,e.squareRatio);S<=v?(x++,v=S):(b.area-=b.pop().getLayout().area,eN(b,m,y,u,!1),m=zL(y.width,y.height),b.length=b.area=0,v=1/0)}if(b.length&&eN(b,m,y,u,!0),!n){var M=s.get("childrenVisibleMin");null!=M&&p<M&&(n=!0)}for(x=0,_=g.length;x<_;x++)XL(g[x],e,n,r+1)}}}function qL(t,e,n,r,i,o){var a=t.children||[],s=r.sort;"asc"!==s&&"desc"!==s&&(s=null);var l=null!=r.leafDepth&&r.leafDepth<=o;if(i&&!l)return t.viewChildren=[];JL(a=Y(a,(function(t){return!t.isRemoved()})),s);var u=QL(e,a,s);if(0===u.sum)return t.viewChildren=[];if(u.sum=KL(e,n,u.sum,s,a),0===u.sum)return t.viewChildren=[];for(var c=0,d=a.length;c<d;c++){var h=a[c].getValue()/u.sum*n;a[c].setLayout({area:h})}return l&&(a.length&&t.setLayout({isLeafRoot:!0},!0),a.length=0),t.viewChildren=a,t.setLayout({dataExtent:u.dataExtent},!0),a}function KL(t,e,n,r,i){if(!r)return n;for(var o=t.get("visibleMin"),a=i.length,s=a,l=a-1;l>=0;l--){var u=i["asc"===r?a-l-1:l].getValue();u/n*e<o&&(s=l,n-=u)}return"asc"===r?i.splice(0,a-s):i.splice(s,a-s),n}function JL(t,e){return e&&t.sort((function(t,n){var r="asc"===e?t.getValue()-n.getValue():n.getValue()-t.getValue();return 0===r?"asc"===e?t.dataIndex-n.dataIndex:n.dataIndex-t.dataIndex:r})),t}function QL(t,e,n){for(var r=0,i=0,o=e.length;i<o;i++)r+=e[i].getValue();var a,s=t.get("visualDimension");return e&&e.length?"value"===s&&n?(a=[e[e.length-1].getValue(),e[0].getValue()],"asc"===n&&a.reverse()):(a=[1/0,-1/0],HL(e,(function(t){var e=t.getValue(s);e<a[0]&&(a[0]=e),e>a[1]&&(a[1]=e)}))):a=[NaN,NaN],{sum:r,dataExtent:a}}function tN(t,e,n){for(var r=0,i=1/0,o=0,a=void 0,s=t.length;o<s;o++)(a=t[o].getLayout().area)&&(a<i&&(i=a),a>r&&(r=a));var l=t.area*t.area,u=e*e*n;return l?jL(u*r/l,l/(u*i)):1/0}function eN(t,e,n,r,i){var o=e===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],c=e?t.area/e:0;(i||c>n[l[a]])&&(c=n[l[a]]);for(var d=0,h=t.length;d<h;d++){var f=t[d],p={},g=c?f.getLayout().area/c:0,y=p[l[a]]=jL(c-2*r,0),m=n[s[o]]+n[l[o]]-u,v=d===h-1||m<g?m:g,b=p[l[o]]=jL(v-2*r,0);p[s[a]]=n[s[a]]+zL(r,y/2),p[s[o]]=u+zL(r,b/2),u+=v,f.setLayout(p,!0)}n[s[a]]+=c,n[l[a]]-=c}function nN(t,e,n,r,i){var o,a=(e||{}).node,s=[r,i];if(!a||a===n)return s;for(var l=r*i,u=l*t.option.zoomToNodeRatio;o=a.parentNode;){for(var c=0,d=o.children,h=0,f=d.length;h<f;h++)c+=d[h].getValue();var p=a.getValue();if(0===p)return s;u*=c/p;var g=o.getModel(),y=g.get(WL);(u+=4*y*y+(3*y+Math.max(y,oN(g)))*Math.pow(u,.5))>pa&&(u=pa),a=o}u<l&&(u=l);var m=Math.pow(u/l,.5);return[r*m,i*m]}function rN(t,e,n){if(e)return{x:e.x,y:e.y};var r={x:0,y:0};if(!n)return r;var i=n.node,o=i.getLayout();if(!o)return r;for(var a=[o.width/2,o.height/2],s=i;s;){var l=s.getLayout();a[0]+=l.x,a[1]+=l.y,s=s.parentNode}return{x:t.width/2-a[0],y:t.height/2-a[1]}}function iN(t,e,n,r,i){var o=t.getLayout(),a=n[i],s=a&&a===t;if(!(a&&!s||i===n.length&&t!==r)){t.setLayout({isInView:!0,invisible:!s&&!e.intersect(o),isAboveViewRoot:s},!0);var l=new nn(e.x-o.x,e.y-o.y,e.width,e.height);HL(t.viewChildren||[],(function(t){iN(t,l,n,r,i+1)}))}}function oN(t){return t.get(YL)?t.get(UL):0}function aN(t){t.registerSeriesModel(jE),t.registerChartView(lL),t.registerVisual(PL),t.registerLayout(ZL),FE(t)}function sN(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),r=t.getGraph().data,i=n.mapArray(n.getName);r.filterSelf((function(t){var n=r.getItemModel(t).getShallow("category");if(null!=n){nt(n)&&(n=i[n]);for(var o=0;o<e.length;o++)if(!e[o].isSelected(n))return!1}return!0}))}))}function lN(t){var e={};t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),r=t.getData(),i={};n.each((function(r){var o=n.getName(r);i["ec-"+o]=r;var a=n.getItemModel(r),s=a.getModel("itemStyle").getItemStyle();s.fill||(s.fill=t.getColorFromPalette(o,e)),n.setItemVisual(r,"style",s);for(var l=["symbol","symbolSize","symbolKeepAspect"],u=0;u<l.length;u++){var c=a.getShallow(l[u],!0);null!=c&&n.setItemVisual(r,l[u],c)}})),n.count()&&r.each((function(t){var e=r.getItemModel(t).getShallow("category");if(null!=e){tt(e)&&(e=i["ec-"+e]);var o=n.getItemVisual(e,"style");N(r.ensureUniqueItemVisual(t,"style"),o);for(var a=["symbol","symbolSize","symbolKeepAspect"],s=0;s<a.length;s++)r.setItemVisual(t,a[s],n.getItemVisual(e,a[s]))}}))}))}function uN(t){return t instanceof Array||(t=[t,t]),t}function cN(t){t.eachSeriesByType("graph",(function(t){var e=t.getGraph(),n=t.getEdgeData(),r=uN(t.get("edgeSymbol")),i=uN(t.get("edgeSymbolSize"));n.setVisual("fromSymbol",r&&r[0]),n.setVisual("toSymbol",r&&r[1]),n.setVisual("fromSymbolSize",i&&i[0]),n.setVisual("toSymbolSize",i&&i[1]),n.setVisual("style",t.getModel("lineStyle").getLineStyle()),n.each((function(t){var r=n.getItemModel(t),i=e.getEdgeByIndex(t),o=uN(r.getShallow("symbol",!0)),a=uN(r.getShallow("symbolSize",!0)),s=r.getModel("lineStyle").getLineStyle(),l=n.ensureUniqueItemVisual(t,"style");switch(N(l,s),l.stroke){case"source":var u=i.node1.getVisual("style");l.stroke=u&&u.fill;break;case"target":u=i.node2.getVisual("style"),l.stroke=u&&u.fill}o[0]&&i.setVisual("fromSymbol",o[0]),o[1]&&i.setVisual("toSymbol",o[1]),a[0]&&i.setVisual("fromSymbolSize",a[0]),a[1]&&i.setVisual("toSymbolSize",a[1])}))}))}var dN="--\x3e",hN=function(t){return t.get("autoCurveness")||null},fN=function(t,e){var n=hN(t),r=20,i=[];if(nt(n))r=n;else if(J(n))return void(t.__curvenessList=n);e>r&&(r=e);var o=r%2?r+2:r+3;i=[];for(var a=0;a<o;a++)i.push((a%2?a+1:a)/10*(a%2?-1:1));t.__curvenessList=i},pN=function(t,e,n){var r=[t.id,t.dataIndex].join("."),i=[e.id,e.dataIndex].join(".");return[n.uid,r,i].join(dN)},gN=function(t){var e=t.split(dN);return[e[0],e[2],e[1]].join(dN)},yN=function(t,e){var n=pN(t.node1,t.node2,e);return e.__edgeMap[n]},mN=function(t,e){return vN(pN(t.node1,t.node2,e),e)+vN(pN(t.node2,t.n
vendor: 13,758 bytes, line 33
33ode1,e),e)},vN=function(t,e){var n=e.__edgeMap;return n[t]?n[t].length:0};function bN(t){hN(t)&&(t.__curvenessList=[],t.__edgeMap={},fN(t))}function xN(t,e,n,r){if(hN(n)){var i=pN(t,e,n),o=n.__edgeMap,a=o[gN(i)];o[i]&&!a?o[i].isForward=!0:a&&o[i]&&(a.isForward=!0,o[i].isForward=!1),o[i]=o[i]||[],o[i].push(r)}}function _N(t,e,n,r){var i=hN(e),o=J(i);if(!i)return null;var a=yN(t,e);if(!a)return null;for(var s=-1,l=0;l<a.length;l++)if(a[l]===n){s=l;break}var u=mN(t,e);fN(e,u),t.lineStyle=t.lineStyle||{};var c=pN(t.node1,t.node2,e),d=e.__curvenessList,h=o||u%2?0:1;if(a.isForward)return d[h+s];var f=gN(c),p=vN(f,e),g=d[s+p+h];return r?o?i&&0===i[0]?(p+h)%2?g:-g:((p%2?0:1)+h)%2?g:-g:(p+h)%2?g:-g:d[s+p+h]}function wN(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var n=t.getGraph();n.eachNode((function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])})),SN(n,t)}}function SN(t,e){t.eachEdge((function(t,n){var r=ft(t.getModel().get(["lineStyle","curveness"]),-_N(t,e,n,!0),0),i=Lt(t.node1.getLayout()),o=Lt(t.node2.getLayout()),a=[i,o];+r&&a.push([(i[0]+o[0])/2-(i[1]-o[1])*r,(i[1]+o[1])/2-(o[0]-i[0])*r]),t.setLayout(a)}))}function MN(t,e){t.eachSeriesByType("graph",(function(t){var e=t.get("layout"),n=t.coordinateSystem;if(n&&"view"!==n.type){var r=t.getData(),i=[];H(n.dimensions,(function(t){i=i.concat(r.mapDimensionsAll(t))}));for(var o=0;o<r.count();o++){for(var a=[],s=!1,l=0;l<i.length;l++){var u=r.get(i[l],o);isNaN(u)||(s=!0),a.push(u)}s?r.setItemLayout(o,n.dataToPoint(a)):r.setItemLayout(o,[NaN,NaN])}SN(r.graph,t)}else e&&"none"!==e||wN(t)}))}function IN(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=t.option.nodeScaleRatio,r=e.scaleX;return((e.getZoom()-1)*n+1)/r}function AN(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),+e}var DN=Math.PI,TN=[];function CN(t,e,n,r){var i=t.coordinateSystem;if(!i||"view"===i.type){var o=i.getBoundingRect(),a=t.getData(),s=a.graph,l=o.width/2+o.x,u=o.height/2+o.y,c=Math.min(o.width,o.height)/2,d=a.count();if(a.setLayout({cx:l,cy:u}),d){if(n){var h=i.pointToData(r),f=h[0],p=h[1],g=[f-l,p-u];Zt(g,g),Ut(g,g,c),n.setLayout([l+g[0],u+g[1]],!0),PN(n,t.get(["circular","rotateLabel"]),l,u)}ON[e](t,s,a,c,l,u,d),s.eachEdge((function(e,n){var r,i=ft(e.getModel().get(["lineStyle","curveness"]),_N(e,t,n),0),o=Lt(e.node1.getLayout()),a=Lt(e.node2.getLayout()),s=(o[0]+a[0])/2,c=(o[1]+a[1])/2;+i&&(r=[l*(i*=3)+s*(1-i),u*i+c*(1-i)]),e.setLayout([o,a,r])}))}}}var ON={value:function(t,e,n,r,i,o,a){var s=0,l=n.getSum("value"),u=2*Math.PI/(l||a);e.eachNode((function(t){var e=t.getValue("value"),n=u*(l?e:1)/2;s+=n,t.setLayout([r*Math.cos(s)+i,r*Math.sin(s)+o]),s+=n}))},symbolSize:function(t,e,n,r,i,o,a){var s=0;TN.length=a;var l=IN(t);e.eachNode((function(t){var e=AN(t);isNaN(e)&&(e=2),e<0&&(e=0),e*=l;var n=Math.asin(e/2/r);isNaN(n)&&(n=DN/2),TN[t.dataIndex]=n,s+=2*n}));var u=(2*DN-s)/a/2,c=0;e.eachNode((function(t){var e=u+TN[t.dataIndex];c+=e,(!t.getLayout()||!t.getLayout().fixed)&&t.setLayout([r*Math.cos(c)+i,r*Math.sin(c)+o]),c+=e}))}};function PN(t,e,n,r){var i=t.getGraphicEl();if(i){var o=t.getModel().get(["label","rotate"])||0,a=i.getSymbolPath();if(e){var s=t.getLayout(),l=Math.atan2(s[1]-r,s[0]-n);l<0&&(l=2*Math.PI+l);var u=s[0]<n;u&&(l-=Math.PI);var c=u?"left":"right";a.setTextConfig({rotation:-l,position:c,origin:"center"});var d=a.ensureState("emphasis");N(d.textConfig||(d.textConfig={}),{position:c})}else a.setTextConfig({rotation:o*=Math.PI/180})}}function kN(t){t.eachSeriesByType("graph",(function(t){"circular"===t.get("layout")&&CN(t,"symbolSize")}))}var $N=Ft;function EN(t,e,n){for(var r=t,i=e,o=n.rect,a=o.width,s=o.height,l=[o.x+a/2,o.y+s/2],u=null==n.gravity?.1:n.gravity,c=0;c<r.length;c++){var d=r[c];d.p||(d.p=$t(a*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),d.pp=Lt(d.p),d.edges=null}var h,f,p=null==n.friction?.6:n.friction,g=p;return{warmUp:function(){g=.8*p},setFixed:function(t){r[t].fixed=!0},setUnfixed:function(t){r[t].fixed=!1},beforeStep:function(t){h=t},afterStep:function(t){f=t},step:function(t){h&&h(r,i);for(var e=[],n=r.length,o=0;o<i.length;o++){var a=i[o];if(!a.ignoreForceLayout){var s=a.n1;Bt(e,(y=a.n2).p,s.p);var c=jt(e)-a.d,d=y.w/(s.w+y.w);isNaN(d)&&(d=0),Zt(e,e),!s.fixed&&$N(s.p,s.p,e,d*c*g),!y.fixed&&$N(y.p,y.p,e,-(1-d)*c*g)}}for(o=0;o<n;o++)(b=r[o]).fixed||(Bt(e,l,b.p),$N(b.p,b.p,e,u*g));for(o=0;o<n;o++){s=r[o];for(var p=o+1;p<n;p++){var y;Bt(e,(y=r[p]).p,s.p),0===(c=jt(e))&&(Nt(e,Math.random()-.5,Math.random()-.5),c=1);var m=(s.rep+y.rep)/c/c;!s.fixed&&$N(s.pp,s.pp,e,m),!y.fixed&&$N(y.pp,y.pp,e,-m)}}var v=[];for(o=0;o<n;o++){var b;(b=r[o]).fixed||(Bt(v,b.p,b.pp),$N(b.p,b.p,v,g),Et(b.pp,b.p))}var x=(g*=.992)<.01;f&&f(r,i,x),t&&t(x)}}}function LN(t){t.eachSeriesByType("graph",(function(t){var e=t.coordinateSystem;if(!e||"view"===e.type)if("force"===t.get("layout")){var n=t.preservedPoints||{},r=t.getGraph(),i=r.data,o=r.edgeData,a=t.getModel("force"),s=a.get("initLayout");t.preservedPoints?i.each((function(t){var e=i.getId(t);i.setItemLayout(t,n[e]||[NaN,NaN])})):s&&"none"!==s?"circular"===s&&CN(t,"value"):wN(t);var l=i.getDataExtent("value"),u=o.getDataExtent("value"),c=a.get("repulsion"),d=a.get("edgeLength"),h=J(c)?c:[c,c],f=J(d)?d:[d,d];f=[f[1],f[0]];var p=i.mapArray("value",(function(t,e){var n=i.getItemLayout(e),r=ia(t,l,h);return isNaN(r)&&(r=(h[0]+h[1])/2),{w:r,rep:r,fixed:i.getItemModel(e).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),g=o.mapArray("value",(function(e,n){var i=r.getEdgeByIndex(n),o=ia(e,u,f);isNaN(o)&&(o=(f[0]+f[1])/2);var a=i.getModel(),s=ft(i.getModel().get(["lineStyle","curveness"]),-_N(i,t,n,!0),0);return{n1:p[i.node1.dataIndex],n2:p[i.node2.dataIndex],d:o,curveness:s,ignoreForceLayout:a.get("ignoreForceLayout")}})),y=e.getBoundingRect(),m=EN(p,g,{rect:y,gravity:a.get("gravity"),friction:a.get("friction")});m.beforeStep((function(t,e){for(var n=0,i=t.length;n<i;n++)t[n].fixed&&Et(t[n].p,r.getNodeByIndex(n).getLayout())})),m.afterStep((function(t,e,o){for(var a=0,s=t.length;a<s;a++)t[a].fixed||r.getNodeByIndex(a).setLayout(t[a].p),n[i.getId(a)]=t[a].p;for(a=0,s=e.length;a<s;a++){var l=e[a],u=r.getEdgeByIndex(a),c=l.n1.p,d=l.n2.p,h=u.getLayout();(h=h?h.slice():[])[0]=h[0]||[],h[1]=h[1]||[],Et(h[0],c),Et(h[1],d),+l.curveness&&(h[2]=[(c[0]+d[0])/2-(c[1]-d[1])*l.curveness,(c[1]+d[1])/2-(d[0]-c[0])*l.curveness]),u.setLayout(h)}})),t.forceLayout=m,t.preservedPoints=n,m.step()}else t.forceLayout=null}))}function NN(t,e,n){return dg(N(t.getBoxLayoutParams(),{aspect:n}),{width:e.getWidth(),height:e.getHeight()})}function RN(t,e){var n=[];return t.eachSeriesByType("graph",(function(t){var r=t.get("coordinateSystem");if(!r||"view"===r){var i=t.getData(),o=[],a=[];Il(i.mapArray((function(t){var e=i.getItemModel(t);return[+e.get("x"),+e.get("y")]})),o,a),a[0]-o[0]==0&&(a[0]+=1,o[0]-=1),a[1]-o[1]==0&&(a[1]+=1,o[1]-=1);var s=(a[0]-o[0])/(a[1]-o[1]),l=NN(t,e,s);isNaN(s)&&(o=[l.x,l.y],a=[l.x+l.width,l.y+l.height]);var u=a[0]-o[0],c=a[1]-o[1],d=l.width,h=l.height,f=t.coordinateSystem=new D$;f.zoomLimit=t.get("scaleLimit"),f.setBoundingRect(o[0],o[1],u,c),f.setViewRect(l.x,l.y,d,h),f.setCenter(t.get("center"),e),f.setZoom(t.get("zoom")),n.push(f)}})),n}var FN=fh.prototype,BN=mh.prototype,jN=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return t}();function zN(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}!function(t){function e(){return null!==t&&t.apply(this,arguments)||this}i(e,t)}(jN);var VN=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-line",n}return i(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new jN},e.prototype.buildPath=function(t,e){zN(e)?FN.buildPath.call(this,t,e):BN.buildPath.call(this,t,e)},e.prototype.pointAt=function(t){return zN(this.shape)?FN.pointAt.call(this,t):BN.pointAt.call(this,t)},e.prototype.tangentAt=function(t){var e=this.shape,n=zN(e)?[e.x2-e.x1,e.y2-e.y1]:BN.tangentAt.call(this,t);return Zt(n,n)},e}(_u),HN=["fromSymbol","toSymbol"];function WN(t){return"_"+t+"Type"}function GN(t,e,n){var r=e.getItemVisual(n,t);if(!r||"none"===r)return r;var i=e.getItemVisual(n,t+"Size"),o=e.getItemVisual(n,t+"Rotate"),a=e.getItemVisual(n,t+"Offset"),s=e.getItemVisual(n,t+"KeepAspect"),l=ux(i);return r+l+cx(a||0,l)+(o||"")+(s||"")}function YN(t,e,n){var r=e.getItemVisual(n,t);if(r&&"none"!==r){var i=e.getItemVisual(n,t+"Size"),o=e.getItemVisual(n,t+"Rotate"),a=e.getItemVisual(n,t+"Offset"),s=e.getItemVisual(n,t+"KeepAspect"),l=ux(i),u=cx(a||0,l),c=lx(r,-l[0]/2+u[0],-l[1]/2+u[1],l[0],l[1],null,s);return c.__specifiedRotation=null==o||isNaN(o)?void 0:+o*Math.PI/180||0,c.name=t,c}}function UN(t){var e=new VN({name:"line",subPixelOptimize:!0});return ZN(e.shape,t),e}function ZN(t,e){t.x1=e[0][0],t.y1=e[0][1],t.x2=e[1][0],t.y2=e[1][1],t.percent=1;var n=e[2];n?(t.cpx1=n[0],t.cpy1=n[1]):(t.cpx1=NaN,t.cpy1=NaN)}var XN=function(t){function e(e,n,r){var i=t.call(this)||this;return i._createLine(e,n,r),i}return i(e,t),e.prototype._createLine=function(t,e,n){var r=t.hostModel,i=UN(t.getItemLayout(e));i.shape.percent=0,Lh(i,{shape:{percent:1}},r,e),this.add(i),H(HN,(function(n){var r=YN(n,t,e);this.add(r),this[WN(n)]=GN(n,t,e)}),this),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var r=t.hostModel,i=this.childOfName("line"),o=t.getItemLayout(e),a={shape:{}};ZN(a.shape,o),Eh(i,a,r,e),H(HN,(function(n){var r=GN(n,t,e),i=WN(n);if(this[i]!==r){this.remove(this.childOfName(n));var o=YN(n,t,e);this.add(o)}this[i]=r}),this),this._updateCommonStl(t,e,n)},e.prototype.getLinePath=function(){return this.childAt(0)},e.prototype._updateCommonStl=function(t,e,n){var r=t.hostModel,i=this.childOfName("line"),o=n&&n.emphasisLineStyle,a=n&&n.blurLineStyle,s=n&&n.selectLineStyle,l=n&&n.labelStatesModels,u=n&&n.emphasisDisabled,c=n&&n.focus,d=n&&n.blurScope;if(!n||t.hasItemOption){var h=t.getItemModel(e),f=h.getModel("emphasis");o=f.getModel("lineStyle").getLineStyle(),a=h.getModel(["blur","lineStyle"]).getLineStyle(),s=h.getModel(["select","lineStyle"]).getLineStyle(),u=f.get("disabled"),c=f.get("focus"),d=f.get("blurScope"),l=Af(h)}var p=t.getItemVisual(e,"style"),g=p.stroke;i.useStyle(p),i.style.fill=null,i.style.strokeNoScale=!0,i.ensureState("emphasis").style=o,i.ensureState("blur").style=a,i.ensureState("select").style=s,H(HN,(function(t){var e=this.childOfName(t);if(e){e.setColor(g),e.style.opacity=p.opacity;for(var n=0;n<lc.length;n++){var r=lc[n],o=i.getState(r);if(o){var a=o.style||{},s=e.ensureState(r),l=s.style||(s.style={});null!=a.stroke&&(l[e.__isEmptyBrush?"stroke":"fill"]=a.stroke),null!=a.opacity&&(l.opacity=a.opacity)}}e.markRedraw()}}),this);var y=r.getRawValue(e);If(this,l,{labelDataIndex:e,labelFetcher:{getFormattedLabel:function(e,n){return r.getFormattedLabel(e,n,t.dataType)}},inheritColor:g||"#000",defaultOpacity:p.opacity,defaultText:(null==y?t.getName(e):isFinite(y)?aa(y):y)+""});var m=this.getTextContent();if(m){var v=l.normal;m.__align=m.style.align,m.__verticalAlign=m.style.verticalAlign,m.__position=v.get("position")||"middle";var b=v.get("distance");J(b)||(b=[b,b]),m.__labelDistance=b}this.setTextConfig({position:null,local:!0,inside:!1}),ed(this,c,d,u)},e.prototype.highlight=function(){Nc(this)},e.prototype.downplay=function(){Rc(this)},e.prototype.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},e.prototype.setLinePoints=function(t){var e=this.childOfName("line");ZN(e.shape,t),e.dirty()},e.prototype.beforeUpdate=function(){var t=this,e=t.childOfName("fromSymbol"),n=t.childOfName("toSymbol"),r=t.getTextContent();if(e||n||r&&!r.ignore){for(var i=1,o=this.parent;o;)o.scaleX&&(i/=o.scaleX),o=o.parent;var a=t.childOfName("line");if(this.__dirty||a.__dirty){var s=a.shape.percent,l=a.pointAt(0),u=a.pointAt(s),c=Bt([],u,l);if(Zt(c,c),e&&(e.setPosition(l),S(e,0),e.scaleX=e.scaleY=i*s,e.markRedraw()),n&&(n.setPosition(u),S(n,1),n.scaleX=n.scaleY=i*s,n.markRedraw()),r&&!r.ignore){r.x=r.y=0,r.originX=r.originY=0;var d=void 0,h=void 0,f=r.__labelDistance,p=f[0]*i,g=f[1]*i,y=s/2,m=a.tangentAt(y),v=[m[1],-m[0]],b=a.pointAt(y);v[1]>0&&(v[0]=-v[0],v[1]=-v[1]);var x=m[0]<0?-1:1;if("start"!==r.__position&&"end"!==r.__position){var _=-Math.atan2(m[1],m[0]);u[0]<l[0]&&(_=Math.PI+_),r.rotation=_}var w=void 0;switch(r.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":w=-g,h="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":w=g,h="top";break;default:w=0,h="middle"}switch(r.__position){case"end":r.x=c[0]*p+u[0],r.y=c[1]*g+u[1],d=c[0]>.8?"left":c[0]<-.8?"right":"center",h=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":r.x=-c[0]*p+l[0],r.y=-c[1]*g+l[1],d=c[0]>.8?"right":c[0]<-.8?"left":"center",h=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":r.x=p*x+l[0],r.y=l[1]+w,d=m[0]<0?"right":"left",r.originX=-p*x,r.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":r.x=b[0],r.y=b[1]+w,d="center",r.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":r.x=-p*x+u[0],r.y=u[1]+w,d=m[0]>=0?"right":"left",r.originX=p*x,r.originY=-w}r.scaleX=r.scaleY=i,r.setStyle({verticalAlign:r.__verticalAlign||h,align:r.__align||d})}}}function S(t,e){var n=t.__specifiedRotation;if(null==n){var r=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(r[1],r[0]))}else t.attr("rotation",n)}},e}(Bo),qN=function(){function t(t){this.group=new Bo,this._LineCtor=t||XN}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this,r=n.group,i=n._lineData;n._lineData=t,i||r.removeAll();var o=JN(t);
vendor: 4,678 bytes, line 33
33t.diff(i).add((function(n){e._doAdd(t,n,o)})).update((function(n,r){e._doUpdate(i,t,r,n,o)})).remove((function(t){r.remove(i.getItemGraphicEl(t))})).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=JN(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||KN(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var r=t.start;r<t.end;r++)if(tR(e.getItemLayout(r))){var i=new this._LineCtor(e,r,this._seriesScope);i.traverse(n),this.group.add(i),e.setItemGraphicEl(r,i),this._progressiveEls.push(i)}},t.prototype.remove=function(){this.group.removeAll()},t.prototype.eachRendered=function(t){xf(this._progressiveEls||this.group,t)},t.prototype._doAdd=function(t,e,n){if(tR(t.getItemLayout(e))){var r=new this._LineCtor(t,e,n);t.setItemGraphicEl(e,r),this.group.add(r)}},t.prototype._doUpdate=function(t,e,n,r,i){var o=t.getItemGraphicEl(n);tR(e.getItemLayout(r))?(o?o.updateData(e,r,i):o=new this._LineCtor(e,r,i),e.setItemGraphicEl(r,o),this.group.add(o)):this.group.remove(o)},t}();function KN(t){return t.animators&&t.animators.length>0}function JN(t){var e=t.hostModel,n=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:Af(e)}}function QN(t){return isNaN(t[0])||isNaN(t[1])}function tR(t){return t&&!QN(t[0])&&!QN(t[1])}var eR=[],nR=[],rR=[],iR=Jn,oR=Jt,aR=Math.abs;function sR(t,e,n){for(var r,i=t[0],o=t[1],a=t[2],s=1/0,l=n*n,u=.1,c=.1;c<=.9;c+=.1)eR[0]=iR(i[0],o[0],a[0],c),eR[1]=iR(i[1],o[1],a[1],c),(f=aR(oR(eR,e)-l))<s&&(s=f,r=c);for(var d=0;d<32;d++){var h=r+u;nR[0]=iR(i[0],o[0],a[0],r),nR[1]=iR(i[1],o[1],a[1],r),rR[0]=iR(i[0],o[0],a[0],h),rR[1]=iR(i[1],o[1],a[1],h);var f=oR(nR,e)-l;if(aR(f)<.01)break;var p=oR(rR,e)-l;u/=2,f<0?p>=0?r+=u:r-=u:p>=0?r-=u:r+=u}return r}function lR(t,e){var n=[],r=nr,i=[[],[],[]],o=[[],[]],a=[];e/=2,t.eachEdge((function(t,s){var l=t.getLayout(),u=t.getVisual("fromSymbol"),c=t.getVisual("toSymbol");l.__original||(l.__original=[Lt(l[0]),Lt(l[1])],l[2]&&l.__original.push(Lt(l[2])));var d=l.__original;if(null!=l[2]){if(Et(i[0],d[0]),Et(i[1],d[2]),Et(i[2],d[1]),u&&"none"!==u){var h=AN(t.node1),f=sR(i,d[0],h*e);r(i[0][0],i[1][0],i[2][0],f,n),i[0][0]=n[3],i[1][0]=n[4],r(i[0][1],i[1][1],i[2][1],f,n),i[0][1]=n[3],i[1][1]=n[4]}c&&"none"!==c&&(h=AN(t.node2),f=sR(i,d[1],h*e),r(i[0][0],i[1][0],i[2][0],f,n),i[1][0]=n[1],i[2][0]=n[2],r(i[0][1],i[1][1],i[2][1],f,n),i[1][1]=n[1],i[2][1]=n[2]),Et(l[0],i[0]),Et(l[1],i[2]),Et(l[2],i[1])}else Et(o[0],d[0]),Et(o[1],d[1]),Bt(a,o[1],o[0]),Zt(a,a),u&&"none"!==u&&(h=AN(t.node1),Ft(o[0],o[0],a,h*e)),c&&"none"!==c&&(h=AN(t.node2),Ft(o[1],o[1],a,-h*e)),Et(l[0],o[0]),Et(l[1],o[1])}))}function uR(t){return"view"===t.type}var cR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(t,e){var n=new NT,r=new qN,i=this.group;this._controller=new ak(e.getZr()),this._controllerHost={target:i},i.add(n.group),i.add(r.group),this._symbolDraw=n,this._lineDraw=r,this._firstRender=!0},e.prototype.render=function(t,e,n){var r=this,i=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if(uR(i)){var l={x:i.x,y:i.y,scaleX:i.scaleX,scaleY:i.scaleY};this._firstRender?s.attr(l):Eh(s,l,t)}lR(t.getGraph(),IN(t));var u=t.getData();o.updateData(u);var c=t.getEdgeData();a.updateData(c),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var d=t.forceLayout,h=t.get(["force","layoutAnimation"]);d&&this._startForceLayoutIteration(d,h);var f=t.get("layout");u.graph.eachNode((function(e){var n=e.dataIndex,i=e.getGraphicEl(),o=e.getModel();if(i){i.off("drag").off("dragend");var a=o.get("draggable");a&&i.on("drag",(function(o){switch(f){case"force":d.warmUp(),!r._layouting&&r._startForceLayoutIteration(d,h),d.setFixed(n),u.setItemLayout(n,[i.x,i.y]);break;case"circular":u.setItemLayout(n,[i.x,i.y]),e.setLayout({fixed:!0},!0),CN(t,"symbolSize",e,[o.offsetX,o.offsetY]),r.updateLayout(t);break;default:u.setItemLayout(n,[i.x,i.y]),SN(t.getGraph(),t),r.updateLayout(t)}})).on("dragend",(function(){d&&d.setUnfixed(n)})),i.setDraggable(a,!!o.get("cursor")),"adjacency"===o.get(["emp
33hasis","focus"])&&(Qu(i).focus=e.getAdjacentDataIndices())}})),u.graph.eachEdge((function(t){var e=t.getGraphicEl(),n=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===n&&(Qu(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var p="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),g=u.getLayout("cx"),y=u.getLayout("cy");u.graph.eachNode((function(t){PN(t,p,g,y)})),this._firstRender=!1},e.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,e){var n=this;!function r(){t.step((function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(r,16):r())}))}()},e.prototype._updateController=function(t,e,n){var r=this,i=this._controller,o=this._controllerHost,a=this.group;i.setPointerChecker((function(e,r,i){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(r,i)&&!pk(e,n,t)})),uR(t.coordinateSystem)?(i.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(e){ck(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){dk(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),r._updateNodeAndLinkScale(),lR(t.getGraph(),IN(t)),r._lineDraw.updateLayout(),n.updateLabelLayout()}))):i.disable()},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=IN(t);e.eachItemGraphicEl((function(t,e){t&&t.setSymbolScale(n)}))},e.prototype.updateLayout=function(t){lR(t.getGraph(),IN(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e}(Zv);function dR(t){return"_EC_"+t}var hR=function(){function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[dR(t)]){var r=new fR(t,e);return r.hostGraph=this,this.nodes.push(r),n[dR(t)]=r,r}console.error("Graph nodes have duplicate name or id")},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[dR(t)]},t.prototype.addEdge=function(t,e,n){var r=this._nodesMap,i=this._edgesMap;if(nt(t)&&(t=this.nodes[t]),nt(e)&&(e=this.nodes[e]),t instanceof fR||(t=r[dR(t)]),e instanceof fR||(e=r[dR(e)]),t&&e){var o=t.id+"-"+e.id,a=new pR(t,e,n);return a.hostGraph=this,this._directed&&(t.outEdges.push(a),e.inEdges.push(a)),t.edges.push(a),t!==e&&e.edges.push(a),this.edges.push(a),i[o]=a,a}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof fR&&(t=t.id),e instanceof fR&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var n=this.nodes,r=n.length,i=0;i<r;i++)n[i].dataIndex>=0&&t.call(e,n[i],i)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,r=n.length,i=0;i<r;i++)n[i].dataIndex>=0&&n[i].node1.dataIndex>=0&&n[i].node2.dataIndex>=0&&t.call(e,n[i],i)},t.prototype.breadthFirstTraverse=function(t,e,n,r){if(e instanceof fR||(e=this._nodesMap[dR(e)]),e){for(var i="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!t.call(r,e,null))for(var a=[e];a.length;){var s=a.shift(),l=s[i];for(o=0;o<l.length;o++){var u=l[o],c=u.node1===s?u.node2:u.node1;if(!c.__visited){if(t.call(r,c,s))return;a.push(c),c.__visited=!0}}}}},t.prototype.update=function(){for(var t=this.data,e=this.edgeData,n=this.nodes,r=this.edges,i=0,o=n.length;i<o;i++)n[i].dataIndex=-1;for(i=0,o=t.count();i<o;i++)n[t.getRawIndex(i)].dataIndex=i;for(e.filterSelf((function(t){var n=r[e.getRawIndex(t)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0})),i=0,o=r.length;i<o;i++)r[i].dataIndex=-1;for(i=0,o=e.count();i<o;i++)r[e.getRawIndex(i)].dataIndex=i},t.prototype.clone=function(){for(var e=new t(this._directed),n=this.nodes,r=this.edges,i=0;i<n.length;i++)e.addNode(n[i].id,n[i].dataIndex);for(i=0;i<r.length;i++){var o=r[i];e.addEdge(o.node1.id,o.node2.id,o.dataIndex)}return e},t}(),fR=function(){function t(t,e){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=null==t?"":t,this.dataIndex=null==e?-1:e}return t.prototype.degree=function(){return this.edges.length},t.prototype.inDegree=function(){return this.inEdges.length},t.prototype.outDegree=function(){return this.outEdges.length},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getAdjacentDataIndices=function(){for(var t={edge:[],node:[]},e=0;e<this.edges.length;e++){var n=this.edges[e];
vendor: 4,671 bytes, line 33
33n.dataIndex<0||(t.edge.push(n.dataIndex),t.node.push(n.node1.dataIndex,n.node2.dataIndex))}return t},t.prototype.getTrajectoryDataIndices=function(){for(var t=It(),e=It(),n=0;n<this.edges.length;n++){var r=this.edges[n];if(!(r.dataIndex<0)){t.set(r.dataIndex,!0);for(var i=[r.node1],o=[r.node2],a=0;a<i.length;){var s=i[a];a++,e.set(s.dataIndex,!0);for(var l=0;l<s.inEdges.length;l++)t.set(s.inEdges[l].dataIndex,!0),i.push(s.inEdges[l].node1)}for(a=0;a<o.length;){var u=o[a];for(a++,e.set(u.dataIndex,!0),l=0;l<u.outEdges.length;l++)t.set(u.outEdges[l].dataIndex,!0),o.push(u.outEdges[l].node2)}}}return{edge:t.keys(),node:e.keys()}},t}(),pR=function(){function t(t,e,n){this.dataIndex=-1,this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}return t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(t)},t.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},t.prototype.getTrajectoryDataIndices=function(){var t=It(),e=It();t.set(this.dataIndex,!0);for(var n=[this.node1],r=[this.node2],i=0;i<n.length;){var o=n[i];i++,e.set(o.dataIndex,!0);for(var a=0;a<o.inEdges.length;a++)t.set(o.inEdges[a].dataIndex,!0),n.push(o.inEdges[a].node1)}for(i=0;i<r.length;){var s=r[i];for(i++,e.set(s.dataIndex,!0),a=0;a<s.outEdges.length;a++)t.set(s.outEdges[a].dataIndex,!0),r.push(s.outEdges[a].node2)}return{edge:t.keys(),node:e.keys()}},t}();function gR(t,e){return{getValue:function(n){var r=this[t][e];return r.getStore().get(r.getDimensionIndex(n||"value"),this.dataIndex)},setVisual:function(n,r){this.dataIndex>=0&&this[t][e].setItemVisual(this.dataIndex,n,r)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,r){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,r)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}function yR(t,e,n,r,i){for(var o=new hR(r),a=0;a<t.length;a++)o.addNode(dt(t[a].id,t[a].name,a),a);var s=[],l=[],u=0;for(a=0;a<e.length;a++){var c=e[a],d=c.source,h=c.target;o.addEdge(d,h,u)&&(l.push(c),s.push(dt(rs(c.id,null),d+" > "+h)),u++)}var f,p=n.get("coordinateSystem");if("cartesian2d"===p||"polar"===p)f=ES(t,n);else{var g=yy.get(p),y=g&&g.dimensions||[];B(y,"value")<0&&y.concat(["value"]);var m=xS(t,{coordDimensions:y,encodeDefine:n.getEncode()}).dimensions;(f=new vS(m,n)).initData(t)}var v=new vS(["value"],n);return v.initData(l,s),i&&i(f,v),fE({mainData:f,struct:o,structAttr:"graph",datas:{node:f,edge:v},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}z(fR,gR("hostGraph","data")),z(pR,gR("hostGraph","edgeData"));var mR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return i(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function r(){return n._categoriesData}this.legendVisualProvider=new bO(r,r),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeDefaultAndTheme=function(e){t.prototype.mergeDefaultAndTheme.apply(this,arguments),Wa(e,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,e){var n=t.edges||t.links||[],r=t.data||t.nodes||[],i=this;if(r&&n){bN(this);var o=yR(r,n,this,!0,a);return H(o.edges,(function(t){xN(t.node1,t.node2,this,t.dataIndex)}),this),o.data}function a(t,e){t.wrapMethod("getItemModel",(function(t){var e=i._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t}));var n=Xf.prototype.getModel;function r(t,e){var r=n.call(this,t,e);return r.resolveParentPath=o,r}function o(t){if(t&&("label"===t[0]||"label"===t[1])){var e=t.slice();return"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e}return t}e.wrapMethod("getItemModel",(function(t){return t.resolveParentPath=o,t.getModel=r,t}))}},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.getCategoriesData=function(){return this._categoriesData},e.prototype.formatTooltip=function(t,e,n){if("edge"===n){var r=this.getData(),i=this.getDataParams(t,n),o=r.graph.getEdgeByIndex(t),a=r.getName(o.node1.dataIndex),s=r.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),pv("nameValue",{name:l.join(" >
33 "),value:i.value,noValue:null==i.value})}return Ov({series:this,dataIndex:t,multipleSeries:e})},e.prototype._updateCategoriesData=function(){var t=W(this.option.categories||[],(function(t){return null!=t.value?t:N({value:0},t)})),e=new vS(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t)}))},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},e.type="series.graph",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(Lv),vR={type:"graphRoam",event:"graphRoam",update:"none"};function bR(t){t.registerChartView(cR),t.registerSeriesModel(mR),t.registerProcessor(sN),t.registerVisual(lN),t.registerVisual(cN),t.registerLayout(MN),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,kN),t.registerLayout(LN),t.registerCoordinateSystem("graphView",{dimensions:D$.dimensions,create:RN}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},Ot),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},Ot),t.registerAction(vR,(function(t,e,n){e.eachComponent({mainType:"series",query:t},(function(e){var r=F$(e.coordinateSystem,t,void 0,n);e.setCenter&&e.setCenter(r.center),e.setZoom&&e.setZoom(r.zoom)}))}))}var xR=function(){function t(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return t}(),_R=function(t){function e(e){var n=t.call(this,e)||this;return n.type="pointer",n}return i(e,t),e.prototype.getDefaultShape=function(){return new xR},e.prototype.buildPath=function(t,e){var n=Math.cos,r=Math.sin,i=e.r,o=e.width,a=e.angle,s=e.x-n(a)*o*(o>=i/3?1:2),l=e.y-r(a)*o*(o>=i/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+r(a)*o),t.lineTo(e.x+n(e.angle)*i,e.y+r(e.angle)*i),t.lineTo(e.x-n(a)*o,e.y-r(a)*o),t.lineTo(s,l)},e}(_u);function wR(t,e){var n=t.get("center"),r=e.getWidth(),i=e.getHeight(),o=Math.min(r,i);return{cx:oa(n[0],e.getWidth()),cy:oa(n[1],e.getHeight()),r:oa(t.get("radius"),o/2)}}function SR(t,e){var n=null==t?"":t+"";return e&&(tt(e)?n=e.replace("{value}",n):Q(e)&&(n=e(t))),n}var MR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){this.group.removeAll();var r=t.get(["axisLine","lineStyle","color"]),i=wR(t,n);this._renderMain(t,e,n,r,i),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,e,n,r,i){var o=this.group,a=t.get("clockwise"),s=-t.get("startAngle")/180*Math.PI,l=-t.get("endAngle")/180*Math.PI,u=t.getModel("axisLine"),c=u.get("roundCap")?AC:nh,d=u.get("show"),h=u.getModel("lineStyle"),f=h.get("width"),p=[s,l];Xl(p,!a),s=p[0];for(var g=(l=p[1])-s,y=s,m=[],v=0;d&&v<r.length;v++){var b=new c({shape:{startAngle:y,endAngle:l=s+g*Math.min(Math.max(r[v][0],0),1),cx:i.cx,cy:i.cy,clockwise:a,r0:i.r-f,r:i.r},silent:!0});b.setStyle({fill:r[v][1]}),b.setStyle(h.getLineStyle(["color","width"])),m.push(b),y=l}m.reverse(),H(m,(function(t){return o.add(t)}));var x=function(t){if(t<=0)return r[0][1];var e;for(e=0;e<r.length;e++)if(r[e][0]>=t&&(0===e?0:r[e-1][0])<t)return r[e][1];return r[e-1][1]};this._renderTicks(t,e,n,x,i,s,l,a,f),this._renderTitleAndDetail(t,e,n,x,i),this._renderAnchor(t,i),this._renderPointer(t,e,n,x,i,s,l,a,f)},e.prototype._renderTicks=function(t,e,n,r,i,o,a,s,l){for(var u,c,d=this.group,h=i.cx,f=i.cy,p=i.r,g=+t.get("min"),y=+t.get("max"),m=t.getModel("splitLine"),v=t.getModel("axisTick"),b=t.getModel("axisLabel"),x=t.get("splitNumber"),_=v.get("splitNumber"),w=oa(m.get("length"),p),S=oa(v.get("length"),p),M=o,I=(a-o)/x,A=I/_,D=m.getModel("lineStyle").getLineStyle(),T=v.getModel("lineStyle").getLineStyle(),
vendor: 12,463 bytes, line 33
33C=m.get("distance"),O=0;O<=x;O++){if(u=Math.cos(M),c=Math.sin(M),m.get("show")){var P=new fh({shape:{x1:u*(p-(k=C?C+l:l))+h,y1:c*(p-k)+f,x2:u*(p-w-k)+h,y2:c*(p-w-k)+f},style:D,silent:!0});"auto"===D.stroke&&P.setStyle({stroke:r(O/x)}),d.add(P)}if(b.get("show")){var k=b.get("distance")+C,$=SR(aa(O/x*(y-g)+g),b.get("formatter")),E=r(O/x),L=u*(p-w-k)+h,N=c*(p-w-k)+f,R=b.get("rotate"),F=0;"radial"===R?(F=-M+2*Math.PI)>Math.PI/2&&(F+=Math.PI):"tangential"===R?F=-M-Math.PI/2:nt(R)&&(F=R*Math.PI/180),0===F?d.add(new Bu({style:Df(b,{text:$,x:L,y:N,verticalAlign:c<-.8?"top":c>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:E}),silent:!0})):d.add(new Bu({style:Df(b,{text:$,x:L,y:N,verticalAlign:"middle",align:"center"},{inheritColor:E}),silent:!0,originX:L,originY:N,rotation:F}))}if(v.get("show")&&O!==x){k=(k=v.get("distance"))?k+l:l;for(var B=0;B<=_;B++){u=Math.cos(M),c=Math.sin(M);var j=new fh({shape:{x1:u*(p-k)+h,y1:c*(p-k)+f,x2:u*(p-S-k)+h,y2:c*(p-S-k)+f},silent:!0,style:T});"auto"===T.stroke&&j.setStyle({stroke:r((O+B/_)/x)}),d.add(j),M+=A}M-=A}else M+=I}},e.prototype._renderPointer=function(t,e,n,r,i,o,a,s,l){var u=this.group,c=this._data,d=this._progressEls,h=[],f=t.get(["pointer","show"]),p=t.getModel("progress"),g=p.get("show"),y=t.getData(),m=y.mapDimension("value"),v=+t.get("min"),b=+t.get("max"),x=[v,b],_=[o,a];function w(e,n){var r,o=y.getItemModel(e).getModel("pointer"),a=oa(o.get("width"),i.r),s=oa(o.get("length"),i.r),l=t.get(["pointer","icon"]),u=o.get("offsetCenter"),c=oa(u[0],i.r),d=oa(u[1],i.r),h=o.get("keepAspect");return(r=l?lx(l,c-a/2,d-s,a,s,null,h):new _R({shape:{angle:-Math.PI/2,width:a,r:s,x:c,y:d}})).rotation=-(n+Math.PI/2),r.x=i.cx,r.y=i.cy,r}function S(t,e){var n=p.get("roundCap")?AC:nh,r=p.get("overlap"),a=r?p.get("width"):l/y.count(),u=r?i.r-a:i.r-(t+1)*a,c=r?i.r:i.r-t*a,d=new n({shape:{startAngle:o,endAngle:e,cx:i.cx,cy:i.cy,clockwise:s,r0:u,r:c}});return r&&(d.z2=b-y.get(m,t)%b),d}(g||f)&&(y.diff(c).add((function(e){var n=y.get(m,e);if(f){var r=w(e,o);Lh(r,{rotation:-((isNaN(+n)?_[0]:ia(n,x,_,!0))+Math.PI/2)},t),u.add(r),y.setItemGraphicEl(e,r)}if(g){var i=S(e,o),a=p.get("clip");Lh(i,{shape:{endAngle:ia(n,x,_,a)}},t),u.add(i),tc(t.seriesIndex,y.dataType,e,i),h[e]=i}})).update((function(e,n){var r=y.get(m,e);if(f){var i=c.getItemGraphicEl(n),a=i?i.rotation:o,s=w(e,a);s.rotation=a,Eh(s,{rotation:-((isNaN(+r)?_[0]:ia(r,x,_,!0))+Math.PI/2)},t),u.add(s),y.setItemGraphicEl(e,s)}if(g){var l=d[n],v=S(e,l?l.shape.endAngle:o),b=p.get("clip");Eh(v,{shape:{endAngle:ia(r,x,_,b)}},t),u.add(v),tc(t.seriesIndex,y.dataType,e,v),h[e]=v}})).execute(),y.each((function(t){var e=y.getItemModel(t),n=e.getModel("emphasis"),i=n.get("focus"),o=n.get("blurScope"),a=n.get("disabled");if(f){var s=y.getItemGraphicEl(t),l=y.getItemVisual(t,"style"),u=l.fill;if(s instanceof Du){var c=s.style;s.useStyle(N({image:c.image,x:c.x,y:c.y,width:c.width,height:c.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(u);s.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",r(ia(y.get(m,t),x,[0,1],!0))),s.z2EmphasisLift=0,od(s,e),ed(s,i,o,a)}if(g){var d=h[t];d.useStyle(y.getItemVisual(t,"style")),d.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),d.z2EmphasisLift=0,od(d,e),ed(d,i,o,a)}})),this._progressEls=h)},e.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor");if(n.get("show")){var r=n.get("size"),i=n.get("icon"),o=n.get("offsetCenter"),a=n.get("keepAspect"),s=lx(i,e.cx-r/2+oa(o[0],e.r),e.cy-r/2+oa(o[1],e.r),r,r,null,a);s.z2=n.get("showAbove")?1:0,s.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(s)}},e.prototype._renderTitleAndDetail=function(t,e,n,r,i){var o=this,a=t.getData(),s=a.mapDimension("value"),l=+t.get("min"),u=+t.get("max"),c=new Bo,d=[],h=[],f=t.isAnimationEnabled(),p=t.get(["pointer","showAbove"]);a.diff(this._data).add((function(t){d[t]=new Bu({silent:!0}),h[t]=new Bu({silent:!0})})).update((function(t,e){d[t]=o._titleEls[e],h[t]=o._detailEls[e]})).execute(),a.each((function(e){var n=a.getItemModel(e),o=a.get(s,e),g=new Bo,y=r(ia(o,[l,u],[0,1],!0)),m=n.getModel("title");if(m.get("show")){var v=m.get("offsetCenter"),b=i.cx+oa(v[0],i.r),x=i.cy+oa(v[1],i.r);(T=d[e]).attr({z2:p?0:2,style:Df(m,{x:b,y:x,text:a.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:y})}),g.add(T)}var _=n.getModel("detail");if(_.get("show")){var w=_.get("offsetCenter"),S=i.cx+oa(w[0],i.r),M=i.cy+oa(w[1],i.r),I=oa(_.get("width"),i.r),A=oa(_.get("height"),i.r),D=t.get(["progress","show"])?a.getItemVisual(e,"style").fill:y,T=h[e],C=_.get("formatter");T.attr({z2:p?0:2,style:Df(_,{x:S,y:M,text:SR(o,C),width:isNaN(I)?null:I,height:isNaN(A)?null:A,align:"center",verticalAlign:"middle"},{inheritColor:D})}),Rf(T,{normal:_},o,(function(t){return SR(t,C)})),f&&Ff(T,e,a,t,{getFormattedLabel:function(t,e,n,r,i,a){return SR(a?a.interpolatedValue:o,C)}}),g.add(T)}c.add(g)})),this.group.add(c),this._titleEls=d,this._detailEls=h},e.type="gauge",e}(Zv),IR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="itemStyle",n}return i(e,t),e.prototype.getInitialData=function(t,e){return vO(this,["value"])},e.type="series.gauge",e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},e}(Lv);function AR(t){t.registerChartView(MR),t.registerSeriesModel(IR)}var DR=["itemStyle","opacity"],TR=function(t){function e(e,n){var r=t.call(this)||this,i=r,o=new ch,a=new Bu;return i.setTextContent(a),r.setTextGuideLine(o),r.updateData(e,n,!0),r}return i(e,t),e.prototype.updateData=function(t,e,n){var r=this,i=t.hostModel,o=t.getItemModel(e),a=t.getItemLayout(e),s=o.getModel("emphasis"),l=o.get(DR);l=null==l?1:l,n||jh(r),r.useStyle(t.getItemVisual(e,"style")),r.style.lineJoin="round",n?(r.setShape({points:a.points}),r.style.opacity=0,Lh(r,{style:{opacity:l}},i,e)):Eh(r,{style:{opacity:l},shape:{points:a.points}},i,e),od(r,o),this._updateLabel(t,e),ed(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t,e){var n=this,r=this.getTextGuideLine(),i=n.getTextContent(),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"style"),u=l.fill;If(i,Af(a),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:l.opacity,defaultText:t.getName(e)},{normal:{align:s.textAlign,verticalAlign:s.verticalAlign}}),n.setTextConfig({local:!0,inside:!!s.inside,insideStroke:u,outsideFill:u});var c=s.linePoints;r.setShape({points:c}),n.textGuideLineConfig={anchor:c?new Ue(c[0][0],c[0][1]):null},Eh(i,{style:{x:s.x,y:s.y}},o,e),i.attr({rotation:s.rotation,originX:s.x,originY:s.y,z2:10}),wA(n,SA(a),{stroke:u})},e}(lh),CR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreLabelLineUpdate=!0,n}return i(e,t),e.prototype.render=function(t,e,n){var r=t.getData(),i=this._data,o=this.group;r.diff(i).add((function(t){var e=new TR(r,t);r.setItemGraphicEl(t,e),o.add(e)})).update((function(t,e){var n=i.getItemGraphicEl(e);n.updateData(r,t),o.add(n),r.setItemGraphicEl(t,n)})).remove((function(e){Bh(i.getItemGraphicEl(e),t,e)})).execute(),this._data=r},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(Zv),OR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new bO(q(this.getData,this),q(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return vO(this,{coordDimensions:["value"],encodeDefaulter:K(Rg,this)})},e.prototype._defaultLabelLine=function(t){Wa(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.prototype.getDataParams=function(e){var n=this.getData(),r=t.prototype.getDataParams.call(this,e),i=n.mapDimension("value"),o=n.getSum(i);return r.percent=o?+(n.get(i,e)/o*100).toFixed(2):0,r.$vars.push("percent"),r},e.type="series.funnel",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(Lv);function PR(t,e){return dg(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function kR(t,e){for(var n=t.mapDimension("value"),r=t.mapArray(n,(function(t){return t})),i=[],o="ascending"===e,a=0,s=t.count();a<s;a++)i[a]=a;return Q(e)?i.sort(e):"none"!==e&&i.sort((function(t,e){return o?r[t]-r[e]:r[e]-r[t]})),i}function $R(t){var e=t.hostModel.get("orient");t.each((function(n){var r,i,o,a,s=t.getItemModel(n),l=s.getModel("label").get("position"),u=s.getModel("labelLine"),c=t.getItemLayout(n),d=c.points,h="inner"===l||"inside"===l||"center"===l||"insideLeft"===l||"insideRight"===l;if(h)"insideLeft"===l?(i=(d[0][0]+d[3][0])/2+5,o=(d[0][1]+d[3][1])/2,r="left"):"insideRight"===l?(i=(d[1][0]+d[2][0])/2-5,o=(d[1][1]+d[2][1])/2,r="right"):(i=(d[0][0]+d[1][0]+d[2][0]+d[3][0])/4,o=(d[0][1]+d[1][1]+d[2][1]+d[3][1])/4,r="center"),a=[[i,o],[i,o]];else{var f=void 0,p=void 0,g=void 0,y=void 0,m=u.get("length");"vertical"===e&&["top","bottom"].indexOf(l)>-1&&(l="left",console.warn("Position error: Funnel chart on vertical orient dose not support top and bottom.")),"horizontal"===e&&["left","right"].indexOf(l)>-1&&(l="bottom",console.warn("Position error: Funnel chart on horizontal orient dose not support left and right.")),"left"===l?(f=(d[3][0]+d[0][0])/2,p=(d[3][1]+d[0][1])/2,i=(g=f-m)-5,r="right"):"right"===l?(f=(d[1][0]+d[2][0])/2,p=(d[1][1]+d[2][1])/2,i=(g=f+m)+5,r="left"):"top"===l?(f=(d[3][0]+d[0][0])/2,o=(y=(p=(d[3][1]+d[0][1])/2)-m)-5,r="center"):"bottom"===l?(f=(d[1][0]+d[2][0])/2,o=(y=(p=(d[1][1]+d[2][1])/2)+m)+5,r="center"):"rightTop"===l?(f="horizontal"===e?d[3][0]:d[1][0],p="horizontal"===e?d[3][1]:d[1][1],"horizontal"===e?(o=(y=p-m)-5,r="center"):(i=(g=f+m)+5,r="top")):"rightBottom"===l?(f=d[2][0],p=d[2][1],"horizontal"===e?(o=(y=p+m)+5,r="center"):(i=(g=f+m)+5,r="bottom")):"leftTop"===l?(f=d[0][0],p="horizontal"===e?d[0][1]:d[1][1],"horizontal"===e?(o=(y=p-m)-5,r="center"):(i=(g=f-m)-5,r="right")):"leftBottom"===l?(f="horizontal"===e?d[1][0]:d[3][0],p="horizontal"===e?d[1][1]:d[2][1],"horizontal"===e?(o=(y=p+m)+5,r="center"):(i=(g=f-m)-5,r="right")):(f=(d[1][0]+d[2][0])/2,p=(d[1][1]+d[2][1])/2,"horizontal"===e?(o=(y=p+m)+5,r="center"):(i=(g=f+m)+5,r="left")),"horizontal"===e?i=g=f:o=y=p,a=[[f,p],[g,y]]}c.label={linePoints:a,x:i,y:o,verticalAlign:"middle",textAlign:r,inside:h}}))}function ER(t,e){t.eachSeriesByType("funnel",(function(t){var n=t.getData(),r=n.mapDimension("value"),i=t.get("sort"),o=PR(t,e),a=t.get("orient"),s=o.width,l=o.height,u=kR(n,i),c=o.x,d=o.y,h="horizontal"===a?[oa(t.get("minSize"),l),oa(t.get("maxSize"),l)]:[oa(t.get("minSize"),s),oa(t.get("maxSize"),s)],f=n.getDataExtent(r),p=t.get("min"),g=t.get("max");null==p&&(p=Math.min(f[0],0)),null==g&&(g=f[1]);var y=t.get("funnelAlign"),m=t.get("gap"),v=(("horizontal"===a?s:l)-m*(n.count()-1))/n.count(),b=function(t,e){if("horizontal"===a){var i=ia(n.get(r,t)||
vendor: 6,497 bytes, line 33
330,[p,g],h,!0),o=void 0;switch(y){case"top":o=d;break;case"center":o=d+(l-i)/2;break;case"bottom":o=d+(l-i)}return[[e,o],[e,o+i]]}var u,f=ia(n.get(r,t)||0,[p,g],h,!0);switch(y){case"left":u=c;break;case"center":u=c+(s-f)/2;break;case"right":u=c+s-f}return[[u,e],[u+f,e]]};"ascending"===i&&(v=-v,m=-m,"horizontal"===a?c+=s:d+=l,u=u.reverse());for(var x=0;x<u.length;x++){var _=u[x],w=u[x+1],S=n.getItemModel(_);if("horizontal"===a){var M=S.get(["itemStyle","width"]);null==M?M=v:(M=oa(M,s),"ascending"===i&&(M=-M));var I=b(_,c),A=b(w,c+M);c+=M+m,n.setItemLayout(_,{points:I.concat(A.slice().reverse())})}else{var D=S.get(["itemStyle","height"]);null==D?D=v:(D=oa(D,l),"ascending"===i&&(D=-D)),I=b(_,d),A=b(w,d+D),d+=D+m,n.setItemLayout(_,{points:I.concat(A.slice().reverse())})}}$R(n)}))}function LR(t){t.registerChartView(CR),t.registerSeriesModel(OR),t.registerLayout(ER),t.registerProcessor(uO("funnel"))}var NR=.3,RR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._dataGroup=new Bo,n._initialized=!1,n}return i(e,t),e.prototype.init=function(){this.group.add(this._dataGroup)},e.prototype.render=function(t,e,n,r){this._progressiveEls=null;var i=this._dataGroup,o=t.getData(),a=this._data,s=t.coordinateSystem,l=s.dimensions,u=zR(t);function c(t){VR(jR(o,i,t,l,s),o,t,u)}function d(e,n){var r=a.getItemGraphicEl(n),i=BR(o,e,l,s);o.setItemGraphicEl(e,r),Eh(r,{shape:{points:i}},t,e),jh(r),VR(r,o,e,u)}function h(t){var e=a.getItemGraphicEl(t);i.remove(e)}if(o.diff(a).add(c).update(d).remove(h).execute(),!this._initialized){this._initialized=!0;var f=FR(s,t,(function(){setTimeout((function(){i.removeClipPath()}))}));i.setClipPath(f)}this._data=o},e.prototype.incrementalPrepareRender=function(t,e,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},e.prototype.incrementalRender=function(t,e,n){for(var r=e.getData(),i=e.coordinateSystem,o=i.dimensions,a=zR(e),s=this._progressiveEls=[],l=t.start;l<t.end;l++){var u=jR(r,this._dataGroup,l,o,i);u.incremental=!0,VR(u,r,l,a),s.push(u)}},e.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},e.type="parallel",e}(Zv);function FR(t,e,n){var r=t.model,i=t.getRect(),o=new Lu({shape:{x:i.x,y:i.y,width:i.width,height:i.height}}),a="horizontal"===r.get("layout")?"width":"height";return o.setShape(a,0),Lh(o,{shape:{width:i.width,height:i.height}},e,n),o}function BR(t,e,n,r){for(var i=[],o=0;o<n.length;o++){var a=n[o],s=t.get(t.mapDimension(a),e);HR(s,r.getAxis(a).type)||i.push(r.dataToPoint(s,a))}return i}function jR(t,e,n,r,i){var o=BR(t,n,r,i),a=new ch({shape:{points:o},z2:10});return e.add(a),t.setItemGraphicEl(n,a),a}function zR(t){var e=t.get("smooth",!0);return!0===e&&(e=NR),ct(e=Ma(e))&&(e=0),{smooth:e}}function VR(t,e,n,r){t.useStyle(e.getItemVisual(n,"style")),t.style.fill=null,t.setShape("smooth",r.smooth);var i=e.getItemModel(n),o=i.getModel("emphasis");od(t,i,"lineStyle"),ed(t,o.get("focus"),o.get("blurScope"),o.get("disabled"))}function HR(t,e){return"category"===e?null==t:null==t||isNaN(t)}var WR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return i(e,t),e.prototype.getInitialData=function(t,e){return ES(null,this,{useEncodeDefaulter:q(GR,null,this)})},e.prototype.getRawIndicesByActiveState=function(t){var e=this.coordinateSystem,n=this.getData(),r=[];return e.eachActiveState(n,(function(e,i){t===e&&r.push(n.getRawIndex(i))})),r},e.type="series.parallel",e.dependencies=["parallel"],e.defaultOption={z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"},e}(Lv);function GR(t){var e=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(e){var n={};return H(e.dimensions,(function(t){var e=YR(t);n[t]=e})),n}}function YR(t){return+t.replace("dim","")}var UR=["lineStyle","opacity"],ZR={seriesType:"parallel",reset:function(t,e){var n=t.coordinateSystem,r={normal:t.get(["lineStyle","opacity"]),active:t.get("activeOpacity"),inactive:t.get("inactiveOpacity")};return{progress:function(t,e){n.eachActiveState(e,(function(t,n){var i=r[t];if("normal"===t&&e.hasItemOption){var o=e.getItemModel(n).get(UR,!0);null!=o&&(i=o)}e.ensureUniqueItemVisual(n,"style").opacity=i}),t.start,t.end)}}}};function XR(t){qR(t),KR(t)}function qR(t){if(!t.parallel){var e=!1;H(t.series,(function(t){t&&"parallel"===t.type&&(e=!0)})),e&&(t.parallel=[{}])}}function KR(t){H(Ha(t.parallelAxis),(function(e){if(rt(e)){var n=e.parallelIndex||0,r=Ha(t.parallel)[n];r&&r.parallelAxisDefault&&E(e,r.parallelAxisDefault,!1)}}))}var JR=5,QR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){this._model=t,this._api=n,this._handlers||(this._handlers={},H(tF,(function(t,e){n.getZr().on(e,this._handlers[e]=q(t,this))}),this)),ib(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},e.prototype.dispose=function(t,e){ob(this,"_throttledDispatchExpand"),H(this._handlers,(function(t,n){e.getZr().off(n,t)})),this._handlers=null},e.prototype._throttledDispatchExpand=function(t){this._dispatchExpand(t)},e.prototype._dispatchExpand=function(t){t&&this._api.dispatchAction(N({type:"parallelAxisExpand"},t))},e.type="parallel",e}(Wv),tF={mousedown:function(t){eF(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(eF(this,"click")&&e){var n=[t.offsetX,t.offsetY];if(Math.pow(e[0]-n[0],2)+Math.pow(e[1]-n[1],2)>JR)return;var r=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==r.behavior&&this._dispatchExpand({axisExpandWindow:r.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&eF(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),r=n.behavior;"jump"===r&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===r?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===r?null:{duration:0}})}}};function eF(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}var nF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}
vendor: 9,407 bytes, line 33
33return i(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&E(e,t,!0),this._initDimensions()},e.prototype.contains=function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){H(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[];H(Y(this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this),(function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)}))},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(bg),rF=function(t){function e(e,n,r,i,o){var a=t.call(this,e,n,r)||this;return a.type=i||"value",a.axisIndex=o,a}return i(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(UI);function iF(t,e,n,r,i,o){t=t||0;var a=n[1]-n[0];if(null!=i&&(i=aF(i,[0,a])),null!=o&&(o=Math.max(o,null!=i?i:0)),"all"===r){var s=Math.abs(e[1]-e[0]);s=aF(s,[0,a]),i=o=aF(s,[i,o]),r=0}e[0]=aF(e[0],n),e[1]=aF(e[1],n);var l=oF(e,r);e[r]+=t;var u,c=i||0,d=n.slice();return l.sign<0?d[0]+=c:d[1]-=c,e[r]=aF(e[r],d),u=oF(e,r),null!=i&&(u.sign!==l.sign||u.span<i)&&(e[1-r]=e[r]+l.sign*i),u=oF(e,r),null!=o&&u.span>o&&(e[1-r]=e[r]+u.sign*o),e}function oF(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function aF(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var sF=H,lF=Math.min,uF=Math.max,cF=Math.floor,dF=Math.ceil,hF=aa,fF=Math.PI,pF=function(){function t(t,e,n){this.type="parallel",this._axesMap=It(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var r=t.dimensions,i=t.parallelAxisIndex;sF(r,(function(t,n){var r=i[n],o=e.getComponent("parallelAxis",r),a=this._axesMap.set(t,new rF(t,YM(o),[0,0],o.get("type"),r)),s="category"===a.type;a.onBand=s&&o.get("boundaryGap"),a.inverse=o.get("inverse"),o.axis=a,a.model=o,a.coordinateSystem=o.coordinateSystem=this}),this)},t.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},t.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),n=e.axisBase,r=e.layoutBase,i=e.pixelDimIndex,o=t[1-i],a=t[i];return o>=n&&o<=n+e.axisLength&&a>=r&&a<=r+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var r=n.getData();sF(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(r,r.mapDimension(t)),GM(e.scale,e.model)}),this)}}),this)},t.prototype.resize=function(t,e){this._rect=dg(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,n=this._rect,r=["x","y"],i=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=n[i[a]],l=[0,s],u=this.dimensions.length,c=gF(e.get("axisExpandWidth"),l),d=gF(e.get("axisExpandCount")||0,[0,u]),h=e.get("axisExpandable")&&u>3&&u>d&&d>1&&c>0&&s>0,f=e.get("axisExpandWindow");f?(t=gF(f[1]-f[0],l),f[1]=f[0]+t):(t=gF(c*(d-1),l),(f=[c*(e.get("axisExpandCenter")||cF(u/2))-t/2])[1]=f[0]+t);var p=(s-t)/(u-d);p<3&&(p=0);var g=[cF(hF(f[0]/c,1))+1,dF(hF(f[1]/c,1))-1],y=p/c*f[0];return{layout:o,pixelDimIndex:a,layoutBase:n[r[a]],layoutLength:s,axisBase:n[r[1-a]],axisLength:n[i[1-a]],axisExpandable:h,axisExpandWidth:c,axisCollapseWidth:p,axisExpandWindow:f,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:y}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,r=this._makeLayoutInfo(),i=r.layout;e.each((function(t){var e=[0,r.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),sF(n,(function(e,n){var o=(r.axisExpandable?mF:yF)(n,r),a={horizontal:{x:o.position,y:r.axisLength},vertical:{x:0,y:o.position}},s={horizontal:fF/2,vertical:0},l=[a[i].x+t.x,a[i].y+t.y],u=s[i],c=Re();Ve(c,c,u),ze(c,c,l),this._axesLayout[e]={position:l,rotation:u,transform:c,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,n,r){null==n&&(n=0),null==r&&(r=t.count());var i=this._axesMap,o=this.dimensions,a=[],s=[];H(o,(function(e){a.push(t.mapDimension(e)),s.push(i.get(e).model)}));for(var l=this.hasAxisBrushed(),u=n;u<r;u++){var c=void 0;if(l){c="active";for(var d=t.getValues(a,u),h=0,f=o.length;h<f;h++)if("inactive"===s[h].getActiveState(d[h])){c="inactive";break}}else c="normal";e(c,u)}},t.prototype.hasAxisBrushed=function(){for(var t=this.dimensions,e=this._axesMap,n=!1,r=0,i=t.length;r<i;r++)"normal"!==e.get(t[r]).model.getActiveState()&&(n=!0);return n},t.prototype.axisCoordToPoint=function(t,e){return af([t,0],this._axesLayout[e].transform)},t.prototype.getAxisLayout=function(t){return $(this._axesLayout[t])},t.prototype.getSlidedAxisExpandWindow=function(t){var e=this._makeLayoutInfo(),n=e.pixelDimIndex,r=e.axisExpandWindow.slice(),i=r[1]-r[0],o=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:r};var a,s=t[n]-e.layoutBase-e.axisExpandWindow0Pos,l="slide",u=e.axisCollapseWidth,c=this._model.get("axisExpandSlideTriggerArea"),d=null!=c[0];if(u)d&&u&&s<i*c[0]?(l="jump",a=s-i*c[2]):d&&u&&s>i*(1-c[0])?(l="jump",a=s-i*(1-c[2])):(a=s-i*c[1])>=0&&(a=s-i*(1-c[1]))<=0&&(a=0),(a*=e.axisExpandWidth/u)?iF(a,r,o,"all"):l="none";else{var h=r[1]-r[0],f=o[1]*s/h;(r=[uF(0,f-h/2)])[1]=lF(o[1],r[0]+h),r[0]=r[1]-h}return{axisExpandWindow:r,behavior:l}},t}();function gF(t,e){return lF(uF(t,e[0]),e[1])}function yF(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function mF(t,e){var n,r,i=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,c=!1;return t<l[0]?(n=t*s,r=s):t<=l[1]?(n=e.axisExpandWindow0Pos+t*o-e.axisExpandWindow[0],u=o,c=!0):(n=i-(a-1-t)*s,r=s),{position:n,axisNameAvailableWidth:u,axisLabelShow:c,nameTruncateMaxWidth:r}}function vF(t,e){var n=[];return t.eachComponent("parallel",(function(r,i){var o=new pF(r,t,e);o.name="parallel_"+i,o.resize(r,e),r.coordinateSystem=o,o.model=r,n.push(o)})),t.eachSeries((function(t){if("parallel"===t.get("coordinateSystem")){var e=t.getReferringComponents("parallel",ms).models[0];t.coordinateSystem=e.coordinateSystem}})),n}var bF={create:vF},xF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.activeIntervals=[],n}return i(e,t),e.prototype.getAreaSelectStyle=function(){return Bs([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},e.prototype.setActiveIntervals=function(t){var e=this.activeIntervals=$(t);if(e)for(var n=e.length-1;n>=0;n--)sa(e[n])},e.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var r=0,i=e.length;r<i;r++)if(e[r][0]<=t&&t<=e[r][1])return"active";return"inactive"},e}(bg);z(xF,nI);var _F=!0,wF=Math.min,SF=Math.max,MF=Math.pow,IF=1e4,AF=6,DF=6,TF="globalPan",CF={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},OF={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},PF={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},kF=0,$F=function(t){function e(e){var n=t.call(this)||this;return n._track=[],n._covers=[],n._handlers={},yt(e),n._zr=e,n.group=new Bo,n._uid="brushController_"+kF++,H(dB,(function(t,e){this._handlers[e]=q(t,this)}),n),n}return i(e,t),e.prototype.enableBrush=function(t){return yt(this._mounted),this._brushType&&this._doDisableBrush(),t.brushType&&this._doEnableBrush(t),this},e.prototype._doEnableBrush=function(t){var e=this._zr;this._enableGlobalPan||nk(e,TF,this._uid),H(this._handlers,(function(t,n){e.on(n,t)})),this._brushType=t.brushType,this._brushOption=E($(PF),t,!0)},e.prototype._doDisableBrush=function(){var t=this._zr;rk(t,TF,this._uid),H(this._handlers,(function(e,n){t.off(n,e)})),this._brushType=this._brushOption=null},e.prototype.setPanels=function(t){if(t&&t.length){var e=this._panels={};H(t,(function(t){e[t.panelId]=$(t)}))}else this._panels=null;return this},e.prototype.mount=function(t){t=t||{},this._mounted=!0,this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({x:t.x||0,y:t.y||0,rotation:t.rotation||0,scaleX:t.scaleX||1,scaleY:t.
vendor: 4,189 bytes, line 33
33scaleY||1}),this._transform=e.getLocalTransform(),this},e.prototype.updateCovers=function(t){yt(this._mounted),t=W(t,(function(t){return E($(PF),t,!0)}));var e="\0-brush-index-",n=this._covers,r=this._covers=[],i=this,o=this._creatingCover;return new Ww(n,t,s,a).add(l).update(l).remove(u).execute(),this;function a(t,n){return(null!=t.id?t.id:e+n)+"-"+t.brushType}function s(t,e){return a(t.__brushOption,e)}function l(e,a){var s=t[e];if(null!=a&&n[a]===o)r[e]=n[a];else{var l=r[e]=null!=a?(n[a].__brushOption=s,n[a]):LF(i,EF(i,s));FF(i,l)}}function u(t){n[t]!==o&&i.group.remove(n[t])}},e.prototype.unmount=function(){if(this._mounted)return this.enableBrush(!1),VF(this),this._zr.remove(this.group),this._mounted=!1,this},e.prototype.dispose=function(){this.unmount(),this.off()},e}(se);function EF(t,e){var n=pB[e.brushType].createCover(t,e);return n.__brushOption=e,RF(n,e),t.group.add(n),n}function LF(t,e){var n=BF(e);return n.endCreating&&(n.endCreating(t,e),RF(e,e.__brushOption)),e}function NF(t,e){var n=e.__brushOption;BF(e).updateCoverShape(t,e,n.range,n)}function RF(t,e){var n=e.z;null==n&&(n=IF),t.traverse((function(t){t.z=n,t.z2=n}))}function FF(t,e){BF(e).updateCommon(t,e),NF(t,e)}function BF(t){return pB[t.__brushOption.brushType]}function jF(t,e,n){var r,i=t._panels;if(!i)return _F;var o=t._transform;return H(i,(function(t){t.isTargetByCursor(e,n,o)&&(r=t)})),r}function zF(t,e){var n=t._panels;if(!n)return _F;var r=e.__brushOption.panelId;return null!=r?n[r]:_F}function VF(t){var e=t._covers,n=e.length;return H(e,(function(e){t.group.remove(e)}),t),e.length=0,!!n}function HF(t,e){var n=W(t._covers,(function(t){var e=t.__brushOption,n=$(e.range);return{brushType:e.brushType,panelId:e.panelId,range:n}}));t.trigger("brush",{areas:n,isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function WF(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],r=e[0],i=n[0]-r[0],o=n[1]-r[1];return MF(i*i+o*o,.5)>AF}function GF(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function YF(t,e,n,r){var i=new Bo;return i.add(new Lu({name:"main",style:qF(n),silent:!0,draggable:!0,cursor:"move",drift:K(eB,t,e,i,["n","s","w","e"]),ondragend:K(HF,e,{isEnd:!0})})),H(r,(function(n){i.add(new Lu({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:K(eB,t,e,i,n),ondragend:K(HF,e,{isEnd:!0})}))})),i}function UF(t,e,n,r){var i=r.brushStyle.lineWidth||0,o=SF(i,DF),a=n[0][0],s=n[1][0],l=a-i/2,u=s-i/2,c=n[0][1],d=n[1][1],h=c-o+i/2,f=d-o+i/2,p=c-a,g=d-s,y=p+i,m=g+i;XF(t,e,"main",a,s,p,g),r.transformable&&(XF(t,e,"w",l,u,o,m),XF(t,e,"e",h,u,o,m),XF(t,e,"n",l,u,y,o),XF(t,e,"s",l,f,y,o),XF(t,e,"nw",l,u,o,o),XF(t,e,"ne",h,u,o,o),XF(t,e,"sw",l,f,o,o),XF(t,e,"se",h,f,o,o))}function ZF(t,e){var n=e.__brushOption,r=n.transformable,i=e.childAt(0);i.useStyle(qF(n)),i.attr({silent:!r,cursor:r?"move":"default"}),H([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(n){var i=e.childOfName(n.join("")),o=1===n.length?QF(t,n[0]):tB(t,n);i&&i.attr({silent:!r,invisible:!r,cursor:r?OF[o]+"-resize":null})}))}function XF(t,e,n,r,i,o,a){var s=e.childOfName(n);s&&s.setShape(oB(iB(t,e,[[r,i],[r+o,i+a]])))}function qF(t){return R({strokeNoScale:!0},t.brushStyle)}function KF(t,e,n,r){var i=[wF(t,n),wF(e,r)],o=[SF(t,n),SF(e,r)];return[[i[0],o[0]],[i[1],o[1]]]}function JF(t){return of(t.group)}function QF(t,e){return{left:"w",right:"e",top:"n",bottom:"s"}[sf({w:"left",e:"right",n:"top",s:"bottom"}[e],JF(t))]}function tB(t,e){var n=[QF(t,e[0]),QF(t,e[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}function eB(t,e,n,r,i,o){var a=n.__brushOption,s=t.toRectRange(a.range),l=rB(e,i,o);H(r,(function(t){var e=CF[t];s[e[0]][e[1]]+=l[e[0]]})),a.range=t.fromRectRange(KF(s[0][0],s[1][0],s[0][1],s[1][1])),FF(e,n),HF(e,{isEnd:!1})}function nB(t,e,n,r){var i=e.__brushOption.range,o=rB(t,n,r);H(i,(function(t){t[0]+=o[0],t[1]+=o[1]})),FF(t,e),HF(t,{isEnd:!1})}function rB(t,e,n){var r=t.group,i=r.transformCoordToLocal(e,n),o=r.transformCoordToLocal(0,0);return[i[0]-o[0],i[1]-o[1]]}function iB(t,e,n){var r=zF(t,e);return r&&r!==_F?r.clipPath(n,t._transform):$(n)}function oB(t){var e=wF(t[0][0],t[1][0]),n=wF(t[0][1],t[1][1]);
vendor: 55,041 bytes, line 33
33return{x:e,y:n,width:SF(t[0][0],t[1][0])-e,height:SF(t[0][1],t[1][1])-n}}function aB(t,e,n){if(t._brushType&&!fB(t,e.offsetX,e.offsetY)){var r=t._zr,i=t._covers,o=jF(t,e,n);if(!t._dragging)for(var a=0;a<i.length;a++){var s=i[a].__brushOption;if(o&&(o===_F||s.panelId===o.panelId)&&pB[s.brushType].contain(i[a],n[0],n[1]))return}o&&r.setCursorStyle("crosshair")}}function sB(t){var e=t.event;e.preventDefault&&e.preventDefault()}function lB(t,e,n){return t.childOfName("main").contain(e,n)}function uB(t,e,n,r){var i,o=t._creatingCover,a=t._creatingPanel,s=t._brushOption;if(t._track.push(n.slice()),WF(t)||o){if(a&&!o){"single"===s.brushMode&&VF(t);var l=$(s);l.brushType=cB(l.brushType,a),l.panelId=a===_F?null:a.panelId,o=t._creatingCover=EF(t,l),t._covers.push(o)}if(o){var u=pB[cB(t._brushType,a)];o.__brushOption.range=u.getCreatingRange(iB(t,o,t._track)),r&&(LF(t,o),u.updateCommon(t,o)),NF(t,o),i={isEnd:r}}}else r&&"single"===s.brushMode&&s.removeOnClick&&jF(t,e,n)&&VF(t)&&(i={isEnd:r,removeOnClick:!0});return i}function cB(t,e){return"auto"===t?(yt(e&&e.defaultBrushType,'MUST have defaultBrushType when brushType is "atuo"'),e.defaultBrushType):t}var dB={mousedown:function(t){if(this._dragging)hB(this,t);else if(!t.target||!t.target.draggable){sB(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=jF(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,r=this.group.transformCoordToLocal(e,n);if(aB(this,t,r),this._dragging){sB(t);var i=uB(this,t,r,!1);i&&HF(this,i)}},mouseup:function(t){hB(this,t)}};function hB(t,e){if(t._dragging){sB(e);var n=e.offsetX,r=e.offsetY,i=t.group.transformCoordToLocal(n,r),o=uB(t,e,i,!0);t._dragging=!1,t._track=[],t._creatingCover=null,o&&HF(t,o)}}function fB(t,e,n){var r=t._zr;return e<0||e>r.getWidth()||n<0||n>r.getHeight()}var pB={lineX:gB(0),lineY:gB(1),rect:{createCover:function(t,e){function n(t){return t}return YF({toRectRange:n,fromRectRange:n},t,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var e=GF(t);return KF(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,r){UF(t,e,n,r)},updateCommon:ZF,contain:lB},polygon:{createCover:function(t,e){var n=new Bo;return n.add(new ch({name:"main",style:qF(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new lh({name:"main",draggable:!0,drift:K(nB,t,e),ondragend:K(HF,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,r){e.childAt(0).setShape({points:iB(t,e,n)})},updateCommon:ZF,contain:lB}};function gB(t){return{createCover:function(e,n){return YF({toRectRange:function(e){var n=[e,[0,100]];return t&&n.reverse(),n},fromRectRange:function(e){return e[t]}},e,n,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(e){var n=GF(e);return[wF(n[0][t],n[1][t]),SF(n[0][t],n[1][t])]},updateCoverShape:function(e,n,r,i){var o,a=zF(e,n);if(a!==_F&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(t);else{var s=e._zr;o=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[r,o];t&&l.reverse(),UF(e,n,l,i)},updateCommon:ZF,contain:lB}}function yB(t){return t=bB(t),function(e){return df(e,t)}}function mB(t,e){return t=bB(t),function(n){var r=null!=e?e:n,i=r?t.width:t.height,o=r?t.x:t.y;return[o,o+(i||0)]}}function vB(t,e,n){var r=bB(t);return function(t,i){return r.contain(i[0],i[1])&&!pk(t,e,n)}}function bB(t){return nn.create(t)}var xB=["axisLine","axisTickLabel","axisName"],_B=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(e,n){t.prototype.init.apply(this,arguments),(this._brushController=new $F(n.getZr())).on("brush",q(this._onBrush,this))},e.prototype.render=function(t,e,n,r){if(!wB(t,e,r)){this.axisModel=t,this.api=n,this.group.removeAll();var i=this._axisGroup;if(this._axisGroup=new Bo,this.group.add(this._axisGroup),t.get("show")){var o=MB(t,e),a=o.coordinateSystem,s=t.getAreaSelectStyle(),l=s.width,u=t.axis.dim,c=N({strokeContainThreshold:l},a.getAxisLayout(u)),d=new rP(t,c);H(xB,d.add,d),this._axisGroup.add(d.getGroup()),this._refreshBrushController(c,s,t,o,l,n),cf(i,this._axisGroup,t)}}},e.prototype._refreshBrushController=function(t,e,n,r,i,o){var a=n.axis.getExtent(),s=a[1]-a[0],l=Math.min(30,.1*Math.abs(s)),u=nn.create({x:a[0],y:-i/2,width:s,height:i});u.x-=l,u.width+=2*l,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,x:t.position[0],y:t.position[1]}).setPanels([{panelId:"pl",clipPath:yB(u),isTargetByCursor:vB(u,o,r),getLinearBrushOtherExtent:mB(u,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(SB(n))},e.prototype._onBrush=function(t){var e=t.areas,n=this.axisModel,r=n.axis,i=W(e,(function(t){return[r.coordToData(t.range[0],!0),r.coordToData(t.range[1],!0)]}));(!n.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:i})},e.prototype.dispose=function(){this._brushController.dispose()},e.type="parallelAxis",e}(Wv);function wB(t,e,n){return n&&"axisAreaSelect"===n.type&&e.findComponents({mainType:"parallelAxis",query:n})[0]===t}function SB(t){var e=t.axis;return W(t.activeIntervals,(function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}}))}function MB(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}var IB={type:"axisAreaSelect",event:"axisAreaSelected"};function AB(t){t.registerAction(IB,(function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},(function(e){e.axis.model.setActiveIntervals(t.intervals)}))})),t.registerAction("parallelAxisExpand",(function(t,e){e.eachComponent({mainType:"parallel",query:t},(function(e){e.setAxisExpand(t)}))}))}var DB={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function TB(t){t.registerComponentView(QR),t.registerComponentModel(nF),t.registerCoordinateSystem("parallel",bF),t.registerPreprocessor(XR),t.registerComponentModel(xF),t.registerComponentView(_B),BO(t,"parallel",xF,DB),AB(t)}function CB(t){zw(TB),t.registerChartView(RR),t.registerSeriesModel(WR),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,ZR)}var OB=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return t}(),PB=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultShape=function(){return new OB},e.prototype.buildPath=function(t,e){var n=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),"vertical"===e.orient?(t.lineTo(e.x2+n,e.y2),t.bezierCurveTo(e.cpx2+n,e.cpy2,e.cpx1+n,e.cpy1,e.x1+n,e.y1)):(t.lineTo(e.x2,e.y2+n),t.bezierCurveTo(e.cpx2,e.cpy2+n,e.cpx1,e.cpy1+n,e.x1,e.y1+n)),t.closePath()},e.prototype.highlight=function(){Nc(this)},e.prototype.downplay=function(){Rc(this)},e}(_u),kB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._focusAdjacencyDisabled=!1,n}return i(e,t),e.prototype.render=function(t,e,n){var r=this,i=t.getGraph(),o=this.group,a=t.layoutInfo,s=a.width,l=a.height,u=t.getData(),c=t.getData("edge"),d=t.get("orient");this._model=t,o.removeAll(),o.x=a.x,o.y=a.y,i.eachEdge((function(e){var n=new PB,r=Qu(n);r.dataIndex=e.dataIndex,r.seriesIndex=t.seriesIndex,r.dataType="edge";var i,a,u,h,f,p,g,y,m=e.getModel(),v=m.getModel("lineStyle"),b=v.get("curveness"),x=e.node1.getLayout(),_=e.node1.getModel(),w=_.get("localX"),S=_.get("localY"),M=e.node2.getLayout(),I=e.node2.getModel(),A=I.get("localX"),D=I.get("localY"),T=e.getLayout();n.shape.extent=Math.max(1,T.dy),n.shape.orient=d,"vertical"===d?(i=(null!=w?w*s:x.x)+T.sy,a=(null!=S?S*l:x.y)+x.dy,u=(null!=A?A*s:M.x)+T.ty,f=i,p=a*(1-b)+(h=null!=D?D*l:M.y)*b,g=u,y=a*b+h*(1-b)):(i=(null!=w?w*s:x.x)+x.dx,a=(null!=S?S*l:x.y)+T.sy,f=i*(1-b)+(u=null!=A?A*s:M.x)*b,p=a,g=i*b+u*(1-b),y=h=(null!=D?D*l:M.y)+T.ty),n.setShape({x1:i,y1:a,x2:u,y2:h,cpx1:f,cpy1:p,cpx2:g,cpy2:y}),n.useStyle(v.getItemStyle()),$B(n.style,d,e);var C=""+m.get("value"),O=Af(m,"edgeLabel");If(n,O,{labelFetcher:{getFormattedLabel:function(e,n,r,i,o,a){return t.getFormattedLabel(e,n,"edge",i,ft(o,O.normal&&O.normal.get("formatter"),C),a)}},labelDataIndex:e.dataIndex,defaultText:C}),n.setTextConfig({position:"inside"});var P=m.getModel("emphasis");od(n,m,"lineStyle",(function(t){var n=t.getItemStyle();return $B(n,d,e),n})),o.add(n),c.setItemGraphicEl(e.dataIndex,n);var k=P.get("focus");ed(n,"adjacency"===k?e.getAdjacentDataIndices():"trajectory"===k?e.getTrajectoryDataIndices():k,P.get("blurScope"),P.get("disabled"))})),i.eachNode((function(e){var n=e.getLayout(),r=e.getModel(),i=r.get("localX"),a=r.get("localY"),c=r.getModel("emphasis"),d=r.get(["itemStyle","borderRadius"])||0,h=new Lu({shape:{x:null!=i?i*s:n.x,y:null!=a?a*l:n.y,width:n.dx,height:n.dy,r:d},style:r.getModel("itemStyle").getItemStyle(),z2:10});If(h,Af(r),{labelFetcher:{getFormattedLabel:function(e,n){return t.getFormattedLabel(e,n,"node")}},labelDataIndex:e.dataIndex,defaultText:e.id}),h.disableLabelAnimation=!0,h.setStyle("fill",e.getVisual("color")),h.setStyle("decal",e.getVisual("style").decal),od(h,r),o.add(h),u.setItemGraphicEl(e.dataIndex,h),Qu(h).dataType="node";var f=c.get("focus");ed(h,"adjacency"===f?e.getAdjacentDataIndices():"trajectory"===f?e.getTrajectoryDataIndices():f,c.get("blurScope"),c.get("disabled"))})),u.eachItemGraphicEl((function(e,i){u.getItemModel(i).get("draggable")&&(e.drift=function(e,o){r._focusAdjacencyDisabled=!0,this.shape.x+=e,this.shape.y+=o,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:u.getRawIndex(i),localX:this.shape.x/s,localY:this.shape.y/l})},e.ondragend=function(){r._focusAdjacencyDisabled=!1},e.draggable=!0,e.cursor="move")})),!this._data&&t.isAnimationEnabled()&&o.setClipPath(EB(o.getBoundingRect(),t,(function(){o.removeClipPath()}))),this._data=t.getData()},e.prototype.dispose=function(){},e.type="sankey",e}(Zv);function $B(t,e,n){switch(t.fill){case"source":t.fill=n.node1.getVisual("color"),t.decal=n.node1.getVisual("style").decal;break;case"target":t.fill=n.node2.getVisual("color"),t.decal=n.node2.getVisual("style").decal;break;case"gradient":var r=n.node1.getVisual("color"),i=n.node2.getVisual("color");tt(r)&&tt(i)&&(t.fill=new wh(0,0,+("horizontal"===e),+("vertical"===e),[{color:r,offset:0},{color:i,offset:1}]))}}function EB(t,e,n){var r=new Lu({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return Lh(r,{shape:{width:t.width+20}},e,n),r}var LB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.getInitialData=function(t,e){var n=t.edges||t.links,r=t.data||t.nodes,i=t.levels;this.levelModels=[];for(var o=this.levelModels,a=0;a<i.length;a++){if(!(null!=i[a].depth&&i[a].depth>=0))throw new Error("levels[i].depth is mandatory and should be natural number");o[i[a].depth]=new Xf(i[a],this,e)}if(r&&n)return yR(r,n,this,!0,s).data;function s(t,e){t.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,r=n.getData().getItemLayout(e);if(r){var i=r.depth,o=n.levelModels[i];o&&(t.parentModel=o)}return t})),e.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,r=n.getGraph().getEdgeByIndex(e).node1.getLayout();if(r){var i=r.depth,o=n.levelModels[i];o&&(t.parentModel=o)}return t}))}},e.prototype.setNodePosition=function(t,e){var n=(this.option.data||this.option.nodes)[t];n.localX=e[0],n.localY=e[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(t,e,n){function r(t){return isNaN(t)||null==t}if("edge"===n){var i=this.getDataParams(t,n),o=i.data,a=i.value;return pv("nameValue",{name:o.source+" -- "+o.target,value:a,noValue:r(a)})}var s=this.getGraph().getNodeByIndex(t).getLayout().value,l=this.getDataParams(t,n).data.name;return pv("nameValue",{name:null!=l?l+"":null,value:s,noValue:r(s)})},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(e,n){var r=t.prototype.getDataParams.call(this,e,n);if(null==r.value&&"node"===n){var i=this.getGraph().getNodeByIndex(e).getLayout().value;r.value=i}return r},e.type="series.sankey",e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},e}(Lv);function NB(t,e){t.eachSeriesByType("sankey",(function(t){var n=t.get("nodeWidth"),r=t.get("nodeGap"),i=RB(t,e);t.layoutInfo=i;var o=i.width,a=i.height,s=t.getGraph(),l=s.nodes,u=s.edges;BB(l),FB(l,u,n,r,o,a,0!==Y(l,(function(t){return 0===t.getLayout().value})).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))}))}function RB(t,e){return dg(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function FB(t,e,n,r,i,o,a,s,l){jB(t,e,n,i,o,s,l),GB(t,e,o,i,r,a,s),ij(t,s)}function BB(t){H(t,(function(t){var e=nj(t.outEdges,ej),n=nj(t.inEdges,ej),r=t.getValue()||0,i=Math.max(e,n,r);t.setLayout({value:i},!0)}))}function jB(t,e,n,r,i,o,a){for(var s=[],l=[],u=[],c=[],d=0,h=0;h<e.length;h++)s[h]=1;for(h=0;h<t.length;h++)l[h]=t[h].inEdges.length,0===l[h]&&u.push(t[h]);for(var f=-1;u.length;){for(var p=0;p<u.length;p++){var g=u[p],y=g.hostGraph.data.getRawDataItem(g.dataIndex),m=null!=y.depth&&y.depth>=0;m&&y.depth>f&&(f=y.depth),g.setLayout({depth:m?y.depth:d},!0),"vertical"===o?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var v=0;v<g.outEdges.length;v++){var b=g.outEdges[v];s[e.indexOf(b)]=0;var x=b.node2;0==--l[t.indexOf(x)]&&c.indexOf(x)<0&&c.push(x)}}++d,u=c,c=[]}for(h=0;h<s.length;h++)if(1===s[h])throw new Error("Sankey is a DAG, the original data has cycle!");var _=f>d-1?f:d-1;a&&"left"!==a&&VB(t,a,o,_),WB(t,"vertical"===o?(i-n)/_:(r-n)/_,o)}function zB(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function VB(t,e,n,r){if("right"===e){for(var i=[],o=t,a=0;o.length;){for(var s=0;s<o.length;s++){var l=o[s];l.setLayout({skNodeHeight:a},!0);for(var u=0;u<l.inEdges.length;u++){var c=l.inEdges[u];i.indexOf(c.node1)<0&&i.push(c.node1)}}o=i,i=[],++a}H(t,(function(t){zB(t)||t.setLayout({depth:Math.max(0,r-t.getLayout().skNodeHeight)},!0)}))}else"justify"===e&&HB(t,r)}function HB(t,e){H(t,(function(t){zB(t)||t.outEdges.length||t.setLayout({depth:e},!0)}))}function WB(t,e,n){H(t,(function(t){var r=t.getLayout().depth*e;"vertical"===n?t.setLayout({y:r},!0):t.setLayout({x:r},!0)}))}function GB(t,e,n,r,i,o,a){var s=YB(t,a);UB(s,e,n,r,i,a),ZB(s,i,n,r,a);for(var l=1;o>0;o--)XB(s,l*=.99,a),ZB(s,i,n,r,a),rj(s,l,a),ZB(s,i,n,r,a)}function YB(t,e){var n=[],r="vertical"===e?"y":"x",i=Ss(t,(function(t){return t.getLayout()[r]}));return i.keys.sort((function(t,e){return t-e})),H(i.keys,(function(t){n.push(i.buckets.get(t))})),n}function UB(t,e,n,r,i,o){var a=1/0;H(t,(function(t){var e=t.length,s=0;H(t,(function(t){s+=t.getLayout().value}));var l="vertical"===o?(r-(e-1)*i)/s:(n-(e-1)*i)/s;l<a&&(a=l)})),H(t,(function(t){H(t,(function(t,e){var n=t.getLayout().value*a;"vertical"===o?(t.setLayout({x:e},!0),t.setLayout({dx:n},!0)):(t.setLayout({y:e},!0),t.setLayout({dy:n},!0))}))})),H(e,(function(t){var e=+t.getValue()*a;t.setLayout({dy:e},!0)}))}function ZB(t,e,n,r,i){var o="vertical"===i?"x":"y";H(t,(function(t){var a,s,l;t.sort((function(t,e){return t.getLayout()[o]-e.getLayout()[o]}));for(var u=0,c=t.length,d="vertical"===i?"dx":"dy",h=0;h<c;h++)(l=u-(s=t[h]).getLayout()[o])>0&&(a=s.getLayout()[o]+l,"vertical"===i?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[d]+e;if((l=u-e-("vertical"===i?r:n))>0)for(a=s.getLayout()[o]-l,"vertical"===i?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a,h=c-2;h>=0;--h)(l=(s=t[h]).getLayout()[o]+s.getLayout()[d]+e-u)>0&&(a=s.getLayout()[o]-l,"vertical"===i?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]}))}function XB(t,e,n){H(t.slice().reverse(),(function(t){H(t,(function(t){if(t.outEdges.length){var r=nj(t.outEdges,qB,n)/nj(t.outEdges,ej);if(isNaN(r)){var i=t.outEdges.length;r=i?nj(t.outEdges,KB,n)/i:0}if("vertical"===n){var o=t.getLayout().x+(r-tj(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(r-tj(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function qB(t,e){return tj(t.node2,e)*t.getValue()}function KB(t,e){return tj(t.node2,e)}function JB(t,e){return tj(t.node1,e)*t.getValue()}function QB(t,e){return tj(t.node1,e)}function tj(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function ej(t){return t.getValue()}function nj(t,e,n){for(var r=0,i=t.length,o=-1;++o<i;){var a=+e(t[o],n);isNaN(a)||(r+=a)}return r}function rj(t,e,n){H(t,(function(t){H(t,(function(t){if(t.inEdges.length){var r=nj(t.inEdges,JB,n)/nj(t.inEdges,ej);if(isNaN(r)){var i=t.inEdges.length;r=i?nj(t.inEdges,QB,n)/i:0}if("vertical"===n){var o=t.getLayout().x+(r-tj(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(r-tj(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function ij(t,e){var n="vertical"===e?"x":"y";H(t,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]}))})),H(t,(function(t){var e=0,n=0;H(t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),H(t.inEdges,(function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy}))}))}function oj(t){t.eachSeriesByType("sankey",(function(t){var e=t.getGraph(),n=e.nodes,r=e.edges;if(n.length){var i=1/0,o=-1/0;H(n,(function(t){var e=t.getLayout().value;e<i&&(i=e),e>o&&(o=e)})),H(n,(function(e){var n=new gL({type:"color",mappingMethod:"linear",dataExtent:[i,o],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),r=e.getModel().get(["itemStyle","color"]);null!=r?(e.setVisual("color",r),e.setVisual("style",{fill:r})):(e.setVisual("color",n),e.setVisual("style",{fill:n}))}))}r.length&&H(r,(function(t){var e=t.getModel().get("lineStyle");t.setVisual("style",e)}))}))}function aj(t){t.registerChartView(kB),t.registerSeriesModel(LB),t.registerLayout(NB),t.registerVisual(oj),t.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},(function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])}))}))}var sj=function(){function t(){}return t.prototype.getInitialData=function(t,e){var n,r,i=e.getComponent("xAxis",this.get("xAxisIndex")),o=e.getComponent("yAxis",this.get("yAxisIndex")),a=i.get("type"),s=o.get("type");"category"===a?(t.layout="horizontal",n=i.getOrdinalMeta(),r=!0):"category"===s?(t.layout="vertical",n=o.getOrdinalMeta(),r=!0):t.layout=t.layout||"horizontal";var l=["x","y"],u="horizontal"===t.layout?0:1,c=this._baseAxisDim=l[u],d=l[1-u],h=[i,o],f=h[u].get("type"),p=h[1-u].get("type"),g=t.data;if(g&&r){var y=[];H(g,(function(t,e){var n;J(t)?(n=t.slice(),t.unshift(e)):J(t.value)?((n=N({},t)).value=n.value.slice(),t.value.unshift(e)):n=t,y.push(n)})),t.data=y}var m=this.defaultValueDimensions,v=[{name:c,type:Zw(f),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:d,type:Zw(p),dimsDef:m.slice()}];return vO(this,{coordDimensions:v,dimensionsCount:m.length+1,encodeDefaulter:K(Ng,v,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),lj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return i(e,t),e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},e}(Lv);z(lj,sj,!0);var uj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){var r=t.getData(),i=this.group,o=this._data;this._data||i.removeAll();var a="horizontal"===t.get("layout")?1:0;r.diff(o).add((function(t){if(r.hasValue(t)){var e=hj(r.getItemLayout(t),r,t,a,!0);r.setItemGraphicEl(t,e),i.add(e)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(r.hasValue(t)){var s=r.getItemLayout(t);n?(jh(n),fj(s,n,r,t)):n=hj(s,r,t,a),i.add(n),r.setItemGraphicEl(t,n)}else i.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=r},e.prototype.remove=function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},e.type="boxplot",e}(Zv),cj=function(){function t(){}return t}(),dj=function(t){function e(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return i(e,t),e.prototype.getDefaultShape=function(){return new cj},e.prototype.buildPath=function(t,e){var n=e.points,r=0;for(t.moveTo(n[r][0],n[r][1]),r++;r<4;r++)t.lineTo(n[r][0],n[r][1]);for(t.closePath();r<n.length;r++)t.moveTo(n[r][0],n[r][1]),r++,t.lineTo(n[r][0],n[r][1])},e}(_u);function hj(t,e,n,r,i){var o=t.ends,a=new dj({shape:{points:i?pj(o,r,t):o}});return fj(t,a,e,n,i),a}function fj(t,e,n,r,i){var o=n.hostModel;(0,_f[i?"initProps":"updateProps"])(e,{shape:{points:t.ends}},o,r),e.useStyle(n.getItemVisual(r,"style")),e.style.strokeNoScale=!0,e.z2=100;var a=n.getItemModel(r),s=a.getModel("emphasis");od(e,a),ed(e,s.get("focus"),s.get("blurScope"),s.get("disabled"))}function pj(t,e,n){return W(t,(function(t){return(t=t.slice())[e]=n.initBaseline,t}))}var gj=H;function yj(t){var e=mj(t);gj(e,(function(t){var e=t.seriesModels;e.length&&(vj(t),gj(e,(function(e,n){bj(e,t.boxOffsetList[n],t.boxWidthList[n])})))}))}function mj(t){var e=[],n=[];return t.eachSeriesByType("boxplot",(function(t){var r=t.getBaseAxis(),i=B(n,r);i<0&&(i=n.length,n[i]=r,e[i]={axis:r,seriesModels:[]}),e[i].seriesModels.push(t)})),e}function vj(t){var e,n=t.axis,r=t.seriesModels,i=r.length,o=t.boxWidthList=[],a=t.boxOffsetList=[],s=[];if("category"===n.type)e=n.getBandWidth();else{var l=0;gj(r,(function(t){l=Math.max(l,t.getData().count())}));var u=n.getExtent();e=Math.abs(u[1]-u[0])/l}gj(r,(function(t){var n=t.get("boxWidth");J(n)||(n=[n,n]),s.push([oa(n[0],e)||0,oa(n[1],e)||0])}));var c=.8*e-2,d=c/i*.3,h=(c-d*(i-1))/i,f=h/2-c/2;gj(r,(function(t,e){a.push(f),f+=d+h,o.push(Math.min(Math.max(h,s[e][0]),s[e][1]))}))}function bj(t,e,n){var r=t.coordinateSystem,i=t.getData(),o=n/2,a="horizontal"===t.get("layout")?0:1,s=1-a,l=["x","y"],u=i.mapDimension(l[a]),c=i.mapDimensionsAll(l[s]);if(!(null==u||c.length<5))for(var d=0;d<i.count();d++){var h=i.get(u,d),f=b(h,c[2],d),p=b(h,c[0],d),g=b(h,c[1],d),y=b(h,c[3],d),m=b(h,c[4],d),v=[];x(v,g,!1),x(v,y,!0),v.push(p,g,m,y),_(v,p),_(v,m),_(v,f),i.setItemLayout(d,{initBaseline:f[s],ends:v})}function b(t,n,o){var l,u=i.get(n,o),c=[];return c[a]=t,c[s]=u,isNaN(t)||isNaN(u)?l=[NaN,NaN]:(l=r.dataToPoint(c))[a]+=e,l}function x(t,e,n){var r=e.slice(),i=e.slice();r[a]+=o,i[a]-=o,n?t.push(r,i):t.push(i,r)}function _(t,e){var n=e.slice(),r=e.slice();n[a]-=o,r[a]+=o,t.push(n,r)}}function xj(t,e){for(var n=[],r=[],i=(e=e||{}).boundIQR,o="none"===i||0===i,a=0;a<t.length;a++){var s=sa(t[a].slice()),l=wa(s,.25),u=wa(s,.5),c=wa(s,.75),d=s[0],h=s[s.length-1],f=(null==i?1.5:i)*(c-l),p=o?d:Math.max(d,l-f),g=o?h:Math.min(h,c+f),y=e.itemNameFormatter,m=Q(y)?y({value:a}):tt(y)?y.replace("{value}",a+""):a+"";n.push([m,p,l,u,c,g]);for(var v=0;v<s.length;v++){var b=s[v];if(b<p||b>g){var x=[m,b];r.push(x)}}}return{boxData:n,outliers:r}}var _j={type:"echarts:boxplot",transform:function(t){var e=t.upstream;e.sourceFormat!==Ag&&Ba(Fa("source data is not applicable for this boxplot transform. Expect number[][]."));var n=xj(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}};function wj(t){t.registerSeriesModel(lj),t.registerChartView(uj),t.registerLayout(yj),t.registerTransform(_j)}var Sj=["color","borderColor"],Mj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,e,n){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,e,n,r){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype.eachRendered=function(t){xf(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t){var e=t.getData(),n=this._data,r=this.group,i=e.getLayout("isSimpleBox"),o=t.get("clip",!0),a=t.coordinateSystem,s=a.getArea&&a.getArea();this._data||r.removeAll(),e.diff(n).add((function(n){if(e.hasValue(n)){var a=e.getItemLayout(n);if(o&&Tj(s,a))return;var l=Dj(a,n,!0);Lh(l,{shape:{points:a.ends}},t,n),Cj(l,e,n,i),r.add(l),e.setItemGraphicEl(n,l)}})).update((function(a,l){var u=n.getItemGraphicEl(l);if(e.hasValue(a)){var c=e.getItemLayout(a);o&&Tj(s,c)?r.remove(u):(u?(Eh(u,{shape:{points:c.ends}},t,a),jh(u)):u=Dj(c),Cj(u,e,a,i),r.add(u),e.setItemGraphicEl(a,u))}else r.remove(u)})).remove((function(t){var e=n.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),$j(t,this.group);var e=t.get("clip",!0)?JT(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){for(var n,r=e.getData(),i=r.getLayout("isSimpleBox");null!=(n=t.next());){var o=Dj(r.getItemLayout(n));Cj(o,r,n,i),o.incremental=!0,this.group.add(o),this._progressiveEls.push(o)}},e.prototype._incrementalRenderLarge=function(t,e){$j(e,this.group,this._progressiveEls,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(Zv),Ij=function(){function t(){}return t}(),Aj=function(t){function e(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return i(e,t),e.prototype.getDefaultShape=function(){return new Ij},e.prototype.buildPath=function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},e}(_u);function Dj(t,e,n){var r=t.ends;return new Aj({shape:{points:n?Oj(r,t):r},z2:100})}function Tj(t,e){for(var n=!0,r=0;r<e.ends.length;r++)if(t.contain(e.ends[r][0],e.ends[r][1])){n=!1;break}return n}function Cj(t,e,n,r){var i=e.getItemModel(n);t.useStyle(e.getItemVisual(n,"style")),t.style.strokeNoScale=!0,t.__simpleBox=r,od(t,i)}function Oj(t,e){return W(t,(function(t){return(t=t.slice())[1]=e.initBaseline,t}))}var Pj=function(){function t(){}return t}(),kj=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeCandlestickBox",n}return i(e,t),e.prototype.getDefaultShape=function(){return new Pj},e.prototype.buildPath=function(t,e){for(var n=e.points,r=0;r<n.length;)if(this.__sign===n[r++]){var i=n[r++];t.moveTo(i,n[r++]),t.lineTo(i,n[r++])}else r+=3},e}(_u);function $j(t,e,n,r){var i=t.getData().getLayout("largePoints"),o=new kj({shape:{points:i},__sign:1,ignoreCoarsePointer:!0});e.add(o);var a=new kj({shape:{points:i},__sign:-1,ignoreCoarsePointer:!0});e.add(a);var s=new kj({shape:{points:i},__sign:0,ignoreCoarsePointer:!0});e.add(s),Ej(1,o,t),Ej(-1,a,t),Ej(0,s,t),r&&(o.incremental=!0,a.incremental=!0),n&&n.push(o,a)}function Ej(t,e,n,r){var i=n.get(["itemStyle",t>0?"borderColor":"borderColor0"])||n.get(["itemStyle",t>0?"color":"color0"]);0===t&&(i=n.get(["itemStyle","borderColorDoji"]));var o=n.getModel("itemStyle").getItemStyle(Sj);e.useStyle(o),e.style.fill=null,e.style.stroke=i}var Lj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],n}return i(e,t),e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,e,n){var r=e.getItemLayout(t);return r&&n.rect(r.brushRect)},e.type="series.candlestick",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},e}(Lv);function Nj(t){t&&J(t.series)&&H(t.series,(function(t){rt(t)&&"k"===t.type&&(t.type="candlestick")}))}z(Lj,sj,!0);var Rj=["itemStyle","borderColor"],Fj=["itemStyle","borderColor0"],Bj=["itemStyle","borderColorDoji"],jj=["itemStyle","color"],zj=["itemStyle","color0"],Vj={seriesType:"candlestick",plan:Gv(),performRawSeries:!0,reset:function(t,e){function n(t,e){return e.get(t>0?jj:zj)}function r(t,e){return e.get(0===t?Bj:t>0?Rj:Fj)}if(!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){for(var i;null!=(i=t.next());){var o=e.getItemModel(i),a=e.getItemLayout(i).sign,s=o.getItemStyle();s.fill=n(a,o),s.stroke=r(a,o)||s.fill,N(e.ensureUniqueItemVisual(i,"style"),s)}}}}},Hj={seriesType:"candlestick",plan:Gv(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),r=Gj(t,n),i=0,o=1,a=["x","y"],s=n.getDimensionIndex(n.mapDimension(a[i])),l=W(n.mapDimensionsAll(a[o]),n.getDimensionIndex,n),u=l[0],c=l[1],d=l[2],h=l[3];if(n.setLayout({candleWidth:r,isSimpleBox:r<=1.3}),!(s<0||l.length<4))return{progress:t.pipelineContext.large?p:f};function f(t,n){for(var a,l=n.getStore();null!=(a=t.next());){var f=l.get(s,a),p=l.get(u,a),g=l.get(c,a),y=l.get(d,a),m=l.get(h,a),v=Math.min(p,g),b=Math.max(p,g),x=A(v,f),_=A(b,f),w=A(y,f),S=A(m,f),M=[];D(M,_,0),D(M,x,1),M.push(C(S),C(_),C(w),C(x));var I=!!n.getItemModel(a).get(["itemStyle","borderColorDoji"]);n.setItemLayout(a,{sign:Wj(l,a,p,g,c,I),initBaseline:p>g?_[o]:x[o],ends:M,brushRect:T(y,m,f)})}function A(t,n){var r=[];return r[i]=n,r[o]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(r)}function D(t,e,n){var o=e.slice(),a=e.slice();o[i]=rf(o[i]+r/2,1,!1),a[i]=rf(a[i]-r/2,1,!0),n?t.push(o,a):t.push(a,o)}function T(t,e,n){var o=A(t,n),a=A(e,n);return o[i]-=r/2,a[i]-=r/2,{x:o[0],y:o[1],width:r,height:a[1]-o[1]}}function C(t){return t[i]=rf(t[i],1),t}}function p(n,r){for(var a,l,f=nM(4*n.count),p=0,g=[],y=[],m=r.getStore(),v=!!t.get(["itemStyle","borderColorDoji"]);null!=(l=n.next());){var b=m.get(s,l),x=m.get(u,l),_=m.get(c,l),w=m.get(d,l),S=m.get(h,l);isNaN(b)||isNaN(w)||isNaN(S)?(f[p++]=NaN,p+=3):(f[p++]=Wj(m,l,x,_,c,v),g[i]=b,g[o]=w,a=e.dataToPoint(g,null,y),f[p++]=a?a[0]:NaN,f[p++]=a?a[1]:NaN,g[o]=S,a=e.dataToPoint(g,null,y),f[p++]=a?a[1]:NaN)}r.setLayout("largePoints",f)}}};function Wj(t,e,n,r,i,o){return n>r?-1:n<r?1:o?0:e>0?t.get(i,e-1)<=r?1:-1:1}function Gj(t,e){var n,r=t.getBaseAxis(),i="category"===r.type?r.getBandWidth():(n=r.getExtent(),Math.abs(n[1]-n[0])/e.count()),o=oa(ht(t.get("barMaxWidth"),i),i),a=oa(ht(t.get("barMinWidth"),1),i),s=t.get("barWidth");return null!=s?oa(s,i):Math.max(Math.min(i/2,o),a)}function Yj(t){t.registerChartView(Mj),t.registerSeriesModel(Lj),t.registerPreprocessor(Nj),t.registerVisual(Vj),t.registerLayout(Hj)}function Uj(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})}))}var Zj=function(t){function e(e,n){var r=t.call(this)||this,i=new PT(e,n),o=new Bo;return r.add(i),r.add(o),r.updateData(e,n),r}return i(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,r=t.rippleNumber,i=this.childAt(1),o=0;o<r;o++){var a=lx(e,-1,-1,2,2,n);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var s=-o/r*t.period+t.effectOffset;a.animate("",!0).when(t.period,{scaleX:t.rippleScale/2,scaleY:t.rippleScale/2}).delay(s).start(),a.animateStyle(!0).when(t.period,{opacity:0}).delay(s).start(),i.add(a)}Uj(i,t)},e.prototype.updateEffectAnimation=function(t){for(var e=this._effectCfg,n=this.childAt(1),r=["symbolType","period","rippleScale","rippleNumber"],i=0;i<r.length;i++){var o=r[i];if(e[o]!==t[o])return this.stopEffectAnimation(),void this.startEffectAnimation(t)}Uj(n,t)},e.prototype.highlight=function(){Nc(this)},e.prototype.downplay=function(){Rc(this)},e.prototype.getSymbolType=function(){var t=this.childAt(0);return t&&t.getSymbolType()},e.prototype.updateData=function(t,e){var n=this,r=t.hostModel;this.childAt(0).updateData(t,e);var i=this.childAt(1),o=t.getItemModel(e),a=t.getItemVisual(e,"symbol"),s=ux(t.getItemVisual(e,"symbolSize")),l=t.getItemVisual(e,"style"),u=l&&l.fill,c=o.getModel("emphasis");i.setScale(s),i.traverse((function(t){t.setStyle("fill",u)}));var d=cx(t.getItemVisual(e,"symbolOffset"),s);d&&(i.x=d[0],i.y=d[1]);var h=t.getItemVisual(e,"symbolRotate");i.rotation=(h||0)*Math.PI/180||0;var f={};f.showEffectOn=r.get("showEffectOn"),f.rippleScale=o.get(["rippleEffect","scale"]),f.brushType=o.get(["rippleEffect","brushType"]),f.period=1e3*o.get(["rippleEffect","period"]),f.effectOffset=e/t.count(),f.z=r.getShallow("z")||0,f.zlevel=r.getShallow("zlevel")||0,f.symbolType=a,f.color=u,f.rippleEffectColor=o.get(["rippleEffect","color"]),f.rippleNumber=o.get(["rippleEffect","number"]),"render"===f.showEffectOn?(this._effectCfg?this.updateEffectAnimation(f):this.startEffectAnimation(f),this._effectCfg=f):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(t){"emphasis"===t?"render"!==f.showEffectOn&&n.startEffectAnimation(f):"normal"===t&&"render"!==f.showEffectOn&&n.stopEffectAnimation()}),this._effectCfg=f,ed(this,c.get("focus"),c.get("blurScope"),c.get("disabled"))},e.prototype.fadeOut=function(t){t&&t()},e}(Bo),Xj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(){this._symbolDraw=new NT(Zj)},e.prototype.render=function(t,e,n){var r=t.getData(),i=this._symbolDraw;i.updateData(r,{clipShape:this._getClipShape(t)}),this.group.add(i.group)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},e.prototype.updateTransform=function(t,e,n){var r=t.getData();this.group.dirty();var i=vC("").reset(t,e,n);i.progress&&i.progress({start:0,end:r.count(),count:r.count()},r),this._symbolDraw.updateLayout()},e.prototype._updateGroupTransform=function(t){var e=t.coordinateSystem;e&&e.getRoamTransform&&(this.group.transform=Ge(e.getRoamTransform()),this.group.decomposeTransform())},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0)},e.type="effectScatter",e}(Zv),qj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return i(e,t),e.prototype.getInitialData=function(t,e){return ES(null,this,{useEncodeDefaulter:!0})},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.type="series.effectScatter",e.dependencies=["grid","polar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",clip:!0,rippleEffect:{period:4,scale:2.5,brushType:"fill",number:3},universalTransition:{divideShape:"clone"},symbolSize:10},e}(Lv);function Kj(t){t.registerChartView(Xj),t.registerSeriesModel(qj),t.registerLayout(vC("effectScatter"))}var Jj=function(t){function e(e,n,r){var i=t.call(this)||this;return i.add(i.createLine(e,n,r)),i._updateEffectSymbol(e,n),i}return i(e,t),e.prototype.createLine=function(t,e,n){return new XN(t,e,n)},e.prototype._updateEffectSymbol=function(t,e){var n=t.getItemModel(e).getModel("effect"),r=n.get("symbolSize"),i=n.get("symbol");J(r)||(r=[r,r]);var o=t.getItemVisual(e,"style"),a=n.get("color")||o&&o.stroke,s=this.childAt(1);this._symbolType!==i&&(this.remove(s),(s=lx(i,-.5,-.5,1,1,a)).z2=100,s.culling=!0,this.add(s)),s&&(s.setStyle("shadowColor",a),s.setStyle(n.getItemStyle(["color"])),s.scaleX=r[0],s.scaleY=r[1],s.setColor(a),this._symbolType=i,this._symbolScale=r,this._updateEffectAnimation(t,n,e))},e.prototype._updateEffectAnimation=function(t,e,n){var r=this.childAt(1);if(r){var i=t.getItemLayout(n),o=1e3*e.get("period"),a=e.get("loop"),s=e.get("roundTrip"),l=e.get("constantSpeed"),u=dt(e.get("delay"),(function(e){return e/t.count()*o/3}));if(r.ignore=!0,this._updateAnimationPoints(r,i),l>0&&(o=this._getLineLength(r)/l*1e3),o!==this._period||a!==this._loop||s!==this._roundTrip){r.stopAnimation();var c=void 0;c=Q(u)?u(n):u,r.__t>0&&(c=-o*r.__t),this._animateSymbol(r,o,c,a,s)}this._period=o,this._loop=a,this._roundTrip=s}},e.prototype._animateSymbol=function(t,e,n,r,i){if(e>0){t.__t=0;var o=this,a=t.animate("",r).when(i?2*e:e,{__t:i?2:1}).delay(n).during((function(){o._updateSymbolPosition(t)}));r||a.done((function(){o.remove(t)})),a.start()}},e.prototype._getLineLength=function(t){return qt(t.__p1,t.__cp1)+qt(t.__cp1,t.__p2)},e.prototype._updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},e.prototype.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},e.prototype._updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,r=t.__cp1,i=t.__t<1?t.__t:2-t.__t,o=[t.x,t.y],a=o.slice(),s=Jn,l=Qn;o[0]=s(e[0],r[0],n[0],i),o[1]=s(e[1],r[1],n[1],i);var u=t.__t<1?l(e[0],r[0],n[0],i):l(n[0],r[0],e[0],1-i),c=t.__t<1?l(e[1],r[1],n[1],i):l(n[1],r[1],e[1],1-i);t.rotation=-Math.atan2(c,u)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT<t.__t?(t.scaleY=1.05*qt(a,o),1===i&&(o[0]=a[0]+(o[0]-a[0])/2,o[1]=a[1]+(o[1]-a[1])/2)):1===t.__lastT?t.scaleY=2*qt(e,o):t.scaleY=this._symbolScale[1]),t.__lastT=t.__t,t.ignore=!1,t.x=o[0],t.y=o[1]},e.prototype.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var n=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,n,e)},e}(Bo),Qj=function(t){function e(e,n,r){var i=t.call(this)||this;return i._createPolyline(e,n,r),i}return i(e,t),e.prototype._createPolyline=function(t,e,n){var r=t.getItemLayout(e),i=new ch({shape:{points:r}});this.add(i),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var r=t.hostModel;Eh(this.childAt(0),{shape:{points:t.getItemLayout(e)}},r,e),this._updateCommonStl(t,e,n)},e.prototype._updateCommonStl=function(t,e,n){var r=this.childAt(0),i=t.getItemModel(e),o=n&&n.emphasisLineStyle,a=n&&n.focus,s=n&&n.blurScope,l=n&&n.emphasisDisabled;if(!n||t.hasItemOption){var u=i.getModel("emphasis");o=u.getModel("lineStyle").getLineStyle(),l=u.get("disabled"),a=u.get("focus"),s=u.get("blurScope")}r.useStyle(t.getItemVisual(e,"style")),r.style.fill=null,r.style.strokeNoScale=!0,r.ensureState("emphasis").style=o,ed(this,a,s,l)},e.prototype.updateLayout=function(t,e){this.childAt(0).setShape("points",t.getItemLayout(e))},e}(Bo),tz=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._lastFrame=0,e._lastFramePercent=0,e}return i(e,t),e.prototype.createLine=function(t,e,n){return new Qj(t,e,n)},e.prototype._updateAnimationPoints=function(t,e){this._points=e;for(var n=[0],r=0,i=1;i<e.length;i++){var o=e[i-1],a=e[i];r+=qt(o,a),n.push(r)}if(0!==r){for(i=0;i<n.length;i++)n[i]/=r;this._offsets=n,this._length=r}else this._length=0},e.prototype._getLineLength=function(){return this._length},e.prototype._updateSymbolPosition=function(t){var e=t.__t<1?t.__t:2-t.__t,n=this._points,r=this._offsets,i=n.length;if(r){var o,a=this._lastFrame;if(e<this._lastFramePercent){for(o=Math.min(a+1,i-1);o>=0&&!(r[o]<=e);o--);o=Math.min(o,i-2)}else{for(o=a;o<i&&!(r[o]>e);o++);o=Math.min(o-1,i-2)}var s=(e-r[o])/(r[o+1]-r[o]),l=n[o],u=n[o+1];t.x=l[0]*(1-s)+s*u[0],t.y=l[1]*(1-s)+s*u[1];var c=t.__t<1?u[0]-l[0]:l[0]-u[0],d=t.__t<1?u[1]-l[1]:l[1]-u[1];t.rotation=-Math.atan2(d,c)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=e,t.ignore=!1}},e}(Jj),ez=function(){function t(){this.polyline=!1,this.curveness=0,this.segs=[]}return t}(),nz=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return i(e,t),e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new ez},e.prototype.buildPath=function(t,e){var n,r=e.segs,i=e.curveness;if(e.polyline)for(n=this._off;n<r.length;){var o=r[n++];if(o>0){t.moveTo(r[n++],r[n++]);for(var a=1;a<o;a++)t.lineTo(r[n++],r[n++])}}else for(n=this._off;n<r.length;){var s=r[n++],l=r[n++],u=r[n++],c=r[n++];if(t.moveTo(s,l),i>0){var d=(s+u)/2-(l-c)*i,h=(l+c)/2-(u-s)*i;t.quadraticCurveTo(d,h,u,c)}else t.lineTo(u,c)}this.incremental&&(this._off=n,this.notClear=!0)},e.prototype.findDataIndex=function(t,e){var n=this.shape,r=n.segs,i=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s<r.length;){var l=r[s++];if(l>0)for(var u=r[s++],c=r[s++],d=1;d<l;d++)if(Kl(u,c,h=r[s++],f=r[s++],o,t,e))return a;a++}else for(a=0,s=0;s<r.length;){u=r[s++],c=r[s++];var h=r[s++],f=r[s++];if(i>0){if(Ql(u,c,(u+h)/2-(c-f)*i,(c+f)/2-(h-u)*i,h,f,o,t,e))return a}else if(Kl(u,c,h,f,o,t,e))return a;a++}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),r=this.getBoundingRect();return t=n[0],e=n[1],r.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape.segs,n=1/0,r=1/0,i=-1/0,o=-1/0,a=0;a<e.length;){var s=e[a++],l=e[a++];n=Math.min(s,n),i=Math.max(s,i),r=Math.min(l,r),o=Math.max(l,o)}t=this._rect=new nn(n,r,i,o)}return t},e}(_u),rz=function(){function t(){this.group=new Bo}return t.prototype.updateData=function(t){this._clear();var e=this._create();e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t)},t.prototype.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clear()},t.prototype.incrementalUpdate=function(t,e){var n=this._newAdded[0],r=e.getLayout("linesPoints"),i=n&&n.shape.segs;if(i&&i.length<2e4){var o=i.length,a=new Float32Array(o+r.length);a.set(i),a.set(r,o),n.setShape({segs:a})}else{this._newAdded=[];var s=this._create();s.incremental=!0,s.setShape({segs:r}),this._setCommon(s,e),s.__startIndex=t.start}},t.prototype.remove=function(){this._clear()},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new nz({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push(t),this.group.add(t),t},t.prototype._setCommon=function(t,e,n){var r=e.hostModel;t.setShape({polyline:r.get("polyline"),curveness:r.get(["lineStyle","curveness"])}),t.useStyle(r.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var i=e.getVisual("style");i&&i.stroke&&t.setStyle("stroke",i.stroke),t.setStyle("fill",null);var o=Qu(t);o.seriesIndex=r.seriesIndex,t.on("mousemove",(function(e){o.dataIndex=null;var n=t.hoverDataIdx;n>0&&(o.dataIndex=n+t.__startIndex)}))},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),iz={seriesType:"lines",plan:Gv(),reset:function(t){var e=t.coordinateSystem;if(e){var n=t.get("polyline"),r=t.pipelineContext.large;return{progress:function(i,o){var a=[];if(r){var s=void 0,l=i.end-i.start;if(n){for(var u=0,c=i.start;c<i.end;c++)u+=t.getLineCoordsCount(c);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);var d=0,h=[];for(c=i.start;c<i.end;c++){var f=t.getLineCoords(c,a);n&&(s[d++]=f);for(var p=0;p<f;p++)h=e.dataToPoint(a[p],!1,h),s[d++]=h[0],s[d++]=h[1]}o.setLayout("linesPoints",s)}else for(c=i.start;c<i.end;c++){var g=o.getItemModel(c),y=(f=t.getLineCoords(c,a),[]);if(n)for(var m=0;m<f;m++)y.push(e.dataToPoint(a[m]));else{y[0]=e.dataToPoint(a[0]),y[1]=e.dataToPoint(a[1]);var v=g.get(["lineStyle","curveness"]);+v&&(y[2]=[(y[0][0]+y[1][0])/2-(y[0][1]-y[1][1])*v,(y[0][1]+y[1][1])/2-(y[1][0]-y[0][0])*v])}o.setItemLayout(c,y)}}}}La("The lines series must have a coordinate system.")}},oz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){var r=t.getData(),i=this._updateLineDraw(r,t),o=t.get("zlevel"),a=t.get(["effect","trailLength"]),s=n.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(o).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&a>0&&(l?console.warn("SVG render mode doesn't support lines with trail effect"):s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),i.updateData(r);var u=t.get("clip",!0)&&JT(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var r=t.getData();this._updateLineDraw(r,t).incrementalPrepareUpdate(r),this._clearLayer(n),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},e.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},e.prototype.updateTransform=function(t,e,n){var r=t.getData(),i=t.pipelineContext;if(!this._finished||i.large||i.progressiveRender)return{update:!0};var o=iz.reset(t,e,n);o.progress&&o.progress({start:0,end:r.count(),count:r.count()},r),this._lineDraw.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,r=this._showEffect(e),i=!!e.get("polyline"),o=e.pipelineContext.large;return r&&o&&console.warn("Large lines not support effect"),n&&r===this._hasEffet&&i===this._isPolyline&&o===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=o?new rz:new qN(i?r?tz:Qj:r?Jj:XN),this._hasEffet=r,this._isPolyline=i,this._isLargeDraw=o),this.group.add(n.group),n},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var e=t.getZr();"svg"===e.painter.getType()||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.type="lines",e}(Zv),az="undefined"==typeof Uint32Array?Array:Uint32Array,sz="undefined"==typeof Float64Array?Array:Float64Array;function lz(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(console.warn("Lines data configuration has been changed to { coords:[[1,2],[2,3]] }"),t.data=W(e,(function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),L([e,t[0],t[1]])})))}var uz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return i(e,t),e.prototype.init=function(e){e.data=e.data||[],lz(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),t.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(e){if(lz(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}t.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=At(this._flatCoords,e.flatCoords),this._flatCoordsOffset=At(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},e.prototype._getCoordsFromItemModel=function(t){var e=this.getData().getItemModel(t),n=e.option instanceof Array?e.option:e.getShallow("coords");if(!(n instanceof Array&&n.length>0&&n[0]instanceof Array))throw new Error("Invalid coords "+JSON.stringify(n)+". Lines must have 2d coords array in data item.");return n},e.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},e.prototype.getLineCoords=function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],r=this._flatCoordsOffset[2*t+1],i=0;i<r;i++)e[i]=e[i]||[],e[i][0]=this._flatCoords[n+2*i],e[i][1]=this._flatCoords[n+2*i+1];return r}var o=this._getCoordsFromItemModel(t);for(i=0;i<o.length;i++)e[i]=e[i]||[],e[i][0]=o[i][0],e[i][1]=o[i][1];return o.length},e.prototype._processFlatCoordsArray=function(t){var e=0;if(this._flatCoords&&(e=this._flatCoords.length),nt(t[0])){for(var n=t.length,r=new az(n),i=new sz(n),o=0,a=0,s=0,l=0;l<n;){s++;var u=t[l++];r[a++]=o+e,r[a++]=u;for(var c=0;c<u;c++){var d=t[l++],h=t[l++];if(i[o++]=d,i[o++]=h,l>n)throw new Error("Invalid data format.")}}return{flatCoordsOffset:new Uint32Array(r.buffer,0,a),flatCoords:i,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:t.length}},e.prototype.getInitialData=function(t,e){if(!yy.get(t.coordinateSystem))throw new Error("Unknown coordinate system "+t.coordinateSystem);var n=new vS(["value"],this);return n.hasItemOption=!1,n.initData(t.data,[],(function(t,e,r,i){if(t instanceof Array)return NaN;n.hasItemOption=!0;var o=t.value;return null!=o?o instanceof Array?o[i]:o:void 0})),n},e.prototype.formatTooltip=function(t,e,n){var r=this.getData().getItemModel(t),i=r.get("name");if(i)return i;var o=r.get("fromName"),a=r.get("toName"),s=[];return null!=o&&s.push(o),null!=a&&s.push(a),pv("nameValue",{name:s.join(" > ")})},e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},e.prototype.getZLevelKey=function(){var t=this.getModel("effect"),e=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&e>0?e+"":""},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},e}(Lv);function cz(t){return t instanceof Array||(t=[t,t]),t}var dz={seriesType:"lines",reset:function(t){var e=cz(t.get("symbol")),n=cz(t.get("symbolSize")),r=t.getData();function i(t,e){var n=t.getItemModel(e),r=cz(n.getShallow("symbol",!0)),i=cz(n.getShallow("symbolSize",!0));r[0]&&t.setItemVisual(e,"fromSymbol",r[0]),r[1]&&t.setItemVisual(e,"toSymbol",r[1]),i[0]&&t.setItemVisual(e,"fromSymbolSize",i[0]),i[1]&&t.setItemVisual(e,"toSymbolSize",i[1])}return r.setVisual("fromSymbol",e&&e[0]),r.setVisual("toSymbol",e&&e[1]),r.setVisual("fromSymbolSize",n&&n[0]),r.setVisual("toSymbolSize",n&&n[1]),{dataEach:r.hasItemOption?i:null}}};function hz(t){t.registerChartView(oz),t.registerSeriesModel(uz),t.registerLayout(iz),t.registerVisual(dz)}var fz=256,pz=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=m.createCanvas();this.canvas=t}return t.prototype.update=function(t,e,n,r,i,o){var a=this._getBrush(),s=this._getGradient(i,"inRange"),l=this._getGradient(i,"outOfRange"),u=this.pointSize+this.blurSize,c=this.canvas,d=c.getContext("2d"),h=t.length;c.width=e,c.height=n;for(var f=0;f<h;++f){var p=t[f],g=p[0],y=p[1],m=r(p[2]);d.globalAlpha=m,d.drawImage(a,g-u,y-u)}if(!c.width||!c.height)return c;for(var v=d.getImageData(0,0,c.width,c.height),b=v.data,x=0,_=b.length,w=this.minOpacity,S=this.maxOpacity-w;x<_;){m=b[x+3]/256;var M=4*Math.floor(m*(fz-1));if(m>0){var I=o(m)?s:l;m>0&&(m=m*S+w),b[x++]=I[M],b[x++]=I[M+1],b[x++]=I[M+2],b[x++]=I[M+3]*m*256}else x+=4}return d.putImageData(v,0,0),c},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=m.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var r=t.getContext("2d");return r.clearRect(0,0,n,n),r.shadowOffsetX=n,r.shadowBlur=this.blurSize,r.shadowColor="#000",r.beginPath(),r.arc(-e,e,this.pointSize,0,2*Math.PI,!0),r.closePath(),r.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,r=n[e]||(n[e]=new Uint8ClampedArray(1024)),i=[0,0,0,0],o=0,a=0;a<256;a++)t[e](a/255,!0,i),r[o++]=i[0],r[o++]=i[1],r[o++]=i[2],r[o++]=i[3];return r},t}();function gz(t,e,n){var r=t[1]-t[0],i=(e=W(e,(function(e){return{interval:[(e.interval[0]-t[0])/r,(e.interval[1]-t[0])/r]}}))).length,o=0;return function(t){var r;for(r=o;r<i;r++)if((a=e[r].interval)[0]<=t&&t<=a[1]){o=r;break}if(r===i)for(r=o-1;r>=0;r--){var a;if((a=e[r].interval)[0]<=t&&t<=a[1]){o=r;break}}return r>=0&&r<i&&n[r]}}function yz(t,e){var n=t[1]-t[0];return e=[(e[0]-t[0])/n,(e[1]-t[0])/n],function(t){return t>=e[0]&&t<=e[1]}}function mz(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var vz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){var r;if(e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(r=e)}))})),!r)throw new Error("Heatmap must use with visualMap");this._progressiveEls=null,this.group.removeAll();var i=t.coordinateSystem;
vendor: 8,952 bytes, line 33
33"cartesian2d"===i.type||"calendar"===i.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):mz(i)&&this._renderOnGeo(i,t,r,n)},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,n,r){var i=e.coordinateSystem;i&&(mz(i)?this.render(e,n,r):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,r,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){xf(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,e,n,r,i){var o,a,s,l,u=t.coordinateSystem,c=QT(u,"cartesian2d");if(c){var d=u.getAxis("x"),h=u.getAxis("y");if("category"!==d.type||"category"!==h.type)throw new Error("Heatmap on cartesian must have two category axes");if(!d.onBand||!h.onBand)throw new Error("Heatmap on cartesian must have two axes with boundaryGap true");o=d.getBandWidth()+.5,a=h.getBandWidth()+.5,s=d.scale.getExtent(),l=h.scale.getExtent()}for(var f=this.group,p=t.getData(),g=t.getModel(["emphasis","itemStyle"]).getItemStyle(),y=t.getModel(["blur","itemStyle"]).getItemStyle(),m=t.getModel(["select","itemStyle"]).getItemStyle(),v=t.get(["itemStyle","borderRadius"]),b=Af(t),x=t.getModel("emphasis"),_=x.get("focus"),w=x.get("blurScope"),S=x.get("disabled"),M=c?[p.mapDimension("x"),p.mapDimension("y"),p.mapDimension("value")]:[p.mapDimension("time"),p.mapDimension("value")],I=n;I<r;I++){var A=void 0,D=p.getItemVisual(I,"style");if(c){var T=p.get(M[0],I),C=p.get(M[1],I);if(isNaN(p.get(M[2],I))||isNaN(T)||isNaN(C)||T<s[0]||T>s[1]||C<l[0]||C>l[1])continue;var O=u.dataToPoint([T,C]);A=new Lu({shape:{x:O[0]-o/2,y:O[1]-a/2,width:o,height:a},style:D})}else{if(isNaN(p.get(M[1],I)))continue;A=new Lu({z2:1,shape:u.dataToRect([p.get(M[0],I)]).contentShape,style:D})}if(p.hasItemOption){var P=p.getItemModel(I),k=P.getModel("emphasis");g=k.getModel("itemStyle").getItemStyle(),y=P.getModel(["blur","itemStyle"]).getItemStyle(),m=P.getModel(["select","itemStyle"]).getItemStyle(),v=P.get(["itemStyle","borderRadius"]),_=k.get("focus"),w=k.get("blurScope"),S=k.get("disabled"),b=Af(P)}A.shape.r=v;var $=t.getRawValue(I),E="-";$&&null!=$[2]&&(E=$[2]+""),If(A,b,{labelFetcher:t,labelDataIndex:I,defaultOpacity:D.opacity,defaultText:E}),A.ensureState("emphasis").style=g,A.ensureState("blur").style=y,A.ensureState("select").style=m,ed(A,_,w,S),A.incremental=i,i&&(A.states.emphasis.hoverLayer=!0),f.add(A),p.setItemGraphicEl(I,A),this._progressiveEls&&this._progressiveEls.push(A)}},e.prototype._renderOnGeo=function(t,e,n,r){var i=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,a=e.getData(),s=this._hmLayer||this._hmLayer||new pz;s.blurSize=e.get("blurSize"),s.pointSize=e.get("pointSize"),s.minOpacity=e.get("minOpacity"),s.maxOpacity=e.get("maxOpacity");var l=t.getViewRect().clone(),u=t.getRoamTransform();l.applyTransform(u);var c=Math.max(l.x,0),d=Math.max(l.y,0),h=Math.min(l.width+l.x,r.getWidth()),f=Math.min(l.height+l.y,r.getHeight()),p=h-c,g=f-d,y=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],m=a.mapArray(y,(function(e,n,r){var i=t.dataToPoint([e,n]);return i[0]-=c,i[1]-=d,i.push(r),i})),v=n.getExtent(),b="visualMap.continuous"===n.type?yz(v,n.option.range):gz(v,n.getPieceList(),n.option.selected);s.update(m,p,g,i.color.getNormalizer(),{inRange:i.color.getColorMapper(),outOfRange:o.color.getColorMapper()},b);var x=new Du({style:{width:p,height:g,x:c,y:d,image:s.canvas},silent:!0});this.group.add(x)},e.type="heatmap",e}(Zv),bz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.getInitialData=function(t,e){return ES(null,this,{generateCoord:"value"})},e.prototype.preventIncremental=function(){var t=yy.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},e.type="series.heatmap",e.dependencies=["grid","geo","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},e}(Lv);function xz(t){t.registerChartView(vz),t.registerSeriesModel(bz)}var _z=["itemStyle","borderWidth"],wz=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],Sz=new Rd,Mz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){var r=this.group,i=t.getData(),o=this._data,a=t.coordinateSystem,s=a.getBaseAxis().isHorizontal(),l=a.master.getRect(),u={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:a,coordSysExtent:[[l.x,l.x+l.width],[l.y,l.y+l.height]],isHorizontal:s,valueDim:wz[+s],categoryDim:wz[1-+s]};i.diff(o).add((function(t){if(i.hasValue(t)){var e=Nz(i,t),n=Iz(i,t,e,u),o=Bz(i,u,n);i.setItemGraphicEl(t,o),r.add(o),Gz(o,u,n)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(i.hasValue(t)){var a=Nz(i,t),s=Iz(i,t,a,u),l=Vz(i,s);n&&l!==n.__pictorialShapeStr&&(r.remove(n),i.setItemGraphicEl(t,null),n=null),n?jz(n,u,s):n=Bz(i,u,s,!0),i.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=s,r.add(n),Gz(n,u,s)}else r.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&zz(o,t,e.__pictorialSymbolMeta.animationModel,e)})).execute();var c=t.get("clip",!0)?JT(t.coordinateSystem,!1,t):null;return c?r.setClipPath(c):r.removeClipPath(),this._data=i,this.group},e.prototype.remove=function(t,e){var n=this.group,r=this._data;t.get("animation")?r&&r.eachItemGraphicEl((function(e){zz(r,Qu(e).dataIndex,t,e)})):n.removeAll()},e.type="pictorialBar",e}(Zv);function Iz(t,e,n,r){var i=t.getItemLayout(e),o=n.get("symbolRepeat"),a=n.get("symbolClip"),s=n.get("symbolPosition")||"start",l=(n.get("symbolRotate")||0)*Math.PI/180||0,u=n.get("symbolPatternSize")||2,c=n.isAnimationEnabled(),d={dataIndex:e,layout:i,itemModel:n,symbolType:t.getItemVisual(e,"symbol")||"circle",style:t.getItemVisual(e,"style"),symbolClip:a,symbolRepeat:o,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:u,rotation:l,animationModel:c?n:null,hoverScale:c&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};Az(n,o,i,r,d),Tz(t,e,i,o,a,d.boundingLength,d.pxSign,u,r,d),Cz(n,d.symbolScale,l,r,d);var h=d.symbolSize,f=cx(n.get("symbolOffset"),h);return Oz(n,h,i,o,a,f,s,d.valueLineWidth,d.boundingLength,d.repeatCutLength,r,d),d}function Az(t,e,n,r,i){var o,a=r.valueDim,s=t.get("symbolBoundingData"),l=r.coordSys.getOtherAxis(r.coordSys.getBaseAxis()),u=l.toGlobalCoord(l.dataToCoord(0)),c=1-+(n[a.wh]<=0);if(J(s)){var d=[Dz(l,s[0])-u,Dz(l,s[1])-u];d[1]<d[0]&&d.reverse(),o=d[c]}else o=null!=s?Dz(l,s)-u:e?r.coordSysExtent[a.index][c]-u:n[a.wh];i.boundingLength=o,e&&(i.repeatCutLength=n[a.wh]),i.pxSign=o>0?1:-1}function Dz(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function Tz(t,e,n,r,i,o,a,s,l,u){var c,d=l.valueDim,h=l.categoryDim,f=Math.abs(n[h.wh]),p=t.getItemVisual(e,"symbolSize");(c=J(p)?p.slice():null==p?["100%","100%"]:[p,p])[h.index]=oa(c[h.index],f),c[d.index]=oa(c[d.index],r?f:Math.abs(o)),u.symbolSize=c,(u.symbolScale=[c[0]/s,c[1]/s])[d.index]*=(l.isHorizontal?-1:1)*a}function Cz(t,e,n,r,i){var o=t.get(_z)||0;o&&(Sz.attr({scaleX:e[0],scaleY:e[1],rotation:n}),Sz.updateTransform(),o/=Sz.getLineScale(),o*=e[r.valueDim.index]),i.valueLineWidth=o||0}function Oz(t,e,n,r,i,o,a,s,l,u,c,d){var h=c.categoryDim,f=c.valueDim,p=d.pxSign,g=Math.max(e[f.index]+s,0),y=g;if(r){var m=Math.abs(l),v=dt(t.get("symbolMargin"),"15%")+"",b=!1;v.lastIndexOf("!")===v.length-1&&(b=!0,v=v.slice(0,v.length-1));var x=oa(v,e[f.index]),_=Math.max(g+2*x,0),w=b?0:2*x,S=Ia(r),M=S?r:Yz((m+w)/_);_=g+2*(x=(m-M*g)/2/(b?M:Math.max(M-1,1))),w=b?0:2*x,S||"fixed"===r||(M=u?Yz((Math.abs(u)+w)/_):0),y=M*_-w,d.repeatTimes=M,d.symbolMargin=x}var I=p*(y/2),A=d.pathPosition=[];A[h.index]=n[h.wh]/2,A[f.index]="start"===a?I:"end"===a?l-I:l/2,o&&(A[0]+=o[0],A[1]+=o[1]);var D=d.bundlePosition=[];D[h.index]=n[h.xy],D[f.index]=n[f.xy];var T=d.barRectShape=N({},n);T[f.wh]=p*Math.max(Math.abs(n[f.wh]),Math.abs(A[f.index]+I)),T[h.wh]=n[h.wh];var C=d.clipShape={};C[h.xy]=-n[h.xy],C[h.wh]=c.ecSize[h.wh],C[f.xy]=0,C[f.wh]=n[f.wh]}function Pz(t){var e=t.symbolPatternSize,n=lx(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function kz(t,e,n,r){var i=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,c=0,d=o[e.valueDim.index]+a+2*n.symbolMargin;for(Hz(t,(function(t){t.__pictorialAnimationIndex=c,t.__pictorialRepeatTimes=u,c<u?Wz(t,null,p(c),n,r):Wz(t,null,{scaleX:0,scaleY:0},n,r,(function(){i.remove(t)})),c++}));c<u;c++){var h=Pz(n);h.__pictorialAnimationIndex=c,h.__pictorialRepeatTimes=u,i.add(h);var f=p(c);Wz(h,{x:f.x,y:f.y,scaleX:0,scaleY:0},{scaleX:f.scaleX,scaleY:f.scaleY,rotation:f.rotation},n,r)}function p(t){var e=s.slice(),r=n.pxSign,i=t;return("start"===n.symbolRepeatDirection?r>
vendor: 11,059 bytes, line 33
330:r<0)&&(i=u-1-t),e[l.index]=d*(i-u/2+.5)+s[l.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function $z(t,e,n,r){var i=t.__pictorialBundle,o=t.__pictorialMainPath;o?Wz(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,r):(o=t.__pictorialMainPath=Pz(n),i.add(o),Wz(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,r))}function Ez(t,e,n){var r=N({},e.barRectShape),i=t.__pictorialBarRect;i?Wz(i,null,{shape:r},e,n):((i=t.__pictorialBarRect=new Lu({z2:2,shape:r,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,t.add(i))}function Lz(t,e,n,r){if(n.symbolClip){var i=t.__pictorialClipPath,o=N({},n.clipShape),a=e.valueDim,s=n.animationModel,l=n.dataIndex;if(i)Eh(i,{shape:o},s,l);else{o[a.wh]=0,i=new Lu({shape:o}),t.__pictorialBundle.setClipPath(i),t.__pictorialClipPath=i;var u={};u[a.wh]=n.clipShape[a.wh],_f[r?"updateProps":"initProps"](i,{shape:u},s,l)}}}function Nz(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=Rz,n.isAnimationEnabled=Fz,n}function Rz(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function Fz(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function Bz(t,e,n,r){var i=new Bo,o=new Bo;return i.add(o),i.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?kz(i,e,n):$z(i,e,n),Ez(i,n,r),Lz(i,e,n,r),i.__pictorialShapeStr=Vz(t,n),i.__pictorialSymbolMeta=n,i}function jz(t,e,n){var r=n.animationModel,i=n.dataIndex;Eh(t.__pictorialBundle,{x:n.bundlePosition[0],y:n.bundlePosition[1]},r,i),n.symbolRepeat?kz(t,e,n,!0):$z(t,e,n,!0),Ez(t,n,!0),Lz(t,e,n,!0)}function zz(t,e,n,r){var i=r.__pictorialBarRect;i&&i.removeTextContent();var o=[];Hz(r,(function(t){o.push(t)})),r.__pictorialMainPath&&o.push(r.__pictorialMainPath),r.__pictorialClipPath&&(n=null),H(o,(function(t){Rh(t,{scaleX:0,scaleY:0},n,e,(function(){r.parent&&r.parent.remove(r)}))})),t.setItemGraphicEl(e,null)}function Vz(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function Hz(t,e,n){H(t.__pictorialBundle.children(),(function(r){r!==t.__pictorialBarRect&&e.call(n,r)}))}function Wz(t,e,n,r,i,o){e&&t.attr(e),r.symbolClip&&!i?n&&t.attr(n):n&&_f[i?"updateProps":"initProps"](t,n,r.animationModel,r.dataIndex,o)}function Gz(t,e,n){var r=n.dataIndex,i=n.itemModel,o=i.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),s=i.getModel(["blur","itemStyle"]).getItemStyle(),l=i.getModel(["select","itemStyle"]).getItemStyle(),u=i.getShallow("cursor"),c=o.get("focus"),d=o.get("blurScope"),h=o.get("scale");Hz(t,(function(t){if(t instanceof Du){var e=t.style;t.useStyle(N({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var r=t.ensureState("emphasis");r.style=a,h&&(r.scaleX=1.1*t.scaleX,r.scaleY=1.1*t.scaleY),t.ensureState("blur").style=s,t.ensureState("select").style=l,u&&(t.cursor=u),t.z2=n.z2}));var f=e.valueDim.posDesc[+(n.boundingLength>0)],p=t.__pictorialBarRect;p.ignoreClip=!0,If(p,Af(i),{labelFetcher:e.seriesModel,labelDataIndex:r,defaultText:CT(e.seriesModel.getData(),r),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:f}),ed(t,c,d,o.get("disabled"))}function Yz(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var Uz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return i(e,t),e.prototype.getInitialData=function(e){return e.stack=null,t.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=tp(SC.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}(SC);function Zz(t){t.registerChartView(Mz),t.registerSeriesModel(Uz),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,K(hM,"pictorialBar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,fM("pictorialBar"))}var Xz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._layers=[],n}return i(e,t),e.prototype.render=function(t,e,n){var r=t.getData(),i=this,o=this.group,a=t.getLayerSeries(),s=r.getLayout("layoutInfo"),l=s.rect,u=s.boundaryGap;function c(t){return t.name}o.x=0,o.y=l.y+u[0];var d=new Ww(this._layersSeries||[],a,c,c),h=[];function f(e,n,s){var l=i._layers;if("remove"!==e){for(var u,c,d=[],f=[],p=a[n].indices,g=0;g<p.length;g++){var y=r.getItemLayout(p[g]),m=y.x,v=y.y0,b=y.y;d.push(m,v),f.push(m,v+b),u=r.getItemVisual(p[g],"style")}var x=r.getItemLayout(p[0]),_=t.getModel("label").get("margin"),w=t.getModel("emphasis");if("add"===e){var S=h[n]=new Bo;c=new XT({shape:{points:d,stackedOnPoints:f,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),S.add(c),o.add(S),t.isAnimationEnabled()&&c.setClipPath(qz(c.getBoundingRect(),t,(function(){c.removeClipPath()})))}else S=l[s],c=S.childAt(0),o.add(S),h[n]=S,Eh(c,{shape:{points:d,stackedOnPoints:f}},t),jh(c);If(c,Af(t),{labelDataIndex:p[g-1],defaultText:r.getName(p[g-1]),inheritColor:u.fill},{normal:{verticalAlign:"middle"}}),c.setTextConfig({position:null,local:!0});var M=c.getTextContent();M&&(M.x=x.x-_,M.y=x.y0+x.y/2),c.useStyle(u),r.setItemGraphicEl(n,c),od(c,t),ed(c,w.get("focus"),w.get("blurScope"),w.get("disabled"))}else o.remove(l[n])}d.add(q(f,this,"add")).update(q(f,this,"update")).remove(q(f,this,"remove")).execute(),this._layersSeries=a,this._layers=h},e.type="themeRiver",e}(Zv);function qz(t,e,n){var r=new Lu({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return Lh(r,{shape:{x:t.x-50,width:t.width+100,height:t.height+20}},e,n),r}var Kz=2,Jz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new bO(q(this.getData,this),q(this.getRawData,this))},e.prototype.fixData=function(t){var e=t.length,n={},r=Ss(t,(function(t){return n.hasOwnProperty(t[0]+"")||(n[t[0]+""]=-1),t[2]})),i=[];r.buckets.each((function(t,e){i.push({name:e,dataList:t})}));for(var o=i.length,a=0;a<o;++a){for(var s=i[a].name,l=0;l<i[a].dataList.length;++l){var u=i[a].dataList[l][0]+"";n[u]=a}for(var u in n)n.hasOwnProperty(u)&&n[u]!==a&&(n[u]=a,t[e]=[u,0,s],e++)}return t},e.prototype.getInitialData=function(t,e){for(var n=this.getReferringComponents("singleAxis",ms).models[0].get("type"),r=Y(t.data,(function(t){return void 0!==t[2]})),i=this.fixData(r||[]),o=[],a=this.nameMap=It(),s=0,l=0;l<i.length;++l)o.push(i[l][Kz]),a.get(i[l][Kz])||(a.set(i[l][Kz],s),s++);var u=xS(i,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:Zw(n)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,c=new vS(u,this);return c.initData(i),c},e.prototype.getLayerSeries=function(){for(var t=this.getData(),e=t.count(),n=[],r=0;r<e;++r)n[r]=r;var i=t.mapDimension("single"),o=Ss(n,(function(e){return t.get("name",e)})),a=[];return o.buckets.each((function(e,n){e.sort((function(e,n){return t.get(i,e)-t.get(i,n)})),a.push({name:n,indices:e})})),a},e.prototype.getAxisTooltipData=function(t,e,n){J(t)||(t=t?[t]:[]);for(var r,i=this.getData(),o=this.getLayerSeries(),a=[],s=o.length,l=0;l<s;++l){for(var u=Number.MAX_VALUE,c=-1,d=o[l].indices.length,h=0;h<d;++h){var f=i.get(t[0],o[l].indices[h]),p=Math.abs(f-e);p<=u&&(r=f,u=p,c=o[l].indices[h])}a.push(c)}return{dataIndices:a,nestestValue:r}},e.prototype.formatTooltip=function(t,e,n){var r=this.getData();return pv("nameValue",{name:r.getName(t),value:r.get(r.mapDimension("value"),t)})},e.type="series.themeRiver",e.dependencies=["singleAxis"],e.defaultOption={z:2,colorBy:"data",coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},e}(Lv);function Qz(t,e){t.eachSeriesByType("themeRiver",(function(t){var e=t.getData(),n=t.coordinateSystem,r={},i=n.getRect();r.rect=i;var o=t.get("boundaryGap"),a=n.getAxis();r.boundaryGap=o,"horizontal"===a.orient?(o[0]=oa(o[0],i.height),o[1]=oa(o[1],i.height),tV(e,t,i.height-o[0]-o[1])):(o[0]=oa(o[0],i.width),o[1]=oa(o[1],i.width),tV(e,t,i.width-o[0]-o[1])),e.setLayout("layoutInfo",r)}))}function tV(t,e,n){if(t.count())for(var r,i=e.coordinateSystem,o=e.getLayerSeries(),a=t.mapDimension("single"),s=t.mapDimension("value"),l=W(o,(function(e){return W(e.indices,(function(e){var n=i.dataToPoint(t.get(a,e));return n[1]=t.get(s,e),n}))})),u=eV(l),c=u.y0,d=n/u.max,h=o.length,f=o[0].indices.length,p=0;p<f;++p){r=c[p]*d,t.setItemLayout(o[0].indices[p],{layerIndex:0,x:l[0][p][0],y0:r,y:l[0][p][1]*d});for(var g=1;g<h;++g)r+=l[g-1][p][1]*d,t.setItemLayout(o[g].indices[p],{layerIndex:g,x:l[g][p][0],y0:r,y:l[g][p][1]*d})}}function eV(t){for(var e=t.length,n=t[0].length,r=[],i=[],o=0,a=0;a<n;++a){for(var s=0,l=0;l<e;++l)s+=t[l][a][1];s>o&&(o=s),r.push(s)}for(var u=0;u<n;++u)i[u]=(o-r[u])/2;o=0;for(var c=0;c<n;++c){var d=r[c]+i[c];d>o&&(o=d)}return{y0:i,max:o}}function nV(t){t.registerChartView(Xz),t.registerSeriesModel(Jz),t.registerLayout(Qz),t.registerProcessor(uO("themeRiver"))}var rV=2,iV=4,oV=function(t){function e(e,n,r,i){var o=t.call(this)||this;o.z2=rV,o.textConfig={inside:!0},Qu(o).seriesIndex=n.seriesIndex;var a=new Bu({z2:iV,silent:e.getModel().get(["label","silent"])});return o.setTextContent(a),o.updateData(!0,e,n,r,i),o}return i(e,t),e.prototype.updateData=function(t,e,n,r,i){this.node=e,e.piece=this,n=n||this._seriesModel,r=r||this._ecModel;var o=this;Qu(o).dataIndex=e.dataIndex;var a=e.getModel(),s=a.getModel("emphasis"),l=e.getLayout(),u=N({},l);u.label=null;var c=e.getVisual("style");c.lineJoin="bevel";var d=e.getVisual("decal");d&&(c.decal=Jx(d,i));var h=PC(a.getModel("itemStyle"),u,!0);N(u,h),H(lc,(function(t){var e=o.ensureState(t),n=a.getModel([t,"itemStyle"]);e.style=n.getItemStyle();var r=PC(n,u);r&&(e.shape=r)})),t?(o.setShape(u),o.shape.r=l.r0,Lh(o,{shape:{r:l.r}},n,e.dataIndex)):(Eh(o,{shape:u},n),jh(o)),o.useStyle(c),this._updateLabel(n);var f=a.getShallow("cursor");f&&o.attr("cursor",f),this._seriesModel=n||this._seriesModel,this._ecModel=r||this._ecModel;var p=s.get("focus");ed(this,"ancestor"===p?e.getAncestorsIndices():"descendant"===p?e.getDescendantIndices():p,s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t){var e=this,n=this.node.getModel(),r=n.getModel("label"),i=this.node.getLayout(),o=i.endAngle-i.startAngle,a=(i.startAngle+i.endAngle)/2,s=Math.cos(a),l=Math.sin(a),u=this,c=u.getTextContent(),d=this.node.dataIndex,h=r.get("minA
33ngle")/180*Math.PI,f=r.get("show")&&!(null!=h&&Math.abs(o)<h);function p(t,e){var n=t.get(e);return null==n?r.get(e):n}c.ignore=!f,H(uc,(function(r){var h="normal"===r?n.getModel("label"):n.getModel([r,"label"]),f="normal"===r,g=f?c:c.ensureState(r),y=t.getFormattedLabel(d,r);f&&(y=y||e.node.name),g.style=Df(h,{},null,"normal"!==r,!0),y&&(g.style.text=y);var m=h.get("show");null==m||f||(g.ignore=!m);var v,b=p(h,"position"),x=f?u:u.states[r],_=x.style.fill;x.textConfig={outsideFill:"inherit"===h.get("color")?_:null,inside:"outside"!==b};var w=p(h,"distance")||0,S=p(h,"align"),M=p(h,"rotate"),I=.5*Math.PI,A=1.5*Math.PI,D=eu("tangential"===M?Math.PI/2-a:a),T=D>I&&!ya(D-I)&&D<A;"outside"===b?(v=i.r+w,S=T?"right":"left"):S&&"center"!==S?"left"===S?(v=i.r0+w,S=T?"right":"left"):"right"===S&&(v=i.r-w,S=T?"left":"right"):(v=o===2*Math.PI&&0===i.r0?0:(i.r+i.r0)/2,S="center"),g.style.align=S,g.style.verticalAlign=p(h,"verticalAlign")||"middle",g.x=v*s+i.cx,g.y=v*l+i.cy;var C=0;"radial"===M?C=eu(-a)+(T?Math.PI:0):"tangential"===M?C=eu(Math.PI/2-a)+(T?Math.PI:0):nt(M)&&(C=M*Math.PI/180),g.rotation=eu(C)})),c.dirtyStyle()},e}(nh),aV="sunburstRootToNode",sV="sunburstHighlight",lV="sunburstUnhighlight";function uV(t){t.registerAction({type:aV,update:"updateView"},(function(t,e){function n(e,n){var r=IE(t,[aV],e);if(r){var i=e.getViewRoot();i&&(t.direction=DE(i,r.node)?"rollUp":"drillDown"),e.resetViewRoot(r.node)}}e.eachComponent({mainType:"series",subType:"sunburst",query:t},n)})),t.registerAction({type:sV,update:"none"},(function(t,e,n){function r(e){var n=IE(t,[sV],e);
vendor: 4,370 bytes, line 33
33n&&(t.dataIndex=n.node.dataIndex)}t=N({},t),e.eachComponent({mainType:"series",subType:"sunburst",query:t},r),Ra("sunburstHighlight","highlight"),n.dispatchAction(N(t,{type:"highlight"}))})),t.registerAction({type:lV,update:"updateView"},(function(t,e,n){t=N({},t),Ra("sunburstUnhighlight","downplay"),n.dispatchAction(N(t,{type:"downplay"}))}))}var cV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n,r){var i=this;this.seriesModel=t,this.api=n,this.ecModel=e;var o=t.getData(),a=o.tree.root,s=t.getViewRoot(),l=this.group,u=t.get("renderLabelForZeroData"),c=[];s.eachNode((function(t){c.push(t)}));var d=this._oldChildren||[];function h(t,e){function n(t){return t.getId()}function r(n,r){f(null==n?null:t[n],null==r?null:e[r])}0===t.length&&0===e.length||new Ww(e,t,n,n).add(r).update(r).remove(K(r,null)).execute()}function f(r,i){if(u||!r||r.getValue()||(r=null),r!==a&&i!==a)if(i&&i.piece)r?(i.piece.updateData(!1,r,t,e,n),o.setItemGraphicEl(r.dataIndex,i.piece)):p(i);else if(r){var s=new oV(r,t,e,n);l.add(s),o.setItemGraphicEl(r.dataIndex,s)}}function p(t){t&&t.piece&&(l.remove(t.piece),t.piece=null)}function g(r,o){o.depth>0?(i.virtualPiece?i.virtualPiece.updateData(!1,r,t,e,n):(i.virtualPiece=new oV(r,t,e,n),l.add(i.virtualPiece)),o.piece.off("click"),i.virtualPiece.on("click",(function(t){i._rootToNode(o.parentNode)}))):i.virtualPiece&&(l.remove(i.virtualPiece),i.virtualPiece=null)}h(c,d),g(a,s),this._initEvents(),this._oldChildren=c},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",(function(e){var n=!1;t.seriesModel.getViewRoot().eachNode((function(r){if(!n&&r.piece&&r.piece===e.target){var i=r.getModel().get("nodeClick");if("rootToNode"===i)t._rootToNode(r);else if("link"===i){var o=r.getModel(),a=o.get("link");a&&ig(a,o.get("target",!0)||"_blank")}n=!0}}))}))},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:aV,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var r=t[0]-n.cx,i=t[1]-n.cy,o=Math.sqrt(r*r+i*i);return o<=n.r&&o>=n.r0}},e.type="sunburst",e}(Zv),dV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreStyleOnData=!0,n}return i(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};hV(n);var r=this._levelModels=W(t.levels||[],(function(t){return new Xf(t,this,e)}),this),i=SE.createTree(n,this,o);function o(t){t.wrapMethod("getItemModel",(function(t,e){var n=i.getNodeByDataIndex(e),o=r[n.depth];return o&&(t.parentModel=o),t}))}return i.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=TE(r,this),n},e.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){BE(this)},e.type="series.sunburst",e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},e}(Lv);function hV(t){var e=0;H(t.children,(function(t){hV(t);var n=t.value;J(n)&&(n=n[0]),e+=n}));var n=t.value;J(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),J(t.value)?t.value[0]=n:t.value=n}var fV=Math.PI/180;function pV(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.get("center"),r=t.get("radius");J(r)||(r=[0,r]),J(e)||(e=[e,e]);var i=n.getWidth(),o=n.getHeight(),a=Math.min(i,o),s=oa(e[0],i),l=oa(e[1],o),u=o
vendor: 6,076 bytes, line 33
33a(r[0],a/2),c=oa(r[1],a/2),d=-t.get("startAngle")*fV,h=t.get("minAngle")*fV,f=t.getData().tree.root,p=t.getViewRoot(),g=p.depth,y=t.get("sort");null!=y&&gV(p,y);var m=0;H(p.children,(function(t){!isNaN(t.getValue())&&m++}));var v=p.getValue(),b=Math.PI/(v||m)*2,x=p.depth>0,_=p.height-(x?-1:1),w=(c-u)/(_||1),S=t.get("clockwise"),M=t.get("stillShowZeroSum"),I=S?1:-1,A=function(e,n){if(e){var r=n;if(e!==f){var i=e.getValue(),o=0===v&&M?b:i*b;o<h&&(o=h),r=n+I*o;var c=e.depth-g-(x?-1:1),d=u+w*c,p=u+w*(c+1),y=t.getLevelModel(e);if(y){var m=y.get("r0",!0),_=y.get("r",!0),D=y.get("radius",!0);null!=D&&(m=D[0],_=D[1]),null!=m&&(d=oa(m,a/2)),null!=_&&(p=oa(_,a/2))}e.setLayout({angle:o,startAngle:n,endAngle:r,clockwise:S,cx:s,cy:l,r0:d,r:p})}if(e.children&&e.children.length){var T=0;H(e.children,(function(t){T+=A(t,n+T)}))}return r-n}};if(x){var D=u,T=u+w,C=2*Math.PI;f.setLayout({angle:C,startAngle:d,endAngle:d+C,clockwise:S,cx:s,cy:l,r0:D,r:T})}A(p,d)}))}function gV(t,e){var n=t.children||[];t.children=yV(n,e),n.length&&H(t.children,(function(t){gV(t,e)}))}function yV(t,e){if(Q(e)){var n=W(t,(function(t,e){var n=t.getValue();return{params:{depth:t.depth,height:t.height,dataIndex:t.dataIndex,getValue:function(){return n}},index:e}}));return n.sort((function(t,n){return e(t.params,n.params)})),W(n,(function(e){return t[e.index]}))}var r="asc"===e;return t.sort((function(t,e){var n=(t.getValue()-e.getValue())*(r?1:-1);return 0===n?(t.dataIndex-e.dataIndex)*(r?-1:1):n}))}function mV(t){var e={};function n(t,n,r){for(var i=t;i&&i.depth>1;)i=i.parentNode;var o=n.getColorFromPalette(i.name||i.dataIndex+"",e);return t.depth>1&&tt(o)&&(o=Dr(o,(t.depth-1)/(r-1)*.5)),o}t.eachSeriesByType("sunburst",(function(t){var e=t.getData(),r=e.tree;r.eachNode((function(i){var o=i.getModel().getModel("itemStyle").getItemStyle();o.fill||(o.fill=n(i,t,r.root.height)),N(e.ensureUniqueItemVisual(i.dataIndex,"style"),o)}))}))}function vV(t){t.registerChartView(cV),t.registerSeriesModel(dV),t.registerLayout(K(pV,"sunburst")),t.registerProcessor(K(uO,"sunburst")),t.registerVisual(mV),uV(t)}var bV={color:"fill",borderColor:"stroke"},xV={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},_V=fs(),wV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,e){return ES(null,this)},e.prototype.getDataParams=function(e,n,r){var i=t.prototype.getDataParams.call(this,e,n);return r&&(i.info=_V(r).info),i},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(Lv);function SV(t,e){return e=e||[0,0],W(["x","y"],(function(n,r){var i=this.getAxis(n),o=e[r],a=t[r]/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(o-a)-i.dataToCoord(o+a))}),this)}function MV(t){var e=t.master.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:q(SV,t)}}}function IV(t,e){return e=e||[0,0],W([0,1],(function(n){var r=e[n],i=t[n]/2,o=[],a=[];return o[n]=r-i,a[n]=r+i,o[1-n]=a[1-n]=e[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function AV(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:q(IV,t)}}}function DV(t,e){var n=this.getAxis(),r=e instanceof Array?e[0]:e,i=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(r-i)-n.dataToCoord(r+i))}function TV(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:q(DV,t)}}}function CV(t,e){return e=e||[0,0],W(["Radius","Angle"],(function(n,r){var i=this["get"+n+"Axis"](),o=e[r],a=t[r]/2,s="category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(o-a)-i.dataToCoord(o+a));return"Angle"===n&&(s=s*Math.PI/180),s}),this)}function OV(t){var e=t.getRadiusAxis(),n=t.getAngleAxis(),r=e.getExtent();return r[0]>r[1]&&r.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:r[1],r0:r[0]},api:{coord:function(r){var i=e.dataToRadius(r[0]),o=n.dataToAngle(r[1]),a=t.coordToPoint([i,o]);return a.push(i,o*Math.PI/180),a},size:q(CV,t)}}}function PV(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}var kV={};function $V(t,e,n,r){return t&&(t.legacy||!1!==t.legacy&&!n&&!r&&"tspan"!==e&&("text"===e||Ct(t,"text")))}function EV(t,e,n){var r,i,o,a=t;if("text"===e)o=a;else{o={},Ct(a,"text")&&(o.text=a.text),Ct(a,"rich")&&(o.rich=a.rich),Ct(a,"textFill")&&(o.fill=a.textFill),Ct(a,"textStroke")&&(o.stroke=a.textStroke),Ct(a,"fontFamily")&&(o.fontFamily=a.fontFamily),Ct(a,"fontSize")&&(o.fontSize=a.fontSize),Ct(a,"fontStyle")&&(o.fontStyle=a.fontStyle),Ct(a,"fontWeight")&&(o.fontWeight=a.fontWeight),i={type:"text",style:o,silent:!0},r={};var s=Ct(a,"textPosition");n?r.position=s?a.textPosition:"inside":s&&(r.position=a.textPosition),Ct(a,"textPosition")&&(r.position=a.textPosition),Ct(a,"textOffset")&&(r.offset=a.textOffset),Ct(a,"textRotation")&&(r.rotation=a.textRotation),Ct(a,"textDistance")&&(r.distance=a.textDistance)}return LV(o,t),H(o.rich,(function(t){LV(t,t)})),{textConfig:r,textContent:i}}function LV(t,e){e&&(e.font=e.textFont||e.font,Ct(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),Ct(e,"textAlign")&&(t.align=e.textAlign),Ct(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),Ct(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),Ct(e,"textWidth")&&(t.width=e.textWidth),Ct(e,"textHeight")&&(t.height=e.textHeight),Ct(e,"textBackgroun
33dColor")&&(t.backgroundColor=e.textBackgroundColor),Ct(e,"textPadding")&&(t.padding=e.textPadding),Ct(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),Ct(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),Ct(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),Ct(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),Ct(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),Ct(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),Ct(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function NV(t,e,n){var r=t;r.textPosition=r.textPosition||n.position||"inside",null!=n.offset&&(r.textOffset=n.offset),null!=n.rotation&&(r.textRotation=n.rotation),null!=n.distance&&(r.textDistance=n.distance);var i=r.textPosition.indexOf("inside")>=0,o=t.fill||"#000";RV(r,e);var a=null==r.textFill;return i?a&&(r.textFill=n.insideFill||"#fff",!r.textStroke&&n.insideStroke&&(r.textStroke=n.insideStroke),!r.textStroke&&(r.textStroke=o),null==r.textStrokeWidth&&(r.textStrokeWidth=2)):(a&&(r.textFill=t.fill||n.outsideFill||"#000"),!r.textStroke&&n.outsideStroke&&(r.textStroke=n.outsideStroke)),r.text=e.text,r.rich=e.rich,H(e.rich,(function(t){RV(t,t)})),r}function RV(t,e){e&&(Ct(e,"fill")&&(t.textFill=e.fill),Ct(e,"stroke")&&(t.textStroke=e.fill),Ct(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),Ct(e,"font")&&(t.font=e.font),Ct(e,"fontStyle")&&(t.fontStyle=e.fontStyle),Ct(e,"fontWeight")&&(t.fontWeight=e.fontWeight),Ct(e,"fontSize")&&(t.fontSize=e.fontSize),Ct(e,"fontFamily")&&(t.fontFamily=e.fontFamily),Ct(e,"align")&&(t.textAlign=e.align),Ct(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),Ct(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),Ct(e,"width")&&(t.textWidth=e.width),Ct(e,"height")&&(t.textHeight=e.height),Ct(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),Ct(e,"padding")&&(t.textPadding=e.padding),Ct(e,"borderColor")&&(t.textBorderColor=e.borderColor),Ct(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),Ct(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),Ct(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),Ct(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),Ct(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),Ct(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),Ct(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),Ct(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),Ct(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),Ct(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}function FV(t,e){var n=t+"^_^"+e;kV[n]||(console.warn('[ECharts] DEPRECATED: "'+t+'" has been deprecated. '+e),kV[n]=!0)}var BV={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},jV=Z(BV),zV=G(go,(function(t,e){return t[e]=1,t}),{}),VV=go.join(", "),HV=["","style","shape","extra"],WV=fs();function GV(t,e,n,r,i){var o=t+"Animation",a=kh(t,r,i)||{},s=WV(e).userDuring;return a.duration>0&&(a.during=s?q(rH,{el:e,userDuring:s}):null,a.setToFinal=!0,a.scope=t),N(a,n[o]),a}function YV(t,e,n,r){var i=(r=r||{}).dataIndex,o=r.isInit,a=r.clearStyle,s=n.isAnimationEnabled(),l=WV(t),u=e.style;l.userDuring=e.during;var c={},d={};if(sH(t,e,d),oH("shape",e,d),oH("extra",e,d),!o&&s&&(aH(t,e,c),iH("shape",t,e,c),iH("extra",t,e,c),lH(t,e,u,c)),d.style=u,qV(t,d,a),JV(t,e),s)if(o){var h={};H(HV,(function(t){var n=t?e[t]:e;n&&n.enterFrom&&(t&&(h[t]=h[t]||{}),N(t?h[t]:h,n.enterFrom))}));var f=GV("enter",t,e,n,i);f.duration>0&&t.animateFrom(h,f)}else KV(t,e,i||0,n,c);UV(t,e),u?t.dirty():t.markRedraw()}function UV(t,e){for(var n=WV(t).leaveToProps,r=0;r<HV.length;r++){var i=HV[r],o=i?e[i]:e;o&&o.leaveTo&&(n||(n=WV(t).leaveToProps={}),i&&(n[i]=n[i]||{}),N(i?n[i]:n,o.leaveTo))}}function ZV(t,e,n,r){if(t){var i=t.parent,o=WV(t).leaveToProps;if(o){var a=GV("update",t,e,n,0);a.done=function(){i.remove(t),r&&r()},t.animateTo(o,a)}else i.remove(t),r&&r()}}function XV(t){return"all"===t}function qV(t,e,n){var r=e.style;if(!t.isGroup&&r){if(n){t.useStyle({});for(var i=t.animators,o=0;o<i.length;o++){var a=i[o];"style"===a.targetName&&a.changeTarget(t.style)}}t.setStyle(r)}e&&(e.style=null,e&&t.attr(e),e.style=r)}function KV(t,e,n,r,i){if(i){var o=GV("update",t,e,r,n);o.duration>0&&t.animateFrom(i,o)}}function JV(t,e){Ct(e,"silent")&&(t.silent=e.silent),Ct(e,"ignore")&&(t.ignore=e.ignore),t instanceof fl&&Ct(e,"invisible")&&(t.invisible=e.invisible),t instanceof _u&&Ct(e,"autoBatch")&&(t.autoBatch=e.autoBatch)}var QV,tH={},eH={setTransform:function(t,e){return yt(Ct(zV,t),"Only "+VV+" available in `setTransform`."),tH.el[t]=e,this},getTransform:function(t){return yt(Ct(zV,t),"Only "+VV+" available in `getTransform`."),tH.el[t]},setShape:function(t,e){nH(t);var n=tH.el;return(n.shape||(n.shape={}))[t]=e,n.dirtyShape&&n.dirtyShape(),this},getShape:function(t){nH(t);var e=tH.el.shape;if(e)return e[t]},setStyle:function(t,e){nH(t);var n=tH.el,r=n.style;return r&&(ct(e)&&Ea("style."+t+" must not be assigned with NaN."),r[t]=e,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(t){nH(t);var e=tH.el.style;if(e)return e[t]},setExtra:function(t,e){return nH(t),(tH.el.extra||(tH.el.extra={}))[t]=e,this},getExtra:function(t){nH(t);var e=tH.el.extra;if(e)return e[t]}};function nH(t){if("transition"===t||"enterFrom"===t||"leaveTo"===t)throw new Error('key must not be "'+t+'"')}function rH(){var t=this,e=t.el;if(e){var n=WV(e).userDuring,r=t.userDuring;n===r?(tH.el=e,r(eH)):t.el=t.userDuring=null}}function iH(t,e,n,r){var i=n[t];if(i){var o,a=e[t];if(a){var s=n.transition,l=i.transition;if(l)if(!o&&(o=r[t]={}),XV(l))N(o,a);else for(var u=Ha(l),c=0;c<u.length;c++){var d=a[f=u[c]];o[f]=d}else if(XV(s)||B(s,t)>=0){!o&&(o=r[t]={});var h=Z(a);for(c=0;c<h.length;c++){var f;d=a[f=h[c]],uH(i[f],d)&&(o[f]=d)}}}}}function oH(t,e,n){var r=e[t];if(r)for(var i=n[t]={},o=Z(r),a=0;a<o.length;a++){var s=o[a];i[s]=yi(r[s])}}function aH(t,e,n){for(var r=e.transition,i=XV(r)?go:Ha(r||[]),o=0;o<i.length;o++){var a=i[o];if("style"!==a&&"shape"!==a&&"extra"!==a){var s=t[a];QV(a,"el.transition"),n[a]=s}}}function sH(t,e,n){for(var r=0;r<jV.length;r++){var i=jV[r],o=BV[i],a=e[i];a&&(n[o[0]]=a[0],n[o[1]]=a[1])}for(r=0;r<go.length;r++){var s=go[r];null!=e[s]&&(n[s]=e[s])}}function lH(t,e,n,r){if(n){var i,o=t.style;if(o){var a=n.transition,s=e.transition;if(a&&!XV(a)){var l=Ha(a);!i&&(i=r.style={});for(var u=0;u<l.length;u++){var c=o[p=l[u]];i[p]=c}}else if(t.getAnimationStyleProps&&(XV(s)||XV(a)||B(s,"style")>=0)){var d=t.getAnimationStyleProps(),h=d?d.style:null;if(h){!i&&(i=r.style={});var f=Z(n);for(u=0;
vendor: 20,772 bytes, line 33
33u<f.length;u++){var p;h[p=f[u]]&&(c=o[p],i[p]=c)}}}}}}function uH(t,e){return V(t)?t!==e:null!=t&&isFinite(t)}QV=function(t,e){Ct(zV,t)||Ea("Prop `"+t+"` is not a permitted in `"+e+"`. Only `"+Z(zV).join("`, `")+"` are permitted.")};var cH=fs(),dH=["percent","easing","shape","style","extra"];function hH(t){t.stopAnimation("keyframe"),t.attr(cH(t))}function fH(t,e,n){if(n.isAnimationEnabled()&&e)if(J(e))H(e,(function(e){fH(t,e,n)}));else{var r=e.keyframes,i=e.duration;if(n&&null==i){var o=kh("enter",n,0);i=o&&o.duration}if(r&&i){var a=cH(t);H(HV,(function(n){if(!n||t[n]){var o,s=!1;r.sort((function(t,e){return t.percent-e.percent})),H(r,(function(r){var l=t.animators,u=n?r[n]:r;if(r.percent>=1&&(s=!0),u){var c=Z(u);if(n||(c=Y(c,(function(t){return B(dH,t)<0}))),c.length){o||((o=t.animate(n,e.loop,!0)).scope="keyframe");for(var d=0;d<l.length;d++)l[d]!==o&&l[d].targetName===o.targetName&&l[d].stopTracks(c);n&&(a[n]=a[n]||{});var h=n?a[n]:a;H(c,(function(e){h[e]=((n?t[n]:t)||{})[e]})),o.whenWithKeys(i*r.percent,u,c,r.easing)}}})),o&&(s||Ea("End frame with percent: 1 is missing in the keyframeAnimation.",!0),o.delay(e.delay||0).duration(i).start(e.easing))}}))}}}var pH="emphasis",gH="normal",yH="blur",mH="select",vH=[gH,pH,yH,mH],bH={normal:["itemStyle"],emphasis:[pH,"itemStyle"],blur:[yH,"itemStyle"],select:[mH,"itemStyle"]},xH={normal:["label"],emphasis:[pH,"label"],blur:[yH,"label"],select:[mH,"label"]},_H=["x","y"],wH="e\0\0",SH={normal:{},emphasis:{},blur:{},select:{}},MH={cartesian2d:MV,geo:AV,single:TV,polar:OV,calendar:PV};function IH(t){return t instanceof _u}function AH(t){return t instanceof fl}function DH(t,e){e.copyTransform(t),AH(e)&&AH(t)&&(e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel,e.invisible=t.invisible,e.ignore=t.ignore,IH(e)&&IH(t)&&e.setShape(t.shape))}var TH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n,r){this._progressiveEls=null;var i=this._data,o=t.getData(),a=this.group,s=EH(t,o,e,n);i||a.removeAll(),o.diff(i).add((function(e){NH(n,null,e,s(e,r),t,a,o)})).remove((function(e){var n=i.getItemGraphicEl(e);n&&ZV(n,_V(n).option,t)})).update((function(e,l){var u=i.getItemGraphicEl(l);NH(n,u,e,s(e,r),t,a,o)})).execute();var l=t.get("clip",!0)?JT(t.coordinateSystem,!1,t):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(t,e,n,r,i){var o=e.getData(),a=EH(e,o,n,r),s=this._progressiveEls=[];function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var u=t.start;u<t.end;u++){var c=NH(null,null,u,a(u,i),e,this.group,o);c&&(c.traverse(l),s.push(c))}},e.prototype.eachRendered=function(t){xf(this._progressiveEls||this.group,t)},e.prototype.filterForExposedEvent=function(t,e,n,r){var i=e.element;if(null==i||n.name===i)return!0;for(;(n=n.__hostTarget||n.parent)&&n!==this.group;)if(n.name===i)return!0;return!1},e.type="custom",e}(Zv);function CH(t){var e,n=t.type;if("path"===n){var r=t.shape,i=null!=r.width&&null!=r.height?{x:r.x||0,y:r.y||0,width:r.width,height:r.height}:null,o=qH(r);e=qh(o,null,i,r.layout||"center"),_V(e).customPathData=o}else if("image"===n)e=new Du({}),_V(e).customImagePath=t.style.image;else if("text"===n)e=new Bu({});else if("group"===n)e=new Bo;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var a=Xh(n);a||Ba('graphic type "'+n+'" can not be found.'),e=new a}return _V(e).customGraphicType=n,e.name=t.name,e.z2EmphasisLift=1,e.z2SelectLift=1,e}function OH(t,e,n,r,i,o,a){hH(e);var s=i&&i.normal.cfg;s&&e.setTextConfig(s),r&&null==r.transition&&(r.transition=_H);var l=r&&r.style;if(l){if("text"===e.type){var u=l;Ct(u,"textFill")&&(u.fill=u.textFill),Ct(u,"textStroke")&&(u.stroke=u.textStroke)}var c=void 0,d=IH(e)?l.decal:null;t&&d&&(d.dirty=!0,c=Jx(d,t)),l.__decalPattern=c}AH(e)&&l&&(c=l.__decalPattern)&&(l.decal=c),YV(e,r,o,{dataIndex:n,isInit:a,clearStyle:!0}),fH(e,r.keyframeAnimation,o)}function PH(t,e,n,r,i){var o=e.isGroup?null:e,a=i&&i[t].cfg;if(o){var s=o.ensureState(t);if(!1===r){var l=o.getState(t);l&&(l.style=null)}else s.style=r||null;a&&(s.textConfig=a),$c(o)}}function kH(t,e,n){if(!t.isGroup){var r=t,i=n.currentZ,o=n.currentZLevel;r.z=i,r.zlevel=o;var a=e.z2;null!=a&&(r.z2=a||0);for(var s=0;s<vH.length;s++)$H(r,e,vH[s])}}function $H(t,e,n){var r=n===gH,i=r?e:VH(e,n),o=i?i.z2:null;null!=o&&((r?t:t.ensureState(n)).z2=o||0)}function EH(t,e,n,r){var i=t.get("renderItem"),o=t.coordinateSystem,a={};o&&(yt(i,"series.render is required."),yt(o.prepareCustoms||MH[o.type],"This coordSys does not support custom series."),a=o.prepareCustoms?o.prepareCustoms(o):MH[o.type](o));for(var s,l,u=R({getWidth:r.getWidth,getHeight:r.getHeight,getZr:r.getZr,getDevicePixelRatio:r.getDevicePixelRatio,value:x,style:w,ordinalRawValue:_,styleEmphasis:S,visual:A,barLayout:D,currentSeriesIndices:T,font:C},a.api||{}),c={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:a.coordSys,dataInsideLength:e.count(),encode:LH(t.getData())},d={},h={},f={},p={},g=0;g<vH.length;g++){var y=vH[g];f[y]=t.getModel(bH[y]),p[y]=t.getModel(xH[y])}function m(t){return t===s?l||(l=e.getItemModel(t)):e.getItemModel(t)}function v(t,n){return e.hasItemOption?t===s?d[n]||(d[n]=m(t).getModel(bH[n])):m(t).getModel(bH[n]):f[n]}function b(t,n){return e.hasItemOption?t===s?h[n]||(h[n]=m(t).getModel(xH[n])):m(t).getModel(xH[n]):p[n]}return function(t,n){return s=t,l=null,d={},h={},i&&i(R({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:n?n.type:null},c),u)};function x(t,n){return null==n&&(n=s),e.getStore().get(e.getDimensionIndex(t||0),n)}function _(t,n){null==n&&(n=s),t=t||0;var r=e.getDimensionInfo(t);if(!r){var i=e.getDimensionIndex(t);return i>=0?e.getStore().get(i,n):void 0}var o=e.get(r.name,n),a=r&&r.ordinalMeta;return a?a.categories[o]:o}function w(n,r){FV("api.style","Please write literal style directly instead."),null==r&&(r=s);var i=e.getItemVisual(r,"style"),o=i&&i.fill,a=i&&i.opacity,l=v(r,gH).getItemStyle();null!=o&&(l.fill=o),null!=a&&(l.opacity=a);var u={inheritColor:tt(o)?o:"#000"},c=b(r,gH),d=Df(c,null,u,!1,!0);d.text=c.getShallow("show")?ht(t.getFormattedLabel(r,gH),CT(e,r)):null;var h=Tf(c,u,!1);return I(n,l),l=NV(l,d,h),n&&M(l,n),l.legacy=!0,l}function S(n,r){FV("api.styleEmphasis","Please write literal style directly instead."),null==r&&(r=s);var i=v(r,pH).getItemStyle(),o=b(r,pH),a=Df(o,null,null,!0,!0);a.text=o.getShallow("show")?ft(t.getFormattedLabel(r,pH),t.getFormattedLabel(r,gH),CT(e,r)):null;var l=Tf(o,null,!0);return I(n,i),i=NV(i,a,l),n&&M(i,n),i.legacy=!0,i}function M(t,e){for(var n in e)Ct(e,n)&&(t[n]=e[n])}function I(t,e){t&&(t.textFill&&(e.textFill=t.textFill),t.textPosition&&(e.textPosition=t.textPosition))}function A(t,n){if(null==n&&(n=s),Ct(bV,t)){var r=e.getItemVisual(n,"style");return r?r[bV[t]]:null}if(Ct(xV,t))return e.getItemVisual(n,t)}function D(t){if("cartesian2d"===o.type)return aM(R({axis:o.getBaseAxis()},t))}function T(){return n.getCurrentSeriesIndices()}function C(t){return Lf(t,n)}}function LH(t){var e={};return H(t.dimensions,(function(n){var r=t.getDimensionInfo(n);if(!r.isExtraCoord){var i=r.coordDim;(e[i]=e[i]||[])[r.coordDimIndex]=t.getDimensionIndex(n)}})),e}function NH(t,e,n,r,i,o,a){if(r){var s=RH(t,e,n,r,i,o);return s&&a.setItemGraphicEl(n,s),s&&ed(s,r.focus,r.blurScope,r.emphasisDisabled),s}o.remove(e)}function RH(t,e,n,r,i,o){yt(r,"should not have an null/undefined element setting");var a=-1,s=e;e&&FH(e,r,i)&&(a=B(o.childrenRef(),e),e=null);var l=!e,u=e;u?u.clearStates():(u=CH(r),s&&DH(s,u)),!1===r.morph?u.disableMorphing=!0:u.disableMorphing&&(u.disableMorphing=!1),SH.normal.cfg=SH.normal.conOpt=SH.emphasis.cfg=SH.emphasis.conOpt=SH.blur.cfg=SH.blur.conOpt=SH.select.cfg=SH.select.conOpt=null,SH.isLegacy=!1,jH(u,n,r,i,l,SH),BH(u,n,r,i,l),OH(t,u,n,r,SH,i,l),Ct(r,"info")&&(_V(u).info=r.info);for(var c=0;c<vH.length;c++){var d=vH[c];if(d!==gH){var h=VH(r,d);PH(d,u,h,HH(r,h,d),SH)}}return kH(u,r,i),"group"===r.type&&WH(t,u,n,r,i),a>=0?o.replaceAt(u,a):o.add(u),u}function FH(t,e,n){var r=_V(t),i=e.type,o=e.shape,a=e.style;return n.isUniversalTransitionEnabled()||null!=i&&i!==r.customGraphicType||"path"===i&&KH(o)&&qH(o)!==r.customPathData||"image"===i&&Ct(a,"image")&&a.image!==r.customImagePath}function BH(t,e,n,r,i){var o=n.clipPath;if(!1===o)t&&t.getClipPath()&&t.removeClipPath();else if(o){var a=t.getClipPath();a&&FH(a,o,r)&&(a=null),a||(yt(IH(a=CH(o)),"Only any type of `path` can be used in `clipPath`, rather than "+a.type+"."),t.setClipPath(a)),OH(null,a,e,o,null,r,i)}}function jH(t,e,n,r,i,o){if(!t.isGroup){zH(n,null,o),zH(n,pH,o);var a=o.normal.conOpt,s=o.emphasis.conOpt,l=o.blur.conOpt,u=o.select.conOpt;if(null!=a||null!=s||null!=u||null!=l){var c=t.getTextContent();if(!1===a)c&&t.removeTextContent();else{a=o.normal.conOpt=a||{type:"text"},c?c.clearStates():(c=CH(a),t.setTextContent(c)),OH(null,c,e,a,null,r,i);for(var d=a&&a.style,h=0;h<vH.length;h++){var f=vH[h];if(f!==gH){var p=o[f].conOpt;PH(f,c,p,HH(a,p,f),null)}}d?c.dirty():c.markRedraw()}}}}function zH(t,e,n){var r=e?VH(t,e):t,i=e?HH(t,r,pH):t.style,o=t.type,a=r?r.textConfig:null,s=t.textContent,l=s?e?VH(s,e):s:null;if(i&&(n.isLegacy||$V(i,o,!!a,!!l))){n.isLegacy=!0;var u=EV(i,o,!e);!a&&u.textConfig&&(a=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!e&&l){var c=l;!c.type&&(c.type="text"),yt("text"===c.type,'textContent.type must be "text"')}var d=e?n[e]:n.normal;d.cfg=a,d.conOpt=l}function VH(t,e){return e?t?t[e]:null:t}function HH(t,e,n){var r=e&&e.style;return null==r&&n===pH&&t&&(r=t.styleEmphasis),r}function WH(t,e,n,r,i){var o=r.children,a=o?o.length:0,s=r.$mergeChildren,l="byName"===s||r.diffChildrenByName,u=!1===s;if(a||l||u)if(l)YH({api:t,oldChildren:e.children()||[],newChildren:o||[],dataIndex:n,seriesModel:i,group:e});else{u&&e.removeAll();for(var c=0;c<a;c++){var d=o[c],h=e.childAt(c);d?(null==d.ignore&&(d.ignore=!1),RH(t,h,n,d,i,e)):(yt(h,"renderItem should not return a group containing elements as null/undefined/{} if they do not exist before."),h.ignore=!0)}for(var f=e.childCount()-1;f>=c;f--){var p=e.childAt(f);GH(e,p,i)}}}function GH(t,e,n){e&&ZV(e,_V(t).option,n)}function YH(t){new Ww(t.oldChildren,t.newChildren,UH,UH,t).add(ZH).update(ZH).remove(XH).execute()}function UH(t,e){var n=t&&t.name;return null!=n?n:wH+e}function ZH(t,e){var n=this.context,r=null!=t?n.newChildren[t]:null,i=null!=e?n.oldChildren[e]:null;RH(n.api,i,n.dataIndex,r,n.seriesModel,n.group)}function XH(t){var e=this.context,n=e.oldChildren[t];n&&ZV(n,_V(n).option,e.seriesModel)}function qH(t){return t&&(t.pathData||t.d)}function KH(t){return t&&(Ct(t,"pathData")||Ct(t,"d"))}function JH(t){t.registerChartView(TH),t.registerSeriesModel(wV)}var QH=fs(),tW=$,eW=q,nW=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,r){var i=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,r||this._lastValue!==i||this._lastStatus!==o){this._lastValue=i,this._lastStatus=o;var a=this._group,s=this._handle;if(!o||"hide"===o)return a&&a.hide(),void(s&&s.hide());a&&a.show(),s&&s.show();var l={};this.makeElOption(l,i,t,e,n);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var c=this._moveAnimation=this.determineAnimation(t,e);if(a){var d=K(rW,e,c);this.updatePointerEl(a,l,d),this.updateLabelEl(a,l,d,e)}else a=this._group=new Bo,this.createPointerEl(a,l,t,e),this.createLabelEl(a,l,t,e),n.getZr().add(a);sW(a,e,!0),this._renderHandle(i)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),r=t.axis,i="category"===r.type,o=e.get("snap");if(!o&&!i)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(i&&r.getBandWidth()>a)return!0;if(o){var s=_P(t).seriesDataCount,l=r.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,r,i){},t.prototype.createPointerEl=function(t,e,n,r){var i=e.pointer;if(i){var o=QH(t).pointerEl=new _f[i.type](tW(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,r){if(e.label){var i=QH(t).labelEl=new Bu(tW(e.label));t.add(i),oW(i,r)}},t.prototype.updatePointerEl=function(t,e,n){var r=QH(t).pointerEl;r&&e.pointer&&(r.setStyle(e.pointer.style),n(r,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,r){var i=QH(t).labelEl;i&&(i.setStyle(e.label.style),n(i,{x:e.label.x,y:e.label.y}),oW(i,r))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,r=this._api.getZr(),i=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return i&&r.remove(i),void(this._handle=null);this._handle||(e=!0,i=this._handle=ff(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){Pe(t.event)},onmousedown:eW(this._onHandleDragMove,this,0,0),drift:eW(this._onHandleDragMove,this),ondragend:eW(this._onHandleDragEnd,this)}),r.add(i)),sW(i,n,!1),i.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");J(s)||(s=[s,s]),i.scaleX=s[0]/2,i.scaleY=s[1]/2,ib(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){rW(this._axisPointerModel,!e&&this._moveAnimation,this._handle,aW(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var r=this.updateHandleTransform(aW(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=r,n.stopAnimation(),n.attr(aW(r)),QH(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,r=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),r&&e.remove(r),this._group=null,this._handle=null,this._payloadInfo=null),ob(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}();function rW(t,e,n,r){iW(QH(n).lastProp,r)||(QH(n).lastProp=r,e?Eh(n,r,t):(n.stopAnimation(),n.attr(r)))}function iW(t,e){if(rt(t)&&rt(e)){var n=!0;return H(e,(function(e,r){n=n&&iW(t[r],e)})),!!n}return t===e}function oW(t,e){t[e.get(["label","show"])?"show":"hide"]()}function aW(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function sW(t,e,n){var r=e.get("z"),i=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=r&&(t.z=r),null!=i&&(t.zlevel=i),t.silent=n)}))}function lW(t){var e,n=t.get("type"),r=t.getModel(n+"Style");return"line"===n?(e=r.getLineStyle()).fill=null:"shadow"===n&&((e=r.getAreaStyle()).stroke=null),e}function uW(t,e,n,r,i){var o=dW(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),a=n.getModel("label"),s=Zp(a.get("padding")||0),l=a.getFont(),u=xo(o,l),c=i.position,d=u.width+s[1]+s[3],h=u.height+s[0]+s[2],f=i.align;"right"===f&&(c[0]-=d),"center"===f&&(c[0]-=d/2);var p=i.verticalAlign;"bottom"===p&&(c[1]-=h),"middle"===p&&(c[1]-=h/2),cW(c,d,h,r);var g=a.get("backgroundColor");g&&"auto"!==g||(g=e.get(["axisLine","lineStyle","color"])),t.label={x:c[0],y:c[1],style:Df(a,{text:o,font:l,fill:a.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function cW(t,e,n,r){var i=r.getWidth(),o=r.getHeight();t[0]=Math.min(t[0]+e,i)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function dW(t,e,n,r,i){t=e.scale.parse(t);var o=e.scale.getLabel({value:t},{precision:i.precision}),a=i.formatter;if(a){var s={value:XM(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};H(r,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),r=t.dataIndexInside,i=e&&e.getDataParams(r);i&&s.seriesData.push(i)})),tt(a)?o=a.replace("{value}",o):Q(a)&&(o=a(s))}return o}function hW(t,e,n){var r=Re();return Ve(r,r,n.rotation),ze(r,r,n.position),af([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function fW(t,e,n,r,i,o){var a=rP.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=i.get(["label","margin"]),uW(e,r,i,o,{position:hW(r.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function pW(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function gW(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}function yW(t,e,n,r,i,o){return{cx:t,cy:e,r0:n,r:r,startAngle:i,endAngle:o,clockwise:!0}}var mW=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.makeElOption=function(t,e,n,r,i){var o=n.axis,a=o.grid,s=r.get("type"),l=vW(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var c=lW(r),d=bW[s](o,u,l);d.style=c,t.graphicKey=d.type,t.pointer=d}fW(e,t,YO(a.model,n),n,r,i)},e.prototype.getHandleTransform=function(t,e,n){var r=YO(e.axis.grid.model,e,{labelInside:!1});r.labelMargin=n.get(["handle","margin"]);var i=hW(e.axis,t,r);return{x:i[0],y:i[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,r){var i=n.axis,o=i.grid,a=i.getGlobalExtent(!0),s=vW(o,i).getOtherAxis(i).getGlobalExtent(),l="x"===i.dim?0:1,u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var c=(s[1]+s[0])/2,d=[c,c];d[l]=u[l];var h=[{verticalAlign:"middle"},{align:"center"}];return{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:d,tooltipOption:h[l]}},e}(nW);function vW(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var bW={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:pW([e,n[0]],[e,n[1]],xW(t))}},shadow:function(t,e,n){var r=Math.max(1,t.getBandWidth()),i=n[1]-n[0];return{type:"Rect",shape:gW([e-r/2,n[0]],[r,i],xW(t))}}};function xW(t){return"x"===t.dim?0:1}var _W=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(bg),wW=fs(),SW=H;function MW(t,e,n){if(!a.node){var r=e.getZr();wW(r).records||(wW(r).records={}),IW(r,e),(wW(r).records[t]||(wW(r).records[t]={})).handler=n}}function IW(t,e){function n(n,r){t.on(n,(function(n){var i=CW(e);SW(wW(t).records,(function(t){t&&r(t,n,i.dispatchAction)})),AW(i.pendings,e)}))}wW(t).initialized||(wW(t).initialized=!0,n("click",K(TW,"click")),n("mousemove",K(TW,"mousemove")),n("globalout",DW))}function AW(t,e){var n,r=t.showTip.length,i=t.hideTip.length;r?n=t.showTip[r-1]:i&&(n=t.hideTip[i-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}function DW(t,e,n){t.handler("leave",null,n)}function TW(t,e,n,r){e.handler(t,n,r)}function CW(t){var e={showTip:[],hideTip:[]},n=function(r){var i=e[r.type];i?i.push(r):(r.dispatchAction=n,t.dispatchAction(r))};return{dispatchAction:n,pendings:e}}function OW(t,e){if(!a.node){var n=e.getZr();(wW(n).records||{})[t]&&(wW(n).records[t]=null)}}var PW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){var r=e.getComponent("tooltip"),i=t.get("triggerOn")||r&&r.get("triggerOn")||"mousemove|click";MW("axisPointer",n,(function(t,e,n){"none"!==i&&("leave"===t||i.indexOf(t)>
vendor: 7,721 bytes, line 33
33=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){OW("axisPointer",e)},e.prototype.dispose=function(t,e){OW("axisPointer",e)},e.type="axisPointer",e}(Wv);function kW(t,e){var n,r=[],i=t.seriesIndex;if(null==i||!(n=e.getSeriesByIndex(i)))return{point:[]};var o=n.getData(),a=hs(o,t);if(null==a||a<0||J(a))return{point:[]};var s=o.getItemGraphicEl(a),l=n.coordinateSystem;if(n.getTooltipPosition)r=n.getTooltipPosition(a)||[];else if(l&&l.dataToPoint)if(t.isStacked){var u=l.getBaseAxis(),c=l.getOtherAxis(u).dim,d=u.dim,h="x"===c||"radius"===c?1:0,f=o.mapDimension(d),p=[];p[h]=o.get(f,a),p[1-h]=o.get(o.getCalculationInfo("stackResultDimension"),a),r=l.dataToPoint(p)||[]}else r=l.dataToPoint(o.getValues(W(l.dimensions,(function(t){return o.mapDimension(t)})),a))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),r=[g.x+g.width/2,g.y+g.height/2]}return{point:r,el:s}}var $W=fs();function EW(t,e,n){var r=t.currTrigger,i=[t.x,t.y],o=t,a=t.dispatchAction||q(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){WW(i)&&(i=kW({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var l=WW(i),u=o.axesInfo,c=s.axesInfo,d="leave"===r||WW(i),h={},f={},p={list:[],map:{}},g={showPointer:K(RW,f),showTooltip:K(FW,p)};H(s.coordSysMap,(function(t,e){var n=l||t.containPoint(i);H(s.coordSysAxesInfo[e],(function(t,e){var r=t.axis,o=VW(u,t);if(!d&&n&&(!u||o)){var a=o&&o.value;null!=a||l||(a=r.pointToData(i)),null!=a&&LW(t,a,g,!1,h)}}))}));var y={};return H(c,(function(t,e){var n=t.linkGroup;n&&!f[e]&&H(n.axesInfo,(function(e,r){var i=f[r];if(e!==t&&i){var o=i.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,HW(e),HW(t)))),y[t.key]=o}}))})),H(y,(function(t,e){LW(c[e],t,g,!0,h)})),BW(f,c,h),jW(p,i,t,a),zW(c,a,n),h}}function LW(t,e,n,r,i){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var a=NW(e,t),s=a.payloadBatch,l=a.snapToValue;s[0]&&null==i.seriesIndex&&N(i,s[0]),!r&&t.snap&&o.containData(l)&&null!=l&&(e=l),n.showPointer(t,e,s),n.showTooltip(t,a,l)}else n.showPointer(t,e)}function NW(t,e){var n=e.axis,r=n.dim,i=t,o=[],a=Number.MAX_VALUE,s=-1;return H(e.seriesModels,(function(e,l){var u,c,d=e.getData().mapDimensionsAll(r);if(e.getAxisTooltipData){var h=e.getAxisTooltipData(d,t,n);c=h.dataIndices,u=h.nestestValue}else{if(!(c=e.getData().indicesOfNearest(d[0],t,"category"===n.type?.5:null)).length)return;u=e.getData().get(d[0],c[0])}if(null!=u&&isFinite(u)){var f=t-u,p=Math.abs(f);p<=a&&((p<a||f>=0&&s<0)&&(a=p,s=f,i=u,o.length=0),H(c,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:i}}function RW(t,e,n,r){t[e.key]={value:n,payloadBatch:r}}function FW(t,e,n,r){var i=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&i.length){var l=e.coordSys.model,u=MP(l),c=t.map[u];c||(c=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:r,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function BW(t,e,n){var r=n.axesInfo=[];H(e,(function(e,n){var i=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(i.status="show"),i.value=o.value,i.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(i.status="hide"),"show"===i.status&&r.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:i.value})}))}function jW(t,e,n,r){if(!WW(e)&&t.list.length){var i=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:t.list})}else r({type:"hideTip"})}function zW(t,e,n){var r=n.getZr(),i="axisPointerLastHighlights",o=$W(r)[i]||{},a=$W(r)[i]={};H(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&H(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;a[e]=t}))}));var s=[],l=[];H(o,(function(t,e){!a[e]&&l.push(t)})),H(a,(function(t,e){!o[e]&&s.push(t)})),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function VW(t,e){for(var n=0;n<(t||[]).length;n++){var r=t[n];if(e.axis.dim===r.axisDim&&e.axis.model.componentIndex===r.axisIndex)return r}}function HW(t){var e=t.axis.model,n={},r=n.axisDim=t.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=e.componentIndex,n.axisName=n[r+"AxisName"]=e.name,n.axisId=n[r+"AxisId"]=e.id,n}function WW(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function GW(t){AP.registerAxisPointerClass("CartesianAxisPointer",mW),t.registerComponentModel(_W),t.registerComponentView(PW),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!J(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=pP(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},EW)}function YW(t){zw(FP),zw(GW)}var UW=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.makeElOption=function(t,e,n,r,i){var o=n.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=a.getOtherAxis(o).getExtent(),l=o.dataToCoord(e),u=r.get("type");if(u&&"none"!==u){var c=lW(r),d=XW[u](o,a,l,s);d.style=c,t.graphicKey=d.type,t.pointer=d}var h=r.get(["label","margin"]);uW(t,n,r,i,ZW(e,n,r,a,h))},e}(nW);function ZW(t,e,n,r,i){var o=e.axis,a=o.dataToCoord(t),s=r.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,c,d=r.getRadiusAxis().getExtent();if("radius"===o.dim){var h=Re();Ve(h,h,s),ze(h,h,[r.cx,r.cy]),l=af([a,-i],h);var f=e.getModel("axisLabel").get("rotate")||0,p=rP.innerTextLayout(s,f*Math.PI/180,-1);u=p.textAlign,c=p.textVerticalAlign}else{var g=d[1];l=r.coordToPoint([g+i,a]);var y=r.cx,m=r.cy;u=Math.abs(l[0]-y)/g<.3?"center":l[0]>y?"left":"right",c=Math.abs(l[1]-m)/g<.3?"middle":l[1]>m?"top":"bottom"}return{position:l,align:u,verticalAlign:c}}var XW={line:function(t,e,n,r){return"angle"===t.dim?{type:"Line",shape:pW(e.coordToPoint([r[0],n]),e.coordToPoint([r[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,r){var i=Math.max(1,t.getBandWidth()),o=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:yW(e.cx,e.cy,r[0],r[1],(-n-i/2)*o,(i/2-n)*o)}:{type:"Sector",shape:yW(e.cx,e.cy,n-i/2,n+i/2,0,2*Math.PI)}}},qW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.findAxisModel=function(t){var e;return this.ecModel.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},e.type="polar",e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},e}(bg),KW=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",ms).models[0]},e.type="polarAxis",e}(bg);z(KW,nI);var JW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="angleAxis",e}(KW),QW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="radiusAxis",e}
vendor: 4,753 bytes, line 33
33(KW),tG=function(t){function e(e,n){return t.call(this,"radius",e,n)||this}return i(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(UI);tG.prototype.dataToRadius=UI.prototype.dataToCoord,tG.prototype.radiusToData=UI.prototype.coordToData;var eG=fs(),nG=function(t){function e(e,n){return t.call(this,"angle",e,n||[0,360])||this}return i(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this,e=t.getLabelModel(),n=t.scale,r=n.getExtent(),i=n.count();if(r[1]-r[0]<1)return 0;var o=r[0],a=t.dataToCoord(o+1)-t.dataToCoord(o),s=Math.abs(a),l=xo(null==o?"":o+"",e.getFont(),"center","top"),u=Math.max(l.height,7)/s;isNaN(u)&&(u=1/0);var c=Math.max(0,Math.floor(u)),d=eG(t.model),h=d.lastAutoInterval,f=d.lastTickCount;return null!=h&&null!=f&&Math.abs(h-c)<=1&&Math.abs(f-i)<=1&&h>c?c=h:(d.lastTickCount=i,d.lastAutoInterval=c),c},e}(UI);nG.prototype.dataToAngle=UI.prototype.dataToCoord,nG.prototype.angleToData=UI.prototype.coordToData;var rG=["radius","angle"],iG=function(){function t(t){this.dimensions=rG,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new tG,this._angleAxis=new nG,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){return this["_"+t+"Axis"]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,r=this._radiusAxis;return n.scale.type===t&&e.push(n),r.scale.type===t&&e.push(r),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},t.prototype.pointToData=function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,r=this.getAngleAxis(),i=r.getExtent(),o=Math.min(i[0],i[1]),a=Math.max(i[0],i[1]);r.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;for(var l=Math.atan2(-n,e)/Math.PI*180,u=l<o?1:-1;l<o||l>a;)l+=360*u;return[s,l]},t.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var n=t.getExtent(),r=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*r,endAngle:-n[1]*r,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,r=e-this.cy,i=n*n+r*r-1e-4,o=this.r,a=this.r0;return i<=o*o&&i>=a*a}}},t.prototype.convertToPixel=function(t,e,n){return oG(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return oG(e)===this?this.pointToData(n):null},t}();function oG(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}function aG(t,e,n){var r=e.get("center"),i=n.getWidth(),o=n.getHeight();t.cx=oa(r[0],i),t.cy=oa(r[1],o);var a=t.getRadiusAxis(),s=Math.min(i,o)/2,l=e.get("radius");null==l?l=[0,"100%"]:J(l)||(l=[0,l]);var u=[oa(l[0],s),oa(l[1],s)];a.inverse?a.setExtent(u[1],u[0]):a.setExtent(u[0],u[1])}function sG(t,e){var n=this,r=n.getAngleAxis(),i=n.getRadiusAxis();if(r.scale.setExtent(1/0,-1/0),i.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();H(tI(e,"radius"),(function(t){i.scale.unionExtentFromData(e,t)})),H(tI(e,"angle"),(function(t){r.scale.unionExtentFromData(e,t)}))}})),GM(r.scale,r.model),GM(i.scale,i.model),"category"===r.type&&!r.onBand){var o=r.getExtent(),a=360/r.scale.count();r.inverse?o[1]+=a:o[1]-=a,r.setExtent(o[0],o[1])}}function lG(t){return"angleAxis"===t.mainType}function uG(t,e){var n;if(t.type=e.get("type"),t.scale=YM(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),lG(e)){t.inverse=t.inverse!==e.get("
33clockwise");var r=e.get("startAngle"),i=null!==(n=e.get("endAngle"))&&void 0!==n?n:r+(t.inverse?-360:360);t.setExtent(r,i)}e.axis=t,t.model=e}var cG={dimensions:rG,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,r){var i=new iG(r+"");i.update=sG;var o=i.getRadiusAxis(),a=i.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");uG(o,s),uG(a,l),aG(i,t,e),n.push(i),t.coordinateSystem=i,i.model=t})),t.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",ms).models[0];if(!e)throw new Error('Polar "'+dt(t.get("polarIndex"),t.get("polarId"),0)+'" not found');t.coordinateSystem=e.coordinateSystem}})),n}},dG=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function hG(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var r=t.coordToPoint([e[0],n]),i=t.coordToPoint([e[1],n]);return{x1:r[0],y1:r[1],x2:i[0],y2:i[1]}}function fG(t){return t.getRadiusAxis().inverse?0:1}function pG(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var gG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return i(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,r=n.polar,i=r.getRadiusAxis().getExtent(),o=n.getTicksCoords(),a=n.getMinorTicksCoords(),s=W(n.getViewLabels(),(function(t){t=$(t);var e=n.scale,r="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(r),t}));pG(s),pG(o),H(dG,(function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||yG[e](this.group,t,r,o,a,i,s)}),this)}},e.type="angleAxis",e}(AP),yG={axisLine:function(t,e,n,r,i,o){var a,s=e.getModel(["axisLine","lineStyle"]),l=n.getAngleAxis(),u=Math.PI/180,c=l.getExtent(),d=fG(n),h=d?0:1,f=360===Math.abs(c[1]-c[0])?"Circle":"Arc";(a=0===o[h]?new _f[f]({shape:{cx:n.cx,cy:n.cy,r:o[d],startAngle:-c[0]*u,endAngle:-c[1]*u,clockwise:l.inverse},style:s.getLineStyle(),z2:1,silent:!0}):new ih({shape:{cx:n.cx,cy:n.cy,r:o[d],r0:o[h]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,t.add(a)},axisTick:function(t,e,n,r,i,o){var a=e.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=o[fG(n)],u=W(r,(function(t){return new fh({shape:hG(n,[l,l+s],t.coord)})}));t.add(Qh(u,{style:R(a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,r,i,o){if(i.length){for(var a=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),u=o[fG(n)],c=[],d=0;d<i.length;d++)for(var h=0;h<i[d].length;h++)c.push(new fh({shape:hG(n,[u,u+l],i[d][h].coord)}));t.add(Qh(c,{style:R(s.getModel("lineStyle").getLineStyle(),R(a.getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(t,e,n,r,i,o,a){var s=e.getCategories(!0),l=e.getModel("axisLabel"),u=l.get("margin"),c=e.get("triggerEvent");H(a,(function(r,i){var a=l,d=r.tickValue,h=o[fG(n)],f=n.coordToPoint([h+u,r.coord]),p=n.cx,g=n.cy,y=Math.abs(f[0]-p)/h<.3?"center":f[0]>p?"left":"right",m=Math.abs(f[1]-g)/h<.3?"middle":f[1]>g?"top":"bottom";if(s&&s[d]){var v=s[d];rt(v)&&v.textStyle&&(a=new Xf(v.textStyle,l,l.ecModel))}var b=new Bu({silent:rP.isLabelSilent(e),style:Df(a,{x:f[0],y:f[1],fill:a.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:r.formattedLabel,align:y,verticalAlign:m})});if(t.add(b),c){var x=rP.makeAxisEventDataBase(e);x.targetType="axisLabel",x.value=r.rawLabel,Qu(b).eventData=x}}),this)},splitLine:function(t,e,n,r,i,o){var a=e.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=0;c<r.length;c++){var d=l++%s.length;u[d]=u[d]||[],u[d].push(new fh({shape:hG(n,o,r[c].coord)}))}for(c=0;c<u.length;c++)t.add(Qh(u[c],{style:R({stroke:s[c%s.length]},a.getLineStyle()),silent:!0,z:e.get("z")}))},minorSplitLine:function(t,e,n,r,i,o){if(i.length){for(var a=e.getModel("minorSplitLine").getModel("lineStyle"),s=[],l=0;l<i.length;l++)for(var u=0;u<i[l].length;u++)s.push(new fh({shape:hG(n,o,i[l][u].coord)}));t.add(Qh(s,{style:a.getLineStyle(),silent:!0,z:e.get("z")}))}},splitArea:function(t,e,n,r,i,o){if(r.length){var a=e.getModel("splitArea").getModel("areaStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=Math.PI/180,d=-r[0].coord*c,h=Math.min(o[0],o[1]),f=Math.max(o[0],o[1]),p=e.get("
33clockwise"),g=1,y=r.length;g<=y;g++){var m=g===y?r[0].coord:r[g].coord,v=l++%s.length;u[v]=u[v]||[],u[v].push(new nh({shape:{cx:n.cx,cy:n.cy,r0:h,r:f,startAngle:d,endAngle:-m*c,clockwise:p},silent:!0})),d=-m*c}for(g=0;g<u.length;g++)t.add(Qh(u[g],{style:R({fill:s[g%s.length]},a.getAreaStyle()),silent:!0}))}}},mG=["axisLine","axisTickLabel","axisName"],vG=["splitLine","splitArea","minorSplitLine"],bG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return i(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=this._axisGroup,r=this._axisGroup=new Bo;this.group.add(r);var i=t.axis,o=i.polar,a=o.getAngleAxis(),s=i.getTicksCoords(),l=i.getMinorTicksCoords(),u=a.getExtent()[0],c=i.getExtent(),d=_G(o,t,u),h=new rP(t,d);H(mG,h.add,h),r.add(h.getGroup()),cf(n,r,t),H(vG,(function(e){t.get([e,"show"])&&!i.scale.isBlank()&&xG[e](this.group,t,o,u,c,s,l)}),this)}},e.type="radiusAxis",e}(AP),xG={splitLine:function(t,e,n,r,i,o){var a=e.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0,u=n.getAngleAxis(),c=Math.PI/180,d=u.getExtent(),h=360===Math.abs(d[1]-d[0])?"Circle":"Arc";s=s instanceof Array?s:[s];for(var f=[],p=0;p<o.length;p++){var g=l++%s.length;f[g]=f[g]||[],f[g].push(new _f[h]({shape:{cx:n.cx,cy:n.cy,r:Math.max(o[p].coord,0),startAngle:-d[0]*c,endAngle:-d[1]*c,clockwise:u.inverse}}))}for(p=0;p<f.length;p++)t.add(Qh(f[p],{style:R({stroke:s[p%s.length],fill:null},a.getLineStyle()),silent:!0}))},minorSplitLine:function(t,e,n,r,i,o,a){if(a.length){for(var s=e.getModel("minorSplitLine").getModel("lineStyle"),l=[],u=0;u<a.length;u++)for(var c=0;c<a[u].length;c++)l.push(new Rd({shape:{cx:n.cx,cy:n.cy,r:a[u][c].coord}}));t.add(Qh(l,{style:R({fill:null},s.getLineStyle()),silent:!0}))}},splitArea:function(t,e,n,r,i,o){if(o.length){var a=e.getModel("splitArea").getModel("areaStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],c=o[0].coord,d=1;d<o.length;d++){var h=l++%s.length;u[h]=u[h]||[],u[h].push(new nh({shape:{cx:n.cx,cy:n.cy,r0:c,r:o[d].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),c=o[d].coord}for(d=0;d<u.length;d++)t.add(Qh(u[d],{style:R({fill:s[d%s.length]},a.getAreaStyle()),silent:!0}))}}};function _G(t,e,n){return{position:[t.cx,t.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e.getModel("axisLabel").get("rotate"),z2:1}}function wG(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function SG(t,e){return e.dim+t.model.componentIndex}function MG(t,e,n){var r={},i=IG(Y(e.getSeriesByType(t),(function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type})));e.eachSeriesByType(t,(function(t){if("polar"===t.coordinateSystem.type){var e=t.getData(),n=t.coordinateSystem,o=n.getBaseAxis(),a=SG(n,o),s=wG(t),l=i[a][s],u=l.offset,c=l.width,d=n.getOtherAxis(o),h=t.coordinateSystem.cx,f=t.coordinateSystem.cy,p=t.get("barMinHeight")||0,g=t.get("barMinAngle")||0;r[s]=r[s]||[];for(var y=e.mapDimension(d.dim),m=e.mapDimension(o.dim),v=OS(e,y),b="radius"!==o.dim||!t.get("roundCap",!0),x=d.model.get("startValue"),_=d.dataToCoord(x||0),w=0,S=e.count();w<S;w++){var M=e.get(y,w),I=e.get(m,w),A=M>=0?"p":"n",D=_;v&&(r[s][I]||(r[s][I]={p:_,n:_}),D=r[s][I][A]);var T=void 0,C=void 0,O=void 0,P=void 0;if("radius"===d.dim){var k=d.dataToCoord(M)-_,$=o.dataToCoord(I);Math.abs(k)<p&&(k=(k<0?-1:1)*p),T=D,C=D+k,P=(O=$-u)-c,v&&(r[s][I][A]=C)}else{var E=d.dataToCoord(M,b)-_,L=o.dataToCoord(I);Math.abs(E)<g&&(E=(E<0?-1:1)*g),C=(T=L+u)+c,O=D,P=D+E,v&&(r[s][I][A]=P)}e.setItemLayout(w,{cx:h,cy:f,r0:T,r:C,startAngle:-O*Math.PI/180,endAngle:-P*Math.PI/180,clockwise:O>=P})}}}))}function IG(t){var e={};H(t,(function(t,n){var r=t.getData(),i=t.coordinateSystem,o=i.getBaseAxis(),a=SG(i,o),s=o.getExtent(),l="category"===o.type?o.getBandWidth():Math.abs(s[1]-s[0])/r.count(),u=e[a]||{bandWidth:l,remainedWidth:l,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},c=u.stacks;e[a]=u;var d=wG(t);c[d]||u.autoWidthCount++,c[d]=c[d]||{width:0,maxWidth:0};var h=oa(t.get("barWidth"),l),f=oa(t.get("barMaxWidth"),l),p=t.get("barGap"),g=t.get("barCategoryGap");h&&!c[d].width&&(h=Math.min(u.remainedWidth,h),c[d].width=h,u.remainedWidth-=h),f&&(c[d].maxWidth=f),null!=p&&(u.gap=p),null!=g&&(u.categoryGap=g)}));var n={};return H(e,(function(t,e){n[e]={};var r=t.stacks,i=t.bandWidth,o=oa(t.categoryGap,i),a=oa(t.gap,1),s=t.remainedWidth,l=t.autoWidthCount,u=(s-o)/(l+(l-1)*a);u=Math.max(u,0),H(r,(function(t,e){var n=t.maxWidth;n&&n<u&&(n=Math.min(n,s),t.width&&(n=Math.min(n,t.width)),s-=n,t.width=n,l--)})),u=(s-o)/(l+(l-1)*a),u=Math.max(u,0);var c,d=0;H(r,(function(t,e){t.width||(t.width=u),c=t,d+=t.width*(1+a)})),c&&(d-=c.width*a);var h=-d/2;H(r,(function(t,r){n[e][r]=n[e][r]||{offset:h,width:t.width},h+=t.width*(1+a)}))})),n}var AG={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},DG={splitNumber:5},TG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="polar",e}(Wv);function CG(t){zw(GW),AP.registerAxisPointerClass("PolarAxisPointer",UW),t.registerCoordinateSystem("polar",cG),t.registerComponentModel(qW),t.registerComponentView(TG),BO(t,"angle",JW,AG),BO(t,"radius",QW,DG),t.registerComponentView(gG),t.registerComponentView(bG),t.registerLayout(K(MG,"bar"))}function OG(t,e){e=e||{};var n=t.coordinateSystem,r=t.axis,i={},o=r.position,a=r.orient,s=n.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],u={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};i.position=["vertical"===a?u.vertical[o]:l[0],"horizontal"===a?u.horizontal[o]:l[3]
vendor: 18,044 bytes, line 33
33];var c={horizontal:0,vertical:1};i.rotation=Math.PI/2*c[a];var d={top:-1,bottom:1,right:1,left:-1};i.labelDirection=i.tickDirection=i.nameDirection=d[o],t.get(["axisTick","inside"])&&(i.tickDirection=-i.tickDirection),dt(e.labelInside,t.get(["axisLabel","inside"]))&&(i.labelDirection=-i.labelDirection);var h=e.rotate;return null==h&&(h=t.get(["axisLabel","rotate"])),i.labelRotation="top"===o?-h:h,i.z2=1,i}var PG=["axisLine","axisTickLabel","axisName"],kG=["splitArea","splitLine"],$G=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="SingleAxisPointer",n}return i(e,t),e.prototype.render=function(e,n,r,i){var o=this.group;o.removeAll();var a=this._axisGroup;this._axisGroup=new Bo;var s=OG(e),l=new rP(e,s);H(PG,l.add,l),o.add(this._axisGroup),o.add(l.getGroup()),H(kG,(function(t){e.get([t,"show"])&&EG[t](this,this.group,this._axisGroup,e)}),this),cf(a,this._axisGroup,e),t.prototype.render.call(this,e,n,r,i)},e.prototype.remove=function(){CP(this)},e.type="singleAxis",e}(AP),EG={splitLine:function(t,e,n,r){var i=r.axis;if(!i.scale.isBlank()){var o=r.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=s instanceof Array?s:[s];for(var l=a.get("width"),u=r.coordinateSystem.getRect(),c=i.isHorizontal(),d=[],h=0,f=i.getTicksCoords({tickModel:o}),p=[],g=[],y=0;y<f.length;++y){var m=i.toGlobalCoord(f[y].coord);c?(p[0]=m,p[1]=u.y,g[0]=m,g[1]=u.y+u.height):(p[0]=u.x,p[1]=m,g[0]=u.x+u.width,g[1]=m);var v=new fh({shape:{x1:p[0],y1:p[1],x2:g[0],y2:g[1]},silent:!0});ef(v.shape,l);var b=h++%s.length;d[b]=d[b]||[],d[b].push(v)}var x=a.getLineStyle(["color"]);for(y=0;y<d.length;++y)e.add(Qh(d[y],{style:R({stroke:s[y%s.length]},x),silent:!0}))}},splitArea:function(t,e,n,r){TP(t,n,r,r)}},LG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.getCoordSysModel=function(){return this},e.type="singleAxis",e.layoutMode="box",e.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}},e}(bg);z(LG,nI.prototype);var NG=function(t){function e(e,n,r,i,o){var a=t.call(this,e,n,r)||this;return a.type=i||"value",a.position=o||"bottom",a}return i(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.pointToData=function(t,e){return this.coordinateSystem.pointToData(t)[0]},e}(UI),RG=["single"],FG=function(){function t(t,e,n){this.type="single",this.dimension="single",this.dimensions=RG,this.axisPointerEnabled=!0,this.model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var r=this.dimension,i=new NG(r,YM(t),[0,0],t.get("type"),t.get("position")),o="category"===i.type;i.onBand=o&&t.get("boundaryGap"),i.inverse=t.get("inverse"),i.orient=t.get("orient"),t.axis=i,i.model=t,i.coordinateSystem=this,this._axis=i},t.prototype.update=function(t,e){t.eachSeries((function(t){if(t.coordinateSystem===this){var e=t.getData();H(e.mapDimensionsAll(this.dimension),(function(t){this._axis.scale.unionExtentFromData(e,t)}),this),GM(this._axis.scale,this._axis.model)}}),this)},t.prototype.resize=function(t,e){this._rect=dg({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},t.prototype.getRect=function(){return this._rect},t.prototype._adjustAxis=function(){var t=this._rect,e=this._axis,n=e.isHorizontal(),r=n?[0,t.width]:[0,t.height],i=e.inverse?1:0;e.setExtent(r[i],r[1-i]),this._updateAxisTransform(e,n?t.x:t.y)},t.prototype._updateAxisTransform=function(t,e){var n=t.getExtent(),r=n[0]+n[1],i=t.isHorizontal();t.toGlobalCoord=i?function(t){return t+e}:function(t){return r-t+e},t.toLocalCoord=i?function(t){return t-e}:function(t){return r-t+e}},t.prototype.getAxis=function(){return this._axis},t.prototype.getBaseAxis=function(){return this._axis},t.prototype.getAxes=function(){return[this._axis]},t.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},t.prototype.containPoint=function(t){var e=this.getRect(),n=this.getAxis();return"horizontal"===n.orient?n.contain(n.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},t.prototype.dataToPoint=function(t){var e=this.getAxis(),n=this.getRect(),r=[],i="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),r[i]=e.toGlobalCoord(e.dataToCoord(+t)),r[1-i]=0===i?n.y+n.height/2:n.x+n.width/2,r},t.prototype.convertToPixel=function(t,e,n){return BG(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return BG(e)===this?this.pointToData(n):null},t}();function BG(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}function jG(t,e){var n=[];return t.eachComponent("singleAxis",(function(r,i){var o=new FG(r,t,e);o.name="single_"+i,o.resize(r,e),r.coordinateSystem=o,n.push(o)})),t.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",ms).models[0];t.coordinateSystem=e&&e.coordinateSystem}})),n}var zG={create:jG,dimensions:RG},VG=["x","y"],HG=["width","height"],WG=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.makeElOption=function(t,e,n,r,i){var o=n.axis,a=o.coordinateSystem,s=UG(a,1-YG(o)),l=a.dataToPoint(e)[0],u=r.get("type");if(u&&"none"!==u){var c=lW(r),d=GG[u](o,l,s);d.style=c,t.graphicKey=d.type,t.pointer=d}fW(e,t,OG(n),n,r,i)},e.prototype.getHandleTransform=function(t,e,n){var r=OG(e,{labelInside:!1});r.labelMargin=n.get(["handle","margin"]);var i=hW(e.axis,t,r);return{x:i[0],y:i[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,r){var i=n.axis,o=i.coordinateSystem,a=YG(i),s=UG(o,a),l=[t.x,t.y];l[a]+=e[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=UG(o,1-a),c=(u[1]+u[0])/2,d=[c,c];return d[a]=l[a],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:d,tooltipOption:{verticalAlign:"middle"}}},e}(nW),GG={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:pW([e,n[0]],[e,n[1]],YG(t))}},shadow:function(t,e,n){var r=t.getBandWidth(),i=n[1]-n[0];return{type:"Rect",shape:gW([e-r/2,n[0]],[r,i],YG(t))}}};function YG(t){return t.isHorizontal()?0:1}function UG(t,e){var n=t.getRect();return[n[VG[e]],n[VG[e]]+n[HG[e]]]}var ZG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="single",e}(Wv);function XG(t){zw(GW),AP.registerAxisPointerClass("SingleAxisPointer",WG),t.registerComponentView(ZG),t.registerComponentView($G),t.registerComponentModel(LG),BO(t,"single",LG,LG.defaultOption),t.registerCoordinateSystem("single",zG)}var qG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(e,n,r){var i=yg(e);t.prototype.init.apply(this,arguments),KG(e,i)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),KG(this.option,e)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(bg);function KG(t,e){var n,r=t.cellSize;1===(n=J(r)?r:t.cellSize=[r,r]).length&&(n[1]=n[0]);var i=W([0,1],(function(t){return fg(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));gg(t,e,{type:"box",ignoreSize:i})}var JG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){var r=this.group;r.removeAll();var i=t.coordinateSystem,o=i.getRangeInfo(),a=i.getOrient(),s=e.getLocaleModel();this._renderDayRect(t,o,r),this._renderLines(t,o,a,r),this._renderYearText(t,o,a,r),this._renderMonthText(t,s,a,r),this._renderWeekText(t,s,o,a,r)},e.prototype._renderDayRect=function(t,e,n){for(var r=t.coordinateSystem,i=t.getModel("itemStyle").getItemStyle(),o=r.getCellWidth(),a=r.getCellHeight(),s=e.start.time;s<=e.end.time;s=r.getNextNDay(s,1).time){var l=r.dataToRect([s],!1).tl,u=new Lu({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:i});n.add(u)}},e.prototype._renderLines=function(t,e,n,r){var i=this,o=t.coordinateSystem,a=t.getModel(["splitLine","lineStyle"]).getLineStyle(),s=t.get(["splitLine","show"]),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,c=0;u.time<=e.end.time;c++){h(u.formatedDate),0===c&&(u=o.getDateInfo(e.start.y+"-"+e.start.m));var d=u.date;d.setMonth(d.getMonth()+1),u=o.getDateInfo(d)}function h(e){i._firstDayOfMonth.push(o.getDateInfo(e)),i._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=i._getLinePointsOfOneWeek(t,e,n);i._tlpoints.push(l[0]),i._blpoints.push(l[l.length-1]),s&&i._drawSplitline(l,a,r)}h(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(i._getEdgesPoints(i._tlpoints,l,n),a,r),s&&this._drawSplitline(i._getEdgesPoints(i._blpoints,l,n),a,r)},e.prototype._getEdgesPoints=function(t,e,n){var r=[t[0].slice(),t[t.length-1].slice()],i="horizontal"===n?0:1;return r[0][i]=r[0][i]-e/2,r[1][i]=r[1][i]+e/2,r},e.prototype._drawSplitline=function(t,e,n){var r=new ch({z2:20,shape:{points:t},style:e});n.add(r)},e.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var r=t.coordinateSystem,i=r.getDateInfo(e),o=[],a=0;a<7;a++){var s=r.getNextNDay(i.time,a),l=r.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return o},e.prototype._formatterLabel=function(t,e){return tt(t)&&t?Qp(t,e):Q(t)?t(e):e.nameMap},e.prototype._yearTextPositionControl=function(t,e,n,r,i){var o=e[0],a=e[1],s=["center","bottom"];"bottom"===r?(a+=i,s=["center","top"]):"left"===r?o-=i:"right"===r?(o+=i,s=["center","top"]):a-=i;var l=0;return"left"!==r&&"right"!==r||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},e.prototype._renderYearText=function(t,e,n,r){var i=t.getModel("yearLabel");if(i.get("show")){var o=i.get("margin"),a=i.get("position");a||(a="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,u=(s[0][1]+s[1][1])/2,c="horizontal"===n?0:1,d={top:[l,s[c][1]],bottom:[l,s[1-c][1]],left:[s[1-c][0],u],right:[s[c][0],u]},h=e.start.y;+e.end.y>+e.start.y&&(h=h+"-"+e.end.y);var f=i.get("formatter"),p={start:e.start.y,end:e.end.y,nameMap:h},g=this._formatterLabel(f,p),y=new Bu({z2:30,style:Df(i,{text:g})});y.attr(this._yearTextPositionControl(y,d[a],n,a,o)),r.add(y)}},e.prototype._monthTextPositionControl=function(t,e,n,r,i){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===n?(l+=i,e&&(o="center"),"start"===r&&(a="bottom")):(s+=i,e&&(a="middle"),"start"===r&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderMonthText=function(t,e,n,r){var i=t.getModel("monthLabel");if(i.get("show")){var o=i.get("nameMap"),a=i.get("margin"),s=i.get("position"),l=i.get("align"),u=[this._tlpoints,this._blpoints];o&&!tt(o)||(o&&(e=dp(o)||e),o=e.get(["time","monthAbbr"])||[]);var c="start"===s?0:1,d="horizontal"===n?0:1;a="start"===s?-a:a;for(var h="center"===l,f=0;f<u[c].length-1;f++){var p=u[c][f].slice(),g=this._firstDayOfMonth[f];if(h){var y=this._firstDayPoints[f];p[d]=(y[d]+u[0][f+1][d])/2}var m=i.get("formatter"),v=o[+g.m-1],b={yyyy:g.y,yy:(g.y+"").slice(2),MM:g.m,M:+g.m,nameMap:v},x=this._formatterLabel(m,b),_=new Bu({z2:30,style:N(Df(i,{text:x}),this._monthTextPositionControl(p,h,n,s,a))});r.add(_)}}},e.prototype._weekTextPositionControl=function(t,e,n,r,i){var o="center",a="middle",s=t[0],l=t[1],u="start"===n;return"horizontal"===e?(s=s+r+(u?1:-1)*i[0]/2,o=u?"right":"left"):(l=l+r+(u?1:-1)*i[1]/2,a=u?"bottom":"top"),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderWeekText=function(t,e,n,r,i){var o=t.getModel("dayLabel");if(o.get("show")){var a=t.coordinateSystem,s=o.get("position"),l=o.get("nameMap"),u=o.get("margin"),c=a.getFirstDayOfWeek();l&&!tt(l)||(l&&(e=dp(l)||e),l=e.get(["time","dayOfWeekShort"])||W(e.get(["time","dayOfWeekAbbr"]),(function(t){return t[0]})));var d=a.getNextNDay(n.end.time,7-n.lweek).time,h=[a.getCellWidth(),a.getCellHeight()];u=oa(u,Math.min(h[1],h[0])),"start"===s&&(d=a.getNextNDay(n.start.time,-(7+n.fweek)).time,u=-u);for(var f=0;f<7;f++){var p=a.getNextNDay(d,f),g=a.dataToRect([p.time],!1).center,y=f;y=Math.abs((f+c)%7);var m=new Bu({z2:30,style:N(Df(o,{text:l[y]}),this._weekTextPositionControl(g,r,s,u,h))});i.add(m)}}},e.type="calendar",e}(Wv),QG=864e5,tY=function(){function t(e,n,r){this.type="calendar",this.dimensions=t.dimensions,this.getDimensionsInfo=t.getDimensionsInfo,this._model=e}return t.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},t.prototype.getRangeInfo=function(){return this._rangeInfo},t.prototype.getModel=function(){return this._model},t.prototype.getRect=function(){return this._rect},t.prototype.getCellWidth=function(){return this._sw},t.prototype.getCellHeight=function(){return this._sh},t.prototype.getOrient=function(){return this._orient},t.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},t.prototype.getDateInfo=function(t){var e=(t=va(t)).getFullYear(),n=t.getMonth()+1,r=n<10?"0"+n:""+n,i=t.getDate(),o=i<10?"0"+i:""+i,a=t.getDay();return{y:e+"",m:r,d:o,day:a=Math.abs((a+7-this.getFirstDayOfWeek())%7),time:t.getTime(),formatedDate:e+"-"+r+"-"+o,date:t}},t.prototype.getNextNDay=function(t,e){return 0===(e=e||0)||(t=new Date(this.getDateInfo(t).time)).setDate(t.getDate()+e),this.getDateInfo(t)},t.prototype.update=function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,r=["width","height"],i=this._model.getCellSize().slice(),o=this._model.getBoxLayoutParams(),a="horizontal"===this._orient?[n,7]:[7,n];H([0,1],(function(t){u(i,t)&&(o[r[t]]=i[t]*a[t])}));var s={width:e.getWidth(),height:e.getHeight()},l=this._rect=dg(o,s);function u(t,e){return null!=t[e]&&"auto"!==t[e]}H([0,1],(function(t){u(i,t)||(i[t]=l[r[t]]/a[t])})),this._sw=i[0],this._sh=i[1]},t.prototype.dataToPoint=function(t,e){J(t)&&(t=t[0]),null==e&&(e=!0);var n=this.getDateInfo(t),r=this._rangeInfo,i=n.formatedDate;if(e&&!(n.time>=r.start.time&&n.time<r.end.time+QG))return[NaN,NaN];var o=n.day,a=this._getRangeInfo([r.start.time,i]).nthWeek;return"vertical"===this._orient?[this._rect.x+o*this._sw+this._sw/2,this._rect.y+a*this._sh+this._sh/2]:[this._rect.x+a*this._sw+this._sw/2,this._rect.y+o*this._sh+this._sh/2]},t.prototype.pointToData=function(t){var e=this.pointToDate(t);return e&&e.time},t.prototype.dataToRect=function(t,e){var n=this.dataToPoint(t,e);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},t.prototype.pointToDate=function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,n=Math.floor((t[1]-this._rect.y)/this._sh)+1,r=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,e-1,r):this._getDateByWeeksAndDay(e,n-1,r)},t.prototype.convertToPixel=function(t,e,n){var r=eY(e);return r===this?r.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var r=eY(e);return r===this?r.pointToData(n):null},t.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},t.prototype._initRangeOption=function(){var t,e=this._model.get("range");if(J(e)&&1===e.length&&(e=e[0]),J(e))t=e;else{var n=e.toString();if(/^\d{4}$/.test(n)&&(t=[n+"-01-01",n+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(n)){var r=this.getDateInfo(n),i=r.date;i.setMonth(i.getMonth()+1);var o=this.getNextNDay(i,-1);t=[r.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(t=[n,n])}if(!t)return k("Invalid date range."),e;var a=this._getRangeInfo(t);return a.start.time>a.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];n[0].time>n[1].time&&(e=!0,n.reverse());var r=Math.floor(n[1].time/QG)-Math.floor(n[0].time/QG)+1,i=new Date(n[0].time),o=i.getDate(),a=n[1].date.getDate();i.setDate(o+r-1);var s=i.getDate();if(s!==a)for(var l=i.getTime()-n[1].time>0?1:-1;(s=i.getDate())!==a&&(i.getTime()-n[1].time)*l>0;)r-=l,i.setDate(s-l);var u=Math.floor((r+n[0].day+6)/7),c=e?1-u:u-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:r,weeks:u,nthWeek:c,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var r=this._getRangeInfo(n);if(t>r.weeks||0===t&&e<r.fweek||t===r.weeks&&e>r.lweek)return null;var i=7*(t-1)-r.fweek+e,o=new Date(r.start.time);return o.setDate(+r.start.d+i),this.getDateInfo(o)},t.create=function(e,n){var r=[];return e.eachComponent("calendar",(function(i){var o=new t(i,e,n);r.push(o),i.coordinateSystem=o})),e.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=r[t.get("
33calendarIndex")||0])})),r},t.dimensions=["time","value"],t}();function eY(t){var e=t.calendarModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem:null}function nY(t){t.registerComponentModel(qG),t.registerComponentView(JG),t.registerCoordinateSystem("calendar",tY)}function rY(t,e){var n=t.existing;if(e.id=t.keyInfo.id,!e.type&&n&&(e.type=n.type),null==e.parentId){var r=e.parentOption;r?e.parentId=r.id:n&&(e.parentId=n.parentId)}e.parentOption=null}function iY(t,e){var n;return H(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}function oY(t,e,n){var r=N({},n),i=t[e],o=n.$action||"merge";if("merge"===o)if(i){var a=n.type;yt(!a||i.type===a,'Please set $action: "replace" to change `type`'),E(i,r,!0),gg(i,r,{ignoreSize:!0}),mg(n,i),lY(n,i),lY(n,i,"shape"),lY(n,i,"style"),lY(n,i,"extra"),n.clipPath=i.clipPath}else t[e]=r;else"replace"===o?t[e]=r:"remove"===o&&i&&(t[e]=null)}var aY=["transition","enterFrom","leaveTo"],sY=aY.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function lY(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var r=n?aY:sY,i=0;i<r.length;i++){var o=r[i];null==t[o]&&null!=e[o]&&(t[o]=e[o])}}function uY(t,e){if(t&&(t.hv=e.hv=[iY(e,["left","right"]),iY(e,["top","bottom"])],"group"===t.type)){var n=t,r=e;null==n.width&&(n.width=r.width=0),null==n.height&&(n.height=r.height=0)}}var cY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventAutoZ=!0,n}return i(e,t),e.prototype.mergeOption=function(e,n){var r=this.option.elements;this.option.elements=null,t.prototype.mergeOption.call(this,e,n),this.option.elements=r},e.prototype.optionUpdated=function(t,e){var n=this.option,r=(e?n:t).elements,i=n.elements=e?[]:n.elements,o=[];this._flatten(r,o,null);var a=Za(i,o,"normalMerge"),s=this._elOptionsToUpdate=[];H(a,(function(t,e){var n=t.newOption;yt(rt(n)||t.existing,"Empty graphic option definition"),n&&(s.push(n),rY(t,n),oY(i,e,n),uY(i[e],n))}),this),n.elements=Y(i,(function(t){return t&&delete t.$action,null!=t}))},e.prototype._flatten=function(t,e,n){H(t,(function(t){if(t){n&&(t.parentOption=n),e.push(t);var r=t.children;r&&r.length&&this._flatten(r,e,t),delete t.children}}),this)},e.prototype.useElOptionsToUpdate=function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t},e.type="graphic",e.defaultOption={elements:[]},e}(bg),dY={path:null,compoundPath:null,group:Bo,image:Du,text:Bu},hY=fs(),fY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(){this._elMap=It()},e.prototype.render=function(t,e,n){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,n)},e.prototype._updateElements=function(t){var e=t.useElOptionsToUpdate();if(e){var n=this._elMap,r=this.group,i=t.get("z"),o=t.get("zlevel");H(e,(function(e){var a=rs(e.id,null),s=null!=a?n.get(a):null,l=rs(e.parentId,null),u=null!=l?n.get(l):r,c=e.type,d=e.style;"text"===c&&d&&e.hv&&e.hv[1]&&(d.textVerticalAlign=d.textBaseline=d.verticalAlign=d.align=null);var h=e.textContent,f=e.textConfig;if(d&&$V(d,c,!!f,!!h)){var p=EV(d,c,!0);!f&&p.textConfig&&(f=e.textConfig=p.textConfig),!h&&p.textContent&&(h=p.textContent)}var g=vY(e);s&&yt(u===s.parent,"Changing parent is not supported.");var y=e.$action||"merge",m="merge"===y,v="replace"===y;if(m){var b=s;(A=!s)?b=gY(a,u,e.type,n):(b&&(hY(b).isNew=!1),hH(b)),b&&(YV(b,g,t,{isInit:A}),mY(b,e,i,o))}else if(v){yY(s,e,n,t);var x=gY(a,u,e.type,n);x&&(YV(x,g,t,{isInit:!0}),mY(x,e,i,o))}else"remove"===y&&(UV(s,e),yY(s,e,n,t));var _=n.get(a);if(_&&h)if(m){var w=_.getTextContent();w?w.attr(h):_.setTextContent(new Bu(h))}else v&&_.setTextContent(new Bu(h));if(_){var S=e.clipPath;if(S){var M=S.type,I=void 0,A=!1;if(m){var D=_.getClipPath();I=(A=!D||hY(D).type!==M)?pY(M):D}else v&&(A=!0,I=pY(M));_.setClipPath(I),YV(I,S,t,{isInit:A}),fH(I,S.keyframeAnimation,t)}var T=hY(_);_.setTextConfig(f),T.option=e,bY(_,t,e),vf({el:_,componentModel:t,itemName:_.name,itemTooltipOption:e.tooltip}),fH(_,e.keyframeAnimation,t)}}))}},e.prototype._relocate=function(t,e){for(var n=t.option.elements,r=this.group,i=this._elMap,o=e.getWidth(),a=e.getHeight(),s=["x","y"],l=0;l<n.length;l++)if((p=null!=(f=rs((h=n[l]).id,null))?i.get(f):null)&&p.isGroup){var u=(g=p.parent)===r,c=hY(p),d=hY(g);c.width=oa(c.option.width,u?o:d.width)||0,c.height=oa(c.option.height,u?a:d.height)||0}for(l=n.length-1;l>=0;l--){var h,f,p;if(p=null!=(f=rs((h=n[l]).id,null))?i.get(f):null){var g=p.parent,y=(d=hY(g),{}),m=hg(p,h,g===r?{width:o,height:a}:{width:d.width,height:d.height},null,{hv:h.hv,boundingMode:h.bounding},y);if(!hY(p).isNew&&m){for(var v=h.transition,b={},x=0;x<s.length;x++){var _=s[x],w=y[_];v&&(XV(v)||B(v,_)>=0)?b[_]=w:p[_]=w}Eh(p,b,t,0)}else p.attr(y)}}},e.prototype._clear=function(){var t=this,e=this._elMap;e.each((function(n){yY(n,hY(n).option,e,t._lastGraphicModel)})),this._elMap=It()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(Wv);function pY(t){yt(t,"graphic type MUST be set");var e=Ct(dY,t)?dY[t]:Xh(t);yt(e,"graphic type "+t+" can not be found");var n=new e({});return hY(n).type=t,n}function gY(t,e,n,r){var i=pY(n);return e.add(i),r.set(t,i),hY(i).id=t,hY(i).isNew=!0,i}function yY(t,e,n,r){t&&t.parent&&("group"===t.type&&t.traverse((function(t){yY(t,e,n,r)})),ZV(t,e,r),n.removeKey(hY(t).id))}function mY(t,e,n,r){t.isGroup||H([["cursor",fl.prototype.cursor],["zlevel",r||0],["z",n||0],["z2",0]],(function(n){var r=n[0];Ct(e,r)?t[r]=ht(e[r],n[1]):null==t[r]&&(t[r]=n[1])})),H(Z(e),(function(n){if(0===n.indexOf("on")){var r=e[n];t[n]=Q(r)?r:null}})),Ct(e,"draggable")&&(t.draggable=e.draggable),null!=e.name&&(t.name=e.name),null!=e.id&&
vendor: 30,844 bytes, line 33
33(t.id=e.id)}function vY(t){return t=N({},t),H(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(ag),(function(e){delete t[e]})),t}function bY(t,e,n){var r=Qu(t).eventData;t.silent||t.ignore||r||(r=Qu(t).eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name}),r&&(r.info=n.info)}function xY(t){t.registerComponentModel(cY),t.registerComponentView(fY),t.registerPreprocessor((function(t){var e=t.graphic;J(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])}))}var _Y=["x","y","radius","angle","single"],wY=["cartesian2d","polar","singleAxis"];function SY(t){var e=t.get("coordinateSystem");return B(wY,e)>=0}function MY(t){return yt(t),t+"Axis"}function IY(t,e){var n,r=It(),i=[],o=It();t.eachComponent({mainType:"dataZoom",query:e},(function(t){o.get(t.uid)||s(t)}));do{n=!1,t.eachComponent("dataZoom",a)}while(n);function a(t){!o.get(t.uid)&&l(t)&&(s(t),n=!0)}function s(t){o.set(t.uid,!0),i.push(t),u(t)}function l(t){var e=!1;return t.eachTargetAxis((function(t,n){var i=r.get(t);i&&i[n]&&(e=!0)})),e}function u(t){t.eachTargetAxis((function(t,e){(r.get(t)||r.set(t,[]))[e]=!0}))}return i}function AY(t){var e=t.ecModel,n={infoList:[],infoMap:It()};return t.eachTargetAxis((function(t,r){var i=e.getComponent(MY(t),r);if(i){var o=i.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(i)}}})),n}var DY=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),TY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return i(e,t),e.prototype.init=function(t,e,n){var r=CY(t);this.settledOption=r,this.mergeDefaultAndTheme(t,n),this._doInit(r)},e.prototype.mergeOption=function(t){var e=CY(t);E(this.option,t,!0),E(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;H([["start","startValue"],["end","endValue"]],(function(t,r){"value"===this._rangePropMode[r]&&(e[t[0]]=n[t[0]]=null)}),this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=It();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each((function(t){t.indexList.length&&(this._noTarget=!1)}),this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return H(_Y,(function(n){var r=this.getReferringComponents(MY(n),vs);if(r.specified){e=!0;var i=new DY;H(r.models,(function(t){i.add(t.componentIndex)})),t.set(n,i)}}),this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,r=!0;if(r){var i="vertical"===e?"y":"x";o(n.findComponents({mainType:i+"Axis"}),i)}function o(e,n){var i=e[0];if(i){var o=new DY;if(o.add(i.componentIndex),t.set(n,o),r=!1,"x"===n||"y"===n){var a=i.getReferringComponents("grid",ms).models[0];a&&H(e,(function(t){i.componentIndex!==t.componentIndex&&a===t.getReferringComponents("grid",ms).models[0]&&o.add(t.componentIndex)}))}}}r&&o(n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}}),"single"),r&&H(_Y,(function(e){if(r){var i=n.findComponents({mainType:MY(e),filter:function(t){return"category"===t.get("type",!0)}});if(i[0]){var o=new DY;o.add(i[0].componentIndex),t.set(e,o),r=!1}}}),this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis((function(e){!t&&(t=e)}),this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");H([["start","startValue"],["end","endValue"]],(function(r,i){var o=null!=t[r[0]],a=null!=t[r[1]];o&&!a?e[i]="percent":!o&&a?e[i]="value":n?e[i]=n[i]:o&&(e[i]="percent")}))},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis((function(e,n){null==t&&(t=this.ecModel.getComponent(MY(e),n))}),this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,r){H(n.indexList,(function(n){t.call(e,r,n)}))}))},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){yt(t&&null!=e);var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(MY(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;H([["start","startValue"],["end","endValue"]],(function(r){null==t[r[0]]&&null==t[r[1]]||(e[r[0]]=n[r[0]]=t[r[0]],e[r[1]]=n[r[1]]=t[r[1]])}),this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;H(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),r=0;r<n.length;r++)for(var i=n[r],o=this._targetAxisInfoMap.get(i),a=0;a<o.indexList.length;a++){var s=this.getAxisProxy(i,o.indexList[a]);if(s.hostedBy(this))return s;e||(e=s)}return e},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return yt(this._orient),this._orient},e.type="dataZoom",e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],e.defaultOption={z:4,filterMode:"filter",start:0,end:100},e}(bg);function CY(t){var e={};return H(["start","end","startValue","endValue","throttle"],(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}var OY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="dataZoom.select",e}(TY),PY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n,r){this.dataZoomModel=t,this.ecModel=e,this.api=n},e.type="dataZoom",e}(Wv),kY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="dataZoom.select",e}(PY),$Y=H,EY=sa,LY=function(){function t(t,e,n,r){this._dimName=t,this._axisIndex=e,this.ecModel=r,this._dataZoomModel=n}return t.prototype.hostedBy=function(t){return this._dataZoomModel===t},t.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},t.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},t.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries((function(e){if(SY(e)){var n=MY(this._dimName),r=e.getReferringComponents(n,ms).models[0];r&&this._axisIndex===r.componentIndex&&t.push(e)}}),this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return $(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,r=this.getAxisModel().axis.scale,i=this._dataZoomModel.getRangePropMode(),o=[0,100],a=[],s=[];$Y(["start","end"],(function(l,u){var c=t[l],d=t[l+"Value"];"percent"===i[u]?(null==c&&(c=o[u]),d=r.parse(ia(c,o,n))):(e=!0,c=ia(d=null==d?n[u]:r.parse(d),n,o)),s[u]=null==d||isNaN(d)?n[u]:d,a[u]=null==c||isNaN(c)?o[u]:c})),EY(s),EY(a);var l=this._minMaxSpan;function u(t,e,n,i,o){var a=o?"Span":"ValueSpan";iF(0,t,n,"all",l["min"+a],l["max"+a]);for(var s=0;s<2;s++)e[s]=ia(t[s],n,i,!0),o&&(e[s]=r.parse(e[s]))}return e?u(s,a,n,o,!1):u(a,s,o,n,!0),{valueWindow:s,percentWindow:a}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=NY(this,this._dimName,e),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,r=this.getTargetSeriesModels(),i=t.get("filterMode"),o=this._valueWindow;"none"!==i&&$Y(r,(function(t){var e=t.getData(),r=e.mapDimensionsAll(n);if(r.length){if("weakFilter"===i){var s=e.getStore(),l=W(r,(function(t){return e.getDimensionIndex(t)}),e);e.filterSelf((function(t){for(var e,n,i,a=0;a<r.length;a++){var u=s.get(l[a],t),c=!isNaN(u),d=u<o[0],h=u>o[1];if(c&&!d&&!h)return!0;c&&(i=!0),d&&(e=!0),h&&(n=!0)}return i&&e&&n}))}else $Y(r,(function(n){if("empty"===i)t.setData(e=e.map(n,(function(t){return a(t)?t:NaN})));else{var r={};r[n]=o,e.selectRange(r)}}));$Y(r,(function(t){e.setApproximateExtent(o,t)}))}}))}function a(t){return t>=o[0]&&t<=o[1]}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;$Y(["min","max"],(function(r){var i=e.get(r+"Span"),o=e.get(r+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?i=ia(n[0]+o,n,[0,100],!0):null!=i&&(o=ia(i,[0,100],n,!0)-n[0]),t[r+"Span"]=i,t[r+"ValueSpan"]=o}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var r=ca(n,[0,500]);r=Math.min(r,20);var i=t.axis.scale.rawExtentInfo;0!==e[0]&&i.setDeterminedMinMax("min",+n[0].toFixed(r)),100!==e[1]&&i.setDeterminedMinMax("max",+n[1].toFixed(r)),i.freeze()}},t}();function NY(t,e,n){var r=[1/0,-1/0];$Y(n,(function(t){eI(r,t.getData(),e)}));var i=t.getAxisModel(),o=zM(i.axis.scale,i,r).calculate();return[o.min,o.max]}var RY={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(r,i){var o=t.getComponent(MY(r),i);e(r,i,o,n)}))}))}e((function(t,e,n,r){n.__dzAxisProxy=null}));var n=[];e((function(e,r,i,o){i.__dzAxisProxy||(i.__dzAxisProxy=new LY(e,r,o,t),n.push(i.__dzAxisProxy))}));var r=It();return H(n,(function(t){H(t.getTargetSeriesModels(),(function(t){r.set(t.uid,t)}))})),r},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,n){t.getAxisProxy(e,n).reset(t)})),t.eachTargetAxis((function(n,r){t.getAxisProxy(n,r).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),r=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:r[0],endValue:r[1]})}}))}};function FY(t){t.registerAction("dataZoom",(function(t,e){H(IY(e,t),(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}var BY=!1;function jY(t){BY||(BY=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,RY),FY(t),t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function zY(t){t.registerComponentModel(OY),t.registerComponentView(kY),jY(t)}var VY=function(){function t(){}return t}(),HY={};function WY(t,e){HY[t]=e}function GY(t){return HY[t]}var YY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;H(this.option.feature,(function(t,n){var r=GY(n);r&&(r.getDefaultOption&&(r.defaultOption=r.getDefaultOption(e)),E(t,r.defaultOption))}))},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(bg);function UY(t,e,n){var r=e.getBoxLayoutParams(),i=e.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=dg(r,o,i);ug(e.get("orient"),t,e.get("itemGap"),a.width,a.height),hg(t,r,o,i)}function ZY(t,e){var n=Zp(e.get("padding")),r=e.getItemStyle(["color","opacity"]);return r.fill=e.get("backgroundColor"),t=new Lu({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:r,silent:!0,z2:-1})}var XY=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.render=function(t,e,n,r){var i=this.group;if(i.removeAll(),t.get("show")){var o=+t.get("itemSize"),a="vertical"===t.get("orient"),s=t.get("feature")||{},l=this._features||(this._features={}),u=[];H(s,(function(t,e){u.push(e)})),new Ww(this._featureNames||[],u).add(c).update(c).remove(K(c,null)).execute(),this._featureNames=u,UY(i,t,n),i.add(ZY(i.getBoundingRect(),t)),a||i.eachChild((function(t){var e=t.__title,r=t.ensureState("emphasis"),a=r.textConfig||(r.textConfig={}),s=t.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!Q(l)&&e){var u=l.style||(l.style={}),c=xo(e,Bu.makeFont(u)),d=t.x+i.x,h=!1;t.y+i.y+o+c.height>n.getHeight()&&(a.position="top",h=!0);var f=h?-5-c.height:o+10;d+c.width/2>n.getWidth()?(a.position=["100%",f],u.align="right"):d-c.width/2<0&&(a.position=[0,f],u.align="left")}}))}function c(i,o){var a,c=u[i],h=u[o],f=s[c],p=new Xf(f,t,t.ecModel);if(r&&null!=r.newTitle&&r.featureName===c&&(f.title=r.newTitle),c&&!h){if(qY(c))a={onclick:p.option.onclick,featureName:c};else{var g=GY(c);if(!g)return;a=new g}l[c]=a}else if(!(a=l[h]))return;a.uid=Kf("toolbox-feature"),a.model=p,a.ecModel=e,a.api=n;var y=a instanceof VY;c||!h?!p.get("show")||y&&a.unusable?y&&a.remove&&a.remove(e,n):(d(p,a,c),p.setIconStatus=function(t,e){var n=this.option,r=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,r[t]&&("emphasis"===e?Nc:Rc)(r[t])},a instanceof VY&&a.render&&a.render(p,e,n,r)):y&&a.dispose&&a.dispose(e,n)}function d(r,s,l){var u,c,d=r.getModel("iconStyle"),h=r.getModel(["emphasis","iconStyle"]),f=s instanceof VY&&s.getIcons?s.getIcons():r.get("icon"),p=r.get("title")||{};tt(f)?(u={})[l]=f:u=f,tt(p)?(c={})[l]=p:c=p;var g=r.iconPaths={};H(u,(function(l,u){var f=ff(l,{},{x:-o/2,y:-o/2,width:o,height:o});f.setStyle(d.getItemStyle()),f.ensureState("emphasis").style=h.getItemStyle();var p=new Bu({style:{text:c[u],align:h.get("textAlign"),borderRadius:h.get("textBorderRadius"),padding:h.get("textPadding"),fill:null,font:Lf({fontStyle:h.get("textFontStyle"),fontFamily:h.get("textFontFamily"),fontSize:h.get("textFontSize"),fontWeight:h.get("textFontWeight")},e)},ignore:!0});f.setTextContent(p),vf({el:f,componentModel:t,itemName:u,formatterParamsExtra:{title:c[u]}}),f.__title=c[u],f.on("mouseover",(function(){var e=h.getItemStyle(),r=a?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";p.setStyle({fill:h.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:h.get("textBackgroundColor")}),f.setTextConfig({position:h.get("textPosition")||r}),p.ignore=!t.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==r.get(["iconStatus",u])&&n.leaveEmphasis(this),p.hide()})),("emphasis"===r.get(["iconStatus",u])?Nc:Rc)(f),i.add(f),f.on("click",q(s.onclick,s,e,n,u)),g[u]=f}))}},e.prototype.updateView=function(t,e,n,r){H(this._features,(function(t){t instanceof VY&&t.updateView&&t.updateView(t.model,e,n,r)}))},e.prototype.remove=function(t,e){H(this._features,(function(n){n instanceof VY&&n.remove&&n.remove(t,e)})),this.group.removeAll()},e.prototype.dispose=function(t,e){H(this._features,(function(n){n instanceof VY&&n.dispose&&n.dispose(t,e)}))},e.type="toolbox",e}(Wv);function qY(t){return 0===t.indexOf("my")}var KY=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.onclick=function(t,e){var n=this.model,r=n.get("name")||t.get("title.0.text")||"echarts",i="svg"===e.getZr().painter.getType(),o=i?"svg":n.get("type",!0)||"png",s=e.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),l=a.browser;if("function"!=typeof MouseEvent||!l.newEdge&&(l.ie||l.edge))if(window.navigator.msSaveOrOpenBlob||i){var u=s.split(","),c=u[0].indexOf("base64")>-1,d=i?decodeURIComponent(u[1]):u[1];c&&(d=window.atob(d));var h=r+"."+o;if(window.navigator.msSaveOrOpenBlob){for(var f=d.length,p=new Uint8Array(f);f--;)p[f]=d.charCodeAt(f);var g=new Blob([p]);window.navigator.msSaveOrOpenBlob(g,h)}else{var y=document.createElement("iframe");document.body.appendChild(y);var m=y.contentWindow,v=m.document;v.open("image/svg+xml","replace"),v.write(d),v.close(),m.focus(),v.execCommand("SaveAs",!0,h),document.body.removeChild(y)}}else{var b=n.get("lang"),x='<body style="margin:0;"><img src="'+s+'" style="max-width:100%;" title="'+(b&&b[0]||"")+'" /></body>',_=window.open();_.document.write(x),_.document.title=r}else{var w=document.createElement("a");w.download=r+"."+o,w.target="_blank",w.href=s;var S=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});w.dispatchEvent(S)}},e.getDefaultOption=function(t){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},e}(VY),JY="__ec_magicType_stack__",QY=[["line","bar"],["stack"]],tU=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return H(t.get("type"),(function(t){e[t]&&(n[t]=e[t])})),n},e.getDefaultOption=function(t){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},e.prototype.onclick=function(t,e,n){var r=this.model,i=r.get(["seriesIndex",n]);if(eU[n]){var o,a={series:[]},s=function(t){var e=t.subType,i=t.id,o=eU[n](e,i,t,r);o&&(R(o,t.option),a.series.push(o));var s=t.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var u=l.dim+"Axis",c=t.getReferringComponents(u,ms).models[0].componentIndex;a[u]=a[u]||[];for(var d=0;d<=c;d++)a[u][c]=a[u][c]||{};a[u][c].boundaryGap="bar"===n}}};H(QY,(function(t){B(t,n)>=0&&H(t,(function(t){r.setIconStatus(t,"normal")}))})),r.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==i?null:{seriesIndex:i}},s);var l=n;"stack"===n&&(o=E({stack:r.option.title.tiled,tiled:r.option.title.stack},r.option.title),"emphasis"!==r.get(["iconStatus",n])&&(l="tiled")),e.dispatchAction({type:"changeMagicType",currentType:l,newOption:a,newTitle:o,featureName:"magicType"})}},e}(VY),eU={line:function(t,e,n,r){if("bar"===t)return E({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","line"])||{},!0)},bar:function(t,e,n,r){if("line"===t)return E({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","bar"])||{},!0)},stack:function(t,e,n,r){var i=n.get("stack")===JY;if("line"===t||"bar"===t)return r.setIconStatus("stack",i?"normal":"emphasis"),E({id:e,stack:i?"":JY},r.get(["option","stack"])||{},!0)}};Aw({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));var nU=new Array(60).join("-"),rU="\t";function iU(t){var e={},n=[],r=[];return t.eachRawSeries((function(t){var i=t.coordinateSystem;if(!i||"cartesian2d"!==i.type&&"polar"!==i.type)n.push(t);else{var o=i.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;e[a]||(e[a]={categoryAxis:o,valueAxis:i.getOtherAxis(o),series:[]},r.push({axisDim:o.dim,axisIndex:o.index})),e[a].series.push(t)}else n.push(t)}})),{seriesGroupByCategoryAxis:e,other:n,meta:r}}function oU(t){var e=[];return H(t,(function(t,n){var r=t.categoryAxis,i=t.valueAxis.dim,o=[" "].concat(W(t.series,(function(t){return t.name}))),a=[r.model.getCategories()];H(t.series,(function(t){var e=t.getRawData();a.push(t.getRawData().mapArray(e.mapDimension(i),(function(t){return t})))}));for(var s=[o.join(rU)],l=0;l<a[0].length;l++){for(var u=[],c=0;c<a.length;c++)u.push(a[c][l]);s.push(u.join(rU))}e.push(s.join("\n"))})),e.join("\n\n"+nU+"\n\n")}function aU(t){return W(t,(function(t){var e=t.getRawData(),n=[t.name],r=[];return e.each(e.dimensions,(function(){for(var t=arguments.length,i=arguments[t-1],o=e.getName(i),a=0;a<t-1;a++)r[a]=arguments[a];n.push((o?o+rU:"")+r.join(rU))})),n.join("\n")})).join("\n\n"+nU+"\n\n")}function sU(t){var e=iU(t);return{value:Y([oU(e.seriesGroupByCategoryAxis),aU(e.other)],(function(t){return!!t.replace(/[\n\t\s]/g,"")})).join("\n\n"+nU+"\n\n"),meta:e.meta}}function lU(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function uU(t){if(t.slice(0,t.indexOf("\n")).indexOf(rU)>=0)return!0}var cU=new RegExp("["+rU+"]+","g");function dU(t){for(var e=t.split(/\n+/g),n=[],r=W(lU(e.shift()).split(cU),(function(t){return{name:t,data:[]}})),i=0;i<e.length;i++){var o=lU(e[i]).split(cU);n.push(o.shift());for(var a=0;a<o.length;a++)r[a]&&(r[a].data[i]=o[a])}return{series:r,categories:n}}function hU(t){for(var e=t.split(/\n+/g),n=lU(e.shift()),r=[],i=0;i<e.length;i++){var o=lU(e[i]);if(o){var a=o.split(cU),s="",l=void 0,u=!1;isNaN(a[0])?(u=!0,s=a[0],a=a.slice(1),r[i]={name:s,value:[]},l=r[i].value):l=r[i]=[];for(var c=0;c<a.length;c++)l.push(+a[c]);1===l.length&&(u?r[i].value=l[0]:r[i]=l[0])}}return{name:n,data:r}}function fU(t,e){var n=t.split(new RegExp("\n*"+nU+"\n*","g")),r={series:[]};return H(n,(function(t,n){if(uU(t)){var i=dU(t),o=e[n],a=o.axisDim+"Axis";o&&(r[a]=r[a]||[],r[a][o.axisIndex]={data:i.categories},r.series=r.series.concat(i.series))}else i=hU(t),r.series.push(i)})),r}var pU=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.onclick=function(t,e){setTimeout((function(){e.dispatchAction({type:"hideTip"})}));var n=e.getDom(),r=this.model;this._dom&&n.removeChild(this._dom);var i=document.createElement("div");i.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",i.style.backgroundColor=r.get("backgroundColor")||"#fff";var o=document.createElement("h4"),a=r.get("lang")||[];o.innerHTML=a[0]||r.get("title"),o.style.cssText="margin:10px 20px",o.style.color=r.get("textColor");var s=document.createElement("div"),l=document.createElement("textarea");s.style.cssText="overflow:auto";var u=r.get("optionToContent"),c=r.get("contentToOption"),d=sU(t);if(Q(u)){var h=u(e.getOption());tt(h)?s.innerHTML=h:at(h)&&s.appendChild(h)}else{l.readOnly=r.get("readOnly");var f=l.style;f.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",f.color=r.get("textColor"),f.borderColor=r.get("textareaBorderColor"),f.backgroundColor=r.get("textareaColor"),l.value=d.value,s.appendChild(l)}var p=d.meta,g=document.createElement("div");g.style.cssText="position:absolute;bottom:5px;left:0;right:0";var y="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",m=document.createElement("div"),v=document.createElement("div");y+=";background-color:"+r.get("buttonColor"),y+=";color:"+r.get("buttonTextColor");var b=this;function x(){n.removeChild(i),b._dom=null}Ce(m,"click",x),Ce(v,"click",(function(){if(null==c&&null!=u||null!=c&&null==u)return Ea("It seems you have just provided one of `contentToOption` and `optionToContent` functions but missed the other one. Data change is ignored."),void x();var t;try{t=Q(c)?c(s,e.getOption()):fU(l.value,p)}catch(t){throw x(),new Error("Data view format error "+t)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),x()})),m.innerHTML=a[1],v.innerHTML=a[2],v.style.cssText=m.style.cssText=y,!r.get("readOnly")&&g.appendChild(v),g.appendChild(m),i.appendChild(o),i.appendChild(s),i.appendChild(g),s.style.height=n.clientHeight-80+"px",n.appendChild(i),this._dom=i},e.prototype.remove=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.getDefaultOption=function(t){return{show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:t.getLocaleModel().get(["toolbox","dataView","title"]),lang:t.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"}},e}(VY);function gU(t,e){return W(t,(function(t,n){var r=e&&e[n];if(rt(r)&&!J(r)){rt(t)&&!J(t)||(t={value:t});var i=null!=r.name&&null==t.name;return t=R(t,r),i&&delete t.name,t}return t}))}Aw({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(t,e){var n=[];H(t.newOption.series,(function(t){var r=e.getSeriesByName(t.name)[0];if(r){var i=r.get("data");n.push({name:t.name,data:gU(t.data,i)})}else n.push(N({type:"scatter"},t))})),e.mergeOption(R({series:n},t.newOption))}));var yU=H,mU=fs();function vU(t,e){var n=wU(t);yU(e,(function(e,r){for(var i=n.length-1;i>=0&&!n[i][r];i--);if(i<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(o){var a=o.getPercentRange();n[0][r]={dataZoomId:r,start:a[0],end:a[1]}}}})),n.push(e)}function bU(t){var e=wU(t),n=e[e.length-1];e.length>1&&e.pop();var r={};return yU(n,(function(t,n){for(var i=e.length-1;i>=0;i--)if(t=e[i][n]){r[n]=t;break}})),r}function xU(t){mU(t).snapshots=null}function _U(t){return wU(t).length}function wU(t){var e=mU(t);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var SU=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.onclick=function(t,e){xU(t),e.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(t){return{show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:t.getLocaleModel().get(["toolbox","restore","title"])}},e}(VY);Aw({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")}));var MU=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],IU=function(){function t(t,e,n){var r=this;this._targetInfoList=[];var i=DU(e,t);H(TU,(function(t,e){(!n||!n.include||B(n.include,e)>=0)&&t(i,r._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var r=PU[t.brushType](0,n,e);t.__rangeOffset={offset:$U[t.brushType](r.values,t.range,[1,1]),xyMinMax:r.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){H(t,(function(t){var r=this.findTargetInfo(t,e);r&&!0!==r&&H(r.coordSyses,(function(r){var i=PU[t.brushType](1,r,t.range,!0);n(t,i.values,r,e)}))}),this)},t.prototype.setInputRanges=function(t,e){H(t,(function(t){var n=this.findTargetInfo(t,e);if(yt(!n||!0===n||t.coordRange,"coordRange must be specified when coord index specified."),yt(!n||!0!==n||t.range,"range must be specified in global brush."),t.range=t.range||[],n&&!0!==n){t.panelId=n.panelId;var r=PU[t.brushType](0,n.coordSys,t.coordRange),i=t.__rangeOffset;t.range=i?$U[t.brushType](r.values,i.offset,LU(r.xyMinMax,i.xyMinMax)):r.values}}),this)},t.prototype.makePanelOpts=function(t,e){return W(this._targetInfoList,(function(n){var r=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:yB(r),isTargetByCursor:vB(r,t,n.coordSysModel),getLinearBrushOtherExtent:mB(r)}}))},t.prototype.controlSeries=function(t,e,n){var r=this.findTargetInfo(t,n);return!0===r||r&&B(r.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,r=DU(e,t),i=0;i<n.length;i++){var o=n[i],a=t.panelId;if(a){if(o.panelId===a)return o}else for(var s=0;s<CU.length;s++)if(CU[s](r,o))return o}return!0},t}();function AU(t){return t[0]>t[1]&&t.reverse(),t}function DU(t,e){return gs(t,e,{includeMainTypes:MU})}var TU={grid:function(t,e){var n=t.xAxisModels,r=t.yAxisModels,i=t.gridModels,o=It(),a={},s={};(n||r||i)&&(H(n,(function(t){var e=t.axis.grid.model;o.set(e.id,e),a[e.id]=!0})),H(r,(function(t){var e=t.axis.grid.model;o.set(e.id,e),s[e.id]=!0})),H(i,(function(t){o.set(t.id,t),a[t.id]=!0,s[t.id]=!0})),o.each((function(t){var i=t.coordinateSystem,o=[];H(i.getCartesians(),(function(t,e){(B(n,t.getAxis("x").model)>=0||B(r,t.getAxis("y").model)>=0)&&o.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:OU.grid,xAxisDeclared:a[t.id],yAxisDeclared:s[t.id]})})))},geo:function(t,e){H(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:OU.geo})}))}},CU=[function(t,e){var n=t.xAxisModel,r=t.yAxisModel,i=t.gridModel;return!i&&n&&(i=n.axis.grid.model),!i&&r&&(i=r.axis.grid.model),i&&i===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],OU={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(of(t)),e}},PU={lineX:K(kU,0),lineY:K(kU,1),rect:function(t,e,n,r){var i=t?e.pointToData([n[0][0],n[1][0]],r):e.dataToPoint([n[0][0],n[1][0]],r),o=t?e.pointToData([n[0][1],n[1][1]],r):e.dataToPoint([n[0][1],n[1][1]],r),a=[AU([i[0],o[0]]),AU([i[1],o[1]])];return{values:a,xyMinMax:a}}
vendor: 6,539 bytes, line 33
33,polygon:function(t,e,n,r){var i=[[1/0,-1/0],[1/0,-1/0]];return{values:W(n,(function(n){var o=t?e.pointToData(n,r):e.dataToPoint(n,r);return i[0][0]=Math.min(i[0][0],o[0]),i[1][0]=Math.min(i[1][0],o[1]),i[0][1]=Math.max(i[0][1],o[0]),i[1][1]=Math.max(i[1][1],o[1]),o})),xyMinMax:i}}};function kU(t,e,n,r){yt("cartesian2d"===n.type,"lineX/lineY brush is available only in cartesian2d.");var i=n.getAxis(["x","y"][t]),o=AU(W([0,1],(function(t){return e?i.coordToData(i.toLocalCoord(r[t]),!0):i.toGlobalCoord(i.dataToCoord(r[t]))}))),a=[];return a[t]=o,a[1-t]=[NaN,NaN],{values:o,xyMinMax:a}}var $U={lineX:K(EU,0),lineY:K(EU,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return W(t,(function(t,r){return[t[0]-n[0]*e[r][0],t[1]-n[1]*e[r][1]]}))}};function EU(t,e,n,r){return[e[0]-r[t]*n[0],e[1]-r[t]*n[1]]}function LU(t,e){var n=NU(t),r=NU(e),i=[n[0]/r[0],n[1]/r[1]];return isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i}function NU(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var RU=H,FU=ls("toolbox-dataZoom_"),BU=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.render=function(t,e,n,r){this._brushController||(this._brushController=new $F(n.getZr()),this._brushController.on("brush",q(this._onBrush,this)).mount()),HU(t,e,this,r,n),VU(t,e)},e.prototype.onclick=function(t,e,n){jU[n].call(this)},e.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},r=this.ecModel;this._brushController.updateCovers([]),new IU(zU(this.model),r,{include:["grid"]}).matchOutputRanges(e,r,(function(t,e,n){if("cartesian2d"===n.type){var r=t.brushType;"rect"===r?(i("x",n,e[0]),i("y",n,e[1])):i({lineX:"x",lineY:"y"}[r],n,e)}})),vU(r,n),this._dispatchZoomAction(n)}function i(t,e,i){var a=e.getAxis(t),s=a.model,l=o(t,s,r),u=l.findRepresentativeAxisProxy(s).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(i=iF(0,i.slice(),a.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),l&&(n[l.id]={dataZoomId:l.id,startValue:i[0],endValue:i[1]})}function o(t,e,n){var r;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(t,e.componentIndex)&&(r=n)})),r}},e.prototype._dispatchZoomAction=function(t){var e=[];RU(t,(function(t,n){e.push($(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},e}(VY),jU={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(bU(this.ecModel))}};function zU(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}function VU(t,e){t.setIconStatus("back",_U(e)>1?"emphasis":"normal")}function HU(t,e,n,r,i){var o=n._isZoomActive;r&&"takeGlobalCursor"===r.type&&(o="dataZoomSelect"===r.key&&r.dataZoomSelectActive),n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var a=new IU(zU(t),e,{include:["grid"]}).makePanelOpts(i,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(a).enableBrush(!(!o||!a.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}function WU(t){t.registerComponentModel(YY),t.registerComponentView(XY),WY("saveAsImage",KY),WY("magicType",tU),WY("dataView",pU),WY("dataZoom",BU),WY("restore",SU),zw(zY)}Hg("dataZoom",(function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var r=e.getModel(n),i=[],o=gs(t,zU(r));return RU(o.xAxisModels,(function(t){return a(t,"xAxis","xAxisIndex")})),RU(o.yAxisModels,(function(t){return a(t,"yAxis","yAxisIndex")})),i}function a(t,e,n){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:r.get("filterMode",!0)||"filter",id:FU+e+o};a[n]=o,i.push(a)}}));var GU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(bg);function YU(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function UU(t){if(a.domSupported)for(var e=document.documentElement.style,n=0,r=t.length;n<r;n++)if(t[n]in e)return t[n]}var ZU=UU(["transform","webkitTransform","OTransform","MozTransform","msTransform"]);function XU(t,e){if(!t)return e;e=Up(e,!0);var n=t.indexOf(e);return(t=-1===n?e:"-"+t.slice(0,n)+"-"+e).toLowerCase()}function qU(t,e){var n=t.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(t);return n?e?n[e]:n:null}var KU=XU(UU(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),"transition"),JU=XU(ZU,"transform"),QU="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(a.transform3dSupported?"will-change:transform;":"");function tZ(t){return t="left"===t?"right":"right"===t?"left":"top"===t?"bottom":"top"}function eZ(t,e,n){if(!tt(n)||"inside"===n)return"";var r=t.get("backgroundColor"),i=t.get("borderWidth");e=rg(e);var o,a=tZ(n),s=Math.max(1.5*Math.round(i),6),l="",u=JU+":";B(["left","right"],a)>-1?(l+="top:50%",u+="translateY(-50%) rotate("+(o="left"===a?-225:-45)+"deg)"):(l+="left
33:50%",u+="translateX(-50%) rotate("+(o="top"===a?225:45)+"deg)");var c=o*Math.PI/180,d=s+i,h=d*Math.abs(Math.cos(c))+d*Math.abs(Math.sin(c)),f=e+" solid "+i+"px;";return'<div style="'+["position:absolute;width:"+s+"px;height:"+s+"px;z-index:-1;",(l+=";"+a+":-"+Math.round(100*((h-Math.SQRT2*i)/2+Math.SQRT2*i-(h-d)/2))/100+"px")+";"+u+";","border-bottom:"+f,"border-right:"+f,"background-color:"+r+";"].join("")+'"></div>'}function nZ(t,e){var n="cubic-bezier(0.23,1,0.32,1)",r=" "+t/2+"s "+n,i="opacity"+r+",visibility"+r;return e||(r=" "+t+"s "+n,i+=a.transformSupported?","+JU+r:",left"+r+",top"+r),KU+":"+i}function rZ(t,e,n){var r=t.toFixed(0)+"px",i=e.toFixed(0)+"px";if(!a.transformSupported)return n?"top:"+i+";left:"+r+";":[["top",i],["left",r]];var o=a.transform3dSupported,s="translate"+(o?"3d":"")+"("+r+","+i+(o?",0":"")+")";return n?"top:0;left:0;"+JU+":"+s+";":[["top",0],["left",0],[ZU,s]]}function iZ(t){var e=[],n=t.get("fontSize"),r=t.getTextColor();r&&e.push("color:"+r),e.push("font:"+t.getFont()),n&&e.push("line-height:"+Math.round(3*n/2)+"px");var i=t.get("textShadowColor"),o=t.get("textShadowBlur")||0,a=t.get("textShadowOffsetX")||0,s=t.get("textShadowOffsetY")||0;return i&&o&&e.push("text-shadow:"+a+"px "+s+"px "+o+"px "+i),H(["decoration","align"],(function(n){var r=t.get(n);r&&e.push("text-"+n+":"+r)})),e.join(";")}function oZ(t,e,n){var r=[],i=t.get("transitionDuration"),o=t.get("backgroundColor"),a=t.get("shadowBlur"),s=t.get("shadowColor"),l=t.get("shadowOffsetX"),u=t.get("shadowOffsetY"),c=t.getModel("textStyle"),d=Tv(t,"html"),h=l+"px "+u+"px "+a+"px "+s;return r.push("box-shadow:"+h),e&&i&&r.push(nZ(i,n)),o&&r.push("background-color:"+o),H(["width","color","radius"],(function(e){var n="border-"+e,i=Up(n),o=t.get(i);null!=o&&r.push(n+":"+o+("color"===e?"":"px"))})),r.push(iZ(c)),null!=d&&r.push("padding:"+Zp(d).join("px ")+"px"),r.join(";")+";"}function aZ(t,e,n,r,i){var o=e&&e.painter;if(n){var a=o&&o.getViewportRoot();a&&fe(t,a,n,r,i)}else{t[0]=r,t[1]=i;var s=o&&o.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var sZ=function(){function t(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,a.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var r=this._zr=t.getZr(),i=e.appendTo,o=i&&(tt(i)?document.querySelector(i):at(i)?i:Q(i)&&i(t.getDom()));aZ(this._styleCoord,r,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(n),this._api=t,this._container=o;var s=this;n.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},n.onmousemove=function(t){if(t=t||window.event,!s._enterable){var e=r.handler;De(r.painter.getViewportRoot(),t,!0),e.dispatch("mousemove",t)}},n.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return t.prototype.update=function(t){if(!this._container){var e=this._api.getDom(),n=qU(e,"position"),r=e.style;"absolute"!==r.position&&"absolute"!==n&&(r.position="relative")}var i=t.get("alwaysShowContent");i&&this._moveIfResized(),this._alwaysShowContent=i,this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,r=n.style,i=this._styleCoord;n.innerHTML?r.cssText=QU+oZ(t,!this._firstShow,this._longHide)+rZ(i[0],i[1],!0)+"border-color:"+rg(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):r.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,r,i){var o=this.el;if(null!=t){var a="";if(tt(i)&&"item"===n.get("trigger")&&!YU(n)&&(a=eZ(n,r,i)),tt(t))o.innerHTML=t+a;else if(t){o.innerHTML="",J(t)||(t=[t]);for(var s=0;s<t.length;s++)at(t[s])&&t[s].parentNode!==o&&o.appendChild(t[s]);if(a&&o.childNodes.length){var l=document.createElement("div");l.innerHTML=a,o.appendChild(l)}}}else o.innerHTML=""},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return[t.offsetWidth,t.offsetHeight]},t.prototype.moveTo=function(t,e){var n=this._styleCoord;if(aZ(n,this._zr,this._container,t,e),null!=n[0]&&null!=n[1]){var r=this.el.style;H(rZ(n[0],n[1]),(function(t){r[t[0]]=t[1]}))}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){var t=this,e=this.el.style;e.visibility="hidden",e.opacity="0",a.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout((function(){return t._longHide=!0}),500)},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(q(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var t=this.el.parentNode;t&&t.removeChild(this.el),this.el=this._container=null},t}(),lZ=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),dZ(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized(),this._alwaysShowContent=e},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,n,r,i){var o=this;
vendor: 9,761 bytes, line 33
33rt(t)&&Ba("Passing DOM nodes as content is not supported in richText tooltip!"),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new Bu({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:r,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:Tv(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),H(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],(function(t){o.el.style[t]=n.get(t)})),H(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],(function(t){o.el.style[t]=a.get(t)||0})),this._zr.add(this.el);var s=this;this.el.on("mouseover",(function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0})),this.el.on("mouseout",(function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1}))},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=cZ(t.style);return[e.width+n.left+n.right,e.height+n.top+n.bottom]},t.prototype.moveTo=function(t,e){var n=this.el;if(n){var r=this._styleCoord;dZ(r,this._zr,t,e),t=r[0],e=r[1];var i=n.style,o=uZ(i.borderWidth||0),a=cZ(i);n.x=t+o+a.left,n.y=e+o+a.top,n.markRedraw()}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(q(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function uZ(t){return Math.max(0,t)}function cZ(t){var e=uZ(t.shadowBlur||0),n=uZ(t.shadowOffsetX||0),r=uZ(t.shadowOffsetY||0);return{left:uZ(e-n),right:uZ(e+n),top:uZ(e-r),bottom:uZ(e+r)}}function dZ(t,e,n,r){t[0]=n,t[1]=r,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var hZ=new Lu({shape:{x:-1,y:-1,width:2,height:2}}),fZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(t,e){if(!a.node&&e.getDom()){var n=t.getComponent("tooltip"),r=this._renderMode=ws(n.get("renderMode"));this._tooltipContent="richText"===r?new lZ(e):new sZ(e,{appendTo:n.get("appendToBody",!0)?"body":n.get("appendTo",!0)})}},e.prototype.render=function(t,e,n){if(!a.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n;var r=this._tooltipContent;r.update(t),r.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?ib(this,"_updatePosition",50,"fixRate"):ob(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel.get("triggerOn");MW("itemTooltip",this._api,q((function(e,n,r){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,r):"leave"===e&&this._hide(r))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,r=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==r&&"click"!==r){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&i.manuallyShowTip(t,e,n,{x:i._lastX,y:i._lastY,dataByCoordSys:i._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,r){if(r.from!==this.uid&&!a.node&&n.getDom()){var i=gZ(r,n);this._ticket="";var o=r.dataByCoordSys,s=xZ(r,e,n);if(s){var l=s.el.getBoundingRect().clone();l.applyTransform(s.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:s.el,position:r.position,positionDefault:"bottom"},i)}else if(r.tooltip&&null!=r.x&&null!=r.y){var u=hZ;u.x=r.x,u.y=r.y,u.update(),Qu(u).tooltipConfig={name:null,option:r.tooltip},this._tryShow({offsetX:r.x,offsetY:r.y,target:u},i)}else if(o)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:o,tooltipOption:r.tooltipOption},i);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,r))return;var c=kW(r,e),d=c.point[0],h=c.point[1];null!=d&&null!=h&&this._tryShow({offsetX:d,offsetY:h,target:c.el,position:r.position,positionDefault:"bottom"},i)}else null!=r.x&&null!=r.y&&(n.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:n.getZr().findHover(r.x,r.y).target},i))}},e.prototype.manuallyHideTip=function(t,e,n,r){var i=this._tooltipContent;this._tooltipModel&&i.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,r.from!==this.uid&&this._hide(gZ(r,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,r){var i=r.seriesIndex,o=r.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=i&&null!=o&&null!=a){var s=e.getSeriesByIndex(i);if(s&&"axis"===pZ([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:o,position:r.position}),!0}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var r=t.dataByCoordSys;if(r&&r.length)this._showAxisTooltip(r,t);else if(n){var i,o;if("legend"===Qu(n).ssrType)return;this._lastDataByCoordSys=null,qb(n,(function(t){return null!=Qu(t).dataIndex?(i=t,!0):null!=Qu(t).tooltipConfig?(o=t,!0):void 0}),!0),i?this._showSeriesItemTooltip(t,i,e):o?this._showComponentItemTooltip(t,o,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=q(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,r=this._tooltipModel,i=[e.offsetX,e.offsetY],o=pZ([e.tooltipOption],r),a=this._renderMode,s=[],l=pv("section",{blocks:[],noHeader:!0}),u=[],c=new Cv;H(t,(function(t){H(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),i=t.value;if(e&&null!=i){var o=dW(i,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),d=pv("section",{header:o,noHeader:!mt(o),sortBlocks:!0,blocks:[]});l.blocks.push(d),H(t.seriesDataIndices,(function(l){var h=n.getSeriesByIndex(l.seriesIndex),f=l.dataIndexInside,p=h.getDataParams(f);if(!(p.dataIndex<0)){p.axisDim=t.axisDim,p.axisIndex=t.axisIndex,p.axisType=t.axisType,p.axisId=t.axisId,p.axisValue=XM(e.axis,{value:i}),p.axisValueLabel=o,p.marker=c.makeTooltipMarker("item",rg(p.color),a);var g=Im(h.formatTooltip(f,!0,null)),y=g.frag;if(y){var m=pZ([h],r).get("valueFormatter");d.blocks.push(m?N({valueFormatter:m},y):y)}g.text&&u.push(g.text),s.push(p)}}))}}))})),l.blocks.reverse(),u.reverse();var d=e.position,h=o.get("order"),f=xv(l,c,a,h,n.get("useUTC"),o.get("textStyle"));f&&u.unshift(f);var p="richText"===a?"\n\n":"<br/>",g=u.join(p);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,d,i[0],i[1],this._tooltipContent,s):this._showTooltipContent(o,g,s,Math.random()+"",i[0],i[1],d,null,c)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var r=this._ecModel,i=Qu(e),o=i.seriesIndex,a=r.getSeriesByIndex(o),s=i.dataModel||a,l=i.dataIndex,u=i.dataType,c=s.getData(u),d=this._renderMode,h=t.positionDefault,f=pZ([c.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,h?{position:h}:null),p=f.get("trigger");if(null==p||"item"===p){var g=s.getDataParams(l,u),y=new Cv;g.marker=y.makeTooltipMarker("item",rg(g.color),d);var m=Im(s.formatTooltip(l,!1,u)),v=f.get("order"),b=f.get("valueFormatter"),x=m.frag,_=x?xv(b?N({valueFormatter:b},x):x,y,d,v,r.get("useUTC"),f.get("textStyle")):m.text,w="item_"+s.name+"_"+l;this._showOrMove(f,(function(){this._showTooltipContent(f,_,g,w,t.offsetX,t.offsetY,t.position,t.target,y)})),n({type:"showTip",dataIndexInside:l,dataIndex:c.getRawIndex(l),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var r="html"===this._renderMode,i=Qu(e),o=i.tooltipConfig.option||{},a=o.encodeHTMLContent;tt(o)&&(o={content:o,formatter:o},a=!0),a&&r&&o.content&&((o=$(o)).content=xe(o.content));var s=[o],l=this._ecModel.getComponent(i.componentMainType,i.componentIndex);l&&s.push(l),s.push({formatter:o.content});var u=t.positionDefault,c=pZ(s,this._tooltipModel,u?{position:u}:null),d=c.get("content"),h=Math.random()+"",f=new Cv;this._showOrMove(c,(function(){var n=$(c.get("formatterParams")||{});this._showTooltipContent(c,d,n,h,t.offsetX,t.offsetY,t.position,e,f)})),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,r,i,o,a,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent;u.setEnterable(t.get("enterable"));var c=t.get("formatter");a=a||t.get("position");var d=e,h=this._getNearestPoint([i,o],n,t.get("trigger"),t.get("borderColor")).color;if(c)if(tt(c)){var f=t.ecModel.get("useUTC"),p=J(n)?n[0]:n;d=c,p&&p.axisType&&p.axisType.indexOf("time")>=0&&(d=Dp(p.axisValue,d,f)),d=Jp(d,n,!0)}else if(Q(c)){var g=q((function(e,r){e===this._ticket&&(u.setContent(r,l,t,h,a),this._updatePosition(t,a,i,o,u,n,s))}),this);this._ticket=r,d=c(n,r,g)}else d=c;u.setContent(d,l,t,h,a),u.show(t,h),this._updatePosition(t,a,i,o,u,n,s)}},e.prototype._getNearestPoint=function(t,e,n,r){return"axis"===n||J(e)?{color:r||("html"===this._renderMode?"#fff":"none")}:J(e)?void 0:{color:r||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,r,i,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var u=i.getSize(),c=t.get("align"),d=t.get("verticalAlign"),h=a&&a.getBoundingRect
vendor: 6,314 bytes, line 33
33().clone();if(a&&h.applyTransform(a.transform),Q(e)&&(e=e([n,r],o,i.el,h,{viewSize:[s,l],contentSize:u.slice()})),J(e))n=oa(e[0],s),r=oa(e[1],l);else if(rt(e)){var f=e;f.width=u[0],f.height=u[1];var p=dg(f,{width:s,height:l});n=p.x,r=p.y,c=null,d=null}else if(tt(e)&&a)n=(g=vZ(e,h,u,t.get("borderWidth")))[0],r=g[1];else{var g;n=(g=yZ(n,r,i,s,l,c?null:20,d?null:20))[0],r=g[1]}c&&(n-=bZ(c)?u[0]/2:"right"===c?u[0]:0),d&&(r-=bZ(d)?u[1]/2:"bottom"===d?u[1]:0),YU(t)&&(n=(g=mZ(n,r,i,s,l))[0],r=g[1]),i.moveTo(n,r)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,r=this._cbParamsList,i=!!n&&n.length===t.length;return i&&H(n,(function(n,o){var a=n.dataByAxis||[],s=(t[o]||{}).dataByAxis||[];(i=i&&a.length===s.length)&&H(a,(function(t,n){var o=s[n]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];(i=i&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length)&&H(a,(function(t,e){var n=l[e];i=i&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),r&&H(t.seriesDataIndices,(function(t){var n=t.seriesIndex,o=e[n],a=r[n];o&&a&&a.data!==o.data&&(i=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!i},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!a.node&&e.getDom()&&(ob(this,"_updatePosition"),this._tooltipContent.dispose(),OW("itemTooltip",e))},e.type="tooltip",e}(Wv);function pZ(t,e,n){var r,i=e.ecModel;n?(r=new Xf(n,i,i),r=new Xf(e.option,r,i)):r=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof Xf&&(a=a.get("tooltip",!0)),tt(a)&&(a={formatter:a}),a&&(r=new Xf(a,r,i)))}return r}function gZ(t,e){return t.dispatchAction||q(e.dispatchAction,e)}function yZ(t,e,n,r,i,o,a){var s=n.getSize(),l=s[0],u=s[1];return null!=o&&(t+l+o+2>r?t-=l+o:t+=o),null!=a&&(e+u+a>i?e-=u+a:e+=a),[t,e]}function mZ(t,e,n,r,i){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,r)-a,e=Math.min(e+s,i)-s,[t=Math.max(t,0),e=Math.max(e,0)]}function vZ(t,e,n,r){var i=n[0],o=n[1],a=Math.ceil(Math.SQRT2*r)+8,s=0,l=0,u=e.width,c=e.height;switch(t){case"inside":s=e.x+u/2-i/2,l=e.y+c/2-o/2;break;case"top":s=e.x+u/2-i/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-i/2,l=e.y+c+a;break;case"left":s=e.x-i-a,l=e.y+c/2-o/2;break;case"right":s=e.x+u+a,l=e.y+c/2-o/2}return[s,l]}function bZ(t){return"center"===t||"middle"===t}function xZ(t,e,n){var r=ys(t).queryOptionMap,i=r.keys()[0];if(i&&"series"!==i){var o,a=bs(e,i,r.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(a)return n.getViewOfComponentModel(a).group.traverse((function(e){var n=Qu(e).tooltipConfig;if(n&&n.name===t.name)return o=e,!0})),o?{componentMainType:i,componentIndex:a.componentIndex,el:o}:void 0}}function _Z(t){zw(GW),t.registerComponentModel(GU),t.registerComponentView(fZ),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},Ot),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},Ot)}var wZ=["rect","polygon","keep","clear"];function SZ(t,e){var n=Ha(t?t.brush:[]);if(n.length){var r=[];H(n,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(r=r.concat(e))}));var i=t&&t.toolbox;J(i)&&(i=i[0]),i||(i={feature:{}},t.toolbox=[i]);var o=i.feature||(i.feature={}),a=o.brush||(o.brush={}),s=a.type||(a.type=[]);s.push.apply(s,r),MZ(s),e&&!s.length&&s.push.apply(s,wZ)}}function MZ(t){var e={};H(t,(function(t){e[t]=1})),t.length=0,H(e,(function(e,n){t.push(n)}))}var IZ=H;function AZ(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function DZ(t,e,n){var r={};return IZ(e,(function(e){var o=r[e]=i();IZ(t[e],(function(t,r){if(gL.isValidType(r)){var i={type:r,visual:t};n&&n(i,e),o[r]=new gL(i),"opacity"===r&&((i=$(i)).type="colorAlpha",o.__hidden.__alphaForOpacity=new gL(i))}}))})),r;function i(){var t=function(){};return t.prototype.__hidden=t.prototype,new t}}function TZ(t,e,n){var r;H(n,(function(t){e.hasOwnProperty(t)&&AZ(e[t])&&(r=!0)})),r&&H(n,(function(n){e.hasOwnProperty(n)&&AZ(e[n])?t[n]=$(e[n]):delete t[n]}))}function CZ(t,e,n,r,i,o){var a,s={};function l(t){return Wb(n,a,t)}function u(t,e){Yb(n,a,t,e)}function c(t,c){a=null==o?t:c;var d=n.getRawDataItem(a);if(!d||!1!==d.visualMap)for(var h=r.call(i,t),f=e[h],p=s[h],g=0,y=p.length;g<y;g++){var m=p[g];f[m]&&f[m].applyVisual(t,l,u)}}H(t,(function(t){var n=gL.prepareVisualTypes(e[t]);s[t]=n})),null==o?n.each(c):n.each([o],c)}function OZ(t,e,n,r){var i={};return H(t,(function(t){var n=gL.prepareVisualTypes(e[t]);i[t]=n})),{progress:function(t,o){var a,s;function l(t){return Wb(o,s,t)}function u(t,e){Yb(o,s,t,e)}null!=r&&(a=o.getDimensionIndex(r));for(var c=o.getStore();null!=(s=t.next());){var d=o.getRawDataItem(s);if(!d||!1!==d.visualMap)for(var h=null!=r?c.get(a,s):s,f=n(h),p=e[f],g=i[f],y=0,m=g.length;y<m;y++){var v=g[y];p[v]&&p[v].applyVisual(h,l,u)}}}}}function PZ(t){var e=t.brushType,n={point:function(r){return kZ[e].point(r,n,t)},rect:function(r){return kZ[e].rect(r,n,t)}};return n}var kZ={lineX:$Z(0),lineY:$Z(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&dI(n.range,t[0],t[1])},rect:function(t,e,n){var r=n.range;if(!t||r.length<=1)return!1;var i=t.x,o=t.y,a=t.width,s=t.height,l=r[0];return!!(dI(r,i,o)||dI(r,i+a,o)||dI(r,i,o+s)||dI(r,i+a,o+s)||nn.create(t).contain(l[0],l[1])||pf(i,o,i+a,o,r)||pf(i,o,i,o+s,r)||pf(i+a,o,i+a,o+s,r)||pf(i,o+s,i+a,o+s,r))||void 0}}};function $Z(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,r){if(e){var i=r.range;return EZ(e[t],i)}},rect:function(r,i,o){if(r){var a=o.range,s=[r[e[t]],r[e[t]]+r[n[t]]];return s[1]<s[0]&&s.reverse(),EZ(s[0],a)||EZ(s[1],a)||EZ(a[0],s)||EZ(a[1],s)}}}}function EZ(t,e){return e[0]<=t&&t<=e[1]}var LZ=["inBrush","outOfBrush"],NZ="__ecBrushSelect",RZ="__ecInBrushSelectEvent";function FZ(t){t.eachComponent({mainType:"brush"},(function(e){(e.brushTargetManager=new IU(e.option,t)).setInputRanges(e.areas,t)}))}function BZ(t,e,n){var r,i,o=[];t.eachComponent({mainType:"brush"},(function(t){n&&"takeGlobalCursor"===n.type&&t.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})})),FZ(t),t.eachComponent({mainType:"brush"}
vendor: 21,095 bytes, line 33
33,(function(e,n){var a={brushId:e.id,brushIndex:n,brushName:e.name,areas:$(e.areas),selected:[]};o.push(a);var s=e.option,l=s.brushLink,u=[],c=[],d=[],h=!1;n||(r=s.throttleType,i=s.throttleDelay);var f=W(e.areas,(function(t){var e=WZ[t.brushType],n=R({boundingRect:e?e(t):void 0},t);return n.selectors=PZ(n),n})),p=DZ(e.option,LZ,(function(t){t.mappingMethod="fixed"}));function g(t){return"all"===l||!!u[t]}function y(t){return!!t.length}function m(t,e){var n=t.coordinateSystem;h=h||n.hasAxisBrushed(),g(e)&&n.eachActiveState(t.getData(),(function(t,e){"active"===t&&(c[e]=1)}))}function v(n,r,i){if(n.brushSelector&&!HZ(e,r)&&(H(f,(function(r){e.brushTargetManager.controlSeries(r,n,t)&&i.push(r),h=h||y(i)})),g(r)&&y(i))){var o=n.getData();o.each((function(t){VZ(n,i,o,t)&&(c[t]=1)}))}}J(l)&&H(l,(function(t){u[t]=1})),t.eachSeries((function(t,e){var n=d[e]=[];"parallel"===t.subType?m(t,e):v(t,e,n)})),t.eachSeries((function(t,e){var n={seriesId:t.id,seriesIndex:e,seriesName:t.name,dataIndex:[]};a.selected.push(n);var r=d[e],i=t.getData(),o=g(e)?function(t){return c[t]?(n.dataIndex.push(i.getRawIndex(t)),"inBrush"):"outOfBrush"}:function(e){return VZ(t,r,i,e)?(n.dataIndex.push(i.getRawIndex(e)),"inBrush"):"outOfBrush"};(g(e)?h:y(r))&&CZ(LZ,p,i,o)}))})),jZ(e,r,i,o,n)}function jZ(t,e,n,r,i){if(i){var o=t.getZr();o[RZ]||(o[NZ]||(o[NZ]=zZ),ib(o,NZ,n,e)(t,r))}}function zZ(t,e){if(!t.isDisposed()){var n=t.getZr();n[RZ]=!0,t.dispatchAction({type:"brushSelect",batch:e}),n[RZ]=!1}}function VZ(t,e,n,r){for(var i=0,o=e.length;i<o;i++){var a=e[i];if(t.brushSelector(r,n,a.selectors,a))return!0}}function HZ(t,e){var n=t.option.seriesIndex;return null!=n&&"all"!==n&&(J(n)?B(n,e)<0:e!==n)}var WZ={rect:function(t){return GZ(t.range)},polygon:function(t){for(var e,n=t.range,r=0,i=n.length;r<i;r++){e=e||[[1/0,-1/0],[1/0,-1/0]];var o=n[r];o[0]<e[0][0]&&(e[0][0]=o[0]),o[0]>e[0][1]&&(e[0][1]=o[0]),o[1]<e[1][0]&&(e[1][0]=o[1]),o[1]>e[1][1]&&(e[1][1]=o[1])}return e&&GZ(e)}};function GZ(t){return new nn(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var YZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new $F(e.getZr())).on("brush",q(this._onBrush,this)).mount()},e.prototype.render=function(t,e,n,r){this.model=t,this._updateController(t,e,n,r)},e.prototype.updateTransform=function(t,e,n,r){FZ(e),this._updateController(t,e,n,r)},e.prototype.updateVisual=function(t,e,n,r){this.updateTransform(t,e,n,r)},e.prototype.updateView=function(t,e,n,r){this._updateController(t,e,n,r)},e.prototype._updateController=function(t,e,n,r){(!r||r.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var e=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:$(n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:$(n),$from:e})},e.type="brush",e}(Wv),UZ="#ddd",ZZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.areas=[],n.brushOption={},n}return i(e,t),e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&TZ(n,t,["inBrush","outOfBrush"]);var r=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:UZ},r.hasOwnProperty("liftZ")||(r.liftZ=5)},e.prototype.setAreas=function(t){yt(J(t)),H(t,(function(t){yt(t.brushType,"Illegal areas")})),t&&(this.areas=W(t,(function(t){return XZ(this.option,t)}),this))},e.prototype.setBrushOption=function(t){this.brushOption=XZ(this.option,t),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},e}(bg);function XZ(t,e){return E({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new Xf(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var qZ=["rect","polygon","lineX","lineY","keep","clear"],KZ=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.render=function(t,e,n){var r,i,o;e.eachComponent({mainType:"brush"},(function(t){r=t.brushType,i=t.brushOption.brushMode||"single",o=o||!!t.areas.length})),this._brushType=r,this._brushMode=i,H(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===i:"clear"===e?o:e===r)?"emphasis":"normal")}))},e.prototype.updateView=function(t,e,n){this.render(t,e,n)},e.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return H(t.get("type",!0),(function(t){e[t]&&(n[t]=e[t])})),n},e.prototype.onclick=function(t,e,n){var r=this._brushType,i=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?r:r!==n&&n,brushMode:"keep"===n?"multiple"===i?"single":"multiple":i}})},e.getDefaultOption=function(t){return{show:!0,type:qZ.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])}},e}(VY);function JZ(t){t.registerComponentView(YZ),t.registerComponentModel(ZZ),t.registerPreprocessor(SZ),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,BZ),t.registerAction({type:"brush",event:"brush",update:"updateVisual"},(function(t,e){e.eachComponent({mainType:"brush",query:t},(function(e){e.setAreas(t.areas)}))})),t.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},Ot),t.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},Ot),WY("brush",KZ)}var QZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return i(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(bg),tX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var r=this.group,i=t.getModel("textStyle"),o=t.getModel("subtextStyle"),a=t.get("textAlign"),s=ht(t.get("textBaseline"),t.get("textVerticalAlign")),l=new Bu({style:Df(i,{text:t.get("text"),fill:i.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),c=t.get("subtext"),d=new Bu({style:Df(o,{text:c,fill:o.getTextColor(),y:u.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),h=t.get("link"),f=t.get("sublink"),p=t.get("triggerEvent",!0);l.silent=!h&&!p,d.silent=!f&&!p,h&&l.on("click",(function(){ig(h,"_"+t.get("target"))})),f&&d.on("click",(function(){ig(f,"_"+t.get("subtarget"))})),Qu(l).eventData=Qu(d).eventData=p?{componentType:"title",componentIndex:t.componentIndex}:null,r.add(l),c&&r.add(d);var g=r.getBoundingRect(),y=t.getBoxLayoutParams();y.width=g.width,y.height=g.height;var m=dg(y,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));a||("middle"===(a=t.get("left")||t.get("right"))&&(a="center"),"right"===a?m.x+=m.width:"center"===a&&(m.x+=m.width/2)),s||("center"===(s=t.get("top")||t.get("bottom"))&&(s="middle"),"bottom"===s?m.y+=m.height:"middle"===s&&(m.y+=m.height/2),s=s||"top"),r.x=m.x,r.y=m.y,r.markRedraw();var v={align:a,verticalAlign:s};l.setStyle(v),d.setStyle(v),g=r.getBoundingRect();var b=m.margin,x=t.getItemStyle(["color","opacity"]);x.fill=t.get("backgroundColor");var _=new Lu({shape:{x:g.x-b[3],y:g.y-b[0],width:g.width+b[1]+b[3],height:g.height+b[0]+b[2],r:t.get("borderRadius")},style:x,subPixelOptimize:!0,silent:!0});r.add(_)}},e.type="title",e}(Wv);function eX(t){t.registerComponentModel(QZ),t.registerComponentView(tX)}var nX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode="box",n}return i(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._initData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t,e=this.option,n=e.data||[],r=e.axisType,i=this._names=[];"category"===r?(t=[],H(n,(function(e,n){var r,o=rs(Ya(e),"");rt(e)?(r=$(e)).value=n:r=n,t.push(r),i.push(o)}))):t=n;var o={category:"ordinal",time:"time",value:"number"}[r]||"number";(this._data=new vS([{name:"value",type:o}],this)).initData(t,i)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},e.type="timeline",e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e}(bg),rX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="timeline.slider",e.defaultOption=tp(nX.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),e}(nX);z(rX,Mm.prototype);var iX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="timeline",e}(Wv),oX=function(t){function e(e,n,r,i){var o=t.call(this,e,n,r)||this;return o.type=i||"value",o}return i(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}(UI),aX=Math.PI,sX=fs(),lX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(t,e){this.api=e},e.prototype.render=function(t,e,n){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var r=this._layout(t,n),i=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(r,t);t.formatTooltip=function(t){return pv("nameValue",{noName:!0,value:a.scale.getLabel({value:t})})},H(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](r,i,a,t)}),this),this._renderAxisLabel(r,o,a,t),this._position(r,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,e){var n,r,i,o,a=t.get(["label","position"]),s=t.get("orient"),l=cX(t,e),u={horizontal:"center",vertical:(n=null==a||"auto"===a?"horizontal"===s?l.y+l.height/2<e.getHeight()/2?"-":"+":l.x+l.width/2<e.getWidth()/2?"+":"-":tt(a)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[s][a]:a)>=0||"+"===n?"left":"right"},c={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},d={horizontal:0,vertical:aX/2},h="vertical"===s?l.height:l.width,f=t.getModel("controlStyle"),p=f.get("show",!0),g=p?f.get("itemSize"):0,y=p?f.get("itemGap"):0,m=g+y,v=t.get(["label","rotate"])||0;v=v*aX/180;var b=f.get("position",!0),x=p&&f.get("showPlayBtn",!0),_=p&&f.get("showPrevBtn",!0),w=p&&f.get("showNextBtn",!0),S=0,M=h;"left"===b||"bottom"===b?(x&&(r=[0,0],S+=m),_&&(i=[S,0],S+=m),w&&(o=[M-g,0],M-=m)):(x&&(r=[M-g,0],M-=m),_&&(i=[0,0],S+=m),w&&(o=[M-g,0],M-=m));var I=[S,M];return t.get("inverse")&&I.reverse(),{viewRect:l,mainLength:h,orient:s,rotation:d[s],labelRotation:v,labelPosOpt:n,labelAlign:t.get(["label","align"])||u[s],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||c[s],playPosition:r,prevBtnPosition:i,nextBtnPosition:o,axisExtent:I,controlSize:g,controlGap:y}},e.prototype._position=function(t,e){var n=this._mainGroup,r=this._labelGroup,i=t.viewRect;if("vertical"===t.orient){var o=Re(),a=i.x,s=i.y+i.height;ze(o,o,[-a,-s]),Ve(o,o,-aX/2),ze(o,o,[a,s]),(i=i.clone()).applyTransform(o)}var l=y(i),u=y(n.getBoundingRect()),c=y(r.getBoundingRect()),d=[n.x,n.y],h=[r.x,r.y];h[0]=d[0]=l[0][0];var f,p=t.labelPosOpt;function g(t){t.originX=l[0][0]-t.x,t.originY=l[1][0]-t.y}function y(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function m(t,e,n,r,i){t[r]+=n[r][i]-e[r][i]}null==p||tt(p)?(m(d,u,l,1,f="+"===p?0:1),m(h,c,l,1,1-f)):(m(d,u,l,1,f=p>=0?0:1),h[1]=d[1]+p),n.setPosition(d),r.setPosition(h),n.rotation=r.rotation=t.rotation,g(n),g(r)},e.prototype._createAxis=function(t,e){var n=e.getData(),r=e.get("axisType"),i=uX(e,r);i.getTicks=function(){return n.mapArray(["value"],(function(t){return{value:t}}))};var o=n.getDataExtent("value");i.setExtent(o[0],o[1]),i.calcNiceTicks();var a=new oX("value",i,t.axisExtent,r);return a.model=e,a},e.prototype._createGroup=function(t){var e=this[t]=new Bo;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,n,r){var i=n.getExtent();if(r.get(["lineStyle","show"])){var o=new fh({shape:{x1:i[0],y1:0,x2:i[1],y2:0},style:N({lineCap:"round"},r.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(o);var a=this._progressLine=new fh({shape:{x1:i[0],x2:this._currentPointer?this._currentPointer.x:i[0],y1:0,y2:0},style:R({lineCap:"round",lineWidth:o.style.lineWidth},r.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(a)}},e.prototype._renderAxisTick=function(t,e,n,r){var i=this,o=r.getData(),a=n.scale.getTicks();this._tickSymbols=[],H(a,(function(t){var a=n.dataToCoord(t.value),s=o.getItemModel(t.value),l=s.getModel("itemStyle"),u=s.getModel(["emphasis","itemStyle"]),c=s.getModel(["progress","itemStyle"]),d={x:a,y:0,onclick:q(i._changeTimeline,i,t.value)},h=hX(s,l,e,d);h.ensureState("emphasis").style=u.getItemStyle(),h.ensureState("progress").style=c.getItemStyle(),Qc(h);var f=Qu(h);s.get("tooltip")?(f.dataIndex=t.value,f.dataModel=r):f.dataIndex=f.dataModel=null,i._tickSymbols.push(h)}))},e.prototype._renderAxisLabel=function(t,e,n,r){var i=this;if(n.getLabelModel().get("show")){var o=r.getData(),a=n.getViewLabels();this._tickLabels=[],H(a,(function(r){var a=r.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel(["emphasis","label"]),c=s.getModel(["progress","label"]),d=n.dataToCoord(r.tickValue),h=new Bu({x:d,y:0,rotation:t.labelRotation-t.rotation,onclick:q(i._changeTimeline,i,a),silent:!1,style:Df(l,{text:r.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});h.ensureState("emphasis").style=Df(u),h.ensureState("progress").style=Df(c),e.add(h),Qc(h),sX(h).dataIndex=a,i._tickLabels.push(h)}))}},e.prototype._renderControl=function(t,e,n,r){var i=t.controlSize,o=t.rotation,a=r.getModel("controlStyle").getItemStyle(),s=r.getModel(["emphasis","controlStyle"]).getItemStyle(),l=r.getPlayState(),u=r.get("inverse",!0);function c(t,n,l,u){if(t){var c=Mo(ht(r.get(["controlStyle",n+"BtnSize"]),i),i),d=dX(r,n+"Icon",[0,-c/2,c,c],{x:t[0],y:t[1],originX:i/2,originY:0,rotation:u?-o:0,rectHover:!0,style:a,onclick:l});d.ensureState("emphasis").style=s,e.add(d),Qc(d)}}c(t.nextBtnPosition,"next",q(this._changeTimeline,this,u?"-":"+")),c(t.prevBtnPosition,"prev",q(this._changeTimeline,this,u?"+":"-")),c(t.playPosition,l?"stop":"play",q(this._handlePlayClick,this,!l),!0)},e.prototype._renderCurrentPointer=function(t,e,n,r){var i=r.getData(),o=r.getCurrentIndex(),a=i.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=q(s._handlePointerDrag,s),t.ondragend=q(s._handlePointerDragend,s),fX(t,s._progressLine,o,n,r,!0)},onUpdate:function(t){fX(t,s._progressLine,o,n,r)}};this._currentPointer=hX(a,a,this._mainGroup,{},this._currentPointer,l)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,e){var n=this._toAxisCoord(t)[0],r=sa(this._axis.getExtent().slice());n>r[1]&&(n=r[1]),n<r[0]&&(n=r[0]),this._currentPointer.x=n,this._currentPointer.markRedraw();var i=this._progressLine;i&&(i.shape.x2=n,i.dirty());var o=this._findNearestTick(n),a=this.model;(e||o!==a.getCurrentIndex()&&a.get("realtime"))&&this._changeTimeline(o)},e.prototype._doPlayStop=function(){var t=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout((function(){var e=t.model;t._changeTimeline(e.getCurrentIndex()+(e.get("rewind",!0)?-1:1))}),this.model.get("playInterval")))},e.prototype._toAxisCoord=function(t){return af(t,this._mainGroup.getL
vendor: 4,381 bytes, line 33
33ocalTransform(),!0)},e.prototype._findNearestTick=function(t){var e,n=this.model.getData(),r=1/0,i=this._axis;return n.each(["value"],(function(n,o){var a=i.dataToCoord(n),s=Math.abs(a-t);s<r&&(r=s,e=o)})),e},e.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},e.prototype._changeTimeline=function(t){var e=this.model.getCurrentIndex();"+"===t?t=e+1:"-"===t&&(t=e-1),this.api.dispatchAction({type:"timelineChange",currentIndex:t,from:this.uid})},e.prototype._updateTicksStatus=function(){var t=this.model.getCurrentIndex(),e=this._tickSymbols,n=this._tickLabels;if(e)for(var r=0;r<e.length;r++)e&&e[r]&&e[r].toggleState("progress",r<t);if(n)for(r=0;r<n.length;r++)n&&n[r]&&n[r].toggleState("progress",sX(n[r]).dataIndex<=t)},e.type="timeline.slider",e}(iX);function uX(t,e){if(e=e||t.get("type"))switch(e){case"category":return new KS({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new vM({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new QS}}function cX(t,e){return dg(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}function dX(t,e,n,r){var i=r.style,o=ff(t.get(["controlStyle",e]),r||{},new nn(n[0],n[1],n[2],n[3]));return i&&o.setStyle(i),o}function hX(t,e,n,r,i,o){var a=e.get("color");i?(i.setColor(a),n.add(i),o&&o.onUpdate(i)):((i=lx(t.get("symbol"),-1,-1,2,2,a)).setStyle("strokeNoScale",!0),n.add(i),o&&o.onCreate(i));var s=e.getItemStyle(["color"]);i.setStyle(s),r=E({rectHover:!0,z2:100},r,!0);var l=ux(t.get("symbolSize"));r.scaleX=l[0]/2,r.scaleY=l[1]/2;var u=cx(t.get("symbolOffset"),l);u&&(r.x=(r.x||0)+u[0],r.y=(r.y||0)+u[1]);var c=t.get("symbolRotate");return r.rotation=(c||0)*Math.PI/180||0,i.attr(r),i.updateTransform(),i}function fX(t,e,n,r,i,o){if(!t.dragging){var a=i.getModel("checkpointStyle"),s=r.dataToCoord(i.getData().get("value",n));if(o||!a.get("animation",!0))t.attr({x:s,y:0}),e&&e.attr({shape:{x2:s}});else{var l={duration:a.get("animationDuration",!0),easing:a.get("animationEasing",!0)};t.stopAnimation(null,!0),t.animateTo({x:s,y:0},l),e&&e.animateTo({shape:{x2:s}},l)}}}function pX(t){t.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(t,e,n){var r=e.getComponent("timeline");return r&&null!=t.currentIndex&&(r.setCurrentIndex(t.currentIndex),!r.get("loop",!0)&&r.isIndexMax()&&r.getPlayState()&&(r.setPlayState(!1),n.dispatchAction({type:"timelinePlayChange",playState:!1,from:t.from}))),e.resetOption("timeline",{replaceMerge:r.get("replaceMerge",!0)}),R({currentIndex:r.option.currentIndex},t)})),t.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(t,e){var n=e.getComponent("timeline");n&&null!=t.playState&&n.setPlayState(t.playState)}))}function gX(t){var e=t&&t.timeline;J(e)||(e=e?[e]:[]),H(e,(function(t){t&&yX(t)}))}function yX(t){var e=t.type,n={number:"value",time:"time"};if(n[e]&&(t.axisType=n[e],delete t.type),mX(t),vX(t,"controlPosition")){var r=t.controlStyle||(t.controlStyle={});vX(r,"position")||(r.position=t.controlPosition),"none"!==r.position||vX(r,"show")||(r.show=!1,delete r.position),delete t.controlPosition}H(t.data||[],(function(t){rt(t)&&!J(t)&&(!vX(t,"value")&&vX(t,"name")&&(t.value=t.name),mX(t))}))}function mX(t){var e=t.itemStyle||(t.itemStyle={}),n=e.emphasis||(e.emphasis={}),r=t.label||t.label||{},i=r.normal||(r.normal={}),o={normal:1,emphasis:1};H(r,(function(t,e){o[e]||vX(i,e)||(i[e]=t)})),n.label&&!vX(r,"emphasis")&&(r.emphasis=n.label,delete n.label)}function vX(t,e){return t.hasOwnProperty(e)}function bX(t){t.registerComponentModel(rX),t.registerComponentView(lX),t.registerSubTypeDefaulter("timeline",(function(){return"slider"})),pX(t),t.registerPreprocessor(gX)}function xX(t,e){if(!t)return!1;for(var n=J(t)?t:[t],r=0;r<n.length;r++)if(n[r]&&n[r][e])return!0;return!1}function _X(t){Wa(t,"label",["show"])}var wX=fs(),SX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.createdBySelf=!1,n}return i(e,t),e.prototype.init=function(t,e,n){if("marker"===this.type)throw new Error("Marker component is abstract component. Use markLine, markPoint, markArea instead.");this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},e.prototype.isAnimationEnabled=function(){if(a.node)return!1;var t=this.__hostSeries;
vendor: 36,734 bytes, line 33
33return this.getShallow("animation")&&t&&t.isAnimationEnabled()},e.prototype.mergeOption=function(t,e){this._mergeOption(t,e,!1,!1)},e.prototype._mergeOption=function(t,e,n,r){var i=this.mainType;n||e.eachSeries((function(t){var n=t.get(this.mainType,!0),o=wX(t)[i];n&&n.data?(o?o._mergeOption(n,e,!0):(r&&_X(n),H(n.data,(function(t){t instanceof Array?(_X(t[0]),_X(t[1])):_X(t)})),N(o=this.createMarkerModelFromSeries(n,this,e),{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),o.__hostSeries=t),wX(t)[i]=o):wX(t)[i]=null}),this)},e.prototype.formatTooltip=function(t,e,n){var r=this.getData(),i=this.getRawValue(t),o=r.getName(t);return pv("section",{header:this.name,blocks:[pv("nameValue",{name:o,value:i,noName:!o,noValue:null==i})]})},e.prototype.getData=function(){return this._data},e.prototype.setData=function(t){this._data=t},e.prototype.getDataParams=function(t,e){var n=Mm.prototype.getDataParams.call(this,t,e),r=this.__hostSeries;return r&&(n.seriesId=r.id,n.seriesName=r.name,n.seriesType=r.subType),n},e.getMarkerModelFromSeries=function(t,e){return wX(t)[e]},e.type="marker",e.dependencies=["series","grid","polar","geo"],e}(bg);z(SX,Mm.prototype);var MX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,r){return new e(t,n,r)},e.type="markPoint",e.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},e}(SX);function IX(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}function AX(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}function DX(t,e,n,r,i,o){var a=[],s=OS(e,r)?e.getCalculationInfo("stackResultDimension"):r,l=LX(e,s,t),u=e.indicesOfNearest(s,l)[0];a[i]=e.get(n,u),a[o]=e.get(s,u);var c=e.get(r,u),d=la(e.get(r,u));return(d=Math.min(d,20))>=0&&(a[o]=+a[o].toFixed(d)),[a,c]}var TX={min:K(DX,"min"),max:K(DX,"max"),average:K(DX,"average"),median:K(DX,"median")};function CX(t,e){if(e){var n=t.getData(),r=t.coordinateSystem,i=r&&r.dimensions;if(!AX(e)&&!J(e.coord)&&J(i)){var o=OX(e,n,r,t);if((e=$(e)).type&&TX[e.type]&&o.baseAxis&&o.valueAxis){var a=B(i,o.baseAxis.dim),s=B(i,o.valueAxis.dim),l=TX[e.type](n,o.baseDataDim,o.valueDataDim,a,s);e.coord=l[0],e.value=l[1]}else e.coord=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis]}if(null!=e.coord&&J(i))for(var u=e.coord,c=0;c<2;c++)TX[u[c]]&&(u[c]=LX(n,n.mapDimension(i[c]),u[c]));else e.coord=[];return e}}function OX(t,e,n,r){var i={};return null!=t.valueIndex||null!=t.valueDim?(i.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,i.valueAxis=n.getAxis(PX(r,i.valueDataDim)),i.baseAxis=n.getOtherAxis(i.valueAxis),i.baseDataDim=e.mapDimension(i.baseAxis.dim)):(i.baseAxis=r.getBaseAxis(),i.valueAxis=n.getOtherAxis(i.baseAxis),i.baseDataDim=e.mapDimension(i.baseAxis.dim),i.valueDataDim=e.mapDimension(i.valueAxis.dim)),i}function PX(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}function kX(t,e){return!(t&&t.containData&&e.coord&&!IX(e))||t.containData(e.coord)}function $X(t,e,n){return!(t&&t.containZone&&e.coord&&n.coord&&!IX(e)&&!IX(n))||t.containZone(e.coord,n.coord)}function EX(t,e){return t?function(t,n,r,i){return Cm(i<2?t.coord&&t.coord[i]:t.value,e[i])}:function(t,n,r,i){return Cm(t.value,e[i])}}function LX(t,e,n){if("average"===n){var r=0,i=0;return t.each(e,(function(t,e){isNaN(t)||(r+=t,i++)})),r/i}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var NX=fs(),RX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(){this.markerGroupMap=It()},e.prototype.render=function(t,e,n){var r=this,i=this.markerGroupMap;i.each((function(t){NX(t).keep=!1})),e.eachSeries((function(t){var i=SX.getMarkerModelFromSeries(t,r.type);i&&r.renderSeries(t,i,e,n)})),i.each((function(t){!NX(t).keep&&r.group.remove(t.group)}))},e.prototype.markKeep=function(t){NX(t).keep=!0},e.prototype.toggleBlurSeries=function(t,e){var n=this;H(t,(function(t){var r=SX.getMarkerModelFromSeries(t,n.type);r&&r.getData().eachItemGraphicEl((function(t){t&&(e?Fc(t):Bc(t))}))}))},e.type="marker",e}(Wv);function FX(t,e,n){var r=e.coordinateSystem;t.each((function(i){var o,a=t.getItemModel(i),s=oa(a.get("x"),n.getWidth()),l=oa(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,i));else if(r){var u=t.get(r.dimensions[0],i),c=t.get(r.dimensions[1],i);o=r.dataToPoint([u,c])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),t.setItemLayout(i,o)}))}var BX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=SX.getMarkerModelFromSeries(t,"markPoint");e&&(FX(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())}),this)},e.prototype.renderSeries=function(t,e,n,r){var i=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new NT),u=jX(i,t,e);e.setData(u),FX(e.getData(),t,r),u.each((function(t){var n=u.getItemModel(t),r=n.getShallow("symbol"),i=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if(Q(r)||Q(i)||Q(o)||Q(s)){var c=e.getRawValue(t),d=e.getDataParams(t);Q(r)&&(r=r(c,d)),Q(i)&&(i=i(c,d)),Q(o)&&(o=o(c,d)),Q(s)&&(s=s(c,d))}var h=n.getModel("itemStyle").getItemStyle(),f=Gb(a,"color");h.fill||(h.fill=f),u.setItemVisual(t,{symbol:r,symbolSize:i,symbolRotate:o,symbolOffset:s,symbolKeepAspect:l,style:h})})),l.updateData(u),this.group.add(l.group),u.eachItemGraphicEl((function(t){t.traverse((function(t){Qu(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(RX);function jX(t,e,n){var r;r=t?W(t&&t.dimensions,(function(t){return N(N({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var i=new vS(r,n),o=W(n.get("data"),K(CX,e));t&&(o=Y(o,K(kX,t)));var a=EX(!!t,r);return i.initData(o,null,a),i}function zX(t){t.registerComponentModel(MX),t.registerComponentView(BX),t.registerPreprocessor((function(t){xX(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})}))}var VX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,r){return new e(t,n,r)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}(SX),HX=fs(),WX=function(t,e,n,r){var i,o=t.getData();if(J(r))i=r;else{var a=r.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=r.xAxis||null!=r.yAxis){var s=void 0,l=void 0;if(null!=r.yAxis||null!=r.xAxis)s=e.getAxis(null!=r.yAxis?"y":"x"),l=dt(r.yAxis,r.xAxis);else{var u=OX(r,o,e,t);s=u.valueAxis,l=LX(o,PS(o,u.valueDataDim),a)}var c="x"===s.dim?0:1,d=1-c,h=$(r),f={coord:[]};h.type=null,h.coord=[],h.coord[d]=-1/0,f.coord[d]=1/0;var p=n.get("precision");p>=0&&nt(l)&&(l=+l.toFixed(Math.min(p,20))),h.coord[c]=f.coord[c]=l,i=[h,f,{type:a,valueIndex:r.valueIndex,value:l}]}else k("Invalid markLine data."),i=[]}var g=[CX(t,i[0]),CX(t,i[1]),N({},i[2])];return g[2].type=g[2].type||null,E(g[2],g[0]),E(g[2],g[1]),g};function GX(t){return!isNaN(t)&&!isFinite(t)}function YX(t,e,n,r){var i=1-t,o=r.dimensions[t];return GX(e[i])&&GX(n[i])&&e[t]===n[t]&&r.getAxis(o).containData(e[t])}function UX(t,e){if("cartesian2d"===t.type){var n=e[0].coord,r=e[1].coord;if(n&&r&&(YX(1,n,r,t)||YX(0,n,r,t)))return!0}return kX(t,e[0])&&kX(t,e[1])}function ZX(t,e,n,r,i){var o,a=r.coordinateSystem,s=t.getItemModel(e),l=oa(s.get("x"),i.getWidth()),u=oa(s.get("y"),i.getHeight());if(isNaN(l)||isNaN(u)){if(r.getMarkerPosition)o=r.getMarkerPosition(t.getValues(t.dimensions,e));else{var c=a.dimensions,d=t.get(c[0],e),h=t.get(c[1],e);o=a.dataToPoint([d,h])}if(QT(a,"cartesian2d")){var f=a.getAxis("x"),p=a.getAxis("y");c=a.dimensions,GX(t.get(c[0],e))?o[0]=f.toGlobalCoord(f.getExtent()[n?0:1]):GX(t.get(c[1],e))&&(o[1]=p.toGlobalCoord(p.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];t.setItemLayout(e,o)}var XX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=SX.getMarkerModelFromSeries(t,"markLine");if(e){var r=e.getData(),i=HX(e).from,o=HX(e).to;i.each((function(e){ZX(i,e,!0,t,n),ZX(o,e,!1,t,n)})),r.each((function(t){r.setItemLayout(t,[i.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},e.prototype.renderSeries=function(t,e,n,r){var i=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new qN);this.group.add(l.group);var u=qX(i,t,e),c=u.from,d=u.to,h=u.line;HX(e).from=c,HX(e).to=d,e.setData(h);var f=e.get("symbol"),p=e.get("symbolSize"),g=e.get("symbolRotate"),y=e.get("symbolOffset");function m(e,n,i){var o=e.getItemModel(n);ZX(e,n,i,t,r);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=Gb(a,"color")),e.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:ht(o.get("symbolOffset",!0),y[i?0:1]),symbolRotate:ht(o.get("symbolRotate",!0),g[i?0:1]),symbolSize:ht(o.get("symbolSize"),p[i?0:1]),symbol:ht(o.get("symbol",!0),f[i?0:1]),style:s})}J(f)||(f=[f,f]),J(p)||(p=[p,p]),J(g)||(g=[g,g]),J(y)||(y=[y,y]),u.from.each((function(t){m(c,t,!0),m(d,t,!1)})),h.each((function(t){var e=h.getItemModel(t).getModel("lineStyle").getLineStyle();h.setItemLayout(t,[c.getItemLayout(t),d.getItemLayout(t)]),null==e.stroke&&(e.stroke=c.getItemVisual(t,"style").fill),h.setItemVisual(t,{fromSymbolKeepAspect:c.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:c.getItemVisual(t,"symbolOffset"),fromSymbolRotate:c.getItemVisual(t,"symbolRotate"),fromSymbolSize:c.getItemVisual(t,"symbolSize"),fromSymbol:c.getItemVisual(t,"symbol"),toSymbolKeepAspect:d.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:d.getItemVisual(t,"symbolOffset"),toSymbolRotate:d.getItemVisual(t,"symbolRotate"),toSymbolSize:d.getItemVisual(t,"symbolSize"),toSymbol:d.getItemVisual(t,"symbol"),style:e})})),l.updateData(h),u.line.eachItemGraphicEl((function(t){Qu(t).dataModel=e,t.traverse((function(t){Qu(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(RX);function qX(t,e,n){var r;r=t?W(t&&t.dimensions,(function(t){return N(N({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var i=new vS(r,n),o=new vS(r,n),a=new vS([],n),s=W(n.get("data"),K(WX,e,t,n));t&&(s=Y(s,K(UX,t)));var l=EX(!!t,r);return i.initData(W(s,(function(t){return t[0]})),null,l),o.initData(W(s,(function(t){return t[1]})),null,l),a.initData(W(s,(function(t){return t[2]}))),a.hasItemOption=!0,{from:i,to:o,line:a}}function KX(t){t.registerComponentModel(VX),t.registerComponentView(XX),t.registerPreprocessor((function(t){xX(t.series,"markLine")&&(t.markLine=t.markLine||{})}))}var JX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,r){return new e(t,n,r)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(SX),QX=fs(),tq=function(t,e,n,r){var i=r[0],o=r[1];if(i&&o){var a=CX(t,i),s=CX(t,o),l=a.coord,u=s.coord;l[0]=dt(l[0],-1/0),l[1]=dt(l[1],-1/0),u[0]=dt(u[0],1/0),u[1]=dt(u[1],1/0);var c=L([{},a,s]);return c.coord=[a.coord,s.coord],c.x0=a.x,c.y0=a.y,c.x1=s.x,c.y1=s.y,c}};function eq(t){return!isNaN(t)&&!isFinite(t)}function nq(t,e,n,r){var i=1-t;return eq(e[i])&&eq(n[i])}function rq(t,e){var n=e.coord[0],r=e.coord[1],i={coord:n,x:e.x0,y:e.y0},o={coord:r,x:e.x1,y:e.y1};return QT(t,"cartesian2d")?!(!n||!r||!nq(1,n,r)&&!nq(0,n,r))||$X(t,i,o):kX(t,i)||kX(t,o)}function iq(t,e,n,r,i){var o,a=r.coordinateSystem,s=t.getItemModel(e),l=oa(s.get(n[0]),i.getWidth()),u=oa(s.get(n[1]),i.getHeight());if(isNaN(l)||isNaN(u)){if(r.getMarkerPosition){var c=t.getValues(["x0","y0"],e),d=t.getValues(["x1","y1"],e),h=a.clampData(c),f=a.clampData(d),p=[];"x0"===n[0]?p[0]=h[0]>f[0]?d[0]:c[0]:p[0]=h[0]>f[0]?c[0]:d[0],"y0"===n[1]?p[1]=h[1]>f[1]?d[1]:c[1]:p[1]=h[1]>f[1]?c[1]:d[1],o=r.getMarkerPosition(p,n,!0)}else{var g=[v=t.get(n[0],e),b=t.get(n[1],e)];a.clampData&&a.clampData(g,g),o=a.dataToPoint(g,!0)}if(QT(a,"cartesian2d")){var y=a.getAxis("x"),m=a.getAxis("y"),v=t.get(n[0],e),b=t.get(n[1],e);eq(v)?o[0]=y.toGlobalCoord(y.getExtent()["x0"===n[0]?0:1]):eq(b)&&(o[1]=m.toGlobalCoord(m.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}var oq=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],aq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=SX.getMarkerModelFromSeries(t,"markArea");if(e){var r=e.getData();r.each((function(e){var i=W(oq,(function(i){return iq(r,e,i,t,n)}));r.setItemLayout(e,i),r.getItemGraphicEl(e).setShape("points",i)}))}}),this)},e.prototype.renderSeries=function(t,e,n,r){var i=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,{group:new Bo});this.group.add(l.group),this.markKeep(l);var u=sq(i,t,e);e.setData(u),u.each((function(e){var n=W(oq,(function(n){return iq(u,e,n,t,r)})),o=i.getAxis("x").scale,s=i.getAxis("y").scale,l=o.getExtent(),c=s.getExtent(),d=[o.parse(u.get("x0",e)),o.parse(u.get("x1",e))],h=[s.parse(u.get("y0",e)),s.parse(u.get("y1",e))];sa(d),sa(h);var f=!!(l[0]>d[1]||l[1]<d[0]||c[0]>h[1]||c[1]<h[0]);u.setItemLayout(e,{points:n,allClipped:f});var p=u.getItemModel(e).getModel("itemStyle").getItemStyle(),g=Gb(a,"color");p.fill||(p.fill=g,tt(p.fill)&&(p.fill=Er(p.fill,.4))),p.stroke||(p.stroke=g),u.setItemVisual(e,"style",p)})),u.diff(QX(l).data).add((function(t){var e=u.getItemLayout(t);if(!e.allClipped){var n=new lh({shape:{points:e.points}});u.setItemGraphicEl(t,n),l.group.add(n)}})).update((function(t,n){var r=QX(l).data.getItemGraphicEl(n),i=u.getItemLayout(t);i.allClipped?r&&l.group.remove(r):(r?Eh(r,{shape:{points:i.points}},e,t):r=new lh({shape:{points:i.points}}),u.setItemGraphicEl(t,r),l.group.add(r))})).remove((function(t){var e=QX(l).data.getItemGraphicEl(t);l.group.remove(e)})).execute(),u.eachItemGraphicEl((function(t,n){var r=u.getItemModel(n),i=u.getItemVisual(n,"style");t.useStyle(u.getItemVisual(n,"style")),If(t,Af(r),{labelFetcher:e,labelDataIndex:n,defaultText:u.getName(n)||"",inheritColor:tt(i.fill)?Er(i.fill,1):"#000"}),od(t,r),ed(t,null,null,r.get(["emphasis","disabled"])),Qu(t).dataModel=e})),QX(l).data=u,l.group.silent=e.get("silent")||t.get("silent")},e.type="markArea",e}(RX);function sq(t,e,n){var r,i,o=["x0","y0","x1","y1"];if(t){var a=W(t&&t.dimensions,(function(t){var n=e.getData();return N(N({},n.getDimensionInfo(n.mapDimension(t))||{}),{name:t,ordinalMeta:null})}));i=W(o,(function(t,e){return{name:t,type:a[e%2].type}})),r=new vS(i,n)}else r=new vS(i=[{name:"value",type:"float"}],n);var s=W(n.get("data"),K(tq,e,t,n));t&&(s=Y(s,K(rq,t)));var l=t?function(t,e,n,r){return Cm(t.coord[Math.floor(r/2)][r%2],i[r])}:function(t,e,n,r){return Cm(t.value,i[r])};return r.initData(s,null,l),r.hasItemOption=!0,r}function lq(t){t.registerComponentModel(JX),t.registerComponentView(aq),t.registerPreprocessor((function(t){xX(t.series,"markArea")&&(t.markArea=t.markArea||{})}))}var uq=function(t,e){return"all"===e?{type:"all",title:t.getLocaleModel().get(["legend","selector","all"])}:"inverse"===e?{type:"inverse",title:t.getLocaleModel().get(["legend","selector","inverse"])}:void 0},cq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return i(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),this._updateSelector(e)},e.prototype._updateSelector=function(t){var e=t.selector,n=this.ecModel;!0===e&&(e=t.selector=["all","inverse"]),J(e)&&H(e,(function(t,r){tt(t)&&(t={type:t}),e[r]=E(t,uq(n,t.type))}))},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,n=0;n<t.length;n++){var r=t[n].get("name");if(this.isSelected(r)){this.select(r),e=!0;break}}!e&&this.select(t[0].get("name"))}},e.prototype._updateData=function(t){var e=[],n=[];t.eachRawSeries((function(r){var i,o=r.name;if(n.push(o),r.legendVisualProvider){var a=r.legendVisualProvider.getAllNames();t.isSeriesFiltered(r)||(n=n.concat(a)),a.length?e=e.concat(a):i=!0}else i=!0;i&&as(r)&&e.push(r.name)})),this._availableNames=n;var r=this.get("data")||e,i=It(),o=W(r,(function(t){return(tt(t)||nt(t))&&(t={name:t}),i.get(t.name)?null:(i.set(t.name,!0),new Xf(t,this,this.ecModel))}),this);this._data=Y(o,(function(t){return!!t}))},e.prototype.getData=function(){return this._data},e.prototype.select=function(t){var e=this.option.selected;"single"===this.get("selectedMode")&&H(this._data,(function(t){e[t.get("name")]=!1})),e[t]=!0},e.prototype.unSelect=function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},e.prototype.toggleSelected=function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},e.prototype.allSelect=function(){var t=this._data,e=this.option.selected;H(t,(function(t){e[t.get("name",!0)]=!0}))},e.prototype.inverseSelect=function(){var t=this._data,e=this.option.selected;H(t,(function(t){var n=t.get("name",!0);e.hasOwnProperty(n)||(e[n]=!0),e[n]=!e[n]}))},e.prototype.isSelected=function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&B(this._availableNames,t)>=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(bg),dq=K,hq=H,fq=Bo,pq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return i(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new fq),this.group.add(this._selectorGroup=new fq),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var r=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var i=t.get("align"),o=t.get("orient");i&&"auto"!==i||(i="right"===t.get("left")&&"vertical"===o?"right":"left");var a=t.get("selector",!0),s=t.get("selectorPosition",!0);!a||s&&"auto"!==s||(s="horizontal"===o?"end":"start"),this.renderInner(i,t,e,n,a,o,s);var l=t.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},c=t.get("padding"),d=dg(l,u,c),h=this.layoutInner(t,i,d,r,a,s),f=dg(R({width:h.width,height:h.height},l),u,c);this.group.x=f.x-h.x,this.group.y=f.y-h.y,this.group.markRedraw(),this.group.add(this._backgroundEl=ZY(h,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,r,i,o,a){var s=this.getContentGroup(),l=It(),u=e.get("selectedMode"),c=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&c.push(t.id)})),hq(e.getData(),(function(i,o){var a=i.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var d=new fq;return d.newline=!0,void s.add(d)}var h=n.getSeriesByName(a)[0];if(!l.get(a)){if(h){var f=h.getData(),p=f.getVisual("legendLineStyle")||{},g=f.getVisual("legendIcon"),y=f.getVisual("style"),m=this._createItem(h,a,o,i,e,t,p,y,g,u,r);m.on("click",dq(mq,a,null,r,c)).on("mouseover",dq(bq,h.name,null,r,c)).on("mouseout",dq(xq,h.name,null,r,c)),n.ssr&&m.eachChild((function(t){var e=Qu(t);e.seriesIndex=h.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),l.set(a,!0)}else n.eachRawSeries((function(s){if(!l.get(a)&&s.legendVisualProvider){var d=s.legendVisualProvider;if(!d.containName(a))return;var h=d.indexOfName(a),f=d.getItemVisual(h,"style"),p=d.getItemVisual(h,"legendIcon"),g=Mr(f.fill);g&&0===g[3]&&(g[3]=.2,f=N(N({},f),{fill:Lr(g,"rgba")}));var y=this._createItem(s,a,o,i,e,t,{},f,p,u,r);y.on("click",dq(mq,null,a,r,c)).on("mouseover",dq(bq,null,a,r,c)).on("mouseout",dq(xq,null,a,r,c)),n.ssr&&y.eachChild((function(t){var e=Qu(t);e.seriesIndex=s.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),l.set(a,!0)}}),this);l.get(a)||console.warn(a+" series not exists. Legend data should be same with series name or data name.")}}),this),i&&this._createSelector(i,e,r,o,a)},e.prototype._createSelector=function(t,e,n,r,i){var o=this.getSelectorGroup();hq(t,(function(t){var r=t.type,i=new Bu({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===r?"legendAllSelect":"legendInverseSelect"})}});o.add(i),If(i,{normal:e.getModel("selectorLabel"),emphasis:e.getModel(["emphasis","selectorLabel"])},{defaultText:t.title}),Qc(i)}))},e.prototype._createItem=function(t,e,n,r,i,o,a,s,l,u,c){var d=t.visualDrawType,h=i.get("itemWidth"),f=i.get("itemHeight"),p=i.isSelected(e),g=r.get("symbolRotate"),y=r.get("symbolKeepAspect"),m=r.get("icon"),v=gq(l=m||l||"roundRect",r,a,s,d,p,c),b=new fq,x=r.getModel("textStyle");if(!Q(t.getLegendIcon)||m&&"inherit"!==m){var _="inherit"===m&&t.getData().getVisual("symbol")?"inherit"===g?t.getData().getVisual("symbolRotate"):g:0;b.add(yq({itemWidth:h,itemHeight:f,icon:l,iconRotate:_,itemStyle:v.itemStyle,lineStyle:v.lineStyle,symbolKeepAspect:y}))}else b.add(t.getLegendIcon({itemWidth:h,itemHeight:f,icon:l,iconRotate:g,itemStyle:v.itemStyle,lineStyle:v.lineStyle,symbolKeepAspect:y}));var w="left"===o?h+5:-5,S=o,M=i.get("formatter"),I=e;tt(M)&&M?I=M.replace("{name}",null!=e?e:""):Q(M)&&(I=M(e));var A=p?x.getTextColor():r.get("inactiveColor");b.add(new Bu({style:Df(x,{text:I,x:w,y:f/2,fill:A,align:S,verticalAlign:"middle"},{inheritColor:A})}));var D=new Lu({shape:b.getBoundingRect(),style:{fill:"transparent"}}),T=r.getModel("tooltip");return T.get("show")&&vf({el:D,componentModel:i,itemName:e,itemTooltipOption:T.option}),b.add(D),b.eachChild((function(t){t.silent=!0})),D.silent=!u,this.getContentGroup().add(b),Qc(b),b.__legendDataIndex=n,b},e.prototype.layoutInner=function(t,e,n,r,i,o){var a=this.getContentGroup(),s=this.getSelectorGroup();ug(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),i){ug("horizontal",s,t.get("selectorItemGap",!0));var c=s.getBoundingRect(),d=[-c.x,-c.y],h=t.get("selectorButtonGap",!0),f=t.getOrient().index,p=0===f?"width":"height",g=0===f?"height":"width",y=0===f?"y":"x";"end"===o?d[f]+=l[p]+h:u[f]+=c[p]+h,d[1-f]+=l[g]/2-c[g]/2,s.x=d[0],s.y=d[1],a.x=u[0],a.y=u[1];var m={x:0,y:0};return m[p]=l[p]+h+c[p],m[g]=Math.max(l[g],c[g]),m[y]=Math.min(0,c[y]+d[1-f]),m}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(Wv);function gq(t,e,n,r,i,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),hq(t,(function(n,r){"inherit"===t[r]&&(t[r]=e[r])}))}var l=e.getModel("itemStyle"),u=l.getItemStyle(),c=0===t.lastIndexOf("empty",0)?"fill":"stroke",d=l.getShallow("decal");u.decal=d&&"inherit"!==d?Jx(d,a):r.decal,"inherit"===u.fill&&(u.fill=r[i]),"inherit"===u.stroke&&(u.stroke=r[c]),"inherit"===u.opacity&&(u.opacity=("fill"===i?r:n).opacity),s(u,r);var h=e.getModel("lineStyle"),f=h.getLineStyle();if(s(f,n),"auto"===u.fill&&(u.fill=r.fill),"auto"===u.stroke&&(u.stroke=r.fill),"auto"===f.stroke&&(f.stroke=r.fill),!o){var p=e.get("inactiveBorderWidth"),g=u[c];u.lineWidth="auto"===p?r.lineWidth>0&&g?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),f.stroke=h.get("inactiveColor"),f.lineWidth=h.get("inactiveWidth")}return{itemStyle:u,lineStyle:f}}function yq(t){var e=t.icon||"roundRect",n=lx(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);return n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n}function mq(t,e,n,r){xq(t,e,n,r),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),bq(t,e,n,r)}function vq(t){for(var e,n=t.getZr().storage.getDisplayList(),r=0,i=n.length;r<i&&!(e=n[r].states.emphasis);)r++;return e&&e.hoverLayer}function bq(t,e,n,r){vq(n)||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:r})}function xq(t,e,n,r){vq(n)||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:r})}function _q(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries((function(t){for(var n=0;n<e.length;n++)if(!e[n].isSelected(t.name))return!1;return!0}))}function wq(t,e,n){var r,i={},o="toggleSelected"===t;return n.eachComponent("legend",(function(n){o&&null!=r?n[r?"select":"unSelect"](e.name):"allSelect"===t||"inverseSelect"===t?n[t]():(n[t](e.name),r=n.isSelected(e.name)),H(n.getData(),(function(t){var e=t.get("name");if("\n"!==e&&""!==e){var r=n.isSelected(e);i.hasOwnProperty(e)?i[e]=i[e]&&r:i[e]=r}}))})),"allSelect"===t||"inverseSelect"===t?{selected:i}:{name:e.name,selected:i}}function Sq(t){t.registerAction("legendToggleSelect","legendselectchanged",K(wq,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",K(wq,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",K(wq,"inverseSelect")),t.registerAction("legendSelect","legendselected",K(wq,"select")),t.registerAction("legendUnSelect","legendunselected",K(wq,"unSelect"))}function Mq(t){t.registerComponentModel(cq),t.registerComponentView(pq),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,_q),t.registerSubTypeDefaulter("legend",(function(){return"plain"})),Sq(t)}var Iq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(e,n,r){var i=yg(e);t.prototype.init.call(this,e,n,r),Aq(this,e,i)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),Aq(this,this.option,e)},e.type="legend.scroll",e.defaultOption=tp(cq.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),e}(cq);function Aq(t,e,n){var r=[1,1];r[t.getOrient().index]=0,gg(e,n,{type:"box",ignoreSize:!!r})}var Dq=Bo,Tq=["width","height"],Cq=["x","y"],Oq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!0,n._currentIndex=0,n}return i(e,t),e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new Dq),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new Dq)},e.prototype.resetInner=function(){t.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(e,n,r,i,o,a,s){var l=this;t.prototype.renderInner.call(this,e,n,r,i,o,a,s);var u=this._controllerGroup,c=n.get("pageIconSize",!0),d=J(c)?c:[c,c];f("pagePrev",0);var h=n.getModel("pageTextStyle");function f(t,e){var r=t+"DataIndex",o=ff(n.get("pageIcons",!0)[n.getOrient().name][e],{onclick:q(l._pageGo,l,r,n,i)},{x:-d[0]/2,y:-d[1]/2,width:d[0],height:d[1]});o.name=t,u.add(o)}u.add(new Bu({name:"pageText",style:{text:"xx/xx",fill:h.getTextColor(),font:h.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),f("pageNext",1)},e.prototype.layoutInner=function(t,e,n,r,i,o){var a=this.getSelectorGroup(),s=t.getOrient().index,l=Tq[s],u=Cq[s],c=Tq[1-s],d=Cq[1-s];i&&ug("horizontal",a,t.get("selectorItemGap",!0));var h=t.get("selectorButtonGap",!0),f=a.getBoundingRect(),p=[-f.x,-f.y],g=$(n);i&&(g[l]=n[l]-f[l]-h);var y=this._layoutContentAndController(t,r,g,s,l,c,d,u);if(i){if("end"===o)p[s]+=y[l]+h;else{var m=f[l]+h;p[s]-=m,y[u]-=m}y[l]+=f[l]+h,p[1-s]+=y[d]+y[c]/2-f[c]/2,y[c]=Math.max(y[c],f[c]),y[d]=Math.min(y[d],f[d]+p[1-s]),a.x=p[0],a.y=p[1],a.markRedraw()}return y},e.prototype._layoutContentAndController=function(t,e,n,r,i,o,a,s){var l=this.getContentGroup(),u=this._containerGroup,c=this._controllerGroup;ug(t.get("orient"),l,t.get("itemGap"),r?n.width:null,r?null:n.height),ug("horizontal",c,t.get("pageButtonItemGap",!0));var d=l.getBoundingRect(),h=c.getBoundingRect(),f=this._showController=d[i]>n[i],p=[-d.x,-d.y];e||(p[r]=l[s]);var g=[0,0],y=[-h.x,-h.y],m=ht(t.get("pageButtonGap",!0),t.get("itemGap",!0));f&&("end"===t.get("pageButtonPosition",!0)?y[r]+=n[i]-h[i]:g[r]+=h[i]+m),y[1-r]+=d[o]/2-h[o]/2,l.setPosition(p),u.setPosition(g),c.setPosition(y);var v={x:0,y:0};if(v[i]=f?n[i]:d[i],v[o]=Math.max(d[o],h[o]),v[a]=Math.min(0,h[a]+y[1-r]),u.__rectSize=n[i],f){var b={x:0,y:0};b[i]=Math.max(n[i]-h[i]-m,0),b[o]=v[o],u.setClipPath(new Lu({shape:b})),u.__rectSize=b[i]}else c.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var x=this._getPageInfo(t);return null!=x.pageIndex&&Eh(l,{x:x.contentPosition[0],y:x.contentPosition[1]},f?t:null),this._updatePageInfoView(t,x),v},e.prototype._pageGo=function(t,e,n){var r=this._getPageInfo(e)[t];null!=r&&n.dispatchAction({type:"legendScroll",scrollDataIndex:r,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;H(["pagePrev","pageNext"],(function(r){var i=null!=e[r+"DataIndex"],o=n.childOfName(r);o&&(o.setStyle("fill",i?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=i?"pointer":"default")}));var r=n.childOfName("pageText"),i=t.get("pageFormatter"),o=e.pageIndex,a=null!=o?o+1:0,s=e.pageCount;r&&i&&r.setStyle("text",tt(i)?i.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):i({current:a,total:s}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),r=this._containerGroup.__rectSize,i=t.getOrient().index,o=Tq[i],a=Cq[i],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],c=l.length,d=c?1:0,h={contentPosition:[n.x,n.y],pageCount:d,pageIndex:d-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return h;var f=v(u);h.contentPosition[i]=-f.s;for(var p=s+1,g=f,y=f,m=null;p<=c;++p)(!(m=v(l[p]))&&y.e>g.s+r||m&&!b(m,g.s))&&(g=y.i>g.i?y:m)&&(null==h.pageNextDataIndex&&(h.pageNextDataIndex=g.i),++h.pageCount),y=m;for(p=s-1,g=f,y=f,m=null;p>=-1;--p)(m=v(l[p]))&&b(y,m.s)||!(g.i<y.i)||(y=g,null==h.pagePrevDataIndex&&(h.pagePrevDataIndex=g.i),++h.pageCount,++h.pageIndex),g=m;return h;function v(t){if(t){var e=t.getBoundingRect(),n=e[a]+t[a];return{s:n,e:n+e[o],i:t.__legendDataIndex}}}function b(t,e){return t.e>=e&&t.s<=e+r}},e.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild((function(r,i){var o=r.__legendDataIndex;null==n&&null!=o&&(n=i),o===t&&(e=i)})),null!=e?e:n):0;var e,n},e.type="legend.scroll",e}(pq);function Pq(t){t.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))}function kq(t){zw(Mq),t.registerComponentModel(Iq),t.registerComponentView(Oq),Pq(t)}function $q(t){zw(Mq),zw(kq)}var Eq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="dataZoom.inside",e.defaultOption=tp(TY.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(TY),Lq=fs();function Nq(t,e,n){Lq(t).coordSysRecordMap.each((function(t){var r=t.dataZoomInfoMap.get(e.uid);r&&(r.getRange=n)}))}function Rq(t,e){for(var n=Lq(t).coordSysRecordMap,r=n.keys(),i=0;i<r.length;i++){var o=r[i],a=n.get(o),s=a.dataZoomInfoMap;if(s){var l=e.uid;s.get(l)&&(s.removeKey(l),s.keys().length||Fq(n,a))}}}function Fq(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function Bq(t,e){var n={model:e,containsPoint:K(zq,e),dispatchAction:K(jq,t),dataZoomInfoMap:null,controller:null},r=n.controller=new ak(t.getZr());return H(["pan","zoom","scrollMove"],(function(t){r.on(t,(function(e){var r=[];n.dataZoomInfoMap.each((function(i){if(e.isAvailableBehavior(i.model.option)){var o=(i.getRange||{})[t],a=o&&o(i.dzReferCoordSysInfo,n.model.mainType,n.controller,e);!i.model.get("disabled",!0)&&a&&r.push({dataZoomId:i.model.id,start:a[0],end:a[1]})}})),r.length&&n.dispatchAction(r)}))})),n}function jq(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function zq(t,e,n,r){return t.coordinateSystem.containPoint([n,r])}function Vq(t){var e,n="type_",r={type_true:2,type_move:1,type_false:0,type_undefined:-1},i=!0;return t.each((function(t){var o=t.model,a=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");r[n+a]>r[n+e]&&(e=a),i=i&&o.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}function Hq(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var n=Lq(e),r=n.coordSysRecordMap||(n.coordSysRecordMap=It());r.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){H(AY(t).infoList,(function(n){var i=n.model.uid,o=r.get(i)||r.set(i,Bq(e,n.model));(o.dataZoomInfoMap||(o.dataZoomInfoMap=It())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})}))})),r.each((function(t){var e,n=t.controller,i=t.dataZoomInfoMap;if(i){var o=i.keys()[0];null!=o&&(e=i.get(o))}if(e){var a=Vq(i);n.enable(a.controlType,a.opt),n.setPointerChecker(t.containsPoint),ib(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else Fq(r,t)}))}))}var Wq=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return i(e,t),e.prototype.render=function(e,n,r){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),Nq(r,e,{pan:q(Gq.pan,this),zoom:q(Gq.zoom,this),scrollMove:q(Gq.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){Rq(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(PY),Gq={zoom:function(t,e,n,r){var i=this.range,o=i.slice(),a=t.axisModels[0];if(a){var s=Uq[e](null,[r.originX,r.originY],a,n,t),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/r.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();
vendor: 3,092 bytes, line 33
33return iF(0,o,[0,100],0,c.minSpan,c.maxSpan),this.range=o,i[0]!==o[0]||i[1]!==o[1]?o:void 0}},pan:Yq((function(t,e,n,r,i,o){var a=Uq[r]([o.oldX,o.oldY],[o.newX,o.newY],e,i,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:Yq((function(t,e,n,r,i,o){return Uq[r]([0,0],[o.scrollDelta,o.scrollDelta],e,i,n).signal*(t[1]-t[0])*o.scrollDelta}))};function Yq(t){return function(e,n,r,i){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s)return iF(t(a,s,e,n,r,i),a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}var Uq={grid:function(t,e,n,r,i){var o=n.axis,a={},s=i.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,r,i){var o=n.axis,a={},s=i.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,r,i){var o=n.axis,a=i.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}};function Zq(t){jY(t),t.registerComponentModel(Eq),t.registerComponentView(Wq),Hq(t)}var Xq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=tp(TY.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}
vendor: 46,517 bytes, line 33
33(TY),qq=Lu,Kq=7,Jq=1,Qq=30,tK=7,eK="horizontal",nK="vertical",rK=5,iK=["line","bar","candlestick","scatter"],oK={easing:"cubicOut",duration:100,delay:0},aK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return i(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=q(this._onBrush,this),this._onBrushEnd=q(this._onBrushEnd,this)},e.prototype.render=function(e,n,r,i){if(t.prototype.render.apply(this,arguments),ib(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();i&&"dataZoom"===i.type&&i.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){ob(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new Bo;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect")?tK:0,r=this._findCoordRect(),i={width:e.getWidth(),height:e.getHeight()},o=this._orient===eK?{right:i.width-r.x-r.width,top:i.height-Qq-Kq-n,width:r.width,height:Qq}:{right:Kq,top:r.y,width:Qq,height:r.height},a=yg(t.option);H(["right","top","width","height"],(function(t){"ph"===a[t]&&(a[t]=o[t])}));var s=dg(a,i);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===nK&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,r=this.dataZoomModel.getFirstTargetAxisModel(),i=r&&r.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==eK||i?n===eK&&i?{scaleY:a?1:-1,scaleX:-1}:n!==nK||i?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,r=t.get("brushSelect");n.add(new qq({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var i=new qq({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:q(this._onClickPanel,this)}),o=this.api.getZr();r?(i.on("mousedown",this._onBrushStart,this),i.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(i)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],r=t.series,i=r.getRawData(),o=r.getShadowDim&&r.getShadowDim(),a=o&&i.getDimensionInfo(o)?r.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(i!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var u=i.getDataExtent(a),c=.3*(u[1]-u[0]);u=[u[0]-c,u[1]+c];var d,h=[0,e[1]],f=[0,e[0]],p=[[e[0],0],[0,0]],g=[],y=f[1]/(i.count()-1),m=0,v=Math.round(i.count()/e[0]);i.each([a],(function(t,e){if(v>0&&e%v)m+=y;else{var n=null==t||isNaN(t)||""===t,r=n?0:ia(t,u,h,!0);n&&!d&&e?(p.push([p[p.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&d&&(p.push([m,0]),g.push([m,0])),p.push([m,r]),g.push([m,r]),m+=y,d=n}})),s=this._shadowPolygonPts=p,l=this._shadowPolylinePts=g}this._shadowData=i,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var b=this.dataZoomModel,x=0;x<3;x++){var _=w(1===x);this._displayables.sliderGroup.add(_),this._displayables.dataShadowSegs.push(_)}}}function w(t){var e=b.getModel(t?"selectedDataBackground":"dataBackground"),n=new Bo,r=new lh({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),i=new ch({shape:{points:l},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(r),n.add(i),n}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,r=this.ecModel;return t.eachTargetAxis((function(i,o){H(t.getAxisProxy(i,o).getTargetSeriesModels(),(function(t){if(!(n||!0!==e&&B(iK,t.get("type"))<0)){var a,s=r.getComponent(MY(i),o).axis,l=sK(i),u=t.coordinateSystem;null!=l&&u.getOtherAxis&&(a=u.getOtherAxis(s).inverse),l=t.getData().mapDimension(l),n={thisAxis:s,series:t,thisDim:i,otherDim:l,otherAxisInverse:a}}}),this)}),this),n}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],r=e.handleLabels=[null,null],i=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,u=a.get("brushSelect"),c=e.filler=new qq({silent:u,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});i.add(c),i.add(new qq({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:l},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:Jq,fill:"rgba(0,0,0,0)"}})),H([0,1],(function(e){var o=a.get("handleIcon");!ox[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o,Na("handleIcon now needs 'path://' prefix when using a path string"));var s=lx(o,-1,0,2,2,null,!0);s.attr({cursor:lK(this._orient),draggable:!0,drift:q(this._onDragMove,this,e),ondragend:q(this._onDragEnd,this),onmouseover:q(this._showDataInfo,this,!0),onmouseout:q(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=a.get("handleSize");this._handleHeight=oa(u,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),Qc(s);var c=a.get("handleColor");null!=c&&(s.style.fill=c),i.add(n[e]=s);var d=a.getModel("textStyle");t.add(r[e]=new Bu({silent:!0,invisible:!0,style:Df(d,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:d.getTextColor(),font:d.getFont()}),z2:10}))}),this);var d=c;if(u){var h=oa(a.get("moveHandleSize"),o[1]),f=e.moveHandle=new Lu({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:h}}),p=.8*h,g=e.moveHandleIcon=lx(a.get("moveHandleIcon"),-p/2,-p/2,p,p,"#fff",!0);g.silent=!0,g.y=o[1]+h/2-.5,f.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var y=Math.min(o[1]/2,Math.max(h,10));(d=e.moveZone=new Lu({invisible:!0,shape:{y:o[1]-y,height:h+y}})).on("mouseover",(function(){s.enterEmphasis(f)})).on("mouseout",(function(){s.leaveEmphasis(f)})),i.add(f),i.add(g),i.add(d)}d.attr({draggable:!0,cursor:lK(this._orient),drift:q(this._onDragMove,this,"all"),ondragstart:q(this._showDataInfo,this,!0),ondragend:q(this._onDragEnd,this),onmouseover:q(this._showDataInfo,this,!0),onmouseout:q(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[ia(t[0],[0,100],e,!0),ia(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,r=this._handleEnds,i=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];iF(e,r,i,n.get("zoomLock")?"all":t,null!=o.minSpan?ia(o.minSpan,a,i,!0):null,null!=o.maxSpan?ia(o.maxSpan,a,i,!0):null);var s=this._range,l=this._range=sa([ia(r[0],i,a,!0),ia(r[1],i,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,r=sa(n.slice()),i=this._size;H([0,1],(function(t){var r=e.handles[t],o=this._handleHeight;r.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:i[1]/2-o/2})}),this),e.filler.setShape({x:r[0],y:0,width:r[1]-r[0],height:i[1]});var o={x:r[0],width:r[1]-r[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=e.dataShadowSegs,s=[0,r[0],r[1],i[0]],l=0;l<a.length;l++){var u=a[l],c=u.getClipPath();c||(c=new Lu,u.setClipPath(c)),c.setShape({x:s[l],y:0,width:s[l+1]-s[l],height:i[1]})}this._updateDataInfo(t)},e.prototype._updateDataInfo=function(t){var e=this.dataZoomModel,n=this._displayables,r=n.handleLabels,i=this._orient,o=["",""];if(e.get("showDetail")){var a=e.findRepresentativeAxisProxy();if(a){var s=a.getAxisModel().axis,l=this._range,u=t?a.calculateDataWindow({start:l[0],end:l[1]}).valueWindow:a.getDataValueWindow();o=[this._formatLabel(u[0],s),this._formatLabel(u[1],s)]}}var c=sa(this._handleEnds.slice());function d(t){var e=of(n.handles[t].parent,this.group),a=sf(0===t?"right":"left",e),s=this._handleWidth/2+rK,l=af([c[t]+(0===t?-s:s),this._size[1]/2],e);r[t].setStyle({x:l[0],y:l[1],verticalAlign:i===eK?"middle":a,align:i===eK?a:"center",text:o[t]})}d.call(this,0),d.call(this,1)},e.prototype._formatLabel=function(t,e){var n=this.dataZoomModel,r=n.get("labelFormatter"),i=n.get("labelPrecision");null!=i&&"auto"!==i||(i=e.getPixelPrecision());var o=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel({value:Math.round(t)}):t.toFixed(Math.min(i,20));return Q(r)?r(t,o):tt(r)?r.replace("{value}",o):o},e.prototype._showDataInfo=function(t){t=this._dragging||t;var e=this._displayables,n=e.handleLabels;n[0].attr("invisible",!t),n[1].attr("invisible",!t),e.moveHandle&&this.api[t?"enterEmphasis":"leaveEmphasis"](e.moveHandle,1)},e.prototype._onDragMove=function(t,e,n,r){this._dragging=!0,Pe(r.event);var i=af([e,n],this._displayables.sliderGroup.getLocalTransform(),!0),o=this._updateInterval(t,i[0]),a=this.dataZoomModel.get("realtime");this._updateView(!a),o&&a&&this._dispatchZoomAction(!0)},e.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction(!1)},e.prototype._onClickPanel=function(t){var e=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0||n[0]>e[0]||n[1]<0||n[1]>e[1])){var r=this._handleEnds,i=(r[0]+r[1])/2,o=this._updateInterval("all",n[0]-i);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new Ue(e,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var r=this._getViewExtent(),i=[0,100];this._range=sa([ia(n.x,r,i,!0),ia(n.x+n.width,r,i,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(Pe(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,r=this.dataZoomModel,i=n.brushRect;i||(i=n.brushRect=new qq({silent:!0,style:r.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(i)),i.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),i.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?oK:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=AY(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var r=this.api.getWidth(),i=this.api.getHeight();t={x:.2*r,y:.2*i,width:.6*r,height:.6*i}}return t},e.type="dataZoom.slider",e}(PY);function sK(t){return{x:"y",y:"x",radius:"angle",angle:"radius"}[t]}function lK(t){return"vertical"===t?"ns-resize":"ew-resize"}function uK(t){t.registerComponentModel(Xq),t.registerComponentView(aK),jY(t)}function cK(t){zw(Zq),zw(uK)}var dK={get:function(t,e,n){var r=$((hK[t]||{})[e]);return n&&J(r)?r[r.length-1]:r}},hK={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},fK=gL.mapVisual,pK=gL.eachVisual,gK=J,yK=H,mK=sa,vK=ia,bK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return i(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&TZ(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=q(t,this),this.controllerVisuals=DZ(this.option.controller,e,t),this.targetVisuals=DZ(this.option.target,e,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries((function(t,n){e.push(n)})):e=Ha(t),e},e.prototype.eachTargetSeries=function(t,e){H(this.getTargetSeriesIndices(),(function(n){var r=this.ecModel.getSeriesByIndex(n);r&&t.call(e,r)}),this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries((function(n){n===t&&(e=!0)})),e},e.prototype.formatValueText=function(t,e,n){var r,i=this.option,o=i.precision,a=this.dataBound,s=i.formatter;n=n||["<",">"],J(t)&&(t=t.slice(),r=!0);var l=e?t:r?[u(t[0]),u(t[1])]:u(t);return tt(s)?s.replace("{value}",r?l[0]:l).replace("{value2}",r?l[1]:l):Q(s)?r?s(t[0],t[1]):s(t):r?t[0]===a[0]?n[0]+" "+l[1]:t[1]===a[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function u(t){return t===a[0]?"min":t===a[1]?"max":(+t).toFixed(Math.min(o,20))}},e.prototype.resetExtent=function(){var t=this.option,e=mK([t.min,t.max]);this._dataExtent=e},e.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var n=t.dimensions,r=n.length-1;r>=0;r--){var i=n[r],o=t.getDimensionInfo(i);if(!o.isCalculationCoord)return o.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},r=e.target||(e.target={}),i=e.controller||(e.controller={});E(r,n),E(i,n);var o=this.isCategory();function a(n){gK(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}function s(t,e,n){var r=t[e],i=t[n];r&&!i&&(i=t[n]={},yK(r,(function(t,e){if(gL.isValidType(e)){var n=dK.get(e,"inactive",o);null!=n&&(i[e]=n,"color"!==e||i.hasOwnProperty("opacity")||i.hasOwnProperty("colorAlpha")||(i.opacity=[0,0]))}})))}function l(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,r=this.get("inactiveColor"),i=this.getItemSymbol()||"roundRect";yK(this.stateList,(function(a){var s=this.itemSize,l=t[a];l||(l=t[a]={color:o?r:[r]}),null==l.symbol&&(l.symbol=e&&$(e)||(o?i:[i])),null==l.symbolSize&&(l.symbolSize=n&&$(n)||(o?s[0]:[s[0],s[0]])),l.symbol=fK(l.symbol,(function(t){return"none"===t?i:t}));var u=l.symbolSize;if(null!=u){var c=-1/0;pK(u,(function(t){t>c&&(c=t)})),l.symbolSize=fK(u,(function(t){return vK(t,[0,c],[0,s[0]],!0)}))}}),this)}a.call(this,r),a.call(this,i),s.call(this,r,"inRange","outOfRange"),l.call(this,i)},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(bg),xK=[20,140],_K=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},e.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=xK[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=xK[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):J(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),H(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)}),this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),e=sa((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]<t[0]&&(e[0]=t[0]),e[1]<t[0]&&(e[1]=t[0]),e},e.prototype.getValueState=function(t){var e=this.option.range,n=this.getExtent();return(e[0]<=n[0]||e[0]<=t)&&(e[1]>=n[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries((function(n){var r=[],i=n.getData();i.each(this.getDataDimensionIndex(i),(function(e,n){t[0]<=e&&e<=t[1]&&r.push(n)}),this),e.push({seriesId:n.id,dataIndex:r})}),this),e},e.prototype.getVisualMeta=function(t){var e=wK(this,"outOfRange",this.getExtent()),n=wK(this,"inRange",this.option.range.slice()),r=[];function i(e,n){r.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,l=e.length;a<l&&(!n.length||e[a]<=n[0]);a++)e[a]<n[o]&&i(e[a],"outOfRange");for(var u=1;o<s;o++,u=0)u&&r.length&&i(n[o],"outOfRange"),i(n[o],"inRange");for(u=1;a<l;a++)(!n.length||n[n.length-1]<e[a])&&(u&&(r.length&&i(r[r.length-1].value,"outOfRange"),u=0),i(e[a],"outOfRange"));var c=r.length;return{stops:r,outerColors:[c?r[0].color:"transparent",c?r[c-1].color:"transparent"]}},e.type="visualMap.continuous",e.defaultOption=tp(bK.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),e}(bK);function wK(t,e,n){if(n[0]===n[1])return n.slice();for(var r=200,i=(n[1]-n[0])/r,o=n[0],a=[],s=0;s<=r&&o<n[1];s++)a.push(o),o+=i;return a.push(n[1]),a}var SK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.autoPositionValues={left:1,right:1,top:1,bottom:1},n}return i(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e},e.prototype.render=function(t,e,n,r){this.visualMapModel=t,!1!==t.get("show")?this.doRender(t,e,n,r):this.group.removeAll()},e.prototype.renderBackground=function(t){var e=this.visualMapModel,n=Zp(e.get("padding")||0),r=t.getBoundingRect();t.add(new Lu({z2:-1,silent:!0,shape:{x:r.x-n[3],y:r.y-n[0],width:r.width+n[3]+n[1],height:r.height+n[0]+n[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},e.prototype.getControllerVisual=function(t,e,n){var r=(n=n||{}).forceState,i=this.visualMapModel,o={};if("color"===e){var a=i.get("contentColor");o.color=a}function s(t){return o[t]}function l(t,e){o[t]=e}var u=i.controllerVisuals[r||i.getValueState(t)];return H(gL.prepareVisualTypes(u),(function(r){var i=u[r];n.convertOpacityToAlpha&&"opacity"===r&&(r="colorAlpha",i=u.__alphaForOpacity),gL.dependsOn(r,e)&&i&&i.applyVisual(t,s,l)})),o[e]},e.prototype.positionGroup=function(t){var e=this.visualMapModel,n=this.api;hg(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},e.prototype.doRender=function(t,e,n,r){},e.type="visualMap",e}(Wv),MK=[["left","right","width"],["top","bottom","height"]];function IK(t,e,n){var r=t.option,i=r.align;if(null!=i&&"auto"!==i)return i;for(var o={width:e.getWidth(),height:e.getHeight()},a="horizontal"===r.orient?1:0,s=MK[a],l=[0,null,10],u={},c=0;c<3;c++)u[MK[1-a][c]]=l[c],u[s[c]]=2===c?n[0]:r[s[c]];var d=[["x","width",3],["y","height",0]][a],h=dg(u,o,r.padding);return s[(h.margin[d[2]]||0)+h[d[0]]+.5*h[d[1]]<.5*o[d[1]]?0:1]}function AK(t,e){return H(t||[],(function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(e?e.componentIndex:"")})),t}var DK=ia,TK=H,CK=Math.min,OK=Math.max,PK=12,kK=6,$K=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._shapes={},n._dataInterval=[],n._handleEnds=[],n._hoverLinkDataIndices=[],n}return i(e,t),e.prototype.init=function(e,n){t.prototype.init.call(this,e,n),this._hoverLinkFromSeriesMouseOver=q(this._hoverLinkFromSeriesMouseOver,this),this._hideIndicator=q(this._hideIndicator,this)},e.prototype.doRender=function(t,e,n,r){r&&"selectDataRange"===r.type&&r.from===this.uid||this._buildView()},e.prototype._buildView=function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var n=t.get("text");this._renderEndsText(e,n,0),this._renderEndsText(e,n,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},e.prototype._renderEndsText=function(t,e,n){if(e){var r=e[1-n];r=null!=r?r+"":"";var i=this.visualMapModel,o=i.get("textGap"),a=i.itemSize,s=this._shapes.mainGroup,l=this._applyTransform([a[0]/2,0===n?-o:a[1]+o],s),u=this._applyTransform(0===n?"bottom":"top",s),c=this._orient,d=this.visualMapModel.textStyleModel;this.group.add(new Bu({style:Df(d,{x:l[0],y:l[1],verticalAlign:"horizontal"===c?"middle":u,align:"horizontal"===c?u:"center",text:r})}))}},e.prototype._renderBar=function(t){var e=this.visualMapModel,n=this._shapes,r=e.itemSize,i=this._orient,o=this._useHandle,a=IK(e,this.api,r),s=n.mainGroup=this._createBarGroup(a),l=new Bo;s.add(l),l.add(n.outOfRange=EK()),l.add(n.inRange=EK(null,o?RK(this._orient):null,q(this._dragHandle,this,"all",!1),q(this._dragHandle,this,"all",!0))),l.setClipPath(new Lu({shape:{x:0,y:0,width:r[0],height:r[1],r:3}}));var u=e.textStyleModel.getTextRect("å½"),c=OK(u.width,u.height);o&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(e,s,0,r,c,i),this._createHandle(e,s,1,r,c,i)),this._createIndicator(e,s,r,c,i),t.add(s)},e.prototype._createHandle=function(t,e,n,r,i,o){var a=q(this._dragHandle,this,n,!1),s=q(this._dragHandle,this,n,!0),l=Mo(t.get("handleSize"),r[0]),u=lx(t.get("handleIcon"),-l/2,-l/2,l,l,null,!0),c=RK(this._orient);u.attr({cursor:c,draggable:!0,drift:a,ondragend:s,onmousemove:function(t){Pe(t.event)}}),u.x=r[0]/2,u.useStyle(t.getModel("handleStyle").getItemStyle()),u.setStyle({strokeNoScale:!0,strokeFirst:!0}),u.style.lineWidth*=2,u.ensureState("emphasis").style=t.getModel(["emphasis","handleStyle"]).getItemStyle(),ad(u,!0),e.add(u);var d=this.visualMapModel.textStyleModel,h=new Bu({cursor:c,draggable:!0,drift:a,onmousemove:function(t){Pe(t.event)},ondragend:s,style:Df(d,{x:0,y:0,text:""})});h.ensureState("blur").style={opacity:.1},h.stateTransition={duration:200},this.group.add(h);var f=[l,0],p=this._shapes;p.handleThumbs[n]=u,p.handleLabelPoints[n]=f,p.handleLabels[n]=h},e.prototype._createIndicator=function(t,e,n,r,i){var o=Mo(t.get("indicatorSize"),n[0]),a=lx(t.get("indicatorIcon"),-o/2,-o/2,o,o,null,!0);a.attr({cursor:"move",invisible:!0,silent:!0,x:n[0]/2});var s=t.getModel("indicatorStyle").getItemStyle();if(a instanceof Du){var l=a.style;a.useStyle(N({image:l.image,x:l.x,y:l.y,width:l.width,height:l.height},s))}else a.useStyle(s);e.add(a);var u=this.visualMapModel.textStyleModel,c=new Bu({silent:!0,invisible:!0,style:Df(u,{x:0,y:0,text:""})});this.group.add(c);var d=[("horizontal"===i?r/2:kK)+n[0]/2,0],h=this._shapes;h.indicator=a,h.indicatorLabel=c,h.indicatorLabelPoint=d,this._firstShowIndicator=!0},e.prototype._dragHandle=function(t,e,n,r){if(this._useHandle){if(this._dragging=!e,!e){var i=this._applyTransform([n,r],this._shapes.mainGroup,!0);this._updateInterval(t,i[1]),this._hideIndicator(),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():NK(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},e.prototype._resetInterval=function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),n=t.getExtent(),r=[0,t.itemSize[1]];this._handleEnds=[DK(e[0],n,r,!0),DK(e[1],n,r,!0)]},e.prototype._updateInterval=function(t,e){e=e||0;var n=this.visualMapModel,r=this._handleEnds,i=[0,n.itemSize[1]];iF(e,r,i,t,0);var o=n.getExtent();this._dataInterval=[DK(r[0],i,o,!0),DK(r[1],i,o,!0)]},e.prototype._updateView=function(t){var e=this.visualMapModel,n=e.getExtent(),r=this._shapes,i=[0,e.itemSize[1]],o=t?i:this._handleEnds,a=this._createBarVisual(this._dataInterval,n,o,"inRange"),s=this._createBarVisual(n,n,i,"outOfRange");r.inRange.setStyle({fill:a.barColor}).setShape("points",a.barPoints),r.outOfRange.setStyle({fill:s.barColor}).setShape("points",s.barPoints),this._updateHandle(o,a)},e.prototype._createBarVisual=function(t,e,n,r){var i={forceState:r,convertOpacityToAlpha:!0},o=this._makeColorGradient(t,i),a=[this.getControllerVisual(t[0],"symbolSize",i),this.getControllerVisual(t[1],"symbolSize",i)],s=this._createBarPoints(n,a);return{barColor:new wh(0,0,0,1,o),barPoints:s,handlesColor:[o[0].color,o[o.length-1].color]}},e.prototype._makeColorGradient=function(t,e){var n=100,r=[],i=(t[1]-t[0])/n;r.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var o=1;o<n;o++){var a=t[0]+i*o;if(a>t[1])break;r.push({color:this.getControllerVisual(a,"color",e),offset:o/n})}return r.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),r},e.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new Bo("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},e.prototype._updateHandle=function(t,e){if(this._useHandle){var n=this._shapes,r=this.visualMapModel,i=n.handleThumbs,o=n.handleLabels,a=r.itemSize,s=r.getExtent();TK([0,1],(function(l){var u=i[l];u.setStyle("fill",e.handlesColor[l]),u.y=t[l];var c=DK(t[l],[0,a[1]],s,!0),d=this.getControllerVisual(c,"symbolSize");u.scaleX=u.scaleY=d/a[0],u.x=a[0]-d/2;var h=af(n.handleLabelPoints[l],of(u,this.group));o[l].setStyle({x:h[0],y:h[1],text:r.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},e.prototype._showIndicator=function(t,e,n,r){var i=this.visualMapModel,o=i.getExtent(),a=i.itemSize,s=[0,a[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var c={convertOpacityToAlpha:!0},d=this.getControllerVisual(t,"color",c),h=this.getControllerVisual(t,"symbolSize"),f=DK(t,o,s,!0),p=a[0]-h/2,g={x:u.x,y:u.y};u.y=f,u.x=p;var y=af(l.indicatorLabelPoint,of(u,this.group)),m=l.indicatorLabel;m.attr("invisible",!1);var v=this._applyTransform("left",l.mainGroup),b="horizontal"===this._orient;m.setStyle({text:(n||"")+i.formatValueText(e),verticalAlign:b?v:"middle",align:b?"center":v});var x={x:p,y:f,style:{fill:d}},_={style:{x:y[0],y:y[1]}};if(i.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var w={duration:100,easing:"cubicInOut",additive:!0};u.x=g.x,u.y=g.y,u.animateTo(x,w),m.animateTo(_,w)}else u.attr(x),m.attr(_);this._firstShowIndicator=!1;var S=this._shapes.handleLabels;if(S)for(var M=0;M<S.length;M++)this.api.enterBlur(S[M])}},e.prototype._enableHoverLinkToSeries=function(){var t=this;this._shapes.mainGroup.on("mousemove",(function(e){if(t._hovering=!0,!t._dragging){var n=t.visualMapModel.itemSize,r=t._applyTransform([e.offsetX,e.offsetY],t._shapes.mainGroup,!0,!0);r[1]=CK(OK(0,r[1]),n[1]),t._doHoverLinkToSeries(r[1],0<=r[0]&&r[0]<=n[0])}})).on("mouseout",(function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()}))},e.prototype._enableHoverLinkFromSeries=function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},e.prototype._doHoverLinkToSeries=function(t,e){var n=this.visualMapModel,r=n.itemSize;if(n.option.hoverLink){var i=[0,r[1]],o=n.getExtent();t=CK(OK(i[0],t),i[1]);var a=LK(n,o,i),s=[t-a,t+a],l=DK(t,i,o,!0),u=[DK(s[0],i,o,!0),DK(s[1],i,o,!0)];s[0]<i[0]&&(u[0]=-1/0),s[1]>i[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"â ",a));var c=this._hoverLinkDataIndices,d=[];(e||NK(n))&&(d=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var h=ds(c,d);this._dispatchHighDown("downplay",AK(h[0],n)),this._dispatchHighDown("highlight",AK(h[1],n))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var e;if(qb(t.target,(function(t){var n=Qu(t);if(null!=n.dataIndex)return e=n,!0}),!0),e){var n=this.ecModel.getSeriesByIndex(e.seriesIndex),r=this.visualMapModel;if(r.isTargetSeries(n)){var i=n.getData(e.dataType),o=i.getStore().get(r.getDataDimensionIndex(i),e.dataIndex);isNaN(o)||this._showIndicator(o,o)}}},e.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0);var e=this._shapes.handleLabels;if(e)for(var n=0;n<e.length;n++)this.api.leaveBlur(e[n])},e.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",AK(t,this.visualMapModel)),t.length=0},e.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},e.prototype._applyTransform=function(t,e,n,r){var i=of(e,r?null:this.group);return J(t)?af(t,i,n):sf(t,i,n)},e.prototype._dispatchHighDown=function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},e.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},e.type="visualMap.continuous",e}(SK);function EK(t,e,n,r){return new lh({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){Pe(t.event)},ondragend:r})}function LK(t,e,n){var r=PK/2,i=t.get("hoverLinkDataSize");return i&&(r=DK(i,e,n,!0)/2),r}function NK(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function RK(t){return"vertical"===t?"ns-resize":"ew-resize"}var FK={type:"selectDataRange",event:"dataRangeSelected",update:"update"},BK=function(t,e){e.eachComponent({mainType:"visualMap",query:t},(function(e){e.setSelected(t.selected)}))},jK=[{createOnAllSeries:!0,reset:function(t,e){var n=[];return e.eachComponent("visualMap",(function(e){var r=t.pipelineContext;!e.isTargetSeries(t)||r&&r.large||n.push(OZ(e.stateList,e.targetVisuals,q(e.getValueState,e),e.getDataDimensionIndex(t.getData())))})),n}},{createOnAllSeries:!0,reset:function(t,e){var n=t.getData(),r=[];e.eachComponent("visualMap",(function(e){if(e.isTargetSeries(t)){var i=e.getVisualMeta(q(zK,null,t,e))||{stops:[],outerColors:[]},o=e.getDataDimensionIndex(n);o>=0&&(i.dimension=o,r.push(i))}})),t.getData().setVisual("visualMeta",r)}}];function zK(t,e,n,r){for(var i=e.targetVisuals[r],o=gL.prepareVisualTypes(i),a={color:Gb(t.getData(),"color")},s=0,l=o.length;s<l;s++){var u=o[s],c=i["opacity"===u?"__alphaForOpacity":u];c&&c.applyVisual(n,d,h)}return a.color;function d(t){return a[t]}function h(t,e){a[t]=e}}var VK=H;function HK(t){var e=t&&t.visualMap;J(e)||(e=e?[e]:[]),VK(e,(function(t){if(t){WK(t,"splitList")&&!WK(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&J(e)&&VK(e,(function(t){rt(t)&&(WK(t,"start")&&!WK(t,"min")&&(t.min=t.start),WK(t,"end")&&!WK(t,"max")&&(t.max=t.end))}))}}))}function WK(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}var GK=!1;function YK(t){GK||(GK=!0,t.registerSubTypeDefaulter("visualMap",(function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(FK,BK),H(jK,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(HK))}function UK(t){t.registerComponentModel(_K),t.registerComponentView($K),YK(t)}var ZK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return i(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var r=this._mode=this._determineMode();this._pieceList=[],XK[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var i=this.option.categories;this.resetVisual((function(t,e){"categories"===r?(t.mappingMethod="category",t.categories=$(i)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=W(this._pieceList,(function(t){return t=$(t),"inRange"!==e&&(t.visual=null),t})))}))},e.prototype.completeVisualOption=function(){var e=this.option,n={},r=gL.listVisualTypes(),i=this.isCategory();function o(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}H(e.pieces,(function(t){H(r,(function(e){t.hasOwnProperty(e)&&(n[e]=1)}))})),H(n,(function(t,n){var r=!1;H(this.stateList,(function(t){r=r||o(e,t,n)||o(e.target,t,n)}),this),!r&&H(this.stateList,(function(t){(e[t]||(e[t]={}))[n]=dK.get(n,"inRange"===t?"active":"inactive",i)}))}),this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var n=this.option,r=this._pieceList,i=(e?n:t).selected||{};if(n.selected=i,H(r,(function(t,e){var n=this.getSelectedMapKey(t);i.hasOwnProperty(n)||(i[n]=!0)}),this),"single"===n.selectedMode){var o=!1;H(r,(function(t,e){var n=this.getSelectedMapKey(t);i[n]&&(o?i[n]=!1:o=!0)}),this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=$(t)},e.prototype.getValueState=function(t){var e=gL.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries((function(r){var i=[],o=r.getData();o.each(this.getDataDimensionIndex(o),(function(e,r){gL.findPieceIndex(e,n)===t&&i.push(r)}),this),e.push({seriesId:r.id,dataIndex:i})}),this),e},e.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],r=this,i=this._pieceList.slice();if(i.length){var o=i[0].interval[0];o!==-1/0&&i.unshift({interval:[-1/0,o]}),(o=i[i.length-1].interval[1])!==1/0&&i.push({interval:[o,1/0]})}else i.push({interval:[-1/0,1/0]});var a=-1/0;return H(i,(function(t){var e=t.interval;e&&(e[0]>a&&s([a,e[0]],"outOfRange"),s(e.slice()),a=e[1])}),this),{stops:e,outerColors:n}}function s(i,o){var a=r.getRepresentValue({interval:i});o||(o=r.getValueState(a));var s=t(a,o);i[0]===-1/0?n[0]=s:i[1]===1/0?n[1]=s:e.push({value:i[0],color:s},{value:i[1],color:s})}},e.type="visualMap.piecewise",e.defaultOption=tp(bK.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(bK),XK={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),r=this.getExtent(),i=e.splitNumber;i=Math.max(parseInt(i,10),1),e.splitNumber=i;for(var o=(r[1]-r[0])/i;+o.toFixed(n)!==o&&n<5;)n++;e.precision=n,o=+o.toFixed(n),e.minOpen&&t.push({interval:[-1/0,r[0]],close:[0,0]});for(var a=0,s=r[0];a<i;s+=o,a++){var l=a===i-1?r[1]:s+o;t.push({interval:[s,l],close:[1,1]})}e.maxOpen&&t.push({interval:[r[1],1/0],close:[0,0]}),Sa(t),H(t,(function(t,e){t.index=e,t.text=this.formatValueText(t.interval)}),this)},categories:function(t){var e=this.option;H(e.categories,(function(e){t.push({text:this.formatValueText(e,!0),value:e})}),this),qK(e,t)},pieces:function(t){var e=this.option;H(e.pieces,(function(e,n){rt(e)||(e={value:e});var r={text:"",index:n};if(null!=e.label&&(r.text=e.label),e.hasOwnProperty("value")){var i=r.value=e.value;r.interval=[i,i],r.close=[1,1]}else{for(var o=r.interval=[],a=r.close=[0,0],s=[1,0,1],l=[-1/0,1/0],u=[],c=0;c<2;c++){for(var d=[["gte","gt","min"],["lte","lt","max"]][c],h=0;h<3&&null==o[c];h++)o[c]=e[d[h]],a[c]=s[h],u[c]=2===h;null==o[c]&&(o[c]=l[c])}u[0]&&o[1]===1/0&&(a[0]=0),u[1]&&o[0]===-1/0&&(a[1]=0),o[0]>o[1]&&console.warn("Piece "+n+"is illegal: "+o+" lower bound should not greater then uppper bound."),o[0]===o[1]&&a[0]&&a[1]&&(r.value=o[0])}r.visual=gL.retrieveVisuals(e),t.push(r)}),this),qK(e,t),Sa(t),H(t,(function(t){var e=t.close,n=[["<","â¤"][e[1]],[">","â¥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function qK(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var KK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),r=e.textStyleModel,i=r.getFont(),o=r.getTextColor(),a=this._getItemAlign(),s=e.itemSize,l=this._getViewData(),u=l.endsText,c=dt(e.get("showLabel",!0),!u);u&&this._renderEndsText(t,u[0],s,c,a),H(l.viewPieceList,(function(r){var l=r.piece,u=new Bo;u.onclick=q(this._onItemClick,this,l),this._enableHoverLink(u,r.indexInModelPieceList);var d=e.getRepresentValue(l);if(this._createItemSymbol(u,d,[0,0,s[0],s[1]]),c){var h=this.visualMapModel.getValueState(d);u.add(new Bu({style:{x:"right"===a?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:a,font:i,fill:o,opacity:"outOfRange"===h?.5:1}}))}t.add(u)}),this),u&&this._renderEndsText(t,u[1],s,c,a),ug(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",(function(){return r("highlight")})).on("mouseout",(function(){return r("downplay")}));var r=function(t){var r=n.visualMapModel;r.option.hoverLink&&n.api.dispatchAction({type:t,batch:AK(r.findTargetDataIndices(e),r)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return IK(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},e.prototype._renderEndsText=function(t,e,n,r,i){if(e){var o=new Bo,a=this.visualMapModel.textStyleModel;o.add(new Bu({style:Df(a,{x:r?"right"===i?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:r?i:"center",text:e})})),t.add(o)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=W(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),r=t.get("orient"),i=t.get("inverse");return("horizontal"===r?i:!i)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n){t.add(lx(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},e.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,r=n.selectedMode;if(r){var i=$(n.selected),o=e.getSelectedMapKey(t);"single"===r||!0===r?(i[o]=!0,H(i,(function(t,e){i[e]=e===o}))):i[o]=!i[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:i})}},e.type="visualMap.piecewise",e}(SK);function JK(t){t.registerComponentModel(ZK),t.registerComponentView(KK),YK(t)}function QK(t){zw(UK),zw(JK)}var tJ={label:{enabled:!0},decal:{show:!1}},eJ=fs(),nJ={};function rJ(t,e){var n=t.getModel("aria");if(n.get("enabled")){var r=$(tJ);E(r.label,t.getLocaleModel().get("aria"),!1),E(n.option,r,!1),i(),o()}function i(){if(n.getModel("decal").get("show")){var e=It();t.eachSeries((function(t){if(!t.isColorBySeries()){var n=e.get(t.type);n||(n={},e.set(t.type,n)),eJ(t).scope=n}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if(Q(e.enableAriaDecal))e.enableAriaDecal();else{var n=e.getData();if(e.isColorBySeries()){var r=Kg(e.ecModel,e.name,nJ,t.getSeriesCount()),i=n.getVisual("decal");n.setVisual("decal",u(i,r))}else{var o=e.getRawData(),a={},s=eJ(e).scope;n.each((function(t){var e=n.getRawIndex(t);a[e]=t}));var l=o.count();o.each((function(t){var r=a[t],i=o.getName(t)||t+"",c=Kg(e.ecModel,i,s,l),d=n.getItemVisual(r,"decal");n.setItemVisual(r,"decal",u(d,c))}))}}function u(t,e){var n=t?N(N({},e),t):e;return n.dirty=!0,n}}))}}function o(){var r=e.getZr().dom;if(r){var i=t.getLocaleModel().get("aria"),o=n.getModel("label");if(o.option=R(o.option,i),o.get("enabled"))if(o.get("description"))r.setAttribute("aria-label",o.get("description"));else{var u,c=t.getSeriesCount(),d=o.get(["data","maxCount"])||10,h=o.get(["series","maxCount"])||10,f=Math.min(c,h);if(!(c<1)){var p=s();u=p?a(o.get(["general","withTitle"]),{title:p}):o.get(["general","withoutTitle"]);var g=[];u+=a(c>1?o.get(["series","multiple","prefix"]):o.get(["series","single","prefix"]),{seriesCount:c}),t.eachSeries((function(t,e){if(e<f){var n=void 0,r=t.get("name")?"withName":"withoutName";n=a(n=c>1?o.get(["series","multiple",r]):o.get(["series","single",r]),{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:l(t.subType)});var i=t.getData();i.count()>d?n+=a(o.get(["data","partialData"]),{displayCnt:d}):n+=o.get(["data","allData"]);for(var s=o.get(["data","separator","middle"]),u=o.get(["data","separator","end"]),h=[],p=0;p<i.count();p++)if(p<d){var y=i.getName(p),m=i.getValues(p),v=o.get(["data",y?"withName":"withoutName"]);h.push(a(v,{name:y,value:m.join(s)}))}n+=h.join(s)+u,g.push(n)}}));var y=o.getModel(["series","multiple","separator"]),m=y.get("middle"),v=y.get("end");u+=g.join(m)+v,r.setAttribute("aria-label",u)}}}}function a(t,e){if(!tt(t))return t;var n=t;return H(e,(function(t,e){n=n.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)})),n}function s(){var e=t.get("title");return e&&e.length&&(e=e[0]),e&&e.text}function l(e){var n=t.getLocaleModel().get(["series","typeNames"]);return n[e]||n.chart}}function iJ(t){if(t&&t.aria){var e=t.aria;null!=e.show&&(e.enabled=e.show),e.label=e.label||{},H(["description","general","series","data"],(function(t){null!=e[t]&&(e.label[t]=e[t])}))}}function oJ(t){t.registerPreprocessor(iJ),t.registerVisual(t.PRIORITY.VISUAL.ARIA,rJ)}var aJ={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},sJ=function(){function t(t){null==(this._condVal=tt(t)?new RegExp(t):ut(t)?t:null)&&Ba(Fa("Illegal regexp",t,"in"))}return t.prototype.evaluate=function(t){var e=typeof t;return tt(e)?this._condVal.test(t):!!nt(e)&&this._condVal.test(t+"")},t}(),lJ=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),uJ=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(!t[e].evaluate())return!1;return!0},t}(),cJ=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(t[e].evaluate())return!0;return!1},t}(),dJ=function(){function t(){}return t.prototype.evaluate=function(){return!this.child.evaluate()},t}(),hJ=function(){function t(){}return t.prototype.evaluate=function(){for(var t=!!this.valueParser,e=(0,this.getValue)(this.valueGetterParam),n=t?this.valueParser(e):null,r=0;r<this.subCondList.length;r++)if(!this.subCondList[r].evaluate(t?n:e))return!1;return!0},t}();function fJ(t,e){if(!0===t||!1===t){var n=new lJ;return n.value=t,n}return mJ(t)||Ba(Fa("Illegal config. Expect a plain object but actually",t)),t.and?pJ("and",t,e):t.or?pJ("or",t,e):t.not?gJ(t,e):yJ(t,e)}function pJ(t,e,n){var r=e[t],i="";i=Fa('"and"/"or" condition should only be `'+t+": [...]` and must not be empty array.","Illegal condition:",e),J(r)||Ba(i),r.length||Ba(i);var o="and"===t?new uJ:new cJ;return o.children=W(r,(function(t){return fJ(t,n)})),o.children.length||Ba(i),o}function gJ(t,e){var n=t.not,r="";r=Fa('"not" condition should only be `not: {}`.',"Illegal condition:",t),mJ(n)||Ba(r);var i=new dJ;return i.child=fJ(n,e),i.child||Ba(r),i}function yJ(t,e){for(var n=e.prepareGetValue(t),r=[],i=Z(t),o=t.parser,a=o?Pm(o):null,
33s=0;s<i.length;s++){var l=i[s];if("parser"!==l&&!e.valueGetterAttrMap.get(l)){var u=Ct(aJ,l)?aJ[l]:l,c=t[l],d=a?a(c):c,h=Nm(u,d)||"reg"===u&&new sJ(d);h||Ba(Fa('Illegal relational operation: "'+l+'" in condition:',t)),r.push(h)}}r.length||Ba(Fa("Relational condition must have at least one operator.","Illegal condition:",t));var f=new hJ;return f.valueGetterParam=n,f.valueParser=a,f.getValue=e.getValue,f.subCondList=r,f}function mJ(t){return rt(t)&&!V(t)}var vJ=function(){function t(t,e){this._cond=fJ(t,e)}return t.prototype.evaluate=function(){return this._cond.evaluate()},t}();function bJ(t,e){return new vJ(t,e)}var xJ={type:"echarts:filter",transform:function(t){for(var e,n=t.upstream,r=bJ(t.config,{valueGetterAttrMap:It({dimension:!0}),prepareGetValue:function(t){var e=t.dimension;Ct(t,"dimension")||Ba(Fa('Relation condition must has prop "dimension" specified.',"Illegal condition:",t));var r=n.getDimensionInfo(e);return r||Ba(Fa("Can not find dimension info via: "+e+".\n","Existing dimensions: ",n.cloneAllDimensionInfo(),".\n","Illegal condition:",t,".\n")),{dimIdx:r.index}},getValue:function(t){return n.retrieveValueFromItem(e,t.dimIdx)}}),i=[],o=0,a=n.count();o<a;o++)e=n.getRawDataItem(o),r.evaluate()&&i.push(e);return{data:i}}},_J="";_J=["Valid config is like:",'{ dimension: "age", order: "asc" }','or [{ dimension: "age", order: "asc"], { dimension: "date", order: "desc" }]'].join(" ");var wJ={type:"echarts:sort",transform:function(t){var e=t.upstream,n=t.config,r=Ha(n);r.length||Ba("Empty `config` in sort transform.");var i=[];H(r,(function(t){var n=t.dimension,r=t.order,o=t.parser,a=t.incomparable;null==n&&Ba('Sort transform config must has "dimension" specified.'+_J),"asc"!==r&&"desc"!==r&&Ba('Sort transform config must has "order" specified.'+_J),a&&"min"!==a&&"max"!==a&&Ba('incomparable must be "min" or "max" rather than "'+a+'".'),"asc"!==r&&"desc"!==r&&Ba('order must be "asc" or "desc" rather than "'+r+'".');var s=e.getDimensionInfo(n);s||Ba(Fa("Can not find dimension info via: "+n+".\n","Existing dimensions: ",e.cloneAllDimensionInfo(),".\n","Illegal config:",t,".\n"));var l=o?Pm(o):null;o&&!l&&Ba(Fa("Invalid parser name "+o+".\n","Illegal config:",t,".\n")),i.push({dimIdx:s.index,parser:l,comparator:new Em(r,a)})}));var o=e.sourceFormat;o!==Ag&&o!==Dg&&Ba('sourceFormat "'+o+'" is not supported yet');for(var a=[],s=0,l=e.count();s<l;s++)a.push(e.getRawDataItem(s));return a.sort((function(t,n){for(var r=0;r<i.length;r++){var o=i[r],a=e.retrieveValueFromItem(t,o.dimIdx),s=e.retrieveValueFromItem(n,o.dimIdx);o.parser&&(a=o.parser(a),s=o.parser(s));var l=o.comparator.evaluate(a,s);if(0!==l)return l}return 0})),{data:a}}};function SJ(t){t.registerTransform(xJ),t.registerTransform(wJ)}var MJ=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return i(e,t),e.prototype.init=function(e,n,r){t.prototype.init.call(this,e,n,r),this._sourceManager=new av(this),sv(this)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),sv(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:Pg},e}(bg),IJ=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return i(e,t),e.type="dataset",e}(Wv);function AJ(t){t.registerComponentModel(MJ),t.registerComponentView(IJ)}var DJ=ql.CMD;function TJ(t,e){return Math.abs(t-e)<1e-5}function CJ(t){var e,n,r,i,o,a=t.data,s=t.len(),l=[],u=0,c=0,d=0,h=0;function f(t,n){e&&e.length>2&&l.push(e),e=[t,n]}function p(t,n,r,i){TJ(t,r)&&TJ(n,i)||e.push(t,n,r,i,r,i)}function g(t,n,r,i,o,a){var s=Math.abs(n-t),l=4*Math.tan(s/4)/3,u=n<t?-1:1,c=Math.cos(t),d=Math.sin(t),h=Math.cos(n),f=Math.sin(n),p=c*o+r,g=d*a+i,y=h*o+r,m=f*a+i,v=o*l*u,b=a*l*u;e.push(p-v*d,g+b*c,y+v*f,m-b*h,y,m)}for(var y=0;y<s;){var m=a[y++],v=1===y;switch(v&&(d=u=a[y],h=c=a[y+1],m!==DJ.L&&m!==DJ.C&&m!==DJ.Q||(e=[d,h])),m){case DJ.M:u=d=a[y++],c=h=a[y++],f(d,h);break;
vendor: 8,589 bytes, line 33
33case DJ.L:p(u,c,n=a[y++],r=a[y++]),u=n,c=r;break;case DJ.C:e.push(a[y++],a[y++],a[y++],a[y++],u=a[y++],c=a[y++]);break;case DJ.Q:n=a[y++],r=a[y++],i=a[y++],o=a[y++],e.push(u+2/3*(n-u),c+2/3*(r-c),i+2/3*(n-i),o+2/3*(r-o),i,o),u=i,c=o;break;case DJ.A:var b=a[y++],x=a[y++],_=a[y++],w=a[y++],S=a[y++],M=a[y++]+S;y+=1;var I=!a[y++];n=Math.cos(S)*_+b,r=Math.sin(S)*w+x,v?f(d=n,h=r):p(u,c,n,r),u=Math.cos(M)*_+b,c=Math.sin(M)*w+x;for(var A=(I?-1:1)*Math.PI/2,D=S;I?D>M:D<M;D+=A)g(D,I?Math.max(D+A,M):Math.min(D+A,M),b,x,_,w);break;case DJ.R:d=u=a[y++],h=c=a[y++],n=d+a[y++],r=h+a[y++],f(n,h),p(n,h,n,r),p(n,r,d,r),p(d,r,d,h),p(d,h,n,h);break;case DJ.Z:e&&p(u,c,d,h),u=d,c=h}}return e&&e.length>2&&l.push(e),l}function OJ(t,e,n,r,i,o,a,s,l,u){if(TJ(t,n)&&TJ(e,r)&&TJ(i,a)&&TJ(o,s))l.push(a,s);else{var c=2/u,d=c*c,h=a-t,f=s-e,p=Math.sqrt(h*h+f*f);h/=p,f/=p;var g=n-t,y=r-e,m=i-a,v=o-s,b=g*g+y*y,x=m*m+v*v;if(b<d&&x<d)l.push(a,s);else{var _=h*g+f*y,w=-h*m-f*v;if(b-_*_<d&&_>=0&&x-w*w<d&&w>=0)l.push(a,s);else{var S=[],M=[];Xn(t,n,i,a,.5,S),Xn(e,r,o,s,.5,M),OJ(S[0],M[0],S[1],M[1],S[2],M[2],S[3],M[3],l,u),OJ(S[4],M[4],S[5],M[5],S[6],M[6],S[7],M[7],l,u)}}}}function PJ(t,e){var n=CJ(t),r=[];e=e||1;for(var i=0;i<n.length;i++){var o=n[i],a=[],s=o[0],l=o[1];a.push(s,l);for(var u=2;u<o.length;){var c=o[u++],d=o[u++],h=o[u++],f=o[u++],p=o[u++],g=o[u++];OJ(s,l,c,d,h,f,p,g,a,e),s=p,l=g}r.push(a)}return r}function kJ(t,e,n){var r=t[e],i=t[1-e],o=Math.abs(r/i),a=Math.ceil(Math.sqrt(o*n)),s=Math.floor(n/a);0===s&&(s=1,a=n);for(var l=[],u=0;u<a;u++)l.push(s);var c=n-a*s;if(c>0)for(u=0;u<c;u++)l[u%a]+=1;return l}function $J(t,e,n){for(var r=t.r0,i=t.r,o=t.startAngle,a=t.endAngle,s=Math.abs(a-o),l=s*i,u=i-r,c=l>Math.abs(u),d=kJ([l,u],c?0:1,e),h=(c?s:u)/d.length,f=0;f<d.length;f++)for(var p=(c?u:s)/d[f],g=0;g<d[f];g++){var y={};c?(y.startAngle=o+h*f,y.endAngle=o+h*(f+1),y.r0=r+p*g,y.r=r+p*(g+1)):(y.startAngle=o+p*g,y.endAngle=o+p*(g+1),y.r0=r+h*f,y.r=r+h*(f+1)),y.clockwise=t.clockwise,y.cx=t.cx,y.cy=t.cy,n.push(y)}}function EJ(t,e,n){for(var r=t.width,i=t.height,o=r>i,a=kJ([r,i],o?0:1,e),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",c=o?"y":"x",d=t[s]/a.length,h=0;h<a.length;h++)for(var f=t[l]/a[h],p=0;p<a[h];p++){var g={};g[u]=h*d,g[c]=p*f,g[s]=d,g[l]=f,g.x+=t.x,g.y+=t.y,n.push(g)}}function LJ(t,e,n,r){return t*r-n*e}function NJ(t,e,n,r,i,o,a,s){var l=n-t,u=r-e,c=a-i,d=s-o,h=LJ(c,d,l,u);if(Math.abs(h)<1e-6)return null;var f=LJ(t-i,e-o,c,d)/h;return f<0||f>1?null:new Ue(f*l+t,f*u+e)}function RJ(t,e,n){var r=new Ue;Ue.sub(r,n,e),r.normalize();var i=new Ue;return Ue.sub(i,t,e),i.dot(r)}function FJ(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function BJ(t,e,n){for(var r=t.length,i=[],o=0;o<r;o++){var a=t[o],s=t[(o+1)%r],l=NJ(a[0],a[1],s[0],s[1],e.x,e.y,n.x,n.y);l&&i.push({projPt:RJ(l,e,n),pt:l,idx:o})}if(i.length<2)return[{points:t},{points:t}];i.sort((function(t,e){return t.projPt-e.projPt}));var u=i[0],c=i[i.length-1];if(c.idx<u.idx){var d=u;u=c,c=d}var h=[u.pt.x,u.pt.y],f=[c.pt.x,c.pt.y],p=[h],g=[f];for(o=u.idx+1;o<=c.idx;o++)FJ(p,t[o].slice());for(FJ(p,f),FJ(p,h),o=c.idx+1;o<=u.idx+r;o++)FJ(g,t[o%r].slice());return FJ(g,h),FJ(g,f),[{points:p},{points:g}]}function jJ(t){var e=t.points,n=[],r=[];Il(e,n,r);var i=new nn(n[0],n[1],r[0]-n[0],r[1]-n[1]),o=i.width,a=i.height,s=i.x,l=i.y,u=new Ue,c=new Ue;return o>a?(u.x=c.x=s+o/2,u.y=l,c.y=l+a):(u.y=c.y=l+a/2,u.x=s,c.x=s+o),BJ(e,u,c)}function zJ(t,e,n,r){if(1===n)r.push(e);else{var i=Math.floor(n/2),o=t(e);zJ(t,o[0],i,r),zJ(t,o[1],n-i,r)}return r}function VJ(t,e){for(var n=[],r=0;r<e;r++)n.push(Ld(t));return n}function HJ(t,e){e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel}function WJ(t){for(var e=[],n=0;n<t.length;)e.push([t[n++],t[n++]]);return e}function GJ(t,e){var n,r=[],i=t.shape;switch(t.type){case"rect":EJ(i,e,r),n=Lu;break;case"sector":$J(i,e,r),n=nh;break;case"circle":$J({r0:0,r:i.r,startAngle:0,endAngle:2*Math.PI,cx:i.cx,cy:i.cy},e,r),n=nh;break;default:var o=t.getComputedTransform(),a=o?Math.sqrt(Math.max(o[0]*o[0]+o[1]*o[1],o[2]*o[2]+o[3]*o[3])):1,s=W(PJ(t.getUpdatedPathProxy(),a),(function(t){return WJ(t)})),l=s.length;if(0===l)zJ(jJ,{points:s[0]},e,r);else if(l===e)for(var u=0;u<l;u++)r.push({points:s[u]});else{var c=0,d=W(s,(function(t){var e=[],n=[];Il(t,e,n);var r=(n[1]-e[1])*(n[0]-e[0]);return c+=r,{poly:t,area:r}}));d.sort((function(t,e){return e.area-t.area}));var h=e;for(u=0;u<l;u++){var f=d[u];if(h<=0)break;var p=u===l-1?h:Math.ceil(f.area/c*e);p<0||(zJ(jJ,{points:f.poly},p,r),h-=p)}}n=lh}if(!n)return VJ(t,e);var g=[];for(u=0;u<r.length;u++){var y=new n;y.setShape(r[u]),HJ(t,y),g.push(y)}return g}function YJ(t,e){var n=t.length,r=e.length;if(n===r)return[t,e];for(var i=[],o=[],a=n<r?t:e,s=Math.min(n,r),l=Math.abs(r-n)/6,u=(s-2)/6,c=Math.ceil(l/u)+1,d=[a[0],a[1]],h=l,f=2;f<s;){var p=a[f-2],g=a[f-1],y=a[f++],m=a[f++],v=a[f++],b=a[f++],x=a[f++],_=a[f++];if(h<=0)d.push(y,m,v,b,x,_);else{for(var w=Math.min(h,c-1)+1,S=1;S<=w;S++){var M=S/w;Xn(p,y,v,x,M,i),Xn(g,m,b,_,M,o),p=i[3],g=o[3],d.push(i[1],o[1],i[2],o[2],p,g),y=i[5],m=o[5],v=i[6],b=o[6]}h-=w-1}}return a===t?[d,e]:[t,d]}function UJ(t,e){for(var n=t.length,r=t[n-2],i=t[n-1],o=[],a=0;a<e.length;)o[a++]=r,o[a++]=i;return o}function ZJ(t,e){for(var n,r,i,o=[],a=[],s=0;s<Math.max(t.length,e.length);s++){var l=t[s],u=e[s],c=void 0,d=void 0;l?u?(r=c=(n=YJ(l,u))[0],i=d=n[1]):(d=UJ(i||l,l),c=l):(c=UJ(r||u,u),d=u),o.push(c),a.push(d)}return[o,a]}function XJ(t){for(var e=0,n=0,r=0,i=t.length,o=0,a=i-2;o<i;a=o,o+=2){var s=t[a],l=t[a+1],u=t[o],c=t[o+1],d=s*c-u*l;e+=d,n+=(s+u)*d,r+=(l+c)*d}return 0===e?[t[0]||0,t[1]||0]:[n/e/3,r/e/3,e]}function qJ(t,e,n,r){for(var i=(t.length-2)/6,o=1/0,a=0,s=t.length,l=s-2,u=0;u<i;u++){for(var c=6*u,d=0,h=0;h<s;h+=2){var f=0===h?c:(c+h-2)%l+2,p=t[f]-n[0],g=t[f+1]-n[1],y=e[h]-r[0]-p,m=e[h+1]-r[1]-g;d+=y*y+m*m}d<o&&(o=d,a=u)}return a}function KJ(t){for(var e=[],n=t.length,r=0;r<n;r+=2)e[r]=t[n-r-2],e[r+1]=t[n-r-1];return e}function JJ(t,e,n,r){for(var i,o=[],a=0;a<t.length;a++){var s=t[a],l=e[a],u=XJ(s),c=XJ(l);null==i&&(i=u[2]<0!=c[2]<0);var d=[],h=[],f=0,p=1/0,g=[],y=s.length;i&&(s=KJ(s));for(var m=6*qJ(s,l,u,c),v=y-2,b=0;b<v;b+=2){var x=(m+b)%v+2;d[b+2]=s[x]-u[0],d[b+3]=s[x+1]-u[1]}if(d[0]=s[m]-u[0],d[1]=s[m+1]-u[1],n>0)for(var _=r/n,w=-r/2;w<=r/2;w+=_){var S=Math.sin(w),M=Math.cos(w),I=0;for(b=0;b<s.length;b+=2){var A=d[b],D=d[b+1],T=l[b]-c[0],C=l[b+1]-c[1],O=T*M-C*S,P=T*S+C*M;g[b]=O,g[b+1]=P;var k=O-A,$=P-D;I+=k*k+$*$}if(I<p){p=I,f=w;for(var E=0;E<g.length;E++)h[E]=g[E]}}else for(var L=0;L<y;L+=2)h[L]=l[L]-c[0],h[L+1]=l[L+1]-c[1];o.push({from:d,to:h,fromCp:u,toCp:c,rotation:-f})}return o}function QJ(t){return t.__isCombineMorphing}var tQ="__mOriginal_";function eQ(t,e,n){var r=tQ+e,i=t[r]||t[e];t[r]||(t[r]=t[e]);var o=n.replace,a=n.after,s=n.before;t[e]=function(){var t,e=arguments;return s&&s.apply(this,e),t=o?o.apply(this,e):i.apply(this,e),a&&a.apply(this,e),t}}function nQ(t,e){var n=tQ+e;t[n]&&(t[e]=t[n],t[n]=null)}function rQ(t,e){for(var n=0;n<t.length;n++)for(var r=t[n],i=0;i<r.length;){var o=r[i],a=r[i+1];r[i++]=e[0]*o+e[2]*a+e[4],r[i++]=e[1]*o+e[3]*a+e[5]}}function iQ(t,e){var n=t.getUpdatedPathProxy(),r=e.getUpdatedPathProxy(),i=ZJ(CJ(n),CJ(r)),o=i[0],a=i[1],s=t.getComputedTransform(),l=e.getComputedTransform();function u(){this.transform=null}s&&rQ(o,s),l&&rQ(a,l),eQ(e,"updateTransform",{replace:u}),e.transform=null;var c=JJ(o,a,10,Math.PI),d=[];eQ(e,"buildPath",{replace:function(t){for(var n=e.__morphT,r=1-n,i=[],o=0;o<c.length;o++){var a=c[o],s=a.from,l=a.to,u=a.rotation*n,h=a.fromCp,f=a.toCp,p=Math.sin(u),g=Math.cos(u);te(i,h,f,n);for(var y=0;y<s.length;y+=2){var m=s[y],v=s[y+1],b=m*r+(S=l[y])*n,x=v*r+(M=l[y+1])*n;d[y]=b*g-x*p+i[0],d[y+1]=b*p+x*g+i[1]}var _=d[0],w=d[1];for(t.moveTo(_,w),y=2;y<s.length;){var S=d[y++],M=d[y++],I=d[y++],A=d[y++],D=d[y++],T=d[y++];_===S&&w===M&&I===D&&A===T?t.lineTo(D,T):t.bezierCurveTo(S,M,I,A,D,T),_=D,w=T}}}})}function oQ(t,e,n){if(!t||!e)return e;var r=n.done,i=n.during;function o(){nQ(e,"buildPath"),nQ(e,"updateTransform"),e.__morphT=-1,e.createPathProxy(),e.dirtyShape()}return iQ(t,e),e.__morphT=0,e.animateTo({__morphT:1},R({during:function(t){e.dirtyShape(),i&&i(t)},done:function(){o(),r&&r()}},n)),e}function aQ(t,e,n,r,i,o){var a=16;t=i===n?0:Math.round(32767*(t-n)/(i-n)),e=o===r?0:Math.round(32767*(e-r)/(o-r));for(var s,l=0,u=(1<<a)/2;u>0;u/=2){var c=0,d=0;(t&u)>0&&(c=1),(e&u)>0&&(d=1),l+=u*u*(3*c^d),0===d&&(1===c&&(t=u-1-t,e=u-1-e),s=t,t=e,e=s)}return l}function sQ(t){var e=1/0,n=1/0,r=-1/0,i=-1/0,o=W(t,(function(t){var o=t.getBoundingRect
vendor: 4,632 bytes, line 33
33(),a=t.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return e=Math.min(s,e),n=Math.min(l,n),r=Math.max(s,r),i=Math.max(l,i),[s,l]}));return W(o,(function(o,a){return{cp:o,z:aQ(o[0],o[1],e,n,r,i),path:t[a]}})).sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function lQ(t){return GJ(t.path,t.count)}function uQ(){return{fromIndividuals:[],toIndividuals:[],count:0}}function cQ(t,e,n){var r=[];function i(t){for(var e=0;e<t.length;e++){var n=t[e];QJ(n)?i(n.childrenRef()):n instanceof _u&&r.push(n)}}i(t);var o=r.length;if(!o)return uQ();var a=(n.dividePath||lQ)({path:e,count:o});if(a.length!==o)return console.error("Invalid morphing: unmatched splitted path"),uQ();r=sQ(r),a=sQ(a);for(var s=n.done,l=n.during,u=n.individualDelay,c=new po,d=0;d<o;d++){var h=r[d],f=a[d];f.parent=e,f.copyTransform(c),u||iQ(h,f)}function p(t){for(var e=0;e<a.length;e++)a[e].addSelfToZr(t)}function g(){e.__isCombineMorphing=!1,e.__morphT=-1,e.childrenRef=null,nQ(e,"addSelfToZr"),nQ(e,"removeSelfFromZr")}e.__isCombineMorphing=!0,e.childrenRef=function(){return a},eQ(e,"addSelfToZr",{after:function(t){p(t)}}),eQ(e,"removeSelfFromZr",{after:function(t){for(var e=0;e<a.length;e++)a[e].removeSelfFromZr(t)}});var y=a.length;if(u){var m=y,v=function(){0==--m&&(g(),s&&s())};for(d=0;d<y;d++){var b=u?R({delay:(n.delay||0)+u(d,y,r[d],a[d]),done:v},n):n;oQ(r[d],a[d],b)}}else e.__morphT=0,e.animateTo({__morphT:1},R({during:function(t){for(var n=0;n<y;n++){var r=a[n];r.__morphT=e.__morphT,r.dirtyShape()}l&&l(t)},done:function(){g();for(var e=0;e<t.length;e++)nQ(t[e],"updateTransform");s&&s()}},n));return e.__zr&&p(e.__zr),{fromIndividuals:r,toIndividuals:a,count:y}}function dQ(t,e,n){var r=e.length,i=[],o=n.dividePath||lQ;function a(t){for(var e=0;e<t.length;e++){var n=t[e];QJ(n)?a(n.childrenRef()):n instanceof _u&&i.push(n)}}if(QJ(t)){a(t.childrenRef());var s=i.length;if(s<r)for(var l=0,u=s;u<r;u++)i.push(Ld(i[l++%s]));i.length=r}else{i=o({path:t,count:r});var c=t.getComputedTransform();for(u=0;u<i.length;u++)i[u].setLocalTransform(c);if(i.length!==r)return console.error("Invalid morphing: unmatched splitted path"),uQ()}i=sQ(i),e=sQ(e);var d=n.individualDelay;for(u=0;u<r;u++){var h=d?R({delay:(n.delay||0)+d(u,r,i[u],e[u])},n):n;oQ(i[u],e[u],h)}return{fromIndividuals:i,toIndividuals:e,count:e.length}}function hQ(t){return J(t[0])}function fQ(t,e){for(var n=[],r=t.length,i=0;i<r;i++)n.push({one:t[i],many:[]});for(i=0;i<e.length;i++){var o=e[i].length,a=void 0;for(a=0;a<o;a++)n[a%r].many.push(e[i][a])}var s=0;for(i=r-1;i>=0;i--)if(!n[i].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var u=Math.ceil(o/2);n[i].many=l.slice(u,o),n[s].many=l.slice(0,u),s++}return n}var pQ={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),r=0;r<t.count;r++){var i=Ld(t.path);i.setStyle("opacity",n),e.push(i)}return e},split:null};function gQ(t,e,n,r,i,o){if(t.length&&e.length){var a=kh("update",r,i);if(a&&a.duration>0){var s,l,u=r.getModel("universalTransition").get("delay"),c=Object.assign({setToFinal:!0},a);hQ(t)&&(s=t,l=e),hQ(e)&&(s=e,l=t);for(var d=s?s===t:t.length>e.length,h=s?fQ(l,s):fQ(d?e:t,[d?t:e]),f=0,p=0;p<h.length;p++)f+=h[p].many.length;var g=0;for(p=0;p<h.length;p++)y(h[p],d,g,f),g+=h[p].many.length}}function y(t,e,r,i,a){var s=t.many,l=t.one;if(1!==s.length||a)for(var d=R({dividePath:pQ[n],individualDelay:u&&function(t,e,n,o){return u(t+r,i)}},c),h=e?cQ(s,l,d):dQ(l,s,d),f=h.fromIndividuals,p=h.toIndividuals,g=f.length,m=0;m<g;m++)v=u?R({delay:u(m,g)},c):c,o(f[m],p[m],e?s[m]:t.one,e?t.one:s[m],v);else{var v,b=e?s[0]:l,x=e?l:s[0];QJ(b)?y({many:[b],one:x},!0,r,i,!0):(oQ(b,x,v=u?R({delay:u(r,i)},c):c),o(b,x,b,x,v))}}}function yQ(t){if(!t)return[];if(J(t)){for(var e=[],n=0;n<t.length;n++)e.push(yQ(t[n]));return e}var r=[];return t.traverse((function(t){t instanceof _u&&!t.disableMorphing&&!t.invisible&&!t.ignore&&r.push(t)})),r}var mQ=1e4,vQ=0,bQ=1,xQ=2,_Q=fs();function wQ(t,e){for(var n=t.dimensions,r=0;r<n.length;r++){var i=t.getDimensionInfo(n[r]);if(i&&0===i.otherDims[e])return n[r]}}function SQ(t,e,n){var r=t.getDimensionInfo(n),i=r&&r.ordinalMeta;if(r){var o=t.get(r.name,e);return i&&i.categories[o]||o+""}}function MQ(t,e,n,r){var i=wQ(t,r?"itemChildGroupId":"itemGroupId");if(i)return SQ(t,e,i);var o=t.getRawDataItem(e),a=r?"childGroupId":"groupId";return o&&o[a]?o[a]+"":r?void 0:n||t.getId(e)}function IQ(t){var e=[];return H(t,(function(t){var n=t.data,r=t.dataGroupId;if(n.count()>mQ)Ea("Universal transition is disabled on large data > 10k.");else for(var i=n.getIndices(),o=0;o<i.length;
vendor: 5,960 bytes, line 33
33o++)e.push({data:n,groupId:MQ(n,o,r,!1),childGroupId:MQ(n,o,r,!0),divide:t.divide,dataIndex:o})})),e}function AQ(t,e,n){t.traverse((function(t){t instanceof _u&&Lh(t,{style:{opacity:0}},e,{dataIndex:n,isFrom:!0})}))}function DQ(t){if(t.parent){var e=t.getComputedTransform();t.setLocalTransform(e),t.parent.remove(t)}}function TQ(t){t.stopAnimation(),t.isGroup&&t.traverse((function(t){t.stopAnimation()}))}function CQ(t,e,n){var r=kh("update",n,e);r&&t.traverse((function(t){if(t instanceof fl){var e=zh(t);e&&t.animateFrom({style:e},r)}}))}function OQ(t,e){var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++){var i=t[r],o=e[r];if(i.data.getId(i.dataIndex)!==o.data.getId(o.dataIndex))return!1}return!0}function PQ(t,e,n){var r=IQ(t),i=IQ(e);function o(t,e,n,r,i){(n||t)&&e.animateFrom({style:n&&n!==t?N(N({},n.style),t.style):t.style},i)}var a=!1,s=vQ,l=It(),u=It();r.forEach((function(t){t.groupId&&l.set(t.groupId,!0),t.childGroupId&&u.set(t.childGroupId,!0)}));for(var c=0;c<i.length;c++){var d=i[c].groupId;if(u.get(d)){s=bQ;break}var h=i[c].childGroupId;if(h&&l.get(h)){s=xQ;break}}function f(t,e){return function(n){var r=n.data,i=n.dataIndex;return e?r.getId(i):t?s===bQ?n.childGroupId:n.groupId:s===xQ?n.childGroupId:n.groupId}}var p=OQ(r,i),g={};if(!p)for(c=0;c<i.length;c++){var y=i[c],m=y.data.getItemGraphicEl(y.dataIndex);m&&(g[m.id]=!0)}function v(t,e){var n=r[e],s=i[t],l=s.data.hostModel,u=n.data.getItemGraphicEl(n.dataIndex),c=s.data.getItemGraphicEl(s.dataIndex);u!==c?u&&g[u.id]||c&&(TQ(c),u?(TQ(u),DQ(u),a=!0,gQ(yQ(u),yQ(c),s.divide,l,t,o)):AQ(c,l,t)):c&&CQ(c,s.dataIndex,l)}new Ww(r,i,f(!0,p),f(!1,p),null,"multiple").update(v).updateManyToOne((function(t,e){var n=i[t],s=n.data,l=s.hostModel,u=s.getItemGraphicEl(n.dataIndex),c=Y(W(e,(function(t){return r[t].data.getItemGraphicEl(r[t].dataIndex)})),(function(t){return t&&t!==u&&!g[t.id]}));u&&(TQ(u),c.length?(H(c,(function(t){TQ(t),DQ(t)})),a=!0,gQ(yQ(c),yQ(u),n.divide,l,t,o)):AQ(u,l,n.dataIndex))})).updateOneToMany((function(t,e){var n=r[e],s=n.data.getItemGraphicEl(n.dataIndex);if(!s||!g[s.id]){var l=Y(W(t,(function(t){return i[t].data.getItemGraphicEl(i[t].dataIndex)})),(function(t){return t&&t!==s})),u=i[t[0]].data.hostModel;l.length&&(H(l,(function(t){return TQ(t)})),s?(TQ(s),DQ(s),a=!0,gQ(yQ(s),yQ(l),n.divide,u,t[0],o)):H(l,(function(e){return AQ(e,u,t[0])})))}})).updateManyToMany((function(t,e){new Ww(e,t,(function(t){return r[t].data.getId(r[t].dataIndex)}),(function(t){return i[t].data.getId(i[t].dataIndex)})).update((function(n,r){v(t[n],e[r])})).execute()})).execute(),a&&H(e,(function(t){var e=t.data.hostModel,r=e&&n.getViewOfSeriesModel(e),i=kh("update",e,0);r&&e.isAnimationEnabled()&&i&&i.duration>0&&r.group.traverse((function(t){t instanceof _u&&!t.animators.length&&t.animateFrom({style:{opacity:0}},i)}))}))}function kQ(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function $Q(t){return J(t)?t.sort().join(","):t}function EQ(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function LQ(t,e){var n=It(),r=It(),i=It();function o(t){n.get(t)&&Ea("Duplicated seriesKey in universalTransition "+t)}return H(t.oldSeries,(function(e,n){var o=t.oldDataGroupIds[n],a=t.oldData[n],s=kQ(e),l=$Q(s);r.set(l,{dataGroupId:o,data:a}),J(s)&&H(s,(function(t){i.set(t,{key:l,dataGroupId:o,data:a})}))})),H(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.get("dataGroupId"),a=t.getData(),s=kQ(t),l=$Q(s),u=r.get(l);if(u)o(l),n.set(l,{oldSeries:[{dataGroupId:u.dataGroupId,divide:EQ(u.data),data:u.data}],newSeries:[{dataGroupId:e,divide:EQ(a),data:a}]});else if(J(s)){o(l);var c=[];H(s,(function(t){var e=r.get(t);e.data&&c.push({dataGroupId:e.dataGroupId,divide:EQ(e.data),data:e.data})})),c.length&&n.set(l,{oldSeries:c,newSeries:[{dataGroupId:e,data:a,divide:EQ(a)}]})}else{var d=i.get(s);if(d){var h=n.get(d.key);h||(h={oldSeries:[{dataGroupId:d.dataGroupId,data:d.data,divide:EQ(d.data)}],newSeries:[]},n.set(d.key,h)),h.newSeries.push({dataGroupId:e,data:a,divide:EQ(a)})}}}})),n}function NQ(t,e){for(var n=0;n<t.length;n++)if(null!=e.seriesIndex&&e.seriesIndex===t[n].seriesIndex||null!=e.seriesId&&e.seriesId===t[n].id)return n}function RQ(t,e,n,r){var i=[],o=[];H(Ha(t.from),(function(t){var n=NQ(e.oldSeries,t);n>=0&&i.push({dataGroupId:e.oldDataGroupIds[n],data:e.oldData[n],divide:EQ(e.oldData[n]),groupIdDim:t.dimension})})),H(Ha(t.to),(function(t){var r=NQ(n.updatedSeries,t);if(r>=0){var i=n.updatedSeries[r].getData();o.push({dataGroupId:e.oldDataGroupIds[r],data:i,divide:EQ(i),groupIdDim:t.dimension})}})),i.length>0&&o.length>0&&PQ(i,o,r)}function FQ(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){H(Ha(n.seriesTransition),(function(t){H(Ha(t.to),(function(t){for(var e=n.updatedSeries,r=0;r<e.length;r++)(null!=t.seriesIndex&&t.seriesIndex===e[r].seriesIndex||null!=t.seriesId&&t.seriesId===e[r].id)&&(e[r][Ev]=!0)}))}))})),t.registerUpdateLifecycle("series:transition",(function(t,e,n){var r=_Q(e);if(r.oldSeries&&n.updatedSeries&&n.optionChanged){var i=n.seriesTransition;if(i)H(Ha(i),(function(t){RQ(t,r,n,e)}));else{var o=LQ(r,n);H(o.keys(),(function(t){var n=o.get(t);PQ(n.oldSeries,n.newSeries,e)}))}H(n.updatedSeries,(function(t){t[Ev]&&(t[Ev]=!1)}))}for(var a=t.getSeries(),s=r.oldSeries=[],l=r.oldDataGroupIds=[],u=r.oldData=[],c=0;c<a.length;c++){var d=a[c].getData();d.count()<mQ&&(s.push(a[c]),l.push(a[c].get("dataGroupId")),u.push(d))}}))}zw([DT]),zw([mT]),zw([wC,nO,SO,BP,tk,V$,NE,aN,bR,AR,LR,CB,aj,wj,Yj,Kj,hz,xz,Zz,nV,vV,JH]),zw(YW),zw(CG),zw(z$),zw(XG),zw(TB),zw(nY),zw(xY),zw(WU),zw(_Z),zw(GW),zw(JZ),zw(eX),zw(bX),zw(zX),zw(KX),zw(lq),zw($q),zw(cK),zw(Zq),zw(uK),zw(QK),zw(UK),zw(JK),zw(oJ),zw(SJ),zw(AJ),zw(FQ),zw(BA),t.Axis=UI,t.ChartView=Zv,t.ComponentModel=bg,t.ComponentView=Wv,t.List=vS,t.Model=Xf,t.PRIORITY=b_,t.SeriesModel=Lv,t.color=jr,t.connect=pw,t.dataTool=Fw,t.depen
33dencies=c_,t.disConnect=yw,t.disconnect=gw,t.dispose=mw,t.env=a,t.extendChartView=QI,t.extendComponentModel=qI,t.extendComponentView=KI,t.extendSeriesModel=JI,t.format=TI,t.getCoordinateSystemDimensions=Tw,t.getInstanceByDom=vw,t.getInstanceById=bw,t.getMap=Nw,t.graphic=DI,t.helper=lI,t.init=fw,t.innerDrawElementOnCanvas=Yx,t.matrix=Ye,t.number=II,t.parseGeoJSON=MI,t.parseGeoJson=MI,t.registerAction=Aw,t.registerCoordinateSystem=Dw,t.registerLayout=Cw,t.registerLoading=$w,t.registerLocale=up,t.registerMap=Lw,t.registerPostInit=Sw,t.registerPostUpdate=Mw,t.registerPreprocessor=_w,t.registerProcessor=ww,t.registerTheme=xw,t.registerTransform=Rw,t.registerUpdateLifecycle=Iw,t.registerVisual=Ow,t.setCanvasCreator=Ew,t.setPlatformAPI=v,t.throttle=rb,t.time=AI,t.use=zw,t.util=CI,t.vector=ie,t.version=u_,t.zrUtil=kt,t.zrender=ta,Object.defineProperty(t,"__esModule",{value:!0})}(e)},73527:function(t,e,n){"use strict"; 34/*! 35 * pinia v2.2.2 36 * (c) 2024 Eduardo San Martin Morote 37 * @license MIT 38 */var r=n(61450);let i;const o=t=>i=t,a=Symbol();function s(t){return t&&"object"==typeof t&&"[object Object]"===Object.prototype.toString.call(t)&&"function"!=typeof t.toJSON}var l;e.MutationType=void 0,(l=e.MutationType||(e.MutationType={})).direct="direct",l.patchObject="patch object",l.patchFunction="patch function";const u="undefined"!=typeof window;const c=()=>{};function d(t,e,n,i=c){t.push(e);const o=()=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),i())};return!n&&r.getCurrentScope()&&r.onScopeDispose(o),o}function h(t,...e){t.slice().forEach((t=>{t(...e)}))}const f=t=>t(),p=Symbol(),g=Symbol();function y(t,e){t instanceof Map&&e instanceof Map?e.forEach(((e,n)=>t.set(n,e))):t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const n in e){if(!e.hasOwnProperty(n))continue;const i=e[n],o=t[n];s(o)&&s(i)&&t.hasOwnProperty(n)&&!r.isRef(i)&&!r.isReactive(i)?t[n]=y(o,i):t[n]=i}return t}const m=Symbol(),v=new WeakMap;const{assign:b}=Object;function x(t,n,i={},a,l,u){let x;const _=b({actions:{}},i),w={deep:!0};let S,M,I,A=[],D=[];const T=a.state.value[t];let C;function O(n){let i;S=M=!1,"function"==typeof n?(n(a.state.value[t]),i={type:e.MutationType.patchFunction,storeId:t,events:I}):(y(a.state.value[t],n),i={type:e.MutationType.patchObject,payload:n,storeId:t,events:I});const o=C=Symbol();r.nextTick().then((()=>{C===o&&(S=!0)})),M=!0,h(A,i,a.state.value[t])}u||T||(r.isVue2?r.set(a.state.value,t,{}):a.state.value[t]={}),r.ref({});const P=u?function(){const{state:t}=i,e=t?t():{};this.$patch((t=>{b(t,e)}))}:c;const k=(e,n="")=>{if(p in e)return e[g]=n,e;const r=function(){o(a);const n=Array.from(arguments),i=[],s=[];let l;h(D,{args:n,name:r[g],store:E,after:function(t){i.push(t)},onError:function(t){s.push(t)}});try{l=e.apply(this&&this.$id===t?this:E,n)}catch(t){throw h(s,t),t}return l instanceof Promise?l.then((t=>(h(i,t),t))).catch((t=>(h(s,t),Promise.reject(t)))):(h(i,l),l)};return r[p]=!0,r[g]=n,r},$={_p:a,$id:t,$onAction:d.bind(null,D),$patch:O,$reset:P,$subscribe(n,i={}){const o=d(A,n,i.detached,(()=>s())),s=x.run((()=>r.watch((()=>a.state.value[t]),(r=>{("sync"===i.flush?M:S)&&n({storeId:t,type:e.MutationType.direct,events:I},r)}),b({},w,i))));return o},$dispose:function(){x.stop(),A=[],D=[],a._s.delete(t)}};r.isVue2&&($._r=!1);const E=r.reactive($);a._s.set(t,E);const L=(a._a&&a._a.runWithContext||f)((()=>a._e.run((()=>(x=r.effectScope()).run((()=>n({action:k})))))));for(const e in L){const n=L[e];if(r.isRef(n)&&(R=n,!r.isRef(R)||!R.effect)||r.isReactive(n))u||(!T||(N=n,r.isVue2?v.has(N):s(N)&&N.hasOwnProperty(m))||(r.isRef(n)?n.value=T[e]:y(n,T[e])),r.isVue2?r.set(a.state.value[t],e,n):a.state.value[t][e]=n);else if("function"==typeof n){const t=k(n,e);r.isVue2?r.set(L,e,t):L[e]=t,_.actions[e]=n}}var N,R;return r.isVue2?Object.keys(L).forEach((t=>{r.set(E,t,L[t])})):(b(E,L),b(r.toRaw(E),L)),Object.defineProperty(E,"$state",{get:()=>a.state.value[t],set:t=>{O((e=>{b(e,t)}))}}),r.isVue2&&(E._r=!0),a._p.forEach((t=>{b(E,x.run((()=>t({store:E,app:a._a,pinia:a,options:_}))))})),T&&u&&i.hydrate&&i.hydrate(E.$state,T),S=!0,M=!0,E}let _="Store";function w(t,e){return Array.isArray(e)?e.reduce(((e,n)=>(e[n]=function(){return t(this.$pinia)[n]},e)),{}):Object.keys(e).reduce(((n,r)=>(n[r]=function(){const n=t(this.$pinia),i=e[r];return"function"==typeof i?i.call(this,n):n[i]},n)),{})}const S=w;e.PiniaVuePlugin=function(t){t.mixin({beforeCreate(){const t=this.$options;if(t.pinia){const e=t.pinia;if(!this._provided){const t={};Object.defineProperty(this,"_provided",{get:()=>t,set:e=>Object.assign(t,e)})}this._provided[a]=e,this.$pinia||(this.$pinia=e),e._a=this,u&&o(e)}else!this.$pinia&&t.parent&&t.parent.$pinia&&(this.$pinia=t.parent.$pinia)},destroyed(){delete this._pStores}})},e.acceptHMRUpdate=function(t,e){return()=>{}},e.createPinia=function(){const t=r.effectScope(!0),e=t.run((()=>r.ref({})));let n=[],i=[];const s=r.markRaw({install(t){o(s),r.isVue2||(s._a=t,t.provide(a,s),t.config.globalProperties.$pinia=s,i.forEac
38h((t=>n.push(t))),i=[])},use(t){return this._a||r.isVue2?n.push(t):i.push(t),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return s},e.defineStore=function(t,e,n){let s,l;const u="function"==typeof e;function c(t,n){const c=r.hasInjectionContext();(t=t||(c?r.inject(a,null):null))&&o(t),(t=i)._s.has(s)||(u?x(s,e,l,t):function(t,e,n){const{state:i,actions:a,getters:s}=e,l=n.state.value[t];let u;u=x(t,(function(){l||(r.isVue2?r.set(n.state.value,t,i?i():{}):n.state.value[t]=i?i():{});const e=r.toRefs(n.state.value[t]);return b(e,a,Object.keys(s||{}).reduce(((e,i)=>(e[i]=r.markRaw(r.computed((()=>{o(n);const e=n._s.get(t);if(!r.isVue2||e._r)return s[i].call(e,e)}))),e)),{}))}),e,n,0,!0)}(s,l,t));return t._s.get(s)}return"string"==typeof t?(s=t,l=u?n:e):(l=t,s=t.id),c.$id=s,c},e.disposePinia=function(t){t._e.stop(),t._s.clear(),t._p.splice(0),t.state.value={},t._a=null},e.getActivePinia=()=>r.hasInjectionContext()&&r.inject(a)||i,e.mapActions=function(t,e){return Array.isArray(e)?e.reduce(((e,n)=>(e[n]=function(...e){return t(this.$pinia)[n](...e)},e)),{}):Object.keys(e).reduce(((n,r)=>(n[r]=function(...n){return t(this.$pinia)[e[r]](...n)},n)),{})},e.mapGetters=S,e.mapState=w,e.mapStores=function(...t){return t.reduce(((t,e)=>(t[e.$id+_]=function(){return e(this.$pinia)},t)),{})},e.mapWritableState=function(t,e){return Array.isArray(e)?e.reduce(((e,n)=>(e[n]={get(){return t(this.$pinia)[n]},set(e){return t(this.$pinia)[n]=e}},e)),{}):Object.keys(e).reduce(((n,r)=>(n[r]={get(){return t(this.$pinia)[e[r]]},set(n){return t(this.$pinia)[e[r]]=n}},n)),{})},e.setActivePinia=o,e.setMapStoreSuffix=function(t){_=t},e.skipHydrate=function(t){return r.isVue2?v.set(t,1)&&t:Object.defineProperty(t,m,{})},e.storeToRefs=function(t){if(r.isVue2)return r.toRefs(t);{t=r.toRaw(t);const e={};for(const n in t){const i=t[n];(r.isRef(i)||r.isReactive(i))&&(e[n]=r.toRef(t,n))}return e}}},61450:function(t,e,n){var r=n(74061);Object.keys(r).forEach((function(t){e[t]=r[t]})),e.set=function(t,e,n){return Array.isArray(t)?(t.length=Math.max(t.length,e),t.splice(e,1,n),n):(t[e]=n,n)},e.del=function(t,e){Array.isArray(t)?t.splice(e,1):delete t[e]},e.Vue=r,e.Vue2=void 0,e.isVue2=!1,e.isVue3=!0,e.install=function(){}},4165:function(t,e,n){"use strict"; 39/*! 40 * vue-router v4.4.5 41 * (c) 2024 Eduardo San Martin Morote 42 * @license MIT 43 */var r=n(74061);const i="undefined"!=typeof document;function o(t){return"object"==typeof t||"displayName"in t||"props"in t||"__vccOpts"in t}function a(t){return t.__esModule||"Module"===t[Symbol.toStringTag]||t.default&&o(t.default)}const s=Object.assign;function l(t,e){const n={};for(const r in e){const i=e[r];n[r]=c(i)?i.map(t):t(i)}return n}const u=()=>{},c=Array.isArray,d=/#/g,h=/&/g,f=/\//g,p=/=/g,g=/\?/g,y=/\+/g,m=/%5B/g,v=/%5D/g,b=/%5E/g,x=/%60/g,_=/%7B/g,w=/%7C/g,S=/%7D/g,M=/%20/g;function I(t){return encodeURI(""+t).replace(w,"|").replace(m,"[").replace(v,"]")}function A(t){return I(t).replace(y,"%2B").replace(M,"+").replace(d,"%23").replace(h,"%26").replace(x,"`").replace(_,"{").replace(S,"}").replace(b,"^")}function D(t){return null==t?"":function(t){return I(t).replace(d,"%23").replace(g,"%3F")}(t).replace(f,"%2F")}function T(t){try{return decodeURIComponent(""+t)}catch(t){}return""+t}const C=/\/$/;function O(t,e,n="/"){let r,i={},o="",a="";const s=e.indexOf("#");let l=e.indexOf("?");return s<l&&s>=0&&(l=-1),l>-1&&(r=e.slice(0,l),o=e.slice(l+1,s>-1?s:e.length),i=t(o)),s>-1&&(r=r||e.slice(0,s),a=e.slice(s,e.length)),r=function(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),r=t.split("/"),i=r[r.length-1];".."!==i&&"."!==i||r.push("");let o,a,s=n.length-1;for(o=0;o<r.length;o++)if(a=r[o],"."!==a){if(".."!==a)break;s>1&&s--}return n.slice(0,s).join("/")+"/"+r.slice(o).join("/")}(null!=r?r:e,n),{fullPath:r+(o&&"?")+o+a,path:r,query:i,hash:T(a)}}function P(t,e){return e&&t.toLowerCase().startsWith(e.toLowerCase())?t.slice(e.length)||"/":t}function k(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function $(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!E(t[n],e[n]))return!1;return!0}function E(t,e){return c(t)?L(t,e):c(e)?L(e,t):t===e}function L(t,e){return c(e)?t.length===e.length&&t.every(((t,n)=>t===e[n])):1===t.length&&t[0]===e}const N={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var R,F;!function(t){t.pop="pop",t.push="push"}(R||(R={})),function(t){t.back="back",t.forward="forward",t.unknown=""}(F||(F={}));function B(t){if(!t)if(i){const e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return"/"!==t[0]&&"#"!==t[0]&&(t="/"+t),t.replace(C,"")}const j=/^[^#]+#/;function z(t,e){return t.replace(j,"#")+e}const V=()=>({left:window.scrollX,top:window.scrollY});function H(t){let e;if("el"in t){const n=t.el,r="string"==typeof n&&n.startsWith("#"),i="string"==typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;e=function(t,e){const n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{behavior:e.behavior,left:r.left-n.left-(e.left||0),top:r.top-n.top-(e.top||0)}}(i,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(null!=e.left?e.left:window.scrollX,null!=e.top?e.top:window.scrollY)}
43function W(t,e){return(history.state?history.state.position-e:-1)+t}const G=new Map;let Y=()=>location.protocol+"//"+location.host;function U(t,e){const{pathname:n,search:r,hash:i}=e,o=t.indexOf("#");if(o>-1){let e=i.includes(t.slice(o))?t.slice(o).length:1,n=i.slice(e);return"/"!==n[0]&&(n="/"+n),P(n,"")}return P(n,t)+r+i}function Z(t,e,n,r=!1,i=!1){return{back:t,current:e,forward:n,replaced:r,position:window.history.length,scroll:i?V():null}}function X(t){const e=function(t){const{history:e,location:n}=window,r={value:U(t,n)},i={value:e.state};function o(r,o,a){const s=t.indexOf("#"),l=s>-1?(n.host&&document.querySelector("base")?t:t.slice(s))+r:Y()+t+r;try{e[a?"replaceState":"pushState"](o,"",l),i.value=o}catch(t){console.error(t),n[a?"replace":"assign"](l)}}return i.value||o(r.value,{back:null,current:r.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0),{location:r,state:i,push:function(t,n){const a=s({},i.value,e.state,{forward:t,scroll:V()});o(a.current,a,!0),o(t,s({},Z(r.value,t,null),{position:a.position+1},n),!1),r.value=t},replace:function(t,n){o(t,s({},e.state,Z(i.value.back,t,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=t}}}(t=B(t)),n=function(t,e,n,r){let i=[],o=[],a=null;const l=({state:o})=>{const s=U(t,location),l=n.value,u=e.value;let c=0;if(o){if(n.value=s,e.value=o,a&&a===l)return void(a=null);c=u?o.position-u.position:0}else r(s);i.forEach((t=>{t(n.value,l,{delta:c,type:R.pop,direction:c?c>0?F.forward:F.back:F.unknown})}))};function u(){const{history:t}=window;t.state&&t.replaceState(s({},t.state,{scroll:V()}),"")}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:function(){a=n.value},listen:function(t){i.push(t);const e=()=>{const e=i.indexOf(t);e>-1&&i.splice(e,1)};return o.push(e),e},destroy:function(){for(const t of o)t();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}}}(t,e.state,e.location,e.replace);const r=s({location:"",base:t,go:function(t,e=!0){e||n.pauseListeners(),history.go(t)},createHref:z.bind(null,t)},e,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>e.state.value}),r}function q(t){return"string"==typeof t||"symbol"==typeof t}const K=Symbol("");var J;e.NavigationFailureType=void 0,(J=e.NavigationFailureType||(e.NavigationFailureType={}))[J.aborted=4]="aborted",J[J.cancelled=8]="cancelled",J[J.duplicated=16]="duplicated";const Q={1({location:t,currentLocation:e}){return`No match for\n ${JSON.stringify(t)}${e?"\nwhile being at\n"+JSON.stringify(e):""}`},2({from:t,to:e}){return`Redirected from "${t.fullPath}" to "${function(t){if("string"==typeof t)return t;if(null!=t.path)return t.path;const e={};for(const n of nt)n in t&&(e[n]=t[n]);return JSON.stringify(e,null,2)}(e)}" via a navigation guard.`},4({from:t,to:e}){return`Navigation aborted from "${t.fullPath}" to "${e.fullPath}" via a navigation guard.`},8({from:t,to:e}){return`Navigation cancelled from "${t.fullPath}" to "${e.fullPath}" with a new navigation.`},16({from:t,to:e}){return`Avoided redundant navigation to current location: "${t.fullPath}".`}};function tt(t,e){return s(new Error(Q[t](e)),{type:t,[K]:!0},e)}function et(t,e){return t instanceof Error&&K in t&&(null==e||!!(t.type&e))}const nt=["params","query","hash"];const rt="[^/]+?",it={sensitive:!1,strict:!1,start:!0,end:!0},ot=/[.+*?^${}()[\]/\\]/g;function at(t,e){let n=0;for(;n<t.length&&n<e.length;){const r=e[n]-t[n];if(r)return r;n++}return t.length<e.length?1===t.length&&80===t[0]?-1:1:t.length>e.length?1===e.length&&80===e[0]?1:-1:0}function st(t,e){let n=0;const r=t.score,i=e.score;for(;n<r.length&&n<i.length;){const t=at(r[n],i[n]);if(t)return t;n++}if(1===Math.abs(i.length-r.length)){if(lt(r))return 1;if(lt(i))return-1}return i.length-r.length}function lt(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const ut={type:0,value:""},ct=/[a-zA-Z0-9_]/;function dt(t,e,n){const r=function(t,e){const n=s({},it,e),r=[];let i=n.start?"^":"";const o=[];for(const e of t){const t=e.length?[]:[90];n.strict&&!e.length&&(i+="/");for(let r=0;r<e.length;r++){const a=e[r];let s=40+(n.sensitive?.25:0);if(0===a.type)r||(i+="/"),i+=a.value.replace(ot,"\\$&"),s+=40;else if(1===a.type){const{value:t,repeatable:n,optional:l,regexp:u}=a;o.push({name:t,repeatable:n,optional:l});const c=u||rt;if(c!==rt){s+=10;try{new RegExp(`(${c})`)}catch(e){throw new Error(`Invalid custom RegExp for param "${t}" (${c}): `+e.message)}}let d=n?`((?:${c})(?:/(?:${c}
43))*)`:`(${c})`;r||(d=l&&e.length<2?`(?:/${d})`:"/"+d),l&&(d+="?"),i+=d,s+=20,l&&(s+=-8),n&&(s+=-20),".*"===c&&(s+=-50)}t.push(s)}r.push(t)}if(n.strict&&n.end){const t=r.length-1;r[t][r[t].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&(i+="(?:/|$)");const a=new RegExp(i,n.sensitive?"":"i");return{re:a,score:r,keys:o,parse:function(t){const e=t.match(a),n={};if(!e)return null;for(let t=1;t<e.length;t++){const r=e[t]||"",i=o[t-1];n[i.name]=r&&i.repeatable?r.split("/"):r}return n},stringify:function(e){let n="",r=!1;for(const i of t){r&&n.endsWith("/")||(n+="/"),r=!1;for(const t of i)if(0===t.type)n+=t.value;else if(1===t.type){const{value:o,repeatable:a,optional:s}=t,l=o in e?e[o]:"";if(c(l)&&!a)throw new Error(`Provided param "${o}" is an array but it is not repeatable (* or + modifiers)`);const u=c(l)?l.join("/"):l;if(!u){if(!s)throw new Error(`Missing required param "${o}"`);i.length<2&&(n.endsWith("/")?n=n.slice(0,-1):r=!0)}n+=u}}return n||"/"}}}(function(t){if(!t)return[[]];if("/"===t)return[[ut]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(t){throw new Error(`ERR (${n})/"${u}": ${t}`)}let n=0,r=n;const i=[];let o;function a(){o&&i.push(o),o=[]}let s,l=0,u="",c="";function d(){u&&(0===n?o.push({type:0,value:u}):1===n||2===n||3===n?(o.length>1&&("*"===s||"+"===s)&&e(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:u,regexp:c,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):e("Invalid state to consume buffer"),u="")}function h(){u+=s}for(;l<t.length;)if(s=t[l++],"\\"!==s||2===n)switch(n){case 0:"/"===s?(u&&d(),a()):":"===s?(d(),n=1):h();break;case 4:h(),n=r;break;case 1:"("===s?n=2:ct.test(s)?h():(d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--);break;case 2:")"===s?"\\"==c[c.length-1]?c=c.slice(0,-1)+s:n=3:c+=s;break;case 3:d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--,c="";break;default:e("Unknown state")}else r=n,n=4;return 2===n&&e(`Unfinished custom RegExp for param "${u}"`),d(),a(),i}(t.path),n),i=s(r,{record:t,parent:e,children:[],alias:[]});return e&&!i.record.aliasOf==!e.record.aliasOf&&e.children.push(i),i}function ht(t,e){const n=[],r=new Map;function i(t,n,r){const l=!r,c=pt(t);c.aliasOf=r&&r.record;const d=vt(e,t),h=[c];if("alias"in t){const e="string"==typeof t.alias?[t.alias]:t.alias;for(const t of e)h.push(pt(s({},c,{components:r?r.record.components:c.components,path:t,aliasOf:r?r.record:c})))}let f,p;for(const e of h){const{path:s}=e;if(n&&"/"!==s[0]){const t=n.record.path,r="/"===t[t.length-1]?"":"/";e.path=n.record.path+(s&&r+s)}if(f=dt(e,n,d),r?r.alias.push(f):(p=p||f,p!==f&&p.alias.push(f),l&&t.name&&!yt(f)&&o(t.name)),bt(f)&&a(f),c.children){const t=c.children;for(let e=0;e<t.length;e++)i(t[e],f,r&&r.children[e])}r=r||f}return p?()=>{o(p)}:u}function o(t){if(q(t)){const e=r.get(t);e&&(r.delete(t),n.splice(n.indexOf(e),1),e.children.forEach(o),e.alias.forEach(o))}else{const e=n.indexOf(t);e>-1&&(n.splice(e,1),t.record.name&&r.delete(t.record.name),t.children.forEach(o),t.alias.forEach(o))}}function a(t){const e=function(t,e){let n=0,r=e.length;for(;n!==r;){const i=n+r>>1;st(t,e[i])<0?r=i:n=i+1}const i=function(t){let e=t;for(;e=e.parent;)if(bt(e)&&0===st(t,e))return e;return}(t);i&&(r=e.lastIndexOf(i,r-1));return r}(t,n);n.splice(e,0,t),t.record.name&&!yt(t)&&r.set(t.record.name,t)}return e=vt({strict:!1,end:!0,sensitive:!1},e),t.forEach((t=>i(t))),{addRoute:i,resolve:function(t,e){let i,o,a,l={};if("name"in t&&t.name){if(i=r.get(t.name),!i)throw tt(1,{location:t});a=i.record.name,l=s(ft(e.params,i.keys.filter((t=>!t.optional)).concat(i.parent?i.parent.keys.filter((t=>t.optional)):[]).map((t=>t.name))),t.params&&ft(t.params,i.keys.map((t=>t.name)))),o=i.stringify(l)}else if(null!=t.path)o=t.path,i=n.find((t=>t.re.test(o))),i&&(l=i.parse(o),a=i.record.name);else{if(i=e.name?r.get(e.name):n.find((t=>t.re.test(e.path))),!i)throw tt(1,{location:t,currentLocation:e});a=i.record.name,l=s({},e.params,t.params),o=i.stringify(l)}const u=[];let c=i;for(;c;)u.unshift(c.record),c=c.parent;return{name:a,path:o,params:l,matched:u,meta:mt(u)}},removeRoute:o,clearRoutes:function(){n.length=0,r.clear()},getRoutes:function(){return n},getRecordMatcher:function(t){return r.get(t)}}}function ft(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n}function pt(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:gt(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function gt(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const r in t.components)e[r]="object"==typeof n?n[r]:n;return e}function yt(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function mt(t){return t.reduce(((t,e)=>s(t,e.meta)),{})}function vt(t,e){const n={};for(const r in t)n[r]=r in e?e[r]:t[r];return n}function bt({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function xt(t){const e={};if(""===t||"?"===t)return e;const n=("?"===t[0]?t.slice(1):t).split("&");for(let t=0;t<n.length;++t){const r=n[t].replace(y," "),i=r.indexOf("="),o=T(i<0?r:r.slice(0,i)),a=i<0?null:T(r.slice(i+1));if(o in e){let t=e[o];c(t)||(t=e[o]=[t]),t.push(a)}else e[o]=a}return e}function _t(t){let e="";for(let n in t){const r=t[n];if(n=A(n).replace(p,"%3D"),null==r){void 0!==r&&(e+=(e.length?"&":"")+n);continue}(c(r)?r.map((t=>
43t&&A(t))):[r&&A(r)]).forEach((t=>{void 0!==t&&(e+=(e.length?"&":"")+n,null!=t&&(e+="="+t))}))}return e}function wt(t){const e={};for(const n in t){const r=t[n];void 0!==r&&(e[n]=c(r)?r.map((t=>null==t?null:""+t)):null==r?r:""+r)}return e}const St=Symbol(""),Mt=Symbol(""),It=Symbol(""),At=Symbol(""),Dt=Symbol("");function Tt(){let t=[];return{add:function(e){return t.push(e),()=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)}},list:()=>t.slice(),reset:function(){t=[]}}}function Ct(t,e,n){const i=()=>{t[e].delete(n)};r.onUnmounted(i),r.onDeactivated(i),r.onActivated((()=>{t[e].add(n)})),t[e].add(n)}function Ot(t,e,n,r,i,o=t=>t()){const a=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise(((s,l)=>{const u=t=>{var o;!1===t?l(tt(4,{from:n,to:e})):t instanceof Error?l(t):"string"==typeof(o=t)||o&&"object"==typeof o?l(tt(2,{from:e,to:t})):(a&&r.enterCallbacks[i]===a&&"function"==typeof t&&a.push(t),s())},c=o((()=>t.call(r&&r.instances[i],e,n,u)));let d=Promise.resolve(c);t.length<3&&(d=d.then(u)),d.catch((t=>l(t)))}))}function Pt(t,e,n,r,i=t=>t()){const s=[];for(const l of t)for(const t in l.components){let u=l.components[t];if("beforeRouteEnter"===e||l.instances[t])if(o(u)){const o=(u.__vccOpts||u)[e];o&&s.push(Ot(o,n,r,l,t,i))}else{let o=u();s.push((()=>o.then((o=>{if(!o)throw new Error(`Couldn't resolve component "${t}" at "${l.path}"`);const s=a(o)?o.default:o;l.mods[t]=o,l.components[t]=s;const u=(s.__vccOpts||s)[e];return u&&Ot(u,n,r,l,t,i)()}))))}}return s}function kt(t){const e=r.inject(It),n=r.inject(At),i=r.computed((()=>{const n=r.unref(t.to);return e.resolve(n)})),o=r.computed((()=>{const{matched:t}=i.value,{length:e}=t,r=t[e-1],o=n.matched;if(!r||!o.length)return-1;const a=o.findIndex(k.bind(null,r));if(a>-1)return a;const s=Et(t[e-2]);return e>1&&Et(r)===s&&o[o.length-1].path!==s?o.findIndex(k.bind(null,t[e-2])):a})),a=r.computed((()=>o.value>-1&&function(t,e){for(const n in e){const r=e[n],i=t[n];if("string"==typeof r){if(r!==i)return!1}else if(!c(i)||i.length!==r.length||r.some(((t,e)=>t!==i[e])))return!1}return!0}(n.params,i.value.params))),s=r.computed((()=>o.value>-1&&o.value===n.matched.length-1&&$(n.params,i.value.params)));return{route:i,href:r.computed((()=>i.value.href)),isActive:a,isExactActive:s,navigate:function(n={}){return function(t){if(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)return;if(t.defaultPrevented)return;if(void 0!==t.button&&0!==t.button)return;if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}t.preventDefault&&t.preventDefault();return!0}(n)?e[r.unref(t.replace)?"replace":"push"](r.unref(t.to)).catch(u):Promise.resolve()}}}const $t=r.defineComponent({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:kt,setup(t,{slots:e}){const n=r.reactive(kt(t)),{options:i}=r.inject(It),o=r.computed((()=>({[Lt(t.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[Lt(t.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive})));return()=>{const i=e.default&&e.default(n);return t.custom?i:r.h("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}});function Et(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Lt=(t,e,n)=>null!=t?t:null!=e?e:n;function Nt(t,e){if(!t)return null;const n=t(e);return 1===n.length?n[0]:n}const Rt=r.defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const i=r.inject(Dt),o=r.computed((()=>t.route||i.value)),a=r.inject(Mt,0),l=r.computed((()=>{let t=r.unref(a);const{matched:e}=o.value;let n;for(;(n=e[t])&&!n.components;)t++;return t})),u=r.computed((()=>o.value.matched[l.value]));r.provide(Mt,r.computed((()=>l.value+1))),r.provide(St,u),r.provide(Dt,o);const c=r.ref();return r.watch((()=>[c.value,u.value,t.name]),(([t,e,n],[r,i,o])=>{e&&(e.instances[n]=t,i&&i!==e&&t&&t===r&&(e.leaveGuards.size||(e.leaveGuards=i.leaveGuards),e.updateGuards.size||(e.updateGuards=i.updateGuards))),!t||!e||i&&k(e,i)&&r||(e.enterCallbacks[n]||[]).forEac
43h((e=>e(t)))}),{flush:"post"}),()=>{const i=o.value,a=t.name,l=u.value,d=l&&l.components[a];if(!d)return Nt(n.default,{Component:d,route:i});const h=l.props[a],f=h?!0===h?i.params:"function"==typeof h?h(i):h:null,p=r.h(d,s({},f,e,{onVnodeUnmounted:t=>{t.component.isUnmounted&&(l.instances[a]=null)},ref:c}));return Nt(n.default,{Component:p,route:i})||p}}});e.RouterLink=$t,e.RouterView=Rt,e.START_LOCATION=N,e.createMemoryHistory=function(t=""){let e=[],n=[""],r=0;function i(t){r++,r!==n.length&&n.splice(r),n.push(t)}const o={location:"",state:{},base:t=B(t),createHref:z.bind(null,t),replace(t){n.splice(r--,1),i(t)},push(t,e){i(t)},listen(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},destroy(){e=[],n=[""],r=0},go(t,i=!0){const o=this.location,a=t<0?F.back:F.forward;r=Math.max(0,Math.min(r+t,n.length-1)),i&&function(t,n,{direction:r,delta:i}){const o={direction:r,delta:i,type:R.pop};for(const r of e)r(t,n,o)}(this.location,o,{direction:a,delta:t})}};return Object.defineProperty(o,"location",{enumerable:!0,get:()=>n[r]}),o},e.createRouter=function(t){const e=ht(t.routes,t),n=t.parseQuery||xt,o=t.stringifyQuery||_t,a=t.history,d=Tt(),h=Tt(),f=Tt(),p=r.shallowRef(N);let g=N;i&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const y=l.bind(null,(t=>""+t)),m=l.bind(null,D),v=l.bind(null,T);function x(t,r){if(r=s({},r||p.value),"string"==typeof t){const i=O(n,t,r.path),o=e.resolve({path:i.path},r),l=a.createHref(i.fullPath);return s(i,o,{params:v(o.params),hash:T(i.hash),redirectedFrom:void 0,href:l})}let i;if(null!=t.path)i=s({},t,{path:O(n,t.path,r.path).path});else{const e=s({},t.params);for(const t in e)null==e[t]&&delete e[t];i=s({},t,{params:m(e)}),r.params=m(r.params)}const l=e.resolve(i,r),u=t.hash||"";l.params=y(v(l.params));const c=function(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}(o,s({},t,{hash:(d=u,I(d).replace(_,"{").replace(S,"}").replace(b,"^")),path:l.path}));var d;const h=a.createHref(c);return s({fullPath:c,hash:u,query:o===_t?wt(t.query):t.query||{}},l,{redirectedFrom:void 0,href:h})}function w(t){return"string"==typeof t?O(n,t,p.value.path):s({},t)}function M(t,e){if(g!==t)return tt(8,{from:e,to:t})}function A(t){return P(t)}function C(t){const e=t.matched[t.matched.length-1];if(e&&e.redirect){const{redirect:n}=e;let r="function"==typeof n?n(t):n;return"string"==typeof r&&(r=r.includes("?")||r.includes("#")?r=w(r):{path:r},r.params={}),s({query:t.query,hash:t.hash,params:null!=r.path?{}:t.params},r)}}function P(t,e){const n=g=x(t),r=p.value,i=t.state,a=t.force,l=!0===t.replace,u=C(n);if(u)return P(s(w(u),{state:"object"==typeof u?s({},i,u.state):i,force:a,replace:l}),e||n);const c=n;let d;return c.redirectedFrom=e,!a&&function(t,e,n){const r=e.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&k(e.matched[r],n.matched[i])&&$(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}(o,r,n)&&(d=tt(16,{to:c,from:r}),Q(r,r,!0,!1)),(d?Promise.resolve(d):F(c,r)).catch((t=>et(t)?et(t,2)?t:J(t):K(t,c,r))).then((t=>{if(t){if(et(t,2))return P(s({replace:l},w(t.to),{state:"object"==typeof t.to?s({},i,t.to.state):i,force:a}),e||c)}else t=j(c,r,!0,l,i);return B(c,r,t),t}))}function E(t,e){const n=M(t,e);return n?Promise.reject(n):Promise.resolve()}function L(t){const e=it.values().next().value;return e&&"function"==typeof e.runWithContext?e.runWithContext(t):t()}function F(t,e){let n;const[r,i,o]=function(t,e){const n=[],r=[],i=[],o=Math.max(e.matched.length,t.matched.length);for(let a=0;a<o;a++){const o=e.matched[a];o&&(t.matched.find((t=>k(t,o)))?r.push(o):n.push(o));const s=t.matched[a];s&&(e.matched.find((t=>k(t,s)))||i.push(s))}return[n,r,i]}(t,e);n=Pt(r.reverse(),"beforeRouteLeave",t,e);for(const i of r)i.leaveGuards.forEach((r=>{n.push(Ot(r,t,e))}));const a=E.bind(null,t,e);return n.push(a),at(n).then((()=>{n=[];for(const r of d.list())n.push(Ot(r,t,e));return n.push(a),at(n)})).then((()=>{n=Pt(i,"beforeRouteUpdate",t,e);for(const r of i)r.updateGuards.forEach((r=>{n.push(Ot(r,t,e))}));return n.push(a),at(n)})).then((()=>{n=[];for(const r of o)if(r.beforeEnter)if(c(r.beforeEnter))for(const i of r.beforeEnter)n.push(Ot(i,t,e));else n.push(Ot(r.beforeEnter,t,e));return n.push(a),at(n)})).then((()=>(t.matched.forEach((t=>t.enterCallbacks={})),n=Pt(o,"beforeRouteEnter",t,e,L),n.push(a),at(n)))).then((()=>{n=[];for(const r of h.list())n.push(Ot(r,t,e));return n.push(a),at(n)})).catch((t=>et(t,8)?t:Promise.reject(t)))}
43function B(t,e,n){f.list().forEach((r=>L((()=>r(t,e,n)))))}function j(t,e,n,r,o){const l=M(t,e);if(l)return l;const u=e===N,c=i?history.state:{};n&&(r||u?a.replace(t.fullPath,s({scroll:u&&c&&c.scroll},o)):a.push(t.fullPath,o)),p.value=t,Q(t,e,n,u),J()}let z;function Y(){z||(z=a.listen(((t,e,n)=>{if(!ot.listening)return;const r=x(t),o=C(r);if(o)return void P(s(o,{replace:!0}),r).catch(u);g=r;const l=p.value;var c,d;i&&(c=W(l.fullPath,n.delta),d=V(),G.set(c,d)),F(r,l).catch((t=>et(t,12)?t:et(t,2)?(P(t.to,r).then((t=>{et(t,20)&&!n.delta&&n.type===R.pop&&a.go(-1,!1)})).catch(u),Promise.reject()):(n.delta&&a.go(-n.delta,!1),K(t,r,l)))).then((t=>{(t=t||j(r,l,!1))&&(n.delta&&!et(t,8)?a.go(-n.delta,!1):n.type===R.pop&&et(t,20)&&a.go(-1,!1)),B(r,l,t)})).catch(u)})))}let U,Z=Tt(),X=Tt();function K(t,e,n){J(t);const r=X.list();return r.length?r.forEach((r=>r(t,e,n))):console.error(t),Promise.reject(t)}function J(t){return U||(U=!t,Y(),Z.list().forEach((([e,n])=>t?n(t):e())),Z.reset()),t}function Q(e,n,o,a){const{scrollBehavior:s}=t;if(!i||!s)return Promise.resolve();const l=!o&&function(t){const e=G.get(t);return G.delete(t),e}(W(e.fullPath,0))||(a||!o)&&history.state&&history.state.scroll||null;return r.nextTick().then((()=>s(e,n,l))).then((t=>t&&H(t))).catch((t=>K(t,e,n)))}const nt=t=>a.go(t);let rt;const it=new Set,ot={currentRoute:p,listening:!0,addRoute:function(t,n){let r,i;return q(t)?(r=e.getRecordMatcher(t),i=n):i=t,e.addRoute(i,r)},removeRoute:function(t){const n=e.getRecordMatcher(t);n&&e.removeRoute(n)},clearRoutes:e.clearRoutes,hasRoute:function(t){return!!e.getRecordMatcher(t)},getRoutes:function(){return e.getRoutes().map((t=>t.record))},resolve:x,options:t,push:A,replace:function(t){return A(s(w(t),{replace:!0}))},go:nt,back:()=>nt(-1),forward:()=>nt(1),beforeEach:d.add,beforeResolve:h.add,afterEach:f.add,onError:X.add,isReady:function(){return U&&p.value!==N?Promise.resolve():new Promise(((t,e)=>{Z.add([t,e])}))},install(t){t.component("RouterLink",$t),t.component("RouterView",Rt),t.config.globalProperties.$router=this,Object.defineProperty(t.config.globalProperties,"$route",{enumerable:!0,get:()=>r.unref(p)}),i&&!rt&&p.value===N&&(rt=!0,A(a.location).catch((t=>{})));const e={};for(const t in N)Object.defineProperty(e,t,{get:()=>p.value[t],enumerable:!0});t.provide(It,this),t.provide(At,r.shallowReactive(e)),t.provide(Dt,p);const n=t.unmount;it.add(t),t.unmount=function(){it.delete(t),it.size<1&&(g=N,z&&z(),z=null,p.value=N,rt=!1,U=!1),n()}}};function at(t){return t.reduce(((t,e)=>t.then((()=>L(e)))),Promise.resolve())}return ot},e.createRouterMatcher=ht,e.createWebHashHistory=function(t){return(t=location.host?t||location.pathname+location.search:"").includes("#")||(t+="#"),X(t)},e.createWebHistory=X,e.isNavigationFailure=et,e.loadRouteLocation=function(t){return t.matched.every((t=>t.redirect))?Promise.reject(new Error("Cannot load a route that redirects.")):Promise.all(t.matched.map((t=>t.components&&Promise.all(Object.keys(t.components).reduce(((e,n)=>{const r=t.components[n];return"function"!=typeof r||"displayName"in r||e.push(r().then((e=>{if(!e)return Promise.reject(new Error(`Couldn't resolve component "${n}" at "${t.path}". Ensure you passed a function that returns a promise.`));const r=a(e)?e.default:e;t.mods[n]=e,t.components[n]=r}))),e}),[]))))).then((()=>t))},e.matchedRouteKey=St,e.onBeforeRouteLeave=function(t){const e=r.inject(St,{}).value;e&&Ct(e,"leaveGuards",t)},e.onBeforeRouteUpdate=function(t){const e=r.inject(St,{}).value;e&&Ct(e,"updateGuards",t)},e.parseQuery=xt,e.routeLocationKey=At,e.routerKey=It,e.routerViewLocationKey=Dt,e.stringifyQuery=_t,e.useLink=kt,e.useRoute=function(t){return r.inject(At)},e.useRouter=function(){return r.inject(It)},e.viewDepthKey=Mt},43145:function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,{A:function(){return r}})},10467:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a){try{var s=t[o](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,i)}function i(t){return function(){var e=this,n=arguments;
vendor: 4,492 bytes, lines 43-44
43return new Promise((function(i,o){var a=t.apply(e,n);function s(t){r(a,i,o,s,l,"next",t)}function l(t){r(a,i,o,s,l,"throw",t)}s(void 0)}))}}n.d(e,{A:function(){return i}})},24765:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(27800);function i(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=(0,r.A)(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}},26325:function(t,e,n){"use strict";n.d(e,{A:function(){return s}});var r=n(82284);function i(t){var e=function(t,e){if("object"!=(0,r.A)(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=(0,r.A)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==(0,r.A)(e)?e:e+""}function o(t,e,n){return(e=i(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){o(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},90675:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(82284);function i(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ 44i=function(){return e};var t,e={},n=Object.prototype,o=n.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},s="function"==typeof Symbol?Symbol:{},l=s.iterator||"@@iterator",u=s.asyncIterator||"@@asyncIterator",c=s.toStringTag||"@@toStringTag";function d(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(t){d=function(t,e,n){return t[e]=n}}function h(t,e,n,r){var i=e&&e.prototype instanceof b?e:b,o=Object.create(i.prototype),s=new k(r||[]);return a(o,"_invoke",{value:T(t,n,s)}),o}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=h;var p="suspendedStart",g="suspendedYield",y="executing",m="completed",v={};function b(){}function x(){}function _(){}var w={};d(w,l,(function(){return this}));var S=Object.getPrototypeOf,M=S&&S(S($([])));M&&M!==n&&o.call(M,l)&&(w=M);var I=_.prototype=b.prototype=Object.create(w);function A(t){["next","throw","return"].forEach((function(e){d(t,e,(function(t){return this._invoke(e,t)}))}))}function D(t,e){function n(i,a,s,l){var u=f(t[i],t,a);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==(0,r.A)(d)&&o.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,s,l)}),(function(t){n("throw",t,s,l)})):e.resolve(d).then((function(t){c.value=t,s(c)}),(function(t){return n("throw",t,s,l)}))}l(u.arg)}var i;a(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,i){n(t,r,e,i)}))}return i=i?i.then(o,o):o()}})}function T(e,n,r){var i=p;return function(o,a){if(i===y)throw Error("Generator is already running");if(i===m){if("throw"===o)throw a;return{value:t,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var l=C(s,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===p)throw i=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=y;var u=f(e,n,r);if("normal"===u.type){if(i=r.done?m:g,u.arg===v)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(i=m,r.method="throw",r.arg=u.arg)}}}function C(e,n){var r=n.method,i=e.iterator[r];if(i===t)return n.delegate=null,"throw"===r&&e.iterator.return&&
vendor: 4,706 bytes, line 44
44(n.method="return",n.arg=t,C(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),v;var o=f(i,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,v;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function O(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 P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function $(e){if(e||""===e){var n=e[l];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function n(){for(;++i<e.length;)if(o.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw new TypeError((0,r.A)(e)+" is not iterable")}return x.prototype=_,a(I,"constructor",{value:_,configurable:!0}),a(_,"constructor",{value:x,configurable:!0}),x.displayName=d(_,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===x||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,d(t,c,"GeneratorFunction")),t.prototype=Object.create(I),t},e.awrap=function(t){return{__await:t}},A(D.prototype),d(D.prototype,u,(function(){return this})),e.AsyncIterator=D,e.async=function(t,n,r,i,o){void 0===o&&(o=Promise);var a=new D(h(t,n,r,i),o);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},A(I),d(I,c,"Generator"),d(I,l,(function(){return this})),d(I,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=$,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(P),!e)for(var n in this)"t"===n.charAt(0)&&o.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,i){return s.type="throw",s.arg=e,n.next=r,i&&(n.method="next",n.arg=t),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},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;P(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:$(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}},6636:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(27800);function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==e);l=!0);}catch(t){u=!0,i=t}
vendor: 4,374 bytes, lines 44-51
44finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(t,e)||(0,r.A)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},64241:function(t,e,n){"use strict";n.d(e,{A:function(){return o}});var r=n(43145);var i=n(27800);function o(t){return function(t){if(Array.isArray(t))return(0,r.A)(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||(0,i.A)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},82284:function(t,e,n){"use strict";function r(t){return r="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},r(t)}n.d(e,{A:function(){return r}})},27800:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(43145);function i(t,e){if(t){if("string"==typeof t)return(0,r.A)(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.A)(t,e):void 0}}},38508:function(t,e,n){"use strict"; 45/*! 46 * Chart.js v3.9.1 47 * https://www.chartjs.org 48 * (c) 2022 Chart.js Contributors 49 * Released under the MIT License 50 */ 51function r(){}n.d(e,{PP:function(){return $o},t1:function(){return Si},dN:function(){return fo},s$:function(){return yo},ZT:function(){return Xn},No:function(){return ji},kc:function(){return Ro},FN:function(){return Vi},hE:function(){return vo},m_:function(){return Po}});const i=function(){let t=0;return function(){return t++}}();function o(t){return null==t}function a(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function s(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}const l=t=>("number"==typeof t||t instanceof Number)&&isFinite(+t);function u(t,e){return l(t)?t:e}function c(t,e){return void 0===t?e:t}const d=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function h(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)}function f(t,e,n,r){let i,o,l;if(a(t))if(o=t.length,r)for(i=o-1;i>=0;i--)e.call(n,t[i],i);else for(i=0;i<o;i++)e.call(n,t[i],i);else if(s(t))for(l=Object.keys(t),o=l.length,i=0;i<o;i++)e.call(n,t[l[i]],l[i])}function p(t,e){let n,r,i,o;if(!t||!e||t.length!==e.length)return!1;for(n=0,r=t.length;n<r;++n)if(i=t[n],o=e[n],i.datasetIndex!==o.datasetIndex||i.index!==o.index)return!1;return!0}function g(t){if(a(t))return t.map(g);if(s(t)){const e=Object.create(null),n=Object.keys(t),r=n.length;let i=0;for(;i<r;++i)e[n[i]]=g(t[n[i]]);return e}return t}function y(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}function m(t,e,n,r){if(!y(t))return;const i=e[t],o=n[t];s(i)&&s(o)?v(i,o,r):e[t]=g(o)}function v(t,e,n){const r=a(e)?e:[e],i=r.length;if(!s(t))return t;const o=(n=n||{}).merger||m;for(let a=0;a<i;++a){if(!s(e=r[a]))continue;const i=Object.keys(e);for(let r=0,a=i.length;r<a;++r)o(i[r],t,e,n)}return t}function b(t,e){return v(t,e,{merger:x})}function x(t,e,n){if(!y(t))return;const r=e[t],i=n[t];s(r)&&s(i)?b(r,i):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=g(i))}const _={"":t=>t,x:t=>t.x,y:t=>t.y};function w(t,e){const n=_[e]||(_[e]=function(t){const e=function(t){const e=t.split("."),n=[];let r="";for(const t of e)r+=t,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}(t);return t=>{for(const n of e){if(""===n)break;t=t&&t[n]}return t}}(e));return n(t)}function S(t){return t.charAt(0).toUpperCase()+t.slice(1)}const M=t=>void 0!==t,I=t=>"function"==typeof t,A=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};const D=Math.PI,T=2*D,C=T+D,O=Number.POSITIVE_INFINITY,P=D/180,k=D/2,$=D/4,E=2*D/3,L=Math.log10,N=Math.sign;function R(t){const e=Math.round(t);t=B(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(L(t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function F(t){return!isNaN(parseFloat(t))&&isFinite(t)}
vendor: 4,315 bytes, lines 51-58
51function B(t,e,n){return Math.abs(t-e)<n}function j(t,e,n){let r,i,o;for(r=0,i=t.length;r<i;r++)o=t[r][n],isNaN(o)||(e.min=Math.min(e.min,o),e.max=Math.max(e.max,o))}function z(t){return t*(D/180)}function V(t){return t*(180/D)}function H(t){if(!l(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function W(t,e){const n=e.x-t.x,r=e.y-t.y,i=Math.sqrt(n*n+r*r);let o=Math.atan2(r,n);return o<-.5*D&&(o+=T),{angle:o,distance:i}}function G(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Y(t,e){return(t-e+C)%T-D}function U(t){return(t%T+T)%T}function Z(t,e,n,r){const i=U(t),o=U(e),a=U(n),s=U(o-i),l=U(a-i),u=U(i-o),c=U(i-a);return i===o||i===a||r&&o===a||s>l&&u<c}function X(t,e,n){return Math.max(e,Math.min(n,t))}function q(t,e,n,r=1e-6){return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function K(t,e,n){n=n||(n=>t[n]<e);let r,i=t.length-1,o=0;for(;i-o>1;)r=o+i>>1,n(r)?o=r:i=r;return{lo:o,hi:i}}const J=(t,e,n,r)=>K(t,n,r?r=>t[r][e]<=n:r=>t[r][e]<n),Q=(t,e,n)=>K(t,n,(r=>t[r][e]>=n));const tt=["push","pop","shift","splice","unshift"];function et(t,e){const n=t._chartjs;if(!n)return;const r=n.listeners,i=r.indexOf(e);-1!==i&&r.splice(i,1),r.length>0||(tt.forEach((e=>{delete t[e]})),delete t._chartjs)}function nt(t){const e=new Set;let n,r;for(n=0,r=t.length;n<r;++n)e.add(t[n]);return e.size===r?t:Array.from(e)}const rt="undefined"==typeof window?function(t){return t()}:window.requestAnimationFrame;function it(t,e,n){const r=n||(t=>Array.prototype.slice.call(t));let i=!1,o=[];return function(...n){o=r(n),i||(i=!0,rt.call(window,(()=>{i=!1,t.apply(e,o)})))}}const ot=t=>"start"===t?"left":"end"===t?"right":"center",at=(t,e,n)=>"start"===t?e:"end"===t?n:(e+n)/2;function st(t,e,n){const r=e.length;let i=0,o=r;if(t._sorted){const{iScale:a,_parsed:s}=t,l=a.axis,{min:u,max:c,minDefined:d,maxDefined:h}=a.getUserBounds();d&&(i=X(Math.min(J(s,a.axis,u).lo,n?r:J(e,l,a.getPixelForValue(u)).lo),0,r-1)),o=h?X(Math.max(J(s,a.axis,c,!0).hi+1,n?0:J(e,l,a.getPixelForValue(c),!0).hi+1),i,r)-i:r-i}return{start:i,count:o}}function lt(t){const{xScale:e,yScale:n,_scaleRanges:r}=t,i={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!r)return t._scaleRanges=i,!0;const o=r.xmin!==e.min||r.xmax!==e.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),o}const ut=t=>0===t||1===t,ct=(t,e,n)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*T/n),dt=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*T/n)+1,ht={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*k),easeOutSine:t=>Math.sin(t*k),easeInOutSine:t=>-.5*(Math.cos(D*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>ut(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>ut(t)?t:ct(t,.075,.3),easeOutElastic:t=>ut(t)?t:dt(t,.075,.3),easeInOutElastic(t){const e=.1125;return ut(t)?t:t<.5?.5*ct(2*t,e,.45):.5+.5*dt(2*t-1,e,.45)},easeInBack(t){const e=1.70158;return t*t*((e+1)*t-e)},easeOutBack(t){const e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:t=>1-ht.easeOutBounce(1-t),easeOutBounce(t){const e=7.5625,n=2.75;return t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375},easeInOutBounce:t=>t<.5?.5*ht.easeInBounce(2*t):.5*ht.easeOutBounce(2*t-1)+.5}; 52/*! 53 * @kurkle/color v0.2.1 54 * https://github.com/kurkle/color#readme 55 * (c) 2022 Jukka Kurkela 56 * Released under the MIT License 57 */ 58function ft(t){return t+.5|0}const pt=(t,e,n)=>Math.max(Math.min(t,n),e);function gt(t){return pt(ft(2.55*t),0,255)}function yt(t){return pt(ft(255*t),0,255)}function mt(t){return pt(ft(t/2.55)/100,0,1)}
vendor: 8,715 bytes, line 58
58function vt(t){return pt(ft(100*t),0,100)}const bt={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},xt=[..."0123456789ABCDEF"],_t=t=>xt[15&t],wt=t=>xt[(240&t)>>4]+xt[15&t],St=t=>(240&t)>>4==(15&t);function Mt(t){var e=(t=>St(t.r)&&St(t.g)&&St(t.b)&&St(t.a))(t)?_t:wt;return t?"#"+e(t.r)+e(t.g)+e(t.b)+((t,e)=>t<255?e(t):"")(t.a,e):void 0}const It=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function At(t,e,n){const r=e*Math.min(n,1-n),i=(e,i=(e+t/30)%12)=>n-r*Math.max(Math.min(i-3,9-i,1),-1);return[i(0),i(8),i(4)]}function Dt(t,e,n){const r=(r,i=(r+t/60)%6)=>n-n*e*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function Tt(t,e,n){const r=At(t,1,.5);let i;for(e+n>1&&(i=1/(e+n),e*=i,n*=i),i=0;i<3;i++)r[i]*=1-e-n,r[i]+=e;return r}function Ct(t){const e=t.r/255,n=t.g/255,r=t.b/255,i=Math.max(e,n,r),o=Math.min(e,n,r),a=(i+o)/2;let s,l,u;return i!==o&&(u=i-o,l=a>.5?u/(2-i-o):u/(i+o),s=function(t,e,n,r,i){return t===i?(e-n)/r+(e<n?6:0):e===i?(n-t)/r+2:(t-e)/r+4}(e,n,r,u,i),s=60*s+.5),[0|s,l||0,a]}function Ot(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(yt)}function Pt(t,e,n){return Ot(At,t,e,n)}function kt(t){return(t%360+360)%360}function $t(t){const e=It.exec(t);let n,r=255;if(!e)return;e[5]!==n&&(r=e[6]?gt(+e[5]):yt(+e[5]));const i=kt(+e[2]),o=+e[3]/100,a=+e[4]/100;return n="hwb"===e[1]?function(t,e,n){return Ot(Tt,t,e,n)}(i,o,a):"hsv"===e[1]?function(t,e,n){return Ot(Dt,t,e,n)}(i,o,a):Pt(i,o,a),{r:n[0],g:n[1],b:n[2],a:r}}const Et={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},Lt={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let Nt;function Rt(t){Nt||(Nt=function(){const t={},e=Object.keys(Lt),n=Object.keys(Et);let r,i,o,a,s;for(r=0;r<e.length;r++){for(a=s=e[r],i=0;i<n.length;i++)o=n[i],s=s.replace(o,Et[o]);o=parseInt(Lt[a],16),t[s]=[o>>16&255,o>>8&255,255&o]}return t}(),Nt.transparent=[0,0,0,0]);const e=Nt[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}const Ft=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const Bt=t=>t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,jt=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function zt(t,e,n){if(t){let r=Ct(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,0===e?360:1)),r=Pt(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function Vt(t,e){return t?Object.assign(e||{},t):t}function Ht(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=yt(t[3]))):(e=Vt(t,{r:0,g:0,b:0,a:1})).a=yt(e.a),e}function Wt(t){return"r"===t.charAt(0)?function(t){const e=Ft.exec(t);let n,r,i,o=255;if(e){if(e[7]!==n){const t=+e[7];o=e[8]?gt(t):pt(255*t,0,255)}return n=+e[1],r=+e[3],i=+e[5],n=255&(e[2]?gt(n):pt(n,0,255)),r=255&(e[4]?gt(r):pt(r,0,255)),i=255&(e[6]?gt(i):pt(i,0,255)),{r:n,g:r,b:i,a:o}}}(t):$t(t)}class Gt{constructor(t){if(t instanceof Gt)return t;const e=typeof t;let n;var r,i,o;"object"===e?n=Ht(t):"string"===e&&(o=(r=t).length,"#"===r[0]&&(4===o||5===o?i={r:255&17*bt[r[1]],g:255&17*bt[r[2]],b:255&17*bt[r[3]],a:5===o?17*bt[r[4]]:255}:7!==o&&9!==o||(i={r:bt[r[1]]<<4|bt[r[2]],g:bt[r[3]]<<4|bt[r[4]],b:bt[r[5]]<<4|bt[r[6]],a:9===o?bt[r[7]]<<4|bt[r[8]]:255})),n=i||Rt(t)||Wt(t)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var t=Vt(this._rgb);return t&&(t.a=mt(t.a)),t}set rgb(t){this._rgb=Ht(t)}rgbString(){return this._valid?(t=this._rgb)&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${mt(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`):void 0;var t}hexString(){return this._valid?Mt(this._rgb):void 0}hslString(){return this._valid?function(t){if(!t)return;const e=Ct(t),n=e[0],r=vt(e[1]),i=vt(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${i}%, ${mt(t.a)})`:`hsl(${n}, ${r}%, ${i}%)`}(this._rgb):void 0}mix(t,e){if(t){const n=this.rgb,r=t.rgb;let i;const o=e===i?.5:e,a=2*o-1,s=n.a-r.a,l=((a*s==-1?a:(a+s)/(1+a*s))+1)/2;i=1-l,n.r=255&l*n.r+i*r.r+.5,n.g=255&l*n.g+i*r.g+.5,n.b=255&l*n.b+i*r.b+.5,n.a=o*n.a+(1-o)*r.a,this.rgb=n}return this}interpolate(t,e){return t&&(this._rgb=function(t,e,n){const r=jt(mt(t.r)),i=jt(mt(t.g)),o=jt(mt(t.b));return{r:yt(Bt(r+n*(jt(mt(e.r))-r))),g:yt(Bt(i+n*(jt(mt(e.g))-i))),b:yt(Bt(o+n*(jt(mt(e.b))-o))),a:t.a+n*(e.a-t.a)}}(this._rgb,t._rgb,e)),this}clone(){return new Gt(this.rgb)}alpha(t){return this._rgb.a=yt(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const t=this._rgb,e=ft(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){return this._rgb.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return zt(this._rgb,2,t),this}darken(t){return zt(this._rgb,2,-t),this}saturate(t){return zt(this._rgb,1,t),this}desaturate(t){return zt(this._rgb,1,-t),this}rotate(t){return function(t,e){var n=Ct(t);n[0]=kt(n[0]+e),n=Pt(n),t.r=n[0],t.g=n[1],t.b=n[2]}(this._rgb,t),this}}function Yt(t){return new Gt(t)}function Ut(t){if(t&&"object"==typeof t){const e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function Zt(t){return Ut(t)?t:Yt(t)}function Xt(t){return Ut(t)?t:Yt(t).saturate(.5).darken(.1).hexString()}const qt=Object.create(null),Kt=Object.create(null);function Jt(t,e){if(!e)return t;const n=e.split(".");for(let e=0,r=n.length;e<r;++e){const r=n[e];t=t[r]||(t[r]=Object.create(null))}return t}function Qt(t,e,n){return"string"==typeof e?v(Jt(t,e),n):v(Jt(t,""),e)}var te=new class{constructor(t){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=t=>t.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>Xt(e.backgroundColor),this.hoverBorderColor=(t,e)=>Xt(e.borderColor),this.hoverColor=(t,e)=>Xt(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={}
vendor: 6,431 bytes, line 58
58,this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t)}set(t,e){return Qt(this,t,e)}get(t){return Jt(this,t)}describe(t,e){return Qt(Kt,t,e)}override(t,e){return Qt(qt,t,e)}route(t,e,n,r){const i=Jt(this,t),o=Jt(this,n),a="_"+e;Object.defineProperties(i,{[a]:{value:i[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[a],e=o[r];return s(t)?Object.assign({},e,t):c(t,e)},set(t){this[a]=t}}})}}({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function ee(t,e,n,r,i){let o=e[i];return o||(o=e[i]=t.measureText(i).width,n.push(i)),o>r&&(r=o),r}function ne(t,e,n,r){let i=(r=r||{}).data=r.data||{},o=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(i=r.data={},o=r.garbageCollect=[],r.font=e),t.save(),t.font=e;let s=0;const l=n.length;let u,c,d,h,f;for(u=0;u<l;u++)if(h=n[u],null!=h&&!0!==a(h))s=ee(t,i,o,s,h);else if(a(h))for(c=0,d=h.length;c<d;c++)f=h[c],null==f||a(f)||(s=ee(t,i,o,s,f));t.restore();const p=o.length/2;if(p>n.length){for(u=0;u<p;u++)delete i[o[u]];o.splice(0,p)}return s}function re(t,e,n){const r=t.currentDevicePixelRatio,i=0!==n?Math.max(n/2,.5):0;return Math.round((e-i)*r)/r+i}function ie(t,e){(e=e||t.getContext("2d")).save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function oe(t,e,n,r){ae(t,e,n,r,null)}function ae(t,e,n,r,i){let o,a,s,l,u,c;const d=e.pointStyle,h=e.rotation,f=e.radius;let p=(h||0)*P;if(d&&"object"==typeof d&&(o=d.toString(),"[object HTMLImageElement]"===o||"[object HTMLCanvasElement]"===o))return t.save(),t.translate(n,r),t.rotate(p),t.drawImage(d,-d.width/2,-d.height/2,d.width,d.height),void t.restore();if(!(isNaN(f)||f<=0)){switch(t.beginPath(),d){default:i?t.ellipse(n,r,i/2,f,0,0,T):t.arc(n,r,f,0,T),t.closePath();break;case"triangle":t.moveTo(n+Math.sin(p)*f,r-Math.cos(p)*f),p+=E,t.lineTo(n+Math.sin(p)*f,r-Math.cos(p)*f),p+=E,t.lineTo(n+Math.sin(p)*f,r-Math.cos(p)*f),t.closePath();break;case"rectRounded":u=.516*f,l=f-u,a=Math.cos(p+$)*l,s=Math.sin(p+$)*l,t.arc(n-a,r-s,u,p-D,p-k),t.arc(n+s,r-a,u,p-k,p),t.arc(n+a,r+s,u,p,p+k),t.arc(n-s,r+a,u,p+k,p+D),t.closePath();break;case"rect":if(!h){l=Math.SQRT1_2*f,c=i?i/2:l,t.rect(n-c,r-l,2*c,2*l);break}p+=$;case"rectRot":a=Math.cos(p)*f,s=Math.sin(p)*f,t.moveTo(n-a,r-s),t.lineTo(n+s,r-a),t.lineTo(n+a,r+s),t.lineTo(n-s,r+a),t.closePath();break;case"crossRot":p+=$;case"cross":a=Math.cos(p)*f,s=Math.sin(p)*f,t.moveTo(n-a,r-s),t.lineTo(n+a,r+s),t.moveTo(n+s,r-a),t.lineTo(n-s,r+a);break;case"star":a=Math.cos(p)*f,s=Math.sin(p)*f,t.moveTo(n-a,r-s),t.lineTo(n+a,r+s),t.moveTo(n+s,r-a),t.lineTo(n-s,r+a),p+=$,a=Math.cos(p)*f,s=Math.sin(p)*f,t.moveTo(n-a,r-s),t.lineTo(n+a,r+s),t.moveTo(n+s,r-a),t.lineTo(n-s,r+a);break;case"line":a=i?i/2:Math.cos(p)*f,s=Math.sin(p)*f,t.moveTo(n-a,r-s),t.lineTo(n+a,r+s);break;case"dash":t.moveTo(n,r),t.lineTo(n+Math.cos(p)*f,r+Math.sin(p)*f)}t.fill(),e.borderWidth>0&&t.stroke()}}function se(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.x<e.right+n&&t.y>e.top-n&&t.y<e.bottom+n}function le(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function ue(t){t.restore()}function ce(t,e,n,r,i){if(!e)return t.lineTo(n.x,n.y);if("middle"===i){const r=(e.x+n.x)/2;t.lineTo(r,e.y),t.lineTo(r,n.y)}else"after"===i!=!!r?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}function de(t,e,n,r){if(!e)return t.lineTo(n.x,n.y);t.bezierCurveTo(r?e.cp1x:e.cp2x,r?e.cp1y:e.cp2y,r?n.cp2x:n.cp1x,r?n.cp2y:n.cp1y,n.x,n.y)}function he(t,e,n,r,i,s={}){const l=a(e)?e:[e],u=s.strokeWidth>0&&""!==s.strokeColor;let c,d;for(t.save(),t.font=i.string,function(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]);o(e.rotation)||t.rotate(e.rotation);e.color&&(t.fillStyle=e.color);e.textAlign&&(t.textAlign=e.textAlign);e.textBaseline&&(t.textBaseline=e.textBaseline)}(t,s),c=0;c<l.length;++c)d=l[c],u&&(s.strokeColor&&(t.strokeStyle=s.strokeColor),o(s.strokeWidth)||(t.lineWidth=s.strokeWidth),t.strokeText(d,n,r,s.maxWidth)),t.fillText(d,n,r,s.maxWidth),fe(t,n,r,d,s),r+=i.lineHeight;t.restore()}function fe(t,e,n,r,i){if(i.strikethrough||i.underline){const o=t.measureText(r),a=e-o.actualBoundingBoxLeft,s=e+o.actualBoundingBoxRight,l=n-o.actualBoundingBoxAscent,u=n+o.actualBoundingBoxDescent,c=i.strikethrough?(l+u)/2:u;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=i.decorationWidth||2,t.moveTo(a,c),t.lineTo(s,c),t.stroke()}}function pe(t,e){const{x:n,y:r,w:i,h:o,radius:a}=e;t.arc(n+a.topLeft,r+a.topLeft,a.topLeft,-k,D,!0),t.lineTo(n,r+o-a.bottomLeft),t.arc(n+a.bottomLeft,r+o-a.bottomLeft,a.bottomLeft,D,k,!0),t.lineTo(n+i-a.bottomRight,r+o),t.arc(n+i-a.bottomRight,r+o-a.bottomRight,a.bottomRight,k,0,!0),t.lineTo(n+i,r+a.topRight),t.arc(n+i-a.topRight,r+a.topRight,a.topRight,0,-k,!0),t.lineTo(n+a.topLeft,r)}const ge=new RegExp(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/),ye=new RegExp(/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/);function me(t,e){const n=(""+t).match(ge);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t}function ve(t,e){const n={},r=s(e),i=r?Object.keys(e):e,o=s(t)?r?n=>c(t[n],t[e[n]]):e=>t[e]:()=>t;for(const t of i)n[t]=+o(t)||0;return n}function be(t){return ve(t,{top:"y",right:"x",bottom:"y",left:"x"})}function xe(t){return ve(t,["topLeft","topRight","bottomLeft","bottomRight"])}function _e(t){const e=be(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function we(t,e){t=t||{},e=e||te.font;let n=c(t.size,e.size);"string"==typeof n&&(n=parseInt(n,10));let r=c(t.style,e.style);r&&!(""+r).match(ye)&&(console.warn('Invalid font style specified: "'+r+'"'),r="");const i={family:c(t.family,e.family),lineHeight:me(c(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:c(t.weight,e.weight),string:""};return i.string=function(t){return!t||o(t.size)||o(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(i),i}function Se(t,e,n,r){let i,o,s,l=!0;for(i=0,o=t.length;i<o;++i)if(s=t[i],void 0!==s&&(void 0!==e&&"function"==typeof s&&(s=s(e),l=!1),void 0!==n&&a(s)&&(s=s[n%s.length],l=!1),void 0!==s))return r&&!l&&(r.cacheable=!1),s}function Me(t,e){return Object.assign(Object.create(t),e)}function Ie(t,e=[""],n=t,r,i=()=>t[0]){M(r)||(r=Ne("_fallback",t));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:n,_fallback:r,_getTarget:i,override:i=>
vendor: 5,581 bytes, line 58
58Ie([i,...t],e,n,r)};return new Proxy(o,{deleteProperty(e,n){return delete e[n],delete e._keys,delete t[0][n],!0},get(n,r){return Oe(n,r,(()=>function(t,e,n,r){let i;for(const o of e)if(i=Ne(Te(o,t),n),M(i))return Ce(t,i)?Ee(n,r,t,i):i}(r,e,t,n)))},getOwnPropertyDescriptor(t,e){return Reflect.getOwnPropertyDescriptor(t._scopes[0],e)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(t,e){return Re(t).includes(e)},ownKeys(t){return Re(t)},set(t,e,n){const r=t._storage||(t._storage=i());return t[e]=r[e]=n,delete t._keys,!0}})}function Ae(t,e,n,r){const i={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:De(t,r),setContext:e=>Ae(t,e,n,r),override:i=>Ae(t.override(i),e,n,r)};return new Proxy(i,{deleteProperty(e,n){return delete e[n],delete t[n],!0},get(t,e,n){return Oe(t,e,(()=>function(t,e,n){const{_proxy:r,_context:i,_subProxy:o,_descriptors:l}=t;let u=r[e];I(u)&&l.isScriptable(e)&&(u=function(t,e,n,r){const{_proxy:i,_context:o,_subProxy:a,_stack:s}=n;if(s.has(t))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+t);s.add(t),e=e(o,a||r),s.delete(t),Ce(t,e)&&(e=Ee(i._scopes,i,t,e));return e}(e,u,t,n));a(u)&&u.length&&(u=function(t,e,n,r){const{_proxy:i,_context:o,_subProxy:a,_descriptors:l}=n;if(M(o.index)&&r(t))e=e[o.index%e.length];else if(s(e[0])){const n=e,r=i._scopes.filter((t=>t!==n));e=[];for(const s of n){const n=Ee(r,i,t,s);e.push(Ae(n,o,a&&a[t],l))}}return e}(e,u,t,l.isIndexable));Ce(e,u)&&(u=Ae(u,i,o&&o[e],l));return u}(t,e,n)))},getOwnPropertyDescriptor(e,n){return e._descriptors.allKeys?Reflect.has(t,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,n)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(e,n){return Reflect.has(t,n)},ownKeys(){return Reflect.ownKeys(t)},set(e,n,r){return t[n]=r,delete e[n],!0}})}function De(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:i=e.allKeys}=t;return{allKeys:i,scriptable:n,indexable:r,isScriptable:I(n)?n:()=>n,isIndexable:I(r)?r:()=>r}}const Te=(t,e)=>t?t+S(e):e,Ce=(t,e)=>s(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function Oe(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const r=n();return t[e]=r,r}function Pe(t,e,n){return I(t)?t(e,n):t}const ke=(t,e)=>!0===t?e:"string"==typeof t?w(e,t):void 0;function $e(t,e,n,r,i){for(const o of e){const e=ke(n,o);if(e){t.add(e);const o=Pe(e._fallback,n,i);if(M(o)&&o!==n&&o!==r)return o}else if(!1===e&&M(r)&&n!==r)return null}return!1}function Ee(t,e,n,r){const i=e._rootScopes,o=Pe(e._fallback,n,r),l=[...t,...i],u=new Set;u.add(r);let c=Le(u,l,n,o||n,r);return null!==c&&((!M(o)||o===n||(c=Le(u,l,o,c,r),null!==c))&&Ie(Array.from(u),[""],i,o,(()=>function(t,e,n){const r=t._getTarget();e in r||(r[e]={});const i=r[e];if(a(i)&&s(n))return n;return i}(e,n,r))))}function Le(t,e,n,r,i){for(;n;)n=$e(t,e,n,r,i);return n}function Ne(t,e){for(const n of e){if(!n)continue;const e=n[t];if(M(e))return e}}function Re(t){let e=t._keys;return e||(e=t._keys=function(t){const e=new Set;for(const n of t)for(const t of Object.keys(n).filter((t=>!t.startsWith("_"))))e.add(t);return Array.from(e)}(t._scopes)),e}function Fe(t,e,n,r){const{iScale:i}=t,{key:o="r"}=this._parsing,a=new Array(r);let s,l,u,c;for(s=0,l=r;s<l;++s)u=s+n,c=e[u],a[s]={r:i.parse(w(c,o),u)};return a}const Be=Number.EPSILON||1e-14,je=(t,e)=>e<t.length&&!t[e].skip&&t[e],ze=t=>"x"===t?"y":"x";function Ve(t,e,n,r){const i=t.skip?e:t,o=e,a=n.skip?e:n,s=G(o,i),l=G(a,o);let u=s/(s+l),c=l/(s+l);u=isNaN(u)?0:u,c=isNaN(c)?0:c;const d=r*u,h=r*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)}}}function He(t,e="x"){const n=ze(e),r=t.length,i=Array(r).fill(0),o=Array(r);let a,s,l,u=je(t,0);for(a=0;a<r;++a)if(s=l,l=u,u=je(t,a+1),l){if(u){const t=u[e]-l[e];i[a]=0!==t?(u[n]-l[n])/t:0}o[a]=s?u?N(i[a-1])!==N(i[a])?0:(i[a-1]+i[a])/2:i[a-1]:i[a]}!function(t,e,n){const r=t.length;let i,o,a,s,l,u=je(t,0);for(let c=0;c<r-1;++c)l=u,u=je(t,c+1),l&&u&&(B(e[c],0,Be)?n[c]=n[c+1]=0:(i=n[c]/e[c],o=n[c+1]/e[c],s=Math.pow(i,2)+Math.pow(o,2),s<=9||(a=3/Math.sqrt(s),n[c]=i*a*e[c],n[c+1]=o*a*e[c])))}(t,i,o),function(t,e,n="x"){const r=ze(n),i=t.length;let o,a,s,l=je(t,0);for(let u=0;u<i;++u){if(a=s,s=l,l=je(t,u+1),!s)continue;const i=s[n],c=s[r];a&&(o=(i-a[n])/3,s[`cp1${n}`]=i-o,s[`cp1${r}`]=c-o*e[u]),l&&(o=(l[n]-i)/3,s[`cp2${n}`]=i+o,s[`cp2${r}`]=c+o*e[u])}}(t,o,e)}function We(t,e,n){return Math.max(Math.min(t,n),e)}function Ge(t,e,n,r,i){let o,a,s,l;if(e.spanGaps&&(t=t.filter((t=>!t.skip))),"monotone"===e.cubicInterpolationMode)He(t,i);else{let n=r?t[t.length-1]:t[0];for(o=0,a=t.length;o<a;++o)s=t[o],l=Ve(n,s,t[Math.min(o+1,a-(r?0:1))%a],e.tension),s.cp1x=l.previous.x,s.cp1y=l.previous.y,s.cp2x=l.next.x,s.cp2y=l.next.y,n=s}e.capBezierPoints&&function(t,e){let n,r,i,o,a,s=se(t[0],e);for(n=0,r=t.length;n<r;++n)a=o,o=s,s=n<r-1&&se(t[n+1],e),o&&(i=t[n],a&&(i.cp1x=We(i.cp1x,e.left,e.right),i.cp1y=We(i.cp1y,e.top,e.bottom)),s&&(i.cp2x=We(i.cp2x,e.left,e.right),i.cp2y=We(i.cp2y,e.top,e.bottom)))}(t,n)}function Ye(){return"undefined"!=typeof window&&"undefined"!=typeof document}function Ue(t){let e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e}function Ze(t,e,n){let r;return"string"==typeof t?(r=parseInt(t,10),-1!==t.indexOf("%")&&(r=r/100*e.parentNode[n])):r=t,r}const Xe=t=>window.getComputedStyle(t,null);const qe=["top","right","bottom","left"];function Ke(t,e,n){const r={};n=n?"-"+n:"";for(let i=0;i<4;i++){const o=qe[i];
vendor: 5,725 bytes, lines 58-65
58r[o]=parseFloat(t[e+"-"+o+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}function Je(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:r}=e,i=Xe(n),o="border-box"===i.boxSizing,a=Ke(i,"padding"),s=Ke(i,"border","width"),{x:l,y:u,box:c}=function(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:i,offsetY:o}=r;let a,s,l=!1;if(((t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot))(i,o,t.target))a=i,s=o;else{const t=e.getBoundingClientRect();a=r.clientX-t.left,s=r.clientY-t.top,l=!0}return{x:a,y:s,box:l}}(t,n),d=a.left+(c&&s.left),h=a.top+(c&&s.top);let{width:f,height:p}=e;return o&&(f-=a.width+s.width,p-=a.height+s.height),{x:Math.round((l-d)/f*n.width/r),y:Math.round((u-h)/p*n.height/r)}}const Qe=t=>Math.round(10*t)/10;function tn(t,e,n,r){const i=Xe(t),o=Ke(i,"margin"),a=Ze(i.maxWidth,t,"clientWidth")||O,s=Ze(i.maxHeight,t,"clientHeight")||O,l=function(t,e,n){let r,i;if(void 0===e||void 0===n){const o=Ue(t);if(o){const t=o.getBoundingClientRect(),a=Xe(o),s=Ke(a,"border","width"),l=Ke(a,"padding");e=t.width-l.width-s.width,n=t.height-l.height-s.height,r=Ze(a.maxWidth,o,"clientWidth"),i=Ze(a.maxHeight,o,"clientHeight")}else e=t.clientWidth,n=t.clientHeight}return{width:e,height:n,maxWidth:r||O,maxHeight:i||O}}(t,e,n);let{width:u,height:c}=l;if("content-box"===i.boxSizing){const t=Ke(i,"border","width"),e=Ke(i,"padding");u-=e.width+t.width,c-=e.height+t.height}return u=Math.max(0,u-o.width),c=Math.max(0,r?Math.floor(u/r):c-o.height),u=Qe(Math.min(u,a,l.maxWidth)),c=Qe(Math.min(c,s,l.maxHeight)),u&&!c&&(c=Qe(u/2)),{width:u,height:c}}function en(t,e,n){const r=e||1,i=Math.floor(t.height*r),o=Math.floor(t.width*r);t.height=i/r,t.width=o/r;const a=t.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==r||a.height!==i||a.width!==o)&&(t.currentDevicePixelRatio=r,a.height=i,a.width=o,t.ctx.setTransform(r,0,0,r,0,0),!0)}const nn=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(t){}return t}();function rn(t,e){const n=function(t,e){return Xe(t).getPropertyValue(e)}(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function on(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function an(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:"middle"===r?n<.5?t.y:e.y:"after"===r?n<1?t.y:e.y:n>0?e.y:t.y}}function sn(t,e,n,r){const i={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},a=on(t,i,n),s=on(i,o,n),l=on(o,e,n),u=on(a,s,n),c=on(s,l,n);return on(u,c,n)}const ln=new Map;function un(t,e,n){return function(t,e){e=e||{};const n=t+JSON.stringify(e);let r=ln.get(n);return r||(r=new Intl.NumberFormat(t,e),ln.set(n,r)),r}(e,n).format(t)}function cn(t,e,n){return t?function(t,e){return{x(n){return t+t+e-n},setWidth(t){e=t},textAlign(t){return"center"===t?t:"right"===t?"left":"right"},xPlus(t,e){return t-e},leftForLtr(t,e){return t-e}}}(e,n):{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}}function dn(t,e){let n,r;"ltr"!==e&&"rtl"!==e||(n=t.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)}function hn(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function fn(t){return"angle"===t?{between:Z,compare:Y,normalize:U}:{between:q,compare:(t,e)=>t-e,normalize:t=>t}}function pn({start:t,end:e,count:n,loop:r,style:i}){return{start:t%n,end:e%n,loop:r&&(e-t+1)%n==0,style:i}}function gn(t,e,n){if(!n)return[t];const{property:r,start:i,end:o}=n,a=e.length,{compare:s,between:l,normalize:u}=fn(r),{start:c,end:d,loop:h,style:f}=function(t,e,n){const{property:r,start:i,end:o}=n,{between:a,normalize:s}=fn(r),l=e.length;let u,c,{start:d,end:h,loop:f}=t;if(f){for(d+=l,h+=l,u=0,c=l;u<c&&a(s(e[d%l][r]),i,o);++u)d--,h--;d%=l,h%=l}return h<d&&(h+=l),{start:d,end:h,loop:f,style:t.style}}(t,e,n),p=[];let g,y,m,v=!1,b=null;const x=()=>v||l(i,m,g)&&0!==s(i,m),_=()=>!v||0===s(o,g)||l(o,m,g);for(let t=c,n=c;t<=d;++t)y=e[t%a],y.skip||(g=u(y[r]),g!==m&&(v=l(g,i,o),null===b&&x()&&(b=0===s(g,i)?t:n),null!==b&&_()&&(p.push(pn({start:b,end:t,loop:h,count:a,style:f})),b=null),n=t,m=g));return null!==b&&p.push(pn({start:b,end:d,loop:h,count:a,style:f})),p}function yn(t,e){const n=[],r=t.segments;for(let i=0;i<r.length;i++){const o=gn(r[i],t.points,e);o.length&&n.push(...o)}return n}function mn(t,e,n,r){return r&&r.setContext&&n?function(t,e,n,r){const i=t._chart.getContext(),o=vn(t.options),{_datasetIndex:a,options:{spanGaps:s}}=t,l=n.length,u=[];let c=o,d=e[0].start,h=d;function f(t,e,r,i){const o=s?-1:1;if(t!==e){for(t+=l;n[t%l].skip;)t-=o;for(;n[e%l].skip;)e+=o;t%l!=e%l&&(u.push({start:t%l,end:e%l,loop:r,style:i}),c=i,d=e%l)}}for(const t of e){d=s?d:t.start;let e,o=n[d%l];for(h=d+1;h<=t.end;h++){const s=n[h%l];e=vn(r.setContext(Me(i,{type:"segment",p0:o,p1:s,p0DataIndex:(h-1)%l,p1DataIndex:h%l,datasetIndex:a}))),bn(e,c)&&f(d,h-1,t.loop,c),o=s,c=e}d<h-1&&f(d,h-1,t.loop,c)}return u}(t,e,n,r):e}function vn(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function bn(t,e){return e&&JSON.stringify(t)!==JSON.stringify(e)}var xn=new 59/*! 60 * Chart.js v3.9.1 61 * https://www.chartjs.org 62 * (c) 2022 Chart.js Contributors 63 * Released under the MIT License 64 */ 65class{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,e,n,r){const i=e.listeners[r],o=e.duration;
vendor: 5,981 bytes, line 65
65i.forEach((r=>r({chart:t,initial:e.initial,numSteps:o,currentStep:Math.min(n-e.start,o)})))}_refresh(){this._request||(this._running=!0,this._request=rt.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(t=Date.now()){let e=0;this._charts.forEach(((n,r)=>{if(!n.running||!n.items.length)return;const i=n.items;let o,a=i.length-1,s=!1;for(;a>=0;--a)o=i[a],o._active?(o._total>n.duration&&(n.duration=o._total),o.tick(t),s=!0):(i[a]=i[i.length-1],i.pop());s&&(r.draw(),this._notify(r,n,t,"progress")),i.length||(n.running=!1,this._notify(r,n,t,"complete"),n.initial=!1),e+=i.length})),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){const e=this._charts;let n=e.get(t);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,n)),n}listen(t,e,n){this._getAnims(t).listeners[e].push(n)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce(((t,e)=>Math.max(t,e._duration)),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const n=e.items;let r=n.length-1;for(;r>=0;--r)n[r].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}};const _n="transparent",wn={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const r=Zt(t||_n),i=r.valid&&Zt(e||_n);return i&&i.valid?i.mix(r,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class Sn{constructor(t,e,n,r){const i=e[n];r=Se([t.to,r,i,t.from]);const o=Se([t.from,i,r]);this._active=!0,this._fn=t.fn||wn[t.type||typeof o],this._easing=ht[t.easing]||ht.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=n,this._from=o,this._to=r,this._promises=void 0}active(){return this._active}update(t,e,n){if(this._active){this._notify(!1);const r=this._target[this._prop],i=n-this._start,o=this._duration-i;this._start=n,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=i,this._loop=!!t.loop,this._to=Se([t.to,e,r,t.from]),this._from=Se([t.from,r,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,n=this._duration,r=this._prop,i=this._from,o=this._loop,a=this._to;let s;if(this._active=i!==a&&(o||e<n),!this._active)return this._target[r]=a,void this._notify(!0);e<0?this._target[r]=i:(s=e/n%2,s=o&&s>1?2-s:s,s=this._easing(Math.min(1,Math.max(0,s))),this._target[r]=this._fn(i,a,s))}wait(){const t=this._promises||(this._promises=[]);return new Promise(((e,n)=>{t.push({res:e,rej:n})}))}_notify(t){const e=t?"res":"rej",n=this._promises||[];for(let t=0;t<n.length;t++)n[t][e]()}}te.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0});const Mn=Object.keys(te.animation);te.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),te.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),te.describe("animations",{_fallback:"animation"}),te.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}});class In{constructor(t,e){this._chart=t,this._properties=new Map,this.configure(e)}configure(t){if(!s(t))return;const e=this._properties;Object.getOwnPropertyNames(t).forEach((n=>{const r=t[n];if(!s(r))return;const i={};for(const t of Mn)i[t]=r[t];(a(r.properties)&&r.properties||[n]).forEach((t=>{t!==n&&e.has(t)||e.set(t,i)}))}))}_animateOptions(t,e){const n=e.options,r=function(t,e){if(!e)return;let n=t.options;if(!n)return void(t.options=e);n.$shared&&(t.options=n=Object.assign({},n,{$shared:!1,$animations:{}}));return n}(t,n);if(!r)return[];const i=this._createAnimations(r,n);return n.$shared&&function(t,e){const n=[],r=Object.keys(e);for(let e=0;e<r.length;e++){const i=t[r[e]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}(t.options.$animations,n).then((()=>{t.options=n}),(()=>{})),i}_createAnimations(t,e){const n=this._properties,r=[],i=t.$animations||(t.$animations={}),o=Object.keys(e),a=Date.now();let s;for(s=o.length-1;s>=0;--s){const l=o[s];if("$"===l.charAt(0))continue;if("options"===l){r.push(...this._animateOptions(t,e));continue}const u=e[l];let c=i[l];const d=n.get(l);if(c){if(d&&c.active()){c.update(d,u,a);continue}c.cancel()}d&&d.duration?(i[l]=c=new Sn(d,t,l,u),r.push(c)):t[l]=u}return r}update(t,e){if(0===this._properties.size)return void Object.assign(t,e);const n=this._createAnimations(t,e);return n.length?(xn.add(this._chart,n),!0):void 0}}function An(t,e){const n=t&&t.options||{},r=n.reverse,i=void 0===n.min?e:0,o=void 0===n.max?e:0;return{start:r?o:i,end:r?i:o}}function Dn(t,e){const n=[],r=t._getSortedDatasetMetas(e);let i,o;for(i=0,o=r.length;i<o;++i)n.push(r[i].index);return n}function Tn(t,e,n,r={}){const i=t.keys,o="single"===r.mode;let a,s,u,c;if(null!==e){for(a=0,s=i.length;a<s;++a){if(u=+i[a],u===n){if(r.all)continue;break}c=t.values[u],l(c)&&(o||0===e||N(e)===N(c))&&(e+=c)}return e}}function Cn(t,e){const n=t&&t.options.stacked;return n||void 0===n&&void 0!==e.stack}function On(t,e,n){const r=t[e]||(t[e]={});return r[n]||(r[n]={})}function Pn(t,e,n,r){for(const i of e.getMatchingVisibleMetas(r).reverse()){const e=t[i.index];if(n&&e>0||!n&&e<0)return i.index}return null}function kn(t,e){const{chart:n,_cachedMeta:r}=t,i=n._stacks||(n._stacks={}),{iScale:o,vScale:a,index:s}=r,l=o.axis,u=a.axis,c=function(t,e,n){return`${t.id}
65.${e.id}.${n.stack||n.type}`}(o,a,r),d=e.length;let h;for(let t=0;t<d;++t){const n=e[t],{[l]:o,[u]:d}=n;h=(n._stacks||(n._stacks={}))[u]=On(i,c,o),h[s]=d,h._top=Pn(h,a,!0,r.type),h._bottom=Pn(h,a,!1,r.type)}}function $n(t,e){const n=t.scales;return Object.keys(n).filter((t=>n[t].axis===e)).shift()}function En(t,e){const n=t.controller.index,r=t.vScale&&t.vScale.axis;if(r){e=e||t._parsed;for(const t of e){const e=t._stacks;if(!e||void 0===e[r]||void 0===e[r][n])return;delete e[r][n]}}}const Ln=t=>"reset"===t||"none"===t,Nn=(t,e)=>e?t:Object.assign({},t);class Rn{constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=Cn(t.vScale,t),this.addElements()}updateIndex(t){this.index!==t&&En(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,n=this.getDataset(),r=(t,e,n,r)=>"x"===t?e:"r"===t?r:n,i=e.xAxisID=c(n.xAxisID,$n(t,"x")),o=e.yAxisID=c(n.yAxisID,$n(t,"y")),a=e.rAxisID=c(n.rAxisID,$n(t,"r")),s=e.indexAxis,l=e.iAxisID=r(s,i,o,a),u=e.vAxisID=r(s,o,i,a);e.xScale=this.getScaleForId(i),e.yScale=this.getScaleForId(o),e.rScale=this.getScaleForId(a),e.iScale=this.getScaleForId(l),e.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&et(this._data,this),t._stacked&&En(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),n=this._data;if(s(e))this._data=function(t){const e=Object.keys(t),n=new Array(e.length);let r,i,o;for(r=0,i=e.length;r<i;++r)o=e[r],n[r]={x:o,y:t[o]};return n}(e);else if(n!==e){if(n){et(n,this);const t=this._cachedMeta;En(t),t._parsed=[]}e&&Object.isExtensible(e)&&(i=this,(r=e)._chartjs?r._chartjs.listeners.push(i):(Object.defineProperty(r,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[i]}}),tt.forEach((t=>{const e="_onData"+S(t),n=r[t];Object.defineProperty(r,t,{configurable:!0,enumerable:!1,value(...t){const i=n.apply(this,t);return r._chartjs.listeners.forEach((n=>{"function"==typeof n[e]&&n[e](...t)})),i}})})))),this._syncList=[],this._data=e}var r,i}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this._cachedMeta,n=this.getDataset();let r=!1;this._dataCheck();const i=e._stacked;e._stacked=Cn(e.vScale,e),e.stack!==n.stack&&(r=!0,En(e),e.stack=n.stack),this._resyncElements(t),(r||i!==e._stacked)&&kn(this,e._parsed)}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),n=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:n,_data:r}=this,{iScale:i,_stacked:o}=n,l=i.axis;let u,c,d,h=0===t&&e===r.length||n._sorted,f=t>0&&n._parsed[t-1];if(!1===this._parsing)n._parsed=r,n._sorted=!0,d=r;else{d=a(r[t])?this.parseArrayData(n,r,t,e):s(r[t])?this.parseObjectData(n,r,t,e):this.parsePrimitiveData(n,r,t,e);const i=()=>null===c[l]||f&&c[l]<f[l];for(u=0;u<e;++u)n._parsed[u+t]=c=d[u],h&&(i()&&(h=!1),f=c);n._sorted=h}o&&kn(this,d)}parsePrimitiveData(t,e,n,r){const{iScale:i,vScale:o}=t,a=i.axis,s=o.axis,l=i.getLabels(),u=i===o,c=new Array(r);let d,h,f;for(d=0,h=r;d<h;++d)f=d+n,c[d]={[a]:u||i.parse(l[f],f),[s]:o.parse(e[f],f)};return c}parseArrayData(t,e,n,r){const{xScale:i,yScale:o}=t,a=new Array(r);let s,l,u,c;for(s=0,l=r;s<l;++s)u=s+n,c=e[u],a[s]={x:i.parse(c[0],u),y:o.parse(c[1],u)};return a}parseObjectData(t,e,n,r){const{xScale:i,yScale:o}=t,{xAxisKey:a="x",yAxisKey:s="y"}=this._parsing,l=new Array(r);let u,c,d,h;for(u=0,c=r;u<c;++u)d=u+n,h=e[d],l[u]={x:i.parse(w(h,a),d),y:o.parse(w(h,s),d)};return l}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,e,n){const r=this.chart,i=this._cachedMeta,o=e[t.axis];return Tn({keys:Dn(r,!0),values:e._stacks[t.axis]},o,i.index,{mode:n})}updateRangeFromParsed(t,e,n,r){const i=n[e.axis];let o=null===i?NaN:i;const a=r&&n._stacks[e.axis];r&&a&&(r.values=a,o=Tn(r,i,this._cachedMeta.index)),t.min=Math.min(t.min,o),t.max=Math.max(t.max,o)}getMinMax(t,e){const n=this._cachedMeta,r=n._parsed,i=n._sorted&&t===n.iScale,o=r.length,a=this._getOtherScale(t),s=((t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:Dn(n,!0),values:null})(e,n,this.chart),u={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:c,max:d}=function(t){const{min:e,max:n,minDefined:r,maxDefined:i}=t.getUserBounds();return{min:r?e:Number.NEGATIVE_INFINITY,max:i?n:Number.POSITIVE_INFINITY}}(a);let h,f;function p(){f=r[h];const e=f[a.axis];return!l(f[t.axis])||c>e||d<e}for(h=0;h<o&&(p()||(this.updateRangeFromParsed(u,t,f,s),!i));++h);if(i)for(h=o-1;h>=0;--h)if(!p()){this.updateRangeFromParsed(u,t,f,s);break}return u}getAllParsedValues(t){const e=this._cachedMeta._parsed,n=[];let r,i,o;for(r=0,i=e.length;r<i;++r)o=e[r][t.axis],l(o)&&n.push(o);return n}getMaxOverflow(){return!1}
vendor: 6,723 bytes, line 65
65getLabelAndValue(t){const e=this._cachedMeta,n=e.iScale,r=e.vScale,i=this.getParsed(t);return{label:n?""+n.getLabelForValue(i[n.axis]):"",value:r?""+r.getLabelForValue(i[r.axis]):""}}_update(t){const e=this._cachedMeta;this.update(t||"default"),e._clip=function(t){let e,n,r,i;return s(t)?(e=t.top,n=t.right,r=t.bottom,i=t.left):e=n=r=i=t,{top:e,right:n,bottom:r,left:i,disabled:!1===t}}(c(this.options.clip,function(t,e,n){if(!1===n)return!1;const r=An(t,n),i=An(e,n);return{top:i.end,right:r.end,bottom:i.start,left:r.start}}(e.xScale,e.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,e=this.chart,n=this._cachedMeta,r=n.data||[],i=e.chartArea,o=[],a=this._drawStart||0,s=this._drawCount||r.length-a,l=this.options.drawActiveElementsOnTop;let u;for(n.dataset&&n.dataset.draw(t,i,a,s),u=a;u<a+s;++u){const e=r[u];e.hidden||(e.active&&l?o.push(e):e.draw(t,i))}for(u=0;u<o.length;++u)o[u].draw(t,i)}getStyle(t,e){const n=e?"active":"default";return void 0===t&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(n):this.resolveDataElementOptions(t||0,n)}getContext(t,e,n){const r=this.getDataset();let i;if(t>=0&&t<this._cachedMeta.data.length){const e=this._cachedMeta.data[t];i=e.$context||(e.$context=function(t,e,n){return Me(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}(this.getContext(),t,e)),i.parsed=this.getParsed(t),i.raw=r.data[t],i.index=i.dataIndex=t}else i=this.$context||(this.$context=function(t,e){return Me(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),i.dataset=r,i.index=i.datasetIndex=this.index;return i.active=!!e,i.mode=n,i}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,e){return this._resolveElementOptions(this.dataElementType.id,e,t)}_resolveElementOptions(t,e="default",n){const r="active"===e,i=this._cachedDataOpts,o=t+"-"+e,a=i[o],s=this.enableOptionSharing&&M(n);if(a)return Nn(a,s);const l=this.chart.config,u=l.datasetElementScopeKeys(this._type,t),c=r?[`${t}Hover`,"hover",t,""]:[t,""],d=l.getOptionScopes(this.getDataset(),u),h=Object.keys(te.elements[t]),f=l.resolveNamedOptions(d,h,(()=>this.getContext(n,r)),c);return f.$shared&&(f.$shared=s,i[o]=Object.freeze(Nn(f,s))),f}_resolveAnimations(t,e,n){const r=this.chart,i=this._cachedDataOpts,o=`animation-${e}`,a=i[o];if(a)return a;let s;if(!1!==r.options.animation){const r=this.chart.config,i=r.datasetAnimationScopeKeys(this._type,e),o=r.getOptionScopes(this.getDataset(),i);s=r.createResolver(o,this.getContext(t,n,e))}const l=new In(r,s&&s.animations);return s&&s._cacheable&&(i[o]=Object.freeze(l)),l}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||Ln(t)||this.chart._animationsDisabled}_getSharedOptions(t,e){const n=this.resolveDataElementOptions(t,e),r=this._sharedOptions,i=this.getSharedOptions(n),o=this.includeOptions(e,i)||i!==r;return this.updateSharedOptions(i,e,n),{sharedOptions:i,includeOptions:o}}updateElement(t,e,n,r){Ln(r)?Object.assign(t,n):this._resolveAnimations(e,r).update(t,n)}updateSharedOptions(t,e,n){t&&!Ln(e)&&this._resolveAnimations(void 0,e).update(t,n)}_setStyle(t,e,n,r){t.active=r;const i=this.getStyle(e,r);this._resolveAnimations(e,n,r).update(t,{options:!r&&this.getSharedOptions(i)||i})}removeHoverStyle(t,e,n){this._setStyle(t,n,"active",!1)}setHoverStyle(t,e,n){this._setStyle(t,n,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,n=this._cachedMeta.data;for(const[t,e,n]of this._syncList)this[t](e,n);this._syncList=[];const r=n.length,i=e.length,o=Math.min(i,r);o&&this.parse(0,o),i>r?this._insertElements(r,i-r,t):i<r&&this._removeElements(i,r-i)}_insertElements(t,e,n=!0){const r=this._cachedMeta,i=r.data,o=t+e;let a;const s=t=>{for(t.length+=e,a=t.length-1;a>=o;a--)t[a]=t[a-e]};for(s(i),a=t;a<o;++a)i[a]=new this.dataElementType;this._parsing&&s(r._parsed),this.parse(t,e),n&&this.updateElements(i,t,e,"reset")}updateElements(t,e,n,r){}_removeElements(t,e){const n=this._cachedMeta;if(this._parsing){const r=n._parsed.splice(t,e);n._stacked&&En(n,r)}n.data.splice(t,e)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[e,n,r]=t;this[e](n,r)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,e){e&&this._sync(["_removeElements",t,e]);const n=arguments.length-2;n&&this._sync(["_insertElements",t,n])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function Fn(t){const e=t.iScale,n=function(t,e){if(!t._cache.$bar){const n=t.getMatchingVisibleMetas(e);let r=[];for(let e=0,i=n.length;e<i;e++)r=r.concat(n[e].controller.getAllParsedValues(t));t._cache.$bar=nt(r.sort(((t,e)=>t-e)))}return t._cache.$bar}(e,t.type);let r,i,o,a,s=e._length;const l=()=>{32767!==o&&-32768!==o&&(M(a)&&(s=Math.min(s,Math.abs(o-a)||s)),a=o)};for(r=0,i=n.length;r<i;++r)o=e.getPixelForValue(n[r]),l();for(a=void 0,r=0,i=e.ticks.length;r<i;++r)o=e.getPixelForTick(r),l();return s}function Bn(t,e,n,r){return a(t)?function(t,e,n,r){const i=n.parse(t[0],r),o=n.parse(t[1],r),a=Math.min(i,o),s=Math.max(i,o);let l=a,u=s;Math.abs(a)>Math.abs(s)&&(l=s,u=a),e[n.axis]=u,e._custom={barStart:l,barEnd:u,start:i,end:o,min:a,max:s}}(t,e,n,r):e[n.axis]=n.parse(t,r),e}function jn(t,e,n,r){const i=t.iScale,o=t.vScale,a=i.getLabels(),s=i===o,l=[];let u,c,d,h;for(u=n,c=n+r;u<c;++u)h=e[u],d={},d[i.axis]=s||i.parse(a[u],u),l.push(Bn(h,d,o,u));return l}function zn(t){return t&&void 0!==t.barStart&&void 0!==t.barEnd}function Vn(t,e,n,r){let i=e.borderSkipped;const o={};if(!i)return void(t.borderSkipped=o);if(!0===i)return void(t.borderSkipped={top:!0,right:!0,bottom:!0,left:!0});const{start:a,end:s,reverse:l,top:u,bottom:c}=function(t){let e,n,r,i,o;return t.horizontal?(e=t.base>t.x,n="left",r="right"):(e=t.base<t.y,n="bottom",r="top"),e?(i="end",o="start"):(i="start",o="end"),{start:n,end:r,reverse:e,top:i,bottom:o}}(t);"middle"===i&&n&&(t.enableBorderRadius=!0,(n._top||0)===r?i=u:(n._bottom||0)===r?i=c:(o[Hn(c,a,s,l)]=!0,i=u)),o[Hn(i,a,s,l)]=!0,t.borderSkipped=o}function Hn(t,e,n,r){var i,o,a;return r?(a=n,t=Wn(t=(i=t)===(o=e)?a:i===a?o:i,n,e)):t=Wn(t,e,n),t}function Wn(t,e,n){return"start"===t?e:"end"===t?n:t}
vendor: 9,913 bytes, line 65
65function Gn(t,{inflateAmount:e},n){t.inflateAmount="auto"===e?1===n?.33:0:e}Rn.defaults={},Rn.prototype.datasetElementType=null,Rn.prototype.dataElementType=null;class Yn extends Rn{parsePrimitiveData(t,e,n,r){return jn(t,e,n,r)}parseArrayData(t,e,n,r){return jn(t,e,n,r)}parseObjectData(t,e,n,r){const{iScale:i,vScale:o}=t,{xAxisKey:a="x",yAxisKey:s="y"}=this._parsing,l="x"===i.axis?a:s,u="x"===o.axis?a:s,c=[];let d,h,f,p;for(d=n,h=n+r;d<h;++d)p=e[d],f={},f[i.axis]=i.parse(w(p,l),d),c.push(Bn(w(p,u),f,o,d));return c}updateRangeFromParsed(t,e,n,r){super.updateRangeFromParsed(t,e,n,r);const i=n._custom;i&&e===this._cachedMeta.vScale&&(t.min=Math.min(t.min,i.min),t.max=Math.max(t.max,i.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const e=this._cachedMeta,{iScale:n,vScale:r}=e,i=this.getParsed(t),o=i._custom,a=zn(o)?"["+o.start+", "+o.end+"]":""+r.getLabelForValue(i[r.axis]);return{label:""+n.getLabelForValue(i[n.axis]),value:a}}initialize(){this.enableOptionSharing=!0,super.initialize();this._cachedMeta.stack=this.getDataset().stack}update(t){const e=this._cachedMeta;this.updateElements(e.data,0,e.data.length,t)}updateElements(t,e,n,r){const i="reset"===r,{index:a,_cachedMeta:{vScale:s}}=this,l=s.getBasePixel(),u=s.isHorizontal(),c=this._getRuler(),{sharedOptions:d,includeOptions:h}=this._getSharedOptions(e,r);for(let f=e;f<e+n;f++){const e=this.getParsed(f),n=i||o(e[s.axis])?{base:l,head:l}:this._calculateBarValuePixels(f),p=this._calculateBarIndexPixels(f,c),g=(e._stacks||{})[s.axis],y={horizontal:u,base:n.base,enableBorderRadius:!g||zn(e._custom)||a===g._top||a===g._bottom,x:u?n.head:p.center,y:u?p.center:n.head,height:u?p.size:Math.abs(n.size),width:u?Math.abs(n.size):p.size};h&&(y.options=d||this.resolveDataElementOptions(f,t[f].active?"active":r));const m=y.options||t[f].options;Vn(y,m,g,a),Gn(y,m,c.ratio),this.updateElement(t[f],f,y,r)}}_getStacks(t,e){const{iScale:n}=this._cachedMeta,r=n.getMatchingVisibleMetas(this._type).filter((t=>t.controller.options.grouped)),i=n.options.stacked,a=[],s=t=>{const n=t.controller.getParsed(e),r=n&&n[t.vScale.axis];if(o(r)||isNaN(r))return!0};for(const n of r)if((void 0===e||!s(n))&&((!1===i||-1===a.indexOf(n.stack)||void 0===i&&void 0===n.stack)&&a.push(n.stack),n.index===t))break;return a.length||a.push(void 0),a}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,e,n){const r=this._getStacks(t,n),i=void 0!==e?r.indexOf(e):-1;return-1===i?r.length-1:i}_getRuler(){const t=this.options,e=this._cachedMeta,n=e.iScale,r=[];let i,o;for(i=0,o=e.data.length;i<o;++i)r.push(n.getPixelForValue(this.getParsed(i)[n.axis],i));const a=t.barThickness;return{min:a||Fn(e),pixels:r,start:n._startPixel,end:n._endPixel,stackCount:this._getStackCount(),scale:n,grouped:t.grouped,ratio:a?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:e,_stacked:n},options:{base:r,minBarLength:i}}=this,a=r||0,s=this.getParsed(t),l=s._custom,u=zn(l);let c,d,h=s[e.axis],f=0,p=n?this.applyStack(e,s,n):h;p!==h&&(f=p-h,p=h),u&&(h=l.barStart,p=l.barEnd-l.barStart,0!==h&&N(h)!==N(l.barEnd)&&(f=0),f+=h);const g=o(r)||u?f:r;let y=e.getPixelForValue(g);if(c=this.chart.getDataVisibility(t)?e.getPixelForValue(f+p):y,d=c-y,Math.abs(d)<i){d=function(t,e,n){return 0!==t?N(t):(e.isHorizontal()?1:-1)*(e.min>=n?1:-1)}(d,e,a)*i,h===a&&(y-=d/2);const t=e.getPixelForDecimal(0),n=e.getPixelForDecimal(1),r=Math.min(t,n),o=Math.max(t,n);y=Math.max(Math.min(y,o),r),c=y+d}if(y===e.getPixelForValue(a)){const t=N(d)*e.getLineWidthForValue(a)/2;y+=t,d-=t}return{size:d,base:y,head:c,center:c+d/2}}_calculateBarIndexPixels(t,e){const n=e.scale,r=this.options,i=r.skipNull,a=c(r.maxBarThickness,1/0);let s,l;if(e.grouped){const n=i?this._getStackCount(t):e.stackCount,u="flex"===r.barThickness?function(t,e,n,r){const i=e.pixels,o=i[t];let a=t>0?i[t-1]:null,s=t<i.length-1?i[t+1]:null;const l=n.categoryPercentage;null===a&&(a=o-(null===s?e.end-e.start:s-o)),null===s&&(s=o+o-a);const u=o-(o-Math.min(a,s))/2*l;return{chunk:Math.abs(s-a)/2*l/r,ratio:n.barPercentage,start:u}}(t,e,r,n):function(t,e,n,r){const i=n.barThickness;let a,s;return o(i)?(a=e.min*n.categoryPercentage,s=n.barPercentage):(a=i*r,s=1),{chunk:a/r,ratio:s,start:e.pixels[t]-a/2}}(t,e,r,n),c=this._getStackIndex(this.index,this._cachedMeta.stack,i?t:void 0);s=u.start+u.chunk*c+u.chunk/2,l=Math.min(a,u.chunk*u.ratio)}else s=n.getPixelForValue(this.getParsed(t)[n.axis],t),l=Math.min(a,e.min*e.ratio);return{base:s-l/2,head:s+l/2,center:s,size:l}}draw(){const t=this._cachedMeta,e=t.vScale,n=t.data,r=n.length;let i=0;for(;i<r;++i)null!==this.getParsed(i)[e.axis]&&n[i].draw(this._ctx)}}Yn.id="bar",Yn.defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}},Yn.overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};class Un extends Rn{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,e,n,r){const i=super.parsePrimitiveData(t,e,n,r);for(let t=0;t<i.length;t++)i[t]._custom=this.resolveDataElementOptions(t+n).radius;return i}parseArrayData(t,e,n,r){const i=super.parseArrayData(t,e,n,r);for(let t=0;t<i.length;t++){const r=e[n+t];i[t]._custom=c(r[2],this.resolveDataElementOptions(t+n).radius)}return i}parseObjectData(t,e,n,r){const i=super.parseObjectData(t,e,n,r);for(let t=0;t<i.length;t++){const r=e[n+t];i[t]._custom=c(r&&r.r&&+r.r,this.resolveDataElementOptions(t+n).radius)}return i}getMaxOverflow(){const t=this._cachedMeta.data;let e=0;for(let n=t.length-1;n>=0;--n)e=Math.max(e,t[n].size(this.resolveDataElementOptions(n))/2);return e>0&&e}getLabelAndValue(t){const e=this._cachedMeta,{xScale:n,yScale:r}=e,i=this.getParsed(t),o=n.getLabelForValue(i.x),a=r.getLabelForValue(i.y),s=i._custom;return{label:e.label,value:"("+o+", "+a+(s?", "+s:"")+")"}}update(t){const e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(t,e,n,r){const i="reset"===r,{iScale:o,vScale:a}=this._cachedMeta,{sharedOptions:s,includeOptions:l}=this._getSharedOptions(e,r),u=o.axis,c=a.axis;for(let d=e;d<e+n;d++){const e=t[d],n=!i&&this.getParsed(d),h={},f=h[u]=i?o.getPixelForDecimal(.5):o.getPixelForValue(n[u]),p=h[c]=i?a.getBasePixel():a.getPixelForValue(n[c]);h.skip=isNaN(f)||isNaN(p),l&&(h.options=s||this.resolveDataElementOptions(d,e.active?"active":r),i&&(h.options.radius=0)),this.updateElement(e,d,h,r)}}resolveDataElementOptions(t,e){const n=this.getParsed(t);let r=super.resolveDataElementOptions(t,e);r.$shared&&(r=Object.assign({},r,{$shared:!1}));const i=r.radius;return"active"!==e&&(r.radius=0),r.radius+=c(n&&n._custom,i),r}}Un.id="bubble",Un.defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}},Un.overrides={scales:{x:{type:"linear"},y:{type:"linear"}},plugins:{tooltip:{callbacks:{title(){return""}}}}};class Zn extends Rn{constructor(t,e){super(t,e),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,e){const n=this.getDataset().data,r=this._cachedMeta;if(!1===this._parsing)r._parsed=n;else{let i,o,a=t=>+n[t];if(s(n[t])){const{key:t="value"}=this._parsing;a=e=>+w(n[e],t)}for(i=t,o=t+e;i<o;++i)r._parsed[i]=a(i)}}_getRotation(){return z(this.options.rotation-90)}_getCircumference(){return z(this.options.circumference)}_getRotationExtents(){let t=T,e=-T;for(let n=0;n<this.chart.data.datasets.length;++n)if(this.chart.isDatasetVisible(n)){const r=this.chart.getDatasetMeta(n).controller,i=r._getRotation(),o=r._getCircumference();t=Math.min(t,i),e=Math.max(e,i+o)}return{rotation:t,circumference:e-t}}update(t){const e=this.chart,{chartArea:n}=e,r=this._cachedMeta,i=r.data,o=this.getMaxBorderWidth()+this.getMaxOffset(i)+this.options.spacing,a=Math.max((Math.min(n.width,n.height)-o)/2,0),s=Math.min((l=this.options.cutout,u=a,"string"==typeof l&&l.endsWith("%")?parseFloat(l)/100:l/u),1);var l,u;const c=this._getRingWeight(this.index),{circumference:h,rotation:f}=this._getRotationExtents(),{ratioX:p,ratioY:g,offsetX:y,offsetY:m}=function(t,e,n){let r=1,i=1,o=0,a=0;if(e<T){const s=t,l=s+e,u=Math.cos(s),c=Math.sin(s),d=Math.cos(l),h=Math.sin(l),f=(t,e,r)=>Z(t,s,l,!0)?1:Math.max(e,e*n,r,r*n),p=(t,e,r)=>Z(t,s,l,!0)?-1:Math.min(e,e*n,r,r*n),g=f(0,u,d),y=f(k,c,h),m=p(D,u,d),v=p(D+k,c,h);r=(g-m)/2,i=(y-v)/2,o=-(g+m)/2,a=-(y+v)/2}return{ratioX:r,ratioY:i,offsetX:o,offsetY:a}}(f,h,s),v=(n.width-o)/p,b=(n.height-o)/g,x=Math.max(Math.min(v,b)/2,0),_=d(this.options.radius,x),w=(_-Math.max(_*s,0))/this._getVisibleDatasetWeightTotal();this.offsetX=y*_,this.offsetY=m*_,r.total=this.calculateTotal(),this.outerRadius=_-w*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-w*c,0),this.updateElements(i,0,i.length,t)}_circumference(t,e){const n=this.options,r=this._cachedMeta,i=this._getCircumference();return e&&n.animation.animateRotate||!this.chart.getDataVisibility(t)||null===r._parsed[t]||r.data[t].hidden?0:this.calculateCircumference(r._parsed[t]*i/T)}updateElements(t,e,n,r){const i="reset"===r,o=this.chart,a=o.chartArea,s=o.options.animation,l=(a.left+a.right)/2,u=(a.top+a.bottom)/2,c=i&&s.animateScale,d=c?0:this.innerRadius,h=c?0:this.outerRadius,{sharedOptions:f,includeOptions:p}=this._getSharedOptions(e,r);let g,y=this._getRotation();for(g=0;g<e;++g)y+=this._circumference(g,i);for(g=e;g<e+n;++g){const e=this._circumference(g,i),n=t[g],o={x:l+this.offsetX,y:u+this.offsetY,startAngle:y,endAngle:y+e,circumference:e,outerRadius:h,innerRadius:d};p&&(o.options=f||this.resolveDataElementOptions(g,n.active?"active":r)),y+=e,this.updateElement(n,g,o,r)}}calculateTotal(){const t=this._cachedMeta,e=t.data;let n,r=0;for(n=0;n<e.length;n++){const i=t._parsed[n];
vendor: 10,019 bytes, line 65
65null===i||isNaN(i)||!this.chart.getDataVisibility(n)||e[n].hidden||(r+=Math.abs(i))}return r}calculateCircumference(t){const e=this._cachedMeta.total;return e>0&&!isNaN(t)?T*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=un(e._parsed[t],n.options.locale);return{label:r[t]||"",value:i}}getMaxBorderWidth(t){let e=0;const n=this.chart;let r,i,o,a,s;if(!t)for(r=0,i=n.data.datasets.length;r<i;++r)if(n.isDatasetVisible(r)){o=n.getDatasetMeta(r),t=o.data,a=o.controller;break}if(!t)return 0;for(r=0,i=t.length;r<i;++r)s=a.resolveDataElementOptions(r),"inner"!==s.borderAlign&&(e=Math.max(e,s.borderWidth||0,s.hoverBorderWidth||0));return e}getMaxOffset(t){let e=0;for(let n=0,r=t.length;n<r;++n){const t=this.resolveDataElementOptions(n);e=Math.max(e,t.offset||0,t.hoverOffset||0)}return e}_getRingWeightOffset(t){let e=0;for(let n=0;n<t;++n)this.chart.isDatasetVisible(n)&&(e+=this._getRingWeight(n));return e}_getRingWeight(t){return Math.max(c(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}Zn.id="doughnut",Zn.defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"},Zn.descriptors={_scriptable:t=>"spacing"!==t,_indexable:t=>"spacing"!==t},Zn.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:n}}=t.legend.options;return e.labels.map(((e,r)=>{const i=t.getDatasetMeta(0).controller.getStyle(r);return{text:e,fillStyle:i.backgroundColor,strokeStyle:i.borderColor,lineWidth:i.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(r),index:r}}))}return[]}},onClick(t,e,n){n.chart.toggleDataVisibility(e.index),n.chart.update()}},tooltip:{callbacks:{title(){return""},label(t){let e=t.label;const n=": "+t.formattedValue;return a(e)?(e=e.slice(),e[0]+=n):e+=n,e}}}}};class Xn extends Rn{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const e=this._cachedMeta,{dataset:n,data:r=[],_dataset:i}=e,o=this.chart._animationsDisabled;let{start:a,count:s}=st(e,r,o);this._drawStart=a,this._drawCount=s,lt(e)&&(a=0,s=r.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!i._decimated,n.points=r;const l=this.resolveDatasetElementOptions(t);this.options.showLine||(l.borderWidth=0),l.segment=this.options.segment,this.updateElement(n,void 0,{animated:!o,options:l},t),this.updateElements(r,a,s,t)}updateElements(t,e,n,r){const i="reset"===r,{iScale:a,vScale:s,_stacked:l,_dataset:u}=this._cachedMeta,{sharedOptions:c,includeOptions:d}=this._getSharedOptions(e,r),h=a.axis,f=s.axis,{spanGaps:p,segment:g}=this.options,y=F(p)?p:Number.POSITIVE_INFINITY,m=this.chart._animationsDisabled||i||"none"===r;let v=e>0&&this.getParsed(e-1);for(let p=e;p<e+n;++p){const e=t[p],n=this.getParsed(p),b=m?e:{},x=o(n[f]),_=b[h]=a.getPixelForValue(n[h],p),w=b[f]=i||x?s.getBasePixel():s.getPixelForValue(l?this.applyStack(s,n,l):n[f],p);b.skip=isNaN(_)||isNaN(w)||x,b.stop=p>0&&Math.abs(n[h]-v[h])>y,g&&(b.parsed=n,b.raw=u.data[p]),d&&(b.options=c||this.resolveDataElementOptions(p,e.active?"active":r)),m||this.updateElement(e,p,b,r),v=n}}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,n=e.options&&e.options.borderWidth||0,r=t.data||[];if(!r.length)return n;const i=r[0].size(this.resolveDataElementOptions(0)),o=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(n,i,o)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}Xn.id="line",Xn.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},Xn.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class qn extends Rn{constructor(t,e){super(t,e),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const e=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=un(e._parsed[t].r,n.options.locale);return{label:r[t]||"",value:i}}parseObjectData(t,e,n,r){return Fe.bind(this)(t,e,n,r)}update(t){const e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}getMinMax(){const t=this._cachedMeta,e={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach(((t,n)=>{const r=this.getParsed(n).r;!isNaN(r)&&this.chart.getDataVisibility(n)&&(r<e.min&&(e.min=r),r>e.max&&(e.max=r))})),e}_updateRadius(){const t=this.chart,e=t.chartArea,n=t.options,r=Math.min(e.right-e.left,e.bottom-e.top),i=Math.max(r/2,0),o=(i-Math.max(n.cutoutPercentage?i/100*n.cutoutPercentage:1,0))/t.getVisibleDatasetCount();this.outerRadius=i-o*this.index,this.innerRadius=this.outerRadius-o}updateElements(t,e,n,r){const i="reset"===r,o=this.chart,a=o.options.animation,s=this._cachedMeta.rScale,l=s.xCenter,u=s.yCenter,c=s.getIndexAngle(0)-.5*D;let d,h=c;const f=360/this.countVisibleElements();for(d=0;d<e;++d)h+=this._computeAngle(d,r,f);for(d=e;d<e+n;d++){const e=t[d];let n=h,p=h+this._computeAngle(d,r,f),g=o.getDataVisibility(d)?s.getDistanceFromCenterForValue(this.getParsed(d).r):0;h=p,i&&(a.animateScale&&(g=0),a.animateRotate&&(n=p=c));const y={x:l,y:u,innerRadius:0,outerRadius:g,startAngle:n,endAngle:p,options:this.resolveDataElementOptions(d,e.active?"active":r)};this.updateElement(e,d,y,r)}}countVisibleElements(){const t=this._cachedMeta;let e=0;return t.data.forEach(((t,n)=>{!isNaN(this.getParsed(n).r)&&this.chart.getDataVisibility(n)&&e++})),e}_computeAngle(t,e,n){return this.chart.getDataVisibility(t)?z(this.resolveDataElementOptions(t,e).angle||n):0}}qn.id="polarArea",qn.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},qn.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:n}}=t.legend.options;return e.labels.map(((e,r)=>{const i=t.getDatasetMeta(0).controller.getStyle(r);return{text:e,fillStyle:i.backgroundColor,strokeStyle:i.borderColor,lineWidth:i.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(r),index:r}}))}return[]}},onClick(t,e,n){n.chart.toggleDataVisibility(e.index),n.chart.update()}},tooltip:{callbacks:{title(){return""},label(t){return t.chart.data.labels[t.dataIndex]+": "+t.formattedValue}}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class Kn extends Zn{}Kn.id="pie",Kn.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class Jn extends Rn{getLabelAndValue(t){const e=this._cachedMeta.vScale,n=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(n[e.axis])}}parseObjectData(t,e,n,r){return Fe.bind(this)(t,e,n,r)}update(t){const e=this._cachedMeta,n=e.dataset,r=e.data||[],i=e.iScale.getLabels();if(n.points=r,"resize"!==t){const e=this.resolveDatasetElementOptions(t);this.options.showLine||(e.borderWidth=0);const o={_loop:!0,_fullLoop:i.length===r.length,options:e};this.updateElement(n,void 0,o,t)}this.updateElements(r,0,r.length,t)}updateElements(t,e,n,r){const i=this._cachedMeta.rScale,o="reset"===r;for(let a=e;a<e+n;a++){const e=t[a],n=this.resolveDataElementOptions(a,e.active?"active":r),s=i.getPointPositionForValue(a,this.getParsed(a).r),l=o?i.xCenter:s.x,u=o?i.yCenter:s.y,c={x:l,y:u,angle:s.angle,skip:isNaN(l)||isNaN(u),options:n};this.updateElement(e,a,c,r)}}}Jn.id="radar",Jn.defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}},Jn.overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};class Qn{constructor(){this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}tooltipPosition(t){const{x:e,y:n}=this.getProps(["x","y"],t);return{x:e,y:n}}hasValue(){return F(this.x)&&F(this.y)}getProps(t,e){const n=this.$animations;if(!e||!n)return this;const r={};return t.forEach((t=>{r[t]=n[t]&&n[t].active()?n[t]._to:this[t]})),r}}Qn.defaults={},Qn.defaultRoutes=void 0;const tr={values(t){return a(t)?t:""+t},numeric(t,e,n){if(0===t)return"0";const r=this.chart.options.locale;let i,o=t;if(n.length>1){const e=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(e<1e-4||e>1e15)&&(i="scientific"),o=function(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t));return n}(t,n)}const a=L(Math.abs(o)),s=Math.max(Math.min(-1*Math.floor(a),20),0),l={notation:i,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(l,this.options.ticks.format),un(t,r,l)},logarithmic(t,e,n){if(0===t)return"0";const r=t/Math.pow(10,Math.floor(L(t)));return 1===r||2===r||5===r?tr.numeric.call(this,t,e,n):""}};var er={formatters:tr};function nr(t,e){const n=t.options.ticks,r=n.maxTicksLimit||function(t){const e=t.options.offset,n=t._tickSize(),r=t._length/n+(e?0:1),i=t._maxLength/n;return Math.floor(Math.min(r,i))}(t),i=n.major.enabled?function(t){const e=[];let n,r;for(n=0,r=t.length;n<r;n++)t[n].major&&e.push(n);return e}(e):[],a=i.length,s=i[0],l=i[a-1],u=[];if(a>r)return function(t,e,n,r){let i,o=0,a=n[0];for(r=Math.ceil(r),i=0;i<t.length;i++)i===a&&(e.push(t[i]),o++,a=n[o*r])}(e,u,i,a/r),u;const c=function(t,e,n){const r=function(t){const e=t.length;let n,r;if(e<2)return!1;for(r=t[0],n=1;n<e;++n)if(t[n]-t[n-1]!==r)return!1;return r}(t),i=e.length/n;if(!r)return Math.max(i,1);const o=function(t){const e=[],n=Math.sqrt(t);let r;for(r=1;r<n;r++)t%r==0&&(e.push(r),e.push(t/r));return n===(0|n)&&e.push(n),e.sort(((t,e)=>t-e)).pop(),e}(r);for(let t=0,e=o.length-1;t<e;t++){const e=o[t];
vendor: 9,124 bytes, line 65
65if(e>i)return e}return Math.max(i,1)}(i,e,r);if(a>0){let t,n;const r=a>1?Math.round((l-s)/(a-1)):null;for(rr(e,u,c,o(r)?0:s-r,s),t=0,n=a-1;t<n;t++)rr(e,u,c,i[t],i[t+1]);return rr(e,u,c,l,o(r)?e.length:l+r),u}return rr(e,u,c),u}function rr(t,e,n,r,i){const o=c(r,0),a=Math.min(c(i,t.length),t.length);let s,l,u,d=0;for(n=Math.ceil(n),i&&(s=i-r,n=s/Math.floor(s/n)),u=o;u<0;)d++,u=Math.round(o+d*n);for(l=Math.max(o,0);l<a;l++)l===u&&(e.push(t[l]),d++,u=Math.round(o+d*n))}te.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:er.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),te.route("scale.ticks","color","","color"),te.route("scale.grid","color","","borderColor"),te.route("scale.grid","borderColor","","borderColor"),te.route("scale.title","color","","color"),te.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t}),te.describe("scales",{_fallback:"scale"}),te.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t});const ir=(t,e,n)=>"top"===e||"left"===e?t[e]+n:t[e]-n;function or(t,e){const n=[],r=t.length/e,i=t.length;let o=0;for(;o<i;o+=r)n.push(t[Math.floor(o)]);return n}function ar(t,e,n){const r=t.ticks.length,i=Math.min(e,r-1),o=t._startPixel,a=t._endPixel,s=1e-6;let l,u=t.getPixelForTick(i);if(!(n&&(l=1===r?Math.max(u-o,a-u):0===e?(t.getPixelForTick(1)-u)/2:(u-t.getPixelForTick(i-1))/2,u+=i<e?l:-l,u<o-s||u>a+s)))return u}function sr(t){return t.drawTicks?t.tickLength:0}function lr(t,e){if(!t.display)return 0;const n=we(t.font,e),r=_e(t.padding);return(a(t.text)?t.text.length:1)*n.lineHeight+r.height}function ur(t,e,n){let r=ot(t);return(n&&"right"!==e||!n&&"right"===e)&&(r=(t=>"left"===t?"right":"right"===t?"left":t)(r)),r}class cr extends Qn{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){let{_userMin:t,_userMax:e,_suggestedMin:n,_suggestedMax:r}=this;return t=u(t,Number.POSITIVE_INFINITY),e=u(e,Number.NEGATIVE_INFINITY),n=u(n,Number.POSITIVE_INFINITY),r=u(r,Number.NEGATIVE_INFINITY),{min:u(t,n),max:u(e,r),minDefined:l(t),maxDefined:l(e)}}getMinMax(t){let e,{min:n,max:r,minDefined:i,maxDefined:o}=this.getUserBounds();if(i&&o)return{min:n,max:r};const a=this.getMatchingVisibleMetas();for(let s=0,l=a.length;s<l;++s)e=a[s].controller.getMinMax(this,t),i||(n=Math.min(n,e.min)),o||(r=Math.max(r,e.max));return n=o&&n>r?r:n,r=i&&n>r?n:r,{min:u(n,u(r,n)),max:u(r,u(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){h(this.options.beforeUpdate,[this])}update(t,e,n){const{beginAtZero:r,grace:i,ticks:o}=this.options,a=o.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function(t,e,n){const{min:r,max:i}=t,o=d(e,(i-r)/2),a=(t,e)=>n&&0===t?0:t+e;return{min:a(r,-Math.abs(o)),max:a(i,o)}}(this,i,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const s=a<this.ticks.length;this._convertTicksToLabels(s?or(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),o.display&&(o.autoSkip||"auto"===o.source)&&(this.ticks=nr(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),s&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t,e,n=this.options.reverse;this.isHorizontal()?(t=this.left,e=this.right):(t=this.top,e=this.bottom,n=!n),this._startPixel=t,this._endPixel=e,this._reversePixels=n,this._length=e-t,this._alignToPixels=this.options.alignToPixels}afterUpdate(){h(this.options.afterUpdate,[this])}beforeSetDimensions(){h(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){h(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),h(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){h(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const e=this.options.ticks;let n,r,i;for(n=0,r=t.length;n<r;n++)i=t[n],i.label=h(e.callback,[i.value,n,t],this)}afterTickToLabelConversion(){h(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){h(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,e=t.ticks,n=this.ticks.length,r=e.minRotation||0,i=e.maxRotation;let o,a,s,l=r;if(!this._isVisible()||!e.display||r>=i||n<=1||!this.isHorizontal())return void(this.labelRotation=r);const u=this._getLabelSizes(),c=u.widest.width,d=u.highest.height,h=X(this.chart.width-c,0,this.maxWidth);o=t.offset?this.maxWidth/n:h/(n-1),c+6>o&&(o=h/(n-(t.offset?.5:1)),a=this.maxHeight-sr(t.grid)-e.padding-lr(t.title,this.chart.options.font),s=Math.sqrt(c*c+d*d),l=V(Math.min(Math.asin(X((u.highest.height+6)/o,-1,1)),Math.asin(X(a/s,-1,1))-Math.asin(X(d/s,-1,1)))),l=Math.max(r,Math.min(i,l))),this.labelRotation=l}afterCalculateLabelRotation(){h(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){h(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:n,title:r,grid:i}}=this,o=this._isVisible(),a=this.isHorizontal();if(o){const o=lr(r,e.options.font);if(a?(t.width=this.maxWidth,t.height=sr(i)+o):(t.height=this.maxHeight,t.width=sr(i)+o),n.display&&this.ticks.length){const{first:e,last:r,widest:i,highest:o}=this._getLabelSizes(),s=2*n.padding,l=z(this.labelRotation),u=Math.cos(l),c=Math.sin(l);if(a){const e=n.mirror?0:c*i.width+u*o.height;t.height=Math.min(this.maxHeight,t.height+e+s)}else{const e=n.mirror?0:u*i.width+c*o.height;t.width=Math.min(this.maxWidth,t.width+e+s)}this._calculatePadding(e,r,c,u)}}this._handleMargins(),a?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,n,r){const{ticks:{align:i,padding:o},position:a}=this.options,s=0!==this.labelRotation,l="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const a=this.getPixelForTick(0)-this.left,u=this.right-this.getPixelForTick(this.ticks.length-1);let c=0,d=0;s?l?(c=r*t.width,d=n*e.height):(c=n*t.height,d=r*e.width):"start"===i?d=e.width:"end"===i?c=t.
vendor: 5,865 bytes, line 65
65width:"inner"!==i&&(c=t.width/2,d=e.width/2),this.paddingLeft=Math.max((c-a+o)*this.width/(this.width-a),0),this.paddingRight=Math.max((d-u+o)*this.width/(this.width-u),0)}else{let n=e.height/2,r=t.height/2;"start"===i?(n=0,r=t.height):"end"===i&&(n=e.height,r=0),this.paddingTop=n+o,this.paddingBottom=r+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){h(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){let e,n;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,n=t.length;e<n;e++)o(t[e].label)&&(t.splice(e,1),n--,e--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const e=this.options.ticks.sampleSize;let n=this.ticks;e<n.length&&(n=or(n,e)),this._labelSizes=t=this._computeLabelSizes(n,n.length)}return t}_computeLabelSizes(t,e){const{ctx:n,_longestTextCache:r}=this,i=[],s=[];let l,u,c,d,h,p,g,y,m,v,b,x=0,_=0;for(l=0;l<e;++l){if(d=t[l].label,h=this._resolveTickFontOptions(l),n.font=p=h.string,g=r[p]=r[p]||{data:{},gc:[]},y=h.lineHeight,m=v=0,o(d)||a(d)){if(a(d))for(u=0,c=d.length;u<c;++u)b=d[u],o(b)||a(b)||(m=ee(n,g.data,g.gc,m,b),v+=y)}else m=ee(n,g.data,g.gc,m,d),v=y;i.push(m),s.push(v),x=Math.max(m,x),_=Math.max(v,_)}!function(t,e){f(t,(t=>{const n=t.gc,r=n.length/2;let i;if(r>e){for(i=0;i<r;++i)delete t.data[n[i]];n.splice(0,r)}}))}(r,e);const w=i.indexOf(x),S=s.indexOf(_),M=t=>({width:i[t]||0,height:s[t]||0});return{first:M(0),last:M(e-1),widest:M(w),highest:M(S),widths:i,heights:s}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return X(this._alignToPixels?re(this.chart,e,0):e,-32768,32767)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&t<e.length){const n=e[t];return n.$context||(n.$context=function(t,e,n){return Me(t,{tick:n,index:e,type:"tick"})}(this.getContext(),t,n))}return this.$context||(this.$context=Me(this.chart.getContext(),{scale:this,type:"scale"}))}_tickSize(){const t=this.options.ticks,e=z(this.labelRotation),n=Math.abs(Math.cos(e)),r=Math.abs(Math.sin(e)),i=this._getLabelSizes(),o=t.autoSkipPadding||0,a=i?i.widest.width+o:0,s=i?i.highest.height+o:0;return this.isHorizontal()?s*n>a*r?a/n:s/r:s*r<a*n?s/n:a/r}_isVisible(){const t=this.options.display;return"auto"!==t?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const e=this.axis,n=this.chart,r=this.options,{grid:i,position:o}=r,a=i.offset,l=this.isHorizontal(),u=this.ticks.length+(a?1:0),d=sr(i),h=[],f=i.setContext(this.getContext()),p=f.drawBorder?f.borderWidth:0,g=p/2,y=function(t){return re(n,t,p)};let m,v,b,x,_,w,S,M,I,A,D,T;if("top"===o)m=y(this.bottom),w=this.bottom-d,M=m-g,A=y(t.top)+g,T=t.bottom;else if("bottom"===o)m=y(this.top),A=t.top,T=y(t.bottom)-g,w=m+g,M=this.top+d;else if("left"===o)m=y(this.right),_=this.right-d,S=m-g,I=y(t.left)+g,D=t.right;else if("right"===o)m=y(this.left),I=t.left,D=y(t.right)-g,_=m+g,S=this.left+d;else if("x"===e){if("center"===o)m=y((t.top+t.bottom)/2+.5);else if(s(o)){const t=Object.keys(o)[0],e=o[t];m=y(this.chart.scales[t].getPixelForValue(e))}A=t.top,T=t.bottom,w=m+g,M=w+d}else if("y"===e){if("center"===o)m=y((t.left+t.right)/2);else if(s(o)){const t=Object.keys(o)[0],e=o[t];m=y(this.chart.scales[t].getPixelForValue(e))}_=m-g,S=_-d,I=t.left,D=t.right}const C=c(r.ticks.maxTicksLimit,u),O=Math.max(1,Math.ceil(u/C));for(v=0;v<u;v+=O){const t=i.setContext(this.getContext(v)),e=t.lineWidth,r=t.color,o=t.borderDash||[],s=t.borderDashOffset,u=t.tickWidth,c=t.tickColor,d=t.tickBorderDash||[],f=t.tickBorderDashOffset;b=ar(this,v,a),void 0!==b&&(x=re(n,b,e),l?_=S=I=D=x:w=M=A=T=x,h.push({tx1:_,ty1:w,tx2:S,ty2:M,x1:I,y1:A,x2:D,y2:T,width:e,color:r,borderDash:o,borderDashOffset:s,tickWidth:u,tickColor:c,tickBorderDash:d,tickBorderDashOffset:f}))}return this._ticksLength=u,this._borderValue=m,h}_computeLabelItems(t){const e=this.axis,n=this.options,{position:r,ticks:i}=n,o=this.isHorizontal(),l=this.ticks,{align:u,crossAlign:c,padding:d,mirror:h}=i,f=sr(n.grid),p=f+d,g=h?-d:p,y=-z(this.labelRotation),m=[];let v,b,x,_,w,S,M,I,A,D,T,C,O="middle";if("top"===r)S=this.bottom-g,M=this._getXAxisLabelAlignment();else if("bottom"===r)S=this.top+g,M=this._getXAxisLabelAlignment();else if("left"===r){const t=this._getYAxisLabelAlignment(f);M=t.textAlign,w=t.x}else if("right"===r){const t=this._getYAxisLabelAlignment(f);M=t.textAlign,w=t.x}else if("x"===e){if("center"===r)S=(t.top+t.bottom)/2+p;else if(s(r)){const t=Object.keys(r)[0],e=r[t];S=this.chart.scales[t].getPixelForValue(e)+p}M=this._getXAxisLabelAlignment()}else if("y"===e){if("center"===r)w=(t.left+t.right)/2-p;else if(s(r)){const t=Object.keys(r)[0],e=r[t];w=this.chart.scales[t].getPixelForValue(e)}M=this._getYAxisLabelAlignment(f).textAlign}"y"===e&&("start"===u?O="top":"end"===u&&(O="bottom"));const P=this._getLabelSizes();for(v=0,b=l.length;v<b;++v){x=l[v],_=x.label;const t=i.setContext(this.getContext(v));I=this.getPixelForTick(v)+i.labelOffset,A=this._resolveTickFontOptions(v),D=A.lineHeight,T=a(_)?_.length:1;const e=T/2,n=t.color,s=t.textStrokeColor,u=t.textStrokeWidth;let d,f=M;
vendor: 1,752 bytes, line 65
65if(o?(w=I,"inner"===M&&(f=v===b-1?this.options.reverse?"left":"right":0===v?this.options.reverse?"right":"left":"center"),C="top"===r?"near"===c||0!==y?-T*D+D/2:"center"===c?-P.highest.height/2-e*D+D:-P.highest.height+D/2:"near"===c||0!==y?D/2:"center"===c?P.highest.height/2-e*D:P.highest.height-T*D,h&&(C*=-1)):(S=I,C=(1-T)*D/2),t.showLabelBackdrop){const e=_e(t.backdropPadding),n=P.heights[v],r=P.widths[v];let i=S+C-e.top,o=w-e.left;switch(O){case"middle":i-=n/2;break;case"bottom":i-=n}switch(M){case"center":o-=r/2;break;case"right":o-=r}d={left:o,top:i,width:r+e.width,height:n+e.height,color:t.backdropColor}}m.push({rotation:y,label:_,font:A,color:n,strokeColor:s,strokeWidth:u,textOffset:C,textAlign:f,textBaseline:O,translation:[w,S],backdrop:d})}return m}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options;if(-z(this.labelRotation))return"top"===t?"left":"right";let n="center";return"start"===e.align?n="left":"end"===e.align?n="right":"inner"===e.align&&(n="inner"),n}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:n,mirror:r,padding:i}}=this.options,o=t+i,a=this._getLabelSizes().widest.width;let s,l;return"left"===e?r?(l=this.right+i,"near"===n?s="left":"center"===n?(s="center",l+=a/2):(s="right",l+=a)):(l=this.right-o,"near"===n?s="right":"center"===n?(s="center",l-=a/2):(s="left",l=this.left)):"right"===e?r?(l=this.left+i,"near"===n?s="right":"center"===n?(s="center",l-=a/2):(s="left",l-=a)):(l=this.left+o,"near"===n?s="left":"center"===n?(s="center",l+=a/2):(s="right",l=this.right)):s="right",{textAlign:s,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,e=this.options.position;return"left"===e||"right"===e?{top:0,left:this.left,bottom:t.height,right:this.right}
vendor: 4,470 bytes, line 65
65:"top"===e||"bottom"===e?{top:this.top,left:0,bottom:this.bottom,right:t.width}:void 0}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:n,top:r,width:i,height:o}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(n,r,i,o),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const n=this.ticks.findIndex((e=>e.value===t));if(n>=0){return e.setContext(this.getContext(n)).lineWidth}return 0}drawGrid(t){const e=this.options.grid,n=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let i,o;const a=(t,e,r)=>{r.width&&r.color&&(n.save(),n.lineWidth=r.width,n.strokeStyle=r.color,n.setLineDash(r.borderDash||[]),n.lineDashOffset=r.borderDashOffset,n.beginPath(),n.moveTo(t.x,t.y),n.lineTo(e.x,e.y),n.stroke(),n.restore())};if(e.display)for(i=0,o=r.length;i<o;++i){const t=r[i];e.drawOnChartArea&&a({x:t.x1,y:t.y1},{x:t.x2,y:t.y2},t),e.drawTicks&&a({x:t.tx1,y:t.ty1},{x:t.tx2,y:t.ty2},{color:t.tickColor,width:t.tickWidth,borderDash:t.tickBorderDash,borderDashOffset:t.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:e,options:{grid:n}}=this,r=n.setContext(this.getContext()),i=n.drawBorder?r.borderWidth:0;if(!i)return;const o=n.setContext(this.getContext(0)).lineWidth,a=this._borderValue;let s,l,u,c;this.isHorizontal()?(s=re(t,this.left,i)-i/2,l=re(t,this.right,o)+o/2,u=c=a):(u=re(t,this.top,i)-i/2,c=re(t,this.bottom,o)+o/2,s=l=a),e.save(),e.lineWidth=r.borderWidth,e.strokeStyle=r.borderColor,e.beginPath(),e.moveTo(s,u),e.lineTo(l,c),e.stroke(),e.restore()}drawLabels(t){if(!this.options.ticks.display)return;const e=this.ctx,n=this._computeLabelArea();n&&le(e,n);const r=this._labelItems||(this._labelItems=this._computeLabelItems(t));let i,o;for(i=0,o=r.length;i<o;++i){const t=r[i],n=t.font,o=t.label;t.backdrop&&(e.fillStyle=t.backdrop.color,e.fillRect(t.backdrop.left,t.backdrop.top,t.backdrop.width,t.backdrop.height)),he(e,o,0,t.textOffset,n,t)}n&&ue(e)}drawTitle(){const{ctx:t,options:{position:e,title:n,reverse:r}}=this;if(!n.display)return;const i=we(n.font),o=_e(n.padding),l=n.align;let u=i.lineHeight/2;"bottom"===e||"center"===e||s(e)?(u+=o.bottom,a(n.text)&&(u+=i.lineHeight*(n.text.length-1))):u+=o.top;const{titleX:c,titleY:d,maxWidth:h,rotation:f}=function(t,e,n,r){const{top:i,left:o,bottom:a,right:l,chart:u}=t,{chartArea:c,scales:d}=u;let h,f,p,g=0;const y=a-i,m=l-o;if(t.isHorizontal()){if(f=at(r,o,l),s(n)){const t=Object.keys(n)[0],r=n[t];p=d[t].getPixelForValue(r)+y-e}else p="center"===n?(c.bottom+c.top)/2+y-e:ir(t,n,e);h=l-o}else{if(s(n)){const t=Object.keys(n)[0],r=n[t];f=d[t].getPixelForValue(r)-m+e}else f="center"===n?(c.left+c.right)/2-m+e:ir(t,n,e);p=at(r,a,i),g="left"===n?-k:k}return{titleX:f,titleY:p,maxWidth:h,rotation:g}}(this,u,e,l);he(t,n.text,0,0,i,{color:n.color,maxWidth:h,rotation:f,textAlign:ur(l,e,r),textBaseline:"middle",translation:[c,d]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,e=t.ticks&&t.ticks.z||0,n=c(t.grid&&t.grid.z,-1);return this._isVisible()&&this.draw===cr.prototype.draw?[{z:n,draw:t=>{this.drawBackground(),this.drawGrid(t),this.drawTitle()}},{z:n+1,draw:()=>{this.drawBorder()}},{z:e,draw:t=>{this.drawLabels(t)}}]:[{z:e,draw:t=>{this.draw(t)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+"AxisID",r=[];let i,o;for(i=0,o=e.length;i<o;++i){const o=e[i];o[n]!==this.id||t&&o.type!==t||r.push(o)}return r}_resolveTickFontOptions(t){return we(this.options.ticks.setContext(this.getContext(t)).font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class dr{constructor(t,e,n){this.type=t,this.scope=e,this.override=n,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const e=Object.getPrototypeOf(t);let n;(function(t){return"id"in t&&"defaults"in t})(e)&&(n=this.register(e));const r=this.items,i=t.id,o=this.scope+"."+i;if(!i)throw new Error("class does not have id: "+t);return i in r||(r[i]=t,function(t,e,n){const r=v(Object.create(null),[n?te.get(n):{},te.get(e),t.defaults]);te.set(e,r),t.defaultRoutes&&function(t,e){Object.keys(e).forEach((n=>{const r=n.split("."),i=r.pop(),o=[t].concat(r).join("."),a=e[n].split("."),s=a.pop(),l=a.join(".");te.route(o,i,l,s)}))}(e,t.defaultRoutes);
vendor: 4,902 bytes, line 65
65t.descriptors&&te.describe(e,t.descriptors)}(t,o,n),this.override&&te.override(t.id,t.overrides)),o}get(t){return this.items[t]}unregister(t){const e=this.items,n=t.id,r=this.scope;n in e&&delete e[n],r&&n in te[r]&&(delete te[r][n],this.override&&delete qt[n])}}var hr=new class{constructor(){this.controllers=new dr(Rn,"datasets",!0),this.elements=new dr(Qn,"elements"),this.plugins=new dr(Object,"plugins"),this.scales=new dr(cr,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,n){[...e].forEach((e=>{const r=n||this._getRegistryForType(e);n||r.isForType(e)||r===this.plugins&&e.id?this._exec(t,r,e):f(e,(e=>{const r=n||this._getRegistryForType(e);this._exec(t,r,e)}))}))}_exec(t,e,n){const r=S(t);h(n["before"+r],[],n),e[t](n),h(n["after"+r],[],n)}_getRegistryForType(t){for(let e=0;e<this._typedRegistries.length;e++){const n=this._typedRegistries[e];if(n.isForType(t))return n}return this.plugins}_get(t,e,n){const r=e.get(t);if(void 0===r)throw new Error('"'+t+'" is not a registered '+n+".");return r}};class fr extends Rn{update(t){const e=this._cachedMeta,{data:n=[]}=e,r=this.chart._animationsDisabled;let{start:i,count:o}=st(e,n,r);if(this._drawStart=i,this._drawCount=o,lt(e)&&(i=0,o=n.length),this.options.showLine){const{dataset:i,_dataset:o}=e;i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!o._decimated,i.points=n;const a=this.resolveDatasetElementOptions(t);a.segment=this.options.segment,this.updateElement(i,void 0,{animated:!r,options:a},t)}this.updateElements(n,i,o,t)}addElements(){const{showLine:t}=this.options;!this.datasetElementType&&t&&(this.datasetElementType=hr.getElement("line")),super.addElements()}updateElements(t,e,n,r){const i="reset"===r,{iScale:a,vScale:s,_stacked:l,_dataset:u}=this._cachedMeta,c=this.resolveDataElementOptions(e,r),d=this.getSharedOptions(c),h=this.includeOptions(r,d),f=a.axis,p=s.axis,{spanGaps:g,segment:y}=this.options,m=F(g)?g:Number.POSITIVE_INFINITY,v=this.chart._animationsDisabled||i||"none"===r;let b=e>0&&this.getParsed(e-1);for(let c=e;c<e+n;++c){const e=t[c],n=this.getParsed(c),g=v?e:{},x=o(n[p]),_=g[f]=a.getPixelForValue(n[f],c),w=g[p]=i||x?s.getBasePixel():s.getPixelForValue(l?this.applyStack(s,n,l):n[p],c);g.skip=isNaN(_)||isNaN(w)||x,g.stop=c>0&&Math.abs(n[f]-b[f])>m,y&&(g.parsed=n,g.raw=u.data[c]),h&&(g.options=d||this.resolveDataElementOptions(c,e.active?"active":r)),v||this.updateElement(e,c,g,r),b=n}this.updateSharedOptions(d,r,c)}getMaxOverflow(){const t=this._cachedMeta,e=t.data||[];if(!this.options.showLine){let t=0;for(let n=e.length-1;n>=0;--n)t=Math.max(t,e[n].size(this.resolveDataElementOptions(n))/2);return t>0&&t}const n=t.dataset,r=n.options&&n.options.borderWidth||0;if(!e.length)return r;const i=e[0].size(this.resolveDataElementOptions(0)),o=e[e.length-1].size(this.resolveDataElementOptions(e.length-1));return Math.max(r,i,o)/2}}fr.id="scatter",fr.defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1},fr.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title(){return""},label(t){return"("+t.label+", "+t.formattedValue+")"}}}},scales:{x:{type:"linear"},y:{type:"linear"}}};function pr(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class gr{constructor(t){this.options=t||{}}init(t){}formats(){return pr()}parse(t,e){return pr()}format(t,e){return pr()}add(t,e,n){return pr()}diff(t,e,n){return pr()}startOf(t,e,n){return pr()}endOf(t,e){return pr()}}gr.override=function(t){Object.assign(gr.prototype,t)};var yr={_date:gr};function mr(t,e,n,r){const{controller:i,data:o,_sorted:a}=t,s=i._cachedMeta.iScale;if(s&&e===s.axis&&"r"!==e&&a&&o.length){const t=s._reversePixels?Q:J;if(!r)return t(o,e,n);if(i._sharedOptions){const r=o[0],i="function"==typeof r.getRange&&r.getRange(e);if(i){const r=t(o,e,n-i),a=t(o,e,n+i);return{lo:r.lo,hi:a.hi}}}}return{lo:0,hi:o.length-1}}function vr(t,e,n,r,i){const o=t.getSortedVisibleDatasetMetas(),a=n[e];for(let t=0,n=o.length;t<n;++t){const{index:n,data:s}=o[t],{lo:l,hi:u}=mr(o[t],e,a,i);for(let t=l;t<=u;++t){const e=s[t];
vendor: 4,734 bytes, line 65
65e.skip||r(e,n,t)}}}function br(t,e,n,r,i){const o=[];if(!i&&!t.isPointInArea(e))return o;return vr(t,n,e,(function(n,a,s){(i||se(n,t.chartArea,0))&&n.inRange(e.x,e.y,r)&&o.push({element:n,datasetIndex:a,index:s})}),!0),o}function xr(t,e,n,r,i,o){let a=[];const s=function(t){const e=-1!==t.indexOf("x"),n=-1!==t.indexOf("y");return function(t,r){const i=e?Math.abs(t.x-r.x):0,o=n?Math.abs(t.y-r.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(o,2))}}(n);let l=Number.POSITIVE_INFINITY;return vr(t,n,e,(function(n,u,c){const d=n.inRange(e.x,e.y,i);if(r&&!d)return;const h=n.getCenterPoint(i);if(!(!!o||t.isPointInArea(h))&&!d)return;const f=s(e,h);f<l?(a=[{element:n,datasetIndex:u,index:c}],l=f):f===l&&a.push({element:n,datasetIndex:u,index:c})})),a}function _r(t,e,n,r,i,o){return o||t.isPointInArea(e)?"r"!==n||r?xr(t,e,n,r,i,o):function(t,e,n,r){let i=[];return vr(t,n,e,(function(t,n,o){const{startAngle:a,endAngle:s}=t.getProps(["startAngle","endAngle"],r),{angle:l}=W(t,{x:e.x,y:e.y});Z(l,a,s)&&i.push({element:t,datasetIndex:n,index:o})})),i}(t,e,n,i):[]}function wr(t,e,n,r,i){const o=[],a="x"===n?"inXRange":"inYRange";let s=!1;return vr(t,n,e,((t,r,l)=>{t[a](e[n],i)&&(o.push({element:t,datasetIndex:r,index:l}),s=s||t.inRange(e.x,e.y,i))})),r&&!s?[]:o}var Sr={evaluateInteractionItems:vr,modes:{index(t,e,n,r){const i=Je(e,t),o=n.axis||"x",a=n.includeInvisible||!1,s=n.intersect?br(t,i,o,r,a):_r(t,i,o,!1,r,a),l=[];return s.length?(t.getSortedVisibleDatasetMetas().forEach((t=>{const e=s[0].index,n=t.data[e];n&&!n.skip&&l.push({element:n,datasetIndex:t.index,index:e})})),l):[]},dataset(t,e,n,r){const i=Je(e,t),o=n.axis||"xy",a=n.includeInvisible||!1;let s=n.intersect?br(t,i,o,r,a):_r(t,i,o,!1,r,a);if(s.length>0){const e=s[0].datasetIndex,n=t.getDatasetMeta(e).data;s=[];for(let t=0;t<n.length;++t)s.push({element:n[t],datasetIndex:e,index:t})}return s},point(t,e,n,r){return br(t,Je(e,t),n.axis||"xy",r,n.includeInvisible||!1)},nearest(t,e,n,r){const i=Je(e,t),o=n.axis||"xy",a=n.includeInvisible||!1;return _r(t,i,o,n.intersect,r,a)},x(t,e,n,r){return wr(t,Je(e,t),"x",n.intersect,r)},y(t,e,n,r){return wr(t,Je(e,t),"y",n.intersect,r)}}};const Mr=["left","top","right","bottom"];function Ir(t,e){return t.filter((t=>t.pos===e))}function Ar(t,e){return t.filter((t=>-1===Mr.indexOf(t.pos)&&t.box.axis===e))}function Dr(t,e){return t.sort(((t,n)=>{const r=e?n:t,i=e?t:n;return r.weight===i.weight?r.index-i.index:r.weight-i.weight}))}function Tr(t,e){const n=function(t){const e={};for(const n of t){const{stack:t,pos:r,stackWeight:i}=n;if(!t||!Mr.includes(r))continue;const o=e[t]||(e[t]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=i}return e}(t),{vBoxMaxWidth:r,hBoxMaxHeight:i}=e;let o,a,s;for(o=0,a=t.length;o<a;++o){s=t[o];const{fullSize:a}=s.box,l=n[s.stack],u=l&&s.stackWeight/l.weight;s.horizontal?(s.width=u?u*r:a&&e.availableWidth,s.height=i):(s.width=r,s.height=u?u*i:a&&e.availableHeight)}return n}function Cr(t,e,n,r){return Math.max(t[n],e[n])+Math.max(t[r],e[r])}function Or(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function Pr(t,e,n,r){const{pos:i,box:o}=n,a=t.maxPadding;if(!s(i)){n.size&&(t[i]-=n.size);const e=r[n.stack]||{size:0,count:1};e.size=Math.max(e.size,n.horizontal?o.height:o.width),n.size=e.size/e.count,t[i]+=n.size}o.getPadding&&Or(a,o.getPadding());const l=Math.max(0,e.outerWidth-Cr(a,t,"left","right")),u=Math.max(0,e.outerHeight-Cr(a,t,"top","bottom")),c=l!==t.w,d=u!==t.h;return t.w=l,t.h=u,n.horizontal?{same:c,other:d}:{same:d,other:c}}function kr(t,e){const n=e.maxPadding;function r(t){const r={left:0,top:0,right:0,bottom:0};return t.forEach((t=>{r[t]=Math.max(e[t],n[t])})),r}return r(t?["left","right"]:["top","bottom"])}function $r(t,e,n,r){const i=[];let o,a,s,l,u,c;for(o=0,a=t.length,u=0;o<a;++o){s=t[o],l=s.box,l.update(s.width||e.w,s.height||e.h,kr(s.horizontal,e));const{same:a,other:d}=Pr(e,n,s,r);u|=a&&i.length,c=c||d,l.fullSize||i.push(s)}return u&&$r(i,e,n,r)||c}function Er(t,e,n,r,i){t.top=n,t.left=e,t.right=e+r,t.bottom=n+i,t.width=r,t.height=i}function Lr(t,e,n,r){const i=n.padding;let{x:o,y:a}=e;for(const s of t){const t=s.box,l=r[s.stack]||{count:1,placed:0,weight:1},u=s.stackWeight/l.weight||1;if(s.horizontal){const r=e.w*u,o=l.size||t.height;M(l.start)&&(a=l.start),t.fullSize?Er(t,i.left,a,n.outerWidth-i.right-i.left,o):Er(t,e.left+l.placed,a,r,o),l.start=a,l.placed+=r,a=t.bottom}else{const r=e.h*u,a=l.size||t.width;M(l.start)&&(o=l.start),t.fullSize?Er(t,o,i.top,a,n.outerHeight-i.bottom-i.top):Er(t,o,e.top+l.placed,a,r),l.start=o,l.placed+=r,o=t.right}}e.x=o,e.y=a}te.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}});
vendor: 4,362 bytes, line 65
65var Nr={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(t){e.draw(t)}}]},t.boxes.push(e)},removeBox(t,e){const n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure(t,e,n){e.fullSize=n.fullSize,e.position=n.position,e.weight=n.weight},update(t,e,n,r){if(!t)return;const i=_e(t.options.layout.padding),o=Math.max(e-i.width,0),a=Math.max(n-i.height,0),s=function(t){const e=function(t){const e=[];let n,r,i,o,a,s;for(n=0,r=(t||[]).length;n<r;++n)i=t[n],({position:o,options:{stack:a,stackWeight:s=1}}=i),e.push({index:n,box:i,pos:o,horizontal:i.isHorizontal(),weight:i.weight,stack:a&&o+a,stackWeight:s});return e}(t),n=Dr(e.filter((t=>t.box.fullSize)),!0),r=Dr(Ir(e,"left"),!0),i=Dr(Ir(e,"right")),o=Dr(Ir(e,"top"),!0),a=Dr(Ir(e,"bottom")),s=Ar(e,"x"),l=Ar(e,"y");return{fullSize:n,leftAndTop:r.concat(o),rightAndBottom:i.concat(l).concat(a).concat(s),chartArea:Ir(e,"chartArea"),vertical:r.concat(i).concat(l),horizontal:o.concat(a).concat(s)}}(t.boxes),l=s.vertical,u=s.horizontal;f(t.boxes,(t=>{"function"==typeof t.beforeLayout&&t.beforeLayout()}));const c=l.reduce(((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1),0)||1,d=Object.freeze({outerWidth:e,outerHeight:n,padding:i,availableWidth:o,availableHeight:a,vBoxMaxWidth:o/2/c,hBoxMaxHeight:a/2}),h=Object.assign({},i);Or(h,_e(r));const p=Object.assign({maxPadding:h,w:o,h:a,x:i.left,y:i.top},i),g=Tr(l.concat(u),d);$r(s.fullSize,p,d,g),$r(l,p,d,g),$r(u,p,d,g)&&$r(l,p,d,g),function(t){const e=t.maxPadding;function n(n){const r=Math.max(e[n]-t[n],0);return t[n]+=r,r}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}(p),Lr(s.leftAndTop,p,d,g),p.x+=p.w,p.y+=p.h,Lr(s.rightAndBottom,p,d,g),t.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},f(s.chartArea,(e=>{const n=e.box;Object.assign(n,t.chartArea),n.update(p.w,p.h,{left:0,top:0,right:0,bottom:0})}))}};class Rr{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,n){}removeEventListener(t,e,n){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,n,r){return e=Math.max(0,e||t.width),n=n||t.height,{width:e,height:Math.max(0,r?Math.floor(e/r):n)}}isAttached(t){return!0}updateConfig(t){}}class Fr extends Rr{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const Br="$chartjs",jr={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},zr=t=>null===t||""===t;const Vr=!!nn&&{passive:!0};function Hr(t,e,n){t.canvas.removeEventListener(e,n,Vr)}function Wr(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function Gr(t,e,n){const r=t.canvas,i=new MutationObserver((t=>{let e=!1;for(const n of t)e=e||Wr(n.addedNodes,r),e=e&&!Wr(n.removedNodes,r);e&&n()}));return i.observe(document,{childList:!0,subtree:!0}),i}function Yr(t,e,n){const r=t.canvas,i=new MutationObserver((t=>{let e=!1;for(const n of t)e=e||Wr(n.removedNodes,r),e=e&&!Wr(n.addedNodes,r);e&&n()}));return i.observe(document,{childList:!0,subtree:!0}),i}const Ur=new Map;let Zr=0;function Xr(){const t=window.devicePixelRatio;t!==Zr&&(Zr=t,Ur.forEach(((e,n)=>{n.currentDevicePixelRatio!==t&&e()})))}function qr(t,e,n){const r=t.canvas,i=r&&Ue(r);if(!i)return;const o=it(((t,e)=>{const r=i.clientWidth;n(t,e),r<i.clientWidth&&n()}),window),a=new ResizeObserver((t=>{const e=t[0],n=e.contentRect.width,r=e.contentRect.height;0===n&&0===r||o(n,r)}));return a.observe(i),function(t,e){Ur.size||window.addEventListener("resize",Xr),Ur.set(t,e)}(t,o),a}function Kr(t,e,n){n&&n.disconnect(),"resize"===e&&function(t){Ur.delete(t),Ur.size||window.removeEventListener("resize",Xr)}(t)}function Jr(t,e,n){const r=t.canvas,i=it((e=>{null!==t.ctx&&n(function(t,e){const n=jr[t.type]||t.type,{x:r,y:i}=Je(t,e);return{type:n,chart:e,native:t,x:void 0!==r?r:null,y:void 0!==i?i:null}}(e,t))}),t,(t=>{const e=t[0];return[e,e.offsetX,e.offsetY]}));return function(t,e,n){t.addEventListener(e,n,Vr)}(r,e,i),i}class Qr extends Rr{acquireContext(t,e){const n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(function(t,e){const n=t.style,r=t.getAttribute("height"),i=t.getAttribute("width");
vendor: 24,935 bytes, line 65
65if(t[Br]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",zr(i)){const e=rn(t,"width");void 0!==e&&(t.width=e)}if(zr(r))if(""===t.style.height)t.height=t.width/(e||2);else{const e=rn(t,"height");void 0!==e&&(t.height=e)}}(t,e),n):null}releaseContext(t){const e=t.canvas;if(!e[Br])return!1;const n=e[Br].initial;["height","width"].forEach((t=>{const r=n[t];o(r)?e.removeAttribute(t):e.setAttribute(t,r)}));const r=n.style||{};return Object.keys(r).forEach((t=>{e.style[t]=r[t]})),e.width=e.width,delete e[Br],!0}addEventListener(t,e,n){this.removeEventListener(t,e);const r=t.$proxies||(t.$proxies={}),i={attach:Gr,detach:Yr,resize:qr}[e]||Jr;r[e]=i(t,e,n)}removeEventListener(t,e){const n=t.$proxies||(t.$proxies={}),r=n[e];if(!r)return;({attach:Kr,detach:Kr,resize:Kr}[e]||Hr)(t,e,r),n[e]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,n,r){return tn(t,e,n,r)}isAttached(t){const e=Ue(t);return!(!e||!e.isConnected)}}class ti{constructor(){this._init=[]}notify(t,e,n,r){"beforeInit"===e&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const i=r?this._descriptors(t).filter(r):this._descriptors(t),o=this._notify(i,t,e,n);return"afterDestroy"===e&&(this._notify(i,t,"stop"),this._notify(this._init,t,"uninstall")),o}_notify(t,e,n,r){r=r||{};for(const i of t){const t=i.plugin;if(!1===h(t[n],[e,r,i.options],t)&&r.cancelable)return!1}return!0}invalidate(){o(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const e=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),e}_createDescriptors(t,e){const n=t&&t.config,r=c(n.options&&n.options.plugins,{}),i=function(t){const e={},n=[],r=Object.keys(hr.plugins.items);for(let t=0;t<r.length;t++)n.push(hr.getPlugin(r[t]));const i=t.plugins||[];for(let t=0;t<i.length;t++){const r=i[t];-1===n.indexOf(r)&&(n.push(r),e[r.id]=!0)}return{plugins:n,localIds:e}}(n);return!1!==r||e?function(t,{plugins:e,localIds:n},r,i){const o=[],a=t.getContext();for(const s of e){const e=s.id,l=ei(r[e],i);null!==l&&o.push({plugin:s,options:ni(t.config,{plugin:s,local:n[e]},l,a)})}return o}(t,i,r,e):[]}_notifyStateChanges(t){const e=this._oldCache||[],n=this._cache,r=(t,e)=>t.filter((t=>!e.some((e=>t.plugin.id===e.plugin.id))));this._notify(r(e,n),t,"stop"),this._notify(r(n,e),t,"start")}}function ei(t,e){return e||!1!==t?!0===t?{}:t:null}function ni(t,{plugin:e,local:n},r,i){const o=t.pluginScopeKeys(e),a=t.getOptionScopes(r,o);return n&&e.defaults&&a.push(e.defaults),t.createResolver(a,i,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function ri(t,e){const n=te.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function ii(t,e){return"x"===t||"y"===t?t:e.axis||("top"===(n=e.position)||"bottom"===n?"x":"left"===n||"right"===n?"y":void 0)||t.charAt(0).toLowerCase();var n}function oi(t){const e=t.options||(t.options={});e.plugins=c(e.plugins,{}),e.scales=function(t,e){const n=qt[t.type]||{scales:{}},r=e.scales||{},i=ri(t.type,e),o=Object.create(null),a=Object.create(null);return Object.keys(r).forEach((t=>{const e=r[t];if(!s(e))return console.error(`Invalid scale configuration for scale: ${t}`);if(e._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);const l=ii(t,e),u=function(t,e){return t===e?"_index_":"_value_"}(l,i),c=n.scales||{};o[l]=o[l]||t,a[t]=b(Object.create(null),[{axis:l},e,c[l],c[u]])})),t.data.datasets.forEach((n=>{const i=n.type||t.type,s=n.indexAxis||ri(i,e),l=(qt[i]||{}).scales||{};Object.keys(l).forEach((t=>{const e=function(t,e){let n=t;return"_index_"===t?n=e:"_value_"===t&&(n="x"===e?"y":"x"),n}(t,s),i=n[e+"AxisID"]||o[e]||e;a[i]=a[i]||Object.create(null),b(a[i],[{axis:e},r[i],l[t]])}))})),Object.keys(a).forEach((t=>{const e=a[t];b(e,[te.scales[e.type],te.scale])})),a}(t,e)}function ai(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}const si=new Map,li=new Set;function ui(t,e){let n=si.get(t);return n||(n=e(),si.set(t,n),li.add(n)),n}const ci=(t,e,n)=>{const r=w(e,n);void 0!==r&&t.add(r)};class di{constructor(t){this._config=function(t){return(t=t||{}).data=ai(t.data),oi(t),t}(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=ai(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),oi(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return ui(t,(()=>[[`datasets.${t}`,""]]))}datasetAnimationScopeKeys(t,e){return ui(`${t}.transition.${e}`,(()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]]))}datasetElementScopeKeys(t,e){return ui(`${t}-${e}`,(()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]]))}pluginScopeKeys(t){const e=t.id;return ui(`${this.type}-plugin-${e}`,(()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]]))}_cachedScopes(t,e){const n=this._scopeCache;let r=n.get(t);return r&&!e||(r=new Map,n.set(t,r)),r}getOptionScopes(t,e,n){const{options:r,type:i}=this,o=this._cachedScopes(t,n),a=o.get(e);if(a)return a;const s=new Set;e.forEach((e=>{t&&(s.add(t),e.forEach((e=>ci(s,t,e)))),e.forEach((t=>ci(s,r,t))),e.forEach((t=>ci(s,qt[i]||{},t))),e.forEach((t=>ci(s,te,t))),e.forEach((t=>ci(s,Kt,t)))}));const l=Array.from(s);return 0===l.length&&l.push(Object.create(null)),li.has(e)&&o.set(e,l),l}chartOptionScopes(){const{options:t,type:e}=this;return[t,qt[e]||{},te.datasets[e]||{},{type:e},te,Kt]}resolveNamedOptions(t,e,n,r=[""]){const i={$shared:!0},{resolver:o,subPrefixes:s}=hi(this._resolverCache,t,r);let l=o;if(function(t,e){const{isScriptable:n,isIndexable:r}=De(t);for(const i of e){const e=n(i),o=r(i),s=(o||e)&&t[i];if(e&&(I(s)||fi(s))||o&&a(s))return!0}return!1}(o,e)){i.$shared=!1;l=Ae(o,n=I(n)?n():n,this.createResolver(t,n,s))}for(const t of e)i[t]=l[t];return i}createResolver(t,e,n=[""],r){const{resolver:i}=hi(this._resolverCache,t,n);return s(e)?Ae(i,e,void 0,r):i}}function hi(t,e,n){let r=t.get(e);r||(r=new Map,t.set(e,r));const i=n.join();let o=r.get(i);if(!o){o={resolver:Ie(e,n),subPrefixes:n.filter((t=>!t.toLowerCase().includes("hover")))},r.set(i,o)}return o}const fi=t=>s(t)&&Object.getOwnPropertyNames(t).reduce(((e,n)=>e||I(t[n])),!1);const pi=["top","bottom","left","right","chartArea"];function gi(t,e){return"top"===t||"bottom"===t||-1===pi.indexOf(t)&&"x"===e}function yi(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function mi(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),h(n&&n.onComplete,[t],e)}function vi(t){const e=t.chart,n=e.options.animation;h(n&&n.onProgress,[t],e)}function bi(t){return Ye()&&"string"==typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const xi={},_i=t=>{const e=bi(t);return Object.values(xi).filter((t=>t.canvas===e)).pop()};function wi(t,e,n){const r=Object.keys(t);for(const i of r){const r=+i;if(r>=e){const o=t[i];delete t[i],(n>0||r>e)&&(t[r+n]=o)}}}class Si{constructor(t,e){const n=this.config=new di(e),r=bi(t),o=_i(r);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const a=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||function(t){return!Ye()||"undefined"!=typeof OffscreenCanvas&&t instanceof OffscreenCanvas?Fr:Qr}(r)),this.platform.updateConfig(n);const s=this.platform.acquireContext(r,a.aspectRatio),l=s&&s.canvas,u=l&&l.height,c=l&&l.width;this.id=i(),this.ctx=s,this.canvas=l,this.width=c,this.height=u,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new ti,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}((t=>this.update(t)),a.resizeDelay||0),this._dataChanges=[],xi[this.id]=this,s&&l?(xn.listen(this,"complete",mi),xn.listen(this,"progress",vi),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:n,height:r,_aspectRatio:i}=this;return o(t)?e&&i?i:r?n/r:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():en(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return ie(this.canvas,this.ctx),this}stop(){return xn.stop(this),this}resize(t,e){xn.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const n=this.options,r=this.canvas,i=n.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(r,t,e,i),a=n.devicePixelRatio||this.platform.getDevicePixelRatio(),s=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,en(this,a,!0)&&(this.notifyPlugins("resize",{size:o}),h(n.onResize,[this,o],this),this.attached&&this._doResize(s)&&this.render())}ensureScalesHaveIDs(){f(this.options.scales||{},((t,e)=>{t.id=e}))}buildOrUpdateScales(){const t=this.options,e=t.scales,n=this.scales,r=Object.keys(n).reduce(((t,e)=>(t[e]=!1,t)),{});let i=[];e&&(i=i.concat(Object.keys(e).map((t=>{const n=e[t],r=ii(t,n),i="r"===r,o="x"===r;return{options:n,dposition:i?"chartArea":o?"bottom":"left",dtype:i?"radialLinear":o?"category":"linear"}})))),f(i,(e=>{const i=e.options,o=i.id,a=ii(o,i),s=c(i.type,e.dtype);void 0!==i.position&&gi(i.position,a)===gi(e.dposition)||(i.position=e.dposition),r[o]=!0;let l=null;if(o in n&&n[o].type===s)l=n[o];else{l=new(hr.getScale(s))({id:o,type:s,ctx:this.ctx,chart:this}),n[l.id]=l}l.init(i,t)})),f(r,((t,e)=>{t||delete n[e]})),f(n,(t=>{Nr.configure(this,t,t.options),Nr.addBox(this,t)}))}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,n=t.length;if(t.sort(((t,e)=>t.index-e.index)),n>e){for(let t=e;t<n;++t)this._destroyDatasetMeta(t);t.splice(e,n-e)}this._sortedMetasets=t.slice(0).sort(yi("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:e}}=this;t.length>e.length&&delete this._stacks,t.forEach(((t,n)=>{0===e.filter((e=>e===t._dataset)).length&&this._destroyDatasetMeta(n)}))}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let n,r;for(this._removeUnreferencedMetasets(),n=0,r=e.length;n<r;n++){const r=e[n];let i=this.getDatasetMeta(n);const o=r.type||this.config.type;if(i.type&&i.type!==o&&(this._destroyDatasetMeta(n),i=this.getDatasetMeta(n)),i.type=o,i.indexAxis=r.indexAxis||ri(o,this.options),i.order=r.order||0,i.index=n,i.label=""+r.label,i.visible=this.isDatasetVisible(n),i.controller)i.controller.updateIndex(n),i.controller.linkScales();else{const e=hr.getController(o),{datasetElementType:r,dataElementType:a}=te.datasets[o];Object.assign(e.prototype,{dataElementType:hr.getElement(a),datasetElementType:r&&hr.getElement(r)}),i.controller=new e(this,n),t.push(i.controller)}}return this._updateMetasets(),t}_resetElements(){f(this.data.datasets,((t,e)=>{this.getDatasetMeta(e).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const n=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0}))return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let t=0,e=this.data.datasets.length;t<e;t++){const{controller:e}=this.getDatasetMeta(t),n=!r&&-1===i.indexOf(e);e.buildOrUpdateElements(n),o=Math.max(+e.getMaxOverflow(),o)}o=this._minPadding=n.layout.autoPadding?o:0,this._updateLayout(o),r||f(i,(t=>{t.reset()})),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(yi("z","_idx"));const{_active:a,_lastEvent:s}=this;s?this._eventHandler(s,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){f(this.scales,(t=>{Nr.removeBox(this,t)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),n=new Set(t.events);A(e,n)&&!!this._responsiveListeners===t.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:n,start:r,count:i}of e){wi(t,r,"_removeElements"===n?-i:i)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,n=e=>new Set(t.filter((t=>t[0]===e)).map(((t,e)=>e+","+t.splice(1).join(",")))),r=n(0);for(let t=1;t<e;t++)if(!A(r,n(t)))return;return Array.from(r).map((t=>t.split(","))).map((t=>({method:t[1],start:+t[2],count:+t[3]})))}_updateLayout(t){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;Nr.update(this,this.width,this.height,t);const e=this.chartArea,n=e.width<=0||e.height<=0;this._layers=[],f(this.boxes,(t=>{n&&"chartArea"===t.position||(t.configure&&t.configure(),this._layers.push(...t._layers()))}),this),this._layers.forEach(((t,e)=>{t._idx=e})),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})){for(let t=0,e=this.data.datasets.length;t<e;++t)this.getDatasetMeta(t).controller.configure();for(let e=0,n=this.data.datasets.length;e<n;++e)this._updateDataset(e,I(t)?t({datasetIndex:e}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,e){const n=this.getDatasetMeta(t),r={meta:n,index:t,mode:e,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",r)&&(n.controller._update(e),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(xn.has(this)?this.attached&&!xn.running(this)&&xn.start(this):(this.draw(),mi({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:t,height:e}=this._resizeBeforeDraw;this._resize(t,e),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0)return;if(!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const e=this._layers;for(t=0;t<e.length&&e[t].z<=0;++t)e[t].draw(this.chartArea);for(this._drawDatasets();t<e.length;++t)e[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const e=this._sortedMetasets,n=[];let r,i;for(r=0,i=e.length;r<i;++r){const i=e[r];t&&!i.visible||n.push(i)}return n}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const t=this.getSortedVisibleDatasetMetas();for(let e=t.length-1;e>=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,n=t._clip,r=!n.disabled,i=this.chartArea,o={meta:t,index:t.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",o)&&(r&&le(e,{left:!1===n.left?0:i.left-n.left,right:!1===n.right?this.width:i.right+n.right,top:!1===n.top?0:i.top-n.top,bottom:!1===n.bottom?this.height:i.bottom+n.bottom}),t.controller.draw(),r&&ue(e),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(t){return se(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,n,r){const i=Sr.modes[e];return"function"==typeof i?i(this,t,n,r):[]}getDatasetMeta(t){const e=this.data.datasets[t],n=this._metasets;let r=n.filter((t=>t&&t._dataset===e)).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},n.push(r)),r}getContext(){return this.$context||(this.$context=Me(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const n=this.getDatasetMeta(t);return"boolean"==typeof n.hidden?!n.hidden:!e.hidden}setDatasetVisibility(t,e){this.getDatasetMeta(t).hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,n){const r=n?"show":"hide",i=this.getDatasetMeta(t),o=i.controller._resolveAnimations(void 0,r);M(e)?(i.data[e].hidden=!n,this.update()):(this.setDatasetVisibility(t,n),o.update(i,{visible:n}),this.update((e=>e.datasetIndex===t?r:void 0)))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),xn.remove(this),t=0,e=this.data.datasets.length;t<e;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:e}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),ie(t,e),this.platform.releaseContext(e),this.canvas=null,this.ctx=null),this.notifyPlugins("destroy"),delete xi[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...t){return this.canvas.toDataURL(...t)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,e=this.platform,n=(n,r)=>{e.addEventListener(this,n,r),t[n]=r},r=(t,e,n)=>{t.offsetX=e,t.offsetY=n,this._eventHandler(t)};f(this.options.events,(t=>n(t,r)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,n=(n,r)=>{e.addEventListener(this,n,r),t[n]=r},r=(n,r)=>{t[n]&&(e.removeEventListener(this,n,r),delete t[n])},i=(t,e)=>{this.canvas&&this.resize(t,e)};let o;const a=()=>{r("attach",a),this.attached=!0,this.resize(),n("resize",i),n("detach",o)};o=()=>{this.attached=!1,r("resize",i),this._stop(),this._resize(0,0),n("attach",a)},e.isAttached(this.canvas)?a():o()}unbindEvents(){f(this._listeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._listeners={},f(this._responsiveListeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._responsiveListeners=void 0}updateHoverStyle(t,e,n){const r=n?"set":"remove";let i,o,a,s;for("dataset"===e&&(i=this.getDatasetMeta(t[0].datasetIndex),i.controller["_"+r+"DatasetHoverStyle"]()),a=0,s=t.length;a<s;++a){o=t[a];const e=o&&this.getDatasetMeta(o.datasetIndex).controller;e&&e[r+"HoverStyle"](o.element,o.datasetIndex,o.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const e=this._active||[],n=t.map((({datasetIndex:t,index:e})=>{const n=this.getDatasetMeta(t);if(!n)throw new Error("No dataset found at index "+t);return{datasetIndex:t,element:n.data[e],index:e}}));!p(n,e)&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,e))}notifyPlugins(t,e,n){return this._plugins.notify(this,t,e,n)}_updateHoverStyles(t,e,n){const r=this.options.hover,i=(t,e)=>t.filter((t=>!e.some((e=>t.datasetIndex===e.datasetIndex&&t.index===e.index)))),o=i(e,t),a=n?t:i(t,e);o.length&&this.updateHoverStyle(o,r.mode,!1),a.length&&r.mode&&this.updateHoverStyle(a,r.mode,!0)}_eventHandler(t,e){const n={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},r=e=>(e.options.events||this.options.events).includes(t.native.type);if(!1===this.notifyPlugins("beforeEvent",n,r))return;const i=this._handleEvent(t,e,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,r),(i||n.changed)&&this.render(),this}_handleEvent(t,e,n){const{_active:r=[],options:i}=this,o=e,a=this._getActiveElements(t,r,n,o),s=function(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}(t),l=function(t,e,n,r){return n&&"mouseout"!==t.type?r?e:t:null}(t,this._lastEvent,n,s);n&&(this._lastEvent=null,h(i.onHover,[t,a,this],this),s&&h(i.onClick,[t,a,this],this));const u=!p(a,r);return(u||e)&&(this._active=a,this._updateHoverStyles(a,r,e)),this._lastEvent=l,u}_getActiveElements(t,e,n,r){if("mouseout"===t.type)return[];if(!n)return e;const i=this.options.hover;return this.getElementsAtEventForMode(t,i.mode,i,r)}}const Mi=()=>f(Si.instances,(t=>t._plugins.invalidate())),Ii=!0;function Ai(t,e,n){const{startAngle:r,pixelMargin:i,x:o,y:a,outerRadius:s,innerRadius:l}=e;let u=i/s;t.beginPath(),t.arc(o,a,s,r-u,n+u),l>i?(u=i/l,t.arc(o,a,l,n+u,r-u,!0)):t.arc(o,a,i,n+k,r-k),t.closePath(),t.clip()}function Di(t,e,n,r){const i=ve(t.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]);const o=(n-e)/2,a=Math.min(o,r*e/2),s=t=>{const e=(n-Math.min(o,t))*r/2;return X(t,0,Math.min(o,e))};return{outerStart:s(i.outerStart),outerEnd:s(i.outerEnd),innerStart:X(i.innerStart,0,a),innerEnd:X(i.innerEnd,0,a)}}function Ti(t,e,n,r){return{x:n+t*Math.cos(e),y:r+t*Math.sin(e)}}function Ci(t,e,n,r,i,o){const{x:a,y:s,startAngle:l,pixelMargin:u,innerRadius:c}=e,d=Math.max(e.outerRadius+r+n-u,0),h=c>0?c+r+n+u:0;let f=0;const p=i-l;if(r){const t=((c>0?c-r:0)+(d>0?d-r:0))/2;f=(p-(0!==t?p*t/(t+r):p))/2}const g=(p-Math.max(.001,p*d-n/D)/d)/2,y=l+g+f,m=i-g-f,{outerStart:v,outerEnd:b,innerStart:x,innerEnd:_}=Di(e,h,d,m-y),w=d-v,S=d-b,M=y+v/w,I=m-b/S,A=h+x,T=h+_,C=y+x/A,O=m-_/T;if(t.beginPath(),o){if(t.arc(a,s,d,M,I),b>0){const e=Ti(S,I,a,s);t.arc(e.x,e.y,b,I,m+k)}const e=Ti(T,m,a,s);if(t.lineTo(e.x,e.y),_>0){const e=Ti(T,O,a,s);t.arc(e.x,e.y,_,m+k,O+Math.PI)}if(t.arc(a,s,h,m-_/h,y+x/h,!0),x>0){const e=Ti(A,C,a,s);t.arc(e.x,e.y,x,C+Math.PI,y-k)}const n=Ti(w,y,a,s);if(t.lineTo(n.x,n.y),v>0){const e=Ti(w,M,a,s);t.arc(e.x,e.y,v,y-k,M)}}else{t.moveTo(a,s);const e=Math.cos(M)*d+a,n=Math.sin(M)*d+s;t.lineTo(e,n);const r=Math.cos(I)*d+a,i=Math.sin(I)*d+s;t.lineTo(r,i)}t.closePath()}function Oi(t,e,n,r,i,o){const{options:a}=e,{borderWidth:s,borderJoinStyle:l}=a,u="inner"===a.borderAlign;s&&(u?(t.lineWidth=2*s,t.lineJoin=l||"round"):(t.lineWidth=s,t.lineJoin=l||"bevel"),e.fullCircles&&function(t,e,n){const{x:r,y:i,startAngle:o,pixelMargin:a,fullCircles:s}=e,l=Math.max(e.outerRadius-a,0),u=e.innerRadius+a;let c;for(n&&Ai(t,e,o+T),t.beginPath(),t.arc(r,i,u,o+T,o,!0),c=0;c<s;++c)t.stroke();for(t.beginPath(),t.arc(r,i,l,o,o+T),c=0;c<s;++c)t.stroke()}(t,e,u),u&&Ai(t,e,i),Ci(t,e,n,r,i,o),t.stroke())}Object.defineProperties(Si,{defaults:{enumerable:Ii,value:te},instances:{enumerable:Ii,value:xi},overrides:{enumerable:Ii,value:qt},registry:{enumerable:Ii,value:hr},version:{enumerable:Ii,value:"3.9.1"},getChart:{enumerable:Ii,value:_i},register:{enumerable:Ii,value:(...t)=>{hr.add(...t),Mi()}},unregister:{enumerable:Ii,value:(...t)=>{hr.remove(...t),Mi()}}});class Pi extends Qn{constructor(t){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,n){const r=this.getProps(["x","y"],n),{angle:i,distance:o}=W(r,{x:t,y:e}),{startAngle:a,endAngle:s,innerRadius:l,outerRadius:u,circumference:d}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],n),h=this.options.spacing/2,f=c(d,s-a)>=T||Z(i,a,s),p=q(o,l+h,u+h);return f&&p}getCenterPoint(t){const{x:e,y:n,startAngle:r,endAngle:i,innerRadius:o,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],t),{offset:s,spacing:l}=this.options,u=(r+i)/2,c=(o+a+l+s)/2;return{x:e+Math.cos(u)*c,y:n+Math.sin(u)*c}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:n}=this,r=(e.offset||0)/2,i=(e.spacing||0)/2,o=e.circular;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=n>T?Math.floor(n/T):0,0===n||this.innerRadius<0||this.outerRadius<0)return;t.save();let a=0;if(r){a=r/2;const e=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(e)*a,Math.sin(e)*a),this.circumference>=D&&(a=r)}t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor;const s=function(t,e,n,r,i){const{fullCircles:o,startAngle:a,circumference:s}=e;let l=e.endAngle;if(o){Ci(t,e,n,r,a+T,i);for(let e=0;e<o;++e)t.fill();isNaN(s)||(l=a+s%T,s%T==0&&(l+=T))}return Ci(t,e,n,r,l,i),t.fill(),l}(t,this,a,i,o);
vendor: 8,487 bytes, line 65
65Oi(t,this,a,i,s,o),t.restore()}}function ki(t,e,n=e){t.lineCap=c(n.borderCapStyle,e.borderCapStyle),t.setLineDash(c(n.borderDash,e.borderDash)),t.lineDashOffset=c(n.borderDashOffset,e.borderDashOffset),t.lineJoin=c(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=c(n.borderWidth,e.borderWidth),t.strokeStyle=c(n.borderColor,e.borderColor)}function $i(t,e,n){t.lineTo(n.x,n.y)}function Ei(t,e,n={}){const r=t.length,{start:i=0,end:o=r-1}=n,{start:a,end:s}=e,l=Math.max(i,a),u=Math.min(o,s),c=i<a&&o<a||i>s&&o>s;return{count:r,start:l,loop:e.loop,ilen:u<l&&!c?r+u-l:u-l}}function Li(t,e,n,r){const{points:i,options:o}=e,{count:a,start:s,loop:l,ilen:u}=Ei(i,n,r),c=function(t){return t.stepped?ce:t.tension||"monotone"===t.cubicInterpolationMode?de:$i}(o);let d,h,f,{move:p=!0,reverse:g}=r||{};for(d=0;d<=u;++d)h=i[(s+(g?u-d:d))%a],h.skip||(p?(t.moveTo(h.x,h.y),p=!1):c(t,f,h,g,o.stepped),f=h);return l&&(h=i[(s+(g?u:0))%a],c(t,f,h,g,o.stepped)),!!l}function Ni(t,e,n,r){const i=e.points,{count:o,start:a,ilen:s}=Ei(i,n,r),{move:l=!0,reverse:u}=r||{};let c,d,h,f,p,g,y=0,m=0;const v=t=>(a+(u?s-t:t))%o,b=()=>{f!==p&&(t.lineTo(y,p),t.lineTo(y,f),t.lineTo(y,g))};for(l&&(d=i[v(0)],t.moveTo(d.x,d.y)),c=0;c<=s;++c){if(d=i[v(c)],d.skip)continue;const e=d.x,n=d.y,r=0|e;r===h?(n<f?f=n:n>p&&(p=n),y=(m*y+e)/++m):(b(),t.lineTo(e,n),h=r,m=0,f=p=n),g=n}b()}function Ri(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!(t._decimated||t._loop||e.tension||"monotone"===e.cubicInterpolationMode||e.stepped||n)?Ni:Li}Pi.id="arc",Pi.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0},Pi.defaultRoutes={backgroundColor:"backgroundColor"};const Fi="function"==typeof Path2D;function Bi(t,e,n,r){Fi&&!e.options.segment?function(t,e,n,r){let i=e._path;i||(i=e._path=new Path2D,e.path(i,n,r)&&i.closePath()),ki(t,e.options),t.stroke(i)}(t,e,n,r):function(t,e,n,r){const{segments:i,options:o}=e,a=Ri(e);for(const s of i)ki(t,o,s.style),t.beginPath(),a(t,e,s,{start:n,end:n+r-1})&&t.closePath(),t.stroke()}(t,e,n,r)}class ji extends Qn{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const n=this.options;if((n.tension||"monotone"===n.cubicInterpolationMode)&&!n.stepped&&!this._pointsUpdated){const r=n.spanGaps?this._loop:this._fullLoop;Ge(this._points,n,t,r,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function(t,e){const n=t.points,r=t.options.spanGaps,i=n.length;if(!i)return[];const o=!!t._loop,{start:a,end:s}=function(t,e,n,r){let i=0,o=e-1;if(n&&!r)for(;i<e&&!t[i].skip;)i++;for(;i<e&&t[i].skip;)i++;for(i%=e,n&&(o+=i);o>i&&t[o%e].skip;)o--;return o%=e,{start:i,end:o}}(n,i,o,r);return mn(t,!0===r?[{start:a,end:s,loop:o}]:function(t,e,n,r){const i=t.length,o=[];let a,s=e,l=t[e];for(a=e+1;a<=n;++a){const n=t[a%i];n.skip||n.stop?l.skip||(r=!1,o.push({start:e%i,end:(a-1)%i,loop:r}),e=s=n.stop?a:null):(s=a,l.skip&&(e=a)),l=n}return null!==s&&o.push({start:e%i,end:s%i,loop:r}),o}(n,a,s<a?s+i:s,!!t._fullLoop&&0===a&&s===i-1),n,e)}(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,n=t.length;return n&&e[t[n-1].end]}interpolate(t,e){const n=this.options,r=t[e],i=this.points,o=yn(this,{property:e,start:r,end:r});if(!o.length)return;const a=[],s=function(t){return t.stepped?an:t.tension||"monotone"===t.cubicInterpolationMode?sn:on}(n);let l,u;for(l=0,u=o.length;l<u;++l){const{start:u,end:c}=o[l],d=i[u],h=i[c];if(d===h){a.push(d);continue}const f=s(d,h,Math.abs((r-d[e])/(h[e]-d[e])),n.stepped);f[e]=t[e],a.push(f)}return 1===a.length?a[0]:a}pathSegment(t,e,n){return Ri(this)(t,this,e,n)}path(t,e,n){const r=this.segments,i=Ri(this);let o=this._loop;e=e||0,n=n||this.points.length-e;for(const a of r)o&=i(t,this,a,{start:e,end:e+n-1});return!!o}draw(t,e,n,r){const i=this.options||{};(this.points||[]).length&&i.borderWidth&&(t.save(),Bi(t,this,n,r),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function zi(t,e,n,r){const i=t.options,{[n]:o}=t.getProps([n],r);return Math.abs(e-o)<i.radius+i.hitRadius}ji.id="line",ji.defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0},ji.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"},ji.descriptors={_scriptable:!0,_indexable:t=>"borderDash"!==t&&"fill"!==t};class Vi extends Qn{constructor(t){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,e,n){const r=this.options,{x:i,y:o}=this.getProps(["x","y"],n);return Math.pow(t-i,2)+Math.pow(e-o,2)<Math.pow(r.hitRadius+r.radius,2)}inXRange(t,e){return zi(this,t,"x",e)}inYRange(t,e){return zi(this,t,"y",e)}getCenterPoint(t){const{x:e,y:n}=this.getProps(["x","y"],t);return{x:e,y:n}}size(t){let e=(t=t||this.options||{}).radius||0;e=Math.max(e,e&&t.hoverRadius||0);return 2*(e+(e&&t.borderWidth||0))}draw(t,e){const n=this.options;this.skip||n.radius<.1||!se(this,e,this.size(n)/2)||(t.strokeStyle=n.borderColor,t.lineWidth=n.borderWidth,t.fillStyle=n.backgroundColor,oe(t,n,this.x,this.y))}getRange(){const t=this.options||{};return t.radius+t.hitRadius}}function Hi(t,e){const{x:n,y:r,base:i,width:o,height:a}=t.getProps(["x","y","base","width","height"],e);let s,l,u,c,d;return t.horizontal?(d=a/2,s=Math.min(n,i),l=Math.max(n,i),u=r-d,c=r+d):(d=o/2,s=n-d,l=n+d,u=Math.min(r,i),c=Math.max(r,i)),{left:s,top:u,right:l,bottom:c}}function Wi(t,e,n,r){return t?0:X(e,n,r)}function Gi(t){const e=Hi(t),n=e.right-e.left,r=e.bottom-e.top,i=function(t,e,n){const r=t.options.borderWidth,i=t.borderSkipped,o=be(r);return{t:Wi(i.top,o.top,0,n),r:Wi(i.right,o.right,0,e),b:Wi(i.bottom,o.bottom,0,n),l:Wi(i.left,o.left,0,e)}}(t,n/2,r/2),o=function(t,e,n){const{enableBorderRadius:r}=t.getProps(["enableBorderRadius"]),i=t.options.borderRadius,o=xe(i),a=Math.min(e,n),l=t.borderSkipped,u=r||s(i);return{topLeft:Wi(!u||l.top||l.left,o.topLeft,0,a),topRight:Wi(!u||l.top||l.right,o.topRight,0,a),bottomLeft:Wi(!u||l.bottom||l.left,o.bottomLeft,0,a),bottomRight:Wi(!u||l.bottom||l.right,o.bottomRight,0,a)}}(t,n/2,r/2);return{outer:{x:e.left,y:e.top,w:n,h:r,radius:o},inner:{x:e.left+i.l,y:e.top+i.t,w:n-i.l-i.r,h:r-i.t-i.b,radius:{topLeft:Math.max(0,o.topLeft-Math.max(i.t,i.l)),topRight:Math.max(0,o.topRight-Math.max(i.t,i.r)),bottomLeft:Math.max(0,o.bottomLeft-Math.max(i.b,i.l)),bottomRight:Math.max(0,o.bottomRight-Math.max(i.b,i.r))}}}}function Yi(t,e,n,r){const i=null===e,o=null===n,a=t&&!(i&&o)&&Hi(t,r);return a&&(i||q(e,a.left,a.right))&&(o||q(n,a.top,a.bottom))}function Ui(t,e){t.rect(e.x,e.y,e.w,e.h)}function Zi(t,e,n={}){const r=t.x!==n.x?-e:0,i=t.y!==n.y?-e:0,o=(t.x+t.w!==n.x+n.w?e:0)-r,a=(t.y+t.h!==n.y+n.h?e:0)-i;return{x:t.x+r,y:t.y+i,w:t.w+o,h:t.h+a,radius:t.radius}}Vi.id="point",Vi.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0},Vi.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};class Xi extends Qn{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:e,options:{borderColor:n,backgroundColor:r}}=this,{inner:i,outer:o}=Gi(this),a=(s=o.radius).topLeft||s.topRight||s.bottomLeft||s.bottomRight?pe:Ui;var s;t.save(),o.w===i.w&&o.h===i.h||(t.beginPath(),a(t,Zi(o,e,i)),t.clip(),a(t,Zi(i,-e,o)),t.fillStyle=n,t.fill("evenodd")),t.beginPath(),a(t,Zi(i,e)),t.fillStyle=r,t.fill(),t.restore()}inRange(t,e,n){return Yi(this,t,e,n)}inXRange(t,e){return Yi(this,t,null,e)}inYRange(t,e){return Yi(this,null,t,e)}getCenterPoint(t){const{x:e,y:n,base:r,horizontal:i}=this.getProps(["x","y","base","horizontal"],t);return{x:i?(e+r)/2:e,y:i?n:(n+r)/2}}getRange(t){return"x"===t?this.width/2:this.height/2}}Xi.id="bar",Xi.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmou
vendor: 1,175 bytes, line 65
65nt:"auto",pointStyle:void 0},Xi.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};function qi(t,e,n,r){if(r)return;let i=e[t],o=n[t];return"angle"===t&&(i=U(i),o=U(o)),{property:t,start:i,end:o}}function Ki(t,e,n){for(;e>t;e--){const t=n[e];if(!isNaN(t.x)&&!isNaN(t.y))break}return e}function Ji(t,e,n,r){return t&&e?r(t[n],e[n]):t?t[n]:e?e[n]:0}function Qi(t,e){let n=[],r=!1;return a(t)?(r=!0,n=t):n=function(t,e){const{x:n=null,y:r=null}=t||{},i=e.points,o=[];return e.segments.forEach((({start:t,end:e})=>{e=Ki(t,e,i);const a=i[t],s=i[e];null!==r?(o.push({x:a.x,y:r}),o.push({x:s.x,y:r})):null!==n&&(o.push({x:n,y:a.y}),o.push({x:n,y:s.y}))})),o}(t,e),n.length?new ji({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function to(t){return t&&!1!==t.fill}function eo(t,e,n){let r=t[e].fill;const i=[e];let o;if(!n)return r;for(;!1!==r&&-1===i.indexOf(r);){if(!l(r))return r;if(o=t[r],!o)return!1;if(o.visible)return r;i.push(r),r=o.fill}return!1}function no(t,e,n){const r=function(t){const e=t.options,n=e.fill;let r=c(n&&n.target,n);void 0===r&&(r=!!e.backgroundColor);if(!1===r||null===r)return!1;if(!0===r)return"origin";return r}(t);
vendor: 7,137 bytes, line 65
65if(s(r))return!isNaN(r.value)&&r;let i=parseFloat(r);return l(i)&&Math.floor(i)===i?function(t,e,n,r){"-"!==t&&"+"!==t||(n=e+n);if(n===e||n<0||n>=r)return!1;return n}(r[0],e,i,n):["origin","start","end","stack","shape"].indexOf(r)>=0&&r}function ro(t,e,n){const r=[];for(let i=0;i<n.length;i++){const o=n[i],{first:a,last:s,point:l}=io(o,e,"x");if(!(!l||a&&s))if(a)r.unshift(l);else if(t.push(l),!s)break}t.push(...r)}function io(t,e,n){const r=t.interpolate(e,n);if(!r)return{};const i=r[n],o=t.segments,a=t.points;let s=!1,l=!1;for(let t=0;t<o.length;t++){const e=o[t],r=a[e.start][n],u=a[e.end][n];if(q(i,r,u)){s=i===r,l=i===u;break}}return{first:s,last:l,point:r}}class oo{constructor(t){this.x=t.x,this.y=t.y,this.radius=t.radius}pathSegment(t,e,n){const{x:r,y:i,radius:o}=this;return e=e||{start:0,end:T},t.arc(r,i,o,e.end,e.start,!0),!n.bounds}interpolate(t){const{x:e,y:n,radius:r}=this,i=t.angle;return{x:e+Math.cos(i)*r,y:n+Math.sin(i)*r,angle:i}}}function ao(t){const{chart:e,fill:n,line:r}=t;if(l(n))return function(t,e){const n=t.getDatasetMeta(e),r=n&&t.isDatasetVisible(e);return r?n.dataset:null}(e,n);if("stack"===n)return function(t){const{scale:e,index:n,line:r}=t,i=[],o=r.segments,a=r.points,s=function(t,e){const n=[],r=t.getMatchingVisibleMetas("line");for(let t=0;t<r.length;t++){const i=r[t];if(i.index===e)break;i.hidden||n.unshift(i.dataset)}return n}(e,n);s.push(Qi({x:null,y:e.bottom},r));for(let t=0;t<o.length;t++){const e=o[t];for(let t=e.start;t<=e.end;t++)ro(i,a[t],s)}return new ji({points:i,options:{}})}(t);if("shape"===n)return!0;const i=function(t){const e=t.scale||{};if(e.getPointPositionForValue)return function(t){const{scale:e,fill:n}=t,r=e.options,i=e.getLabels().length,o=r.reverse?e.max:e.min,a=function(t,e,n){let r;return r="start"===t?n:"end"===t?e.options.reverse?e.min:e.max:s(t)?t.value:e.getBaseValue(),r}(n,e,o),l=[];if(r.grid.circular){const t=e.getPointPositionForValue(0,o);return new oo({x:t.x,y:t.y,radius:e.getDistanceFromCenterForValue(a)})}for(let t=0;t<i;++t)l.push(e.getPointPositionForValue(t,a));return l}(t);return function(t){const{scale:e={},fill:n}=t,r=function(t,e){let n=null;return"start"===t?n=e.bottom:"end"===t?n=e.top:s(t)?n=e.getPixelForValue(t.value):e.getBasePixel&&(n=e.getBasePixel()),n}(n,e);if(l(r)){const t=e.isHorizontal();return{x:t?r:null,y:t?null:r}}return null}(t)}(t);return i instanceof oo?i:Qi(i,r)}function so(t,e,n){const r=ao(e),{line:i,scale:o,axis:a}=e,s=i.options,l=s.fill,u=s.backgroundColor,{above:c=u,below:d=u}=l||{};r&&i.points.length&&(le(t,n),function(t,e){const{line:n,target:r,above:i,below:o,area:a,scale:s}=e,l=n._loop?"angle":e.axis;t.save(),"x"===l&&o!==i&&(lo(t,r,a.top),uo(t,{line:n,target:r,color:i,scale:s,property:l}),t.restore(),t.save(),lo(t,r,a.bottom));uo(t,{line:n,target:r,color:o,scale:s,property:l}),t.restore()}(t,{line:i,target:r,above:c,below:d,area:n,scale:o,axis:a}),ue(t))}function lo(t,e,n){const{segments:r,points:i}=e;let o=!0,a=!1;t.beginPath();for(const s of r){const{start:r,end:l}=s,u=i[r],c=i[Ki(r,l,i)];o?(t.moveTo(u.x,u.y),o=!1):(t.lineTo(u.x,n),t.lineTo(u.x,u.y)),a=!!e.pathSegment(t,s,{move:a}),a?t.closePath():t.lineTo(c.x,n)}t.lineTo(e.first().x,n),t.closePath(),t.clip()}function uo(t,e){const{line:n,target:r,property:i,color:o,scale:a}=e,s=function(t,e,n){const r=t.segments,i=t.points,o=e.points,a=[];for(const t of r){let{start:r,end:s}=t;s=Ki(r,s,i);const l=qi(n,i[r],i[s],t.loop);if(!e.segments){a.push({source:t,target:l,start:i[r],end:i[s]});continue}const u=yn(e,l);for(const e of u){const r=qi(n,o[e.start],o[e.end],e.loop),s=gn(t,i,r);for(const t of s)a.push({source:t,target:e,start:{[n]:Ji(l,r,"start",Math.max)},end:{[n]:Ji(l,r,"end",Math.min)}})}}return a}(n,r,i);for(const{source:e,target:l,start:u,end:c}of s){const{style:{backgroundColor:s=o}={}}=e,d=!0!==r;t.save(),t.fillStyle=s,co(t,a,d&&qi(i,u,c)),t.beginPath();const h=!!n.pathSegment(t,e);let f;if(d){h?t.closePath():ho(t,r,c,i);const e=!!r.pathSegment(t,l,{move:h,reverse:!0});f=h&&e,f||ho(t,r,u,i)}t.closePath(),t.fill(f?"evenodd":"nonzero"),t.restore()}}function co(t,e,n){const{top:r,bottom:i}=e.chart.chartArea,{property:o,start:a,end:s}=n||{};"x"===o&&(t.beginPath(),t.rect(a,r,s-a,i-r),t.clip())}function ho(t,e,n,r){const i=e.interpolate(n,r);i&&t.lineTo(i.x,i.y)}var fo={id:"filler",afterDatasetsUpdate(t,e,n){const r=(t.data.datasets||[]).length,i=[];let o,a,s,l;for(a=0;a<r;++a)o=t.getDatasetMeta(a),s=o.dataset,l=null,s&&s.options&&s instanceof ji&&(l={visible:t.isDatasetVisible(a),index:a,fill:no(s,a,r),chart:t,axis:o.controller.options.indexAxis,scale:o.vScale,line:s}),o.$filler=l,i.push(l);for(a=0;a<r;++a)l=i[a],l&&!1!==l.fill&&(l.fill=eo(i,a,n.propagate))},beforeDraw(t,e,n){const r="beforeDraw"===n.drawTime,i=t.getSortedVisibleDatasetMetas(),o=t.chartArea;for(let e=i.length-1;e>=0;--e){const n=i[e].$filler;n&&(n.line.updateControlPoints(o,n.axis),r&&n.fill&&so(t.ctx,n,o))}},beforeDatasetsDraw(t,e,n){if("beforeDatasetsDraw"!==n.drawTime)return;const r=t.getSortedVisibleDatasetMetas();for(let e=r.length-1;e>=0;--e){const n=r[e].$filler;to(n)&&so(t.ctx,n,t.chartArea)}},beforeDatasetDraw(t,e,n){const r=e.meta.$filler;to(r)&&"beforeDatasetDraw"===n.drawTime&&so(t.ctx,r,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const po=(t,e)=>{let{boxHeight:n=e,boxWidth:r=e}=t;return t.usePointStyle&&(n=Math.min(n,e),r=t.pointStyleWidth||Math.min(r,e)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(e,n)}};class go extends Qn{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,n){this.maxWidth=t,this.maxHeight=e,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=h(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter((e=>t.filter(e,this.chart.data)))),t.sort&&(e=e.sort(((e,n)=>t.sort(e,n,this.chart.data)))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display)return void(this.width=this.height=0);const n=t.labels,r=we(n.font),i=r.size,o=this._computeTitleHeight(),{boxWidth:a,itemHeight:s}=po(n,i);let l,u;e.font=r.string,this.isHorizontal()?(l=this.maxWidth,u=this._fitRows(o,i,a,s)+10):(u=this.maxHeight,l=this._fitCols(o,i,a,s)+10),this.width=Math.min(l,t.maxWidth||this.maxWidth),this.height=Math.min(u,t.maxHeight||this.maxHeight)}_fitRows(t,e,n,r){const{ctx:i,maxWidth:o,options:{labels:{padding:a}}}=this,s=this.legendHitBoxes=[],l=this.lineWidths=[0],u=r+a;let c=t;i.textAlign="left",i.textBaseline="middle";let d=-1,h=-u;
vendor: 4,265 bytes, line 65
65return this.legendItems.forEach(((t,f)=>{const p=n+e/2+i.measureText(t.text).width;(0===f||l[l.length-1]+p+2*a>o)&&(c+=u,l[l.length-(f>0?0:1)]=0,h+=u,d++),s[f]={left:0,top:h,row:d,width:p,height:r},l[l.length-1]+=p+a})),c}_fitCols(t,e,n,r){const{ctx:i,maxHeight:o,options:{labels:{padding:a}}}=this,s=this.legendHitBoxes=[],l=this.columnSizes=[],u=o-t;let c=a,d=0,h=0,f=0,p=0;return this.legendItems.forEach(((t,o)=>{const g=n+e/2+i.measureText(t.text).width;o>0&&h+r+2*a>u&&(c+=d+a,l.push({width:d,height:h}),f+=d+a,p++,d=h=0),s[o]={left:f,top:h,col:p,width:g,height:r},d=Math.max(d,g),h+=r+a})),c+=d,l.push({width:d,height:h}),c}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:n,labels:{padding:r},rtl:i}}=this,o=cn(i,this.left,this.width);if(this.isHorizontal()){let i=0,a=at(n,this.left+r,this.right-this.lineWidths[i]);for(const s of e)i!==s.row&&(i=s.row,a=at(n,this.left+r,this.right-this.lineWidths[i])),s.top+=this.top+t+r,s.left=o.leftForLtr(o.x(a),s.width),a+=s.width+r}else{let i=0,a=at(n,this.top+t+r,this.bottom-this.columnSizes[i].height);for(const s of e)s.col!==i&&(i=s.col,a=at(n,this.top+t+r,this.bottom-this.columnSizes[i].height)),s.top=a,s.left+=this.left+r,s.left=o.leftForLtr(o.x(s.left),s.width),a+=s.height+r}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;le(t,this),this._draw(),ue(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:n,ctx:r}=this,{align:i,labels:o}=t,a=te.color,s=cn(t.rtl,this.left,this.width),l=we(o.font),{color:u,padding:d}=o,h=l.size,f=h/2;let p;this.drawTitle(),r.textAlign=s.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=l.string;const{boxWidth:g,boxHeight:y,itemHeight:m}=po(o,h),v=this.isHorizontal(),b=this._computeTitleHeight();p=v?{x:at(i,this.left+d,this.right-n[0]),y:this.top+d+b,line:0}:{x:this.left+d,y:at(i,this.top+b+d,this.bottom-e[0].height),line:0},dn(this.ctx,t.textDirection);const x=m+d;this.legendItems.forEach(((_,w)=>{r.strokeStyle=_.fontColor||u,r.fillStyle=_.fontColor||u;const S=r.measureText(_.text).width,M=s.textAlign(_.textAlign||(_.textAlign=o.textAlign)),I=g+f+S;let A=p.x,D=p.y;s.setWidth(this.width),v?w>0&&A+I+d>this.right&&(D=p.y+=x,p.line++,A=p.x=at(i,this.left+d,this.right-n[p.line])):w>0&&D+x>this.bottom&&(A=p.x=A+e[p.line].width+d,p.line++,D=p.y=at(i,this.top+b+d,this.bottom-e[p.line].height));!function(t,e,n){if(isNaN(g)||g<=0||isNaN(y)||y<0)return;r.save();const i=c(n.lineWidth,1);if(r.fillStyle=c(n.fillStyle,a),r.lineCap=c(n.lineCap,"butt"),r.lineDashOffset=c(n.lineDashOffset,0),r.lineJoin=c(n.lineJoin,"miter"),r.lineWidth=i,r.strokeStyle=c(n.strokeStyle,a),r.setLineDash(c(n.lineDash,[])),o.usePointStyle){const a={radius:y*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:i},l=s.xPlus(t,g/2);ae(r,a,l,e+f,o.pointStyleWidth&&g)}else{const o=e+Math.max((h-y)/2,0),a=s.leftForLtr(t,g),l=xe(n.borderRadius);r.beginPath(),Object.values(l).some((t=>0!==t))?pe(r,{x:a,y:o,w:g,h:y,radius:l}):r.rect(a,o,g,y),r.fill(),0!==i&&r.stroke()}r.restore()}(s.x(A),D,_),A=((t,e,n,r)=>t===(r?"left":"right")?n:"center"===t?(e+n)/2:e)(M,A+g+f,v?A+I:this.right,t.rtl),function(t,e,n){he(r,n.text,t,e+m/2,l,{strikethrough:n.hidden,textAlign:s.textAlign(n.textAlign)})}(s.x(A),D,_),v?p.x+=I+d:p.y+=x})),hn(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,n=we(e.font),r=_e(e.padding);if(!e.display)return;const i=cn(t.rtl,this.left,this.width),o=this.ctx,a=e.position,s=n.size/2,l=r.top+s;let u,c=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),u=this.top+l,c=at(t.align,c,this.right-d);else{const e=this.columnSizes.reduce(((t,e)=>Math.max(t,e.height)),0);u=l+at(t.align,this.top,this.bottom-e-t.labels.padding-this._computeTitleHeight())}const h=at(a,c,c+d);o.textAlign=i.textAlign(ot(a)),o.textBaseline="middle",o.strokeStyle=e.color,o.fillStyle=e.color,o.font=n.string,he(o,e.text,h,u,n)}_computeTitleHeight(){const t=this.options.title,e=we(t.font),n=_e(t.padding);return t.display?e.lineHeight+n.height:0}_getLegendItemAt(t,e){let n,r,i;if(q(t,this.left,this.right)&&q(e,this.top,this.bottom))for(i=this.legendHitBoxes,n=0;n<i.length;
vendor: 4,117 bytes, line 65
65++n)if(r=i[n],q(t,r.left,r.left+r.width)&&q(e,r.top,r.top+r.height))return this.legendItems[n];return null}handleEvent(t){const e=this.options;if(!function(t,e){if(("mousemove"===t||"mouseout"===t)&&(e.onHover||e.onLeave))return!0;if(e.onClick&&("click"===t||"mouseup"===t))return!0;return!1}(t.type,e))return;const n=this._getLegendItemAt(t.x,t.y);if("mousemove"===t.type||"mouseout"===t.type){const o=this._hoveredItem,a=(i=n,null!==(r=o)&&null!==i&&r.datasetIndex===i.datasetIndex&&r.index===i.index);o&&!a&&h(e.onLeave,[t,o,this],this),this._hoveredItem=n,n&&!a&&h(e.onHover,[t,n,this],this)}else n&&h(e.onClick,[t,n,this],this);var r,i}}var yo={id:"legend",_element:go,start(t,e,n){const r=t.legend=new go({ctx:t.ctx,options:n,chart:t});Nr.configure(t,r,n),Nr.addBox(t,r)},stop(t){Nr.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,n){const r=t.legend;Nr.configure(t,r,n),r.options=n},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,n){const r=e.datasetIndex,i=n.chart;i.isDatasetVisible(r)?(i.hide(r),e.hidden=!0):(i.show(r),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:i,color:o}}=t.legend.options;return t._getSortedDatasetMetas().map((t=>{const a=t.controller.getStyle(n?0:void 0),s=_e(a.borderWidth);return{text:e[t.index].label,fillStyle:a.backgroundColor,fontColor:o,hidden:!t.visible,lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOffset:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:(s.width+s.height)/4,strokeStyle:a.borderColor,pointStyle:r||a.pointStyle,rotation:a.rotation,textAlign:i||a.textAlign,borderRadius:0,datasetIndex:t.index}}),this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class mo extends Qn{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){const n=this.options;if(this.left=0,this.top=0,!n.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=t,this.height=this.bottom=e;const r=a(n.text)?n.text.length:1;this._padding=_e(n.padding);const i=r*we(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){const t=this.options.position;return"top"===t||"bottom"===t}_drawArgs(t){const{top:e,left:n,bottom:r,right:i,options:o}=this,a=o.align;let s,l,u,c=0;return this.isHorizontal()?(l=at(a,n,i),u=e+t,s=i-n):("left"===o.position?(l=n+t,u=at(a,r,e),c=-.5*D):(l=i-t,u=at(a,e,r),c=.5*D),s=r-e),{titleX:l,titleY:u,maxWidth:s,rotation:c}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const n=we(e.font),r=n.lineHeight/2+this._padding.top,{titleX:i,titleY:o,maxWidth:a,rotation:s}=this._drawArgs(r);he(t,e.text,0,0,n,{color:e.color,maxWidth:a,rotation:s,textAlign:ot(e.align),textBaseline:"middle",translation:[i,o]})}}var vo={id:"title",_element:mo,start(t,e,n){!function(t,e){const n=new mo({ctx:t.ctx,options:e,chart:t});Nr.configure(t,n,e),Nr.addBox(t,n),t.titleBlock=n}(t,n)},stop(t){const e=t.titleBlock;Nr.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,n){const r=t.titleBlock;Nr.configure(t,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};new WeakMap;const bo={average(t){if(!t.length)return!1;let e,n,r=0,i=0,o=0;for(e=0,n=t.length;e<n;++e){const n=t[e].element;if(n&&n.hasValue()){const t=n.tooltipPosition();r+=t.x,i+=t.y,++o}}return{x:r/o,y:i/o}},nearest(t,e){if(!t.length)return!1;
vendor: 10,801 bytes, line 65
65let n,r,i,o=e.x,a=e.y,s=Number.POSITIVE_INFINITY;for(n=0,r=t.length;n<r;++n){const r=t[n].element;if(r&&r.hasValue()){const t=G(e,r.getCenterPoint());t<s&&(s=t,i=r)}}if(i){const t=i.tooltipPosition();o=t.x,a=t.y}return{x:o,y:a}}};function xo(t,e){return e&&(a(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function _o(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function wo(t,e){const{element:n,datasetIndex:r,index:i}=e,o=t.getDatasetMeta(r).controller,{label:a,value:s}=o.getLabelAndValue(i);return{chart:t,label:a,parsed:o.getParsed(i),raw:t.data.datasets[r].data[i],formattedValue:s,dataset:o.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function So(t,e){const n=t.chart.ctx,{body:r,footer:i,title:o}=t,{boxWidth:a,boxHeight:s}=e,l=we(e.bodyFont),u=we(e.titleFont),c=we(e.footerFont),d=o.length,h=i.length,p=r.length,g=_e(e.padding);let y=g.height,m=0,v=r.reduce(((t,e)=>t+e.before.length+e.lines.length+e.after.length),0);if(v+=t.beforeBody.length+t.afterBody.length,d&&(y+=d*u.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),v){y+=p*(e.displayColors?Math.max(s,l.lineHeight):l.lineHeight)+(v-p)*l.lineHeight+(v-1)*e.bodySpacing}h&&(y+=e.footerMarginTop+h*c.lineHeight+(h-1)*e.footerSpacing);let b=0;const x=function(t){m=Math.max(m,n.measureText(t).width+b)};return n.save(),n.font=u.string,f(t.title,x),n.font=l.string,f(t.beforeBody.concat(t.afterBody),x),b=e.displayColors?a+2+e.boxPadding:0,f(r,(t=>{f(t.before,x),f(t.lines,x),f(t.after,x)})),b=0,n.font=c.string,f(t.footer,x),n.restore(),m+=g.width,{width:m,height:y}}function Mo(t,e,n,r){const{x:i,width:o}=n,{width:a,chartArea:{left:s,right:l}}=t;let u="center";return"center"===r?u=i<=(s+l)/2?"left":"right":i<=o/2?u="left":i>=a-o/2&&(u="right"),function(t,e,n,r){const{x:i,width:o}=r,a=n.caretSize+n.caretPadding;return"left"===t&&i+o+a>e.width||"right"===t&&i-o-a<0||void 0}(u,t,e,n)&&(u="center"),u}function Io(t,e,n){const r=n.yAlign||e.yAlign||function(t,e){const{y:n,height:r}=e;return n<r/2?"top":n>t.height-r/2?"bottom":"center"}(t,n);return{xAlign:n.xAlign||e.xAlign||Mo(t,e,n,r),yAlign:r}}function Ao(t,e,n,r){const{caretSize:i,caretPadding:o,cornerRadius:a}=t,{xAlign:s,yAlign:l}=n,u=i+o,{topLeft:c,topRight:d,bottomLeft:h,bottomRight:f}=xe(a);let p=function(t,e){let{x:n,width:r}=t;return"right"===e?n-=r:"center"===e&&(n-=r/2),n}(e,s);const g=function(t,e,n){let{y:r,height:i}=t;return"top"===e?r+=n:r-="bottom"===e?i+n:i/2,r}(e,l,u);return"center"===l?"left"===s?p+=u:"right"===s&&(p-=u):"left"===s?p-=Math.max(c,h)+i:"right"===s&&(p+=Math.max(d,f)+i),{x:X(p,0,r.width-e.width),y:X(g,0,r.height-e.height)}}function Do(t,e,n){const r=_e(n.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-r.right:t.x+r.left}function To(t){return xo([],_o(t))}function Co(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}class Oo extends Qn{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart||t._chart,this._chart=this.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const e=this.chart,n=this.options.setContext(this.getContext()),r=n.enabled&&e.options.animation&&n.animations,i=new In(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=(t=this.chart.getContext(),e=this,n=this._tooltipItems,Me(t,{tooltip:e,tooltipItems:n,type:"tooltip"})));var t,e,n}getTitle(t,e){const{callbacks:n}=e,r=n.beforeTitle.apply(this,[t]),i=n.title.apply(this,[t]),o=n.afterTitle.apply(this,[t]);let a=[];return a=xo(a,_o(r)),a=xo(a,_o(i)),a=xo(a,_o(o)),a}getBeforeBody(t,e){return To(e.callbacks.beforeBody.apply(this,[t]))}getBody(t,e){const{callbacks:n}=e,r=[];return f(t,(t=>{const e={before:[],lines:[],after:[]},i=Co(n,t);xo(e.before,_o(i.beforeLabel.call(this,t))),xo(e.lines,i.label.call(this,t)),xo(e.after,_o(i.afterLabel.call(this,t))),r.push(e)})),r}getAfterBody(t,e){return To(e.callbacks.afterBody.apply(this,[t]))}getFooter(t,e){const{callbacks:n}=e,r=n.beforeFooter.apply(this,[t]),i=n.footer.apply(this,[t]),o=n.afterFooter.apply(this,[t]);let a=[];return a=xo(a,_o(r)),a=xo(a,_o(i)),a=xo(a,_o(o)),a}_createItems(t){const e=this._active,n=this.chart.data,r=[],i=[],o=[];let a,s,l=[];for(a=0,s=e.length;a<s;++a)l.push(wo(this.chart,e[a]));return t.filter&&(l=l.filter(((e,r,i)=>t.filter(e,r,i,n)))),t.itemSort&&(l=l.sort(((e,r)=>t.itemSort(e,r,n)))),f(l,(e=>{const n=Co(t.callbacks,e);r.push(n.labelColor.call(this,e)),i.push(n.labelPointStyle.call(this,e)),o.push(n.labelTextColor.call(this,e))})),this.labelColors=r,this.labelPointStyles=i,this.labelTextColors=o,this.dataPoints=l,l}update(t,e){const n=this.options.setContext(this.getContext()),r=this._active;let i,o=[];if(r.length){const t=bo[n.position].call(this,r,this._eventPosition);o=this._createItems(n),this.title=this.getTitle(o,n),this.beforeBody=this.getBeforeBody(o,n),this.body=this.getBody(o,n),this.afterBody=this.getAfterBody(o,n),this.footer=this.getFooter(o,n);const e=this._size=So(this,n),a=Object.assign({},t,e),s=Io(this.chart,n,a),l=Ao(n,a,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,i={opacity:1,x:l.x,y:l.y,width:e.width,height:e.height,caretX:t.x,caretY:t.y}}else 0!==this.opacity&&(i={opacity:0});this._tooltipItems=o,this.$context=void 0,i&&this._resolveAnimations().update(this,i),t&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,n,r){const i=this.getCaretPosition(t,n,r);e.lineTo(i.x1,i.y1),e.lineTo(i.x2,i.y2),e.lineTo(i.x3,i.y3)}getCaretPosition(t,e,n){const{xAlign:r,yAlign:i}=this,{caretSize:o,cornerRadius:a}=n,{topLeft:s,topRight:l,bottomLeft:u,bottomRight:c}=xe(a),{x:d,y:h}=t,{width:f,height:p}=e;let g,y,m,v,b,x;return"center"===i?(b=h+p/2,"left"===r?(g=d,y=g-o,v=b+o,x=b-o):(g=d+f,y=g+o,v=b-o,x=b+o),m=g):(y="left"===r?d+Math.max(s,u)+o:"right"===r?d+f-Math.max(l,c)-o:this.caretX,"top"===i?(v=h,b=v-o,g=y-o,m=y+o):(v=h+p,b=v+o,g=y+o,m=y-o),x=v),{x1:g,x2:y,x3:m,y1:v,y2:b,y3:x}}drawTitle(t,e,n){const r=this.title,i=r.length;let o,a,s;if(i){const l=cn(n.rtl,this.x,this.width);for(t.x=Do(this,n.titleAlign,n),e.textAlign=l.textAlign(n.titleAlign),e.textBaseline="middle",o=we(n.titleFont),a=n.titleSpacing,e.fillStyle=n.titleColor,e.font=o.string,s=0;s<i;++s)e.fillText(r[s],l.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+a,s+1===i&&(t.y+=n.titleMarginBottom-a)}}_drawColorBox(t,e,n,r,i){const o=this.labelColors[n],a=this.labelPointStyles[n],{boxHeight:l,boxWidth:u,boxPadding:c}=i,d=we(i.bodyFont),h=Do(this,"left",i),f=r.x(h),p=l<d.lineHeight?(d.lineHeight-l)/2:0,g=e.y+p;if(i.usePointStyle){const e={radius:Math.min(u,l)/2,pointStyle:a.pointStyle,rotation:a.rotation,borderWidth:1},n=r.leftForLtr(f,u)+u/2,s=g+l/2;t.strokeStyle=i.multiKeyBackground,t.fillStyle=i.multiKeyBackground,oe(t,e,n,s),t.strokeStyle=o.borderColor,t.fillStyle=o.backgroundColor,oe(t,e,n,s)}else{t.lineWidth=s(o.borderWidth)?Math.max(...Object.values(o.borderWidth)):o.borderWidth||1,t.strokeStyle=o.borderColor,t.setLineDash(o.borderDash||[]),t.lineDashOffset=o.borderDashOffset||0;const e=r.leftForLtr(f,u-c),n=r.leftForLtr(r.xPlus(f,1),u-c-2),a=xe(o.borderRadius);Object.values(a).some((t=>0!==t))?(t.beginPath(),t.fillStyle=i.multiKeyBackground,pe(t,{x:e,y:g,w:u,h:l,radius:a}),t.fill(),t.stroke(),t.fillStyle=o.backgroundColor,t.beginPath(),pe(t,{x:n,y:g+1,w:u-2,h:l-2,radius:a}),t.fill()):(t.fillStyle=i.multiKeyBackground,t.fillRect(e,g,u,l),t.strokeRect(e,g,u,l),t.fillStyle=o.backgroundColor,t.fillRect(n,g+1,u-2,l-2))}t.fillStyle=this.labelTextColors[n]}drawBody(t,e,n){const{body:r}=this,{bodySpacing:i,bodyAlign:o,displayColors:a,boxHeight:s,boxWidth:l,boxPadding:u}=n,c=we(n.bodyFont);let d=c.lineHeight,h=0;const p=cn(n.rtl,this.x,this.width),g=function(n){e.fillText(n,p.x(t.x+h),t.y+d/2),t.y+=d+i},y=p.textAlign(o);let m,v,b,x,_,w,S;for(e.textAlign=o,e.textBaseline="middle",e.font=c.string,t.x=Do(this,y,n),e.fillStyle=n.bodyColor,f(this.beforeBody,g),h=a&&"right"!==y?"center"===o?l/2+u:l+2+u:0,x=0,w=r.length;x<w;++x){for(m=r[x],v=this.labelTextColors[x],e.fillStyle=v,f(m.before,g),b=m.lines,a&&b.length&&(this._drawColorBox(e,t,x,p,n),d=Math.max(c.lineHeight,s)),_=0,S=b.length;_<S;++_)g(b[_]),d=c.lineHeight;f(m.after,g)}h=0,d=c.lineHeight,f(this.afterBody,g),t.y-=i}drawFooter(t,e,n){const r=this.footer,i=r.length;let o,a;if(i){const s=cn(n.rtl,this.x,this.width);for(t.x=Do(this,n.footerAlign,n),t.y+=n.footerMarginTop,e.textAlign=s.textAlign(n.footerAlign),e.textBaseline="middle",o=we(n.footerFont),e.fillStyle=n.footerColor,e.font=o.string,a=0;a<i;++a)e.fillText(r[a],s.x(t.x),t.y+o.lineHeight/2),t.y+=o.lineHeight+n.footerSpacing}}drawBackground(t,e,n,r){const{xAlign:i,yAlign:o}=this,{x:a,y:s}=t,{width:l,height:u}=n,{topLeft:c,topRight:d,bottomLeft:h,bottomRight:f}=xe(r.cornerRadius);e.fillStyle=r.backgroundColor,e.strokeStyle=r.borderColor,e.lineWidth=r.borderWidth,e.beginPath(),e.moveTo(a+c,s),"top"===o&&this.drawCaret(t,e,n,r),e.lineTo(a+l-d,s),e.quadraticCurveTo(a+l,s,a+l,s+d),"center"===o&&"right"===i&&this.drawCaret(t,e,n,r),e.lineTo(a+l,s+u-f),e.quadraticCurveTo(a+l,s+u,a+l-f,s+u),"bottom"===o&&this.drawCaret(t,e,n,r),e.lineTo(a+h,s+u),e.quadraticCurveTo(a,s+u,a,s+u-h),"center"===o&&"left"===i&&this.drawCaret(t,e,n,r),e.lineTo(a,s+c),e.quadraticCurveTo(a,s,a+c,s),e.closePath(),e.fill(),r.borderWidth>0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,n=this.$animations,r=n&&n.x,i=n&&n.y;if(r||i){const n=bo[t.position].call(this,this._active,this._eventPosition);if(!n)return;const o=this._size=So(this,t),a=Object.assign({},n,this._size),s=Io(e,t,a),l=Ao(t,a,s,e);r._to===l.x&&i._to===l.y||(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=o.width,this.height=o.height,this.caretX=n.x,this.caretY=n.y,this._resolveAnimations().update(this,l))}}_willRender(){return!!this.opacity}draw(t){const e=this.options.setContext(this.getContext());let n=this.opacity;if(!n)return;this._updateAnimationTarget(e);const r={width:this.width,height:this.height},i={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;const o=_e(e.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;
vendor: 15,330 bytes, line 65
65e.enabled&&a&&(t.save(),t.globalAlpha=n,this.drawBackground(i,t,r,e),dn(t,e.textDirection),i.y+=o.top,this.drawTitle(i,t,e),this.drawBody(i,t,e),this.drawFooter(i,t,e),hn(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const n=this._active,r=t.map((({datasetIndex:t,index:e})=>{const n=this.chart.getDatasetMeta(t);if(!n)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:n.data[e],index:e}})),i=!p(n,r),o=this._positionChanged(r,e);(i||o)&&(this._active=r,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,n=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,i=this._active||[],o=this._getActiveElements(t,i,e,n),a=this._positionChanged(o,t),s=e||!p(o,i)||a;return s&&(this._active=o,(r.enabled||r.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),s}_getActiveElements(t,e,n,r){const i=this.options;if("mouseout"===t.type)return[];if(!r)return e;const o=this.chart.getElementsAtEventForMode(t,i.mode,i,n);return i.reverse&&o.reverse(),o}_positionChanged(t,e){const{caretX:n,caretY:r,options:i}=this,o=bo[i.position].call(this,t,e);return!1!==o&&(n!==o.x||r!==o.y)}}Oo.positioners=bo;var Po={id:"tooltip",_element:Oo,positioners:bo,afterInit(t,e,n){n&&(t.tooltip=new Oo({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(!1===t.notifyPlugins("beforeTooltipDraw",n))return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n)}},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:r,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,r=n?n.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(r>0&&e.dataIndex<r)return n[e.dataIndex]}return""},afterTitle:r,beforeBody:r,beforeLabel:r,label(t){if(this&&this.options&&"dataset"===this.options.mode)return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const n=t.formattedValue;return o(n)||(e+=n),e},labelColor(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:e.borderColor,backgroundColor:e.backgroundColor,borderWidth:e.borderWidth,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:e.pointStyle,rotation:e.rotation}},afterLabel:r,afterBody:r,beforeFooter:r,footer:r,afterFooter:r}},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};function ko(t,e,n,r){const i=t.indexOf(e);if(-1===i)return((t,e,n,r)=>("string"==typeof e?(n=t.push(e)-1,r.unshift({index:n,label:e})):isNaN(e)&&(n=null),n))(t,e,n,r);return i!==t.lastIndexOf(e)?n:i}class $o extends cr{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const e=this._addedLabels;if(e.length){const t=this.getLabels();for(const{index:n,label:r}of e)t[n]===r&&t.splice(n,1);this._addedLabels=[]}super.init(t)}parse(t,e){if(o(t))return null;const n=this.getLabels();return((t,e)=>null===t?null:X(Math.round(t),0,e))(e=isFinite(e)&&n[e]===t?e:ko(n,t,c(e,t),this._addedLabels),n.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:n,max:r}=this.getMinMax(!0);"ticks"===this.options.bounds&&(t||(n=0),e||(r=this.getLabels().length-1)),this.min=n,this.max=r}buildTicks(){const t=this.min,e=this.max,n=this.options.offset,r=[];let i=this.getLabels();i=0===t&&e===i.length-1?i:i.slice(t,e+1),this._valueRange=Math.max(i.length-(n?0:1),1),this._startValue=this.min-(n?.5:0);for(let n=t;n<=e;n++)r.push({value:n});return r}getLabelForValue(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return"number"!=typeof t&&(t=this.parse(t)),null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}function Eo(t,e){const n=[],{bounds:r,step:i,min:a,max:s,precision:l,count:u,maxTicks:c,maxDigits:d,includeBounds:h}=t,f=i||1,p=c-1,{min:g,max:y}=e,m=!o(a),v=!o(s),b=!o(u),x=(y-g)/(d+1);let _,w,S,M,I=R((y-g)/p/f)*f;if(I<1e-14&&!m&&!v)return[{value:g},{value:y}];M=Math.ceil(y/I)-Math.floor(g/I),M>p&&(I=R(M*I/p/f)*f),o(l)||(_=Math.pow(10,l),I=Math.ceil(I*_)/_),"ticks"===r?(w=Math.floor(g/I)*I,S=Math.ceil(y/I)*I):(w=g,S=y),m&&v&&i&&function(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}((s-a)/i,I/1e3)?(M=Math.round(Math.min((s-a)/I,c)),I=(s-a)/M,w=a,S=s):b?(w=m?a:w,S=v?s:S,M=u-1,I=(S-w)/M):(M=(S-w)/I,M=B(M,Math.round(M),I/1e3)?Math.round(M):Math.ceil(M));const A=Math.max(H(I),H(w));_=Math.pow(10,o(l)?A:l),w=Math.round(w*_)/_,S=Math.round(S*_)/_;let D=0;for(m&&(h&&w!==a?(n.push({value:a}),w<a&&D++,B(Math.round((w+D*I)*_)/_,a,Lo(a,x,t))&&D++):w<a&&D++);D<M;++D)n.push({value:Math.round((w+D*I)*_)/_});return v&&h&&S!==s?n.length&&B(n[n.length-1].value,s,Lo(s,x,t))?n[n.length-1].value=s:n.push({value:s}):v&&S!==s||n.push({value:S}),n}function Lo(t,e,{horizontal:n,minRotation:r}){const i=z(r),o=(n?Math.sin(i):Math.cos(i))||.001,a=.75*e*(""+t).length;return Math.min(e/o,a)}$o.id="category",$o.defaults={ticks:{callback:$o.prototype.getLabelForValue}};class No extends cr{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return o(t)||("number"==typeof t||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:r,max:i}=this;const o=t=>r=e?r:t,a=t=>i=n?i:t;if(t){const t=N(r),e=N(i);t<0&&e<0?a(0):t>0&&e>0&&o(0)}if(r===i){let e=1;(i>=Number.MAX_SAFE_INTEGER||r<=Number.MIN_SAFE_INTEGER)&&(e=Math.abs(.05*i)),a(i+e),t||o(r-e)}this.min=r,this.max=i}getTickLimit(){const t=this.options.ticks;let e,{maxTicksLimit:n,stepSize:r}=t;return r?(e=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,e>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${e} ticks. Limiting to 1000.`),e=1e3)):(e=this.computeTickLimit(),n=n||11),n&&(e=Math.min(n,e)),e}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let n=this.getTickLimit();n=Math.max(2,n);const r=Eo({maxTicks:n,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},this._range||this);return"ticks"===t.bounds&&j(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){const t=this.ticks;let e=this.min,n=this.max;if(super.configure(),this.options.offset&&t.length){const r=(n-e)/Math.max(t.length-1,1)/2;e-=r,n+=r}this._startValue=e,this._endValue=n,this._valueRange=n-e}getLabelForValue(t){return un(t,this.chart.options.locale,this.options.ticks.format)}}class Ro extends No{determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=l(t)?t:0,this.max=l(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,n=z(this.options.ticks.minRotation),r=(t?Math.sin(n):Math.cos(n))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,i.lineHeight/r))}getPixelForValue(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}function Fo(t){return 1===t/Math.pow(10,Math.floor(L(t)))}Ro.id="linear",Ro.defaults={ticks:{callback:er.formatters.numeric}};class Bo extends cr{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,e){const n=No.prototype.parse.apply(this,[t,e]);if(0!==n)return l(n)&&n>0?n:null;this._zero=!0}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=l(t)?Math.max(0,t):null,this.max=l(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let n=this.min,r=this.max;const i=e=>n=t?n:e,o=t=>r=e?r:t,a=(t,e)=>Math.pow(10,Math.floor(L(t))+e);n===r&&(n<=0?(i(1),o(10)):(i(a(n,-1)),o(a(r,1)))),n<=0&&i(a(r,-1)),r<=0&&o(a(n,1)),this._zero&&this.min!==this._suggestedMin&&n===a(this.min,0)&&i(a(n,-1)),this.min=n,this.max=r}buildTicks(){const t=this.options,e=function(t,e){const n=Math.floor(L(e.max)),r=Math.ceil(e.max/Math.pow(10,n)),i=[];let o=u(t.min,Math.pow(10,Math.floor(L(e.min)))),a=Math.floor(L(o)),s=Math.floor(o/Math.pow(10,a)),l=a<0?Math.pow(10,Math.abs(a)):1;do{i.push({value:o,major:Fo(o)}),++s,10===s&&(s=1,++a,l=a>=0?1:l),o=Math.round(s*Math.pow(10,a)*l)/l}while(a<n||a===n&&s<r);const c=u(t.max,o);return i.push({value:c,major:Fo(o)}),i}({min:this._userMin,max:this._userMax},this);return"ticks"===t.bounds&&j(e,this,"value"),t.reverse?(e.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),e}getLabelForValue(t){return void 0===t?"0":un(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=L(t),this._valueRange=L(this.max)-L(t)}getPixelForValue(t){return void 0!==t&&0!==t||(t=this.min),null===t||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(L(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const e=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+e*this._valueRange)}}function jo(t){const e=t.ticks;if(e.display&&t.display){const t=_e(e.backdropPadding);return c(e.font&&e.font.size,te.font.size)+t.height}return 0}function zo(t,e,n,r,i){return t===r||t===i?{start:e-n/2,end:e+n/2}:t<r||t>i?{start:e-n,end:e}:{start:e,end:e+n}}function Vo(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},n=Object.assign({},e),r=[],i=[],o=t._pointLabels.length,s=t.options.pointLabels,l=s.centerPointLabels?D/o:0;for(let h=0;h<o;h++){const o=s.setContext(t.getPointLabelContext(h));i[h]=o.padding;const f=t.getPointPosition(h,t.drawingArea+i[h],l),p=we(o.font),g=(u=t.ctx,c=p,d=a(d=t._pointLabels[h])?d:[d],{w:ne(u,c.string,d),h:d.length*c.lineHeight});r[h]=g;const y=U(t.getIndexAngle(h)+l),m=Math.round(V(y));Ho(n,e,y,zo(m,f.x,g.w,0,180),zo(m,f.y,g.h,90,270))}var u,c,d;t.setCenterPoint(e.l-n.l,n.r-e.r,e.t-n.t,n.b-e.b),t._pointLabelItems=function(t,e,n){const r=[],i=t._pointLabels.length,o=t.options,a=jo(o)/2,s=t.drawingArea,l=o.pointLabels.centerPointLabels?D/i:0;for(let o=0;o<i;o++){const i=t.getPointPosition(o,s+a+n[o],l),u=Math.round(V(U(i.angle+k))),c=e[o],d=Yo(i.y,c.h,u),h=Wo(u),f=Go(i.x,c.w,h);r.push({x:i.x,y:d,textAlign:h,left:f,top:d,right:f+c.w,bottom:d+c.h})}return r}(t,r,i)}function Ho(t,e,n,r,i){const o=Math.abs(Math.sin(n)),a=Math.abs(Math.cos(n));let s=0,l=0;r.start<e.l?(s=(e.l-r.start)/o,t.l=Math.min(t.l,e.l-s)):r.end>e.r&&(s=(r.end-e.r)/o,t.r=Math.max(t.r,e.r+s)),i.start<e.t?(l=(e.t-i.start)/a,t.t=Math.min(t.t,e.t-l)):i.end>e.b&&(l=(i.end-e.b)/a,t.b=Math.max(t.b,e.b+l))}function Wo(t){return 0===t||180===t?"center":t<180?"left":"right"}function Go(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function Yo(t,e,n){return 90===n||270===n?t-=e/2:(n>270||n<90)&&(t-=e),t}function Uo(t,e,n,r){const{ctx:i}=t;if(n)i.arc(t.xCenter,t.yCenter,e,0,T);else{let n=t.getPointPosition(0,e);i.moveTo(n.x,n.y);for(let o=1;o<r;o++)n=t.getPointPosition(o,e),i.lineTo(n.x,n.y)}}Bo.id="logarithmic",Bo.defaults={ticks:{callback:er.formatters.logarithmic,major:{enabled:!0}}};class Zo extends No{constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=_e(jo(this.options)/2),e=this.width=this.maxWidth-t.width,n=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+e/2+t.left),this.yCenter=Math.floor(this.top+n/2+t.top),this.drawingArea=Math.floor(Math.min(e,n)/2)}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!1);this.min=l(t)&&!isNaN(t)?t:0,this.max=l(e)&&!isNaN(e)?e:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/jo(this.options))}generateTickLabels(t){No.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map(((t,e)=>{const n=h(this.options.pointLabels.callback,[t,e],this);return n||0===n?n:""})).filter(((t,e)=>this.chart.getDataVisibility(e)))}fit(){const t=this.options;t.display&&t.pointLabels.display?Vo(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,n,r){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((n-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,n,r))}getIndexAngle(t){return U(t*(T/(this._pointLabels.length||1))+z(this.options.startAngle||0))}getDistanceFromCenterForValue(t){if(o(t))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if(o(t))return NaN;const e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){const e=this._pointLabels||[];if(t>=0&&t<e.length){const n=e[t];return function(t,e,n){return Me(t,{label:n,index:e,type:"pointLabel"})}(this.getContext(),t,n)}}getPointPosition(t,e,n=0){const r=this.getIndexAngle(t)-k+n;return{x:Math.cos(r)*e+this.xCenter,y:Math.sin(r)*e+this.yCenter,angle:r}}getPointPositionForValue(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){const{left:e,top:n,right:r,bottom:i}=this._pointLabelItems[t];return{left:e,top:n,right:r,bottom:i}}
vendor: 7,807 bytes, line 65
65drawBackground(){const{backgroundColor:t,grid:{circular:e}}=this.options;if(t){const n=this.ctx;n.save(),n.beginPath(),Uo(this,this.getDistanceFromCenterForValue(this._endValue),e,this._pointLabels.length),n.closePath(),n.fillStyle=t,n.fill(),n.restore()}}drawGrid(){const t=this.ctx,e=this.options,{angleLines:n,grid:r}=e,i=this._pointLabels.length;let a,s,l;if(e.pointLabels.display&&function(t,e){const{ctx:n,options:{pointLabels:r}}=t;for(let i=e-1;i>=0;i--){const e=r.setContext(t.getPointLabelContext(i)),a=we(e.font),{x:s,y:l,textAlign:u,left:c,top:d,right:h,bottom:f}=t._pointLabelItems[i],{backdropColor:p}=e;if(!o(p)){const t=xe(e.borderRadius),r=_e(e.backdropPadding);n.fillStyle=p;const i=c-r.left,o=d-r.top,a=h-c+r.width,s=f-d+r.height;Object.values(t).some((t=>0!==t))?(n.beginPath(),pe(n,{x:i,y:o,w:a,h:s,radius:t}),n.fill()):n.fillRect(i,o,a,s)}he(n,t._pointLabels[i],s,l+a.lineHeight/2,a,{color:e.color,textAlign:u,textBaseline:"middle"})}}(this,i),r.display&&this.ticks.forEach(((t,e)=>{if(0!==e){s=this.getDistanceFromCenterForValue(t.value);!function(t,e,n,r){const i=t.ctx,o=e.circular,{color:a,lineWidth:s}=e;!o&&!r||!a||!s||n<0||(i.save(),i.strokeStyle=a,i.lineWidth=s,i.setLineDash(e.borderDash),i.lineDashOffset=e.borderDashOffset,i.beginPath(),Uo(t,n,o,r),i.closePath(),i.stroke(),i.restore())}(this,r.setContext(this.getContext(e-1)),s,i)}})),n.display){for(t.save(),a=i-1;a>=0;a--){const r=n.setContext(this.getPointLabelContext(a)),{color:i,lineWidth:o}=r;o&&i&&(t.lineWidth=o,t.strokeStyle=i,t.setLineDash(r.borderDash),t.lineDashOffset=r.borderDashOffset,s=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),l=this.getPointPosition(a,s),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(l.x,l.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,n=e.ticks;if(!n.display)return;const r=this.getIndexAngle(0);let i,o;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(r),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach(((r,a)=>{if(0===a&&!e.reverse)return;const s=n.setContext(this.getContext(a)),l=we(s.font);if(i=this.getDistanceFromCenterForValue(this.ticks[a].value),s.showLabelBackdrop){t.font=l.string,o=t.measureText(r.label).width,t.fillStyle=s.backdropColor;const e=_e(s.backdropPadding);t.fillRect(-o/2-e.left,-i-l.size/2-e.top,o+e.width,l.size+e.height)}he(t,r.label,0,-i,l,{color:s.color})})),t.restore()}drawTitle(){}}Zo.id="radialLinear",Zo.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:er.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(t){return t},padding:5,centerPointLabels:!1}},Zo.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},Zo.descriptors={angleLines:{_fallback:"grid"}};const Xo={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},qo=Object.keys(Xo);function Ko(t,e){return t-e}function Jo(t,e){if(o(e))return null;const n=t._adapter,{parser:r,round:i,isoWeekday:a}=t._parseOpts;let s=e;return"function"==typeof r&&(s=r(s)),l(s)||(s="string"==typeof r?n.parse(s,r):n.parse(s)),null===s?null:(i&&(s="week"!==i||!F(a)&&!0!==a?n.startOf(s,i):n.startOf(s,"isoWeek",a)),+s)}function Qo(t,e,n,r){const i=qo.length;for(let o=qo.indexOf(t);o<i-1;++o){const t=Xo[qo[o]],i=t.steps?t.steps:Number.MAX_SAFE_INTEGER;if(t.common&&Math.ceil((n-e)/(i*t.size))<=r)return qo[o]}return qo[i-1]}function ta(t,e,n){if(n){if(n.length){const{lo:r,hi:i}=K(n,e);t[n[r]>=e?n[r]:n[i]]=!0}}else t[e]=!0}function ea(t,e,n){const r=[],i={},o=e.length;let a,s;for(a=0;a<o;++a)s=e[a],i[s]=a,r.push({value:s,major:!1});return 0!==o&&n?function(t,e,n,r){const i=t._adapter,o=+i.startOf(e[0].value,r),a=e[e.length-1].value;let s,l;for(s=o;s<=a;s=+i.add(s,1,r))l=n[s],l>=0&&(e[l].major=!0);return e}(t,r,i,n):r}class na extends cr{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,e){const n=t.time||(t.time={}),r=this._adapter=new yr._date(t.adapters.date);r.init(e),b(n.displayFormats,r.formats()),this._parseOpts={parser:n.parser,round:n.round,isoWeekday:n.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return void 0===t?null:Jo(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,e=this._adapter,n=t.time.unit||"day";let{min:r,max:i,minDefined:o,maxDefined:a}=this.getUserBounds();function s(t){o||isNaN(t.min)||(r=Math.min(r,t.min)),a||isNaN(t.max)||(i=Math.max(i,t.max))}o&&a||(s(this._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||s(this.getMinMax(!1))),r=l(r)&&!isNaN(r)?r:+e.startOf(Date.now(),n),i=l(i)&&!isNaN(i)?i:+e.endOf(Date.now(),n)+1,this.min=Math.min(r,i-1),this.max=Math.max(r+1,i)}_getLabelBounds(){const t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],n=t[t.length-1]),{min:e,max:n}}buildTicks(){const t=this.options,e=t.time,n=t.ticks,r="labels"===n.source?this.getLabelTimestamps():this._generate();"ticks"===t.bounds&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);const i=this.min,o=function(t,e,n){let r=0,i=t.length;for(;r<i&&t[r]<e;)r++;for(;i>r&&t[i-1]>n;)i--;return r>0||i<t.length?t.slice(r,i):t}(r,i,this.max);return this._unit=e.unit||(n.autoSkip?Qo(e.minUnit,this.min,this.max,this._getLabelCapacity(i)):function(t,e,n,r,i){for(let o=qo.length-1;o>=qo.indexOf(n);o--){const n=qo[o];if(Xo[n].common&&t._adapter.diff(i,r,n)>=e-1)return n}return qo[n?qo.indexOf(n):0]}(this,o.length,e.minUnit,this.min,this.max)),this._majorUnit=n.major.enabled&&"year"!==this._unit?function(t){for(let e=qo.indexOf(t)+1,n=qo.length;e<n;++e)if(Xo[qo[e]].common)return qo[e]}(this._unit):void 0,this.initOffsets(r),t.reverse&&o.reverse(),ea(this,o,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map((t=>+t.value)))}initOffsets(t){let e,n,r=0,i=0;this.options.offset&&t.length&&(e=this.getDecimalForValue(t[0]),r=1===t.length?1-e:(this.getDecimalForValue(t[1])-e)/2,n=this.getDecimalForValue(t[t.length-1]),i=1===t.length?n:(n-this.getDecimalForValue(t[t.length-2]))/2);const o=t.length<3?.5:.25;r=X(r,0,o),i=X(i,0,o),this._offsets={start:r,end:i,factor:1/(r+1+i)}}_generate(){const t=this._adapter,e=this.min,n=this.max,r=this.options,i=r.time,o=i.unit||Qo(i.minUnit,e,n,this._getLabelCapacity(e)),a=c(i.stepSize,1),s="week"===o&&i.isoWeekday,l=F(s)||!0===s,u={};let d,h,f=e;if(l&&(f=+t.startOf(f,"isoWeek",s)),f=+t.startOf(f,l?"day":o),t.diff(n,e,o)>1e5*a)throw new Error(e+" and "+n+" are too far apart with stepSize of "+a+" "+o);const p="data"===r.ticks.source&&this.getDataTimestamps();for(d=f,h=0;d<n;d=+t.add(d,a,o),h++)ta(u,d,p);return d!==n&&"ticks"!==r.bounds&&1!==h||ta(u,d,p),Object.keys(u).sort(((t,e)=>t-e)).map((t=>+t))}getLabelForValue(t){const e=this._adapter,n=this.options.time;return n.tooltipFormat?e.format(t,n.tooltipFormat):e.format(t,n.displayFormats.datetime)}_tickFormatFunction(t,e,n,r){const i=this.options,o=i.time.displayFormats,a=this._unit,s=this._majorUnit,l=a&&o[a],u=s&&o[s],c=n[e],d=s&&u&&c&&c.major,f=this._adapter.format(t,r||(d?u:l)),p=i.ticks.callback;return p?h(p,[f,e,n],this):f}generateTickLabels(t){let e,n,r;for(e=0,n=t.length;e<n;
65++e)r=t[e],r.label=this._tickFormatFunction(r.value,e,t)}getDecimalForValue(t){return null===t?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const e=this._offsets,n=this.getDecimalForValue(t);return this.getPixelForDecimal((e.start+n)*e.factor)}getValueForPixel(t){const e=this._offsets,n=this.getDecimalForPixel(t)/e.factor-e.end;return this.min+n*(this.max-this.min)}_getLabelSize(t){const e=this.options.ticks,n=this.ctx.measureText(t).width,r=z(this.isHorizontal()?e.maxRotation:e.minRotation),i=Math.cos(r),o=Math.sin(r),a=this._resolveTickFontOptions(0).size;return{w:n*i+a*o,h:n*o+a*i}}_getLabelCapacity(t){const e=this.options.time,n=e.displayFormats,r=n[e.unit]||n.millisecond,i=this._tickFormatFunction(t,0,ea(this,[t],this._majorUnit),r),o=this._getLabelSize(i),a=Math.floor(this.isHorizontal()?this.width/o.w:this.height/o.h)-1;return a>0?a:1}getDataTimestamps(){let t,e,n=this._cache.data||[];if(n.length)return n;const r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(t=0,e=r.length;t<e;++t)n=n.concat(r[t].controller.getAllParsedValues(this));return this._cache.data=this.normalize(n)}getLabelTimestamps(){const t=this._cache.labels||[];let e,n;if(t.length)return t;const r=this.getLabels();for(e=0,n=r.length;e<n;++e)t.push(Jo(this,r[e]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return nt(t.sort(Ko))}}function ra(t,e,n){let r,i,o,a,s=0,l=t.length-1;n?(e>=t[s].pos&&e<=t[l].pos&&({lo:s,hi:l}=J(t,"pos",e)),({pos:r,time:o}=t[s]),({pos:i,time:a}=t[l])):(e>=t[s].time&&e<=t[l].time&&({lo:s,hi:l}=J(t,"time",e)),({time:r,pos:o}=t[s]),({time:i,pos:a}=t[l]));const u=i-r;return u?o+(a-o)*(e-r)/u:o}na.id="time",na.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};class ia extends na{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=ra(e,this.min),this._tableRange=ra(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:n}=this,r=[],i=[];let o,a,s,l,u;for(o=0,a=t.length;o<a;++o)l=t[o],l>=e&&l<=n&&r.push(l);if(r.length<2)return[{time:e,pos:0},{time:n,pos:1}];for(o=0,a=r.length;o<a;++o)u=r[o+1],s=r[o-1],l=r[o],Math.round((u+s)/2)!==l&&i.push({time:l,pos:o/(a-1)});return i}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),n=this.getLabelTimestamps();return t=e.length&&n.length?this.normalize(e.concat(n)):e.length?e:n,t=this._cache.all=t,t}getDecimalForValue(t){return(ra(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,n=this.getDecimalForPixel(t)/e.factor-e.end;return ra(this._table,n*this._tableRange+this._minPos,!0)}}ia.id="timeseries",ia.defaults=na.defaults},35840:function(t,e,n){"use strict";function r(t,e){return t instanceof Date?new t.constructor(e):new Date(e)}n.d(e,{w:function(){return r}})},1056:function(t,e,n){"use strict";n.d(e,{GP:function(){return tt}});const r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function i(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const o={date:i({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:i({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:i({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function s(t){return(e,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&t.formattingValues){const e=t.defaultFormattingWidth||t.defaultWidth,i=n?.width?String(n.width):e;r=t.formattingValues[i]||t.formattingValues[e]}else{const e=t.defaultWidth,i=n?.width?String(n.width):t.defaultWidth;r=t.values[i]||t.values[e]}return r[t.argumentCallback?t.argumentCallback(e):e]}}function l(t){return(e,n={})=>{const r=n.width,i=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],o=e.match(i);if(!o)return null;const a=o[0],s=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(s)?function(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n;return}(s,(t=>t.test(a))):function(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n;return}(s,(t=>t.test(a)));let u;u=t.valueCallback?t.valueCallback(l):l,u=n.valueCallback?n.valueCallback(u):u;return{value:u,rest:e.slice(a.length)}}}var u;const c={code:"en-US",formatDistance:(t,e,n)=>{let i;const o=r[t];return i="string"==typeof o?o:1===e?o.one:o.other.replace("{{count}}",e.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i},formatLong:o,formatRelative:(t,e,n,r)=>a[t],localize:{ordinalNumber:(t,e)=>{const n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:s({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:s({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:t=>t-1}),month:s({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:s({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
65ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:s({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(u={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:t=>parseInt(t,10)},(t,e={})=>{const n=t.match(u.matchPattern);if(!n)return null;const r=n[0],i=t.match(u.parsePattern);if(!i)return null;let o=u.valueCallback?u.valueCallback(i[0]):i[0];return o=e.valueCallback?e.valueCallback(o):o,{value:o,rest:t.slice(r.length)}}),era:l({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:l({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:t=>t+1}),month:l({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:l({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};let d={};function h(){return d}Math.pow(10,8);const f=6048e5;var p=n(2642);function g(t){const e=(0,p.a)(t);return e.setHours(0,0,0,0),e}function y(t){const e=(0,p.a)(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+t-+n}function m(t,e){const n=g(t),r=g(e),i=+n-y(n),o=+r-y(r);return Math.round((i-o)/864e5)}var v=n(35840);function b(t){const e=(0,p.a)(t),n=(0,v.w)(t,0);return n.setFullYear(e.getFullYear(),0,1),n.setHours(0,0,0,0),n}function x(t){const e=(0,p.a)(t);return m(e,b(e))+1}function _(t,e){const n=h(),r=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,i=(0,p.a)(t),o=i.getDay(),a=(o<r?7:0)+o-r;return i.setDate(i.getDate()-a),i.setHours(0,0,0,0),i}function w(t){return _(t,{weekStartsOn:1})}function S(t){const e=(0,p.a)(t),n=e.getFullYear(),r=(0,v.w)(t,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const i=w(r),o=(0,v.w)(t,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);const a=w(o);return e.getTime()>=i.getTime()?n+1:e.getTime()>=a.getTime()?n:n-1}function M(t){const e=S(t),n=(0,v.w)(t,0);return n.setFullYear(e,0,4),n.setHours(0,0,0,0),w(n)}function I(t){const e=(0,p.a)(t),n=+w(e)-+M(e);return Math.round(n/f)+1}function A(t,e){const n=(0,p.a)(t),r=n.getFullYear(),i=h(),o=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,a=(0,v.w)(t,0);a.setFullYear(r+1,0,o),a.setHours(0,0,0,0);const s=_(a,e),l=(0,v.w)(t,0);l.setFullYear(r,0,o),l.setHours(0,0,0,0);const u=_(l,e);return n.getTime()>=s.getTime()?r+1:n.getTime()>=u.getTime()?r:r-1}function D(t,e){const n=h(),r=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,i=A(t,e),o=(0,v.w)(t,0);o.setFullYear(i,0,r),o.setHours(0,0,0,0);return _(o,e)}function T(t,e){const n=(0,p.a)(t),r=+_(n,e)-+D(n,e);return Math.round(r/f)+1}function C(t,e){return(t<0?"-":"")+Math.abs(t).toString().padStart(e,"0")}const O={y(t,e){const n=t.getFullYear(),r=n>0?n:1-n;return C("yy"===e?r%100:r,e.length)},M(t,e){const n=t.getMonth();return"M"===e?String(n+1):C(n+1,2)},d(t,e){return C(t.getDate(),e.length)},a(t,e){const n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];
vendor: 10,829 bytes, line 65
65default:return"am"===n?"a.m.":"p.m."}},h(t,e){return C(t.getHours()%12||12,e.length)},H(t,e){return C(t.getHours(),e.length)},m(t,e){return C(t.getMinutes(),e.length)},s(t,e){return C(t.getSeconds(),e.length)},S(t,e){const n=e.length,r=t.getMilliseconds();return C(Math.trunc(r*Math.pow(10,n-3)),e.length)}},P="midnight",k="noon",$="morning",E="afternoon",L="evening",N="night",R={G:function(t,e,n){const r=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if("yo"===e){const e=t.getFullYear(),r=e>0?e:1-e;return n.ordinalNumber(r,{unit:"year"})}return O.y(t,e)},Y:function(t,e,n,r){const i=A(t,r),o=i>0?i:1-i;if("YY"===e){return C(o%100,2)}return"Yo"===e?n.ordinalNumber(o,{unit:"year"}):C(o,e.length)},R:function(t,e){return C(S(t),e.length)},u:function(t,e){return C(t.getFullYear(),e.length)},Q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return C(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return C(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){const r=t.getMonth();switch(e){case"M":case"MM":return O.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){const r=t.getMonth();switch(e){case"L":return String(r+1);case"LL":return C(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){const i=T(t,r);return"wo"===e?n.ordinalNumber(i,{unit:"week"}):C(i,e.length)},I:function(t,e,n){const r=I(t);return"Io"===e?n.ordinalNumber(r,{unit:"week"}):C(r,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getDate(),{unit:"date"}):O.d(t,e)},D:function(t,e,n){const r=x(t);return"Do"===e?n.ordinalNumber(r,{unit:"dayOfYear"}):C(r,e.length)},E:function(t,e,n){const r=t.getDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){const i=t.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(o);case"ee":return C(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){const i=t.getDay(),o=(i-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(o);case"cc":return C(o,e.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(t,e,n){const r=t.getDay(),i=0===r?7:r;switch(e){case"i":return String(i);case"ii":return C(i,e.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){const r=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,e,n){const r=t.getHours();let i;switch(i=12===r?k:0===r?P:r/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,e,n){const r=t.getHours();let i;switch(i=r>=17?L:r>=12?E:r>=4?$:N,e){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){let e=t.getHours()%12;return 0===e&&(e=12),n.ordinalNumber(e,{unit:"hour"})}return O.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getHours(),{unit:"hour"}):O.H(t,e)},K:function(t,e,n){const r=t.getHours()%12;return"Ko"===e?n.ordinalNumber(r,{unit:"hour"}):C(r,e.length)},k:function(t,e,n){let r=t.getHours();return 0===r&&(r=24),"ko"===e?n.ordinalNumber(r,{unit:"hour"}):C(r,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):O.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getSeconds(),{unit:"second"}):O.s(t,e)},S:function(t,e){return O.S(t,e)},X:function(t,e,n){const r=t.getTimezoneOffset();if(0===r)return"Z";switch(e){case"X":return B(r);case"XXXX":case"XX":return j(r);default:return j(r,":")}},x:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"x":return B(r);case"xxxx":case"xx":return j(r);default:return j(r,":")}},O:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+F(r,":");default:return"GMT"+j(r,":")}},z:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+F(r,":");default:return"GMT"+j(r,":")}},t:function(t,e,n){return C(Math.trunc(t.getTime()/1e3),e.length)},T:function(t,e,n){return C(t.getTime(),e.length)}};function F(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),i=Math.trunc(r/60),o=r%60;return 0===o?n+String(i):n+String(i)+e+C(o,2)}function B(t,e){if(t%60==0){return(t>0?"-":"+")+C(Math.abs(t)/60,2)}return j(t,e)}function j(t,e=""){const n=t>0?"-":"+",r=Math.abs(t);return n+C(Math.trunc(r/60),2)+e+C(r%60,2)}const z=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},V=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}},H={p:V,P:(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return z(t,e);let o;switch(r){case"P":o=e.dateTime({width:"short"});break;case"PP":o=e.dateTime({width:"medium"});break;case"PPP":o=e.dateTime({width:"long"});break;default:o=e.dateTime({width:"full"})}return o.replace("{{date}}",z(r,e)).replace("{{time}}",V(i,e))}},W=/^D+$/,G=/^Y+$/,Y=["D","DD","YY","YYYY"];function U(t){return t instanceof Date||"object"==typeof t&&"[object Date]"===Object.prototype.toString.call(t)}function Z(t){if(!U(t)&&"number"!=typeof t)return!1;const e=(0,p.a)(t);return!isNaN(Number(e))}const X=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,q=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,K=/^'([^]*?)'?$/,J=/''/g,Q=/[a-zA-Z]/;function tt(t,e,n){const r=h(),i=n?.locale??r.locale??c,o=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,a=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,s=(0,p.a)(t);if(!Z(s))throw new RangeError("Invalid time value");let l=e.match(q).map((t=>{const e=t[0];if("p"===e||"P"===e){return(0,H[e])(t,i.formatLong)}return t})).join("").match(X).map((t=>{if("''"===t)return{isToken:!1,value:"'"};const e=t[0];if("'"===e)return{isToken:!1,value:et(t)};if(R[e])return{isToken:!0,value:t};if(e.match(Q))throw new RangeError("Format string contains an unescaped latin alphabet character `"+e+"`");return{isToken:!1,value:t}}));i.localize.preprocessor&&(l=i.localize.preprocessor(s,l));const u={firstWeekContainsDate:o,weekStartsOn:a,locale:i};return l.map((r=>{if(!r.isToken)return r.value;const o=r.value;(!n?.useAdditionalWeekYearTokens&&function(t){return G.test(t)}(o)||!n?.useAdditionalDayOfYearTokens&&function(t){return W.test(t)}(o))&&function(t,e,n){const r=function(t,e,n){const r="Y"===t[0]?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(t,e,n);if(console.warn(r),Y.includes(t))throw new RangeError(r)}(o,e,String(t));return(0,R[o[0]])(s,o,i.localize,u)})).join("")}function et(t){const e=t.match(K);return e?e[1].replace(J,"'"):t}},38868:function(t,e,n){"use strict";n.d(e,{e:function(){return a}});var r=n(2642),i=n(35840);function o(t,e){const n=(0,r.a)(t);return isNaN(e)?(0,i.w)(t,NaN):e?(n.setDate(n.getDate()+e),n):n}function a(t,e){return o(t,-e)}},2642:function(t,e,n){"use strict";function r(t){const e=Object.prototype.toString.call(t);return t instanceof Date||"object"==typeof t&&"[object Date]"===e?new t.constructor(+t):"number"==typeof t||"[object Number]"===e||"string"==typeof t||"[object String]"===e?new Date(t):new Date(NaN)}n.d(e,{a:function(){return r}})},75267:function(t,e,n){"use strict";n.d(e,{bl:function(){return nr}});var r=n(38508);var i=function(){this.__data__=[],this.size=0};var o=function(t,e){return t===e||t!=t&&e!=e};var a=function(t,e){for(var n=t.length;n--;)if(o(t[n][0],e))return n;return-1},s=Array.prototype.splice;var l=function(t){var e=this.__data__,n=a(e,t);return!(n<0)&&(n==e.length-1?e.pop():s.call(e,n,1),--this.size,!0)};var u=function(t){var e=this.__data__,n=a(e,t);return n<0?void 0:e[n][1]};var c=function(t){return a(this.__data__,t)>-1}
vendor: 4,467 bytes, line 65
65;var d=function(t,e){var n=this.__data__,r=a(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};function h(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}h.prototype.clear=i,h.prototype.delete=l,h.prototype.get=u,h.prototype.has=c,h.prototype.set=d;var f=h;var p=function(){this.__data__=new f,this.size=0};var g=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n};var y=function(t){return this.__data__.get(t)};var m=function(t){return this.__data__.has(t)},v="object"==typeof global&&global&&global.Object===Object&&global,b="object"==typeof self&&self&&self.Object===Object&&self,x=v||b||Function("return this")(),_=x.Symbol,w=Object.prototype,S=w.hasOwnProperty,M=w.toString,I=_?_.toStringTag:void 0;var A=function(t){var e=S.call(t,I),n=t[I];try{t[I]=void 0;var r=!0}catch(t){}var i=M.call(t);return r&&(e?t[I]=n:delete t[I]),i},D=Object.prototype.toString;var T=function(t){return D.call(t)},C=_?_.toStringTag:void 0;var O=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":C&&C in Object(t)?A(t):T(t)};var P=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};var k,$=function(t){if(!P(t))return!1;var e=O(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},E=x["__core-js_shared__"],L=(k=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||""))?"Symbol(src)_1."+k:"";var N=function(t){return!!L&&L in t},R=Function.prototype.toString;var F=function(t){if(null!=t){try{return R.call(t)}catch(t){}try{return t+""}catch(t){}}return""},B=/^\[object .+?Constructor\]$/,j=Function.prototype,z=Object.prototype,V=j.toString,H=z.hasOwnProperty,W=RegExp("^"+V.call(H).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var G=function(t){return!(!P(t)||N(t))&&($(t)?W:B).test(F(t))};var Y=function(t,e){return null==t?void 0:t[e]};var U=function(t,e){var n=Y(t,e);return G(n)?n:void 0},Z=U(x,"Map"),X=U(Object,"create");var q=function(){this.__data__=X?X(null):{},this.size=0};var K=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},J=Object.prototype.hasOwnProperty;var Q=function(t){var e=this.__data__;if(X){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return J.call(e,t)?e[t]:void 0},tt=Object.prototype.hasOwnProperty;var et=function(t){var e=this.__data__;return X?void 0!==e[t]:tt.call(e,t)};var nt=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=X&&void 0===e?"__lodash_hash_undefined__":e,this};function rt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}rt.prototype.clear=q,rt.prototype.delete=K,rt.prototype.get=Q,rt.prototype.has=et,rt.prototype.set=nt;var it=rt;var ot=function(){this.size=0,this.__data__={hash:new it,map:new(Z||f),string:new it}};var at=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var st=function(t,e){var n=t.__data__;return at(e)?n["string"==typeof e?"string":"hash"]:n.map};var lt=function(t){var e=st(this,t).delete(t);return this.size-=e?1:0,e};var ut=function(t){return st(this,t).get(t)};var ct=function(t){return st(this,t).has(t)};var dt=function(t,e){var n=st(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this};function ht(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}ht.prototype.clear=ot,ht.prototype.delete=lt,ht.prototype.get=ut,ht.prototype.has=ct,ht.prototype.set=dt;var ft=ht;var pt=function(t,e){var n=this.__data__;if(n instanceof f){var r=n.__data__;if(!Z||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new ft(r)}return n.set(t,e),this.size=n.size,this};function gt(t){var e=this.__data__=new f(t);this.size=e.size}gt.prototype.clear=p,gt.prototype.delete=g,gt.prototype.get=y,gt.prototype.has=m,gt.prototype.set=pt;var yt=gt;var mt=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t},vt=function(){try{var t=U(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();var bt=function(t,e,n){"__proto__"==e&&vt?vt(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n},xt=Object.prototype.hasOwnProperty;var _t=function(t,e,n){var r=t[e];xt.call(t,e)&&o(r,n)&&(void 0!==n||e in t)||bt(t,e,n)};var wt=function(t,e,n,r){var i=!n;n||(n={});for(var o=-1,a=e.length;++o<a;
vendor: 5,760 bytes, line 65
65){var s=e[o],l=r?r(n[s],t[s],s,n,t):void 0;void 0===l&&(l=t[s]),i?bt(n,s,l):_t(n,s,l)}return n};var St=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r};var Mt=function(t){return null!=t&&"object"==typeof t};var It=function(t){return Mt(t)&&"[object Arguments]"==O(t)},At=Object.prototype,Dt=At.hasOwnProperty,Tt=At.propertyIsEnumerable,Ct=It(function(){return arguments}())?It:function(t){return Mt(t)&&Dt.call(t,"callee")&&!Tt.call(t,"callee")},Ot=Ct,Pt=Array.isArray;var kt=function(){return!1},$t="object"==typeof exports&&exports&&!exports.nodeType&&exports,Et=$t&&"object"==typeof module&&module&&!module.nodeType&&module,Lt=Et&&Et.exports===$t?x.Buffer:void 0,Nt=(Lt?Lt.isBuffer:void 0)||kt,Rt=/^(?:0|[1-9]\d*)$/;var Ft=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&Rt.test(t))&&t>-1&&t%1==0&&t<e};var Bt=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991},jt={};jt["[object Float32Array]"]=jt["[object Float64Array]"]=jt["[object Int8Array]"]=jt["[object Int16Array]"]=jt["[object Int32Array]"]=jt["[object Uint8Array]"]=jt["[object Uint8ClampedArray]"]=jt["[object Uint16Array]"]=jt["[object Uint32Array]"]=!0,jt["[object Arguments]"]=jt["[object Array]"]=jt["[object ArrayBuffer]"]=jt["[object Boolean]"]=jt["[object DataView]"]=jt["[object Date]"]=jt["[object Error]"]=jt["[object Function]"]=jt["[object Map]"]=jt["[object Number]"]=jt["[object Object]"]=jt["[object RegExp]"]=jt["[object Set]"]=jt["[object String]"]=jt["[object WeakMap]"]=!1;var zt=function(t){return Mt(t)&&Bt(t.length)&&!!jt[O(t)]};var Vt=function(t){return function(e){return t(e)}},Ht="object"==typeof exports&&exports&&!exports.nodeType&&exports,Wt=Ht&&"object"==typeof module&&module&&!module.nodeType&&module,Gt=Wt&&Wt.exports===Ht&&v.process,Yt=function(){try{var t=Wt&&Wt.require&&Wt.require("util").types;return t||Gt&&Gt.binding&&Gt.binding("util")}catch(t){}}(),Ut=Yt&&Yt.isTypedArray,Zt=Ut?Vt(Ut):zt,Xt=Object.prototype.hasOwnProperty;var qt=function(t,e){var n=Pt(t),r=!n&&Ot(t),i=!n&&!r&&Nt(t),o=!n&&!r&&!i&&Zt(t),a=n||r||i||o,s=a?St(t.length,String):[],l=s.length;for(var u in t)!e&&!Xt.call(t,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Ft(u,l))||s.push(u);return s},Kt=Object.prototype;var Jt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Kt)};var Qt=function(t,e){return function(n){return t(e(n))}},te=Qt(Object.keys,Object),ee=Object.prototype.hasOwnProperty;var ne=function(t){if(!Jt(t))return te(t);var e=[];for(var n in Object(t))ee.call(t,n)&&"constructor"!=n&&e.push(n);return e};var re=function(t){return null!=t&&Bt(t.length)&&!$(t)};var ie=function(t){return re(t)?qt(t):ne(t)};var oe=function(t,e){return t&&wt(e,ie(e),t)};var ae=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e},se=Object.prototype.hasOwnProperty;var le=function(t){if(!P(t))return ae(t);var e=Jt(t),n=[];for(var r in t)("constructor"!=r||!e&&se.call(t,r))&&n.push(r);return n};var ue=function(t){return re(t)?qt(t,!0):le(t)};var ce=function(t,e){return t&&wt(e,ue(e),t)},de="object"==typeof exports&&exports&&!exports.nodeType&&exports,he=de&&"object"==typeof module&&module&&!module.nodeType&&module,fe=he&&he.exports===de?x.Buffer:void 0,pe=fe?fe.allocUnsafe:void 0;var ge=function(t,e){if(e)return t.slice();var n=t.length,r=pe?pe(n):new t.constructor(n);return t.copy(r),r};var ye=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e};var me=function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o};var ve=function(){return[]},be=Object.prototype.propertyIsEnumerable,xe=Object.getOwnPropertySymbols,_e=xe?function(t){return null==t?[]:(t=Object(t),me(xe(t),(function(e){return be.call(t,e)})))}:ve;var we=function(t,e){return wt(t,_e(t),e)};var Se=function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t},Me=Qt(Object.getPrototypeOf,Object),Ie=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)Se(e,_e(t)),t=Me(t);return e}:ve;var Ae=function(t,e){return wt(t,Ie(t),e)};var De=function(t,e,n){var r=e(t);return Pt(t)?r:Se(r,n(t))};var Te=function(t){return De(t,ie,_e)};var Ce=function(t){return De(t,ue,Ie)},Oe=U(x,"DataView"),Pe=U(x,"Promise"),ke=U(x,"Set"),$e=U(x,"WeakMap"),Ee="[object Map]",Le="[object Promise]",Ne="[object Set]",Re="[object WeakMap]",Fe="[object DataView]",Be=F(Oe),je=F(Z),ze=F(Pe),Ve=F(ke),He=F($e),We=O;(Oe&&We(new Oe(new ArrayBuffer(1)))!=Fe||Z&&We(new Z)!=Ee||Pe&&We(Pe.resolve())!=Le||ke&&We(new ke)!=Ne||$e&&We(new $e)!=Re)&&(We=function(t){var e=O(t),n="[object Object]"==e?t.constructor:void 0,r=n?F(n):"";if(r)switch(r){case Be:return Fe;case je:return Ee;case ze:return Le;case Ve:return Ne;case He:return Re}return e});var Ge=We,Ye=Object.prototype.hasOwnProperty;var Ue=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&Ye.call(t,"index")&&(n.index=t.index,n.input=t.input),n},Ze=x.Uint8Array;var Xe=function(t){var e=new t.constructor(t.byteLength);return new Ze(e).set(new Ze(t)),e};var qe=function(t,e){var n=e?Xe(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)},Ke=/\w*$/;var Je=function(t){var e=new t.constructor(t.source,Ke.exec(t));return e.lastIndex=t.lastIndex,e},Qe=_?_.prototype:void 0,tn=Qe?Qe.valueOf:void 0;var en=function(t){return tn?Object(tn.call(t)):{}};var nn=function(t,e){var n=e?Xe(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)};var rn=function(t,e,n){var r=t.constructor;switch(e){case"[object ArrayBuffer]":return Xe(t);case"[object Boolean]":case"[object Date]":return new r(+t);case"[object DataView]":return qe(t,n);
vendor: 4,062 bytes, line 65
65case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return nn(t,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(t);case"[object RegExp]":return Je(t);case"[object Symbol]":return en(t)}},on=Object.create,an=function(){function t(){}return function(e){if(!P(e))return{};if(on)return on(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();var sn=function(t){return"function"!=typeof t.constructor||Jt(t)?{}:an(Me(t))};var ln=function(t){return Mt(t)&&"[object Map]"==Ge(t)},un=Yt&&Yt.isMap,cn=un?Vt(un):ln;var dn=function(t){return Mt(t)&&"[object Set]"==Ge(t)},hn=Yt&&Yt.isSet,fn=hn?Vt(hn):dn,pn="[object Arguments]",gn="[object Function]",yn="[object Object]",mn={};mn[pn]=mn["[object Array]"]=mn["[object ArrayBuffer]"]=mn["[object DataView]"]=mn["[object Boolean]"]=mn["[object Date]"]=mn["[object Float32Array]"]=mn["[object Float64Array]"]=mn["[object Int8Array]"]=mn["[object Int16Array]"]=mn["[object Int32Array]"]=mn["[object Map]"]=mn["[object Number]"]=mn[yn]=mn["[object RegExp]"]=mn["[object Set]"]=mn["[object String]"]=mn["[object Symbol]"]=mn["[object Uint8Array]"]=mn["[object Uint8ClampedArray]"]=mn["[object Uint16Array]"]=mn["[object Uint32Array]"]=!0,mn["[object Error]"]=mn[gn]=mn["[object WeakMap]"]=!1;var vn=function t(e,n,r,i,o,a){var s,l=1&n,u=2&n,c=4&n;if(r&&(s=o?r(e,i,o,a):r(e)),void 0!==s)return s;if(!P(e))return e;var d=Pt(e);if(d){if(s=Ue(e),!l)return ye(e,s)}else{var h=Ge(e),f=h==gn||"[object GeneratorFunction]"==h;if(Nt(e))return ge(e,l);if(h==yn||h==pn||f&&!o){if(s=u||f?{}:sn(e),!l)return u?Ae(e,ce(s,e)):we(e,oe(s,e))}else{if(!mn[h])return o?e:{};s=rn(e,h,l)}}a||(a=new yt);var p=a.get(e);if(p)return p;a.set(e,s),fn(e)?e.forEach((function(i){s.add(t(i,n,r,i,e,a))})):cn(e)&&e.forEach((function(i,o){s.set(o,t(i,n,r,o,e,a))}));var g=d?void 0:(c?u?Ce:Te:u?ue:ie)(e);return mt(g||e,(function(i,o){g&&(i=e[o=i]),_t(s,o,t(i,n,r,o,e,a))})),s};var bn=function(t){return vn(t,5)};var xn=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};var _n=function(t){return this.__data__.has(t)};function wn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new ft;++e<n;)this.add(t[e])}wn.prototype.add=wn.prototype.push=xn,wn.prototype.has=_n;var Sn=wn;var Mn=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1};var In=function(t,e){return t.has(e)};var An=function(t,e,n,r,i,o){var a=1&n,s=t.length,l=e.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(t),c=o.get(e);if(u&&c)return u==e&&c==t;var d=-1,h=!0,f=2&n?new Sn:void 0;for(o.set(t,e),o.set(e,t);++d<s;){var p=t[d],g=e[d];if(r)var y=a?r(g,p,d,e,t,o):r(p,g,d,t,e,o);if(void 0!==y){if(y)continue;h=!1;break}if(f){if(!Mn(e,(function(t,e){if(!In(f,e)&&(p===t||i(p,t,n,r,o)))return f.push(e)}))){h=!1;break}}else if(p!==g&&!i(p,g,n,r,o)){h=!1;break}}return o.delete(t),o.delete(e),h};var Dn=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n};var Tn=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n},Cn=_?_.prototype:void 0,On=Cn?Cn.valueOf:void 0;var Pn=function(t,e,n,r,i,a,s){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!a(new Ze(t),new Ze(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var l=Dn;case"[object Set]":var u=1&r;if(l||(l=Tn),t.size!=e.size&&!u)return!1;var c=s.get(t);if(c)return c==e;r|=2,s.set(t,e);var d=An(l(t),l(e),r,i,a,s);return s.delete(t),d;case"[object Symbol]":if(On)return On.call(t)==On.call(e)}return!1},kn=Object.prototype.hasOwnProperty;
65var $n=function(t,e,n,r,i,o){var a=1&n,s=Te(t),l=s.length;if(l!=Te(e).length&&!a)return!1;for(var u=l;u--;){var c=s[u];if(!(a?c in e:kn.call(e,c)))return!1}var d=o.get(t),h=o.get(e);if(d&&h)return d==e&&h==t;var f=!0;o.set(t,e),o.set(e,t);for(var p=a;++u<l;){var g=t[c=s[u]],y=e[c];if(r)var m=a?r(y,g,c,e,t,o):r(g,y,c,t,e,o);if(!(void 0===m?g===y||i(g,y,n,r,o):m)){f=!1;break}p||(p="constructor"==c)}if(f&&!p){var v=t.constructor,b=e.constructor;v==b||!("constructor"in t)||!("constructor"in e)||"function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b||(f=!1)}return o.delete(t),o.delete(e),f},En="[object Arguments]",Ln="[object Array]",Nn="[object Object]",Rn=Object.prototype.hasOwnProperty;var Fn=function(t,e,n,r,i,o){var a=Pt(t),s=Pt(e),l=a?Ln:Ge(t),u=s?Ln:Ge(e),c=(l=l==En?Nn:l)==Nn,d=(u=u==En?Nn:u)==Nn,h=l==u;if(h&&Nt(t)){if(!Nt(e))return!1;a=!0,c=!1}if(h&&!c)return o||(o=new yt),a||Zt(t)?An(t,e,n,r,i,o):Pn(t,e,l,n,r,i,o);if(!(1&n)){var f=c&&Rn.call(t,"__wrapped__"),p=d&&Rn.call(e,"__wrapped__");if(f||p){var g=f?t.value():t,y=p?e.value():e;return o||(o=new yt),i(g,y,n,r,o)}}return!!h&&(o||(o=new yt),$n(t,e,n,r,i,o))};var Bn=function t(e,n,r,i,o){return e===n||(null==e||null==n||!Mt(e)&&!Mt(n)?e!=e&&n!=n:Fn(e,n,r,i,t,o))};var jn=function(t,e){return Bn(t,e)},zn=Object.prototype.hasOwnProperty;var Vn=function(t){if(null==t)return!0;if(re(t)&&(Pt(t)||"string"==typeof t||"function"==typeof t.splice||Nt(t)||Zt(t)||Ot(t)))return!t.length;var e=Ge(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(Jt(t))return!ne(t).length;for(var n in t)if(zn.call(t,n))return!1;return!0},Hn=n(74061),Wn=Object.defineProperty,Gn=Object.defineProperties,Yn=Object.getOwnPropertyDescriptors,Un=Object.getOwnPropertySymbols,Zn=Object.prototype.hasOwnProperty,Xn=Object.prototype.propertyIsEnumerable,qn=(t,e,n)=>e in t?Wn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Kn=(t,e)=>{for(var n in e||(e={}))Zn.call(e,n)&&qn(t,n,e[n]);if(Un)for(var n of Un(e))Xn.call(e,n)&&qn(t,n,e[n]);return t},Jn=(t,e)=>Gn(t,Yn(e));function Qn(t){return(t.match(/[a-zA-Z0-9]+/g)||[]).map((t=>`${t.charAt(0).toUpperCase()}${t.slice(1)}`)).join("")}var tr=(t,e)=>{const n={chartData:{type:Object,required:!0},options:{type:Object,required:!1},chartId:{default:t,type:String},width:{default:400,type:Number},height:{default:400,type:Number},cssClasses:{type:String,default:""},styles:{type:Object},plugins:{type:Array,default:()=>[]},onLabelsUpdate:{type:Function},onChartUpdate:{type:Function},onChartDestroy:{type:Function},onChartRender:{type:Function}},i=Qn(t);return(0,Hn.defineComponent)({name:i,props:n,emits:{"labels:update":()=>!0,"chart:update":t=>!0,"chart:destroy":()=>!0,"chart:render":t=>!0},setup(t,{emit:n,expose:o}){const a=(0,Hn.ref)(null),s=`${t.chartId}`;let l=(0,Hn.shallowRef)(null);function u(){a.value?(l.value=new r.t1(a.value,{data:bn(t.chartData),type:e,options:bn(t.options),plugins:t.plugins}),l.value&&(n("chart:render",l.value),t.onChartRender&&t.onChartRender(l.value))):console.error(`Error on component ${i}, canvas cannot be rendered. Check if the render appends server-side`)}function c(){l.value&&(l.value.update(),n("chart:update",l.value),t.onChartUpdate&&t.onChartUpdate(l.value))}return(0,Hn.watch)((()=>t.chartData),(function(e){if(l.value){let r=l.value;jn(e.labels,l.value.data.labels)||(r.data.labels=e.labels,n("labels:update"),t.onLabelsUpdate&&t.onLabelsUpdate()),jn(e.datasets,l.value.data.datasets)||e.datasets.forEach(((t,e)=>{var n,i;if(Vn(t))r.data.datasets=[];else{const o=bn(r.data),a=Object.keys(null!=(i=null==(n=o.datasets)?void 0:n[e])?i:{}),s=Object.keys(t);a.filter((t=>"_meta"!==t&&-1===s.indexOf(t))).forEach((t=>{r.data.datasets[e]&&delete r.data.datasets[e][t]}));for(const n in t){const i=bn(t[n]);r.data.datasets[e]||(r.data.datasets[e]={}),t.hasOwnProperty(n)&&null!=i&&r&&(r.data.datasets[e][n]=i)}}})),c()}else l.value&&(l.value&&l.value.destroy(),n("chart:destroy"),t.onChartDestroy&&t.onChartDestroy()),u()}),{deep:!0}),(0,Hn.watch)((()=>t.options),(t=>{l.value&&t&&(l.value.options=bn(t),c())}),{deep:!0}),(0,Hn.onMounted)(u),(0,Hn.onBeforeUnmount)((()=>{l.value&&l.value.destroy()})),o({canvasRef:a,renderChart:u,chartInstance:l,canvasId:s,update:c}),()=>(0,Hn.h)("div",{style:Jn(Kn({maxWidth:"100%"},t.styles),{position:"relative"}
65),class:t.cssClasses},[(0,Hn.h)("canvas",{style:{maxWidth:"100%",maxHeight:"100%"},id:s,width:t.width,height:t.height,ref:a})])}})},er=t=>e=>{const n=`${t}ChartRef`,r={[n]:(0,Hn.ref)()},i=(0,Hn.computed)((()=>Jn(Kn(Kn(Kn({},e),e.jsx&&{ref:r[n]}),!e.jsx&&{ref:n}),{chartData:(0,Hn.unref)(e.chartData),options:(0,Hn.unref)(e.options)})));return{[`${t}ChartProps`]:i,[n]:r[n],update:function(){var e;const i=r[n].value;i?null==(e=null==i?void 0:i.chartInstance.value)||e.update():console.warn(`No chartInstance to update (use${Qn(t)}Chart)`)}}},nr=(tr("bar-chart","bar"),tr("doughnut-chart","doughnut"),tr("line-chart","line"));tr("pie-chart","pie"),tr("polar-chart","polarArea"),tr("radar-chart","radar"),tr("bubble-chart","bubble"),tr("scatter-chart","scatter"),er("doughnut"),er("bar"),er("line"),er("pie"),er("polarArea"),er("radar"),er("bubble"),er("scatter")}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.