vendor.js 1.0 MB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/vendor"],{"00aa":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={primary:"#3c9cff",info:"#909399",default:"#909399",warning:"#f9ae3d",error:"#f56c6c",success:"#5ac725",mainColor:"#303133",contentColor:"#606266",tipsColor:"#909399",lightColor:"#c0c4cc",borderColor:"#e4e7ed"};t.default=r},"011a":function(e,t){function n(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(e.exports=n=function(){return!!t},e.exports.__esModule=!0,e.exports["default"]=e.exports)()}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"0156":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{src:{type:String,default:e.$u.props.avatar.src},shape:{type:String,default:e.$u.props.avatar.shape},size:{type:[String,Number],default:e.$u.props.avatar.size},mode:{type:String,default:e.$u.props.avatar.mode},text:{type:String,default:e.$u.props.avatar.text},bgColor:{type:String,default:e.$u.props.avatar.bgColor},color:{type:String,default:e.$u.props.avatar.color},fontSize:{type:[String,Number],default:e.$u.props.avatar.fontSize},icon:{type:String,default:e.$u.props.avatar.icon},mpAvatar:{type:Boolean,default:e.$u.props.avatar.mpAvatar},randomBgColor:{type:Boolean,default:e.$u.props.avatar.randomBgColor},defaultUrl:{type:String,default:e.$u.props.avatar.defaultUrl},colorIndex:{type:[String,Number],validator:function(t){return e.$u.test.range(t,[0,19])||""===t},default:e.$u.props.avatar.colorIndex},name:{type:String,default:e.$u.props.avatar.name}}};t.default=n}).call(this,n("df3c")["default"])},"0174":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{title:{type:String,default:e.$u.props.cellGroup.title},border:{type:Boolean,default:e.$u.props.cellGroup.border}}};t.default=n}).call(this,n("df3c")["default"])},"01de":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={datetimePicker:{show:!1,showToolbar:!0,value:"",title:"",mode:"datetime",maxDate:new Date((new Date).getFullYear()+10,0,1).getTime(),minDate:new Date((new Date).getFullYear()-10,0,1).getTime(),minHour:0,maxHour:23,minMinute:0,maxMinute:59,filter:null,formatter:null,loading:!1,itemHeight:44,cancelText:"取消",confirmText:"确认",cancelColor:"#909193",confirmColor:"#3c9cff",visibleItemCount:5,closeOnClickOverlay:!1,defaultIndex:function(){return[]}}};t.default=r},"0207":function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("00aa")),o={navbar:{safeAreaInsetTop:!0,placeholder:!1,fixed:!0,border:!1,leftIcon:"arrow-left",leftText:"",rightText:"",rightIcon:"",title:"",bgColor:"#ffffff",titleWidth:"400rpx",height:"44px",leftIconSize:20,leftIconColor:i.default.mainColor,autoBack:!1,titleStyle:""}};t.default=o},"0212":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{duration:{type:Number,default:e.$u.props.tabs.duration},list:{type:Array,default:e.$u.props.tabs.list},lineColor:{type:String,default:e.$u.props.tabs.lineColor},activeStyle:{type:[String,Object],default:e.$u.props.tabs.activeStyle},inactiveStyle:{type:[String,Object],default:e.$u.props.tabs.inactiveStyle},lineWidth:{type:[String,Number],default:e.$u.props.tabs.lineWidth},lineHeight:{type:[String,Number],default:e.$u.props.tabs.lineHeight},lineBgSize:{type:String,default:e.$u.props.tabs.lineBgSize},itemStyle:{type:[String,Object],default:e.$u.props.tabs.itemStyle},scrollable:{type:Boolean,default:e.$u.props.tabs.scrollable},current:{type:[Number,String],default:e.$u.props.tabs.current},keyName:{type:String,default:e.$u.props.tabs.keyName}}};t.default=n}).call(this,n("df3c")["default"])},"0337":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={steps:{direction:"row",current:0,activeColor:"#3c9cff",inactiveColor:"#969799",activeIcon:"",inactiveIcon:"",dot:!1}}},"0417":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={props:{}}},"0427":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},"0585":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{show:{type:Boolean,default:e.$u.props.popup.show},overlay:{type:Boolean,default:e.$u.props.popup.overlay},mode:{type:String,default:e.$u.props.popup.mode},duration:{type:[String,Number],default:e.$u.props.popup.duration},closeable:{type:Boolean,default:e.$u.props.popup.closeable},overlayStyle:{type:[Object,String],default:e.$u.props.popup.overlayStyle},closeOnClickOverlay:{type:Boolean,default:e.$u.props.popup.closeOnClickOverlay},zIndex:{type:[String,Number],default:e.$u.props.popup.zIndex},safeAreaInsetBottom:{type:Boolean,default:e.$u.props.popup.safeAreaInsetBottom},safeAreaInsetTop:{type:Boolean,default:e.$u.props.popup.safeAreaInsetTop},closeIconPos:{type:String,default:e.$u.props.popup.closeIconPos},round:{type:[Boolean,String,Number],default:e.$u.props.popup.round},zoom:{type:Boolean,default:e.$u.props.popup.zoom},bgColor:{type:String,default:e.$u.props.popup.bgColor},overlayOpacity:{type:[Number,String],default:e.$u.props.popup.overlayOpacity}}};t.default=n}).call(this,n("df3c")["default"])},"0712":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={indexList:{inactiveColor:"#606266",activeColor:"#5677fc",indexList:function(){return[]},sticky:!0,customNavHeight:0}}},"0a8e":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{value:{type:[String,Number],default:e.$u.props.rate.value},count:{type:[String,Number],default:e.$u.props.rate.count},disabled:{type:Boolean,default:e.$u.props.rate.disabled},readonly:{type:Boolean,default:e.$u.props.rate.readonly},size:{type:[String,Number],default:e.$u.props.rate.size},inactiveColor:{type:String,default:e.$u.props.rate.inactiveColor},activeColor:{type:String,default:e.$u.props.rate.activeColor},gutter:{type:[String,Number],default:e.$u.props.rate.gutter},minCount:{type:[String,Number],default:e.$u.props.rate.minCount},allowHalf:{type:Boolean,default:e.$u.props.rate.allowHalf},activeIcon:{type:String,default:e.$u.props.rate.activeIcon},inactiveIcon:{type:String,default:e.$u.props.rate.inactiveIcon},touchable:{type:Boolean,default:e.$u.props.rate.touchable}}};t.default=n}).call(this,n("df3c")["default"])},"0bdb":function(e,t,n){var r=n("d551");function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,r(i.key),i)}}e.exports=function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports["default"]=e.exports},"0e16":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={formItem:{label:"",prop:"",borderBottom:"",labelPosition:"",labelWidth:"",rightIcon:"",leftIcon:"",required:!1,leftIconStyle:""}}},"0ee4":function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},"10ab":function(e,t,n){"use strict";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,r=l(e),a=r[0],s=r[1],u=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),c=0,d=s>0?a-4:a;for(n=0;n<d;n+=4)t=i[e.charCodeAt(n)]<<18|i[e.charCodeAt(n+1)]<<12|i[e.charCodeAt(n+2)]<<6|i[e.charCodeAt(n+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;2===s&&(t=i[e.charCodeAt(n)]<<2|i[e.charCodeAt(n+1)]>>4,u[c++]=255&t);1===s&&(t=i[e.charCodeAt(n)]<<10|i[e.charCodeAt(n+1)]<<4|i[e.charCodeAt(n+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t);return u},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(d(e,a,a+16383>s?s:a+16383));1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return o.join("")};for(var r=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=a.length;s<u;++s)r[s]=a[s],i[a.charCodeAt(s)]=s;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function c(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function d(e,t,n){for(var r,i=[],o=t;o<n;o+=3)r=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(c(r));return i.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},1154:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{shape:{type:String,default:e.$u.props.search.shape},bgColor:{type:String,default:e.$u.props.search.bgColor},placeholder:{type:String,default:e.$u.props.search.placeholder},clearabled:{type:Boolean,default:e.$u.props.search.clearabled},focus:{type:Boolean,default:e.$u.props.search.focus},showAction:{type:Boolean,default:e.$u.props.search.showAction},actionStyle:{type:Object,default:e.$u.props.search.actionStyle},actionText:{type:String,default:e.$u.props.search.actionText},inputAlign:{type:String,default:e.$u.props.search.inputAlign},inputStyle:{type:Object,default:e.$u.props.search.inputStyle},disabled:{type:Boolean,default:e.$u.props.search.disabled},borderColor:{type:String,default:e.$u.props.search.borderColor},searchIconColor:{type:String,default:e.$u.props.search.searchIconColor},color:{type:String,default:e.$u.props.search.color},placeholderColor:{type:String,default:e.$u.props.search.placeholderColor},searchIcon:{type:String,default:e.$u.props.search.searchIcon},searchIconSize:{type:[Number,String],default:e.$u.props.search.searchIconSize},margin:{type:String,default:e.$u.props.search.margin},animation:{type:Boolean,default:e.$u.props.search.animation},value:{type:String,default:e.$u.props.search.value},maxlength:{type:[String,Number],default:e.$u.props.search.maxlength},height:{type:[String,Number],default:e.$u.props.search.height},label:{type:[String,Number,null],default:e.$u.props.search.label}}};t.default=n}).call(this,n("df3c")["default"])},"11e4":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={grid:{col:3,border:!1,align:"left"}}},"12e3":function(e,t,n){"use strict";(function(e){
/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <http://feross.org>
 * @license  MIT
 */
var r=n("10ab"),i=n("ba37"),o=n("b0e4");function a(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=u.prototype):(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,n){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(e,t,n);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return d(this,e)}return l(this,e,t,n)}function l(e,t,n,r){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);u.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=u.prototype):e=p(e,t);return e}(e,t,n,r):"string"===typeof t?function(e,t,n){"string"===typeof n&&""!==n||(n="utf8");if(!u.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|h(t,n);e=s(e,r);var i=e.write(t,n);i!==r&&(e=e.slice(0,i));return e}(e,t,n):function(e,t){if(u.isBuffer(t)){var n=0|f(t.length);return e=s(e,n),0===e.length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||function(e){return e!==e}(t.length)?s(e,0):p(e,t);if("Buffer"===t.type&&o(t.data))return p(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function c(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function d(e,t){if(c(t),e=s(e,t<0?0:0|f(t)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function p(e,t){var n=t.length<0?0:0|f(t.length);e=s(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function f(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(u.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return $(e).length;default:if(r)return z(e).length;t=(""+t).toLowerCase(),r=!0}}function g(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":return M(this,t,n);case"utf8":case"utf-8":return k(this,t,n);case"ascii":return T(this,t,n);case"latin1":case"binary":return I(this,t,n);case"base64":return C(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function y(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function m(e,t,n,r,i){if(0===e.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:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:v(e,t,n,r,i);if("number"===typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function v(e,t,n,r,i){var o,a=1,s=e.length,u=t.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=n;o<s;o++)if(l(e,o)===l(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===u)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(n+u>s&&(n=s-u),o=n;o>=0;o--){for(var d=!0,p=0;p<u;p++)if(l(e,o+p)!==l(t,p)){d=!1;break}if(d)return o}return-1}function _(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;var o=t.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(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function b(e,t,n,r){return U(z(t,e.length-n),e,n,r)}function x(e,t,n,r){return U(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function w(e,t,n,r){return x(e,t,n,r)}function S(e,t,n,r){return U($(t),e,n,r)}function A(e,t,n,r){return U(function(e,t){for(var n,r,i,o=[],a=0;a<e.length;++a){if((t-=2)<0)break;n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r)}return o}(t,e.length-n),e,n,r)}function C(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function k(e,t,n){n=Math.min(e.length,n);var r=[],i=t;while(i<n){var o,a,s,u,l=e[i],c=null,d=l>239?4:l>223?3:l>191?2:1;if(i+d<=n)switch(d){case 1:l<128&&(c=l);break;case 2:o=e[i+1],128===(192&o)&&(u=(31&l)<<6|63&o,u>127&&(c=u));break;case 3:o=e[i+1],a=e[i+2],128===(192&o)&&128===(192&a)&&(u=(15&l)<<12|(63&o)<<6|63&a,u>2047&&(u<55296||u>57343)&&(c=u));break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128===(192&o)&&128===(192&a)&&128===(192&s)&&(u=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s,u>65535&&u<1114112&&(c=u))}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(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;while(r<t)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}t.Buffer=u,t.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}(),t.kMaxLength=a(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,n){return l(null,e,t,n)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,n){return function(e,t,n,r){return c(t),t<=0?s(e,t):void 0!==n?"string"===typeof r?s(e,t).fill(n,r):s(e,t).fill(n):s(e,t)}(null,e,t,n)},u.allocUnsafe=function(e){return d(null,e)},u.allocUnsafeSlow=function(e){return d(null,e)},u.isBuffer=function(e){return!(null==e||!e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},u.isEncoding=function(e){switch(String(e).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}},u.concat=function(e,t){if(!o(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=u.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},u.byteLength=h,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)y(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?k(this,0,e):g.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,n,r,i){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var o=i-r,a=n-t,s=Math.min(o,a),l=this.slice(r,i),c=e.slice(t,n),d=0;d<s;++d)if(l[d]!==c[d]){o=l[d],a=c[d];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return m(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return m(this,e,t,n,!1)},u.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"===typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return _(this,e,t,n);case"utf8":case"utf-8":return b(this,e,t,n);case"ascii":return x(this,e,t,n);case"latin1":case"binary":return w(this,e,t,n);case"base64":return S(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function T(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function I(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function M(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=t;o<n;++o)i+=F(e[o]);return i}function O(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function P(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,n,r,i,o){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function E(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function B(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function L(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function N(e,t,n,r,o){return o||L(e,0,n,4),i.write(e,t,n,r,23,4),n+4}function R(e,t,n,r,o){return o||L(e,0,n,8),i.write(e,t,n,r,52,8),n+8}u.prototype.slice=function(e,t){var n,r=this.length;if(e=~~e,t=void 0===t?r:~~t,e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)n=this.subarray(e,t),n.__proto__=u.prototype;else{var i=t-e;n=new u(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+e]}return n},u.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);var r=this[e],i=1,o=0;while(++o<t&&(i*=256))r+=this[e+o]*i;return r},u.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);var r=this[e+--t],i=1;while(t>0&&(i*=256))r+=this[e+--t]*i;return r},u.prototype.readUInt8=function(e,t){return t||P(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||P(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||P(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);var r=this[e],i=1,o=0;while(++o<t&&(i*=256))r+=this[e+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);var r=t,i=1,o=this[e+--r];while(r>0&&(i*=256))o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||P(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){t||P(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||P(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||P(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||P(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||P(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;D(this,e,t,n,i,0)}var o=1,a=0;this[t]=255&e;while(++a<n&&(o*=256))this[t+a]=e/o&255;return t+n},u.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;D(this,e,t,n,i,0)}var o=n-1,a=1;this[t+o]=255&e;while(--o>=0&&(a*=256))this[t+o]=e/a&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):E(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):E(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):B(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);D(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;this[t]=255&e;while(++o<n&&(a*=256))e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},u.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);D(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;this[t+o]=255&e;while(--o>=0&&(a*=256))e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):E(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):E(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):B(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||D(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,n){return N(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return N(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return R(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return R(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<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),e.length-t<r-n&&(r=e.length-t+n);var i,o=r-n;if(this===e&&n<t&&t<r)for(i=o-1;i>=0;--i)e[i+t]=this[i+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+o),t);return o},u.prototype.fill=function(e,t,n,r){if("string"===typeof e){if("string"===typeof t?(r=t,t=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"===typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"===typeof e)for(o=t;o<n;++o)this[o]=e;else{var a=u.isBuffer(e)?e:z(new u(e,r).toString()),s=a.length;for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var j=/[^+\/0-9A-Za-z-_]/g;function F(e){return e<16?"0"+e.toString(16):e.toString(16)}function z(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a<r;++a){if(n=e.charCodeAt(a),n>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=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((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function $(e){return r.toByteArray(function(e){if(e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(j,""),e.length<2)return"";while(e.length%4!==0)e+="=";return e}(e))}function U(e,t,n,r){for(var i=0;i<r;++i){if(i+n>=t.length||i>=e.length)break;t[i+n]=e[i]}return i}}).call(this,n("0ee4"))},1842:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={cellGroup:{title:"",border:!0,customStyle:{}}}},1913:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAmFJREFUSEvllT9ME1Ecx7/fK/SaQIuFNEQgbSQkLoalGOMC7gadjC5qWIxMvSYuxkUXQyTkbiHECQcH42BIGmbjYBxkZNdgoZBgGwkESHv3M+9aoa3cn+LoSy65vPf9/T6/+/7ee0cEjNlZSUajmCdxpyH9UK3iyeIifwbFqnX6iQxDrgN4RyLdrBNBEcA9y+LnIIgHQLRcDnlNw0sAUY8kNRE8syzMAxQv0F8AZYmu4w2JW0HVqXURrJJ4YJosn6VvAeRyco3E+3ZLQoB+iOCuZfFLu7YBEObzMADM+VgSxFGWPbUsLDRbRsOQC4Brye2gDGHWRVA4PsbDpSVW3F1kGPKRxI0wwR1oPpkm3ZzM58UGoHUQHCgVgVgW3ZwK4LnFAjP5CEyTbn//Y4CmCYaGBIODgp6eulcHB8D2NlEqEQsL2vkt0nXB+Lhzkri9FQoUj0cy09Pc6LgHqvJs1jv5H5iIrFcqxaueABF8B9ynZWQyzuXRUbkYbofR8AM8tyy+aE+0slL9SnJCzScSwMgIkUoRug7s7gp2dgSbmyffseYHKJLuvd8ypqbsCRJdarK3F+jrA4aHCU1TzRUXcngIOI4bdtRxDyYnbWiNc59KKQhRqwG2LejuhvteKv0DIJu1EY/XPyqdJvb3BXt7gDq3sRjQ3w9sbQHVqvpXyJq67H6RSIRrmvLcwdjY6e2i+jAwoCqvwyruHVofIswpix4DeAWgUZc/quNtGrbyZl2hIGnbrq2SvHJWvDoDkUjXTfegnQegYpaXv8WSyfQjwLl/CpJ1QHtbLm+8npm5dKR0vwHBLfv0gW+SPgAAAABJRU5ErkJggg=="},"19bb":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={columnNotice:{text:"",icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",fontSize:14,speed:80,step:!1,duration:1500,disableTouch:!0}}},"1a72":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={empty:{icon:"",text:"",textColor:"#c0c4cc",textSize:14,iconColor:"#c0c4cc",iconSize:90,mode:"data",width:160,height:160,show:!0,marginTop:0}}},"1ae2":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("7ca3")),o=r(n("3b2d"));function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=/%[sdj%]/g,l=function(){};function c(e){if(!e||!e.length)return null;var t={};return e.forEach((function(e){var n=e.field;t[n]=t[n]||[],t[n].push(e)})),t}function d(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=1,i=t[0],o=t.length;if("function"===typeof i)return i.apply(null,t.slice(1));if("string"===typeof i){for(var a=String(i).replace(u,(function(e){if("%%"===e)return"%";if(r>=o)return e;switch(e){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(n){return"[Circular]"}break;default:return e}})),s=t[r];r<o;s=t[++r])a+=" ".concat(s);return a}return i}function p(e,t){return void 0===e||null===e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"pattern"===e}(t)||"string"!==typeof e||e))}function f(e,t,n){var r=0,i=e.length;(function o(a){if(a&&a.length)n(a);else{var s=r;r+=1,s<i?t(e[s],o):n([])}})([])}function h(e,t,n,r){if(t.first){var i=new Promise((function(t,i){var o=function(e){var t=[];return Object.keys(e).forEach((function(n){t.push.apply(t,e[n])})),t}(e);f(o,n,(function(e){return r(e),e.length?i({errors:e,fields:c(e)}):t()}))}));return i.catch((function(e){return e})),i}var o=t.firstFields||[];!0===o&&(o=Object.keys(e));var a=Object.keys(e),s=a.length,u=0,l=[],d=new Promise((function(t,i){var d=function(e){if(l.push.apply(l,e),u++,u===s)return r(l),l.length?i({errors:l,fields:c(l)}):t()};a.length||(r(l),t()),a.forEach((function(t){var r=e[t];-1!==o.indexOf(t)?f(r,n,d):function(e,t,n){var r=[],i=0,o=e.length;function a(e){r.push.apply(r,e),i++,i===o&&n(r)}e.forEach((function(e){t(e,a)}))}(r,n,d)}))}));return d.catch((function(e){return e})),d}function g(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:"function"===typeof t?t():t,field:t.field||e.fullField}}}function y(e,t){if(t)for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];"object"===(0,o.default)(r)&&"object"===(0,o.default)(e[n])?e[n]=s(s({},e[n]),r):e[n]=r}return e}function m(e,t,n,r,i,o){!e.required||n.hasOwnProperty(e.field)&&!p(t,o||e.type)||r.push(d(i.messages.required,e.fullField))}"undefined"!==typeof e&&Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"运动中国",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"});var v={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},_={integer:function(e){return/^(-)?\d+$/.test(e)},float:function(e){return/^(-)?\d+(\.\d+)?$/.test(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return"function"===typeof e.getTime&&"function"===typeof e.getMonth&&"function"===typeof e.getYear},number:function(e){return!isNaN(e)&&"number"===typeof+e},object:function(e){return"object"===(0,o.default)(e)&&!_.array(e)},method:function(e){return"function"===typeof e},email:function(e){return"string"===typeof e&&!!e.match(v.email)&&e.length<255},url:function(e){return"string"===typeof e&&!!e.match(v.url)},hex:function(e){return"string"===typeof e&&!!e.match(v.hex)}};var b={required:m,whitespace:function(e,t,n,r,i){(/^\s+$/.test(t)||""===t)&&r.push(d(i.messages.whitespace,e.fullField))},type:function(e,t,n,r,i){if(e.required&&void 0===t)m(e,t,n,r,i);else{var a=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(a)>-1?_[a](t)||r.push(d(i.messages.types[a],e.fullField,e.type)):a&&(0,o.default)(t)!==e.type&&r.push(d(i.messages.types[a],e.fullField,e.type))}},range:function(e,t,n,r,i){var o="number"===typeof e.len,a="number"===typeof e.min,s="number"===typeof e.max,u=t,l=null,c="number"===typeof t,p="string"===typeof t,f=Array.isArray(t);if(c?l="number":p?l="string":f&&(l="array"),!l)return!1;f&&(u=t.length),p&&(u=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),o?u!==e.len&&r.push(d(i.messages[l].len,e.fullField,e.len)):a&&!s&&u<e.min?r.push(d(i.messages[l].min,e.fullField,e.min)):s&&!a&&u>e.max?r.push(d(i.messages[l].max,e.fullField,e.max)):a&&s&&(u<e.min||u>e.max)&&r.push(d(i.messages[l].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,i){e["enum"]=Array.isArray(e["enum"])?e["enum"]:[],-1===e["enum"].indexOf(t)&&r.push(d(i.messages["enum"],e.fullField,e["enum"].join(", ")))},pattern:function(e,t,n,r,i){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(d(i.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"===typeof e.pattern){var o=new RegExp(e.pattern);o.test(t)||r.push(d(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}};function x(e,t,n,r,i){var o=e.type,a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(p(t,o)&&!e.required)return n();b.required(e,t,r,a,i,o),p(t,o)||b.type(e,t,r,a,i)}n(a)}var w={string:function(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(p(t,"string")&&!e.required)return n();b.required(e,t,r,o,i,"string"),p(t,"string")||(b.type(e,t,r,o,i),b.range(e,t,r,o,i),b.pattern(e,t,r,o,i),!0===e.whitespace&&b.whitespace(e,t,r,o,i))}n(o)},method:function(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(p(t)&&!e.required)return n();b.required(e,t,r,o,i),void 0!==t&&b.type(e,t,r,o,i)}n(o)},number:function(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(""===t&&(t=void 0),p(t)&&!e.required)return n();b.required(e,t,r,o,i),void 0!==t&&(b.type(e,t,r,o,i),b.range(e,t,r,o,i))}n(o)},boolean:function(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(p(t)&&!e.required)return n();b.required(e,t,r,o,i),void 0!==t&&b.type(e,t,r,o,i)}n(o)},regexp:function(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(p(t)&&!e.required)return n();b.required(e,t,r,o,i),p(t)||b.type(e,t,r,o,i)}n(o)},integer:function(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(p(t)&&!e.required)return n();b.required(e,t,r,o,i),void 0!==t&&(b.type(e,t,r,o,i),b.range(e,t,r,o,i))}n(o)},float:function(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(p(t)&&!e.required)return n();b.required(e,t,r,o,i),void 0!==t&&(b.type(e,t,r,o,i),b.range(e,t,r,o,i))}n(o)},array:function(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(p(t,"array")&&!e.required)return n();b.required(e,t,r,o,i,"array"),p(t,"array")||(b.type(e,t,r,o,i),b.range(e,t,r,o,i))}n(o)},object:function(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(p(t)&&!e.required)return n();b.required(e,t,r,o,i),void 0!==t&&b.type(e,t,r,o,i)}n(o)},enum:function(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(p(t)&&!e.required)return n();b.required(e,t,r,o,i),void 0!==t&&b["enum"](e,t,r,o,i)}n(o)},pattern:function(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(p(t,"string")&&!e.required)return n();b.required(e,t,r,o,i),p(t,"string")||b.pattern(e,t,r,o,i)}n(o)},date:function(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(p(t)&&!e.required)return n();var s;if(b.required(e,t,r,o,i),!p(t))s="number"===typeof t?new Date(t):t,b.type(e,s,r,o,i),s&&b.range(e,s.getTime(),r,o,i)}n(o)},url:x,hex:x,email:x,required:function(e,t,n,r,i){var a=[],s=Array.isArray(t)?"array":(0,o.default)(t);b.required(e,t,r,a,i,s),n(a)},any:function(e,t,n,r,i){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(p(t)&&!e.required)return n();b.required(e,t,r,o,i)}n(o)}};function S(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var A=S();function C(e){this.rules=null,this._messages=A,this.define(e)}C.prototype={messages:function(e){return e&&(this._messages=y(S(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==(0,o.default)(e)||Array.isArray(e))throw new Error("Rules must be an object");var t,n;for(t in this.rules={},e)e.hasOwnProperty(t)&&(n=e[t],this.rules[t]=Array.isArray(n)?n:[n])},validate:function(e,t,n){var r=this;void 0===t&&(t={}),void 0===n&&(n=function(){});var i,a,u=e,l=t,p=n;if("function"===typeof l&&(p=l,l={}),!this.rules||0===Object.keys(this.rules).length)return p&&p(),Promise.resolve();if(l.messages){var f=this.messages();f===A&&(f=S()),y(f,l.messages),l.messages=f}else l.messages=this.messages();var m={},v=l.keys||Object.keys(this.rules);v.forEach((function(t){i=r.rules[t],a=u[t],i.forEach((function(n){var i=n;"function"===typeof i.transform&&(u===e&&(u=s({},u)),a=u[t]=i.transform(a)),i="function"===typeof i?{validator:i}:s({},i),i.validator=r.getValidationMethod(i),i.field=t,i.fullField=i.fullField||t,i.type=r.getType(i),i.validator&&(m[t]=m[t]||[],m[t].push({rule:i,value:a,source:u,field:t}))}))}));var _={};return h(m,l,(function(e,t){var n,r=e.rule,i=("object"===r.type||"array"===r.type)&&("object"===(0,o.default)(r.fields)||"object"===(0,o.default)(r.defaultField));function a(e,t){return s(s({},t),{},{fullField:"".concat(r.fullField,".").concat(e)})}function u(n){void 0===n&&(n=[]);var o=n;if(Array.isArray(o)||(o=[o]),!l.suppressWarning&&o.length&&C.warning("async-validator:",o),o.length&&r.message&&(o=[].concat(r.message)),o=o.map(g(r)),l.first&&o.length)return _[r.field]=1,t(o);if(i){if(r.required&&!e.value)return o=r.message?[].concat(r.message).map(g(r)):l.error?[l.error(r,d(l.messages.required,r.field))]:[],t(o);var u={};if(r.defaultField)for(var c in e.value)e.value.hasOwnProperty(c)&&(u[c]=r.defaultField);for(var p in u=s(s({},u),e.rule.fields),u)if(u.hasOwnProperty(p)){var f=Array.isArray(u[p])?u[p]:[u[p]];u[p]=f.map(a.bind(null,p))}var h=new C(u);h.messages(l.messages),e.rule.options&&(e.rule.options.messages=l.messages,e.rule.options.error=l.error),h.validate(e.value,e.rule.options||l,(function(e){var n=[];o&&o.length&&n.push.apply(n,o),e&&e.length&&n.push.apply(n,e),t(n.length?n:null)}))}else t(o)}i=i&&(r.required||!r.required&&e.value),r.field=e.field,r.asyncValidator?n=r.asyncValidator(r,e.value,u,e.source,l):r.validator&&(n=r.validator(r,e.value,u,e.source,l),!0===n?u():!1===n?u(r.message||"".concat(r.field," fails")):n instanceof Array?u(n):n instanceof Error&&u(n.message)),n&&n.then&&n.then((function(){return u()}),(function(e){return u(e)}))}),(function(e){(function(e){var t,n=[],r={};function i(e){var t;Array.isArray(e)?n=(t=n).concat.apply(t,e):n.push(e)}for(t=0;t<e.length;t++)i(e[t]);n.length?r=c(n):(n=null,r=null),p(n,r)})(e)}))},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!==typeof e.validator&&e.type&&!w.hasOwnProperty(e.type))throw new Error(d("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if("function"===typeof e.validator)return e.validator;var t=Object.keys(e),n=t.indexOf("message");return-1!==n&&t.splice(n,1),1===t.length&&"required"===t[0]?w.required:w[this.getType(e)]||!1}},C.register=function(e,t){if("function"!==typeof t)throw new Error("Cannot register a validator by type, validator is not a function");w[e]=t},C.warning=l,C.messages=A;var k=C;t.default=k}).call(this,n("28d0"))},"1b18":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={toolbar:{show:!0,cancelText:"取消",confirmText:"确认",cancelColor:"#909193",confirmColor:"#3c9cff",title:""}}},"1f0b":function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"user",{enumerable:!0,get:function(){return i.default}});var i=r(n("3fbc"))},"20ec":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{openType:String},methods:{onGetUserInfo:function(e){this.$emit("getuserinfo",e.detail)},onContact:function(e){this.$emit("contact",e.detail)},onGetPhoneNumber:function(e){this.$emit("getphonenumber",e.detail)},onError:function(e){this.$emit("error",e.detail)},onLaunchApp:function(e){this.$emit("launchapp",e.detail)},onOpenSetting:function(e){this.$emit("opensetting",e.detail)}}};t.default=r},"239c":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={loadmore:{status:"loadmore",bgColor:"transparent",icon:!0,fontSize:14,iconSize:17,color:"#606266",loadingIcon:"spinner",loadmoreText:"加载更多",loadingText:"正在加载...",nomoreText:"没有更多了",isDot:!1,iconColor:"#b7b7b7",marginTop:10,marginBottom:10,height:"auto",line:!1,lineColor:"#E6E8EB",dashed:!1}}},"245d":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{isDot:{type:Boolean,default:e.$u.props.badge.isDot},value:{type:[Number,String],default:e.$u.props.badge.value},show:{type:Boolean,default:e.$u.props.badge.show},max:{type:[Number,String],default:e.$u.props.badge.max},type:{type:String,default:e.$u.props.badge.type},showZero:{type:Boolean,default:e.$u.props.badge.showZero},bgColor:{type:[String,null],default:e.$u.props.badge.bgColor},color:{type:[String,null],default:e.$u.props.badge.color},shape:{type:String,default:e.$u.props.badge.shape},numberType:{type:String,default:e.$u.props.badge.numberType},offset:{type:Array,default:e.$u.props.badge.offset},inverted:{type:Boolean,default:e.$u.props.badge.inverted},absolute:{type:Boolean,default:e.$u.props.badge.absolute}}};t.default=n}).call(this,n("df3c")["default"])},"24b7":function(e,t,n){"use strict";(function(e,r){var i=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.chooseFile=function(t){var n=t.accept,i=t.multiple,o=t.capture,a=t.compressed,c=t.maxDuration,d=t.sizeType,p=t.camera,f=t.maxCount;return new Promise((function(t,h){switch(n){case"image":e.chooseImage({count:i?Math.min(f,9):1,sourceType:o,sizeType:d,success:function(e){return t(function(e){return e.tempFiles.map((function(e){return s(s({},u(e,["path"])),{},{type:"image",url:e.path,thumb:e.path,size:e.size})}))}(e))},fail:h});break;case"media":r.chooseMedia({count:i?Math.min(f,9):1,sourceType:o,maxDuration:c,sizeType:d,camera:p,success:function(e){return t(function(e){return e.tempFiles.map((function(t){return s(s({},u(t,["fileType","thumbTempFilePath","tempFilePath"])),{},{type:e.type,url:t.tempFilePath,thumb:"video"===e.type?t.thumbTempFilePath:t.tempFilePath,size:t.size})}))}(e))},fail:h});break;case"video":e.chooseVideo({sourceType:o,compressed:a,maxDuration:c,camera:p,success:function(e){return t(function(e){return[s(s({},u(e,["tempFilePath","thumbTempFilePath","errMsg"])),{},{type:"video",url:e.tempFilePath,thumb:e.thumbTempFilePath,size:e.size})]}(e))},fail:h});break;case"file":r.chooseMessageFile({count:i?f:1,type:n,success:function(e){return t(l(e))},fail:h});break;default:r.chooseMessageFile({count:i?f:1,type:"all",success:function(e){return t(l(e))},fail:h})}}))};var o=i(n("7ca3"));function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){return["[object Object]","[object File]"].includes(Object.prototype.toString.call(e))?Object.keys(e).reduce((function(n,r){return t.includes(r)||(n[r]=e[r]),n}),{}):{}}function l(e){return e.tempFiles.map((function(e){return s(s({},u(e,["path"])),{},{url:e.path,size:e.size})}))}}).call(this,n("df3c")["default"],n("3223")["default"])},"24e2":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={gridItem:{name:null,bgColor:"transparent"}}},2503:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={overlay:{show:!1,zIndex:10070,duration:300,opacity:.5}}},2693:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={countDown:{time:0,format:"HH:mm:ss",autoStart:!0,millisecond:!1}}},2892:function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("7ca3")),o=r(n("ecf9")),a=r(n("dd81")),s=r(n("9788")),u=r(n("a590")),l=r(n("f2b4")),c=r(n("4034")),d=r(n("84d2")),p=r(n("9418")),f=r(n("c39e")),h=r(n("d241")),g=r(n("9259")),y=r(n("ebd4")),m=r(n("1842")),v=r(n("9f85")),_=r(n("36fe")),b=r(n("7898")),x=r(n("49c8")),w=r(n("2a5a")),S=r(n("53cc")),A=r(n("88b8")),C=r(n("2eed")),k=r(n("19bb")),T=r(n("2693")),I=r(n("6a2a")),M=r(n("01de")),O=r(n("8856")),P=r(n("1a72")),D=r(n("8d23")),E=r(n("0e16")),B=r(n("6b55")),L=r(n("11e4")),N=r(n("24e2")),R=r(n("dd2c")),j=r(n("4cf9")),F=r(n("82d9")),z=r(n("0712")),$=r(n("fc07")),U=r(n("53ac")),H=r(n("92e5")),V=r(n("fd13")),G=r(n("4df6")),W=r(n("5f2f")),q=r(n("ba1a")),Q=r(n("29fb")),Y=r(n("e207")),X=r(n("239c")),K=r(n("c596")),J=r(n("0207")),Z=r(n("b1ce")),ee=r(n("b1fa")),te=r(n("fcda")),ne=r(n("d42e")),re=r(n("8185")),ie=r(n("2503")),oe=r(n("31ad")),ae=r(n("3433")),se=r(n("b365")),ue=r(n("b4cd")),le=r(n("542e")),ce=r(n("3a2b")),de=r(n("8801")),pe=r(n("fa47")),fe=r(n("d447")),he=r(n("d5e5")),ge=r(n("a549")),ye=r(n("6e58")),me=r(n("e221")),ve=r(n("45c1")),_e=r(n("43d9")),be=r(n("0337")),xe=r(n("2cbd")),we=r(n("d0df")),Se=r(n("e229")),Ae=r(n("3f13")),Ce=r(n("4039")),ke=r(n("4572")),Te=r(n("513e")),Ie=r(n("a26c")),Me=r(n("de96")),Oe=r(n("42e1")),Pe=r(n("e50d")),De=r(n("d69a")),Ee=r(n("5af4")),Be=r(n("da11")),Le=r(n("2d20")),Ne=r(n("1b18")),Re=r(n("7212")),je=r(n("55e7")),Fe=r(n("697e"));function ze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ze(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}o.default.color;var Ue=$e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e($e({},a.default),s.default),u.default),l.default),c.default),d.default),p.default),f.default),h.default),g.default),y.default),m.default),v.default),_.default),b.default),x.default),w.default),S.default),A.default),C.default),k.default),T.default),I.default),M.default),O.default),P.default),D.default),E.default),B.default),L.default),N.default),R.default),j.default),F.default),z.default),$.default),U.default),H.default),V.default),G.default),W.default),q.default),Q.default),Y.default),X.default),K.default),J.default),Z.default),ee.default),te.default),ne.default),re.default),ie.default),oe.default),ae.default),se.default),ue.default),le.default),ce.default),de.default),pe.default),fe.default),he.default),ge.default),ye.default),me.default),ve.default),_e.default),be.default),xe.default),we.default),Se.default),Ae.default),Ce.default),ke.default),Te.default),Ie.default),Me.default),Oe.default),Pe.default),De.default),Ee.default),Be.default),Le.default),Ne.default),Re.default),je.default),Fe.default);t.default=Ue},"28d0":function(e,t,n){t.nextTick=function(e){var t=Array.prototype.slice.call(arguments);t.shift(),setTimeout((function(){e.apply(null,t)}),0)},t.platform=t.arch=t.execPath=t.title="browser",t.pid=1,t.browser=!0,t.env={},t.argv=[],t.binding=function(e){throw new Error("No such module. (Possibly not yet loaded)")},function(){var e,r="/";t.cwd=function(){return r},t.chdir=function(t){e||(e=n("a3fc")),r=e.resolve(t,r)}}(),t.exit=t.kill=t.umask=t.dlopen=t.uptime=t.memoryUsage=t.uvCounters=function(){},t.features={}},"29fb":function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("ecf9")),o=i.default.color,a={loadingIcon:{show:!0,color:o["u-tips-color"],textColor:o["u-tips-color"],vertical:!1,mode:"spinner",size:24,textSize:15,text:"",timingFunction:"ease-in-out",duration:1200,inactiveColor:""}};t.default=a},"29ff":function(e,t,n){(function(e){var t=n("3b2d");e.addInterceptor({returnValue:function(e){return!e||"object"!==t(e)&&"function"!==typeof e||"function"!==typeof e.then?e:new Promise((function(t,n){e.then((function(e){return e[0]?n(e[0]):t(e[1])}))}))}})}).call(this,n("df3c")["default"])},"2a5a":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={codeInput:{adjustPosition:!0,maxlength:6,dot:!1,mode:"box",hairline:!1,space:10,value:"",focus:!1,bold:!1,color:"#606266",fontSize:18,size:35,disabledKeyboard:!1,borderColor:"#c9cacc",disabledDot:!0}}},"2cb1":function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];n?r||(r=!0,"function"===typeof e&&e(),setTimeout((function(){r=!1}),t)):r||(r=!0,setTimeout((function(){r=!1,"function"===typeof e&&e()}),t))};t.default=i},"2cbd":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={stepsItem:{title:"",desc:"",iconSize:17,error:!1}}},"2d20":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={toast:{zIndex:10090,loading:!1,text:"",icon:"",type:"",loadingMode:"",show:"",overlay:!1,position:"center",params:function(){},duration:2e3,isTab:!1,url:"",callback:null,back:!1}}},"2df7":function(e,t,n){"use strict";function r(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/;if(e=String(e).toLowerCase(),e&&n.test(e)){if(4===e.length){for(var r="#",i=1;i<4;i+=1)r+=e.slice(i,i+1).concat(e.slice(i,i+1));e=r}for(var o=[],a=1;a<7;a+=2)o.push(parseInt("0x".concat(e.slice(a,a+2))));return t?"rgb(".concat(o[0],",").concat(o[1],",").concat(o[2],")"):o}if(/^(rgb|RGB)/.test(e)){var s=e.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",");return s.map((function(e){return Number(e)}))}return e}function i(e){var t=e;if(/^(rgb|RGB)/.test(t)){for(var n=t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(","),r="#",i=0;i<n.length;i++){var o=Number(n[i]).toString(16);o=1==String(o).length?"".concat(0,o):o,"0"===o&&(o+=o),r+=o}return 7!==r.length&&(r=t),r}if(!/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(t))return t;var a=t.replace(/#/,"").split("");if(6===a.length)return t;if(3===a.length){for(var s="#",u=0;u<a.length;u+=1)s+=a[u]+a[u];return s}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={colorGradient:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(0, 0, 0)",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"rgb(255, 255, 255)",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,o=r(e,!1),a=o[0],s=o[1],u=o[2],l=r(t,!1),c=l[0],d=l[1],p=l[2],f=(c-a)/n,h=(d-s)/n,g=(p-u)/n,y=[],m=0;m<n;m++){var v=i("rgb(".concat(Math.round(f*m+a),",").concat(Math.round(h*m+s),",").concat(Math.round(g*m+u),")"));0===m&&(v=i(e)),m===n-1&&(v=i(t)),y.push(v)}return y},hexToRgb:r,rgbToHex:i,colorToRgba:function(e,t){e=i(e);var n=String(e).toLowerCase();if(n&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(n)){if(4===n.length){for(var r="#",o=1;o<4;o+=1)r+=n.slice(o,o+1).concat(n.slice(o,o+1));n=r}for(var a=[],s=1;s<7;s+=2)a.push(parseInt("0x".concat(n.slice(s,s+2))));return"rgba(".concat(a.join(","),",").concat(t,")")}return n}};t.default=o},"2e78":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={methods:{closeHandler:function(){this.status="close"},setState:function(e){this.status=e},closeOther:function(){this.parent&&this.parent.closeOther(this)}}}},"2eed":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={collapseItem:{title:"",value:"",label:"",disabled:!1,isLink:!0,clickable:!0,border:!0,align:"left",name:"",icon:"",duration:300}}},3006:function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e&&!(0,i.default)(t))return(0,o.default)(e,t);return t};var i=r(n("0427")),o=r(n("4fa7"))},"31ad":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={parse:{copyLink:!0,errorImg:"",lazyLoad:!1,loadingImg:"",pauseVideo:!0,previewImg:!0,setTitle:!0,showImgMenu:!0}}},3223:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=["qy","env","error","version","lanDebug","cloud","serviceMarket","router","worklet","__webpack_require_UNI_MP_PLUGIN__"],i=["lanDebug","router","worklet"],o="undefined"!==typeof globalThis?globalThis:function(){return this}(),a=["w","x"].join(""),s=o[a],u=s.getLaunchOptionsSync?s.getLaunchOptionsSync():null;function l(e){return(!u||1154!==u.scene||!i.includes(e))&&(r.indexOf(e)>-1||"function"===typeof s[e])}o[a]=function(){var e={};for(var t in s)l(t)&&(e[t]=s[t]);return e}();var c=o[a];t.default=c},3240:function(e,t,n){"use strict";n.r(t),function(e){
/*!
 * Vue.js v2.6.11
 * (c) 2014-2023 Evan You
 * Released under the MIT License.
 */
var n=Object.freeze({});function r(e){return void 0===e||null===e}function i(e){return void 0!==e&&null!==e}function o(e){return!0===e}function a(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function s(e){return null!==e&&"object"===typeof e}var u=Object.prototype.toString;function l(e){return"[object Object]"===u.call(e)}function c(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return i(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function p(e){return null==e?"":Array.isArray(e)||l(e)&&e.toString===u?JSON.stringify(e,null,2):String(e)}function f(e){var t=parseFloat(e);return isNaN(t)?e:t}function h(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}h("slot,component",!0);var g=h("key,ref,slot,slot-scope,is");function y(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}var m=Object.prototype.hasOwnProperty;function v(e,t){return m.call(e,t)}function _(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var b=/-(\w)/g,x=_((function(e){return e.replace(b,(function(e,t){return t?t.toUpperCase():""}))})),w=_((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),S=/\B([A-Z])/g,A=_((function(e){return e.replace(S,"-$1").toLowerCase()}));var C=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function k(e,t){t=t||0;var n=e.length-t,r=new Array(n);while(n--)r[n]=e[n+t];return r}function T(e,t){for(var n in t)e[n]=t[n];return e}function I(e){for(var t={},n=0;n<e.length;n++)e[n]&&T(t,e[n]);return t}function M(e,t,n){}var O=function(e,t,n){return!1},P=function(e){return e};function D(e,t){if(e===t)return!0;var n=s(e),r=s(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var i=Array.isArray(e),o=Array.isArray(t);if(i&&o)return e.length===t.length&&e.every((function(e,n){return D(e,t[n])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(i||o)return!1;var a=Object.keys(e),u=Object.keys(t);return a.length===u.length&&a.every((function(n){return D(e[n],t[n])}))}catch(l){return!1}}function E(e,t){for(var n=0;n<e.length;n++)if(D(e[n],t))return n;return-1}function B(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var L=["component","directive","filter"],N=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],R={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:O,isReservedAttr:O,isUnknownElement:O,getTagNamespace:M,parsePlatformTagName:P,mustUseProp:O,async:!0,_lifecycleHooks:N},j=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function F(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function z(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var $=new RegExp("[^"+j.source+".$_\\d]");var U,H="__proto__"in{},V="undefined"!==typeof window,G="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,W=G&&WXEnvironment.platform.toLowerCase(),q=V&&window.navigator.userAgent.toLowerCase(),Q=q&&/msie|trident/.test(q),Y=(q&&q.indexOf("msie 9.0"),q&&q.indexOf("edge/")>0),X=(q&&q.indexOf("android"),q&&/iphone|ipad|ipod|ios/.test(q)||"ios"===W),K=(q&&/chrome\/\d+/.test(q),q&&/phantomjs/.test(q),q&&q.match(/firefox\/(\d+)/),{}.watch);if(V)try{var J={};Object.defineProperty(J,"passive",{get:function(){}}),window.addEventListener("test-passive",null,J)}catch(Rn){}var Z=function(){return void 0===U&&(U=!V&&!G&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),U},ee=V&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function te(e){return"function"===typeof e&&/native code/.test(e.toString())}var ne,re="undefined"!==typeof Symbol&&te(Symbol)&&"undefined"!==typeof Reflect&&te(Reflect.ownKeys);ne="undefined"!==typeof Set&&te(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ie=M,oe=0,ae=function(){this.id=oe++,this.subs=[]};function se(e){ae.SharedObject.targetStack.push(e),ae.SharedObject.target=e,ae.target=e}function ue(){ae.SharedObject.targetStack.pop(),ae.SharedObject.target=ae.SharedObject.targetStack[ae.SharedObject.targetStack.length-1],ae.target=ae.SharedObject.target}ae.prototype.addSub=function(e){this.subs.push(e)},ae.prototype.removeSub=function(e){y(this.subs,e)},ae.prototype.depend=function(){ae.SharedObject.target&&ae.SharedObject.target.addDep(this)},ae.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t<n;t++)e[t].update()},ae.SharedObject={},ae.SharedObject.target=null,ae.SharedObject.targetStack=[];var le=function(e,t,n,r,i,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},ce={child:{configurable:!0}};ce.child.get=function(){return this.componentInstance},Object.defineProperties(le.prototype,ce);var de=function(e){void 0===e&&(e="");var t=new le;return t.text=e,t.isComment=!0,t};function pe(e){return new le(void 0,void 0,void 0,String(e))}var fe=Array.prototype,he=Object.create(fe);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(e){var t=fe[e];z(he,e,(function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];var i,o=t.apply(this,n),a=this.__ob__;switch(e){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2);break}return i&&a.observeArray(i),a.dep.notify(),o}))}));var ge=Object.getOwnPropertyNames(he),ye=!0;function me(e){ye=e}var ve=function(e){this.value=e,this.dep=new ae,this.vmCount=0,z(e,"__ob__",this),Array.isArray(e)?(H?e.push!==e.__proto__.push?_e(e,he,ge):function(e,t){e.__proto__=t}(e,he):_e(e,he,ge),this.observeArray(e)):this.walk(e)};function _e(e,t,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];z(e,o,t[o])}}function be(e,t){var n;if(s(e)&&!(e instanceof le))return v(e,"__ob__")&&e.__ob__ instanceof ve?n=e.__ob__:!ye||Z()||!Array.isArray(e)&&!l(e)||!Object.isExtensible(e)||e._isVue||e.__v_isMPComponent||(n=new ve(e)),t&&n&&n.vmCount++,n}function xe(e,t,n,r,i){var o=new ae,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,u=a&&a.set;s&&!u||2!==arguments.length||(n=e[t]);var l=!i&&be(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return ae.SharedObject.target&&(o.depend(),l&&(l.dep.depend(),Array.isArray(t)&&Ae(t))),t},set:function(t){var r=s?s.call(e):n;t===r||t!==t&&r!==r||s&&!u||(u?u.call(e,t):n=t,l=!i&&be(t),o.notify())}})}}function we(e,t,n){if(Array.isArray(e)&&c(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(xe(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function Se(e,t){if(Array.isArray(e)&&c(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||v(e,t)&&(delete e[t],n&&n.dep.notify())}}function Ae(e){for(var t=void 0,n=0,r=e.length;n<r;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&Ae(t)}ve.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)xe(e,t[n])},ve.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)be(e[t])};var Ce=R.optionMergeStrategies;function ke(e,t){if(!t)return e;for(var n,r,i,o=re?Reflect.ownKeys(t):Object.keys(t),a=0;a<o.length;a++)n=o[a],"__ob__"!==n&&(r=e[n],i=t[n],v(e,n)?r!==i&&l(r)&&l(i)&&ke(r,i):we(e,n,i));return e}function Te(e,t,n){return n?function(){var r="function"===typeof t?t.call(n,n):t,i="function"===typeof e?e.call(n,n):e;return r?ke(r,i):i}:t?e?function(){return ke("function"===typeof t?t.call(this,this):t,"function"===typeof e?e.call(this,this):e)}:t:e}function Ie(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function Me(e,t,n,r){var i=Object.create(e||null);return t?T(i,t):i}Ce.data=function(e,t,n){return n?Te(e,t,n):t&&"function"!==typeof t?e:Te(e,t)},N.forEach((function(e){Ce[e]=Ie})),L.forEach((function(e){Ce[e+"s"]=Me})),Ce.watch=function(e,t,n,r){if(e===K&&(e=void 0),t===K&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};for(var o in T(i,e),t){var a=i[o],s=t[o];a&&!Array.isArray(a)&&(a=[a]),i[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return i},Ce.props=Ce.methods=Ce.inject=Ce.computed=function(e,t,n,r){if(!e)return t;var i=Object.create(null);return T(i,e),t&&T(i,t),i},Ce.provide=Te;var Oe=function(e,t){return void 0===t?e:t};function Pe(e,t,n){if("function"===typeof t&&(t=t.options),function(e,t){var n=e.props;if(n){var r,i,o,a={};if(Array.isArray(n)){r=n.length;while(r--)i=n[r],"string"===typeof i&&(o=x(i),a[o]={type:null})}else if(l(n))for(var s in n)i=n[s],o=x(s),a[o]=l(i)?i:{type:i};else 0;e.props=a}}(t),function(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(l(n))for(var o in n){var a=n[o];r[o]=l(a)?T({from:o},a):{from:a}}else 0}}(t),function(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"===typeof r&&(t[n]={bind:r,update:r})}}(t),!t._base&&(t.extends&&(e=Pe(e,t.extends,n)),t.mixins))for(var r=0,i=t.mixins.length;r<i;r++)e=Pe(e,t.mixins[r],n);var o,a={};for(o in e)s(o);for(o in t)v(e,o)||s(o);function s(r){var i=Ce[r]||Oe;a[r]=i(e[r],t[r],n,r)}return a}function De(e,t,n,r){if("string"===typeof n){var i=e[t];if(v(i,n))return i[n];var o=x(n);if(v(i,o))return i[o];var a=w(o);if(v(i,a))return i[a];var s=i[n]||i[o]||i[a];return s}}function Ee(e,t,n,r){var i=t[e],o=!v(n,e),a=n[e],s=Ne(Boolean,i.type);if(s>-1)if(o&&!v(i,"default"))a=!1;else if(""===a||a===A(e)){var u=Ne(String,i.type);(u<0||s<u)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(!v(t,"default"))return;var r=t.default;0;if(e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n])return e._props[n];return"function"===typeof r&&"Function"!==Be(t.type)?r.call(e):r}(r,i,e);var l=ye;me(!0),be(a),me(l)}return a}function Be(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Le(e,t){return Be(e)===Be(t)}function Ne(e,t){if(!Array.isArray(t))return Le(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(Le(t[n],e))return n;return-1}function Re(e,t,n){se();try{if(t){var r=t;while(r=r.$parent){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{var a=!1===i[o].call(r,e,t,n);if(a)return}catch(Rn){Fe(Rn,r,"errorCaptured hook")}}}Fe(e,t,n)}finally{ue()}}function je(e,t,n,r,i){var o;try{o=n?e.apply(t,n):e.call(t),o&&!o._isVue&&d(o)&&!o._handled&&(o.catch((function(e){return Re(e,r,i+" (Promise/async)")})),o._handled=!0)}catch(Rn){Re(Rn,r,i)}return o}function Fe(e,t,n){if(R.errorHandler)try{return R.errorHandler.call(null,e,t,n)}catch(Rn){Rn!==e&&ze(Rn,null,"config.errorHandler")}ze(e,t,n)}function ze(e,t,n){if(!V&&!G||"undefined"===typeof console)throw e;console.error(e)}var $e,Ue=[],He=!1;function Ve(){He=!1;var e=Ue.slice(0);Ue.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!==typeof Promise&&te(Promise)){var Ge=Promise.resolve();$e=function(){Ge.then(Ve),X&&setTimeout(M)}}else if(Q||"undefined"===typeof MutationObserver||!te(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())$e="undefined"!==typeof setImmediate&&te(setImmediate)?function(){setImmediate(Ve)}:function(){setTimeout(Ve,0)};else{var We=1,qe=new MutationObserver(Ve),Qe=document.createTextNode(String(We));qe.observe(Qe,{characterData:!0}),$e=function(){We=(We+1)%2,Qe.data=String(We)}}function Ye(e,t){var n;if(Ue.push((function(){if(e)try{e.call(t)}catch(Rn){Re(Rn,t,"nextTick")}else n&&n(t)})),He||(He=!0,$e()),!e&&"undefined"!==typeof Promise)return new Promise((function(e){n=e}))}var Xe=new ne;function Ke(e){(function e(t,n){var r,i,o=Array.isArray(t);if(!o&&!s(t)||Object.isFrozen(t)||t instanceof le)return;if(t.__ob__){var a=t.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(o){r=t.length;while(r--)e(t[r],n)}else{i=Object.keys(t),r=i.length;while(r--)e(t[i[r]],n)}})(e,Xe),Xe.clear()}var Je=_((function(e){var t="&"===e.charAt(0);e=t?e.slice(1):e;var n="~"===e.charAt(0);e=n?e.slice(1):e;var r="!"===e.charAt(0);return e=r?e.slice(1):e,{name:e,once:n,capture:r,passive:t}}));function Ze(e,t){function n(){var e=arguments,r=n.fns;if(!Array.isArray(r))return je(r,null,arguments,t,"v-on handler");for(var i=r.slice(),o=0;o<i.length;o++)je(i[o],null,e,t,"v-on handler")}return n.fns=e,n}function et(e,t,n,o){var a=t.options.mpOptions&&t.options.mpOptions.properties;if(r(a))return n;var s=t.options.mpOptions.externalClasses||[],u=e.attrs,l=e.props;if(i(u)||i(l))for(var c in a){var d=A(c),p=tt(n,l,c,d,!0)||tt(n,u,c,d,!1);p&&n[c]&&-1!==s.indexOf(d)&&o[x(n[c])]&&(n[c]=o[x(n[c])])}return n}function tt(e,t,n,r,o){if(i(t)){if(v(t,n))return e[n]=t[n],o||delete t[n],!0;if(v(t,r))return e[n]=t[r],o||delete t[r],!0}return!1}function nt(e){return a(e)?[pe(e)]:Array.isArray(e)?function e(t,n){var s,u,l,c,d=[];for(s=0;s<t.length;s++)u=t[s],r(u)||"boolean"===typeof u||(l=d.length-1,c=d[l],Array.isArray(u)?u.length>0&&(u=e(u,(n||"")+"_"+s),rt(u[0])&&rt(c)&&(d[l]=pe(c.text+u[0].text),u.shift()),d.push.apply(d,u)):a(u)?rt(c)?d[l]=pe(c.text+u):""!==u&&d.push(pe(u)):rt(u)&&rt(c)?d[l]=pe(c.text+u.text):(o(t._isVList)&&i(u.tag)&&r(u.key)&&i(n)&&(u.key="__vlist"+n+"_"+s+"__"),d.push(u)));return d}(e):void 0}function rt(e){return i(e)&&i(e.text)&&function(e){return!1===e}(e.isComment)}function it(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function ot(e){var t=at(e.$options.inject,e);t&&(me(!1),Object.keys(t).forEach((function(n){xe(e,n,t[n])})),me(!0))}function at(e,t){if(e){for(var n=Object.create(null),r=re?Reflect.ownKeys(e):Object.keys(e),i=0;i<r.length;i++){var o=r[i];if("__ob__"!==o){var a=e[o].from,s=t;while(s){if(s._provided&&v(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s)if("default"in e[o]){var u=e[o].default;n[o]="function"===typeof u?u.call(t):u}else 0}}return n}}function st(e,t){if(!e||!e.length)return{};for(var n={},r=0,i=e.length;r<i;r++){var o=e[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==t&&o.fnContext!==t||!a||null==a.slot)o.asyncMeta&&o.asyncMeta.data&&"page"===o.asyncMeta.data.slot?(n["page"]||(n["page"]=[])).push(o):(n.default||(n.default=[])).push(o);else{var s=a.slot,u=n[s]||(n[s]=[]);"template"===o.tag?u.push.apply(u,o.children||[]):u.push(o)}}for(var l in n)n[l].every(ut)&&delete n[l];return n}function ut(e){return e.isComment&&!e.asyncFactory||" "===e.text}function lt(e,t,r){var i,o=Object.keys(t).length>0,a=e?!!e.$stable:!o,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&r&&r!==n&&s===r.$key&&!o&&!r.$hasNormal)return r;for(var u in i={},e)e[u]&&"$"!==u[0]&&(i[u]=ct(t,u,e[u]))}else i={};for(var l in t)l in i||(i[l]=dt(t,l));return e&&Object.isExtensible(e)&&(e._normalized=i),z(i,"$stable",a),z(i,"$key",s),z(i,"$hasNormal",o),i}function ct(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:nt(e),e&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function dt(e,t){return function(){return e[t]}}function pt(e,t){var n,r,o,a,u;if(Array.isArray(e)||"string"===typeof e)for(n=new Array(e.length),r=0,o=e.length;r<o;r++)n[r]=t(e[r],r,r,r);else if("number"===typeof e)for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r,r,r);else if(s(e))if(re&&e[Symbol.iterator]){n=[];var l=e[Symbol.iterator](),c=l.next();while(!c.done)n.push(t(c.value,n.length,r,r++)),c=l.next()}else for(a=Object.keys(e),n=new Array(a.length),r=0,o=a.length;r<o;r++)u=a[r],n[r]=t(e[u],u,r,r);return i(n)||(n=[]),n._isVList=!0,n}function ft(e,t,n,r){var i,o=this.$scopedSlots[e];o?(n=n||{},r&&(n=T(T({},r),n)),i=o(n,this,n._i)||t):i=this.$slots[e]||t;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},i):i}function ht(e){return De(this.$options,"filters",e)||P}function gt(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function yt(e,t,n,r,i){var o=R.keyCodes[t]||n;return i&&r&&!R.keyCodes[t]?gt(i,r):o?gt(o,e):r?A(r)!==t:void 0}function mt(e,t,n,r,i){if(n)if(s(n)){var o;Array.isArray(n)&&(n=I(n));var a=function(a){if("class"===a||"style"===a||g(a))o=e;else{var s=e.attrs&&e.attrs.type;o=r||R.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var u=x(a),l=A(a);if(!(u in o)&&!(l in o)&&(o[a]=n[a],i)){var c=e.on||(e.on={});c["update:"+a]=function(e){n[a]=e}}};for(var u in n)a(u)}else;return e}function vt(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),bt(r,"__static__"+e,!1)),r}function _t(e,t,n){return bt(e,"__once__"+t+(n?"_"+n:""),!0),e}function bt(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!==typeof e[r]&&xt(e[r],t+"_"+r,n);else xt(e,t,n)}function xt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function wt(e,t){if(t)if(l(t)){var n=e.on=e.on?T({},e.on):{};for(var r in t){var i=n[r],o=t[r];n[r]=i?[].concat(i,o):o}}else;return e}function St(e,t,n,r){t=t||{$stable:!n};for(var i=0;i<e.length;i++){var o=e[i];Array.isArray(o)?St(o,t,n):o&&(o.proxy&&(o.fn.proxy=!0),t[o.key]=o.fn)}return r&&(t.$key=r),t}function At(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];"string"===typeof r&&r&&(e[t[n]]=t[n+1])}return e}function Ct(e,t){return"string"===typeof e?t+e:e}function kt(e){e._o=_t,e._n=f,e._s=p,e._l=pt,e._t=ft,e._q=D,e._i=E,e._m=vt,e._f=ht,e._k=yt,e._b=mt,e._v=pe,e._e=de,e._u=St,e._g=wt,e._d=At,e._p=Ct}function Tt(e,t,r,i,a){var s,u=this,l=a.options;v(i,"_uid")?(s=Object.create(i),s._original=i):(s=i,i=i._original);var c=o(l._compiled),d=!c;this.data=e,this.props=t,this.children=r,this.parent=i,this.listeners=e.on||n,this.injections=at(l.inject,i),this.slots=function(){return u.$slots||lt(e.scopedSlots,u.$slots=st(r,i)),u.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return lt(e.scopedSlots,this.slots())}}),c&&(this.$options=l,this.$slots=this.slots(),this.$scopedSlots=lt(e.scopedSlots,this.$slots)),l._scopeId?this._c=function(e,t,n,r){var o=Bt(s,e,t,n,r,d);return o&&!Array.isArray(o)&&(o.fnScopeId=l._scopeId,o.fnContext=i),o}:this._c=function(e,t,n,r){return Bt(s,e,t,n,r,d)}}function It(e,t,n,r,i){var o=function(e){var t=new le(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}(e);return o.fnContext=n,o.fnOptions=r,t.slot&&((o.data||(o.data={})).slot=t.slot),o}function Mt(e,t){for(var n in t)e[x(n)]=t[n]}kt(Tt.prototype);var Ot={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;Ot.prepatch(n,n)}else{var r=e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;i(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns);return new e.componentOptions.Ctor(n)}(e,Ht);r.$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var r=t.componentOptions,i=t.componentInstance=e.componentInstance;(function(e,t,r,i,o){0;var a=i.data.scopedSlots,s=e.$scopedSlots,u=!!(a&&!a.$stable||s!==n&&!s.$stable||a&&e.$scopedSlots.$key!==a.$key),l=!!(o||e.$options._renderChildren||u);e.$options._parentVnode=i,e.$vnode=i,e._vnode&&(e._vnode.parent=i);if(e.$options._renderChildren=o,e.$attrs=i.data.attrs||n,e.$listeners=r||n,t&&e.$options.props){me(!1);for(var c=e._props,d=e.$options._propKeys||[],p=0;p<d.length;p++){var f=d[p],h=e.$options.props;c[f]=Ee(f,h,t,e)}me(!0),e.$options.propsData=t}e._$updateProperties&&e._$updateProperties(e),r=r||n;var g=e.$options._parentListeners;e.$options._parentListeners=r,Ut(e,r,g),l&&(e.$slots=st(o,i.context),e.$forceUpdate());0})(i,r.propsData,r.listeners,t,r.children)},insert:function(e){var t=e.context,n=e.componentInstance;n._isMounted||(Wt(n,"onServiceCreated"),Wt(n,"onServiceAttached"),n._isMounted=!0,Wt(n,"mounted")),e.data.keepAlive&&(t._isMounted?function(e){e._inactive=!1,Qt.push(e)}(n):Gt(n,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,n){if(n&&(t._directInactive=!0,Vt(t)))return;if(!t._inactive){t._inactive=!0;for(var r=0;r<t.$children.length;r++)e(t.$children[r]);Wt(t,"deactivated")}}(t,!0):t.$destroy())}},Pt=Object.keys(Ot);function Dt(e,t,a,u,l){if(!r(e)){var c=a.$options._base;if(s(e)&&(e=c.extend(e)),"function"===typeof e){var p;if(r(e.cid)&&(p=e,e=function(e,t){if(o(e.error)&&i(e.errorComp))return e.errorComp;if(i(e.resolved))return e.resolved;var n=Nt;n&&i(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n);if(o(e.loading)&&i(e.loadingComp))return e.loadingComp;if(n&&!i(e.owners)){var a=e.owners=[n],u=!0,l=null,c=null;n.$on("hook:destroyed",(function(){return y(a,n)}));var p=function(e){for(var t=0,n=a.length;t<n;t++)a[t].$forceUpdate();e&&(a.length=0,null!==l&&(clearTimeout(l),l=null),null!==c&&(clearTimeout(c),c=null))},f=B((function(n){e.resolved=Rt(n,t),u?a.length=0:p(!0)})),h=B((function(t){i(e.errorComp)&&(e.error=!0,p(!0))})),g=e(f,h);return s(g)&&(d(g)?r(e.resolved)&&g.then(f,h):d(g.component)&&(g.component.then(f,h),i(g.error)&&(e.errorComp=Rt(g.error,t)),i(g.loading)&&(e.loadingComp=Rt(g.loading,t),0===g.delay?e.loading=!0:l=setTimeout((function(){l=null,r(e.resolved)&&r(e.error)&&(e.loading=!0,p(!1))}),g.delay||200)),i(g.timeout)&&(c=setTimeout((function(){c=null,r(e.resolved)&&h(null)}),g.timeout)))),u=!1,e.loading?e.loadingComp:e.resolved}}(p,c),void 0===e))return function(e,t,n,r,i){var o=de();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:r,tag:i},o}(p,t,a,u,l);t=t||{},hn(e),i(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var o=t.on||(t.on={}),a=o[r],s=t.model.callback;i(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(o[r]=[s].concat(a)):o[r]=s}(e.options,t);var f=function(e,t,n,o){var a=t.options.props;if(r(a))return et(e,t,{},o);var s={},u=e.attrs,l=e.props;if(i(u)||i(l))for(var c in a){var d=A(c);tt(s,l,c,d,!0)||tt(s,u,c,d,!1)}return et(e,t,s,o)}(t,e,0,a);if(o(e.options.functional))return function(e,t,r,o,a){var s=e.options,u={},l=s.props;if(i(l))for(var c in l)u[c]=Ee(c,l,t||n);else i(r.attrs)&&Mt(u,r.attrs),i(r.props)&&Mt(u,r.props);var d=new Tt(r,u,a,o,e),p=s.render.call(null,d._c,d);if(p instanceof le)return It(p,r,d.parent,s,d);if(Array.isArray(p)){for(var f=nt(p)||[],h=new Array(f.length),g=0;g<f.length;g++)h[g]=It(f[g],r,d.parent,s,d);return h}}(e,f,t,a,u);var h=t.on;if(t.on=t.nativeOn,o(e.options.abstract)){var g=t.slot;t={},g&&(t.slot=g)}(function(e){for(var t=e.hook||(e.hook={}),n=0;n<Pt.length;n++){var r=Pt[n],i=t[r],o=Ot[r];i===o||i&&i._merged||(t[r]=i?Et(o,i):o)}})(t);var m=e.options.name||l,v=new le("vue-component-"+e.cid+(m?"-"+m:""),t,void 0,void 0,void 0,a,{Ctor:e,propsData:f,listeners:h,tag:l,children:u},p);return v}}}function Et(e,t){var n=function(n,r){e(n,r),t(n,r)};return n._merged=!0,n}function Bt(e,t,n,u,l,c){return(Array.isArray(n)||a(n))&&(l=u,u=n,n=void 0),o(c)&&(l=2),function(e,t,n,a,u){if(i(n)&&i(n.__ob__))return de();i(n)&&i(n.is)&&(t=n.is);if(!t)return de();0;Array.isArray(a)&&"function"===typeof a[0]&&(n=n||{},n.scopedSlots={default:a[0]},a.length=0);2===u?a=nt(a):1===u&&(a=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(a));var l,c;if("string"===typeof t){var d;c=e.$vnode&&e.$vnode.ns||R.getTagNamespace(t),l=R.isReservedTag(t)?new le(R.parsePlatformTagName(t),n,a,void 0,void 0,e):n&&n.pre||!i(d=De(e.$options,"components",t))?new le(t,n,a,void 0,void 0,e):Dt(d,n,e,a,t)}else l=Dt(t,n,e,a);return Array.isArray(l)?l:i(l)?(i(c)&&function e(t,n,a){t.ns=n,"foreignObject"===t.tag&&(n=void 0,a=!0);if(i(t.children))for(var s=0,u=t.children.length;s<u;s++){var l=t.children[s];i(l.tag)&&(r(l.ns)||o(a)&&"svg"!==l.tag)&&e(l,n,a)}}(l,c),i(n)&&function(e){s(e.style)&&Ke(e.style);s(e.class)&&Ke(e.class)}(n),l):de()}(e,t,n,u,l)}var Lt,Nt=null;function Rt(e,t){return(e.__esModule||re&&"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e)?t.extend(e):e}function jt(e){return e.isComment&&e.asyncFactory}function Ft(e,t){Lt.$on(e,t)}function zt(e,t){Lt.$off(e,t)}function $t(e,t){var n=Lt;return function r(){var i=t.apply(null,arguments);null!==i&&n.$off(e,r)}}function Ut(e,t,n){Lt=e,function(e,t,n,i,a,s){var u,l,c,d;for(u in e)l=e[u],c=t[u],d=Je(u),r(l)||(r(c)?(r(l.fns)&&(l=e[u]=Ze(l,s)),o(d.once)&&(l=e[u]=a(d.name,l,d.capture)),n(d.name,l,d.capture,d.passive,d.params)):l!==c&&(c.fns=l,e[u]=c));for(u in t)r(e[u])&&(d=Je(u),i(d.name,t[u],d.capture))}(t,n||{},Ft,zt,$t,e),Lt=void 0}var Ht=null;function Vt(e){while(e&&(e=e.$parent))if(e._inactive)return!0;return!1}function Gt(e,t){if(t){if(e._directInactive=!1,Vt(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)Gt(e.$children[n]);Wt(e,"activated")}}function Wt(e,t){se();var n=e.$options[t],r=t+" hook";if(n)for(var i=0,o=n.length;i<o;i++)je(n[i],e,null,e,r);e._hasHookEvent&&e.$emit("hook:"+t),ue()}var qt=[],Qt=[],Yt={},Xt=!1,Kt=!1,Jt=0;var Zt=Date.now;if(V&&!Q){var en=window.performance;en&&"function"===typeof en.now&&Zt()>document.createEvent("Event").timeStamp&&(Zt=function(){return en.now()})}function tn(){var e,t;for(Zt(),Kt=!0,qt.sort((function(e,t){return e.id-t.id})),Jt=0;Jt<qt.length;Jt++)e=qt[Jt],e.before&&e.before(),t=e.id,Yt[t]=null,e.run();var n=Qt.slice(),r=qt.slice();(function(){Jt=qt.length=Qt.length=0,Yt={},Xt=Kt=!1})(),function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Gt(e[t],!0)}(n),function(e){var t=e.length;while(t--){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&Wt(r,"updated")}}(r),ee&&R.devtools&&ee.emit("flush")}var nn=0,rn=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++nn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ne,this.newDepIds=new ne,this.expression="","function"===typeof t?this.getter=t:(this.getter=function(e){if(!$.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=M)),this.value=this.lazy?void 0:this.get()};rn.prototype.get=function(){var e;se(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(Rn){if(!this.user)throw Rn;Re(Rn,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&Ke(e),ue(),this.cleanupDeps()}return e},rn.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},rn.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},rn.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==Yt[t]){if(Yt[t]=!0,Kt){var n=qt.length-1;while(n>Jt&&qt[n].id>e.id)n--;qt.splice(n+1,0,e)}else qt.push(e);Xt||(Xt=!0,Ye(tn))}}(this)},rn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||s(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(Rn){Re(Rn,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},rn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},rn.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},rn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var on={enumerable:!0,configurable:!0,get:M,set:M};function an(e,t,n){on.get=function(){return this[t][n]},on.set=function(e){this[t][n]=e},Object.defineProperty(e,n,on)}function sn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;o||me(!1);var a=function(o){i.push(o);var a=Ee(o,t,n,e);xe(r,o,a),o in e||an(e,"_props",o)};for(var s in t)a(s);me(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!==typeof t[n]?M:C(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;t=e._data="function"===typeof t?function(e,t){se();try{return e.call(t,t)}catch(Rn){return Re(Rn,t,"data()"),{}}finally{ue()}}(t,e):t||{},l(t)||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);while(i--){var o=n[i];0,r&&v(r,o)||F(o)||an(e,"_data",o)}be(t,!0)}(e):be(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=Z();for(var i in t){var o=t[i],a="function"===typeof o?o:o.get;0,r||(n[i]=new rn(e,a||M,M,un)),i in e||ln(e,i,o)}}(e,t.computed),t.watch&&t.watch!==K&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)pn(e,n,r[i]);else pn(e,n,r)}}(e,t.watch)}var un={lazy:!0};function ln(e,t,n){var r=!Z();"function"===typeof n?(on.get=r?cn(t):dn(n),on.set=M):(on.get=n.get?r&&!1!==n.cache?cn(t):dn(n.get):M,on.set=n.set||M),Object.defineProperty(e,t,on)}function cn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ae.SharedObject.target&&t.depend(),t.value}}function dn(e){return function(){return e.call(this,this)}}function pn(e,t,n,r){return l(n)&&(r=n,n=n.handler),"string"===typeof n&&(n=e[n]),e.$watch(t,n,r)}var fn=0;function hn(e){var t=e.options;if(e.super){var n=hn(e.super),r=e.superOptions;if(n!==r){e.superOptions=n;var i=function(e){var t,n=e.options,r=e.sealedOptions;for(var i in n)n[i]!==r[i]&&(t||(t={}),t[i]=n[i]);return t}(e);i&&T(e.extendOptions,i),t=e.options=Pe(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function gn(e){this._init(e)}function yn(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=e.name||n.options.name;var a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=Pe(n.options,e),a["super"]=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)an(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)ln(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,L.forEach((function(e){a[e]=n[e]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=T({},a.options),i[r]=a,a}}function mn(e){return e&&(e.Ctor.options.name||e.tag)}function vn(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!function(e){return"[object RegExp]"===u.call(e)}(e)&&e.test(t)}function _n(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=mn(a.componentOptions);s&&!t(s)&&bn(n,o,r,i)}}}function bn(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,y(n,t)}(function(e){e.prototype._init=function(e){var t=this;t._uid=fn++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Pe(hn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Ut(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,r=e.$vnode=t._parentVnode,i=r&&r.context;e.$slots=st(t._renderChildren,i),e.$scopedSlots=n,e._c=function(t,n,r,i){return Bt(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return Bt(e,t,n,r,i,!0)};var o=r&&r.data;xe(e,"$attrs",o&&o.attrs||n,null,!0),xe(e,"$listeners",t._parentListeners||n,null,!0)}(t),Wt(t,"beforeCreate"),!t._$fallback&&ot(t),sn(t),!t._$fallback&&it(t),!t._$fallback&&Wt(t,"created"),t.$options.el&&t.$mount(t.$options.el)}})(gn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=we,e.prototype.$delete=Se,e.prototype.$watch=function(e,t,n){if(l(t))return pn(this,e,t,n);n=n||{},n.user=!0;var r=new rn(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(i){Re(i,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(gn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,o=e.length;i<o;i++)r.$on(e[i],n);else(r._events[e]||(r._events[e]=[])).push(n),t.test(e)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var r=0,i=e.length;r<i;r++)n.$off(e[r],t);return n}var o,a=n._events[e];if(!a)return n;if(!t)return n._events[e]=null,n;var s=a.length;while(s--)if(o=a[s],o===t||o.fn===t){a.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?k(n):n;for(var r=k(arguments,1),i='event handler for "'+e+'"',o=0,a=n.length;o<a;o++)je(n[o],t,r,t,i)}return t}}(gn),function(e){e.prototype._update=function(e,t){var n=this,r=n.$el,i=n._vnode,o=function(e){var t=Ht;return Ht=e,function(){Ht=t}}(n);n._vnode=e,n.$el=i?n.__patch__(i,e):n.__patch__(n.$el,e,t,!1),o(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Wt(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||y(t.$children,e),e._watcher&&e._watcher.teardown();var n=e._watchers.length;while(n--)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Wt(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(gn),function(e){kt(e.prototype),e.prototype.$nextTick=function(e){return Ye(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,r=n.render,i=n._parentVnode;i&&(t.$scopedSlots=lt(i.data.scopedSlots,t.$slots,t.$scopedSlots)),t.$vnode=i;try{Nt=t,e=r.call(t._renderProxy,t.$createElement)}catch(Rn){Re(Rn,t,"render"),e=t._vnode}finally{Nt=null}return Array.isArray(e)&&1===e.length&&(e=e[0]),e instanceof le||(e=de()),e.parent=i,e}}(gn);var xn=[String,RegExp,Array],wn={name:"keep-alive",abstract:!0,props:{include:xn,exclude:xn,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)bn(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){_n(e,(function(e){return vn(t,e)}))})),this.$watch("exclude",(function(t){_n(e,(function(e){return!vn(t,e)}))}))},render:function(){var e=this.$slots.default,t=function(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(i(n)&&(i(n.componentOptions)||jt(n)))return n}}(e),n=t&&t.componentOptions;if(n){var r=mn(n),o=this.include,a=this.exclude;if(o&&(!r||!vn(o,r))||a&&r&&vn(a,r))return t;var s=this.cache,u=this.keys,l=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;s[l]?(t.componentInstance=s[l].componentInstance,y(u,l),u.push(l)):(s[l]=t,u.push(l),this.max&&u.length>parseInt(this.max)&&bn(s,u[0],u,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},Sn={KeepAlive:wn};(function(e){var t={get:function(){return R}};Object.defineProperty(e,"config",t),e.util={warn:ie,extend:T,mergeOptions:Pe,defineReactive:xe},e.set=we,e.delete=Se,e.nextTick=Ye,e.observable=function(e){return be(e),e},e.options=Object.create(null),L.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,T(e.options.components,Sn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=k(arguments,1);return n.unshift(this),"function"===typeof e.install?e.install.apply(e,n):"function"===typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Pe(this.options,e),this}}(e),yn(e),function(e){L.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&l(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"===typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}(e)})(gn),Object.defineProperty(gn.prototype,"$isServer",{get:Z}),Object.defineProperty(gn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(gn,"FunctionalRenderContext",{value:Tt}),gn.version="2.6.11";var An="[object Array]",Cn="[object Object]";function kn(e,t){var n={};return function e(t,n){if(t===n)return;var r=In(t),i=In(n);if(r==Cn&&i==Cn){if(Object.keys(t).length>=Object.keys(n).length)for(var o in n){var a=t[o];void 0===a?t[o]=null:e(a,n[o])}}else r==An&&i==An&&t.length>=n.length&&n.forEach((function(n,r){e(t[r],n)}))}(e,t),function e(t,n,r,i){if(t===n)return;var o=In(t),a=In(n);if(o==Cn)if(a!=Cn||Object.keys(t).length<Object.keys(n).length)Tn(i,r,t);else{var s=function(o){var a=t[o],s=n[o],u=In(a),l=In(s);if(u!=An&&u!=Cn)a!==n[o]&&function(e,t){if(("[object Null]"===e||"[object Undefined]"===e)&&("[object Null]"===t||"[object Undefined]"===t))return!1;return!0}(u,l)&&Tn(i,(""==r?"":r+".")+o,a);else if(u==An)l!=An||a.length<s.length?Tn(i,(""==r?"":r+".")+o,a):a.forEach((function(t,n){e(t,s[n],(""==r?"":r+".")+o+"["+n+"]",i)}));else if(u==Cn)if(l!=Cn||Object.keys(a).length<Object.keys(s).length)Tn(i,(""==r?"":r+".")+o,a);else for(var c in a)e(a[c],s[c],(""==r?"":r+".")+o+"."+c,i)};for(var u in t)s(u)}else o==An?a!=An||t.length<n.length?Tn(i,r,t):t.forEach((function(t,o){e(t,n[o],r+"["+o+"]",i)})):Tn(i,r,t)}(e,t,"",n),n}function Tn(e,t,n){e[t]=n}function In(e){return Object.prototype.toString.call(e)}function Mn(e){if(e.__next_tick_callbacks&&e.__next_tick_callbacks.length){if(Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"运动中国",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG){var t=e.$scope;console.log("["+ +new Date+"]["+(t.is||t.route)+"]["+e._uid+"]:flushCallbacks["+e.__next_tick_callbacks.length+"]")}var n=e.__next_tick_callbacks.slice(0);e.__next_tick_callbacks.length=0;for(var r=0;r<n.length;r++)n[r]()}}function On(e,t){if(!e.__next_tick_pending&&!function(e){return qt.find((function(t){return e._watcher===t}))}(e)){if(Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"运动中国",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG){var n=e.$scope;console.log("["+ +new Date+"]["+(n.is||n.route)+"]["+e._uid+"]:nextVueTick")}return Ye(t,e)}if(Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"运动中国",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG){var r=e.$scope;console.log("["+ +new Date+"]["+(r.is||r.route)+"]["+e._uid+"]:nextMPTick")}var i;if(e.__next_tick_callbacks||(e.__next_tick_callbacks=[]),e.__next_tick_callbacks.push((function(){if(t)try{t.call(e)}catch(Rn){Re(Rn,e,"nextTick")}else i&&i(e)})),!t&&"undefined"!==typeof Promise)return new Promise((function(e){i=e}))}function Pn(e,t){return t&&(t._isVue||t.__v_isMPComponent)?{}:t}function Dn(){}function En(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,o=e.length;r<o;r++)i(t=En(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):s(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"===typeof e?e:""}var Bn=_((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));var Ln=["createSelectorQuery","createIntersectionObserver","selectAllComponents","selectComponent"];var Nn=["onLaunch","onShow","onHide","onUniNViewMessage","onPageNotFound","onThemeChange","onError","onUnhandledRejection","onInit","onLoad","onReady","onUnload","onPullDownRefresh","onReachBottom","onTabItemTap","onAddToFavorites","onShareTimeline","onShareAppMessage","onResize","onPageScroll","onNavigationBarButtonTap","onBackPress","onNavigationBarSearchInputChanged","onNavigationBarSearchInputConfirmed","onNavigationBarSearchInputClicked","onUploadDouyinVideo","onNFCReadMessage","onPageShow","onPageHide","onPageResize"];gn.prototype.__patch__=function(e,t){var n=this;if(null!==t&&("page"===this.mpType||"component"===this.mpType)){var r=this.$scope,i=Object.create(null);try{i=function(e){var t=Object.create(null),n=[].concat(Object.keys(e._data||{}),Object.keys(e._computedWatchers||{}));n.reduce((function(t,n){return t[n]=e[n],t}),t);var r=e.__composition_api_state__||e.__secret_vfa_state__,i=r&&r.rawBindings;return i&&Object.keys(i).forEach((function(n){t[n]=e[n]})),Object.assign(t,e.$mp.data||{}),Array.isArray(e.$options.behaviors)&&-1!==e.$options.behaviors.indexOf("uni://form-field")&&(t["name"]=e.name,t["value"]=e.value),JSON.parse(JSON.stringify(t,Pn))}(this)}catch(s){console.error(s)}i.__webviewId__=r.data.__webviewId__;var o=Object.create(null);Object.keys(i).forEach((function(e){o[e]=r.data[e]}));var a=!1===this.$shouldDiffData?i:kn(i,o);Object.keys(a).length?(Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"运动中国",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG&&console.log("["+ +new Date+"]["+(r.is||r.route)+"]["+this._uid+"]差量更新",JSON.stringify(a)),this.__next_tick_pending=!0,r.setData(a,(function(){n.__next_tick_pending=!1,Mn(n)}))):Mn(this)}},gn.prototype.$mount=function(e,t){return function(e,t,n){return e.mpType?("app"===e.mpType&&(e.$options.render=Dn),e.$options.render||(e.$options.render=Dn),!e._$fallback&&Wt(e,"beforeMount"),new rn(e,(function(){e._update(e._render(),n)}),M,{before:function(){e._isMounted&&!e._isDestroyed&&Wt(e,"beforeUpdate")}},!0),n=!1,e):e}(this,0,t)},function(e){var t=e.extend;e.extend=function(e){e=e||{};var n=e.methods;return n&&Object.keys(n).forEach((function(t){-1!==Nn.indexOf(t)&&(e[t]=n[t],delete n[t])})),t.call(this,e)};var n=e.config.optionMergeStrategies,r=n.created;Nn.forEach((function(e){n[e]=r})),e.prototype.__lifecycle_hooks__=Nn}(gn),function(e){e.config.errorHandler=function(t,n,r){e.util.warn("Error in "+r+': "'+t.toString()+'"',n),console.error(t);var i="function"===typeof getApp&&getApp();i&&i.onError&&i.onError(t)};var t=e.prototype.$emit;e.prototype.$emit=function(e){if(this.$scope&&e){var n=this.$scope["_triggerEvent"]||this.$scope["triggerEvent"];if(n)try{n.call(this.$scope,e,{__args__:k(arguments,1)})}catch(r){}}return t.apply(this,arguments)},e.prototype.$nextTick=function(e){return On(this,e)},Ln.forEach((function(t){e.prototype[t]=function(e){return this.$scope&&this.$scope[t]?this.$scope[t](e):"undefined"!==typeof my?"createSelectorQuery"===t?my.createSelectorQuery(e):"createIntersectionObserver"===t?my.createIntersectionObserver(e):void 0:void 0}})),e.prototype.__init_provide=it,e.prototype.__init_injections=ot,e.prototype.__call_hook=function(e,t){var n=this;se();var r,i=n.$options[e],o=e+" hook";if(i)for(var a=0,s=i.length;a<s;a++)r=je(i[a],n,t?[t]:null,n,o);return n._hasHookEvent&&n.$emit("hook:"+e,t),ue(),r},e.prototype.__set_model=function(t,n,r,i){Array.isArray(i)&&(-1!==i.indexOf("trim")&&(r=r.trim()),-1!==i.indexOf("number")&&(r=this._n(r))),t||(t=this),e.set(t,n,r)},e.prototype.__set_sync=function(t,n,r){t||(t=this),e.set(t,n,r)},e.prototype.__get_orig=function(e){return l(e)&&e["$orig"]||e},e.prototype.__get_value=function(e,t){return function e(t,n){var r=n.split("."),i=r[0];return 0===i.indexOf("__$n")&&(i=parseInt(i.replace("__$n",""))),1===r.length?t[i]:e(t[i],r.slice(1).join("."))}(t||this,e)},e.prototype.__get_class=function(e,t){return function(e,t){return i(e)||i(t)?function(e,t){return e?t?e+" "+t:e:t||""}(e,En(t)):""}(t,e)},e.prototype.__get_style=function(e,t){if(!e&&!t)return"";var n=function(e){return Array.isArray(e)?I(e):"string"===typeof e?Bn(e):e}(e),r=t?T(t,n):n;return Object.keys(r).map((function(e){return A(e)+":"+r[e]})).join(";")},e.prototype.__map=function(e,t){var n,r,i,o,a;if(Array.isArray(e)){for(n=new Array(e.length),r=0,i=e.length;r<i;r++)n[r]=t(e[r],r);return n}if(s(e)){for(o=Object.keys(e),n=Object.create(null),r=0,i=o.length;r<i;r++)a=o[r],n[a]=t(e[a],a,r);return n}if("number"===typeof e){for(n=new Array(e),r=0,i=e;r<i;r++)n[r]=t(r,r);return n}return[]}}(gn),t["default"]=gn}.call(this,n("0ee4"))},3352:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports["default"]=e.exports},3433:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={picker:{show:!1,showToolbar:!0,title:"",columns:function(){return[]},loading:!1,itemHeight:44,cancelText:"取消",confirmText:"确定",cancelColor:"#909193",confirmColor:"#3c9cff",visibleItemCount:5,keyName:"text",closeOnClickOverlay:!1,defaultIndex:function(){return[]},immediateChange:!1}}},"347a":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{show:{type:Boolean,default:e.$u.props.transition.show},mode:{type:String,default:e.$u.props.transition.mode},duration:{type:[String,Number],default:e.$u.props.transition.duration},timingFunction:{type:String,default:e.$u.props.transition.timingFunction}}};t.default=n}).call(this,n("df3c")["default"])},"34cf":function(e,t,n){var r=n("ed45"),i=n("7172"),o=n("6382"),a=n("dd3e");e.exports=function(e,t){return r(e)||i(e,t)||o(e,t)||a()},e.exports.__esModule=!0,e.exports["default"]=e.exports},3625:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={props:{lang:String,sessionFrom:String,sendMessageTitle:String,sendMessagePath:String,sendMessageImg:String,showMessageCard:Boolean,appParameter:String,formType:String,openType:String}};t.default=r},"362d":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.updateGroundInfo=t.sendBooking=t.selectDateGroundList=t.lockGround=t.getSportList=t.getPriods=t.getOrderHourList=t.getGroundList=t.getGroundDetail=t.getBusinessList=t.delGroundInfo=t.businessTimeList=t.addGround=void 0;var n=e.$u.http;t.getSportList=function(e){return n.get("/system/sports/list",{params:e,custom:{auth:!0}})};t.getPriods=function(){return n.get("/system/dict/data/type/periods",{custom:{auth:!0}})};t.addGround=function(e){return n.post("/ground-business/ground",e,{custom:{auth:!0}})};t.getGroundDetail=function(e){return n.get("/ground-business/ground/".concat(e),{custom:{auth:!0}})};t.updateGroundInfo=function(e){return n.put("/ground-business/ground",e,{custom:{auth:!0}})};t.delGroundInfo=function(e){return n.delete("/ground-business/ground/".concat(e),{},{custom:{auth:!0}})};t.lockGround=function(e){return n.post("/ground-business/ground/lockGround",e,{custom:{auth:!0}})};t.businessTimeList=function(e){return n.post("/ground-business/ground/businessHourList",e,{custom:{auth:!0}})};t.getGroundList=function(e){return n.get("/ground-business/ground/list",{params:e,custom:{auth:!0}})};t.getBusinessList=function(e){return n.get("/ground-business/business/list",{params:e,custom:{auth:!0}})};t.getOrderHourList=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n.post("/ground-business/ground/orderHourList",e,t)};t.sendBooking=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n.post("/ground-business/ground/createDateOrder",e,t)};t.selectDateGroundList=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n.post("/ground-business/ground/selectDateGroundList",e,t)}}).call(this,n("df3c")["default"])},3698:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={appid:"__UNI__EFBA169"}},"36fe":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={checkboxGroup:{name:"",value:function(){return[]},shape:"square",disabled:!1,activeColor:"#2979ff",inactiveColor:"#c8c9cc",size:18,placement:"row",labelSize:14,labelColor:"#303133",labelDisabled:!1,iconColor:"#ffffff",iconSize:12,iconPlacement:"left",borderBottom:!1}}},"3a2b":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rate:{value:1,count:5,disabled:!1,size:18,inactiveColor:"#b2b2b2",activeColor:"#FA3534",gutter:4,minCount:1,allowHalf:!1,activeIcon:"star-fill",inactiveIcon:"star",touchable:!0}}},"3b2d":function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports["default"]=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"3b64":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.arrayIntersect=void 0,t.bankCardAttribution=function(e){var t={DC:"储蓄卡",CC:"信用卡",SCC:"准贷记卡",PC:"预付费卡"};function n(e,t){var n,r={};for(n in e=e||{},t=t||{},e)e.hasOwnProperty(n)&&(r[n]=e[n]);for(n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return r}function r(e){if(t[e])return t[e]}var i=[{bankName:"中国邮政储蓄银行",bankCode:"PSBC",patterns:[{reg:/^(621096|621098|622150|622151|622181|622188|622199|955100|621095|620062|621285|621798|621799|621797|620529|621622|621599|621674|623218|623219)\d{13}$/g,cardType:"DC"},{reg:/^(62215049|62215050|62215051|62218850|62218851|62218849)\d{11}$/g,cardType:"DC"},{reg:/^(622812|622810|622811|628310|625919)\d{10}$/g,cardType:"CC"}]},{bankName:"中国工商银行",bankCode:"ICBC",patterns:[{reg:/^(620200|620302|620402|620403|620404|620406|620407|620409|620410|620411|620412|620502|620503|620405|620408|620512|620602|620604|620607|620611|620612|620704|620706|620707|620708|620709|620710|620609|620712|620713|620714|620802|620711|620904|620905|621001|620902|621103|621105|621106|621107|621102|621203|621204|621205|621206|621207|621208|621209|621210|621302|621303|621202|621305|621306|621307|621309|621311|621313|621211|621315|621304|621402|621404|621405|621406|621407|621408|621409|621410|621502|621317|621511|621602|621603|621604|621605|621608|621609|621610|621611|621612|621613|621614|621615|621616|621617|621607|621606|621804|621807|621813|621814|621817|621901|621904|621905|621906|621907|621908|621909|621910|621911|621912|621913|621915|622002|621903|622004|622005|622006|622007|622008|622010|622011|622012|621914|622015|622016|622003|622018|622019|622020|622102|622103|622104|622105|622013|622111|622114|622017|622110|622303|622304|622305|622306|622307|622308|622309|622314|622315|622317|622302|622402|622403|622404|622313|622504|622505|622509|622513|622517|622502|622604|622605|622606|622510|622703|622715|622806|622902|622903|622706|623002|623006|623008|623011|623012|622904|623015|623100|623202|623301|623400|623500|623602|623803|623901|623014|624100|624200|624301|624402|623700|624000)\d{12}$/g,cardType:"DC"},{reg:/^(622200|622202|622203|622208|621225|620058|621281|900000|621558|621559|621722|621723|620086|621226|621618|620516|621227|621288|621721|900010|623062|621670|621720|621379|621240|621724|621762|621414|621375|622926|622927|622928|622929|622930|622931|621733|621732|621372|621369|621763)\d{13}$/g,cardType:"DC"},{reg:/^(402791|427028|427038|548259|621376|621423|621428|621434|621761|621749|621300|621378|622944|622949|621371|621730|621734|621433|621370|621764|621464|621765|621750|621377|621367|621374|621731|621781)\d{10}$/g,cardType:"DC"},{reg:/^(9558)\d{15}$/g,cardType:"DC"},{reg:/^(370246|370248|370249|370247|370267|374738|374739)\d{9}$/g,cardType:"CC"},{reg:/^(427010|427018|427019|427020|427029|427030|427039|438125|438126|451804|451810|451811|458071|489734|489735|489736|510529|427062|524091|427064|530970|530990|558360|524047|525498|622230|622231|622232|622233|622234|622235|622237|622239|622240|622245|622238|451804|451810|451811|458071|628288|628286|622206|526836|513685|543098|458441|622246|544210|548943|356879|356880|356881|356882|528856|625330|625331|625332|622236|524374|550213|625929|625927|625939|625987|625930|625114|622159|625021|625022|625932|622889|625900|625915|625916|622171|625931|625113|625928|625914|625986|625925|625921|625926|625942|622158|625917|625922|625934|625933|625920|625924|625017|625018|625019)\d{10}$/g,cardType:"CC"},{reg:/^(45806|53098|45806|53098)\d{11}$/g,cardType:"CC"},{reg:/^(622210|622211|622212|622213|622214|622220|622223|622225|622229|622215|622224)\d{10}$/g,cardType:"SCC"},{reg:/^(620054|620142|620184|620030|620050|620143|620149|620124|620183|620094|620186|620148|620185)\d{10}$/g,cardType:"PC"},{reg:/^(620114|620187|620046)\d{13}$/g,cardType:"PC"}]},{bankName:"中国农业银行",bankCode:"ABC",patterns:[{reg:/^(622841|622824|622826|622848|620059|621282|622828|622823|621336|621619|622821|622822|622825|622827|622845|622849|623018|623206|621671|622840|622843|622844|622846|622847|620501)\d{13}$/g,cardType:"DC"},{reg:/^(95595|95596|95597|95598|95599)\d{14}$/g,cardType:"DC"},{reg:/^(103)\d{16}$/g,cardType:"DC"},{reg:/^(403361|404117|404118|404119|404120|404121|463758|519412|519413|520082|520083|552599|558730|514027|622836|622837|628268|625996|625998|625997|622838|625336|625826|625827|544243|548478|628269)\d{10}$/g,cardType:"CC"},{reg:/^(622820|622830)\d{10}$/g,cardType:"SCC"}]},{bankName:"中国银行",bankCode:"BOC",patterns:[{reg:/^(621660|621661|621662|621663|621665|621667|621668|621669|621666|456351|601382|621256|621212|621283|620061|621725|621330|621331|621332|621333|621297|621568|621569|621672|623208|621620|621756|621757|621758|621759|621785|621786|621787|621788|621789|621790|622273|622274|622771|622772|622770|621741|621041)\d{13}$/g,cardType:"DC"},{reg:/^(621293|621294|621342|621343|621364|621394|621648|621248|621215|621249|621231|621638|621334|621395|623040|622348)\d{10}$/g,cardType:"DC"},{reg:/^(625908|625910|625909|356833|356835|409665|409666|409668|409669|409670|409671|409672|512315|512316|512411|512412|514957|409667|438088|552742|553131|514958|622760|628388|518377|622788|628313|628312|622750|622751|625145|622479|622480|622789|625140|622346|622347)\d{10}$/g,cardType:"CC"},{reg:/^(518378|518379|518474|518475|518476|524865|525745|525746|547766|558868|622752|622753|622755|524864|622757|622758|622759|622761|622762|622763|622756|622754|622764|622765|558869|625905|625906|625907|625333)\d{10}$/g,cardType:"SCC"},{reg:/^(53591|49102|377677)\d{11}$/g,cardType:"SCC"},{reg:/^(620514|620025|620026|620210|620211|620019|620035|620202|620203|620048|620515|920000)\d{10}$/g,cardType:"PC"},{reg:/^(620040|620531|620513|921000|620038)\d{13}$/g,cardType:"PC"}]},{bankName:"中国建设银行",bankCode:"CCB",patterns:[{reg:/^(621284|436742|589970|620060|621081|621467|621598|621621|621700|622280|622700|623211|623668)\d{13}$/g,cardType:"DC"},{reg:/^(421349|434061|434062|524094|526410|552245|621080|621082|621466|621488|621499|622966|622988|622382|621487|621083|621084|620107)\d{10}$/g,cardType:"DC"},{reg:/^(436742193|622280193)\d{10}$/g,cardType:"DC"},{reg:/^(553242)\d{12}$/g,cardType:"CC"},{reg:/^(625362|625363|628316|628317|356896|356899|356895|436718|436738|436745|436748|489592|531693|532450|532458|544887|552801|557080|558895|559051|622166|622168|622708|625964|625965|625966|628266|628366|622381|622675|622676|622677)\d{10}$/g,cardType:"CC"},{reg:/^(5453242|5491031|5544033)\d{11}$/g,cardType:"CC"},{reg:/^(622725|622728|436728|453242|491031|544033|622707|625955|625956)\d{10}$/g,cardType:"SCC"},{reg:/^(53242|53243)\d{11}$/g,cardType:"SCC"}]},{bankName:"中国交通银行",bankCode:"COMM",patterns:[{reg:/^(622261|622260|622262|621002|621069|621436|621335)\d{13}$/g,cardType:"DC"},{reg:/^(620013)\d{10}$/g,cardType:"DC"},{reg:/^(405512|601428|405512|601428|622258|622259|405512|601428)\d{11}$/g,cardType:"DC"},{reg:/^(49104|53783)\d{11}$/g,cardType:"CC"},{reg:/^(434910|458123|458124|520169|522964|552853|622250|622251|521899|622253|622656|628216|622252|955590|955591|955592|955593|628218|625028|625029)\d{10}$/g,cardType:"CC"},{reg:/^(622254|622255|622256|622257|622284)\d{10}$/g,cardType:"SCC"},{reg:/^(620021|620521)\d{13}$/g,cardType:"PC"}]},{bankName:"招商银行",bankCode:"CMB",patterns:[{reg:/^(402658|410062|468203|512425|524011|622580|622588|622598|622609|95555|621286|621483|621485|621486|621299)\d{10}$/g,cardType:"DC"},{reg:/^(690755)\d{9}$/g,cardType:"DC"},{reg:/^(690755)\d{12}$/g,cardType:"DC"},{reg:/^(356885|356886|356887|356888|356890|439188|439227|479228|479229|521302|356889|545620|545621|545947|545948|552534|552587|622575|622576|622577|622578|622579|545619|622581|622582|545623|628290|439225|518710|518718|628362|439226|628262|625802|625803)\d{10}$/g,cardType:"CC"},{reg:/^(370285|370286|370287|370289)\d{9}$/g,cardType:"CC"},{reg:/^(620520)\d{13}$/g,cardType:"PC"}]},{bankName:"中国民生银行",bankCode:"CMBC",patterns:[{reg:/^(622615|622616|622618|622622|622617|622619|415599|421393|421865|427570|427571|472067|472068|622620)\d{10}$/g,cardType:"DC"},{reg:/^(545392|545393|545431|545447|356859|356857|407405|421869|421870|421871|512466|356856|528948|552288|622600|622601|622602|517636|622621|628258|556610|622603|464580|464581|523952|545217|553161|356858|622623|625912|625913|625911)\d{10}$/g,cardType:"CC"},{reg:/^(377155|377152|377153|377158)\d{9}$/g,cardType:"CC"}]},{bankName:"中国光大银行",bankCode:"CEB",patterns:[{reg:/^(303)\d{13}$/g,cardType:"DC"},{reg:/^(90030)\d{11}$/g,cardType:"DC"},{reg:/^(620535)\d{13}$/g,cardType:"DC"},{reg:/^(620085|622660|622662|622663|622664|622665|622666|622667|622669|622670|622671|622672|622668|622661|622674|622673|620518|621489|621492)\d{10}$/g,cardType:"DC"},{reg:/^(356837|356838|486497|622657|622685|622659|622687|625978|625980|625981|625979|356839|356840|406252|406254|425862|481699|524090|543159|622161|622570|622650|622655|622658|625975|625977|628201|628202|625339|625976)\d{10}$/g,cardType:"CC"}]},{bankName:"中信银行",bankCode:"CITIC",patterns:[{reg:/^(433670|433680|442729|442730|620082|622690|622691|622692|622696|622698|622998|622999|433671|968807|968808|968809|621771|621767|621768|621770|621772|621773|622453|622456)\d{10}$/g,cardType:"DC"},{reg:/^(622459)\d{11}$/g,cardType:"DC"},{reg:/^(376968|376969|376966)\d{9}$/g,cardType:"CC"},{reg:/^(400360|403391|403392|404158|404159|404171|404172|404173|404174|404157|433667|433668|433669|514906|403393|520108|433666|558916|622678|622679|622680|622688|622689|628206|556617|628209|518212|628208|356390|356391|356392|622916|622918|622919)\d{10}$/g,cardType:"CC"}]},{bankName:"华夏银行",bankCode:"HXBANK",patterns:[{reg:/^(622630|622631|622632|622633|999999|621222|623020|623021|623022|623023)\d{10}$/g,cardType:"DC"},{reg:/^(523959|528709|539867|539868|622637|622638|628318|528708|622636|625967|625968|625969)\d{10}$/g,cardType:"CC"}]},{bankName:"深发/平安银行",bankCode:"SPABANK",patterns:[{reg:/^(621626|623058)\d{13}$/g,cardType:"DC"},{reg:/^(602907|622986|622989|622298|627069|627068|627066|627067|412963|415752|415753|622535|622536|622538|622539|998800|412962|622983)\d{10}$/g,cardType:"DC"},{reg:/^(531659|622157|528020|622155|622156|526855|356869|356868|625360|625361|628296|435744|435745|483536|622525|622526|998801|998802)\d{10}$/g,cardType:"CC"},{reg:/^(620010)\d{10}$/g,cardType:"PC"}]},{bankName:"兴业银行",bankCode:"CIB",patterns:[{reg:/^(438589)\d{12}$/g,cardType:"DC"},{reg:/^(90592)\d{11}$/g,cardType:"DC"},{reg:/^(966666|622909|438588|622908)\d{12}$/g,cardType:"DC"},{reg:/^(461982|486493|486494|486861|523036|451289|527414|528057|622901|622902|622922|628212|451290|524070|625084|625085|625086|625087|548738|549633|552398|625082|625083|625960|625961|625962|625963)\d{10}$/g,cardType:"CC"},{reg:/^(620010)\d{10}$/g,cardType:"PC"}]},{bankName:"上海银行",bankCode:"SHBANK",patterns:[{reg:/^(621050|622172|622985|622987|620522|622267|622278|622279|622468|622892|940021)\d{12}$/g,cardType:"DC"},{reg:/^(438600)\d{10}$/g,cardType:"DC"},{reg:/^(356827|356828|356830|402673|402674|486466|519498|520131|524031|548838|622148|622149|622268|356829|622300|628230|622269|625099|625953)\d{10}$/g,cardType:"CC"}]},{bankName:"浦东发展银行",bankCode:"SPDB",patterns:[{reg:/^(622516|622517|622518|622521|622522|622523|984301|984303|621352|621793|621795|621796|621351|621390|621792|621791)\d{10}$/g,cardType:"DC"},{reg:/^(84301|84336|84373|84385|84390|87000|87010|87030|87040|84380|84361|87050|84342)\d{11}$/g,cardType:"DC"},{reg:/^(356851|356852|404738|404739|456418|498451|515672|356850|517650|525998|622177|622277|628222|622500|628221|622176|622276|622228|625957|625958|625993|625831)\d{10}$/g,cardType:"CC"},{reg:/^(622520|622519)\d{10}$/g,cardType:"SCC"},{reg:/^(620530)\d{13}$/g,cardType:"PC"}]},{bankName:"广发银行",bankCode:"GDB",patterns:[{reg:/^(622516|622517|622518|622521|622522|622523|984301|984303|621352|621793|621795|621796|621351|621390|621792|621791)\d{10}$/g,cardType:"DC"},{reg:/^(622568|6858001|6858009|621462)\d{13}$/g,cardType:"DC"},{reg:/^(9111)\d{15}$/g,cardType:"DC"},{reg:/^(406365|406366|428911|436768|436769|436770|487013|491032|491033|491034|491035|491036|491037|491038|436771|518364|520152|520382|541709|541710|548844|552794|493427|622555|622556|622557|622558|622559|622560|528931|558894|625072|625071|628260|628259|625805|625806|625807|625808|625809|625810)\d{10}$/g,cardType:"CC"},{reg:/^(685800|6858000)\d{13}$/g,cardType:"CC"}]},{bankName:"渤海银行",bankCode:"BOHAIB",patterns:[{reg:/^(621268|622684|622884|621453)\d{10}$/g,cardType:"DC"}]},{bankName:"广州银行",bankCode:"GCB",patterns:[{reg:/^(603445|622467|940016|621463)\d{13}$/g,cardType:"DC"}]},{bankName:"金华银行",bankCode:"JHBANK",patterns:[{reg:/^(622449|940051)\d{10}$/g,cardType:"DC"},{reg:/^(622450|628204)\d{10}$/g,cardType:"CC"}]},{bankName:"温州银行",bankCode:"WZCB",patterns:[{reg:/^(621977)\d{10}$/g,cardType:"DC"},{reg:/^(622868|622899|628255)\d{10}$/g,cardType:"CC"}]},{bankName:"徽商银行",bankCode:"HSBANK",patterns:[{reg:/^(622877|622879|621775|623203)\d{13}$/g,cardType:"DC"},{reg:/^(603601|622137|622327|622340|622366)\d{11}$/g,cardType:"DC"},{reg:/^(628251|622651|625828)\d{10}$/g,cardType:"CC"}]},{bankName:"江苏银行",bankCode:"JSBANK",patterns:[{reg:/^(621076|622173|622131|621579|622876)\d{13}$/g,cardType:"DC"},{reg:/^(504923|622422|622447|940076)\d{10}$/g,cardType:"DC"},{reg:/^(628210|622283|625902)\d{10}$/g,cardType:"CC"}]},{bankName:"南京银行",bankCode:"NJCB",patterns:[{reg:/^(621777|622305|621259)\d{10}$/g,cardType:"DC"},{reg:/^(622303|628242|622595|622596)\d{10}$/g,cardType:"CC"}]},{bankName:"宁波银行",bankCode:"NBBANK",patterns:[{reg:/^(621279|622281|622316|940022)\d{10}$/g,cardType:"DC"},{reg:/^(621418)\d{13}$/g,cardType:"DC"},{reg:/^(625903|622778|628207|512431|520194|622282|622318)\d{10}$/g,cardType:"CC"}]},{bankName:"北京银行",bankCode:"BJBANK",patterns:[{reg:/^(623111|421317|422161|602969|422160|621030|621420|621468)\d{10}$/g,cardType:"DC"},{reg:/^(522001|622163|622853|628203|622851|622852)\d{10}$/g,cardType:"CC"}]},{bankName:"北京农村商业银行",bankCode:"BJRCB",patterns:[{reg:/^(620088|621068|622138|621066|621560)\d{13}$/g,cardType:"DC"},{reg:/^(625526|625186|628336)\d{10}$/g,cardType:"CC"}]},{bankName:"汇丰银行",bankCode:"HSBC",patterns:[{reg:/^(622946)\d{10}$/g,cardType:"DC"},{reg:/^(622406|621442)\d{11}$/g,cardType:"DC"},{reg:/^(622407|621443)\d{13}$/g,cardType:"DC"},{reg:/^(622360|622361|625034|625096|625098)\d{10}$/g,cardType:"CC"}]},{bankName:"渣打银行",bankCode:"SCB",patterns:[{reg:/^(622948|621740|622942|622994)\d{10}$/g,cardType:"DC"},{reg:/^(622482|622483|622484)\d{10}$/g,cardType:"CC"}]},{bankName:"花旗银行",bankCode:"CITI",patterns:[{reg:/^(621062|621063)\d{10}$/g,cardType:"DC"},{reg:/^(625076|625077|625074|625075|622371|625091)\d{10}$/g,cardType:"CC"}]},{bankName:"东亚银行",bankCode:"HKBEA",patterns:[{reg:/^(622933|622938|623031|622943|621411)\d{13}$/g,cardType:"DC"},{reg:/^(622372|622471|622472|622265|622266|625972|625973)\d{10}$/g,cardType:"CC"},{reg:/^(622365)\d{11}$/g,cardType:"CC"}]},{bankName:"广东华兴银行",bankCode:"GHB",patterns:[{reg:/^(621469|621625)\d{13}$/g,cardType:"DC"}]},{bankName:"深圳农村商业银行",bankCode:"SRCB",patterns:[{reg:/^(622128|622129|623035)\d{10}$/g,cardType:"DC"}]},{bankName:"广州农村商业银行股份有限公司",bankCode:"GZRCU",patterns:[{reg:/^(909810|940035|621522|622439)\d{12}$/g,cardType:"DC"}]},{bankName:"东莞农村商业银行",bankCode:"DRCBCL",patterns:[{reg:/^(622328|940062|623038)\d{13}$/g,cardType:"DC"},{reg:/^(625288|625888)\d{10}$/g,cardType:"CC"}]},{bankName:"东莞市商业银行",bankCode:"BOD",patterns:[{reg:/^(622333|940050)\d{10}$/g,cardType:"DC"},{reg:/^(621439|623010)\d{13}$/g,cardType:"DC"},{reg:/^(622888)\d{10}$/g,cardType:"CC"}]},{bankName:"广东省农村信用社联合社",bankCode:"GDRCC",patterns:[{reg:/^(622302)\d{10}$/g,cardType:"DC"},{reg:/^(622477|622509|622510|622362|621018|621518)\d{13}$/g,cardType:"DC"}]},{bankName:"大新银行",bankCode:"DSB",patterns:[{reg:/^(622297|621277)\d{10}$/g,cardType:"DC"},{reg:/^(622375|622489)\d{11}$/g,cardType:"DC"},{reg:/^(622293|622295|622296|622373|622451|622294|625940)\d{10}$/g,cardType:"CC"}]},{bankName:"永亨银行",bankCode:"WHB",patterns:[{reg:/^(622871|622958|622963|622957|622861|622932|622862|621298)\d{10}$/g,cardType:"DC"},{reg:/^(622798|625010|622775|622785)\d{10}$/g,cardType:"CC"}]},{bankName:"星展银行香港有限公司",bankCode:"DBS",patterns:[{reg:/^(621016|621015)\d{13}$/g,cardType:"DC"},{reg:/^(622487|622490|622491|622492)\d{10}$/g,cardType:"DC"},{reg:/^(622487|622490|622491|622492|621744|621745|621746|621747)\d{11}$/g,cardType:"DC"}]},{bankName:"恒丰银行",bankCode:"EGBANK",patterns:[{reg:/^(623078)\d{13}$/g,cardType:"DC"},{reg:/^(622384|940034)\d{11}$/g,cardType:"DC"}]},{bankName:"天津市商业银行",bankCode:"TCCB",patterns:[{reg:/^(940015|622331)\d{12}$/g,cardType:"DC"},{reg:/^(6091201)\d{11}$/g,cardType:"DC"},{reg:/^(622426|628205)\d{10}$/g,cardType:"CC"}]},{bankName:"浙商银行",bankCode:"CZBANK",patterns:[{reg:/^(621019|622309|621019)\d{13}$/g,cardType:"DC"},{reg:/^(6223091100|6223092900|6223093310|6223093320|6223093330|6223093370|6223093380|6223096510|6223097910)\d{9}$/g,cardType:"DC"}]},{bankName:"南洋商业银行",bankCode:"NCB",patterns:[{reg:/^(621213|621289|621290|621291|621292|621042|621743)\d{13}$/g,cardType:"DC"},{reg:/^(623041|622351)\d{10}$/g,cardType:"DC"},{reg:/^(625046|625044|625058|622349|622350)\d{10}$/g,cardType:"CC"},{reg:/^(620208|620209|625093|625095)\d{10}$/g,cardType:"PC"}]},{bankName:"厦门银行",bankCode:"XMBANK",patterns:[{reg:/^(622393|940023)\d{10}$/g,cardType:"DC"},{reg:/^(6886592)\d{11}$/g,cardType:"DC"},{reg:/^(623019|621600|)\d{13}$/g,cardType:"DC"}]},{bankName:"福建海峡银行",bankCode:"FJHXBC",patterns:[{reg:/^(622388)\d{10}$/g,cardType:"DC"},{reg:/^(621267|623063)\d{12}$/g,cardType:"DC"},{reg:/^(620043|)\d{12}$/g,cardType:"PC"}]},{bankName:"吉林银行",bankCode:"JLBANK",patterns:[{reg:/^(622865|623131)\d{13}$/g,cardType:"DC"},{reg:/^(940012)\d{10}$/g,cardType:"DC"},{reg:/^(622178|622179|628358)\d{10}$/g,cardType:"CC"}]},{bankName:"汉口银行",bankCode:"HKB",patterns:[{reg:/^(990027)\d{12}$/g,cardType:"DC"},{reg:/^(622325|623105|623029)\d{10}$/g,cardType:"DC"}]},{bankName:"盛京银行",bankCode:"SJBANK",patterns:[{reg:/^(566666)\d{12}$/g,cardType:"DC"},{reg:/^(622455|940039)\d{13}$/g,cardType:"DC"},{reg:/^(623108|623081)\d{10}$/g,cardType:"DC"},{reg:/^(622466|628285)\d{10}$/g,cardType:"CC"}]},{bankName:"大连银行",bankCode:"DLB",patterns:[{reg:/^(603708)\d{11}$/g,cardType:"DC"},{reg:/^(622993|623069|623070|623172|623173)\d{13}$/g,cardType:"DC"},{reg:/^(622383|622385|628299)\d{10}$/g,cardType:"CC"}]},{bankName:"河北银行",bankCode:"BHB",patterns:[{reg:/^(622498|622499|623000|940046)\d{13}$/g,cardType:"DC"},{reg:/^(622921|628321)\d{10}$/g,cardType:"CC"}]},{bankName:"乌鲁木齐市商业银行",bankCode:"URMQCCB",patterns:[{reg:/^(621751|622143|940001|621754)\d{13}$/g,cardType:"DC"},{reg:/^(622476|628278)\d{10}$/g,cardType:"CC"}]},{bankName:"绍兴银行",bankCode:"SXCB",patterns:[{reg:/^(622486)\d{10}$/g,cardType:"DC"},{reg:/^(603602|623026|623086)\d{12}$/g,cardType:"DC"},{reg:/^(628291)\d{10}$/g,cardType:"CC"}]},{bankName:"成都商业银行",bankCode:"CDCB",patterns:[{reg:/^(622152|622154|622996|622997|940027|622153|622135|621482|621532)\d{13}$/g,cardType:"DC"}]},{bankName:"抚顺银行",bankCode:"FSCB",patterns:[{reg:/^(622442)\d{11}$/g,cardType:"DC"},{reg:/^(940053)\d{12}$/g,cardType:"DC"},{reg:/^(622442|623099)\d{13}$/g,cardType:"DC"}]},{bankName:"郑州银行",bankCode:"ZZBANK",patterns:[{reg:/^(622421)\d{13}$/g,cardType:"DC"},{reg:/^(940056)\d{11}$/g,cardType:"DC"},{reg:/^(96828)\d{11}$/g,cardType:"DC"}]},{bankName:"宁夏银行",bankCode:"NXBANK",patterns:[{reg:/^(621529|622429|621417|623089|623200)\d{13}$/g,cardType:"DC"},{reg:/^(628214|625529|622428)\d{10}$/g,cardType:"CC"}]},{bankName:"重庆银行",bankCode:"CQBANK",patterns:[{reg:/^(9896)\d{12}$/g,cardType:"DC"},{reg:/^(622134|940018|623016)\d{10}$/g,cardType:"DC"}]},{bankName:"哈尔滨银行",bankCode:"HRBANK",patterns:[{reg:/^(621577|622425)\d{13}$/g,cardType:"DC"},{reg:/^(940049)\d{12}$/g,cardType:"DC"},{reg:/^(622425)\d{11}$/g,cardType:"DC"}]},{bankName:"兰州银行",bankCode:"LZYH",patterns:[{reg:/^(622139|940040|628263)\d{10}$/g,cardType:"DC"},{reg:/^(621242|621538|621496)\d{13}$/g,cardType:"DC"}]},{bankName:"青岛银行",bankCode:"QDCCB",patterns:[{reg:/^(621252|622146|940061|628239)\d{10}$/g,cardType:"DC"},{reg:/^(621419|623170)\d{13}$/g,cardType:"DC"}]},{bankName:"秦皇岛市商业银行",bankCode:"QHDCCB",patterns:[{reg:/^(62249802|94004602)\d{11}$/g,cardType:"DC"},{reg:/^(621237|623003)\d{13}$/g,cardType:"DC"}]},{bankName:"青海银行",bankCode:"BOQH",patterns:[{reg:/^(622310|940068)\d{11}$/g,cardType:"DC"},{reg:/^(622817|628287|625959)\d{10}$/g,cardType:"CC"},{reg:/^(62536601)\d{8}$/g,cardType:"CC"}]},{bankName:"台州银行",bankCode:"TZCB",patterns:[{reg:/^(622427)\d{10}$/g,cardType:"DC"},{reg:/^(940069)\d{11}$/g,cardType:"DC"},{reg:/^(623039)\d{13}$/g,cardType:"DC"},{reg:/^(622321|628273)\d{10}$/g,cardType:"CC"},{reg:/^(625001)\d{10}$/g,cardType:"SCC"}]},{bankName:"长沙银行",bankCode:"CSCB",patterns:[{reg:/^(694301)\d{12}$/g,cardType:"DC"},{reg:/^(940071|622368|621446)\d{13}$/g,cardType:"DC"},{reg:/^(625901|622898|622900|628281|628282|622806|628283)\d{10}$/g,cardType:"CC"},{reg:/^(620519)\d{13}$/g,cardType:"PC"}]},{bankName:"泉州银行",bankCode:"BOQZ",patterns:[{reg:/^(683970|940074)\d{12}$/g,cardType:"DC"},{reg:/^(622370)\d{13}$/g,cardType:"DC"},{reg:/^(621437)\d{13}$/g,cardType:"DC"},{reg:/^(628319)\d{10}$/g,cardType:"CC"}]},{bankName:"包商银行",bankCode:"BSB",patterns:[{reg:/^(622336|621760)\d{11}$/g,cardType:"DC"},{reg:/^(622165)\d{10}$/g,cardType:"DC"},{reg:/^(622315|625950|628295)\d{10}$/g,cardType:"CC"}]},{bankName:"龙江银行",bankCode:"DAQINGB",patterns:[{reg:/^(621037|621097|621588|622977)\d{13}$/g,cardType:"DC"},{reg:/^(62321601)\d{11}$/g,cardType:"DC"},{reg:/^(622860)\d{10}$/g,cardType:"DC"},{reg:/^(622644|628333)\d{10}$/g,cardType:"CC"}]},{bankName:"上海农商银行",bankCode:"SHRCB",patterns:[{reg:/^(622478|940013|621495)\d{10}$/g,cardType:"DC"},{reg:/^(625500)\d{10}$/g,cardType:"SCC"},{reg:/^(622611|622722|628211|625989)\d{10}$/g,cardType:"CC"}]},{bankName:"浙江泰隆商业银行",bankCode:"ZJQL",patterns:[{reg:/^(622717)\d{10}$/g,cardType:"SCC"},{reg:/^(628275|622565|622287)\d{10}$/g,cardType:"CC"}]},{bankName:"内蒙古银行",bankCode:"H3CB",patterns:[{reg:/^(622147|621633)\d{13}$/g,cardType:"DC"},{reg:/^(628252)\d{10}$/g,cardType:"CC"}]},{bankName:"广西北部湾银行",bankCode:"BGB",patterns:[{reg:/^(623001)\d{10}$/g,cardType:"DC"},{reg:/^(628227)\d{10}$/g,cardType:"CC"}]},{bankName:"桂林银行",bankCode:"GLBANK",patterns:[{reg:/^(621456)\d{11}$/g,cardType:"DC"},{reg:/^(621562)\d{13}$/g,cardType:"DC"},{reg:/^(628219)\d{10}$/g,cardType:"CC"}]},{bankName:"龙江银行",bankCode:"DAQINGB",patterns:[{reg:/^(621037|621097|621588|622977)\d{13}$/g,cardType:"DC"},{reg:/^(62321601)\d{11}$/g,cardType:"DC"},{reg:/^(622475|622860)\d{10}$/g,cardType:"DC"},{reg:/^(625588)\d{10}$/g,cardType:"SCC"},{reg:/^(622270|628368|625090|622644|628333)\d{10}$/g,cardType:"CC"}]},{bankName:"成都农村商业银行",bankCode:"CDRCB",patterns:[{reg:/^(623088)\d{13}$/g,cardType:"DC"},{reg:/^(622829|628301|622808|628308)\d{10}$/g,cardType:"CC"}]},{bankName:"福建省农村信用社联合社",bankCode:"FJNX",patterns:[{reg:/^(622127|622184|621701|621251|621589|623036)\d{13}$/g,cardType:"DC"},{reg:/^(628232|622802|622290)\d{10}$/g,cardType:"CC"}]},{bankName:"天津农村商业银行",bankCode:"TRCB",patterns:[{reg:/^(622531|622329)\d{13}$/g,cardType:"DC"},{reg:/^(622829|628301)\d{10}$/g,cardType:"CC"}]},{bankName:"江苏省农村信用社联合社",bankCode:"JSRCU",patterns:[{reg:/^(621578|623066|622452|622324)\d{13}$/g,cardType:"DC"},{reg:/^(622815|622816|628226)\d{10}$/g,cardType:"CC"}]},{bankName:"湖南农村信用社联合社",bankCode:"SLH",patterns:[{reg:/^(622906|628386|625519|625506)\d{10}$/g,cardType:"CC"}]},{bankName:"江西省农村信用社联合社",bankCode:"JXNCX",patterns:[{reg:/^(621592)\d{10}$/g,cardType:"DC"},{reg:/^(628392)\d{10}$/g,cardType:"CC"}]},{bankName:"商丘市商业银行",bankCode:"SCBBANK",patterns:[{reg:/^(621748)\d{13}$/g,cardType:"DC"},{reg:/^(628271)\d{10}$/g,cardType:"CC"}]},{bankName:"华融湘江银行",bankCode:"HRXJB",patterns:[{reg:/^(621366|621388)\d{13}$/g,cardType:"DC"},{reg:/^(628328)\d{10}$/g,cardType:"CC"}]},{bankName:"衡水市商业银行",bankCode:"HSBK",patterns:[{reg:/^(621239|623068)\d{13}$/g,cardType:"DC"}]},{bankName:"重庆南川石银村镇银行",bankCode:"CQNCSYCZ",patterns:[{reg:/^(621653004)\d{10}$/g,cardType:"DC"}]},{bankName:"湖南省农村信用社联合社",bankCode:"HNRCC",patterns:[{reg:/^(622169|621519|621539|623090)\d{13}$/g,cardType:"DC"}]},{bankName:"邢台银行",bankCode:"XTB",patterns:[{reg:/^(621238|620528)\d{13}$/g,cardType:"DC"}]},{bankName:"临汾市尧都区农村信用合作联社",bankCode:"LPRDNCXYS",patterns:[{reg:/^(628382|625158)\d{10}$/g,cardType:"CC"}]},{bankName:"东营银行",bankCode:"DYCCB",patterns:[{reg:/^(621004)\d{12}$/g,cardType:"DC"},{reg:/^(628217)\d{10}$/g,cardType:"CC"}]},{bankName:"上饶银行",bankCode:"SRBANK",patterns:[{reg:/^(621416)\d{10}$/g,cardType:"DC"},{reg:/^(628217)\d{10}$/g,cardType:"CC"}]},{bankName:"德州银行",bankCode:"DZBANK",patterns:[{reg:/^(622937)\d{13}$/g,cardType:"DC"},{reg:/^(628397)\d{10}$/g,cardType:"CC"}]},{bankName:"承德银行",bankCode:"CDB",patterns:[{reg:/^(628229)\d{10}$/g,cardType:"CC"}]},{bankName:"云南省农村信用社",bankCode:"YNRCC",patterns:[{reg:/^(622469|628307)\d{10}$/g,cardType:"CC"}]},{bankName:"柳州银行",bankCode:"LZCCB",patterns:[{reg:/^(622292|622291|621412)\d{12}$/g,cardType:"DC"},{reg:/^(622880|622881)\d{10}$/g,cardType:"DC"},{reg:/^(62829)\d{10}$/g,cardType:"CC"}]},{bankName:"威海市商业银行",bankCode:"WHSYBANK",patterns:[{reg:/^(623102)\d{10}$/g,cardType:"DC"},{reg:/^(628234)\d{10}$/g,cardType:"CC"}]},{bankName:"湖州银行",bankCode:"HZBANK",patterns:[{reg:/^(628306)\d{10}$/g,cardType:"CC"}]},{bankName:"潍坊银行",bankCode:"BANKWF",patterns:[{reg:/^(622391|940072)\d{10}$/g,cardType:"DC"},{reg:/^(628391)\d{10}$/g,cardType:"CC"}]},{bankName:"赣州银行",bankCode:"GZB",patterns:[{reg:/^(622967|940073)\d{13}$/g,cardType:"DC"},{reg:/^(628233)\d{10}$/g,cardType:"CC"}]},{bankName:"日照银行",bankCode:"RZGWYBANK",patterns:[{reg:/^(628257)\d{10}$/g,cardType:"CC"}]},{bankName:"南昌银行",bankCode:"NCB",patterns:[{reg:/^(621269|622275)\d{10}$/g,cardType:"DC"},{reg:/^(940006)\d{11}$/g,cardType:"DC"},{reg:/^(628305)\d{11}$/g,cardType:"CC"}]},{bankName:"贵阳银行",bankCode:"GYCB",patterns:[{reg:/^(622133|621735)\d{13}$/g,cardType:"DC"},{reg:/^(888)\d{13}$/g,cardType:"DC"},{reg:/^(628213)\d{10}$/g,cardType:"CC"}]},{bankName:"锦州银行",bankCode:"BOJZ",patterns:[{reg:/^(622990|940003)\d{11}$/g,cardType:"DC"},{reg:/^(628261)\d{10}$/g,cardType:"CC"}]},{bankName:"齐商银行",bankCode:"QSBANK",patterns:[{reg:/^(622311|940057)\d{11}$/g,cardType:"DC"},{reg:/^(628311)\d{10}$/g,cardType:"CC"}]},{bankName:"珠海华润银行",bankCode:"RBOZ",patterns:[{reg:/^(622363|940048)\d{13}$/g,cardType:"DC"},{reg:/^(628270)\d{10}$/g,cardType:"CC"}]},{bankName:"葫芦岛市商业银行",bankCode:"HLDCCB",patterns:[{reg:/^(622398|940054)\d{10}$/g,cardType:"DC"}]},{bankName:"宜昌市商业银行",bankCode:"HBC",patterns:[{reg:/^(940055)\d{11}$/g,cardType:"DC"},{reg:/^(622397)\d{11}$/g,cardType:"CC"}]},{bankName:"杭州商业银行",bankCode:"HZCB",patterns:[{reg:/^(603367|622878)\d{12}$/g,cardType:"DC"},{reg:/^(622397)\d{11}$/g,cardType:"CC"}]},{bankName:"苏州市商业银行",bankCode:"JSBANK",patterns:[{reg:/^(603506)\d{13}$/g,cardType:"DC"}]},{bankName:"辽阳银行",bankCode:"LYCB",patterns:[{reg:/^(622399|940043)\d{11}$/g,cardType:"DC"}]},{bankName:"洛阳银行",bankCode:"LYB",patterns:[{reg:/^(622420|940041)\d{11}$/g,cardType:"DC"}]},{bankName:"焦作市商业银行",bankCode:"JZCBANK",patterns:[{reg:/^(622338)\d{13}$/g,cardType:"DC"},{reg:/^(940032)\d{10}$/g,cardType:"DC"}]},{bankName:"镇江市商业银行",bankCode:"ZJCCB",patterns:[{reg:/^(622394|940025)\d{10}$/g,cardType:"DC"}]},{bankName:"法国兴业银行",bankCode:"FGXYBANK",patterns:[{reg:/^(621245)\d{10}$/g,cardType:"DC"}]},{bankName:"大华银行",bankCode:"DYBANK",patterns:[{reg:/^(621328)\d{13}$/g,cardType:"DC"}]},{bankName:"企业银行",bankCode:"DIYEBANK",patterns:[{reg:/^(621651)\d{13}$/g,cardType:"DC"}]},{bankName:"华侨银行",bankCode:"HQBANK",patterns:[{reg:/^(621077)\d{10}$/g,cardType:"DC"}]},{bankName:"恒生银行",bankCode:"HSB",patterns:[{reg:/^(622409|621441)\d{13}$/g,cardType:"DC"},{reg:/^(622410|621440)\d{11}$/g,cardType:"DC"},{reg:/^(622950|622951)\d{10}$/g,cardType:"DC"},{reg:/^(625026|625024|622376|622378|622377|625092)\d{10}$/g,cardType:"CC"}]},{bankName:"临沂商业银行",bankCode:"LSB",patterns:[{reg:/^(622359|940066)\d{13}$/g,cardType:"DC"}]},{bankName:"烟台商业银行",bankCode:"YTCB",patterns:[{reg:/^(622886)\d{10}$/g,cardType:"DC"}]},{bankName:"齐鲁银行",bankCode:"QLB",patterns:[{reg:/^(940008|622379)\d{13}$/g,cardType:"DC"},{reg:/^(628379)\d{10}$/g,cardType:"CC"}]},{bankName:"BC卡公司",bankCode:"BCCC",patterns:[{reg:/^(620011|620027|620031|620039|620103|620106|620120|620123|620125|620220|620278|620812|621006|621011|621012|621020|621023|621025|621027|621031|620132|621039|621078|621220|621003)\d{10}$/g,cardType:"DC"},{reg:/^(625003|625011|625012|625020|625023|625025|625027|625031|621032|625039|625078|625079|625103|625106|625006|625112|625120|625123|625125|625127|625131|625032|625139|625178|625179|625220|625320|625111|625132|625244)\d{10}$/g,cardType:"CC"}]},{bankName:"集友银行",bankCode:"CYB",patterns:[{reg:/^(622355|623042)\d{10}$/g,cardType:"DC"},{reg:/^(621043|621742)\d{13}$/g,cardType:"DC"},{reg:/^(622352|622353|625048|625053|625060)\d{10}$/g,cardType:"CC"},{reg:/^(620206|620207)\d{10}$/g,cardType:"PC"}]},{bankName:"大丰银行",bankCode:"TFB",patterns:[{reg:/^(622547|622548|622546)\d{13}$/g,cardType:"DC"},{reg:/^(625198|625196|625147)\d{10}$/g,cardType:"CC"},{reg:/^(620072)\d{13}$/g,cardType:"PC"},{reg:/^(620204|620205)\d{10}$/g,cardType:"PC"}]},{bankName:"AEON信贷财务亚洲有限公司",bankCode:"AEON",patterns:[{reg:/^(621064|622941|622974)\d{10}$/g,cardType:"DC"},{reg:/^(622493)\d{10}$/g,cardType:"CC"}]},{bankName:"澳门BDA",bankCode:"MABDA",patterns:[{reg:/^(621274|621324)\d{13}$/g,cardType:"DC"}]}];return function(e){for(var t=0,o=i.length;t<o;t++)for(var a=i[t],s=a.patterns,u=0,l=s.length;u<l;u++){var c=s[u];if(new RegExp(c.reg).test(e)){var d=n(a,c);return delete d.patterns,delete d.reg,d["cardTypeName"]=r(d["cardType"]),d}}return"error"}(e)},t.dateFormat=t.cloneObj=void 0,t.debounce=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;return function(){var r=this,i=arguments;t&&clearTimeout(t),t=setTimeout((function(){e.apply(r,i)}),n)}},t.rpx2px=t.rpx=t.objForEach=t.isObject=t.isEmptyObject=t.isEmpty=t.isArray=t.inArray=t.hasOwnProperty=t.formatDate=void 0,t.throttle=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=null;return function(){var r=arguments,i=this;n||(n=setTimeout((function(){e.apply(i,r),n=null}),t))}},t.urlEncode=t.urlDecode=void 0,t.verifyBankCardNumber=function(e){for(var t=e.substr(e.length-1,1),n=e.substr(0,e.length-1),r=new Array,i=n.length-1;i>-1;i--)r.push(n.substr(i,1));for(var o=new Array,a=new Array,s=new Array,u=0;u<r.length;u++)(u+1)%2==1?2*parseInt(r[u])<9?o.push(2*parseInt(r[u])):a.push(2*parseInt(r[u])):s.push(r[u]);for(var l=new Array,c=new Array,d=0;d<a.length;d++)l.push(parseInt(a[d])%10),c.push(parseInt(a[d])/10);for(var p,f=0,h=0,g=0,y=0,m=0;m<o.length;m++)f+=parseInt(o[m]);for(var v=0;v<s.length;v++)h+=parseInt(s[v]);for(var _=0;_<l.length;_++)g+=parseInt(l[_]),y+=parseInt(c[_]);p=parseInt(f)+parseInt(h)+parseInt(g)+parseInt(y);var b=parseInt(p)%10==0?10:parseInt(p)%10,x=10-b,w=!1;w=t==x;return w};var i=r(n("3b2d"));t.formatDate=function(e){return e.replace(/\-/g,"/")};t.urlEncode=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=[],n=function(n){var r=e[n];if(!r)return"continue";s(r)?r.forEach((function(e){t.push(n+"="+e)})):t.push(n+"="+r)};for(var r in e)n(r);return t.join("&")};t.urlDecode=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=new Object;if(e)for(var n=e.split("&"),r=0;r<n.length;r++)t[n[r].split("=")[0]]=n[r].split("=")[1]||"";return t};t.objForEach=function(e,t){Object.keys(e).forEach((function(n){t(e[n],n)}))};t.inArray=function(e,t){for(var n in t)if(t[n]==e)return!0;return!1};t.dateFormat=function(e,t){var n,r={"Y+":t.getFullYear().toString(),"m+":(t.getMonth()+1).toString(),"d+":t.getDate().toString(),"H+":t.getHours().toString(),"M+":t.getMinutes().toString(),"S+":t.getSeconds().toString()};for(var i in r)n=new RegExp("("+i+")").exec(e),n&&(e=e.replace(n[1],1==n[1].length?r[i]:r[i].padStart(n[1].length,"0")));return e};var o=function(e){return 0===Object.keys(e).length};t.isEmptyObject=o;var a=function(e){return"[object Object]"===Object.prototype.toString.call(e)};t.isObject=a;var s=function(e){return"[object Array]"===Object.prototype.toString.call(e)};t.isArray=s;t.isEmpty=function(e){return s(e)?0===e.length:a(e)?o(e):!e};t.hasOwnProperty=function(e,t){return a(e)&&void 0!==e[t]};t.cloneObj=function e(t){var n=s(t)?[]:{};if("object"===(0,i.default)(t)){for(var r in t)n[r]="object"===(0,i.default)(t[r])?e(t[r]):t[r];return n}};t.arrayIntersect=function(e,t){return e.filter((function(e){return t.indexOf(e)>-1}))};var u=function(){var t=e.getSystemInfoSync(),n=t.windowWidth;return n/750};t.rpx=u;t.rpx2px=function(e){return e*u()}}).call(this,n("df3c")["default"])},"3bf9":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAiVJREFUSEvtlU9oE0EYxd+btGmwphtRT4JtpahYE6HkKHryIoJGehARxD+Yi9SkVL32qtUkFQ+iLYKXgv+qBy+eFLwVFdOmh6K0Cl4k0t1WMEmz+0mglSbZZJOuR+eyMPO995v37TBDNDG+Prdeg2BnRB1pVMZGC0t1C5PWYunbFVFbGtU1BEj0Gj3Kw8O7D7beFULm3q1c9pjW24GZwBcnUF1AYr8epsJtkofsjeQNirwWy2hTtUA1AcmQESNxC4Cn3i4FKEJwNZ7WUnZ1toDUAT0K8J5T/PXrYkk0Ph24X6mpAiSD+i6SsyDamgFAkLNMBAcz2uf1uipAKqSPgbzQlPlqsQgexdPa2ZqA4X0Zb6Blx0+QmzcCgMgvvfh96/Bsb2FNX5YgGdL7SL7fkPmqSKGlb+BT+0dbwGjQOCoKr9wAxMSx+Iz216MswWhw6bgoeeEGQIsnrkx3vKyR4D8AqNuiZGi5n7SeuPkHENUfS/uf2R/ToD5OxfPuADIeSwculgHu9CxvtzaZ1wEOlh4UdwCIUEbM32pkaK4jy+TexS60qSkC21wZV4gFyJoFb5iJkHFKERP/0nzNSwSneWOP+L0+4ymEYRKqEiQAvT5qdhso5MQgIFVrUpqTD/m8FnHsd+axeNtbZYkov74FyGd/0B+OcqVeekdASbwwaY4RFVe4yIPOk55LTq1tCDD/cN7HwM6bAM9QIAKZEOPbUPe57pwT4A8e28un3yOoBgAAAABJRU5ErkJggg=="},"3cd4":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{show:{type:Boolean,default:e.$u.props.picker.show},showToolbar:{type:Boolean,default:e.$u.props.picker.showToolbar},title:{type:String,default:e.$u.props.picker.title},columns:{type:Array,default:e.$u.props.picker.columns},loading:{type:Boolean,default:e.$u.props.picker.loading},itemHeight:{type:[String,Number],default:e.$u.props.picker.itemHeight},cancelText:{type:String,default:e.$u.props.picker.cancelText},confirmText:{type:String,default:e.$u.props.picker.confirmText},cancelColor:{type:String,default:e.$u.props.picker.cancelColor},confirmColor:{type:String,default:e.$u.props.picker.confirmColor},visibleItemCount:{type:[String,Number],default:e.$u.props.picker.visibleItemCount},keyName:{type:String,default:e.$u.props.picker.keyName},closeOnClickOverlay:{type:Boolean,default:e.$u.props.picker.closeOnClickOverlay},defaultIndex:{type:Array,default:e.$u.props.picker.defaultIndex},immediateChange:{type:Boolean,default:e.$u.props.picker.immediateChange}}};t.default=n}).call(this,n("df3c")["default"])},"3d94":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{accept:{type:String,default:e.$u.props.upload.accept},capture:{type:[String,Array],default:e.$u.props.upload.capture},compressed:{type:Boolean,default:e.$u.props.upload.compressed},camera:{type:String,default:e.$u.props.upload.camera},maxDuration:{type:Number,default:e.$u.props.upload.maxDuration},uploadIcon:{type:String,default:e.$u.props.upload.uploadIcon},uploadIconColor:{type:String,default:e.$u.props.upload.uploadIconColor},useBeforeRead:{type:Boolean,default:e.$u.props.upload.useBeforeRead},afterRead:{type:Function,default:null},beforeRead:{type:Function,default:null},previewFullImage:{type:Boolean,default:e.$u.props.upload.previewFullImage},maxCount:{type:[String,Number],default:e.$u.props.upload.maxCount},disabled:{type:Boolean,default:e.$u.props.upload.disabled},imageMode:{type:String,default:e.$u.props.upload.imageMode},name:{type:String,default:e.$u.props.upload.name},sizeType:{type:Array,default:e.$u.props.upload.sizeType},multiple:{type:Boolean,default:e.$u.props.upload.multiple},deletable:{type:Boolean,default:e.$u.props.upload.deletable},maxSize:{type:[String,Number],default:e.$u.props.upload.maxSize},fileList:{type:Array,default:e.$u.props.upload.fileList},uploadText:{type:String,default:e.$u.props.upload.uploadText},width:{type:[String,Number],default:e.$u.props.upload.width},height:{type:[String,Number],default:e.$u.props.upload.height},previewImage:{type:Boolean,default:e.$u.props.upload.previewImage}}};t.default=n}).call(this,n("df3c")["default"])},"3de6":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{show:{type:Boolean,default:e.$u.props.swipeActionItem.show},name:{type:[String,Number],default:e.$u.props.swipeActionItem.name},disabled:{type:Boolean,default:e.$u.props.swipeActionItem.disabled},autoClose:{type:Boolean,default:e.$u.props.swipeActionItem.autoClose},threshold:{type:Number,default:e.$u.props.swipeActionItem.threshold},options:{type:Array,default:function(){return e.$u.props.swipeActionItem.rightOptions}},duration:{type:[String,Number],default:e.$u.props.swipeActionItem.duration}}};t.default=n}).call(this,n("df3c")["default"])},"3f13":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={swipeAction:{autoClose:!0}}},"3fbc":function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("c616"),o=r(n("8b4a")),a=n("ead9"),s={state:{token:o.default.get(i.CRGX_TOKEN,""),userId:o.default.get(i.USER_ID,null),userInfo:o.default.get(i.USER_INFO,null)},mutations:{SET_TOKEN:function(e,t){e.token=t},SET_USER_ID:function(e,t){e.userId=t},SET_USER_INFO:function(e,t){e.userInfo=t}},actions:{Login:function(e,t){var n=e.commit,r=e.dispatch;return new Promise((function(e,s){(0,a.userLogin)(t).then((function(t){var a=t.token;(function(e,t){o.default.set(i.CRGX_TOKEN,t,2592e3),e("SET_TOKEN",t)})(n,a),r("UserInfo"),e(t)})).catch(s)}))},LoginMpWx:function(e,t){e.commit;return new Promise((function(e,t){}))},LoginMpWxMobile:function(e,t){e.commit;return new Promise((function(e,t){}))},UserInfo:function(e,t){var n=e.commit;return new Promise((function(e,t){(0,a.getBusinessInfo)().then((function(t){var r=t.businessId;(function(e,t,n){o.default.set(i.USER_ID,t,2592e3),o.default.set(i.USER_INFO,n,2592e3),e("SET_USER_ID",t),e("SET_USER_INFO",n)})(n,r,t),e(t)})).catch(t)}))},Logout:function(e,t){var n=e.commit;return new Promise((function(e,t){o.default.remove(i.USER_ID),o.default.remove(i.CRGX_TOKEN),o.default.remove(i.USER_INFO),n("SET_TOKEN",""),n("SET_USER_ID",null),n("SET_USER_INFO",null),e()}))}}},u=s;t.default=u},4034:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={avatarGroup:{urls:function(){return[]},maxCount:5,shape:"circle",mode:"scaleToFill",showMore:!0,size:40,keyName:"",gap:.5,extraValue:0}}},4039:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={swipeActionItem:{show:!1,name:"",disabled:!1,threshold:20,autoClose:!0,options:[],duration:300}}},4247:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{dashed:{type:Boolean,default:e.$u.props.divider.dashed},hairline:{type:Boolean,default:e.$u.props.divider.hairline},dot:{type:Boolean,default:e.$u.props.divider.dot},textPosition:{type:String,default:e.$u.props.divider.textPosition},text:{type:[String,Number],default:e.$u.props.divider.text},textSize:{type:[String,Number],default:e.$u.props.divider.textSize},textColor:{type:String,default:e.$u.props.divider.textColor},lineColor:{type:String,default:e.$u.props.divider.lineColor}}};t.default=n}).call(this,n("df3c")["default"])},"42e1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={tabbarItem:{name:null,icon:"",badge:null,dot:!1,text:"",badgeStyle:"top: 6px;right:2px;"}}},"43d9":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={statusBar:{bgColor:"transparent"}}},4479:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{bgColor:{type:String,default:e.$u.props.statusBar.bgColor}}};t.default=n}).call(this,n("df3c")["default"])},4572:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={swiper:{list:function(){return[]},indicator:!1,indicatorActiveColor:"#FFFFFF",indicatorInactiveColor:"rgba(255, 255, 255, 0.35)",indicatorStyle:"",indicatorMode:"line",autoplay:!0,current:0,currentItemId:"",interval:3e3,duration:300,circular:!1,previousMargin:0,nextMargin:0,acceleration:!1,displayMultipleItems:1,easingFunction:"default",keyName:"url",imgMode:"aspectFill",height:130,bgColor:"#f3f4f6",radius:4,loading:!1,showTitle:!1}}},"45c1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={slider:{value:0,blockSize:18,min:0,max:100,step:1,activeColor:"#2979ff",inactiveColor:"#c0c4cc",blockColor:"#ffffff",showValue:!1,disabled:!1,blockStyle:function(){}}}},"45dd":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{title:{type:[String,Number],default:e.$u.props.cell.title},label:{type:[String,Number],default:e.$u.props.cell.label},value:{type:[String,Number],default:e.$u.props.cell.value},icon:{type:String,default:e.$u.props.cell.icon},disabled:{type:Boolean,default:e.$u.props.cell.disabled},border:{type:Boolean,default:e.$u.props.cell.border},center:{type:Boolean,default:e.$u.props.cell.center},url:{type:String,default:e.$u.props.cell.url},linkType:{type:String,default:e.$u.props.cell.linkType},clickable:{type:Boolean,default:e.$u.props.cell.clickable},isLink:{type:Boolean,default:e.$u.props.cell.isLink},required:{type:Boolean,default:e.$u.props.cell.required},rightIcon:{type:String,default:e.$u.props.cell.rightIcon},arrowDirection:{type:String,default:e.$u.props.cell.arrowDirection},iconStyle:{type:[Object,String],default:function(){return e.$u.props.cell.iconStyle}},rightIconStyle:{type:[Object,String],default:function(){return e.$u.props.cell.rightIconStyle}},titleStyle:{type:[Object,String],default:function(){return e.$u.props.cell.titleStyle}},size:{type:String,default:e.$u.props.cell.size},stop:{type:Boolean,default:e.$u.props.cell.stop},name:{type:[Number,String],default:e.$u.props.cell.name}}};t.default=n}).call(this,n("df3c")["default"])},4736:function(e,t,n){"use strict";var r=n("3b2d");Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!t)return e;var n;if(i.isURLSearchParams(t))n=t.toString();else{var r=[];i.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(i.isArray(e)?t="".concat(t,"[]"):e=[e],i.forEach(e,(function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),r.push("".concat(a(t),"=").concat(a(e)))})))})),n=r.join("&")}if(n){var o=e.indexOf("#");-1!==o&&(e=e.slice(0,o)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e};var i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=a?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(i,s,u):i[s]=e[s]}i.default=e,n&&n.set(e,i);return i}(n("ef5e"));function o(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function a(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}},"47a9":function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports["default"]=e.exports},"47c0":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABZxJREFUWEftmU9oXFUUxr9z35uXmWTSpNhqm0JLcRs30rRgQXDlQhSkO7Vb3Vk3VcStFJdaKVJBXFh0oSgKxVXVjRsbRaSIugmmpLS0aZtkJvPnzbtHzrn3Jm8yyfxJ0jQL7zB5yeTNvN/7zj3nfPcOwY+ZH2eKh0YPvwZDr4AxCUIx/G9Hjow6CNdg+bO5pdmPjz5ztC7XJfnB03y4SXyZCJM7AtPjIsy4ljA9R8dolkS5iT1Hru4WuMAukDcW/52i5nT2Ogx9sBuU62Cw/AY1f7NXARzrG5CBypU65j+sonU96/22CBg+mWDf2VEUDkW9z28/Y5qav9raIAmx8OUy7rxXAXiwa0X7DA59uncwSEZdFOz7UumNDNdPzYMbg8GFs0snExw8PwYizc2+xkCAdz+p4t6Fal8fvO5JBBy5/AjiA/2HeiDAW+8soPL9JuXzxBMXx1GaSvq+yYEAb55dQPXKFgE/GkfpxIMAZODmm9sEeDzxLaK3kD0VZGaXsQzcemsR1R+2puDBC2MoBcBcrmyUOBsCCtjK0zLYMm6/XUHtp7T3bXc5Y//5MkpTBcC4Ritg+pCjf+bfvi5gAMtsBuvhOGPcP1dD/efWlgD3vlvC0JOxArJ/RCZCZAzkuBZyXUBrLeRBTQJqBE4ZnMIdmwxkAFsX9m4VTQusqgQFophAMv0KBMQADQGtoQwpN2EoQiGKFdIYkdeNDsCVsC4BaEiYoUC2yVqgBZBbDjKMjSr9Crz8EhGoAFBCMEUCxR7aEOyoRZ3riE2MQuwgw5zsBJSQ1hks9VjyQ/4WxQSszrACLdPQK9hXvEW9yClHRYIZcqCqqnG30dqTIuUWhuJEQcPr6ypo51czdwWwwbB1F1MJkwLK6NUog4wy56ourAq5BhAlYDmqIYkLGuoQ5k7AFsPe81eVTBYQCbEHHH42hjT+gQcD9V9aaM0wTLFTQZmT9WEf5q0AjrxQAJUJ6d8ZWE157xFNEOJHDZp/ZGj+ad0clGSR+/QhRgQ0yg1EPlk2raAASliXLjU7wisgdonBkmC5Ia+XX0x2EDADlj5vB6QyMHo6QTbHqH7XXsyjA4TyqYcMaMYJoy8nyG5ZVL76H3DjLB55vqB1sfJFe4j7UbDxewvpX5LFDzBJov2kgK0Zq4W2+FSMbM4iu8urIf46RfFEhGyekf5jta0lTxidn8ikk6xTZrYri7XLiF/IALMHKL/kzGdjOkPxeIzstoVdZBQej9C6YVH9JnXFXVpbaHNFdBbqzQG6Vpcv1BxanfRiBpJJg+LTsVomdQ4yOwiwFUb12xT2vnQfBmLXPaSL0HYDhl5sa2IYfC/2gKLeCqRfrbXBBUcj7kUB4edgey/uv1BnDHs3lyTBzQiYhFdaXtOFON+HAyRXoHVQlQtDrVYA9HNQLFfOLMg8bYw0EFOEuGurY4a9EwChrlqMgdotBQyWywPmOKLHSEOrTiiM4AXzVitvt8IauQg0koaaha52Sz7XVi142ZsVmYMW6gFFOYVUT9in5fJWS+egOJkhKTHk7Jf0Ye927JiFJatOJu+qN7T8doEBcdGiUPCE3lEHd62WK9iuYL3WWmzvpCHLEAETJUN4RT05fwTIkgwRGbVZ+QXUxosmWS9IUtScek5F97ta/6CgKMzrGP+cD9T5FxMUUo6ysSDg4glLAMdWq4ChdjjNr26bRzr/QukQQHlmDAikJIm6amdufXVp86+qhFgqCadAie2XowhnSJdMbl3jlOxYevrNo97bb35drFHUsHojG17vtigJy0vv/TQn8oJ330ealg3MMzD0fm/buZq1Oi+VNkcWlnDuHzmIoI5/z1rAbhe2fGbwLeAVuNVPDi8FMUK420qNL9h9CeHu3W0B6/3u5k30cEf+a4hXYej0Q/4a4tLc0uzF8DXEfxOfA/h/sepQAAAAAElFTkSuQmCC"},"48ea":function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("ffcd"));t.default=function(e){return(0,i.default)(e)}},4965:function(e,t){e.exports=function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"===typeof e}},e.exports.__esModule=!0,e.exports["default"]=e.exports},"497b":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={data:function(){return{query:{pageNum:1,pageSize:10},isRefresh:!1,flag:!1}},onPullDownRefresh:function(){this.query.pageSize=10,this.total=0,this.flag=!1,this.showList=[],this.getList()},onReachBottom:function(){if(!this.flag){if(this.query.pageSize>=this.total)return e.showToast({title:"内容已全部加载完成",duration:1e3});this.query.pageSize+=10,this.getList()}}};t.default=n}).call(this,n("df3c")["default"])},"49c8":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={code:{seconds:60,startText:"获取验证码",changeText:"X秒重新获取",endText:"重新获取",keepRunning:!1,uniqueKey:""}}},"4b7e":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAARCAYAAADHeGwwAAAAAXNSR0IArs4c6QAAAb5JREFUOE+1lL1LHFEUxc+ZdY0hRAQl7hKFBCVYG2E3VpZiZyFmVrRIipDOBMx/kMImkDRBEBYk7m5hITaCvaKoCEIKLUJAQYyGRFT8mI+TTFQYd14ad5zy3rnnN+e8+4ZPS/0tVb6Vh5glkUQsj84EzMvyXzMzaS+QfBaLbkRES8wWbBdg4pYALrOFnMrFBR1AFIm6SsERgKCP7uHmyOrOfWWfpN8DfFcJJAL4dXJUu/Fy5jAQfZTvqkndSR9VEmE0IvqPF+3S9wCQ+TLQREtbJgeCpkiuhHuSUgSHw7UoQFqDpbcU5QOjBDP/AbzxvMTsNTHrvDnBoMaqq7rxkCvJvHz2OkD45IjjFM+DF5NUtW/5L65sS3Bcz2n96d37YfqIxqTTAOpb+MKGAFpbzBXbTYOZgr1MsCPo+cJny8KuMTYpTfCV8QwETS/lir1GwGSuRKI/6En6SmLPHCNTANpuAiiSeC7BP/H2a9eH5o5NgKYPfXcfNiYPzBEJp6J+mwYp1oGouXCAbQD7RgdUPcHmMge2E16rODcIwmnwswv2tjtW4Uuxf5exc2LwgZdwx0D0EKyOB6QzCDPHfzfqD5LqvUc2GjmGAAAAAElFTkSuQmCC"},"4ce1":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{loading:{type:Boolean,default:e.$u.props.switch.loading},disabled:{type:Boolean,default:e.$u.props.switch.disabled},size:{type:[String,Number],default:e.$u.props.switch.size},activeColor:{type:String,default:e.$u.props.switch.activeColor},inactiveColor:{type:String,default:e.$u.props.switch.inactiveColor},value:{type:[Boolean,String,Number],default:e.$u.props.switch.value},activeValue:{type:[String,Number,Boolean],default:e.$u.props.switch.activeValue},inactiveValue:{type:[String,Number,Boolean],default:e.$u.props.switch.inactiveValue},asyncChange:{type:Boolean,default:e.$u.props.switch.asyncChange},space:{type:[String,Number],default:e.$u.props.switch.space}}};t.default=n}).call(this,n("df3c")["default"])},"4cf9":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={image:{src:"",mode:"aspectFill",width:"300",height:"225",shape:"square",radius:0,lazyLoad:!0,showMenuByLongpress:!0,loadingIcon:"photo",errorIcon:"error-circle",showLoading:!0,showError:!0,fade:!0,webp:!1,duration:500,bgColor:"#f3f4f6"}}},"4df6":function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("ecf9")),o=i.default.color,a={link:{color:o["u-primary"],fontSize:15,underLine:!1,href:"",mpTips:"链接已复制,请在浏览器打开",lineColor:"",text:""}};t.default=a},"4fa7":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return t?"".concat(e.replace(/\/+$/,""),"/").concat(t.replace(/^\/+/,"")):e}},"4ffb":function(e,t,n){var r=n("3b2d")["default"],i=n("3352");e.exports=function(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return i(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},5053:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAbCAYAAAAULC3gAAAAAXNSR0IArs4c6QAAAOFJREFUWEftlzEKwkAQRd/sGQQFT2BjLVgFrS28gJ3eIB7AQ0i8gWKptYWVBxETsBaTIiOCKDbZgIlJsdPOwH/8mVl2RDfeCDUBIi2qDNUISaei60GISLNKlre2aii6GWotYF4QDsjWjVo6dLBR/zMv/xTLo1U/IJ3Xbe0dUPYkiWuZZdWcQ7a3yDnkHLI5YMsXP0OdHvTHYEy2dnKH3RKu56+64oEmC3hC5Yl9AMdtyUCNNnQ9MJaPRBLDaQfxrWSgPM5k1BTfsp+B/MGl8iPxc5hFor43QswKKj4WVUNIZw/n7mO39k0W0AAAAABJRU5ErkJggg=="},"513e":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={swiperIndicator:{length:0,current:0,indicatorActiveColor:"",indicatorInactiveColor:"",indicatorMode:"line"}}},5398:function(e,t,n){(function(r){var i,o,a,s=n("3b2d");!function(n,r){"object"==s(t)&&"undefined"!=typeof e?r(t):(o=[t],i=r,a="function"===typeof i?i.apply(t,o):i,void 0===a||(e.exports=a))}(0,(function(e){"use strict";var t=function(e,n){return(t=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,n)};function n(e,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=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}var i=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},o=new function(){this.browser=new i,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};"object"==("undefined"===typeof r?"undefined":s(r))&&"function"==typeof r.getSystemInfoSync?(o.wxa=!0,o.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?o.worker=!0:"undefined"==typeof navigator||0===navigator.userAgent.indexOf("Node.js")?(o.node=!0,o.svgSupported=!0):(w=navigator.userAgent,ze=(Se=o).browser,O=w.match(/Firefox\/([\d.]+)/),y=w.match(/MSIE\s([\d.]+)/)||w.match(/Trident\/.+?rv:(([\d.]+))/),x=w.match(/Edge?\/([\d.]+)/),w=/micromessenger/i.test(w),O&&(ze.firefox=!0,ze.version=O[1]),y&&(ze.ie=!0,ze.version=y[1]),x&&(ze.edge=!0,ze.version=x[1],ze.newEdge=18<+x[1].split(".")[0]),w&&(ze.weChat=!0),Se.svgSupported="undefined"!=typeof SVGRect,Se.touchEventsSupported="ontouchstart"in window&&!ze.ie&&!ze.edge,Se.pointerEventsSupported="onpointerdown"in window&&(ze.edge||ze.ie&&11<=+ze.version),Se.domSupported="undefined"!=typeof document,O=document.documentElement.style,Se.transform3dSupported=(ze.ie&&"transition"in O||ze.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in O)&&!("OTransition"in O),Se.transformSupported=Se.transform3dSupported||ze.ie&&9<=+ze.version);var a,u,l="12px sans-serif",c=function(e){var t={};if("undefined"!=typeof JSON)for(var n=0;n<e.length;n++){var r=String.fromCharCode(n+32),i=(e.charCodeAt(n)-20)/100;t[r]=i}return t}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),d={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(e,t){if(a||(n=d.createCanvas(),a=n&&n.getContext("2d")),a)return u!==t&&(u=a.font=t||l),a.measureText(e);e=e||"",t=t||l;var n=/(\d+)px/.exec(t),r=n&&+n[1]||12,i=0;if(0<=t.indexOf("mono"))i=r*e.length;else for(var o=0;o<e.length;o++){var s=c[e[o]];i+=null==s?r:s*r}return{width:i}},loadImage:function(e,t,n){var r=new Image;return r.onload=t,r.onerror=n,r.src=e,r}};function p(e){for(var t in d)e[t]&&(d[t]=e[t])}var f=R(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(e,t){return e["[object "+t+"]"]=!0,e}),{}),h=R(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(e,t){return e["[object "+t+"Array]"]=!0,e}),{}),g=Object.prototype.toString,y=Array.prototype,m=y.forEach,v=y.filter,_=y.slice,b=y.map,x=function(){}.constructor,w=x?x.prototype:null,S="__proto__",A=2311;function C(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];"undefined"!=typeof console&&console.error.apply(console,e)}function k(e){if(null==e||"object"!=s(e))return e;var t=e,n=g.call(e);if("[object Array]"===n){if(!ce(e)){t=[];for(var r=0,i=e.length;r<i;r++)t[r]=k(e[r])}}else if(h[n]){if(!ce(e)){var o=e.constructor;if(o.from)t=o.from(e);else for(t=new o(e.length),r=0,i=e.length;r<i;r++)t[r]=e[r]}}else if(!f[n]&&!ce(e)&&!X(e))for(var a in t={},e)e.hasOwnProperty(a)&&a!==S&&(t[a]=k(e[a]));return t}function T(e,t,n){if(!q(t)||!q(e))return n?k(t):e;for(var r in t){var i,o;t.hasOwnProperty(r)&&r!==S&&(i=e[r],!q(o=t[r])||!q(i)||U(o)||U(i)||X(o)||X(i)||Q(o)||Q(i)||ce(o)||ce(i)?!n&&r in e||(e[r]=k(t[r])):T(i,o,n))}return e}function I(e,t){if(Object.assign)Object.assign(e,t);else for(var n in t)t.hasOwnProperty(n)&&n!==S&&(e[n]=t[n]);return e}function M(e,t,n){for(var r=F(t),i=0;i<r.length;i++){var o=r[i];(n?null!=t[o]:null==e[o])&&(e[o]=t[o])}return e}var O=d.createCanvas;function P(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n}return-1}function D(e,t){var n,r=e.prototype;function i(){}for(n in i.prototype=t.prototype,e.prototype=new i,r)r.hasOwnProperty(n)&&(e.prototype[n]=r[n]);(e.prototype.constructor=e).superClass=t}function E(e,t,n){if(e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var r=Object.getOwnPropertyNames(t),i=0;i<r.length;i++){var o=r[i];"constructor"!==o&&(n?null!=t[o]:null==e[o])&&(e[o]=t[o])}else M(e,t,n)}function B(e){return!!e&&"string"!=typeof e&&"number"==typeof e.length}function L(e,t,n){if(e&&t)if(e.forEach&&e.forEach===m)e.forEach(t,n);else if(e.length===+e.length)for(var r=0,i=e.length;r<i;r++)t.call(n,e[r],r,e);else for(var o in e)e.hasOwnProperty(o)&&t.call(n,e[o],o,e)}function N(e,t,n){if(!e)return[];if(!t)return ie(e);if(e.map&&e.map===b)return e.map(t,n);for(var r=[],i=0,o=e.length;i<o;i++)r.push(t.call(n,e[i],i,e));return r}function R(e,t,n,r){if(e&&t){for(var i=0,o=e.length;i<o;i++)n=t.call(r,n,e[i],i,e);return n}}function j(e,t,n){if(!e)return[];if(!t)return ie(e);if(e.filter&&e.filter===v)return e.filter(t,n);for(var r=[],i=0,o=e.length;i<o;i++)t.call(n,e[i],i,e)&&r.push(e[i]);return r}function F(e){if(!e)return[];if(Object.keys)return Object.keys(e);var t,n=[];for(t in e)e.hasOwnProperty(t)&&n.push(t);return n}var z=w&&H(w.bind)?w.call.bind(w.bind):function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return function(){return e.apply(t,n.concat(_.call(arguments)))}};function $(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return function(){return e.apply(this,t.concat(_.call(arguments)))}}function U(e){return Array.isArray?Array.isArray(e):"[object Array]"===g.call(e)}function H(e){return"function"==typeof e}function V(e){return"string"==typeof e}function G(e){return"[object String]"===g.call(e)}function W(e){return"number"==typeof e}function q(e){var t=s(e);return"function"==t||!!e&&"object"==t}function Q(e){return!!f[g.call(e)]}function Y(e){return!!h[g.call(e)]}function X(e){return"object"==s(e)&&"number"==typeof e.nodeType&&"object"==s(e.ownerDocument)}function K(e){return null!=e.colorStops}function J(e){return null!=e.image}function Z(e){return"[object RegExp]"===g.call(e)}function ee(e){return e!=e}function te(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e.length;n<r;n++)if(null!=e[n])return e[n]}function ne(e,t){return null!=e?e:t}function re(e,t,n){return null!=e?e:null!=t?t:n}function ie(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return _.apply(e,t)}function oe(e){var t;return"number"==typeof e?[e,e,e,e]:2===(t=e.length)?[e[0],e[1],e[0],e[1]]:3===t?[e[0],e[1],e[2],e[1]]:e}function ae(e,t){if(!e)throw new Error(t)}function se(e){return null==e?null:"function"==typeof e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var ue="__ec_primitive__";function le(e){e[ue]=!0}function ce(e){return e[ue]}pe.prototype.delete=function(e){var t=this.has(e);return t&&delete this.data[e],t},pe.prototype.has=function(e){return this.data.hasOwnProperty(e)},pe.prototype.get=function(e){return this.data[e]},pe.prototype.set=function(e,t){return this.data[e]=t,this},pe.prototype.keys=function(){return F(this.data)},pe.prototype.forEach=function(e){var t,n=this.data;for(t in n)n.hasOwnProperty(t)&&e(n[t],t)};var de=pe;function pe(){this.data={}}var fe="function"==typeof Map;ge.prototype.hasKey=function(e){return this.data.has(e)},ge.prototype.get=function(e){return this.data.get(e)},ge.prototype.set=function(e,t){return this.data.set(e,t),t},ge.prototype.each=function(e,t){this.data.forEach((function(n,r){e.call(t,n,r)}))},ge.prototype.keys=function(){var e=this.data.keys();return fe?Array.from(e):e},ge.prototype.removeKey=function(e){this.data.delete(e)};var he=ge;function ge(e){var t=U(e),n=(this.data=new(fe?Map:de),this);function r(e,r){t?n.set(e,r):n.set(r,e)}e instanceof ge?e.each(r):e&&L(e,r)}function ye(e){return new he(e)}function me(e,t){for(var n=new e.constructor(e.length+t.length),r=0;r<e.length;r++)n[r]=e[r];var i=e.length;for(r=0;r<t.length;r++)n[r+i]=t[r];return n}function ve(e,t){var n;e=Object.create?Object.create(e):((n=function(){}).prototype=e,new n);return t&&I(e,t),e}function _e(e){e=e.style,e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function be(e,t){return e.hasOwnProperty(t)}function xe(){}var we=180/Math.PI,Se=Object.freeze({__proto__:null,HashMap:he,RADIAN_TO_DEGREE:we,assert:ae,bind:z,clone:k,concatArray:me,createCanvas:O,createHashMap:ye,createObject:ve,curry:$,defaults:M,disableUserSelect:_e,each:L,eqNaN:ee,extend:I,filter:j,find:function(e,t,n){if(e&&t)for(var r=0,i=e.length;r<i;r++)if(t.call(n,e[r],r,e))return e[r]},guid:function(){return A++},hasOwn:be,indexOf:P,inherits:D,isArray:U,isArrayLike:B,isBuiltInObject:Q,isDom:X,isFunction:H,isGradientObject:K,isImagePatternObject:J,isNumber:W,isObject:q,isPrimitive:ce,isRegExp:Z,isString:V,isStringSafe:G,isTypedArray:Y,keys:F,logError:C,map:N,merge:T,mergeAll:function(e,t){for(var n=e[0],r=1,i=e.length;r<i;r++)n=T(n,e[r],t);return n},mixin:E,noop:xe,normalizeCssArray:oe,reduce:R,retrieve:te,retrieve2:ne,retrieve3:re,setAsPrimitive:le,slice:ie,trim:se});function Ae(e,t){return[e=null==e?0:e,t=null==t?0:t]}function Ce(e){return[e[0],e[1]]}function ke(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function Te(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function Ie(e){return Math.sqrt(Me(e))}function Me(e){return e[0]*e[0]+e[1]*e[1]}function Oe(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e}function Pe(e,t){var n=Ie(t);return 0===n?(e[0]=0,e[1]=0):(e[0]=t[0]/n,e[1]=t[1]/n),e}function De(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var Ee=De;function Be(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var Le=Be;function Ne(e,t,n,r){return e[0]=t[0]+r*(n[0]-t[0]),e[1]=t[1]+r*(n[1]-t[1]),e}function Re(e,t,n){var r=t[0];t=t[1];return e[0]=n[0]*r+n[2]*t+n[4],e[1]=n[1]*r+n[3]*t+n[5],e}function je(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e}function Fe(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}var ze=Object.freeze({__proto__:null,add:ke,applyTransform:Re,clone:Ce,copy:function(e,t){return e[0]=t[0],e[1]=t[1],e},create:Ae,dist:Ee,distSquare:Le,distance:De,distanceSquare:Be,div:function(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e},dot:function(e,t){return e[0]*t[0]+e[1]*t[1]},len:Ie,lenSquare:Me,length:Ie,lengthSquare:Me,lerp:Ne,max:Fe,min:je,mul:function(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e},negate:function(e,t){return e[0]=-t[0],e[1]=-t[1],e},normalize:Pe,scale:Oe,scaleAndAdd:function(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e},set:function(e,t,n){return e[0]=t,e[1]=n,e},sub:Te}),$e=function(e,t){this.target=e,this.topTarget=t&&t.topTarget},Ue=(He.prototype._dragStart=function(e){for(var t=e.target;t&&!t.draggable;)t=t.parent||t.__hostTarget;t&&((this._draggingTarget=t).dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.handler.dispatchToElement(new $e(t,e),"dragstart",e.event))},He.prototype._drag=function(e){var t,n,r,i,o=this._draggingTarget;o&&(t=e.offsetX,n=e.offsetY,r=t-this._x,i=n-this._y,this._x=t,this._y=n,o.drift(r,i,e),this.handler.dispatchToElement(new $e(o,e),"drag",e.event),r=this.handler.findHover(t,n,o).target,i=this._dropTarget,o!==(this._dropTarget=r))&&(i&&r!==i&&this.handler.dispatchToElement(new $e(i,e),"dragleave",e.event),r)&&r!==i&&this.handler.dispatchToElement(new $e(r,e),"dragenter",e.event)},He.prototype._dragEnd=function(e){var t=this._draggingTarget;t&&(t.dragging=!1),this.handler.dispatchToElement(new $e(t,e),"dragend",e.event),this._dropTarget&&this.handler.dispatchToElement(new $e(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null},He);function He(e){(this.handler=e).on("mousedown",this._dragStart,this),e.on("mousemove",this._drag,this),e.on("mouseup",this._dragEnd,this)}Ge.prototype.on=function(e,t,n,r){this._$handlers||(this._$handlers={});var i=this._$handlers;if("function"==typeof t&&(r=n,n=t,t=null),n&&e){var o=this._$eventProcessor;null!=t&&o&&o.normalizeQuery&&(t=o.normalizeQuery(t)),i[e]||(i[e]=[]);for(var a=0;a<i[e].length;a++)if(i[e][a].h===n)return this;o={h:n,query:t,ctx:r||this,callAtLast:n.zrEventfulCallAtLast},t=i[e].length-1,r=i[e][t],r&&r.callAtLast?i[e].splice(t,0,o):i[e].push(o)}return this},Ge.prototype.isSilent=function(e){var t=this._$handlers;return!t||!t[e]||!t[e].length},Ge.prototype.off=function(e,t){var n=this._$handlers;if(n)if(e)if(t){if(n[e]){for(var r=[],i=0,o=n[e].length;i<o;i++)n[e][i].h!==t&&r.push(n[e][i]);n[e]=r}n[e]&&0===n[e].length&&delete n[e]}else delete n[e];else this._$handlers={};return this},Ge.prototype.trigger=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(this._$handlers){var r=this._$handlers[e],i=this._$eventProcessor;if(r)for(var o=t.length,a=r.length,s=0;s<a;s++){var u=r[s];if(!i||!i.filter||null==u.query||i.filter(e,u.query))switch(o){case 0:u.h.call(u.ctx);break;case 1:u.h.call(u.ctx,t[0]);break;case 2:u.h.call(u.ctx,t[0],t[1]);break;default:u.h.apply(u.ctx,t)}}i&&i.afterTrigger&&i.afterTrigger(e)}return this},Ge.prototype.triggerWithContext=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(this._$handlers){var r=this._$handlers[e],i=this._$eventProcessor;if(r)for(var o=t.length,a=t[o-1],s=r.length,u=0;u<s;u++){var l=r[u];if(!i||!i.filter||null==l.query||i.filter(e,l.query))switch(o){case 0:l.h.call(a);break;case 1:l.h.call(a,t[0]);break;case 2:l.h.call(a,t[0],t[1]);break;default:l.h.apply(a,t.slice(1,o-1))}}i&&i.afterTrigger&&i.afterTrigger(e)}return this};var Ve=Ge;function Ge(e){e&&(this._$eventProcessor=e)}var We=Math.log(2);function qe(e,t,n,r,i,o){var a,s=r+"-"+i,u=e.length;if(o.hasOwnProperty(s))return o[s];if(1===t)return a=Math.round(Math.log((1<<u)-1&~i)/We),e[n][a];for(var l=r|1<<n,c=n+1;r&1<<c;)c++;for(var d=0,p=0,f=0;p<u;p++){var h=1<<p;h&i||(d+=(f%2?-1:1)*e[n][p]*qe(e,t-1,c,l,i|h,o),f++)}return o[s]=d}function Qe(e,t){var n=[[e[0],e[1],1,0,0,0,-t[0]*e[0],-t[0]*e[1]],[0,0,0,e[0],e[1],1,-t[1]*e[0],-t[1]*e[1]],[e[2],e[3],1,0,0,0,-t[2]*e[2],-t[2]*e[3]],[0,0,0,e[2],e[3],1,-t[3]*e[2],-t[3]*e[3]],[e[4],e[5],1,0,0,0,-t[4]*e[4],-t[4]*e[5]],[0,0,0,e[4],e[5],1,-t[5]*e[4],-t[5]*e[5]],[e[6],e[7],1,0,0,0,-t[6]*e[6],-t[6]*e[7]],[0,0,0,e[6],e[7],1,-t[7]*e[6],-t[7]*e[7]]],r={},i=qe(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)*qe(n,7,0===a?1:0,1<<a,1<<s,r)/i*t[a];return function(e,t,n){var r=t*o[6]+n*o[7]+1;e[0]=(t*o[0]+n*o[1]+o[2])/r,e[1]=(t*o[3]+n*o[4]+o[5])/r}}}var Ye="___zrEVENTSAVED",Xe=[];function Ke(e,t,n,r,i){if(t.getBoundingClientRect&&o.domSupported&&!Je(t)){var a=t[Ye]||(t[Ye]={});t=function(e,t,n){for(var r=n?"invTrans":"trans",i=t[r],o=t.srcCoords,a=[],s=[],u=!0,l=0;l<4;l++){var c=e[l].getBoundingClientRect(),d=2*l,p=c.left;c=c.top;a.push(p,c),u=u&&o&&p===o[d]&&c===o[1+d],s.push(e[l].offsetLeft,e[l].offsetTop)}return u&&i?i:(t.srcCoords=a,t[r]=n?Qe(s,a):Qe(a,s))}(function(e,t){var n=t.markers;if(!n){n=t.markers=[];for(var r=["left","right"],i=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,u=o%2,l=(o>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[u]+":0",i[l]+":0",r[1-u]+":auto",i[1-l]+":auto",""].join("!important;"),e.appendChild(a),n.push(a)}}return n}(t,a),a,i);if(t)return t(e,n,r),!0}return!1}function Je(e){return"CANVAS"===e.nodeName.toUpperCase()}var Ze=/([&<>"'])/g,et={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function tt(e){return null==e?"":(e+"").replace(Ze,(function(e,t){return et[t]}))}var nt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,rt=[],it=o.browser.firefox&&+o.browser.version.split(".")[0]<39;function ot(e,t,n,r){return n=n||{},r?at(e,t,n):it&&null!=t.layerX&&t.layerX!==t.offsetX?(n.zrX=t.layerX,n.zrY=t.layerY):null!=t.offsetX?(n.zrX=t.offsetX,n.zrY=t.offsetY):at(e,t,n),n}function at(e,t,n){if(o.domSupported&&e.getBoundingClientRect){var r,i=t.clientX;t=t.clientY;if(Je(e))return r=e.getBoundingClientRect(),n.zrX=i-r.left,void(n.zrY=t-r.top);if(Ke(rt,e,i,t))return n.zrX=rt[0],void(n.zrY=rt[1])}n.zrX=n.zrY=0}function st(e){return e||window.event}function ut(e,t,n){var r;return null==(t=st(t)).zrX&&((r=t.type)&&0<=r.indexOf("touch")?(r=("touchend"!==r?t.targetTouches:t.changedTouches)[0])&&ot(e,r,t,n):(ot(e,t,t,n),r=function(e){var t=e.wheelDelta;if(t)return t;var n=e.deltaX;e=e.deltaY;return null!=n&&null!=e?3*(0!==e?Math.abs(e):Math.abs(n))*(0<e||!(e<0)&&0<n?-1:1):t}(t),t.zrDelta=r?r/120:-(t.detail||0)/3),e=t.button,null==t.which&&void 0!==e&&nt.test(t.type))&&(t.which=1&e?1:2&e?3:4&e?2:0),t}var lt=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0},ct=(dt.prototype.recognize=function(e,t,n){return this._doTrack(e,t,n),this._recognize(e)},dt.prototype.clear=function(){return this._track.length=0,this},dt.prototype._doTrack=function(e,t,n){var r=e.touches;if(r){for(var i={points:[],touches:[],target:t,event:e},o=0,a=r.length;o<a;o++){var s=r[o],u=ot(n,s,{});i.points.push([u.zrX,u.zrY]),i.touches.push(s)}this._track.push(i)}},dt.prototype._recognize=function(e){for(var t in ft)if(ft.hasOwnProperty(t)&&(t=ft[t](this._track,e),t))return t},dt);function dt(){this._track=[]}function pt(e){var t=e[1][0]-e[0][0];e=e[1][1]-e[0][1];return Math.sqrt(t*t+e*e)}var ft={pinch:function(e,t){var n,r=e.length;if(r)return n=(e[r-1]||{}).points,(r=(e[r-2]||{}).points||n)&&1<r.length&&n&&1<n.length?(r=pt(n)/pt(r),isFinite(r)||(r=1),t.pinchScale=r,r=[(n[0][0]+n[1][0])/2,(n[0][1]+n[1][1])/2],t.pinchX=r[0],t.pinchY=r[1],{type:"pinch",target:e[0].target,event:t}):void 0}};function ht(){return[1,0,0,1,0,0]}function gt(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function yt(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function mt(e,t,n){var r=t[0]*n[0]+t[2]*n[1],i=t[1]*n[0]+t[3]*n[1],o=t[0]*n[2]+t[2]*n[3],a=t[1]*n[2]+t[3]*n[3],s=t[0]*n[4]+t[2]*n[5]+t[4];n=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=r,e[1]=i,e[2]=o,e[3]=a,e[4]=s,e[5]=n,e}function vt(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e}function _t(e,t,n,r){void 0===r&&(r=[0,0]);var i=t[0],o=t[2],a=t[4],s=t[1],u=t[3],l=(t=t[5],Math.sin(n));n=Math.cos(n);return e[0]=i*n+s*l,e[1]=-i*l+s*n,e[2]=o*n+u*l,e[3]=-o*l+n*u,e[4]=n*(a-r[0])+l*(t-r[1])+r[0],e[5]=n*(t-r[1])-l*(a-r[0])+r[1],e}function bt(e,t,n){var r=n[0];n=n[1];return e[0]=t[0]*r,e[1]=t[1]*n,e[2]=t[2]*r,e[3]=t[3]*n,e[4]=t[4]*r,e[5]=t[5]*n,e}function xt(e,t){var n=t[0],r=t[2],i=t[4],o=t[1],a=t[3],s=(t=t[5],n*a-o*r);return s?(e[0]=a*(s=1/s),e[1]=-o*s,e[2]=-r*s,e[3]=n*s,e[4]=(r*t-a*i)*s,e[5]=(o*i-n*t)*s,e):null}var wt=Object.freeze({__proto__:null,clone:function(e){var t=ht();return yt(t,e),t},copy:yt,create:ht,identity:gt,invert:xt,mul:mt,rotate:_t,scale:bt,translate:vt}),St=(At.prototype.copy=function(e){return this.x=e.x,this.y=e.y,this},At.prototype.clone=function(){return new At(this.x,this.y)},At.prototype.set=function(e,t){return this.x=e,this.y=t,this},At.prototype.equal=function(e){return e.x===this.x&&e.y===this.y},At.prototype.add=function(e){return this.x+=e.x,this.y+=e.y,this},At.prototype.scale=function(e){this.x*=e,this.y*=e},At.prototype.scaleAndAdd=function(e,t){this.x+=e.x*t,this.y+=e.y*t},At.prototype.sub=function(e){return this.x-=e.x,this.y-=e.y,this},At.prototype.dot=function(e){return this.x*e.x+this.y*e.y},At.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},At.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},At.prototype.normalize=function(){var e=this.len();return this.x/=e,this.y/=e,this},At.prototype.distance=function(e){var t=this.x-e.x;e=this.y-e.y;return Math.sqrt(t*t+e*e)},At.prototype.distanceSquare=function(e){var t=this.x-e.x;e=this.y-e.y;return t*t+e*e},At.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},At.prototype.transform=function(e){var t,n;if(e)return t=this.x,n=this.y,this.x=e[0]*t+e[2]*n+e[4],this.y=e[1]*t+e[3]*n+e[5],this},At.prototype.toArray=function(e){return e[0]=this.x,e[1]=this.y,e},At.prototype.fromArray=function(e){this.x=e[0],this.y=e[1]},At.set=function(e,t,n){e.x=t,e.y=n},At.copy=function(e,t){e.x=t.x,e.y=t.y},At.len=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},At.lenSquare=function(e){return e.x*e.x+e.y*e.y},At.dot=function(e,t){return e.x*t.x+e.y*t.y},At.add=function(e,t,n){e.x=t.x+n.x,e.y=t.y+n.y},At.sub=function(e,t,n){e.x=t.x-n.x,e.y=t.y-n.y},At.scale=function(e,t,n){e.x=t.x*n,e.y=t.y*n},At.scaleAndAdd=function(e,t,n,r){e.x=t.x+n.x*r,e.y=t.y+n.y*r},At.lerp=function(e,t,n,r){var i=1-r;e.x=i*t.x+r*n.x,e.y=i*t.y+r*n.y},At);function At(e,t){this.x=e||0,this.y=t||0}var Ct=Math.min,kt=Math.max,Tt=new St,It=new St,Mt=new St,Ot=new St,Pt=new St,Dt=new St,Et=(Bt.prototype.union=function(e){var t=Ct(e.x,this.x),n=Ct(e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=kt(e.x+e.width,this.x+this.width)-t:this.width=e.width,isFinite(this.y)&&isFinite(this.height)?this.height=kt(e.y+e.height,this.y+this.height)-n:this.height=e.height,this.x=t,this.y=n},Bt.prototype.applyTransform=function(e){Bt.applyTransform(this,this,e)},Bt.prototype.calculateTransform=function(e){var t=e.width/this.width,n=e.height/this.height,r=ht();return vt(r,r,[-this.x,-this.y]),bt(r,r,[t,n]),vt(r,r,[e.x,e.y]),r},Bt.prototype.intersect=function(e,t){if(!e)return!1;e instanceof Bt||(e=Bt.create(e));var n,r,i,o,a,s,u,l,c=this,d=c.x,p=c.x+c.width,f=c.y,h=(c=c.y+c.height,e.x),g=e.x+e.width,y=e.y,m=(e=e.y+e.height,!(p<h||g<d||c<y||e<f));return t&&(n=1/0,r=0,i=Math.abs(p-h),o=Math.abs(g-d),a=Math.abs(c-y),s=Math.abs(e-f),u=Math.min(i,o),l=Math.min(a,s),p<h||g<d?r<u&&(r=u,i<o?St.set(Dt,-i,0):St.set(Dt,o,0)):u<n&&(n=u,i<o?St.set(Pt,i,0):St.set(Pt,-o,0)),c<y||e<f?r<l&&(r=l,a<s?St.set(Dt,0,-a):St.set(Dt,0,s)):u<n&&(n=u,a<s?St.set(Pt,0,a):St.set(Pt,0,-s))),t&&St.copy(t,m?Pt:Dt),m},Bt.prototype.contain=function(e,t){var n=this;return e>=n.x&&e<=n.x+n.width&&t>=n.y&&t<=n.y+n.height},Bt.prototype.clone=function(){return new Bt(this.x,this.y,this.width,this.height)},Bt.prototype.copy=function(e){Bt.copy(this,e)},Bt.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},Bt.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},Bt.prototype.isZero=function(){return 0===this.width||0===this.height},Bt.create=function(e){return new Bt(e.x,e.y,e.width,e.height)},Bt.copy=function(e,t){e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height},Bt.applyTransform=function(e,t,n){var r,i,o,a;n?n[1]<1e-5&&-1e-5<n[1]&&n[2]<1e-5&&-1e-5<n[2]?(r=n[0],i=n[3],o=n[4],a=n[5],e.x=t.x*r+o,e.y=t.y*i+a,e.width=t.width*r,e.height=t.height*i,e.width<0&&(e.x+=e.width,e.width=-e.width),e.height<0&&(e.y+=e.height,e.height=-e.height)):(Tt.x=Mt.x=t.x,Tt.y=Ot.y=t.y,It.x=Ot.x=t.x+t.width,It.y=Mt.y=t.y+t.height,Tt.transform(n),Ot.transform(n),It.transform(n),Mt.transform(n),e.x=Ct(Tt.x,It.x,Mt.x,Ot.x),e.y=Ct(Tt.y,It.y,Mt.y,Ot.y),o=kt(Tt.x,It.x,Mt.x,Ot.x),a=kt(Tt.y,It.y,Mt.y,Ot.y),e.width=o-e.x,e.height=a-e.y):e!==t&&Bt.copy(e,t)},Bt);function Bt(e,t,n,r){n<0&&(e+=n,n=-n),r<0&&(t+=r,r=-r),this.x=e,this.y=t,this.width=n,this.height=r}function Lt(){lt(this.event)}n(jt,Nt=Ve),jt.prototype.dispose=function(){},jt.prototype.setCursor=function(){};var Nt,Rt=jt;function jt(){var e=null!==Nt&&Nt.apply(this,arguments)||this;return e.handler=null,e}var Ft,zt=function(e,t){this.x=e,this.y=t},$t=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Ut=new Et(0,0,0,0),Ht=(n(Vt,Ft=Ve),Vt.prototype.setHandlerProxy=function(e){this.proxy&&this.proxy.dispose(),e&&(L($t,(function(t){e.on&&e.on(t,this[t],this)}),this),e.handler=this),this.proxy=e},Vt.prototype.mousemove=function(e){var t=e.zrX,n=e.zrY,r=Wt(this,t,n),i=this._hovered,o=i.target;o&&!o.__zr&&(o=(i=this.findHover(i.x,i.y)).target),r=this._hovered=r?new zt(t,n):this.findHover(t,n),t=r.target,n=this.proxy;n.setCursor&&n.setCursor(t?t.cursor:"default"),o&&t!==o&&this.dispatchToElement(i,"mouseout",e),this.dispatchToElement(r,"mousemove",e),t&&t!==o&&this.dispatchToElement(r,"mouseover",e)},Vt.prototype.mouseout=function(e){var t=e.zrEventControl;"only_globalout"!==t&&this.dispatchToElement(this._hovered,"mouseout",e),"no_globalout"!==t&&this.trigger("globalout",{type:"globalout",event:e})},Vt.prototype.resize=function(){this._hovered=new zt(0,0)},Vt.prototype.dispatch=function(e,t){e=this[e],e&&e.call(this,t)},Vt.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},Vt.prototype.setCursorStyle=function(e){var t=this.proxy;t.setCursor&&t.setCursor(e)},Vt.prototype.dispatchToElement=function(e,t,n){var r=(e=e||{}).target;if(!r||!r.silent){for(var i="on"+t,o={type:t,event:n,target:(e=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:Lt};r&&(r[i]&&(o.cancelBubble=!!r[i].call(r,o)),r.trigger(t,o),r=r.__hostTarget||r.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(t,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(e){"function"==typeof e[i]&&e[i].call(e,o),e.trigger&&e.trigger(t,o)})))}},Vt.prototype.findHover=function(e,t,n){var r=this.storage.getDisplayList(),i=new zt(e,t);if(Gt(r,i,e,t,n),this._pointerSize&&!i.target){for(var o=[],a=this._pointerSize,s=a/2,u=new Et(e-s,t-s,a,a),l=r.length-1;0<=l;l--){var c=r[l];c===n||c.ignore||c.ignoreCoarsePointer||c.parent&&c.parent.ignoreCoarsePointer||(Ut.copy(c.getBoundingRect()),c.transform&&Ut.applyTransform(c.transform),Ut.intersect(u)&&o.push(c))}if(o.length)for(var d=Math.PI/12,p=2*Math.PI,f=0;f<s;f+=4)for(var h=0;h<p;h+=d)if(Gt(o,i,e+f*Math.cos(h),t+f*Math.sin(h),n),i.target)return i}return i},Vt.prototype.processGesture=function(e,t){this._gestureMgr||(this._gestureMgr=new ct);var n=this._gestureMgr,r=("start"===t&&n.clear(),n.recognize(e,this.findHover(e.zrX,e.zrY,null).target,this.proxy.dom));"end"===t&&n.clear(),r&&(t=r.type,e.gestureEvent=t,(n=new zt).target=r.target,this.dispatchToElement(n,t,r.event))},Vt);function Vt(e,t,n,r,i){var o=Ft.call(this)||this;return o._hovered=new zt(0,0),o.storage=e,o.painter=t,o.painterRoot=r,o._pointerSize=i,n=n||new Rt,o.proxy=null,o.setHandlerProxy(n),o._draggingMgr=new Ue(o),o}function Gt(e,t,n,r,i){for(var o=e.length-1;0<=o;o--){var a=e[o],s=void 0;if(a!==i&&!a.ignore&&(s=function(e,t,n){if(e[e.rectHover?"rectContain":"contain"](t,n)){for(var r=e,i=void 0,o=!1;r;){if(!(o=!!r.ignoreClip||o)){var a=r.getClipPath();if(a&&!a.contain(t,n))return!1}r.silent&&(i=!0),a=r.__hostTarget,r=a||r.parent}return!i||"silent"}return!1}(a,n,r))&&(t.topTarget||(t.topTarget=a),"silent"!==s)){t.target=a;break}}}function Wt(e,t,n){return e=e.painter,t<0||t>e.getWidth()||n<0||n>e.getHeight()}L(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(e){Ht.prototype[e]=function(t){var n,r,i=t.zrX,o=t.zrY,a=Wt(this,i,o);if("mouseup"===e&&a||(r=(n=this.findHover(i,o)).target),"mousedown"===e)this._downEl=r,this._downPoint=[t.zrX,t.zrY],this._upEl=r;else if("mouseup"===e)this._upEl=r;else if("click"===e){if(this._downEl!==this._upEl||!this._downPoint||4<Ee(this._downPoint,[t.zrX,t.zrY]))return;this._downPoint=null}this.dispatchToElement(n,e,t)}}));function qt(e,t,n,r){var i=t+1;if(i===n)return 1;if(r(e[i++],e[t])<0){for(;i<n&&r(e[i],e[i-1])<0;)i++;var o=e,a=t,s=i;for(s--;a<s;){var u=o[a];o[a++]=o[s],o[s--]=u}}else for(;i<n&&0<=r(e[i],e[i-1]);)i++;return i-t}function Qt(e,t,n,r,i){for(r===t&&r++;r<n;r++){for(var o,a=e[r],s=t,u=r;s<u;)i(a,e[o=s+u>>>1])<0?u=o:s=1+o;var l=r-s;switch(l){case 3:e[s+3]=e[s+2];case 2:e[s+2]=e[s+1];case 1:e[s+1]=e[s];break;default:for(;0<l;)e[s+l]=e[s+l-1],l--}e[s]=a}}function Yt(e,t,n,r,i,o){var a=0,s=0,u=1;if(0<o(e,t[n+i])){for(s=r-i;u<s&&0<o(e,t[n+i+u]);)(u=1+((a=u)<<1))<=0&&(u=s);s<u&&(u=s),a+=i,u+=i}else{for(s=i+1;u<s&&o(e,t[n+i-u])<=0;)(u=1+((a=u)<<1))<=0&&(u=s);r=a,a=i-(u=s<u?s:u),u=i-r}for(a++;a<u;){var l=a+(u-a>>>1);0<o(e,t[n+l])?a=l+1:u=l}return u}function Xt(e,t,n,r,i,o){var a=0,s=0,u=1;if(o(e,t[n+i])<0){for(s=i+1;u<s&&o(e,t[n+i-u])<0;)(u=1+((a=u)<<1))<=0&&(u=s);var l=a;a=i-(u=s<u?s:u),u=i-l}else{for(s=r-i;u<s&&0<=o(e,t[n+i+u]);)(u=1+((a=u)<<1))<=0&&(u=s);s<u&&(u=s),a+=i,u+=i}for(a++;a<u;){var c=a+(u-a>>>1);o(e,t[n+c])<0?u=c:a=c+1}return u}function Kt(e,t,n,r){var i=(r=r||e.length)-(n=n||0);if(!(i<2)){var o=0;if(i<32)Qt(e,n,r,n+(o=qt(e,n,r,t)),t);else{var a,s=function(e,t){var n,r,i=7,o=0,a=[];function s(s){var u=n[s],l=r[s],c=n[s+1],d=r[s+1];r[s]=l+d,s===o-3&&(n[s+1]=n[s+2],r[s+1]=r[s+2]),o--,s=Xt(e[c],e,u,l,0,t);if(u+=s,0!=(l-=s)&&0!==(d=Yt(e[u+l-1],e,c,d,d-1,t)))if(l<=d){var p=u,f=l,h=(s=c,d),g=0;for(g=0;g<f;g++)a[g]=e[p+g];var y=0,m=s,v=p;if(e[v++]=e[m++],0==--h)for(g=0;g<f;g++)e[v+g]=a[y+g];else if(1===f){for(g=0;g<h;g++)e[v+g]=e[m+g];e[v+h]=a[y]}else{for(var _,b,x,w=i;;){b=_=0,x=!1;do{if(t(e[m],a[y])<0){if(e[v++]=e[m++],b++,(_=0)==--h){x=!0;break}}else if(e[v++]=a[y++],_++,b=0,1==--f){x=!0;break}}while((_|b)<w);if(x)break;do{if(0!==(_=Xt(e[m],a,y,f,0,t))){for(g=0;g<_;g++)e[v+g]=a[y+g];if(v+=_,y+=_,(f-=_)<=1){x=!0;break}}if(e[v++]=e[m++],0==--h){x=!0;break}if(0!==(b=Yt(a[y],e,m,h,0,t))){for(g=0;g<b;g++)e[v+g]=e[m+g];if(v+=b,m+=b,0===(h-=b)){x=!0;break}}if(e[v++]=a[y++],1==--f){x=!0;break}}while(w--,7<=_||7<=b);if(x)break;w<0&&(w=0),w+=2}if((i=w)<1&&(i=1),1===f){for(g=0;g<h;g++)e[v+g]=e[m+g];e[v+h]=a[y]}else{if(0===f)throw new Error;for(g=0;g<f;g++)e[v+g]=a[y+g]}}}else{var S=u,A=l,C=c,k=d,T=0;for(T=0;T<k;T++)a[T]=e[C+T];var I=S+A-1,M=k-1,O=C+k-1,P=0,D=0;if(e[O--]=e[I--],0==--A)for(P=O-(k-1),T=0;T<k;T++)e[P+T]=a[T];else if(1===k){for(D=1+(O-=A),P=1+(I-=A),T=A-1;0<=T;T--)e[D+T]=e[P+T];e[O]=a[M]}else{for(var E=i;;){var B=0,L=0,N=!1;do{if(t(a[M],e[I])<0){if(e[O--]=e[I--],B++,(L=0)==--A){N=!0;break}}else if(e[O--]=a[M--],L++,B=0,1==--k){N=!0;break}}while((B|L)<E);if(N)break;do{if(0!==(B=A-Xt(a[M],e,S,A,A-1,t))){for(A-=B,D=1+(O-=B),P=1+(I-=B),T=B-1;0<=T;T--)e[D+T]=e[P+T];if(0===A){N=!0;break}}if(e[O--]=a[M--],1==--k){N=!0;break}if(0!==(L=k-Yt(e[I],a,0,k,k-1,t))){for(k-=L,D=1+(O-=L),P=1+(M-=L),T=0;T<L;T++)e[D+T]=a[P+T];if(k<=1){N=!0;break}}if(e[O--]=e[I--],0==--A){N=!0;break}}while(E--,7<=B||7<=L);if(N)break;E<0&&(E=0),E+=2}if((i=E)<1&&(i=1),1===k){for(D=1+(O-=A),P=1+(I-=A),T=A-1;0<=T;T--)e[D+T]=e[P+T];e[O]=a[M]}else{if(0===k)throw new Error;for(P=O-(k-1),T=0;T<k;T++)e[P+T]=a[T]}}}}return n=[],r=[],{mergeRuns:function(){for(;1<o;){var e=o-2;if(1<=e&&r[e-1]<=r[e]+r[e+1]||2<=e&&r[e-2]<=r[e]+r[e-1])r[e-1]<r[e+1]&&e--;else if(r[e]>r[e+1])break;s(e)}},forceMergeRuns:function(){for(;1<o;){var e=o-2;0<e&&r[e-1]<r[e+1]&&e--,s(e)}},pushRun:function(e,t){n[o]=e,r[o]=t,o+=1}}}(e,t),u=function(e){for(var t=0;32<=e;)t|=1&e,e>>=1;return e+t}(i);do{}while((o=qt(e,n,r,t))<u&&(Qt(e,n,n+(a=u<(a=i)?u:i),n+o,t),o=a),s.pushRun(n,o),s.mergeRuns(),n+=o,0!==(i-=o));s.forceMergeRuns()}}}var Jt=!1;function Zt(){Jt||(Jt=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function en(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}nn.prototype.traverse=function(e,t){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(e,t)},nn.prototype.getDisplayList=function(e,t){t=t||!1;var n=this._displayList;return!e&&n.length||this.updateDisplayList(t),n},nn.prototype.updateDisplayList=function(e){this._displayListLen=0;for(var t=this._roots,n=this._displayList,r=0,i=t.length;r<i;r++)this._updateAndAddDisplayable(t[r],null,e);n.length=this._displayListLen,Kt(n,en)},nn.prototype._updateAndAddDisplayable=function(e,t,n){if(!e.ignore||n){e.beforeUpdate(),e.update(),e.afterUpdate();var r=e.getClipPath();if(e.ignoreClip)t=null;else if(r){t=t?t.slice():[];for(var i=r,o=e;i;)i.parent=o,i.updateTransform(),t.push(i),i=(o=i).getClipPath()}if(e.childrenRef){for(var a=e.childrenRef(),s=0;s<a.length;s++){var u=a[s];e.__dirty&&(u.__dirty|=1),this._updateAndAddDisplayable(u,t,n)}e.__dirty=0}else r=e,t&&t.length?r.__clipPaths=t:r.__clipPaths&&0<r.__clipPaths.length&&(r.__clipPaths=[]),isNaN(r.z)&&(Zt(),r.z=0),isNaN(r.z2)&&(Zt(),r.z2=0),isNaN(r.zlevel)&&(Zt(),r.zlevel=0),this._displayList[this._displayListLen++]=r;r=e.getDecalElement&&e.getDecalElement(),r&&this._updateAndAddDisplayable(r,t,n),r=e.getTextGuideLine(),r&&this._updateAndAddDisplayable(r,t,n),r=e.getTextContent(),r&&this._updateAndAddDisplayable(r,t,n)}},nn.prototype.addRoot=function(e){e.__zr&&e.__zr.storage===this||this._roots.push(e)},nn.prototype.delRoot=function(e){if(e instanceof Array)for(var t=0,n=e.length;t<n;t++)this.delRoot(e[t]);else{var r=P(this._roots,e);0<=r&&this._roots.splice(r,1)}},nn.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},nn.prototype.getRoots=function(){return this._roots},nn.prototype.dispose=function(){this._displayList=null,this._roots=null};var tn=nn;function nn(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=en}var rn=o.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)},on={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return.5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return 0===e?0:Math.pow(1024,e-1)},exponentialOut:function(e){return 1===e?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return 0===e?0:1===e?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(2-Math.pow(2,-10*(e-1)))},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,n=.1;return 0===e?0:1===e?1:(t=!n||n<1?(n=1,.1):.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*--e)*Math.sin((e-t)*(2*Math.PI)/.4))},elasticOut:function(e){var t,n=.1;return 0===e?0:1===e?1:(t=!n||n<1?(n=1,.1):.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/.4)+1)},elasticInOut:function(e){var t,n=.1;return 0===e?0:1===e?1:(t=!n||n<1?(n=1,.1):.4*Math.asin(1/n)/(2*Math.PI),(e*=2)<1?n*Math.pow(2,10*--e)*Math.sin((e-t)*(2*Math.PI)/.4)*-.5:n*Math.pow(2,-10*--e)*Math.sin((e-t)*(2*Math.PI)/.4)*.5+1)},backIn:function(e){return e*e*(2.70158*e-1.70158)},backOut:function(e){return--e*e*(2.70158*e+1.70158)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?e*e*((1+t)*e-t)*.5:.5*((e-=2)*e*((1+t)*e+t)+2)},bounceIn:function(e){return 1-on.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?.5*on.bounceIn(2*e):.5*on.bounceOut(2*e-1)+.5}},an=Math.pow,sn=Math.sqrt,un=sn(3),ln=Ae(),cn=Ae(),dn=Ae();function pn(e){return-1e-8<e&&e<1e-8}function fn(e){return 1e-8<e||e<-1e-8}function hn(e,t,n,r,i){var o=1-i;return o*o*(o*e+3*i*t)+i*i*(i*r+3*o*n)}function gn(e,t,n,r,i){var o=1-i;return 3*(((t-e)*o+2*(n-t)*i)*o+(r-n)*i*i)}function yn(e,t,n,r,i,o){r=r+3*(t-n)-e,n=3*(n-2*t+e),t=3*(t-e),e-=i,i=n*n-3*r*t;var a,s,u=n*t-9*r*e,l=(e=t*t-3*n*e,0);return pn(i)&&pn(u)?pn(n)?o[0]=0:0<=(a=-t/n)&&a<=1&&(o[l++]=a):pn(t=u*u-4*i*e)?(s=-(e=u/i)/2,0<=(a=-n/r+e)&&a<=1&&(o[l++]=a),0<=s&&s<=1&&(o[l++]=s)):0<t?(t=i*n+1.5*r*(-u-(e=sn(t))),0<=(a=(-n-((e=(e=i*n+1.5*r*(-u+e))<0?-an(-e,1/3):an(e,1/3))+(t=t<0?-an(-t,1/3):an(t,1/3))))/(3*r))&&a<=1&&(o[l++]=a)):(e=(2*i*n-3*r*u)/(2*sn(i*i*i)),t=Math.acos(e)/3,a=(-n-2*(u=sn(i))*(e=Math.cos(t)))/(3*r),s=(-n+u*(e+un*Math.sin(t)))/(3*r),i=(-n+u*(e-un*Math.sin(t)))/(3*r),0<=a&&a<=1&&(o[l++]=a),0<=s&&s<=1&&(o[l++]=s),0<=i&&i<=1&&(o[l++]=i)),l}function mn(e,t,n,r,i){var o,a=6*n-12*t+6*e;r=9*t+3*r-3*e-9*n,n=3*t-3*e,t=0;return pn(r)?fn(a)&&0<=(o=-n/a)&&o<=1&&(i[t++]=o):pn(e=a*a-4*r*n)?i[0]=-a/(2*r):0<e&&(e=(-a-(n=sn(e)))/(2*r),0<=(o=(-a+n)/(2*r))&&o<=1&&(i[t++]=o),0<=e)&&e<=1&&(i[t++]=e),t}function vn(e,t,n,r,i,o){var a=(t-e)*i+e,s=(t=(n-t)*i+t,n=(r-n)*i+n,(t-a)*i+a);t=(n-t)*i+t,i=(t-s)*i+s;o[0]=e,o[1]=a,o[2]=s,o[3]=i,o[4]=i,o[5]=t,o[6]=n,o[7]=r}function _n(e,t,n,r,i,o,a,s,u,l,c){var d,p,f,h,g=.005,y=1/0;ln[0]=u,ln[1]=l;for(var m=0;m<1;m+=.05)cn[0]=hn(e,n,i,a,m),cn[1]=hn(t,r,o,s,m),(f=Le(ln,cn))<y&&(d=m,y=f);y=1/0;for(var v=0;v<32&&!(g<1e-4);v++)p=d+g,cn[0]=hn(e,n,i,a,h=d-g),cn[1]=hn(t,r,o,s,h),f=Le(cn,ln),0<=h&&f<y?(d=h,y=f):(dn[0]=hn(e,n,i,a,p),dn[1]=hn(t,r,o,s,p),h=Le(dn,ln),p<=1&&h<y?(d=p,y=h):g*=.5);return c&&(c[0]=hn(e,n,i,a,d),c[1]=hn(t,r,o,s,d)),sn(y)}function bn(e,t,n,r){var i=1-r;return i*(i*e+2*r*t)+r*r*n}function xn(e,t,n,r){return 2*((1-r)*(t-e)+r*(n-t))}function wn(e,t,n){return n=e+n-2*t,0==n?.5:(e-t)/n}function Sn(e,t,n,r,i){var o=(t-e)*r+e;t=(n-t)*r+t,r=(t-o)*r+o;i[0]=e,i[1]=o,i[2]=r,i[3]=r,i[4]=t,i[5]=n}function An(e,t,n,r,i,o,a,s,u){var l,c=.005,d=1/0;ln[0]=a,ln[1]=s;for(var p=0;p<1;p+=.05)cn[0]=bn(e,n,i,p),cn[1]=bn(t,r,o,p),(y=Le(ln,cn))<d&&(l=p,d=y);d=1/0;for(var f=0;f<32&&!(c<1e-4);f++){var h=l-c,g=l+c,y=(cn[0]=bn(e,n,i,h),cn[1]=bn(t,r,o,h),Le(cn,ln));0<=h&&y<d?(l=h,d=y):(dn[0]=bn(e,n,i,g),dn[1]=bn(t,r,o,g),h=Le(dn,ln),g<=1&&h<d?(l=g,d=h):c*=.5)}return u&&(u[0]=bn(e,n,i,l),u[1]=bn(t,r,o,l)),sn(d)}var Cn=/cubic-bezier\(([0-9,\.e ]+)\)/;function kn(e){if(e=e&&Cn.exec(e),e){e=e[1].split(",");var t,n=+se(e[0]),r=+se(e[1]),i=+se(e[2]),o=+se(e[3]);if(!isNaN(n+r+i+o))return t=[],function(e){return e<=0?0:1<=e?1:yn(0,n,i,1,e,t)&&hn(0,r,o,1,t[0])}}}In.prototype.step=function(e,t){if(this._inited||(this._startTime=e+this._delay,this._inited=!0),!this._paused){var n=this._life,r=e-this._startTime-this._pausedTime,i=r/n,o=(i<0&&(i=0),i=Math.min(i,1),this.easingFunc);o=o?o(i):i;if(this.onframe(o),1===i){if(!this.loop)return!0;this._startTime=e-r%n,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=t},In.prototype.pause=function(){this._paused=!0},In.prototype.resume=function(){this._paused=!1},In.prototype.setEasing=function(e){this.easing=e,this.easingFunc=H(e)?e:on[e]||kn(e)};var Tn=In;function In(e){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=e.life||1e3,this._delay=e.delay||0,this.loop=e.loop||!1,this.onframe=e.onframe||xe,this.ondestroy=e.ondestroy||xe,this.onrestart=e.onrestart||xe,e.easing&&this.setEasing(e.easing)}var Mn=function(e){this.value=e},On=(Pn.prototype.insert=function(e){return e=new Mn(e),this.insertEntry(e),e},Pn.prototype.insertEntry=function(e){this.head?((this.tail.next=e).prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},Pn.prototype.remove=function(e){var t=e.prev,n=e.next;t?t.next=n:this.head=n,n?n.prev=t:this.tail=t,e.next=e.prev=null,this._len--},Pn.prototype.len=function(){return this._len},Pn.prototype.clear=function(){this.head=this.tail=null,this._len=0},Pn);function Pn(){this._len=0}En.prototype.put=function(e,t){var n,r,i=this._list,o=this._map,a=null;return null==o[e]&&(r=i.len(),n=this._lastRemovedEntry,r>=this._maxSize&&0<r&&(r=i.head,i.remove(r),delete o[r.key],a=r.value,this._lastRemovedEntry=r),n?n.value=t:n=new Mn(t),n.key=e,i.insertEntry(n),o[e]=n),a},En.prototype.get=function(e){e=this._map[e];var t=this._list;if(null!=e)return e!==t.tail&&(t.remove(e),t.insertEntry(e)),e.value},En.prototype.clear=function(){this._list.clear(),this._map={}},En.prototype.len=function(){return this._list.len()};var Dn=En;function En(e){this._list=new On,this._maxSize=10,this._map={},this._maxSize=e}var Bn={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 Ln(e){return(e=Math.round(e))<0?0:255<e?255:e}function Nn(e){return e<0?0:1<e?1:e}function Rn(e){return e.length&&"%"===e.charAt(e.length-1)?Ln(parseFloat(e)/100*255):Ln(parseInt(e,10))}function jn(e){return e.length&&"%"===e.charAt(e.length-1)?Nn(parseFloat(e)/100):Nn(parseFloat(e))}function Fn(e,t,n){return n<0?n+=1:1<n&&--n,6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}function zn(e,t,n){return e+(t-e)*n}function $n(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e}function Un(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var Hn=new Dn(20),Vn=null;function Gn(e,t){Vn&&Un(Vn,t),Vn=Hn.put(e,Vn||t.slice())}function Wn(e,t){if(e){t=t||[];var n=Hn.get(e);if(n)return Un(t,n);if(n=(e+="").replace(/ /g,"").toLowerCase(),n in Bn)return Un(t,Bn[n]),Gn(e,t),t;var r=n.length;if("#"===n.charAt(0))return 4===r||5===r?0<=(i=parseInt(n.slice(1,4),16))&&i<=4095?($n(t,(3840&i)>>4|(3840&i)>>8,240&i|(240&i)>>4,15&i|(15&i)<<4,5===r?parseInt(n.slice(4),16)/15:1),Gn(e,t),t):void $n(t,0,0,0,1):7===r||9===r?0<=(i=parseInt(n.slice(1,7),16))&&i<=16777215?($n(t,(16711680&i)>>16,(65280&i)>>8,255&i,9===r?parseInt(n.slice(7),16)/255:1),Gn(e,t),t):void $n(t,0,0,0,1):void 0;var i=n.indexOf("("),o=n.indexOf(")");if(-1!==i&&o+1===r){r=n.substr(0,i);var a=n.substr(i+1,o-(i+1)).split(","),s=1;switch(r){case"rgba":if(4!==a.length)return 3===a.length?$n(t,+a[0],+a[1],+a[2],1):$n(t,0,0,0,1);s=jn(a.pop());case"rgb":return 3<=a.length?($n(t,Rn(a[0]),Rn(a[1]),Rn(a[2]),3===a.length?s:jn(a[3])),Gn(e,t),t):void $n(t,0,0,0,1);case"hsla":return 4!==a.length?void $n(t,0,0,0,1):(a[3]=jn(a[3]),qn(a,t),Gn(e,t),t);case"hsl":return 3!==a.length?void $n(t,0,0,0,1):(qn(a,t),Gn(e,t),t);default:return}}$n(t,0,0,0,1)}}function qn(e,t){var n=(parseFloat(e[0])%360+360)%360/360,r=jn(e[1]),i=jn(e[2]);r=i<=.5?i*(r+1):i+r-i*r,i=2*i-r;return $n(t=t||[],Ln(255*Fn(i,r,n+1/3)),Ln(255*Fn(i,r,n)),Ln(255*Fn(i,r,n-1/3)),1),4===e.length&&(t[3]=e[3]),t}function Qn(e,t){var n=Wn(e);if(n){for(var r=0;r<3;r++)n[r]=t<0?n[r]*(1-t)|0:(255-n[r])*t+n[r]|0,255<n[r]?n[r]=255:n[r]<0&&(n[r]=0);return tr(n,4===n.length?"rgba":"rgb")}}function Yn(e,t,n){var r,i,o;if(t&&t.length&&0<=e&&e<=1)return n=n||[],e*=t.length-1,r=Math.floor(e),o=Math.ceil(e),i=t[r],t=t[o],n[0]=Ln(zn(i[0],t[0],o=e-r)),n[1]=Ln(zn(i[1],t[1],o)),n[2]=Ln(zn(i[2],t[2],o)),n[3]=Nn(zn(i[3],t[3],o)),n}var Xn=Yn;function Kn(e,t,n){var r,i,o,a;if(t&&t.length&&0<=e&&e<=1)return e*=t.length-1,r=Math.floor(e),i=Math.ceil(e),a=Wn(t[r]),t=Wn(t[i]),a=tr([Ln(zn(a[0],t[0],o=e-r)),Ln(zn(a[1],t[1],o)),Ln(zn(a[2],t[2],o)),Nn(zn(a[3],t[3],o))],"rgba"),n?{color:a,leftIndex:r,rightIndex:i,value:e}:a}var Jn=Kn;function Zn(e,t,n,r){var i=Wn(e);if(e)return i=function(e){var t,n,r,i,o,a,s,u,l,c;if(e)return c=e[0]/255,t=e[1]/255,n=e[2]/255,s=Math.min(c,t,n),i=((r=Math.max(c,t,n))+s)/2,0==(l=r-s)?a=o=0:(a=i<.5?l/(r+s):l/(2-r-s),s=((r-c)/6+l/2)/l,u=((r-t)/6+l/2)/l,l=((r-n)/6+l/2)/l,c===r?o=l-u:t===r?o=1/3+s-l:n===r&&(o=2/3+u-s),o<0&&(o+=1),1<o&&--o),c=[360*o,a,i],null!=e[3]&&c.push(e[3]),c}(i),null!=t&&(i[0]=(e=t,(e=Math.round(e))<0?0:360<e?360:e)),null!=n&&(i[1]=jn(n)),null!=r&&(i[2]=jn(r)),tr(qn(i),"rgba")}function er(e,t){if(e=Wn(e),e&&null!=t)return e[3]=Nn(t),tr(e,"rgba")}function tr(e,t){var n;if(e&&e.length)return n=e[0]+","+e[1]+","+e[2],"rgba"!==t&&"hsva"!==t&&"hsla"!==t||(n+=","+e[3]),t+"("+n+")"}function nr(e,t){return e=Wn(e),e?(.299*e[0]+.587*e[1]+.114*e[2])*e[3]/255+(1-e[3])*t:0}var rr=new Dn(100);function ir(e){var t;return V(e)?((t=rr.get(e))||(t=Qn(e,-.1),rr.put(e,t)),t):K(e)?((t=I({},e)).colorStops=N(e.colorStops,(function(e){return{offset:e.offset,color:Qn(e.color,-.1)}})),t):e}Xn=Object.freeze({__proto__:null,fastLerp:Yn,fastMapToColor:Xn,lerp:Kn,lift:Qn,liftColor:ir,lum:nr,mapToColor:Jn,modifyAlpha:er,modifyHSL:Zn,parse:Wn,random:function(){return tr([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")},stringify:tr,toHex:function(e){if(e=Wn(e))return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}}),o.hasGlobalWindow&&H(window.btoa);var or=Array.prototype.slice;function ar(e,t,n){return(t-e)*n+e}function sr(e,t,n,r){for(var i=t.length,o=0;o<i;o++)e[o]=ar(t[o],n[o],r);return e}function ur(e,t,n,r){for(var i=t.length,o=0;o<i;o++)e[o]=t[o]+n[o]*r;return e}function lr(e,t,n,r){for(var i=t.length,o=i&&t[0].length,a=0;a<i;a++){e[a]||(e[a]=[]);for(var s=0;s<o;s++)e[a][s]=t[a][s]+n[a][s]*r}return e}function cr(e){if(B(e)){var t=e.length;if(B(e[0])){for(var n=[],r=0;r<t;r++)n.push(or.call(e[r]));return n}return or.call(e)}return e}function dr(e){return e[0]=Math.floor(e[0])||0,e[1]=Math.floor(e[1])||0,e[2]=Math.floor(e[2])||0,e[3]=null==e[3]?1:e[3],"rgba("+e.join(",")+")"}function pr(e){return 4===e||5===e}function fr(e){return 1===e||2===e}var hr=[0,0,0,0],gr=(yr.prototype.isFinished=function(){return this._finished},yr.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},yr.prototype.needsAnimate=function(){return 1<=this.keyframes.length},yr.prototype.getAdditiveTrack=function(){return this._additiveTrack},yr.prototype.addKeyframe=function(e,t,n){this._needsSort=!0;var r,i=this.keyframes,o=i.length,a=!1,s=6,u=t,l=(B(t)?(1==(s=r=B((r=t)&&r[0])?2:1)&&!W(t[0])||2==r&&!W(t[0][0]))&&(a=!0):W(t)&&!ee(t)?s=0:V(t)?isNaN(+t)?(r=Wn(t))&&(u=r,s=3):s=0:K(t)&&((l=I({},u)).colorStops=N(t.colorStops,(function(e){return{offset:e.offset,color:Wn(e.color)}})),"linear"===t.type?s=4:"radial"===t.type&&(s=5),u=l),0===o?this.valType=s:s===this.valType&&6!==s||(a=!0),this.discrete=this.discrete||a,{time:e,value:u,rawValue:t,percent:0});return n&&(l.easing=n,l.easingFunc=H(n)?n:on[n]||kn(n)),i.push(l),l},yr.prototype.prepare=function(e,t){for(var n=this.keyframes,r=(this._needsSort&&n.sort((function(e,t){return e.time-t.time})),this.valType),i=n.length,o=n[i-1],a=this.discrete,s=fr(r),u=pr(r),l=0;l<i;l++){var c=n[l],d=c.value,p=o.value;if(c.percent=c.time/e,!a)if(s&&l!==i-1){b=_=v=m=g=f=c=void 0;var f=p,h=r,g=c=d,y=f;if(g.push&&y.push){c=g.length;var m=y.length;if(c!==m)if(m<c)g.length=m;else for(var v=c;v<m;v++)g.push(1===h?y[v]:or.call(y[v]));var _=g[0]&&g[0].length;for(v=0;v<g.length;v++)if(1===h)isNaN(g[v])&&(g[v]=y[v]);else for(var b=0;b<_;b++)isNaN(g[v][b])&&(g[v][b]=y[v][b])}}else if(u){C=A=S=c=f=void 0;f=d.colorStops,c=p.colorStops;for(var x=f.length,w=c.length,S=w<x?c:f,A=(c=Math.min(x,w),S[c-1]||{color:[0,0,0,0],offset:0}),C=c;C<Math.max(x,w);C++)S.push({offset:A.offset,color:A.color.slice()})}}if(!a&&5!==r&&t&&this.needsAnimate()&&t.needsAnimate()&&r===t.valType&&!t._finished){this._additiveTrack=t;var k=n[0].value;for(l=0;l<i;l++)0===r?n[l].additiveValue=n[l].value-k:3===r?n[l].additiveValue=ur([],n[l].value,k,-1):fr(r)&&(n[l].additiveValue=(1===r?ur:lr)([],n[l].value,k,-1))}},yr.prototype.step=function(e,t){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,r,i,o,a=null!=this._additiveTrack,s=a?"additiveValue":"value",u=this.valType,l=this.keyframes,c=l.length,d=this.propName,p=3===u,f=this._lastFr,h=Math.min;if(1===c)n=r=l[0];else{if(t<0)g=0;else if(t<this._lastFrP){for(var g=h(f+1,c-1);0<=g&&!(l[g].percent<=t);g--);g=h(g,c-2)}else{for(g=f;g<c&&!(l[g].percent>t);g++);g=h(g-1,c-2)}r=l[g+1],n=l[g]}n&&r&&(this._lastFr=g,this._lastFrP=t,f=r.percent-n.percent,i=0==f?1:h((t-n.percent)/f,1),r.easingFunc&&(i=r.easingFunc(i)),h=a?this._additiveValue:p?hr:e[d],(fr(u)||p)&&(h=h||(this._additiveValue=[])),this.discrete?e[d]=(i<1?n:r).rawValue:fr(u)?(1===u?sr:function(e,t,n,r){for(var i=t.length,o=i&&t[0].length,a=0;a<i;a++){e[a]||(e[a]=[]);for(var s=0;s<o;s++)e[a][s]=ar(t[a][s],n[a][s],r)}})(h,n[s],r[s],i):pr(u)?(f=n[s],o=r[s],e[d]={type:(u=4===u)?"linear":"radial",x:ar(f.x,o.x,i),y:ar(f.y,o.y,i),colorStops:N(f.colorStops,(function(e,t){return t=o.colorStops[t],{offset:ar(e.offset,t.offset,i),color:dr(sr([],e.color,t.color,i))}})),global:o.global},u?(e[d].x2=ar(f.x2,o.x2,i),e[d].y2=ar(f.y2,o.y2,i)):e[d].r=ar(f.r,o.r,i)):p?(sr(h,n[s],r[s],i),a||(e[d]=dr(h))):(u=ar(n[s],r[s],i),a?this._additiveValue=u:e[d]=u),a)&&this._addToTarget(e)}},yr.prototype._addToTarget=function(e){var t=this.valType,n=this.propName,r=this._additiveValue;0===t?e[n]=e[n]+r:3===t?(Wn(e[n],hr),ur(hr,hr,r,1),e[n]=dr(hr)):1===t?ur(e[n],e[n],r,1):2===t&&lr(e[n],e[n],r,1)},yr);function yr(e){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=e}vr.prototype.getMaxTime=function(){return this._maxTime},vr.prototype.getDelay=function(){return this._delay},vr.prototype.getLoop=function(){return this._loop},vr.prototype.getTarget=function(){return this._target},vr.prototype.changeTarget=function(e){this._target=e},vr.prototype.when=function(e,t,n){return this.whenWithKeys(e,t,F(t),n)},vr.prototype.whenWithKeys=function(e,t,n,r){for(var i=this._tracks,o=0;o<n.length;o++){var a=n[o];if(!(u=i[a])){var s,u=i[a]=new gr(a),l=void 0,c=this._getAdditiveTrack(a);if(c?(l=(s=(s=c.keyframes)[s.length-1])&&s.value,3===c.valType&&(l=l&&dr(l))):l=this._target[a],null==l)continue;0<e&&u.addKeyframe(0,cr(l),r),this._trackKeys.push(a)}u.addKeyframe(e,cr(t[a]),r)}return this._maxTime=Math.max(this._maxTime,e),this},vr.prototype.pause=function(){this._clip.pause(),this._paused=!0},vr.prototype.resume=function(){this._clip.resume(),this._paused=!1},vr.prototype.isPaused=function(){return!!this._paused},vr.prototype.duration=function(e){return this._maxTime=e,this._force=!0,this},vr.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var e=this._doneCbs;if(e)for(var t=e.length,n=0;n<t;n++)e[n].call(this)},vr.prototype._abortedCallback=function(){this._setTracksFinished();var e=this.animation,t=this._abortedCbs;if(e&&e.removeClip(this._clip),this._clip=null,t)for(var n=0;n<t.length;n++)t[n].call(this)},vr.prototype._setTracksFinished=function(){for(var e=this._tracks,t=this._trackKeys,n=0;n<t.length;n++)e[t[n]].setFinished()},vr.prototype._getAdditiveTrack=function(e){var t,n=this._additiveAnimators;if(n)for(var r=0;r<n.length;r++){var i=n[r].getTrack(e);i&&(t=i)}return t},vr.prototype.start=function(e){if(!(0<this._started)){this._started=1;for(var t,n=this,r=[],i=this._maxTime||0,o=0;o<this._trackKeys.length;o++){var a=this._trackKeys[o],s=this._tracks[a],u=(a=this._getAdditiveTrack(a),s.keyframes),l=u.length;s.prepare(i,a),s.needsAnimate()&&(!this._allowDiscrete&&s.discrete?((a=u[l-1])&&(n._target[s.propName]=a.rawValue),s.setFinished()):r.push(s))}return r.length||this._force?(t=new Tn({life:i,loop:this._loop,delay:this._delay||0,onframe:function(e){n._started=2;var t=n._additiveAnimators;if(t){for(var i=!1,o=0;o<t.length;o++)if(t[o]._clip){i=!0;break}i||(n._additiveAnimators=null)}for(o=0;o<r.length;o++)r[o].step(n._target,e);var a=n._onframeCbs;if(a)for(o=0;o<a.length;o++)a[o](n._target,e)},ondestroy:function(){n._doneCallback()}}),this._clip=t,this.animation&&this.animation.addClip(t),e&&t.setEasing(e)):this._doneCallback(),this}},vr.prototype.stop=function(e){var t;this._clip&&(t=this._clip,e&&t.onframe(1),this._abortedCallback())},vr.prototype.delay=function(e){return this._delay=e,this},vr.prototype.during=function(e){return e&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(e)),this},vr.prototype.done=function(e){return e&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(e)),this},vr.prototype.aborted=function(e){return e&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(e)),this},vr.prototype.getClip=function(){return this._clip},vr.prototype.getTrack=function(e){return this._tracks[e]},vr.prototype.getTracks=function(){var e=this;return N(this._trackKeys,(function(t){return e._tracks[t]}))},vr.prototype.stopTracks=function(e,t){if(!e.length||!this._clip)return!0;for(var n=this._tracks,r=this._trackKeys,i=0;i<e.length;i++){var o=n[e[i]];o&&!o.isFinished()&&(t?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},vr.prototype.saveTo=function(e,t,n){if(e){t=t||this._trackKeys;for(var r=0;r<t.length;r++){var i=t[r],o=this._tracks[i];o&&!o.isFinished()&&(o=(o=o.keyframes)[n?0:o.length-1])&&(e[i]=cr(o.rawValue))}}},vr.prototype.__changeFinalValue=function(e,t){t=t||F(e);for(var n=0;n<t.length;n++){var r,i=t[n],o=this._tracks[i];o&&1<(r=o.keyframes).length&&(r=r.pop(),o.addKeyframe(r.time,e[i]),o.prepare(this._maxTime,o.getAdditiveTrack()))}};var mr=vr;function vr(e,t,n,r){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=e,(this._loop=t)&&r?C("Can' use additive animation on looped animation."):(this._additiveAnimators=r,this._allowDiscrete=n)}function _r(){return(new Date).getTime()}n(wr,br=Ve),wr.prototype.addClip=function(e){e.animation&&this.removeClip(e),this._head?((this._tail.next=e).prev=this._tail,e.next=null,this._tail=e):this._head=this._tail=e,e.animation=this},wr.prototype.addAnimator=function(e){e.animation=this,e=e.getClip(),e&&this.addClip(e)},wr.prototype.removeClip=function(e){var t,n;e.animation&&(t=e.prev,n=e.next,t?t.next=n:this._head=n,n?n.prev=t:this._tail=t,e.next=e.prev=e.animation=null)},wr.prototype.removeAnimator=function(e){var t=e.getClip();t&&this.removeClip(t),e.animation=null},wr.prototype.update=function(e){for(var t=_r()-this._pausedTime,n=t-this._time,r=this._head;r;){var i=r.next;r=(r.step(t,n)&&(r.ondestroy(),this.removeClip(r)),i)}this._time=t,e||(this.trigger("frame",n),this.stage.update&&this.stage.update())},wr.prototype._startLoop=function(){var e=this;this._running=!0,rn((function t(){e._running&&(rn(t),e._paused||e.update())}))},wr.prototype.start=function(){this._running||(this._time=_r(),this._pausedTime=0,this._startLoop())},wr.prototype.stop=function(){this._running=!1},wr.prototype.pause=function(){this._paused||(this._pauseStart=_r(),this._paused=!0)},wr.prototype.resume=function(){this._paused&&(this._pausedTime+=_r()-this._pauseStart,this._paused=!1)},wr.prototype.clear=function(){for(var e=this._head;e;){var t=e.next;e.prev=e.next=e.animation=null,e=t}this._head=this._tail=null},wr.prototype.isFinished=function(){return null==this._head},wr.prototype.animate=function(e,t){return t=t||{},this.start(),e=new mr(e,t.loop),this.addAnimator(e),e};var br,xr=wr;function wr(e){var t=br.call(this)||this;return t._running=!1,t._time=0,t._pausedTime=0,t._pauseStart=0,t._paused=!1,t.stage=(e=e||{}).stage||{},t}var Sr,Ar=o.domSupported,Cr=(Sr={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:Jn=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:N(Jn,(function(e){var t=e.replace("mouse","pointer");return Sr.hasOwnProperty(t)?t:e}))}),kr=["mousemove","mouseup"],Tr=["pointermove","pointerup"],Ir=!1;function Mr(e){return e=e.pointerType,"pen"===e||"touch"===e}function Or(e){e&&(e.zrByTouch=!0)}function Pr(e,t){for(var n=t,r=!1;n&&9!==n.nodeType&&!(r=n.domBelongToZr||n!==t&&n===e.painterRoot);)n=n.parentNode;return r}var Dr=function(e,t){this.stopPropagation=xe,this.stopImmediatePropagation=xe,this.preventDefault=xe,this.type=t.type,this.target=this.currentTarget=e.dom,this.pointerType=t.pointerType,this.clientX=t.clientX,this.clientY=t.clientY},Er={mousedown:function(e){e=ut(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=ut(this.dom,e);var t=this.__mayPointerCapture;!t||e.zrX===t[0]&&e.zrY===t[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",e)},mouseup:function(e){e=ut(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){Pr(this,(e=ut(this.dom,e)).toElement||e.relatedTarget)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){Ir=!0,e=ut(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){Ir||(e=ut(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){Or(e=ut(this.dom,e)),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),Er.mousemove.call(this,e),Er.mousedown.call(this,e)},touchmove:function(e){Or(e=ut(this.dom,e)),this.handler.processGesture(e,"change"),Er.mousemove.call(this,e)},touchend:function(e){Or(e=ut(this.dom,e)),this.handler.processGesture(e,"end"),Er.mouseup.call(this,e),+new Date-+this.__lastTouchMoment<300&&Er.click.call(this,e)},pointerdown:function(e){Er.mousedown.call(this,e)},pointermove:function(e){Mr(e)||Er.mousemove.call(this,e)},pointerup:function(e){Er.mouseup.call(this,e)},pointerout:function(e){Mr(e)||Er.mouseout.call(this,e)}},Br=(L(["click","dblclick","contextmenu"],(function(e){Er[e]=function(t){t=ut(this.dom,t),this.trigger(e,t)}})),{pointermove:function(e){Mr(e)||Br.mousemove.call(this,e)},pointerup:function(e){Br.mouseup.call(this,e)},mousemove:function(e){this.trigger("mousemove",e)},mouseup:function(e){var t=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",e),t&&(e.zrEventControl="only_globalout",this.trigger("mouseout",e))}});function Lr(e,t,n,r){e.mounted[t]=n,e.listenerOpts[t]=r,e.domTarget.addEventListener(t,n,r)}function Nr(e){var t,n,r,i,o,a=e.mounted;for(t in a)a.hasOwnProperty(t)&&(n=e.domTarget,i=a[r=t],o=e.listenerOpts[t],n.removeEventListener(r,i,o));e.mounted={}}var Rr,jr=function(e,t){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=e,this.domHandlers=t},Fr=(n(zr,Rr=Ve),zr.prototype.dispose=function(){Nr(this._localHandlerScope),Ar&&Nr(this._globalHandlerScope)},zr.prototype.setCursor=function(e){this.dom.style&&(this.dom.style.cursor=e||"default")},zr.prototype.__togglePointerCapture=function(e){var t;this.__mayPointerCapture=null,Ar&&+this.__pointerCapturing^+e&&(this.__pointerCapturing=e,t=this._globalHandlerScope,e?function(e,t){function n(n){Lr(t,n,(function(r){var i;r=st(r),Pr(e,r.target)||(i=r,r=ut(e.dom,new Dr(e,i),!0),t.domHandlers[n].call(e,r))}),{capture:!0})}o.pointerEventsSupported?L(Tr,n):o.touchEventsSupported||L(kr,n)}(this,t):Nr(t))},zr);function zr(e,t){var n=Rr.call(this)||this;return n.__pointerCapturing=!1,n.dom=e,n.painterRoot=t,n._localHandlerScope=new jr(e,Er),Ar&&(n._globalHandlerScope=new jr(document,Br)),function(e,t){var n=t.domHandlers;o.pointerEventsSupported?L(Cr.pointer,(function(r){Lr(t,r,(function(t){n[r].call(e,t)}))})):(o.touchEventsSupported&&L(Cr.touch,(function(r){Lr(t,r,(function(i){var o;n[r].call(e,i),(o=t).touching=!0,null!=o.touchTimer&&(clearTimeout(o.touchTimer),o.touchTimer=null),o.touchTimer=setTimeout((function(){o.touching=!1,o.touchTimer=null}),700)}))})),L(Cr.mouse,(function(r){Lr(t,r,(function(i){i=st(i),t.touching||n[r].call(e,i)}))})))}(n,n._localHandlerScope),n}Jn=1;var $r=Jn=o.hasGlobalWindow?Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1):Jn,Ur="#333",Hr="#ccc",Vr=gt;function Gr(e){return 5e-5<e||e<-5e-5}var Wr=[],qr=[],Qr=ht(),Yr=Math.abs,Xr=(Kr.prototype.getLocalTransform=function(e){return Kr.getLocalTransform(this,e)},Kr.prototype.setPosition=function(e){this.x=e[0],this.y=e[1]},Kr.prototype.setScale=function(e){this.scaleX=e[0],this.scaleY=e[1]},Kr.prototype.setSkew=function(e){this.skewX=e[0],this.skewY=e[1]},Kr.prototype.setOrigin=function(e){this.originX=e[0],this.originY=e[1]},Kr.prototype.needLocalTransform=function(){return Gr(this.rotation)||Gr(this.x)||Gr(this.y)||Gr(this.scaleX-1)||Gr(this.scaleY-1)||Gr(this.skewX)||Gr(this.skewY)},Kr.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,t=this.needLocalTransform(),n=this.transform;t||e?(n=n||ht(),t?this.getLocalTransform(n):Vr(n),e&&(t?mt(n,e,n):yt(n,e)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(Vr(n),this.invTransform=null)},Kr.prototype._resolveGlobalScaleRatio=function(e){var t,n,r=this.globalScaleRatio;null!=r&&1!==r&&(this.getGlobalScale(Wr),n=((Wr[1]-(n=Wr[1]<0?-1:1))*r+n)/Wr[1]||0,e[0]*=r=((Wr[0]-(t=Wr[0]<0?-1:1))*r+t)/Wr[0]||0,e[1]*=r,e[2]*=n,e[3]*=n),this.invTransform=this.invTransform||ht(),xt(this.invTransform,e)},Kr.prototype.getComputedTransform=function(){for(var e=this,t=[];e;)t.push(e),e=e.parent;for(;e=t.pop();)e.updateTransform();return this.transform},Kr.prototype.setLocalTransform=function(e){var t,n,r,i;e&&(i=e[0]*e[0]+e[1]*e[1],r=e[2]*e[2]+e[3]*e[3],t=Math.atan2(e[1],e[0]),n=Math.PI/2+t-Math.atan2(e[3],e[2]),r=Math.sqrt(r)*Math.cos(n),i=Math.sqrt(i),this.skewX=n,this.skewY=0,this.rotation=-t,this.x=+e[4],this.y=+e[5],this.scaleX=i,this.scaleY=r,this.originX=0,this.originY=0)},Kr.prototype.decomposeTransform=function(){var e,t,n;this.transform&&(t=this.parent,e=this.transform,t&&t.transform&&(t.invTransform=t.invTransform||ht(),mt(qr,t.invTransform,e),e=qr),t=this.originX,n=this.originY,(t||n)&&(Qr[4]=t,Qr[5]=n,mt(qr,e,Qr),qr[4]-=t,qr[5]-=n,e=qr),this.setLocalTransform(e))},Kr.prototype.getGlobalScale=function(e){var t=this.transform;return e=e||[],t?(e[0]=Math.sqrt(t[0]*t[0]+t[1]*t[1]),e[1]=Math.sqrt(t[2]*t[2]+t[3]*t[3]),t[0]<0&&(e[0]=-e[0]),t[3]<0&&(e[1]=-e[1])):(e[0]=1,e[1]=1),e},Kr.prototype.transformCoordToLocal=function(e,t){return e=[e,t],t=this.invTransform,t&&Re(e,e,t),e},Kr.prototype.transformCoordToGlobal=function(e,t){return e=[e,t],t=this.transform,t&&Re(e,e,t),e},Kr.prototype.getLineScale=function(){var e=this.transform;return e&&1e-10<Yr(e[0]-1)&&1e-10<Yr(e[3]-1)?Math.sqrt(Yr(e[0]*e[3]-e[2]*e[1])):1},Kr.prototype.copyTransform=function(e){for(var t=e,n=0;n<Jr.length;n++){var r=Jr[n];this[r]=t[r]}},Kr.getLocalTransform=function(e,t){t=t||[];var n=e.originX||0,r=e.originY||0,i=e.scaleX,o=e.scaleY,a=e.anchorX,s=e.anchorY,u=e.rotation||0,l=e.x,c=e.y,d=e.skewX?Math.tan(e.skewX):0;e=e.skewY?Math.tan(-e.skewY):0;return n||r||a||s?(t[4]=-(a=n+a)*i-d*(s=r+s)*o,t[5]=-s*o-e*a*i):t[4]=t[5]=0,t[0]=i,t[3]=o,t[1]=e*i,t[2]=d*o,u&&_t(t,t,u),t[4]+=n+l,t[5]+=r+c,t},Kr.initDefaultProps=((Jn=Kr.prototype).scaleX=Jn.scaleY=Jn.globalScaleRatio=1,void(Jn.x=Jn.y=Jn.originX=Jn.originY=Jn.skewX=Jn.skewY=Jn.rotation=Jn.anchorX=Jn.anchorY=0)),Kr);function Kr(){}var Jr=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"],Zr={};function ei(e,t){var n=Zr[t=t||l],r=(n=n||(Zr[t]=new Dn(500))).get(e);return null==r&&(r=d.measureText(e,t).width,n.put(e,r)),r}function ti(e,t,n,r){return e=ei(e,t),t=oi(t),n=ri(0,e,n),r=ii(0,t,r),new Et(n,r,e,t)}function ni(e,t,n,r){var i=((e||"")+"").split("\n");if(1===i.length)return ti(i[0],t,n,r);for(var o=new Et(0,0,0,0),a=0;a<i.length;a++){var s=ti(i[a],t,n,r);0===a?o.copy(s):o.union(s)}return o}function ri(e,t,n){return"right"===n?e-=t:"center"===n&&(e-=t/2),e}function ii(e,t,n){return"middle"===n?e-=t/2:"bottom"===n&&(e-=t),e}function oi(e){return ei("国",e)}function ai(e,t){return"string"==typeof e?0<=e.lastIndexOf("%")?parseFloat(e)/100*t:parseFloat(e):e}function si(e,t,n){var r=t.position||"inside",i=null!=t.distance?t.distance:5,o=n.height,a=n.width,s=o/2,u=n.x,l=n.y,c="left",d="top";if(r instanceof Array)u+=ai(r[0],n.width),l+=ai(r[1],n.height),d=c=null;else switch(r){case"left":u-=i,l+=s,c="right",d="middle";break;case"right":u+=i+a,l+=s,d="middle";break;case"top":u+=a/2,l-=i,c="center",d="bottom";break;case"bottom":u+=a/2,l+=o+i,c="center";break;case"inside":u+=a/2,l+=s,c="center",d="middle";break;case"insideLeft":u+=i,l+=s,d="middle";break;case"insideRight":u+=a-i,l+=s,c="right",d="middle";break;case"insideTop":u+=a/2,l+=i,c="center";break;case"insideBottom":u+=a/2,l+=o-i,c="center",d="bottom";break;case"insideTopLeft":u+=i,l+=i;break;case"insideTopRight":u+=a-i,l+=i,c="right";break;case"insideBottomLeft":u+=i,l+=o-i,d="bottom";break;case"insideBottomRight":u+=a-i,l+=o-i,c="right",d="bottom"}return(e=e||{}).x=u,e.y=l,e.align=c,e.verticalAlign=d,e}var ui,li="__zr_normal__",ci=Jr.concat(["ignore"]),di=R(Jr,(function(e,t){return e[t]=!0,e}),{ignore:!1}),pi={},fi=new Et(0,0,0,0);hi.prototype._init=function(e){this.attr(e)},hi.prototype.drift=function(e,t,n){switch(this.draggable){case"horizontal":t=0;break;case"vertical":e=0}var r=this.transform;(r=r||(this.transform=[1,0,0,1,0,0]))[4]+=e,r[5]+=t,this.decomposeTransform(),this.markRedraw()},hi.prototype.beforeUpdate=function(){},hi.prototype.afterUpdate=function(){},hi.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},hi.prototype.updateInnerText=function(e){var t,n,r,i,o,a,s,u,l,c,d=this._textContent;!d||d.ignore&&!e||(this.textConfig||(this.textConfig={}),u=(e=this.textConfig).local,r=n=void 0,i=!1,(t=d.innerTransformable).parent=u?this:null,c=!1,t.copyTransform(d),null!=e.position&&(l=fi,e.layoutRect?l.copy(e.layoutRect):l.copy(this.getBoundingRect()),u||l.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(pi,e,l):si(pi,e,l),t.x=pi.x,t.y=pi.y,n=pi.align,r=pi.verticalAlign,o=e.origin)&&null!=e.rotation&&(s=a=void 0,s="center"===o?(a=.5*l.width,.5*l.height):(a=ai(o[0],l.width),ai(o[1],l.height)),c=!0,t.originX=-t.x+a+(u?0:l.x),t.originY=-t.y+s+(u?0:l.y)),null!=e.rotation&&(t.rotation=e.rotation),(o=e.offset)&&(t.x+=o[0],t.y+=o[1],c||(t.originX=-o[0],t.originY=-o[1])),a=null==e.inside?"string"==typeof e.position&&0<=e.position.indexOf("inside"):e.inside,s=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),c=l=u=void 0,a&&this.canBeInsideText()?(u=e.insideFill,l=e.insideStroke,null!=u&&"auto"!==u||(u=this.getInsideTextFill()),null!=l&&"auto"!==l||(l=this.getInsideTextStroke(u),c=!0)):(u=e.outsideFill,l=e.outsideStroke,null!=u&&"auto"!==u||(u=this.getOutsideFill()),null!=l&&"auto"!==l||(l=this.getOutsideStroke(u),c=!0)),(u=u||"#000")===s.fill&&l===s.stroke&&c===s.autoStroke&&n===s.align&&r===s.verticalAlign||(i=!0,s.fill=u,s.stroke=l,s.autoStroke=c,s.align=n,s.verticalAlign=r,d.setDefaultTextStyle(s)),d.__dirty|=1,i&&d.dirtyStyle(!0))},hi.prototype.canBeInsideText=function(){return!0},hi.prototype.getInsideTextFill=function(){return"#fff"},hi.prototype.getInsideTextStroke=function(e){return"#000"},hi.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Hr:Ur},hi.prototype.getOutsideStroke=function(e){for(var t=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof t&&Wn(t),r=(n=n||[255,255,255,1])[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*r+(i?0:255)*(1-r);return n[3]=1,tr(n,"rgba")},hi.prototype.traverse=function(e,t){},hi.prototype.attrKV=function(e,t){"textConfig"===e?this.setTextConfig(t):"textContent"===e?this.setTextContent(t):"clipPath"===e?this.setClipPath(t):"extra"===e?(this.extra=this.extra||{},I(this.extra,t)):this[e]=t},hi.prototype.hide=function(){this.ignore=!0,this.markRedraw()},hi.prototype.show=function(){this.ignore=!1,this.markRedraw()},hi.prototype.attr=function(e,t){if("string"==typeof e)this.attrKV(e,t);else if(q(e))for(var n=F(e),r=0;r<n.length;r++){var i=n[r];this.attrKV(i,e[i])}return this.markRedraw(),this},hi.prototype.saveCurrentToNormalState=function(e){this._innerSaveToNormal(e);for(var t=this._normalState,n=0;n<this.animators.length;n++){var r=this.animators[n],i=r.__fromStateTransition;r.getLoop()||i&&i!==li||(i=(i=r.targetName)?t[i]:t,r.saveTo(i))}},hi.prototype._innerSaveToNormal=function(e){var t=(t=this._normalState)||(this._normalState={});e.textConfig&&!t.textConfig&&(t.textConfig=this.textConfig),this._savePrimaryToNormal(e,t,ci)},hi.prototype._savePrimaryToNormal=function(e,t,n){for(var r=0;r<n.length;r++){var i=n[r];null==e[i]||i in t||(t[i]=this[i])}},hi.prototype.hasState=function(){return 0<this.currentStates.length},hi.prototype.getState=function(e){return this.states[e]},hi.prototype.ensureState=function(e){var t=this.states;return t[e]||(t[e]={}),t[e]},hi.prototype.clearStates=function(e){this.useState(li,!1,e)},hi.prototype.useState=function(e,t,n,r){var i=e===li,o=this.hasState();if(o||!i){o=this.currentStates;var a,s=this.stateTransition;if(!(0<=P(o,e))||!t&&1!==o.length){if((a=(a=this.stateProxy&&!i?this.stateProxy(e):a)||this.states&&this.states[e])||i)return i||this.saveCurrentToNormalState(a),(o=!!(a&&a.hoverLayer||r))&&this._toggleHoverLayerFlag(!0),this._applyStateObj(e,a,this._normalState,t,!n&&!this.__inHover&&s&&0<s.duration,s),r=this._textContent,s=this._textGuide,r&&r.useState(e,t,n,o),s&&s.useState(e,t,n,o),i?(this.currentStates=[],this._normalState={}):t?this.currentStates.push(e):this.currentStates=[e],this._updateAnimationTargets(),this.markRedraw(),!o&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),a;C("State "+e+" not exists.")}}},hi.prototype.useStates=function(e,t,n){if(e.length){var r=[],i=this.currentStates,o=e.length,a=o===i.length;if(a)for(var s=0;s<o;s++)if(e[s]!==i[s]){a=!1;break}if(!a){for(s=0;s<o;s++){var u=e[s],l=void 0;(l=(l=this.stateProxy?this.stateProxy(u,e):l)||this.states[u])&&r.push(l)}var c=r[o-1],d=(c=!!(c&&c.hoverLayer||n),n=(c&&this._toggleHoverLayerFlag(!0),this._mergeStates(r)),this.stateTransition);n=(this.saveCurrentToNormalState(n),this._applyStateObj(e.join(","),n,this._normalState,!1,!t&&!this.__inHover&&d&&0<d.duration,d),this._textContent),d=this._textGuide;n&&n.useStates(e,t,c),d&&d.useStates(e,t,c),this._updateAnimationTargets(),this.currentStates=e.slice(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}}else this.clearStates()},hi.prototype.isSilent=function(){for(var e=this.silent,t=this.parent;!e&&t;){if(t.silent){e=!0;break}t=t.parent}return e},hi.prototype._updateAnimationTargets=function(){for(var e=0;e<this.animators.length;e++){var t=this.animators[e];t.targetName&&t.changeTarget(this[t.targetName])}},hi.prototype.removeState=function(e){var t;e=P(this.currentStates,e);0<=e&&((t=this.currentStates.slice()).splice(e,1),this.useStates(t))},hi.prototype.replaceState=function(e,t,n){var r=this.currentStates.slice(),i=(e=P(r,e),0<=P(r,t));0<=e?i?r.splice(e,1):r[e]=t:n&&!i&&r.push(t),this.useStates(r)},hi.prototype.toggleState=function(e,t){t?this.useState(e,!0):this.removeState(e)},hi.prototype._mergeStates=function(e){for(var t,n={},r=0;r<e.length;r++){var i=e[r];I(n,i),i.textConfig&&I(t=t||{},i.textConfig)}return t&&(n.textConfig=t),n},hi.prototype._applyStateObj=function(e,t,n,r,i,o){for(var a=!(t&&r),s=(t&&t.textConfig?(this.textConfig=I({},(r?this:n).textConfig),I(this.textConfig,t.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig),{}),u=!1,l=0;l<ci.length;l++){var c=ci[l],d=i&&di[c];t&&null!=t[c]?d?(u=!0,s[c]=t[c]):this[c]=t[c]:a&&null!=n[c]&&(d?(u=!0,s[c]=n[c]):this[c]=n[c])}if(!i)for(l=0;l<this.animators.length;l++){var p=this.animators[l],f=p.targetName;p.getLoop()||p.__changeFinalValue(f?(t||n)[f]:t||n)}u&&this._transitionState(e,s,o)},hi.prototype._attachComponent=function(e){var t;e.__zr&&!e.__hostTarget||e!==this&&((t=this.__zr)&&e.addSelfToZr(t),e.__zr=t,e.__hostTarget=this)},hi.prototype._detachComponent=function(e){e.__zr&&e.removeSelfFromZr(e.__zr),e.__zr=null,e.__hostTarget=null},hi.prototype.getClipPath=function(){return this._clipPath},hi.prototype.setClipPath=function(e){this._clipPath&&this._clipPath!==e&&this.removeClipPath(),this._attachComponent(e),this._clipPath=e,this.markRedraw()},hi.prototype.removeClipPath=function(){var e=this._clipPath;e&&(this._detachComponent(e),this._clipPath=null,this.markRedraw())},hi.prototype.getTextContent=function(){return this._textContent},hi.prototype.setTextContent=function(e){var t=this._textContent;t!==e&&(t&&t!==e&&this.removeTextContent(),e.innerTransformable=new Xr,this._attachComponent(e),this._textContent=e,this.markRedraw())},hi.prototype.setTextConfig=function(e){this.textConfig||(this.textConfig={}),I(this.textConfig,e),this.markRedraw()},hi.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},hi.prototype.removeTextContent=function(){var e=this._textContent;e&&(e.innerTransformable=null,this._detachComponent(e),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},hi.prototype.getTextGuideLine=function(){return this._textGuide},hi.prototype.setTextGuideLine=function(e){this._textGuide&&this._textGuide!==e&&this.removeTextGuideLine(),this._attachComponent(e),this._textGuide=e,this.markRedraw()},hi.prototype.removeTextGuideLine=function(){var e=this._textGuide;e&&(this._detachComponent(e),this._textGuide=null,this.markRedraw())},hi.prototype.markRedraw=function(){this.__dirty|=1;var e=this.__zr;e&&(this.__inHover?e.refreshHover():e.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},hi.prototype.dirty=function(){this.markRedraw()},hi.prototype._toggleHoverLayerFlag=function(e){this.__inHover=e;var t=this._textContent,n=this._textGuide;t&&(t.__inHover=e),n&&(n.__inHover=e)},hi.prototype.addSelfToZr=function(e){if(this.__zr!==e){this.__zr=e;var t=this.animators;if(t)for(var n=0;n<t.length;n++)e.animation.addAnimator(t[n]);this._clipPath&&this._clipPath.addSelfToZr(e),this._textContent&&this._textContent.addSelfToZr(e),this._textGuide&&this._textGuide.addSelfToZr(e)}},hi.prototype.removeSelfFromZr=function(e){if(this.__zr){this.__zr=null;var t=this.animators;if(t)for(var n=0;n<t.length;n++)e.animation.removeAnimator(t[n]);this._clipPath&&this._clipPath.removeSelfFromZr(e),this._textContent&&this._textContent.removeSelfFromZr(e),this._textGuide&&this._textGuide.removeSelfFromZr(e)}},hi.prototype.animate=function(e,t,n){var r=e?this[e]:this;r=new mr(r,t,n);return e&&(r.targetName=e),this.addAnimator(r,e),r},hi.prototype.addAnimator=function(e,t){var n=this.__zr,r=this;e.during((function(){r.updateDuringAnimation(t)})).done((function(){var t=r.animators,n=P(t,e);0<=n&&t.splice(n,1)})),this.animators.push(e),n&&n.animation.addAnimator(e),n&&n.wakeUp()},hi.prototype.updateDuringAnimation=function(e){this.markRedraw()},hi.prototype.stopAnimation=function(e,t){for(var n=this.animators,r=n.length,i=[],o=0;o<r;o++){var a=n[o];e&&e!==a.scope?i.push(a):a.stop(t)}return this.animators=i,this},hi.prototype.animateTo=function(e,t,n){yi(this,e,t,n)},hi.prototype.animateFrom=function(e,t,n){yi(this,e,t,n,!0)},hi.prototype._transitionState=function(e,t,n,r){for(var i=yi(this,t,n,r),o=0;o<i.length;o++)i[o].__fromStateTransition=e},hi.prototype.getBoundingRect=function(){return null},hi.prototype.getPaintRect=function(){return null},hi.initDefaultProps=((ui=hi.prototype).type="element",ui.name="",ui.ignore=ui.silent=ui.isGroup=ui.draggable=ui.dragging=ui.ignoreClip=ui.__inHover=!1,ui.__dirty=1,void(Object.defineProperty&&(gi("position","_legacyPos","x","y"),gi("scale","_legacyScale","scaleX","scaleY"),gi("origin","_legacyOrigin","originX","originY")))),Jn=hi;function hi(e){this.id=A++,this.animators=[],this.currentStates=[],this.states={},this._init(e)}function gi(e,t,n,r){function i(e,t){Object.defineProperty(t,0,{get:function(){return e[n]},set:function(t){e[n]=t}}),Object.defineProperty(t,1,{get:function(){return e[r]},set:function(t){e[r]=t}})}Object.defineProperty(ui,e,{get:function(){var e;return this[t]||(e=this[t]=[],i(this,e)),this[t]},set:function(e){this[n]=e[0],this[r]=e[1],this[t]=e,i(this,e)}})}function yi(e,t,n,r,i){function o(){l=!0,--u<=0&&(l?c&&c():d&&d())}function a(){--u<=0&&(l?c&&c():d&&d())}var s=[],u=(function e(t,n,r,i,o,a,s,u){for(var l=F(i),c=o.duration,d=o.delay,p=o.additive,f=o.setToFinal,h=!q(a),g=t.animators,y=[],m=0;m<l.length;m++){var v=l[m],_=i[v];null!=_&&null!=r[v]&&(h||a[v])?!q(_)||B(_)||K(_)?y.push(v):n?u||(r[v]=_,t.updateDuringAnimation(n)):e(t,v,r[v],_,o,a&&a[v],s,u):u||(r[v]=_,t.updateDuringAnimation(n),y.push(v))}var b=y.length;if(!p&&b)for(var x,w=0;w<g.length;w++)(S=g[w]).targetName===n&&S.stopTracks(y)&&(x=P(g,S),g.splice(x,1));if(o.force||(y=j(y,(function(e){return!function(e,t){return e===t||B(e)&&B(t)&&function(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}(e,t)}(i[e],r[e])})),b=y.length),0<b||o.force&&!s.length){var S,A=void 0,C=void 0,k=void 0;if(u)for(C={},f&&(A={}),w=0;w<b;w++)v=y[w],C[v]=r[v],f?A[v]=i[v]:r[v]=i[v];else if(f)for(k={},w=0;w<b;w++)v=y[w],k[v]=cr(r[v]),vi(r,i,v);(S=new mr(r,!1,!1,p?j(g,(function(e){return e.targetName===n})):null)).targetName=n,o.scope&&(S.scope=o.scope),f&&A&&S.whenWithKeys(0,A,y),k&&S.whenWithKeys(0,k,y),S.whenWithKeys(null==c?500:c,u?C:i,y).delay(d||0),t.addAnimator(S,n),s.push(S)}}(e,"",e,t,n=n||{},r,s,i),s.length),l=!1,c=n.done,d=n.aborted;u||c&&c(),0<s.length&&n.during&&s[0].during((function(e,t){n.during(t)}));for(var p=0;p<s.length;p++){var f=s[p];f.done(o),f.aborted(a),n.force&&f.duration(n.duration),f.start(n.easing)}return s}function mi(e,t,n){for(var r=0;r<n;r++)e[r]=t[r]}function vi(e,t,n){if(B(t[n]))if(B(e[n])||(e[n]=[]),Y(t[n])){var r=t[n].length;e[n].length!==r&&(e[n]=new t[n].constructor(r),mi(e[n],t[n],r))}else{var i=t[n],o=e[n],a=i.length;if(B(i[0]))for(var s=i[0].length,u=0;u<a;u++)o[u]?mi(o[u],i[u],s):o[u]=Array.prototype.slice.call(i[u]);else mi(o,i,a);o.length=i.length}else e[n]=t[n]}E(Jn,Ve),E(Jn,Xr),n(xi,_i=Jn),xi.prototype.childrenRef=function(){return this._children},xi.prototype.children=function(){return this._children.slice()},xi.prototype.childAt=function(e){return this._children[e]},xi.prototype.childOfName=function(e){for(var t=this._children,n=0;n<t.length;n++)if(t[n].name===e)return t[n]},xi.prototype.childCount=function(){return this._children.length},xi.prototype.add=function(e){return e&&e!==this&&e.parent!==this&&(this._children.push(e),this._doAdd(e)),this},xi.prototype.addBefore=function(e,t){var n;return e&&e!==this&&e.parent!==this&&t&&t.parent===this&&0<=(t=(n=this._children).indexOf(t))&&(n.splice(t,0,e),this._doAdd(e)),this},xi.prototype.replace=function(e,t){return e=P(this._children,e),0<=e&&this.replaceAt(t,e),this},xi.prototype.replaceAt=function(e,t){var n=this._children,r=n[t];return e&&e!==this&&e.parent!==this&&e!==r&&(n[t]=e,r.parent=null,(n=this.__zr)&&r.removeSelfFromZr(n),this._doAdd(e)),this},xi.prototype._doAdd=function(e){e.parent&&e.parent.remove(e);var t=(e.parent=this).__zr;t&&t!==e.__zr&&e.addSelfToZr(t),t&&t.refresh()},xi.prototype.remove=function(e){var t=this.__zr,n=this._children,r=P(n,e);return r<0||(n.splice(r,1),e.parent=null,t&&e.removeSelfFromZr(t),t&&t.refresh()),this},xi.prototype.removeAll=function(){for(var e=this._children,t=this.__zr,n=0;n<e.length;n++){var r=e[n];t&&r.removeSelfFromZr(t),r.parent=null}return e.length=0,this},xi.prototype.eachChild=function(e,t){for(var n=this._children,r=0;r<n.length;r++){var i=n[r];e.call(t,i,r)}return this},xi.prototype.traverse=function(e,t){for(var n=0;n<this._children.length;n++){var r=this._children[n],i=e.call(t,r);r.isGroup&&!i&&r.traverse(e,t)}return this},xi.prototype.addSelfToZr=function(e){_i.prototype.addSelfToZr.call(this,e);for(var t=0;t<this._children.length;t++)this._children[t].addSelfToZr(e)},xi.prototype.removeSelfFromZr=function(e){_i.prototype.removeSelfFromZr.call(this,e);for(var t=0;t<this._children.length;t++)this._children[t].removeSelfFromZr(e)},xi.prototype.getBoundingRect=function(e){for(var t=new Et(0,0,0,0),n=e||this._children,r=[],i=null,o=0;o<n.length;o++){var a,s=n[o];s.ignore||s.invisible||(a=s.getBoundingRect(),(s=s.getLocalTransform(r))?(Et.applyTransform(t,a,s),(i=i||t.clone()).union(t)):(i=i||a.clone()).union(a))}return i||t};var _i,bi=xi;function xi(e){var t=_i.call(this)||this;return t.isGroup=!0,t._children=[],t.attr(e),t}bi.prototype.type="group";var wi={},Si={};ki.prototype.add=function(e){!this._disposed&&e&&(this.storage.addRoot(e),e.addSelfToZr(this),this.refresh())},ki.prototype.remove=function(e){!this._disposed&&e&&(this.storage.delRoot(e),e.removeSelfFromZr(this),this.refresh())},ki.prototype.configLayer=function(e,t){this._disposed||(this.painter.configLayer&&this.painter.configLayer(e,t),this.refresh())},ki.prototype.setBackgroundColor=function(e){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(e),this.refresh(),this._backgroundColor=e,this._darkMode=function(e){if(e){if("string"==typeof e)return nr(e,1)<.4;if(e.colorStops){for(var t=e.colorStops,n=0,r=t.length,i=0;i<r;i++)n+=nr(t[i].color,1);return(n/=r)<.4}}return!1}(e))},ki.prototype.getBackgroundColor=function(){return this._backgroundColor},ki.prototype.setDarkMode=function(e){this._darkMode=e},ki.prototype.isDarkMode=function(){return this._darkMode},ki.prototype.refreshImmediately=function(e){this._disposed||(e||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},ki.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},ki.prototype.flush=function(){this._disposed||this._flush(!1)},ki.prototype._flush=function(e){var t,n=_r();this._needsRefresh&&(t=!0,this.refreshImmediately(e)),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately()),e=_r();t?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:e-n})):0<this._sleepAfterStill&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill)&&this.animation.stop()},ki.prototype.setSleepAfterStill=function(e){this._sleepAfterStill=e},ki.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},ki.prototype.refreshHover=function(){this._needsRefreshHover=!0},ki.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},ki.prototype.resize=function(e){this._disposed||(this.painter.resize((e=e||{}).width,e.height),this.handler.resize())},ki.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},ki.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},ki.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},ki.prototype.setCursorStyle=function(e){this._disposed||this.handler.setCursorStyle(e)},ki.prototype.findHover=function(e,t){if(!this._disposed)return this.handler.findHover(e,t)},ki.prototype.on=function(e,t,n){return this._disposed||this.handler.on(e,t,n),this},ki.prototype.off=function(e,t){this._disposed||this.handler.off(e,t)},ki.prototype.trigger=function(e,t){this._disposed||this.handler.trigger(e,t)},ki.prototype.clear=function(){if(!this._disposed){for(var e=this.storage.getRoots(),t=0;t<e.length;t++)e[t]instanceof bi&&e[t].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},ki.prototype.dispose=function(){var e;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,e=this.id,delete Si[e])};var Ai,Ci=ki;function ki(e,t,n){var r,i=this,a=(this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=t,this.id=e,new tn),s=n.renderer||"canvas",u=(s=(wi[s]||(s=F(wi)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect,new wi[s](t,a,n,e)),t=n.ssr||s.ssrOnly,e=(this.storage=a,this.painter=s,o.node||o.worker||t?null:new Fr(s.getViewportRoot(),s.root)),n.useCoarsePointer);(null==u||"auto"===u?o.touchEventsSupported:!!u)&&(r=ne(n.pointerSize,44)),this.handler=new Ht(a,s,e,s.root,r),this.animation=new xr({stage:{update:t?null:function(){return i._flush(!0)}}}),t||this.animation.start()}function Ti(e,t){return e=new Ci(A++,e,t),Si[e.id]=e}function Ii(e,t){wi[e]=t}function Mi(e){Ai=e}var Oi=Object.freeze({__proto__:null,dispose:function(e){e.dispose()},disposeAll:function(){for(var e in Si)Si.hasOwnProperty(e)&&Si[e].dispose();Si={}},getElementSSRData:function(e){if("function"==typeof Ai)return Ai(e)},getInstance:function(e){return Si[e]},init:Ti,registerPainter:Ii,registerSSRDataGetter:Mi,version:"5.5.0"});function Pi(e,t,n,r){var i=t[0],o=(t=t[1],n[0]),a=(n=n[1],t-i),s=n-o;if(0==a)return 0==s?o:(o+n)/2;if(r)if(0<a){if(e<=i)return o;if(t<=e)return n}else{if(i<=e)return o;if(e<=t)return n}else{if(e===i)return o;if(e===t)return n}return(e-i)/a*s+o}function Di(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%"}return V(e)?e.replace(/^\s+|\s+$/g,"").match(/%$/)?parseFloat(e)/100*t:parseFloat(e):null==e?NaN:+e}function Ei(e,t,n){return null==t&&(t=10),t=Math.min(Math.max(0,t),20),e=(+e).toFixed(t),n?e:+e}function Bi(e){if(e=+e,isNaN(e))return 0;if(1e-14<e)for(var t=1,n=0;n<15;n++,t*=10)if(Math.round(e*t)/t===e)return n;return Li(e)}function Li(e){e=e.toString().toLowerCase();var t=e.indexOf("e"),n=0<t?+e.slice(t+1):0;t=0<t?t:e.length,e=e.indexOf(".");return Math.max(0,(e<0?0:t-1-e)-n)}function Ni(e,t){var n=Math.log,r=Math.LN10;e=Math.floor(n(e[1]-e[0])/r),n=Math.round(n(Math.abs(t[1]-t[0]))/r),t=Math.min(Math.max(-e+n,0),20);return isFinite(t)?t:20}function Ri(e){var t=2*Math.PI;return(e%t+t)%t}function ji(e){return-1e-4<e&&e<1e-4}var Fi=/^(?:(\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 zi(e){var t,n;return e instanceof Date?e:V(e)?(t=Fi.exec(e))?t[8]?(n=+t[4]||0,"Z"!==t[8].toUpperCase()&&(n-=+t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,n,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0))):new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0):new Date(NaN):null==e?new Date(NaN):new Date(Math.round(e))}function $i(e){return Math.pow(10,Ui(e))}function Ui(e){var t;return 0===e?0:(t=Math.floor(Math.log(e)/Math.LN10),10<=e/Math.pow(10,t)&&t++,t)}function Hi(e,t){var n=Ui(e),r=Math.pow(10,n),i=e/r;t=t?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;return e=t*r,-20<=n?+e.toFixed(n<0?-n:0):e}function Vi(e){var t=parseFloat(e);return t==e&&(0!==t||!V(e)||e.indexOf("x")<=0)?t:NaN}function Gi(e){return!isNaN(Vi(e))}function Wi(){return Math.round(9*Math.random())}function qi(e,t){return null==e?t:null==t?e:e*t/function e(t,n){return 0===n?t:e(n,t%n)}(e,t)}function Qi(e){throw new Error(e)}function Yi(e,t,n){return(t-e)*n+e}var Xi="series\0";function Ki(e){return e instanceof Array?e:null==e?[]:[e]}function Ji(e,t,n){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var r=0,i=n.length;r<i;r++){var o=n[r];!e.emphasis[t].hasOwnProperty(o)&&e[t].hasOwnProperty(o)&&(e.emphasis[t][o]=e[t][o])}}}var Zi=["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 eo(e){return!q(e)||U(e)||e instanceof Date?e:e.value}function to(e,t,n){return t=ro(t[e],null),n=ro(n[e],null),null!=t&&null!=n&&t===n}function no(e){return ro(e,"")}function ro(e,t){return null==e?t:V(e)?e:W(e)||G(e)?e+"":t}function io(e){return e=e.name,!(!e||!e.indexOf(Xi))}function oo(e){return e&&null!=e.id&&0===no(e.id).indexOf("\0_ec_\0")}function ao(e,t){return null!=t.dataIndexInside?t.dataIndexInside:null!=t.dataIndex?U(t.dataIndex)?N(t.dataIndex,(function(t){return e.indexOfRawIndex(t)})):e.indexOfRawIndex(t.dataIndex):null!=t.name?U(t.name)?N(t.name,(function(t){return e.indexOfName(t)})):e.indexOfName(t.name):void 0}function so(){var e="__ec_inner_"+uo++;return function(t){return t[e]||(t[e]={})}}var uo=Wi();function lo(e,t,n){t=co(t,n);var r=t.mainTypeSpecified,i=t.queryOptionMap,o=t.others,a=n?n.defaultMainType:null;return!r&&a&&i.set(a,{}),i.each((function(t,r){t=fo(e,r,t,{useDefault:a===r,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone}),o[r+"Models"]=t.models,o[r+"Model"]=t.models[0]})),o}function co(e,t){var n=V(e)?((n={})[e+"Index"]=0,n):e,r=ye(),i={},o=!1;return L(n,(function(e,n){var a;"dataIndex"===n||"dataIndexInside"===n?i[n]=e:(a=(n=n.match(/^(\w+)(Index|Id|Name)$/)||[])[1],n=(n[2]||"").toLowerCase(),!a||!n||t&&t.includeMainTypes&&P(t.includeMainTypes,a)<0||(o=o||!!a,(r.get(a)||r.set(a,{}))[n]=e))})),{mainTypeSpecified:o,queryOptionMap:r,others:i}}var po={useDefault:!0,enableAll:!1,enableNone:!1};function fo(e,t,n,r){r=r||po;var i=n.index,o=n.id,a=(n=n.name,{models:null,specified:null!=i||null!=o||null!=n});return a.specified?"none"===i||!1===i?(ae(r.enableNone,'`"none"` or `false` is not a valid value on index option.'),a.models=[]):("all"===i&&(ae(r.enableAll,'`"all"` is not a valid value on index option.'),i=o=n=null),a.models=e.queryComponents({mainType:t,index:i,id:o,name:n})):(i=void 0,a.models=r.useDefault&&(i=e.getComponent(t))?[i]:[]),a}function ho(e,t,n){e.setAttribute?e.setAttribute(t,n):e[t]=n}function go(e,t,n,r,i){var o=null==t||"auto"===t;if(null==r)return r;if(W(r))return Ei(p=Yi(n||0,r,i),o?Math.max(Bi(n||0),Bi(r)):t);if(V(r))return i<1?n:r;for(var a=[],s=n,u=r,l=Math.max(s?s.length:0,u.length),c=0;c<l;++c){var d,p,f=e.getDimensionInfo(c);f&&"ordinal"===f.type?a[c]=(i<1&&s?s:u)[c]:(p=Yi(f=s&&s[c]?s[c]:0,d=u[c],i),a[c]=Ei(p,o?Math.max(Bi(f),Bi(d)):t))}return a}var yo="___EC__COMPONENT__CONTAINER___",mo="___EC__EXTENDED_CLASS___";function vo(e){var t={main:"",sub:""};return e&&(e=e.split("."),t.main=e[0]||"",t.sub=e[1]||""),t}function _o(e){(e.$constructor=e).extend=function(e){var t,r,i,o=this;function a(){return r.apply(this,arguments)||this}return H(i=o)&&/^class\s/.test(Function.prototype.toString.call(i))?(n(a,r=o),t=a):D(t=function(){(e.$constructor||o).apply(this,arguments)},this),I(t.prototype,e),t[mo]=!0,t.extend=this.extend,t.superCall=wo,t.superApply=So,t.superClass=o,t}}function bo(e,t){e.extend=t.extend}var xo=Math.round(10*Math.random());function wo(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this.superClass.prototype[t].apply(e,n)}function So(e,t,n){return this.superClass.prototype[t].apply(e,n)}function Ao(e){var t={};e.registerClass=function(e){var n,r=e.type||e.prototype.type;return r&&(ae(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n=r),'componentType "'+n+'" illegal'),(n=vo(e.prototype.type=r)).sub?n.sub!==yo&&((function(e){var n=t[e.main];return n&&n[yo]||(n=t[e.main]={___EC__COMPONENT__CONTAINER___:!0}),n}(n))[n.sub]=e):t[n.main]=e),e},e.getClass=function(e,n,r){var i=t[e];if(i&&i[yo]&&(i=n?i[n]:null),r&&!i)throw new Error(n?"Component "+e+"."+(n||"")+" is used but not imported.":e+".type should be specified.");return i},e.getClassesByMainType=function(e){e=vo(e);var n=[];e=t[e.main];return e&&e[yo]?L(e,(function(e,t){t!==yo&&n.push(e)})):n.push(e),n},e.hasClass=function(e){return e=vo(e),!!t[e.main]},e.getAllClassMainTypes=function(){var e=[];return L(t,(function(t,n){e.push(n)})),e},e.hasSubTypes=function(e){return e=vo(e),e=t[e.main],e&&e[yo]}}function Co(e,t){for(var n=0;n<e.length;n++)e[n][1]||(e[n][1]=e[n][0]);return t=t||!1,function(n,r,i){for(var o={},a=0;a<e.length;a++){var s=e[a][1];r&&0<=P(r,s)||i&&P(i,s)<0||null!=(s=n.getShallow(s,t))&&(o[e[a][0]]=s)}return o}}var ko=Co([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),To=(Io.prototype.getAreaStyle=function(e,t){return ko(this,e,t)},Io);function Io(){}var Mo=new Dn(50);function Oo(e,t,n,r,i){return e?"string"==typeof e?(t&&t.__zrImageSrc===e||!n||(n={hostEl:n,cb:r,cbPayload:i},(r=Mo.get(e))?Do(t=r.image)||r.pending.push(n):((t=d.loadImage(e,Po,Po)).__zrImageSrc=e,Mo.put(e,t.__cachedImgObj={image:t,pending:[n]}))),t):e:t}function Po(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t<e.pending.length;t++){var n=e.pending[t],r=n.cb;r&&r(this,n.cbPayload),n.hostEl.dirty()}e.pending.length=0}function Do(e){return e&&e.width&&e.height}var Eo=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function Bo(e,t,n,r,i){if(!t)return"";var o=(e+"").split("\n");i=Lo(t,n,r,i);for(var a=0,s=o.length;a<s;a++)o[a]=No(o[a],i);return o.join("\n")}function Lo(e,t,n,r){for(var i=I({},r=r||{}),o=(i.font=t,n=ne(n,"..."),i.maxIterations=ne(r.maxIterations,2),i.minChar=ne(r.minChar,0)),a=(i.cnCharWidth=ei("国",t),i.ascCharWidth=ei("a",t)),s=(i.placeholder=ne(r.placeholder,""),e=Math.max(0,e-1)),u=0;u<o&&a<=s;u++)s-=a;return r=ei(n,t),s<r&&(n="",r=0),s=e-r,i.ellipsis=n,i.ellipsisWidth=r,i.contentWidth=s,i.containerWidth=e,i}function No(e,t){var n=t.containerWidth,r=t.font,i=t.contentWidth;if(!n)return"";var o=ei(e,r);if(!(o<=n)){for(var a=0;;a++){if(o<=i||a>=t.maxIterations){e+=t.ellipsis;break}var s=0===a?function(e,t,n,r){for(var i=0,o=0,a=e.length;o<a&&i<t;o++){var s=e.charCodeAt(o);i+=0<=s&&s<=127?n:r}return o}(e,i,t.ascCharWidth,t.cnCharWidth):0<o?Math.floor(e.length*i/o):0;o=ei(e=e.substr(0,s),r)}""===e&&(e=t.placeholder)}return e}var Ro=function(){},jo=function(e){this.tokens=[],e&&(this.tokens=e)},Fo=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]};function zo(e,t,n,r,i){var o,a,s=""===t,u=i&&n.rich[i]||{},l=e.lines,c=u.font||n.font,d=!1;r?(n=(e=u.padding)?e[1]+e[3]:0,null!=u.width&&"auto"!==u.width?(e=ai(u.width,r.width)+n,0<l.length&&e+r.accumWidth>r.width&&(o=t.split("\n"),d=!0),r.accumWidth=e):(e=Uo(t,c,r.width,r.breakAll,r.accumWidth),r.accumWidth=e.accumWidth+n,a=e.linesWidths,o=e.lines)):o=t.split("\n");for(var p=0;p<o.length;p++){var f,h,g=o[p],y=new Ro;y.styleName=i,y.text=g,y.isLineHolder=!g&&!s,"number"==typeof u.width?y.width=u.width:y.width=a?a[p]:ei(g,c),p||d?l.push(new jo([y])):1===(h=(f=(l[l.length-1]||(l[0]=new jo)).tokens).length)&&f[0].isLineHolder?f[0]=y:!g&&h&&!s||f.push(y)}}var $o=R(",&?/;] ".split(""),(function(e,t){return e[t]=!0,e}),{});function Uo(e,t,n,r,i){for(var o,a=[],s=[],u="",l="",c=0,d=0,p=0;p<e.length;p++){var f,h,g=e.charAt(p);"\n"===g?(l&&(u+=l,d+=c),a.push(u),s.push(d),l=u="",d=c=0):(f=ei(g,t),h=!(r||(h=void 0,!(32<=(h=(h=o=g).charCodeAt(0))&&h<=591||880<=h&&h<=4351||4608<=h&&h<=5119||7680<=h&&h<=8303))||$o[o]),(a.length?n<d+f:n<i+d+f)?d?(u||l)&&(d=h?(u||(u=l,l="",d=c=0),a.push(u),s.push(d-c),l+=g,u="",c+=f):(l&&(u+=l,l="",c=0),a.push(u),s.push(d),u=g,f)):h?(a.push(l),s.push(c),l=g,c=f):(a.push(g),s.push(f)):(d+=f,h?(l+=g,c+=f):(l&&(u+=l,l="",c=0),u+=g)))}return a.length||u||(u=e,l="",c=0),l&&(u+=l),u&&(a.push(u),s.push(d)),1===a.length&&(d+=i),{accumWidth:d,lines:a,linesWidths:s}}var Ho,Vo="__zr_style_"+Math.round(10*Math.random()),Go={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Wo={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}},qo=(Go[Vo]=!0,["z","z2","invisible"]),Qo=["invisible"];n(Yo,Ho=Jn),Yo.prototype._init=function(e){for(var t=F(e),n=0;n<t.length;n++){var r=t[n];"style"===r?this.useStyle(e[r]):Ho.prototype.attrKV.call(this,r,e[r])}this.style||this.useStyle({})},Yo.prototype.beforeBrush=function(){},Yo.prototype.afterBrush=function(){},Yo.prototype.innerBeforeBrush=function(){},Yo.prototype.innerAfterBrush=function(){},Yo.prototype.shouldBePainted=function(e,t,n,r){var i=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&function(e,t,n){return Xo.copy(e.getBoundingRect()),e.transform&&Xo.applyTransform(e.transform),Ko.width=t,Ko.height=n,!Xo.intersect(Ko)}(this,e,t)||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},Yo.prototype.contain=function(e,t){return this.rectContain(e,t)},Yo.prototype.traverse=function(e,t){e.call(t,this)},Yo.prototype.rectContain=function(e,t){return e=this.transformCoordToLocal(e,t),this.getBoundingRect().contain(e[0],e[1])},Yo.prototype.getPaintRect=function(){var e,t,n,r,i,o=this._paintRect;return this._paintRect&&!this.__dirty||(i=this.transform,e=this.getBoundingRect(),t=(r=this.style).shadowBlur||0,n=r.shadowOffsetX||0,r=r.shadowOffsetY||0,o=this._paintRect||(this._paintRect=new Et(0,0,0,0)),i?Et.applyTransform(o,e,i):o.copy(e),(t||n||r)&&(o.width+=2*t+Math.abs(n),o.height+=2*t+Math.abs(r),o.x=Math.min(o.x,o.x+n-t),o.y=Math.min(o.y,o.y+r-t)),i=this.dirtyRectTolerance,o.isZero())||(o.x=Math.floor(o.x-i),o.y=Math.floor(o.y-i),o.width=Math.ceil(o.width+1+2*i),o.height=Math.ceil(o.height+1+2*i)),o},Yo.prototype.setPrevPaintRect=function(e){e?(this._prevPaintRect=this._prevPaintRect||new Et(0,0,0,0),this._prevPaintRect.copy(e)):this._prevPaintRect=null},Yo.prototype.getPrevPaintRect=function(){return this._prevPaintRect},Yo.prototype.animateStyle=function(e){return this.animate("style",e)},Yo.prototype.updateDuringAnimation=function(e){"style"===e?this.dirtyStyle():this.markRedraw()},Yo.prototype.attrKV=function(e,t){"style"!==e?Ho.prototype.attrKV.call(this,e,t):this.style?this.setStyle(t):this.useStyle(t)},Yo.prototype.setStyle=function(e,t){return"string"==typeof e?this.style[e]=t:I(this.style,e),this.dirtyStyle(),this},Yo.prototype.dirtyStyle=function(e){e||this.markRedraw(),this.__dirty|=2,this._rect&&(this._rect=null)},Yo.prototype.dirty=function(){this.dirtyStyle()},Yo.prototype.styleChanged=function(){return!!(2&this.__dirty)},Yo.prototype.styleUpdated=function(){this.__dirty&=-3},Yo.prototype.createStyle=function(e){return ve(Go,e)},Yo.prototype.useStyle=function(e){e[Vo]||(e=this.createStyle(e)),this.__inHover?this.__hoverStyle=e:this.style=e,this.dirtyStyle()},Yo.prototype.isStyleObject=function(e){return e[Vo]},Yo.prototype._innerSaveToNormal=function(e){Ho.prototype._innerSaveToNormal.call(this,e);var t=this._normalState;e.style&&!t.style&&(t.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,t,qo)},Yo.prototype._applyStateObj=function(e,t,n,r,i,o){Ho.prototype._applyStateObj.call(this,e,t,n,r,i,o);var a,s=!(t&&r);if(t&&t.style?i?r?a=t.style:(a=this._mergeStyle(this.createStyle(),n.style),this._mergeStyle(a,t.style)):(a=this._mergeStyle(this.createStyle(),(r?this:n).style),this._mergeStyle(a,t.style)):s&&(a=n.style),a)if(i){var u=this.style;if(this.style=this.createStyle(s?{}:u),s)for(var l=F(u),c=0;c<l.length;c++)(p=l[c])in a&&(a[p]=a[p],this.style[p]=u[p]);var d=F(a);for(c=0;c<d.length;c++){var p=d[c];this.style[p]=this.style[p]}this._transitionState(e,{style:a},o,this.getAnimationStyleProps())}else this.useStyle(a);var f=this.__inHover?Qo:qo;for(c=0;c<f.length;c++)p=f[c],t&&null!=t[p]?this[p]=t[p]:s&&null!=n[p]&&(this[p]=n[p])},Yo.prototype._mergeStates=function(e){for(var t,n=Ho.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var i=e[r];i.style&&this._mergeStyle(t=t||{},i.style)}return t&&(n.style=t),n},Yo.prototype._mergeStyle=function(e,t){return I(e,t),e},Yo.prototype.getAnimationStyleProps=function(){return Wo},Yo.initDefaultProps=((Jn=Yo.prototype).type="displayable",Jn.invisible=!1,Jn.z=0,Jn.z2=0,Jn.zlevel=0,Jn.culling=!1,Jn.cursor="pointer",Jn.rectHover=!1,Jn.incremental=!1,Jn._rect=null,Jn.dirtyRectTolerance=0,void(Jn.__dirty=3)),Jn=Yo;function Yo(e){return Ho.call(this,e)||this}var Xo=new Et(0,0,0,0),Ko=new Et(0,0,0,0),Jo=Math.min,Zo=Math.max,ea=Math.sin,ta=Math.cos,na=2*Math.PI,ra=Ae(),ia=Ae(),oa=Ae();function aa(e,t,n,r,i,o){i[0]=Jo(e,n),i[1]=Jo(t,r),o[0]=Zo(e,n),o[1]=Zo(t,r)}var sa=[],ua=[],la={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},ca=[],da=[],pa=[],fa=[],ha=[],ga=[],ya=Math.min,ma=Math.max,va=Math.cos,_a=Math.sin,ba=Math.abs,xa=Math.PI,wa=2*xa,Sa="undefined"!=typeof Float32Array,Aa=[];function Ca(e){return Math.round(e/xa*1e8)/1e8%2*xa}Ta.prototype.increaseVersion=function(){this._version++},Ta.prototype.getVersion=function(){return this._version},Ta.prototype.setScale=function(e,t,n){0<(n=n||0)&&(this._ux=ba(n/$r/e)||0,this._uy=ba(n/$r/t)||0)},Ta.prototype.setDPR=function(e){this.dpr=e},Ta.prototype.setContext=function(e){this._ctx=e},Ta.prototype.getContext=function(){return this._ctx},Ta.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},Ta.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},Ta.prototype.moveTo=function(e,t){return this._drawPendingPt(),this.addData(la.M,e,t),this._ctx&&this._ctx.moveTo(e,t),this._x0=e,this._y0=t,this._xi=e,this._yi=t,this},Ta.prototype.lineTo=function(e,t){var n=ba(e-this._xi),r=ba(t-this._yi),i=n>this._ux||r>this._uy;return this.addData(la.L,e,t),this._ctx&&i&&this._ctx.lineTo(e,t),i?(this._xi=e,this._yi=t,this._pendingPtDist=0):(i=n*n+r*r)>this._pendingPtDist&&(this._pendingPtX=e,this._pendingPtY=t,this._pendingPtDist=i),this},Ta.prototype.bezierCurveTo=function(e,t,n,r,i,o){return this._drawPendingPt(),this.addData(la.C,e,t,n,r,i,o),this._ctx&&this._ctx.bezierCurveTo(e,t,n,r,i,o),this._xi=i,this._yi=o,this},Ta.prototype.quadraticCurveTo=function(e,t,n,r){return this._drawPendingPt(),this.addData(la.Q,e,t,n,r),this._ctx&&this._ctx.quadraticCurveTo(e,t,n,r),this._xi=n,this._yi=r,this},Ta.prototype.arc=function(e,t,n,r,i,o){this._drawPendingPt(),Aa[0]=r,Aa[1]=i,s=o,(u=Ca((a=Aa)[0]))<0&&(u+=wa),c=u-a[0],l=a[1],l+=c,!s&&wa<=l-u?l=u+wa:s&&wa<=u-l?l=u-wa:!s&&l<u?l=u+(wa-Ca(u-l)):s&&u<l&&(l=u-(wa-Ca(l-u))),a[0]=u,a[1]=l;var a,s,u,l,c=(i=Aa[1])-(r=Aa[0]);return this.addData(la.A,e,t,n,n,r,c,0,o?0:1),this._ctx&&this._ctx.arc(e,t,n,r,i,o),this._xi=va(i)*n+e,this._yi=_a(i)*n+t,this},Ta.prototype.arcTo=function(e,t,n,r,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(e,t,n,r,i),this},Ta.prototype.rect=function(e,t,n,r){return this._drawPendingPt(),this._ctx&&this._ctx.rect(e,t,n,r),this.addData(la.R,e,t,n,r),this},Ta.prototype.closePath=function(){this._drawPendingPt(),this.addData(la.Z);var e=this._ctx,t=this._x0,n=this._y0;return e&&e.closePath(),this._xi=t,this._yi=n,this},Ta.prototype.fill=function(e){e&&e.fill(),this.toStatic()},Ta.prototype.stroke=function(e){e&&e.stroke(),this.toStatic()},Ta.prototype.len=function(){return this._len},Ta.prototype.setData=function(e){var t=e.length;this.data&&this.data.length===t||!Sa||(this.data=new Float32Array(t));for(var n=0;n<t;n++)this.data[n]=e[n];this._len=t},Ta.prototype.appendPath=function(e){for(var t=(e=e instanceof Array?e:[e]).length,n=0,r=this._len,i=0;i<t;i++)n+=e[i].len();for(Sa&&this.data instanceof Float32Array&&(this.data=new Float32Array(r+n)),i=0;i<t;i++)for(var o=e[i].data,a=0;a<o.length;a++)this.data[r++]=o[a];this._len=r},Ta.prototype.addData=function(e,t,n,r,i,o,a,s,u){if(this._saveData){var l=this.data;this._len+arguments.length>l.length&&(this._expandData(),l=this.data);for(var c=0;c<arguments.length;c++)l[this._len++]=arguments[c]}},Ta.prototype._drawPendingPt=function(){0<this._pendingPtDist&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},Ta.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var e=[],t=0;t<this._len;t++)e[t]=this.data[t];this.data=e}},Ta.prototype.toStatic=function(){var e;this._saveData&&(this._drawPendingPt(),(e=this.data)instanceof Array)&&(e.length=this._len,Sa)&&11<this._len&&(this.data=new Float32Array(e))},Ta.prototype.getBoundingRect=function(){pa[0]=pa[1]=ha[0]=ha[1]=Number.MAX_VALUE,fa[0]=fa[1]=ga[0]=ga[1]=-Number.MAX_VALUE;for(var e,t=this.data,n=0,r=0,i=0,o=0,a=0;a<this._len;){var s=t[a++],u=1===a;switch(u&&(i=n=t[a],o=r=t[a+1]),s){case la.M:n=i=t[a++],r=o=t[a++],ha[0]=i,ha[1]=o,ga[0]=i,ga[1]=o;break;case la.L:aa(n,r,t[a],t[a+1],ha,ga),n=t[a++],r=t[a++];break;case la.C:A=S=w=x=b=_=v=m=void 0;var l=n,c=r,d=t[a++],p=t[a++],f=t[a++],h=t[a++],g=t[a],y=t[a+1],m=ha,v=ga,_=mn,b=hn,x=_(l,d,f,g,sa);m[0]=1/0,m[1]=1/0,v[0]=-1/0,v[1]=-1/0;for(var w=0;w<x;w++){var S=b(l,d,f,g,sa[w]);m[0]=Jo(S,m[0]),v[0]=Zo(S,v[0])}for(x=_(c,p,h,y,ua),w=0;w<x;w++){var A=b(c,p,h,y,ua[w]);m[1]=Jo(A,m[1]),v[1]=Zo(A,v[1])}m[0]=Jo(l,m[0]),v[0]=Zo(l,v[0]),m[0]=Jo(g,m[0]),v[0]=Zo(g,v[0]),m[1]=Jo(c,m[1]),v[1]=Zo(c,v[1]),m[1]=Jo(y,m[1]),v[1]=Zo(y,v[1]),n=t[a++],r=t[a++];break;case la.Q:_=n,F=r,P=t[a++],T=t[a++],O=t[a],C=t[a+1],M=ha,D=ga,e=I=e=k=void 0,k=bn,e=Zo(Jo((I=wn)(_,P,O),1),0),I=Zo(Jo(I(F,T,C),1),0),P=k(_,P,O,e),e=k(F,T,C,I),M[0]=Jo(_,O,P),M[1]=Jo(F,C,e),D[0]=Zo(_,O,P),D[1]=Zo(F,C,e),n=t[a++],r=t[a++];break;case la.A:var C,k=t[a++],T=t[a++],I=t[a++],M=t[a++],O=t[a++],P=t[a++]+O,D=(a+=1,!t[a++]),E=(u&&(i=va(O)*I+k,o=_a(O)*M+T),V=C=H=U=$=z=F=j=R=E=void 0,k),B=T,L=I,N=M,R=O,j=P,F=D,z=ha,$=ga,U=je,H=Fe;if((C=Math.abs(R-j))%na<1e-4&&1e-4<C)z[0]=E-L,z[1]=B-N,$[0]=E+L,$[1]=B+N;else{ra[0]=ta(R)*L+E,ra[1]=ea(R)*N+B,ia[0]=ta(j)*L+E,ia[1]=ea(j)*N+B,U(z,ra,ia),H($,ra,ia),(R%=na)<0&&(R+=na),(j%=na)<0&&(j+=na),j<R&&!F?j+=na:R<j&&F&&(R+=na),F&&(C=j,j=R,R=C);for(var V=0;V<j;V+=Math.PI/2)R<V&&(oa[0]=ta(V)*L+E,oa[1]=ea(V)*N+B,U(z,oa,z),H($,oa,$))}n=va(P)*I+k,r=_a(P)*M+T;break;case la.R:aa(i=n=t[a++],o=r=t[a++],i+t[a++],o+t[a++],ha,ga);break;case la.Z:n=i,r=o}je(pa,pa,ha),Fe(fa,fa,ga)}return 0===a&&(pa[0]=pa[1]=fa[0]=fa[1]=0),new Et(pa[0],pa[1],fa[0]-pa[0],fa[1]-pa[1])},Ta.prototype._calculateLength=function(){for(var e=this.data,t=this._len,n=this._ux,r=this._uy,i=0,o=0,a=0,s=0,u=(this._pathSegLen||(this._pathSegLen=[]),this._pathSegLen),l=0,c=0,d=0;d<t;){var p=e[d++],f=1===d,h=(f&&(a=i=e[d],s=o=e[d+1]),-1);switch(p){case la.M:i=a=e[d++],o=s=e[d++];break;case la.L:var g=e[d++],y=(_=e[d++])-o;(ba(T=g-i)>n||ba(y)>r||d===t-1)&&(h=Math.sqrt(T*T+y*y),i=g,o=_);break;case la.C:var m=e[d++],v=e[d++],_=(g=e[d++],e[d++]),b=e[d++],x=e[d++];h=function(e,t,n,r,i,o,a,s,u){for(var l=e,c=t,d=0,p=1;p<=10;p++){var f=.1*p,h=hn(e,n,i,a,f),g=(f=hn(t,r,o,s,f),h-l),y=f-c;d+=Math.sqrt(g*g+y*y),l=h,c=f}return d}(i,o,m,v,g,_,b,x),i=b,o=x;break;case la.Q:h=function(e,t,n,r,i,o,a){for(var s=e,u=t,l=0,c=1;c<=10;c++){var d=.1*c,p=bn(e,n,i,d),f=(d=bn(t,r,o,d),p-s),h=d-u;l+=Math.sqrt(f*f+h*h),s=p,u=d}return l}(i,o,m=e[d++],v=e[d++],g=e[d++],_=e[d++]),i=g,o=_;break;case la.A:b=e[d++],x=e[d++];var w=e[d++],S=e[d++],A=e[d++],C=e[d++],k=C+A;d+=1,f&&(a=va(A)*w+b,s=_a(A)*S+x),h=ma(w,S)*ya(wa,Math.abs(C)),i=va(k)*w+b,o=_a(k)*S+x;break;case la.R:a=i=e[d++],s=o=e[d++],h=2*e[d++]+2*e[d++];break;case la.Z:var T=a-i;y=s-o;h=Math.sqrt(T*T+y*y),i=a,o=s}0<=h&&(l+=u[c++]=h)}return this._pathLen=l},Ta.prototype.rebuildPath=function(e,t){var n,r,i,o,a,s,u,l,c=this.data,d=this._ux,p=this._uy,f=this._len,h=t<1,g=0,y=0,m=0;if(!h||(this._pathSegLen||this._calculateLength(),a=this._pathSegLen,s=t*this._pathLen))e:for(var v=0;v<f;){var _=c[v++],b=1===v;switch(b&&(n=i=c[v],r=o=c[v+1]),_!==la.L&&0<m&&(e.lineTo(u,l),m=0),_){case la.M:n=i=c[v++],r=o=c[v++],e.moveTo(i,o);break;case la.L:var x=c[v++],w=c[v++],S=ba(x-i),A=ba(w-o);if(d<S||p<A){if(h){if(s<g+(U=a[y++])){var C=(s-g)/U;e.lineTo(i*(1-C)+x*C,o*(1-C)+w*C);break e}g+=U}e.lineTo(x,w),i=x,o=w,m=0}else S=S*S+A*A,m<S&&(u=x,l=w,m=S);break;case la.C:var k=c[v++],T=c[v++],I=c[v++],M=c[v++];A=c[v++],S=c[v++];if(h){if(s<g+(U=a[y++])){vn(i,k,I,A,C=(s-g)/U,ca),vn(o,T,M,S,C,da),e.bezierCurveTo(ca[1],da[1],ca[2],da[2],ca[3],da[3]);break e}g+=U}e.bezierCurveTo(k,T,I,M,A,S),i=A,o=S;break;case la.Q:if(k=c[v++],T=c[v++],I=c[v++],M=c[v++],h){if(s<g+(U=a[y++])){Sn(i,k,I,C=(s-g)/U,ca),Sn(o,T,M,C,da),e.quadraticCurveTo(ca[1],da[1],ca[2],da[2]);break e}g+=U}e.quadraticCurveTo(k,T,I,M),i=I,o=M;break;case la.A:var O=c[v++],P=c[v++],D=c[v++],E=c[v++],B=c[v++],L=c[v++],N=c[v++],R=!c[v++],j=E<D?D:E,F=.001<ba(D-E),z=B+L,$=!1;if(h&&(s<g+(U=a[y++])&&(z=B+L*(s-g)/U,$=!0),g+=U),F&&e.ellipse?e.ellipse(O,P,D,E,N,B,z,R):e.arc(O,P,j,B,z,R),$)break e;b&&(n=va(B)*D+O,r=_a(B)*E+P),i=va(z)*D+O,o=_a(z)*E+P;break;case la.R:n=i=c[v],r=o=c[v+1],x=c[v++],w=c[v++];var U;L=c[v++],F=c[v++];if(h){if(s<g+(U=a[y++])){N=s-g,e.moveTo(x,w),e.lineTo(x+ya(N,L),w),0<(N-=L)&&e.lineTo(x+L,w+ya(N,F)),0<(N-=F)&&e.lineTo(x+ma(L-N,0),w+F),0<(N-=L)&&e.lineTo(x,w+ma(F-N,0));break e}g+=U}e.rect(x,w,L,F);break;case la.Z:if(h){if(s<g+(U=a[y++])){C=(s-g)/U,e.lineTo(i*(1-C)+n*C,o*(1-C)+r*C);break e}g+=U}e.closePath(),i=n,o=r}}},Ta.prototype.clone=function(){var e=new Ta,t=this.data;return e.data=t.slice?t.slice():Array.prototype.slice.call(t),e._len=this._len,e},Ta.CMD=la,Ta.initDefaultProps=((zu=Ta.prototype)._saveData=!0,zu._ux=0,zu._uy=0,zu._pendingPtDist=0,void(zu._version=0));var ka=Ta;function Ta(e){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,e&&(this._saveData=!1),this._saveData&&(this.data=[])}function Ia(e,t,n,r,i,o,a){var s;if(0!==i)return s=0,!(t+(i=i)<a&&r+i<a||a<t-i&&a<r-i||e+i<o&&n+i<o||o<e-i&&o<n-i)&&(e===n?Math.abs(o-e)<=i/2:(o=(s=(t-r)/(e-n))*o-a+(e*r-n*t)/(e-n))*o/(s*s+1)<=i/2*i/2)}var Ma=2*Math.PI;function Oa(e){return(e%=Ma)<0&&(e+=Ma),e}var Pa=2*Math.PI;function Da(e,t,n,r,i,o){return t<o&&r<o||o<t&&o<r||r===t?0:(n=(o=(o-t)/(r-t))*(n-e)+e)===i?1/0:i<n?1!=o&&0!=o?r<t?1:-1:r<t?.5:-.5:0}var Ea=ka.CMD,Ba=2*Math.PI,La=[-1,-1,-1],Na=[-1,-1];function Ra(e,t,n,r,i,o,a,s,u,l){if(t<l&&r<l&&o<l&&s<l||l<t&&l<r&&l<o&&l<s)return 0;var c=yn(t,r,o,s,l,La);if(0===c)return 0;for(var d,p=0,f=-1,h=void 0,g=void 0,y=0;y<c;y++){var m=La[y],v=0===m||1===m?.5:1;hn(e,n,i,a,m)<u||(f<0&&(f=mn(t,r,o,s,Na),Na[1]<Na[0]&&1<f&&(void 0,d=Na[0],Na[0]=Na[1],Na[1]=d),h=hn(t,r,o,s,Na[0]),1<f)&&(g=hn(t,r,o,s,Na[1])),2===f?m<Na[0]?p+=h<t?v:-v:m<Na[1]?p+=g<h?v:-v:p+=s<g?v:-v:m<Na[0]?p+=h<t?v:-v:p+=s<h?v:-v)}return p}function ja(e,t,n,r,i,o,a,s){if(t<s&&r<s&&o<s||s<t&&s<r&&s<o)return 0;d=La,c=(u=t)-2*(l=r)+(c=o),l=2*(l-u),u-=s=s,s=0,pn(c)?fn(l)&&0<=(p=-u/l)&&p<=1&&(d[s++]=p):pn(u=l*l-4*c*u)?0<=(p=-l/(2*c))&&p<=1&&(d[s++]=p):0<u&&(f=(-l-(u=sn(u)))/(2*c),0<=(p=(-l+u)/(2*c))&&p<=1&&(d[s++]=p),0<=f)&&f<=1&&(d[s++]=f);var u,l,c,d,p,f,h=s;if(0===h)return 0;var g=wn(t,r,o);if(0<=g&&g<=1){for(var y=0,m=bn(t,r,o,g),v=0;v<h;v++){var _=0===La[v]||1===La[v]?.5:1;bn(e,n,i,La[v])<a||(La[v]<g?y+=m<t?_:-_:y+=o<m?_:-_)}return y}return _=0===La[0]||1===La[0]?.5:1,bn(e,n,i,La[0])<a?0:o<t?_:-_}function Fa(e,t,n,r,i){for(var o,a=e.data,s=e.len(),u=0,l=0,c=0,d=0,p=0,f=0;f<s;){var h=a[f++],g=1===f;switch(h===Ea.M&&1<f&&(n||(u+=Da(l,c,d,p,r,i))),g&&(d=l=a[f],p=c=a[f+1]),h){case Ea.M:l=d=a[f++],c=p=a[f++];break;case Ea.L:if(n){if(Ia(l,c,a[f],a[f+1],t,r,i))return!0}else u+=Da(l,c,a[f],a[f+1],r,i)||0;l=a[f++],c=a[f++];break;case Ea.C:if(n){if(function(e,t,n,r,i,o,a,s,u,l,c){if(0!==u)return!(t+(u=u)<c&&r+u<c&&o+u<c&&s+u<c||c<t-u&&c<r-u&&c<o-u&&c<s-u||e+u<l&&n+u<l&&i+u<l&&a+u<l||l<e-u&&l<n-u&&l<i-u&&l<a-u)&&_n(e,t,n,r,i,o,a,s,l,c,null)<=u/2}(l,c,a[f++],a[f++],a[f++],a[f++],a[f],a[f+1],t,r,i))return!0}else u+=Ra(l,c,a[f++],a[f++],a[f++],a[f++],a[f],a[f+1],r,i)||0;l=a[f++],c=a[f++];break;case Ea.Q:if(n){if(function(e,t,n,r,i,o,a,s,u){if(0!==a)return!(t+(a=a)<u&&r+a<u&&o+a<u||u<t-a&&u<r-a&&u<o-a||e+a<s&&n+a<s&&i+a<s||s<e-a&&s<n-a&&s<i-a)&&An(e,t,n,r,i,o,s,u,null)<=a/2}(l,c,a[f++],a[f++],a[f],a[f+1],t,r,i))return!0}else u+=ja(l,c,a[f++],a[f++],a[f],a[f+1],r,i)||0;l=a[f++],c=a[f++];break;case Ea.A:var y=a[f++],m=a[f++],v=a[f++],_=a[f++],b=a[f++],x=a[f++],w=(f+=1,!!(1-a[f++])),S=Math.cos(b)*v+y,A=Math.sin(b)*_+m,C=(g?(d=S,p=A):u+=Da(l,c,S,A,r,i),(r-y)*_/v+y);if(n){if(function(e,t,n,r,i,o,a,s,u){if(0!==a)return a=a,s-=e,u-=t,!(n<(e=Math.sqrt(s*s+u*u))-a||e+a<n)&&(Math.abs(r-i)%Pa<1e-4||((i=o?(t=r,r=Oa(i),Oa(t)):(r=Oa(r),Oa(i)))<r&&(i+=Pa),(e=Math.atan2(u,s))<0&&(e+=Pa),r<=e&&e<=i)||r<=e+Pa&&e+Pa<=i)}(y,m,_,b,b+x,w,t,C,i))return!0}else u+=function(e,t,n,r,i,o,a,s){if(n<(s-=t)||s<-n)return 0;t=Math.sqrt(n*n-s*s);if(La[0]=-t,La[1]=t,(n=Math.abs(r-i))<1e-4)return 0;if(Ba-1e-4<=n)return i=Ba,c=o?1:-1,a>=La[r=0]+e&&a<=La[1]+e?c:0;i<r&&(t=r,r=i,i=t),r<0&&(r+=Ba,i+=Ba);for(var u=0,l=0;l<2;l++){var c,d=La[l];a<d+e&&(c=o?1:-1,r<=(d=(d=Math.atan2(s,d))<0?Ba+d:d)&&d<=i||r<=d+Ba&&d+Ba<=i)&&(u+=c=d>Math.PI/2&&d<1.5*Math.PI?-c:c)}return u}(y,m,_,b,b+x,w,C,i);l=Math.cos(b+x)*v+y,c=Math.sin(b+x)*_+m;break;case Ea.R:if(d=l=a[f++],p=c=a[f++],S=d+a[f++],A=p+a[f++],n){if(Ia(d,p,S,p,t,r,i)||Ia(S,p,S,A,t,r,i)||Ia(S,A,d,A,t,r,i)||Ia(d,A,d,p,t,r,i))return!0}else u=(u+=Da(S,p,S,A,r,i))+Da(d,A,d,p,r,i);break;case Ea.Z:if(n){if(Ia(l,c,d,p,t,r,i))return!0}else u+=Da(l,c,d,p,r,i);l=d,c=p}}return n||(e=c,o=p,Math.abs(e-o)<1e-4)||(u+=Da(l,c,d,p,r,i)||0),0!==u}var za,$a=M({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Go),Ua={style:M({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Wo.style)},Ha=Jr.concat(["invisible","culling","z","z2","zlevel","parent"]),Va=(n(Ga,za=Jn),Ga.prototype.update=function(){var e=this,t=(za.prototype.update.call(this),this.style);if(t.decal){var n,r=this._decalEl=this._decalEl||new Ga,i=(r.buildPath===Ga.prototype.buildPath&&(r.buildPath=function(t){e.buildPath(t,e.shape)}),r.silent=!0,r.style);for(n in t)i[n]!==t[n]&&(i[n]=t[n]);i.fill=t.fill?t.decal:null,i.decal=null,i.shadowColor=null,t.strokeFirst&&(i.stroke=null);for(var o=0;o<Ha.length;++o)r[Ha[o]]=this[Ha[o]];r.__dirty|=1}else this._decalEl&&(this._decalEl=null)},Ga.prototype.getDecalElement=function(){return this._decalEl},Ga.prototype._init=function(e){var t=F(e),n=(this.shape=this.getDefaultShape(),this.getDefaultStyle());n&&this.useStyle(n);for(var r=0;r<t.length;r++){var i=t[r],o=e[i];"style"===i?this.style?I(this.style,o):this.useStyle(o):"shape"===i?I(this.shape,o):za.prototype.attrKV.call(this,i,o)}this.style||this.useStyle({})},Ga.prototype.getDefaultStyle=function(){return null},Ga.prototype.getDefaultShape=function(){return{}},Ga.prototype.canBeInsideText=function(){return this.hasFill()},Ga.prototype.getInsideTextFill=function(){var e,t=this.style.fill;if("none"!==t){if(V(t))return.5<(e=nr(t,0))?Ur:.2<e?"#eee":Hr;if(t)return Hr}return Ur},Ga.prototype.getInsideTextStroke=function(e){var t=this.style.fill;if(V(t)){var n=this.__zr;if(!(!n||!n.isDarkMode())==nr(e,0)<.4)return t}},Ga.prototype.buildPath=function(e,t,n){},Ga.prototype.pathUpdated=function(){this.__dirty&=-5},Ga.prototype.getUpdatedPathProxy=function(e){return this.path||this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,e),this.path},Ga.prototype.createPathProxy=function(){this.path=new ka(!1)},Ga.prototype.hasStroke=function(){var e=this.style,t=e.stroke;return!(null==t||"none"===t||!(0<e.lineWidth))},Ga.prototype.hasFill=function(){var e=this.style.fill;return null!=e&&"none"!==e},Ga.prototype.getBoundingRect=function(){var e,t,n=this._rect,r=this.style,i=!n;return i&&(e=!1,this.path||(e=!0,this.createPathProxy()),t=this.path,(e||4&this.__dirty)&&(t.beginPath(),this.buildPath(t,this.shape,!1),this.pathUpdated()),n=t.getBoundingRect()),this._rect=n,this.hasStroke()&&this.path&&0<this.path.len()?(e=this._rectStroke||(this._rectStroke=n.clone()),(this.__dirty||i)&&(e.copy(n),t=r.strokeNoScale?this.getLineScale():1,i=r.lineWidth,this.hasFill()||(r=this.strokeContainThreshold,i=Math.max(i,null==r?4:r)),1e-10<t)&&(e.width+=i/t,e.height+=i/t,e.x-=i/t/2,e.y-=i/t/2),e):n},Ga.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t),r=this.getBoundingRect(),i=this.style;if(e=n[0],t=n[1],r.contain(e,t)){if(n=this.path,this.hasStroke()&&(r=i.lineWidth,i=i.strokeNoScale?this.getLineScale():1,1e-10<i&&(this.hasFill()||(r=Math.max(r,this.strokeContainThreshold)),Fa(n,r/i,!0,e,t))))return!0;if(this.hasFill())return Fa(n,0,!1,e,t)}return!1},Ga.prototype.dirtyShape=function(){this.__dirty|=4,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},Ga.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},Ga.prototype.animateShape=function(e){return this.animate("shape",e)},Ga.prototype.updateDuringAnimation=function(e){"style"===e?this.dirtyStyle():"shape"===e?this.dirtyShape():this.markRedraw()},Ga.prototype.attrKV=function(e,t){"shape"===e?this.setShape(t):za.prototype.attrKV.call(this,e,t)},Ga.prototype.setShape=function(e,t){var n=(n=this.shape)||(this.shape={});return"string"==typeof e?n[e]=t:I(n,e),this.dirtyShape(),this},Ga.prototype.shapeChanged=function(){return!!(4&this.__dirty)},Ga.prototype.createStyle=function(e){return ve($a,e)},Ga.prototype._innerSaveToNormal=function(e){za.prototype._innerSaveToNormal.call(this,e);var t=this._normalState;e.shape&&!t.shape&&(t.shape=I({},this.shape))},Ga.prototype._applyStateObj=function(e,t,n,r,i,o){za.prototype._applyStateObj.call(this,e,t,n,r,i,o);var a,u=!(t&&r);if(t&&t.shape?i?r?a=t.shape:(a=I({},n.shape),I(a,t.shape)):(a=I({},(r?this:n).shape),I(a,t.shape)):u&&(a=n.shape),a)if(i){this.shape=I({},this.shape);for(var l={},c=F(a),d=0;d<c.length;d++){var p=c[d];"object"==s(a[p])?this.shape[p]=a[p]:l[p]=a[p]}this._transitionState(e,{shape:l},o)}else this.shape=a,this.dirtyShape()},Ga.prototype._mergeStates=function(e){for(var t,n=za.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var i=e[r];i.shape&&this._mergeStyle(t=t||{},i.shape)}return t&&(n.shape=t),n},Ga.prototype.getAnimationStyleProps=function(){return Ua},Ga.prototype.isZeroArea=function(){return!1},Ga.extend=function(e){n(o,t=Ga),o.prototype.getDefaultStyle=function(){return k(e.style)},o.prototype.getDefaultShape=function(){return k(e.shape)};var t,r,i=o;function o(n){var r=t.call(this,n)||this;return e.init&&e.init.call(r,n),r}for(r in e)"function"==typeof e[r]&&(i.prototype[r]=e[r]);return i},Ga.initDefaultProps=((zu=Ga.prototype).type="path",zu.strokeContainThreshold=5,zu.segmentIgnoreThreshold=0,zu.subPixelOptimize=!1,zu.autoBatch=!1,void(zu.__dirty=7)),Ga);function Ga(e){return za.call(this,e)||this}var Wa,qa=M({strokeFirst:!0,font:l,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},$a),Qa=(n(Ya,Wa=Jn),Ya.prototype.hasStroke=function(){var e=this.style,t=e.stroke;return null!=t&&"none"!==t&&0<e.lineWidth},Ya.prototype.hasFill=function(){var e=this.style.fill;return null!=e&&"none"!==e},Ya.prototype.createStyle=function(e){return ve(qa,e)},Ya.prototype.setBoundingRect=function(e){this._rect=e},Ya.prototype.getBoundingRect=function(){var e,t=this.style;return this._rect||(null!=(e=t.text)?e+="":e="",(e=ni(e,t.font,t.textAlign,t.textBaseline)).x+=t.x||0,e.y+=t.y||0,this.hasStroke()&&(t=t.lineWidth,e.x-=t/2,e.y-=t/2,e.width+=t,e.height+=t),this._rect=e),this._rect},Ya.initDefaultProps=void(Ya.prototype.dirtyRectTolerance=10),Ya);function Ya(){return null!==Wa&&Wa.apply(this,arguments)||this}Qa.prototype.type="tspan";var Xa=M({x:0,y:0},Go),Ka={style:M({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Wo.style)};n(es,Ja=Jn),es.prototype.createStyle=function(e){return ve(Xa,e)},es.prototype._getSize=function(e){var t,n=this.style,r=n[e];return null!=r?r:(r=(r=n.image)&&"string"!=typeof r&&r.width&&r.height?n.image:this.__image)?null==(t=n[n="width"===e?"height":"width"])?r[e]:r[e]/r[n]*t:0},es.prototype.getWidth=function(){return this._getSize("width")},es.prototype.getHeight=function(){return this._getSize("height")},es.prototype.getAnimationStyleProps=function(){return Ka},es.prototype.getBoundingRect=function(){var e=this.style;return this._rect||(this._rect=new Et(e.x||0,e.y||0,this.getWidth(),this.getHeight())),this._rect};var Ja,Za=es;function es(){return null!==Ja&&Ja.apply(this,arguments)||this}Za.prototype.type="image";var ts=Math.round;function ns(e,t,n){var r,i,o;if(t)return r=t.x1,i=t.x2,o=t.y1,t=t.y2,e.x1=r,e.x2=i,e.y1=o,e.y2=t,(n=n&&n.lineWidth)&&(ts(2*r)===ts(2*i)&&(e.x1=e.x2=is(r,n,!0)),ts(2*o)===ts(2*t))&&(e.y1=e.y2=is(o,n,!0)),e}function rs(e,t,n){var r,i,o;if(t)return r=t.x,i=t.y,o=t.width,t=t.height,e.x=r,e.y=i,e.width=o,e.height=t,(n=n&&n.lineWidth)&&(e.x=is(r,n,!0),e.y=is(i,n,!0),e.width=Math.max(is(r+o,n,!1)-e.x,0===o?0:1),e.height=Math.max(is(i+t,n,!1)-e.y,0===t?0:1)),e}function is(e,t,n){var r;return t?((r=ts(2*e))+ts(t))%2==0?r/2:(r+(n?1:-1))/2:e}var os,as=function(){this.x=0,this.y=0,this.width=0,this.height=0},ss={},us=(n(ls,os=Va),ls.prototype.getDefaultShape=function(){return new as},ls.prototype.buildPath=function(e,t){var n,r,i,o,a,s,u,l,c,d,p,f,h,g;this.subPixelOptimize?(n=(a=rs(ss,t,this.style)).x,r=a.y,i=a.width,o=a.height,a.r=t.r,t=a):(n=t.x,r=t.y,i=t.width,o=t.height),t.r?(a=e,p=(t=t).x,f=t.y,h=t.width,g=t.height,t=t.r,h<0&&(p+=h,h=-h),g<0&&(f+=g,g=-g),"number"==typeof t?s=u=l=c=t:t instanceof Array?1===t.length?s=u=l=c=t[0]:2===t.length?(s=l=t[0],u=c=t[1]):3===t.length?(s=t[0],u=c=t[1],l=t[2]):(s=t[0],u=t[1],l=t[2],c=t[3]):s=u=l=c=0,h<s+u&&(s*=h/(d=s+u),u*=h/d),h<l+c&&(l*=h/(d=l+c),c*=h/d),g<u+l&&(u*=g/(d=u+l),l*=g/d),g<s+c&&(s*=g/(d=s+c),c*=g/d),a.moveTo(p+s,f),a.lineTo(p+h-u,f),0!==u&&a.arc(p+h-u,f+u,u,-Math.PI/2,0),a.lineTo(p+h,f+g-l),0!==l&&a.arc(p+h-l,f+g-l,l,0,Math.PI/2),a.lineTo(p+c,f+g),0!==c&&a.arc(p+c,f+g-c,c,Math.PI/2,Math.PI),a.lineTo(p,f+s),0!==s&&a.arc(p+s,f+s,s,Math.PI,1.5*Math.PI)):e.rect(n,r,i,o)},ls.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},ls);function ls(e){return os.call(this,e)||this}us.prototype.type="rect";var cs,ds={fill:"#000"},ps={style:M({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},Wo.style)},fs=(n(hs,cs=Jn),hs.prototype.childrenRef=function(){return this._children},hs.prototype.update=function(){cs.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var t=this._children[e];t.zlevel=this.zlevel,t.z=this.z,t.z2=this.z2,t.culling=this.culling,t.cursor=this.cursor,t.invisible=this.invisible}},hs.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):cs.prototype.updateTransform.call(this)},hs.prototype.getLocalTransform=function(e){var t=this.innerTransformable;return t?t.getLocalTransform(e):cs.prototype.getLocalTransform.call(this,e)},hs.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),cs.prototype.getComputedTransform.call(this)},hs.prototype._updateSubTexts=function(){var e;this._childCursor=0,_s(e=this.style),L(e.rich,_s),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},hs.prototype.addSelfToZr=function(e){cs.prototype.addSelfToZr.call(this,e);for(var t=0;t<this._children.length;t++)this._children[t].__zr=e},hs.prototype.removeSelfFromZr=function(e){cs.prototype.removeSelfFromZr.call(this,e);for(var t=0;t<this._children.length;t++)this._children[t].__zr=null},hs.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var e=new Et(0,0,0,0),t=this._children,n=[],r=null,i=0;i<t.length;i++){var o=t[i],a=o.getBoundingRect();o=o.getLocalTransform(n);o?(e.copy(a),e.applyTransform(o),(r=r||e.clone()).union(e)):(r=r||a.clone()).union(a)}this._rect=r||e}return this._rect},hs.prototype.setDefaultTextStyle=function(e){this._defaultStyle=e||ds},hs.prototype.setTextContent=function(e){},hs.prototype._mergeStyle=function(e,t){var n,r;return t&&(n=t.rich,r=e.rich||n&&{},I(e,t),n&&r?(this._mergeRich(r,n),e.rich=r):r&&(e.rich=r)),e},hs.prototype._mergeRich=function(e,t){for(var n=F(t),r=0;r<n.length;r++){var i=n[r];e[i]=e[i]||{},I(e[i],t[i])}},hs.prototype.getAnimationStyleProps=function(){return ps},hs.prototype._getOrCreateChild=function(e){var t=this._children[this._childCursor];return t&&t instanceof e||(t=new e),(this._children[this._childCursor++]=t).__zr=this.__zr,t.parent=this,t},hs.prototype._updatePlainTexts=function(){for(var e,t=this.style,n=t.font||l,r=t.padding,i=function(e,t){null!=e&&(e+="");var n,r=t.overflow,i=t.padding,o=t.font,a="truncate"===r,s=oi(o),u=ne(t.lineHeight,s),l=!!t.backgroundColor,c="truncate"===t.lineOverflow,d=t.width,p=(r=(n=null==d||"break"!==r&&"breakAll"!==r?e?e.split("\n"):[]:e?Uo(e,t.font,d,"breakAll"===r,0).lines:[]).length*u,ne(t.height,r));if(p<r&&c&&(c=Math.floor(p/u),n=n.slice(0,c)),e&&a&&null!=d)for(var f=Lo(d,o,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),h=0;h<n.length;h++)n[h]=No(n[h],f);c=p;var g=0;for(h=0;h<n.length;h++)g=Math.max(ei(n[h],o),g);return null==d&&(d=g),e=g,i&&(c+=i[0]+i[2],e+=i[1]+i[3],d+=i[1]+i[3]),{lines:n,height:p,outerWidth:e=l?d:e,outerHeight:c,lineHeight:u,calculatedLineHeight:s,contentWidth:g,contentHeight:r,width:d}}(Ss(t),t),o=As(t),a=!!t.backgroundColor,s=i.outerHeight,u=i.outerWidth,c=i.contentWidth,d=i.lines,p=i.lineHeight,f=this._defaultStyle,h=t.x||0,g=t.y||0,y=t.align||f.align||"left",m=t.verticalAlign||f.verticalAlign||"top",v=h,_=ii(g,i.contentHeight,m),b=((o||r)&&(e=ri(h,u,y),g=ii(g,s,m),o)&&this._renderBackground(t,t,e,g,u,s),_+=p/2,r&&(v=ws(h,y,r),"top"===m?_+=r[0]:"bottom"===m&&(_-=r[2])),0),x=(o=!1,xs(("fill"in t?t:(o=!0,f)).fill)),w=(bs("stroke"in t?t.stroke:a||f.autoStroke&&!o?null:(b=2,f.stroke))),S=0<t.textShadowBlur,A=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),C=i.calculatedLineHeight,k=0;k<d.length;k++){var T=this._getOrCreateChild(Qa),I=T.createStyle();T.useStyle(I),I.text=d[k],I.x=v,I.y=_,y&&(I.textAlign=y),I.textBaseline="middle",I.opacity=t.opacity,I.strokeFirst=!0,S&&(I.shadowBlur=t.textShadowBlur||0,I.shadowColor=t.textShadowColor||"transparent",I.shadowOffsetX=t.textShadowOffsetX||0,I.shadowOffsetY=t.textShadowOffsetY||0),I.stroke=w,I.fill=x,w&&(I.lineWidth=t.lineWidth||b,I.lineDash=t.lineDash,I.lineDashOffset=t.lineDashOffset||0),I.font=n,vs(I,t),_+=p,A&&T.setBoundingRect(new Et(ri(I.x,t.width,I.textAlign),ii(I.y,C,I.textBaseline),c,C))}},hs.prototype._updateRichTexts=function(){for(var e=this.style,t=function(e,t){var n=new Fo;if(null!=e&&(e+=""),e){for(var r,i=t.width,o=t.height,a=t.overflow,s="break"!==a&&"breakAll"!==a||null==i?null:{width:i,accumWidth:0,breakAll:"breakAll"===a},u=Eo.lastIndex=0;null!=(r=Eo.exec(e));){var l=r.index;u<l&&zo(n,e.substring(u,l),t,s),zo(n,r[2],t,s,r[1]),u=Eo.lastIndex}u<e.length&&zo(n,e.substring(u,e.length),t,s);var c,d=[],p=0,f=0,h=t.padding,g="truncate"===a,y="truncate"===t.lineOverflow;e:for(var m=0;m<n.lines.length;m++){for(var v=n.lines[m],_=0,b=0,x=0;x<v.tokens.length;x++){var w=(M=v.tokens[x]).styleName&&t.rich[M.styleName]||{},S=M.textPadding=w.padding,A=S?S[1]+S[3]:0,C=M.font=w.font||t.font,k=(M.contentHeight=oi(C),ne(w.height,M.contentHeight));if(M.innerHeight=k,S&&(k+=S[0]+S[2]),M.height=k,M.lineHeight=re(w.lineHeight,t.lineHeight,k),M.align=w&&w.align||t.align,M.verticalAlign=w&&w.verticalAlign||"middle",y&&null!=o&&p+M.lineHeight>o){0<x?(v.tokens=v.tokens.slice(0,x),P(v,b,_),n.lines=n.lines.slice(0,m+1)):n.lines=n.lines.slice(0,m);break e}S=w.width;var T,I=null==S||"auto"===S;"string"==typeof S&&"%"===S.charAt(S.length-1)?(M.percentWidth=S,d.push(M),M.contentWidth=ei(M.text,C)):(I&&(S=(S=w.backgroundColor)&&S.image)&&(T=void 0,Do(S="string"==typeof(c=S)?(T=Mo.get(c))&&T.image:c))&&(M.width=Math.max(M.width,S.width*k/S.height)),null!=(T=g&&null!=i?i-b:null)&&T<M.width?!I||T<A?(M.text="",M.width=M.contentWidth=0):(M.text=Bo(M.text,T-A,C,t.ellipsis,{minChar:t.truncateMinChar}),M.width=M.contentWidth=ei(M.text,C)):M.contentWidth=ei(M.text,C)),M.width+=A,b+=M.width,w&&(_=Math.max(_,M.lineHeight))}P(v,b,_)}for(n.outerWidth=n.width=ne(i,f),n.outerHeight=n.height=ne(o,p),n.contentHeight=p,n.contentWidth=f,h&&(n.outerWidth+=h[1]+h[3],n.outerHeight+=h[0]+h[2]),m=0;m<d.length;m++){var M,O=(M=d[m]).percentWidth;M.width=parseInt(O,10)/100*n.width}}return n;function P(e,t,n){e.width=t,e.lineHeight=n,p+=n,f=Math.max(f,t)}}(Ss(e),e),n=t.width,r=t.outerWidth,i=t.outerHeight,o=e.padding,a=e.x||0,s=e.y||0,u=this._defaultStyle,l=e.align||u.align,c=(u=e.verticalAlign||u.verticalAlign,a=ri(a,r,l),l=ii(s,i,u),a),d=l,p=(o&&(c+=o[3],d+=o[0]),c+n),f=(As(e)&&this._renderBackground(e,e,a,l,r,i),!!e.backgroundColor),h=0;h<t.lines.length;h++){for(var g=t.lines[h],y=g.tokens,m=y.length,v=g.lineHeight,_=g.width,b=0,x=c,w=p,S=m-1,A=void 0;b<m&&(!(A=y[b]).align||"left"===A.align);)this._placeToken(A,e,v,d,x,"left",f),_-=A.width,x+=A.width,b++;for(;0<=S&&"right"===(A=y[S]).align;)this._placeToken(A,e,v,d,w,"right",f),_-=A.width,w-=A.width,S--;for(x+=(n-(x-c)-(p-w)-_)/2;b<=S;)A=y[b],this._placeToken(A,e,v,d,x+A.width/2,"center",f),x+=A.width,b++;d+=v}},hs.prototype._placeToken=function(e,t,n,r,i,o,a){var s=t.rich[e.styleName]||{},u=(s.text=e.text,e.verticalAlign),c=r+n/2;"top"===u?c=r+e.height/2:"bottom"===u&&(c=r+n-e.height/2),!e.isLineHolder&&As(s)&&this._renderBackground(s,t,"right"===o?i-e.width:"center"===o?i-e.width/2:i,c-e.height/2,e.width,e.height);u=!!s.backgroundColor,r=e.textPadding,r&&(i=ws(i,o,r),c-=e.height/2-r[0]-e.innerHeight/2),n=this._getOrCreateChild(Qa),r=n.createStyle();var d=(n.useStyle(r),this._defaultStyle),p=!1,f=0,h=xs(("fill"in s?s:"fill"in t?t:(p=!0,d)).fill);u=bs("stroke"in s?s.stroke:"stroke"in t?t.stroke:u||a||d.autoStroke&&!p?null:(f=2,d.stroke)),a=0<s.textShadowBlur||0<t.textShadowBlur,r.text=e.text,r.x=i,r.y=c,a&&(r.shadowBlur=s.textShadowBlur||t.textShadowBlur||0,r.shadowColor=s.textShadowColor||t.textShadowColor||"transparent",r.shadowOffsetX=s.textShadowOffsetX||t.textShadowOffsetX||0,r.shadowOffsetY=s.textShadowOffsetY||t.textShadowOffsetY||0),r.textAlign=o,r.textBaseline="middle",r.font=e.font||l,r.opacity=re(s.opacity,t.opacity,1),vs(r,s),u&&(r.lineWidth=re(s.lineWidth,t.lineWidth,f),r.lineDash=ne(s.lineDash,t.lineDash),r.lineDashOffset=t.lineDashOffset||0,r.stroke=u),h&&(r.fill=h),p=e.contentWidth,d=e.contentHeight;n.setBoundingRect(new Et(ri(r.x,p,r.textAlign),ii(r.y,d,r.textBaseline),p,d))},hs.prototype._renderBackground=function(e,t,n,r,i,o){var a,s,u,l,c=e.backgroundColor,d=e.borderWidth,p=e.borderColor,f=c&&c.image,h=c&&!f,g=e.borderRadius,y=this;(h||e.lineHeight||d&&p)&&((a=this._getOrCreateChild(us)).useStyle(a.createStyle()),a.style.fill=null,(u=a.shape).x=n,u.y=r,u.width=i,u.height=o,u.r=g,a.dirtyShape()),h?((l=a.style).fill=c||null,l.fillOpacity=ne(e.fillOpacity,1)):f&&((s=this._getOrCreateChild(Za)).onload=function(){y.dirtyStyle()},(u=s.style).image=c.image,u.x=n,u.y=r,u.width=i,u.height=o),d&&p&&((l=a.style).lineWidth=d,l.stroke=p,l.strokeOpacity=ne(e.strokeOpacity,1),l.lineDash=e.borderDash,l.lineDashOffset=e.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill())&&a.hasStroke()&&(l.strokeFirst=!0,l.lineWidth*=2),g=(a||s).style;g.shadowBlur=e.shadowBlur||0,g.shadowColor=e.shadowColor||"transparent",g.shadowOffsetX=e.shadowOffsetX||0,g.shadowOffsetY=e.shadowOffsetY||0,g.opacity=re(e.opacity,t.opacity,1)},hs.makeFont=function(e){var t,n="";return(n=null!=(t=e).fontSize||t.fontFamily||t.fontWeight?[e.fontStyle,e.fontWeight,"string"!=typeof(t=e.fontSize)||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?"12px":t+"px":t,e.fontFamily||"sans-serif"].join(" "):n)&&se(n)||e.textFont||e.font},hs);function hs(e){var t=cs.call(this)||this;return t.type="text",t._children=[],t._defaultStyle=ds,t.attr(e),t}var gs={left:!0,right:1,center:1},ys={top:1,bottom:1,middle:1},ms=["fontStyle","fontWeight","fontSize","fontFamily"];function vs(e,t){for(var n=0;n<ms.length;n++){var r=ms[n],i=t[r];null!=i&&(e[r]=i)}}function _s(e){var t;e&&(e.font=fs.makeFont(e),t=e.align,e.align=null==(t="middle"===t?"center":t)||gs[t]?t:"left",t=e.verticalAlign,e.verticalAlign=null==(t="center"===t?"middle":t)||ys[t]?t:"top",e.padding)&&(e.padding=oe(e.padding))}function bs(e,t){return null==e||t<=0||"transparent"===e||"none"===e?null:e.image||e.colorStops?"#000":e}function xs(e){return null==e||"none"===e?null:e.image||e.colorStops?"#000":e}function ws(e,t,n){return"right"===t?e-n[1]:"center"===t?e+n[3]/2-n[1]/2:e+n[3]}function Ss(e){return e=e.text,null!=e&&(e+=""),e}function As(e){return!!(e.backgroundColor||e.lineHeight||e.borderWidth&&e.borderColor)}var Cs=so(),ks=1,Ts={},Is=so(),Ms=so(),Os=["emphasis","blur","select"],Ps=["normal","emphasis","blur","select"],Ds="highlight",Es="downplay",Bs="select",Ls="unselect",Ns="toggleSelect";function Rs(e){return null!=e&&"none"!==e}function js(e,t,n){e.onHoverStateChange&&(e.hoverState||0)!==n&&e.onHoverStateChange(t),e.hoverState=n}function Fs(e){js(e,"emphasis",2)}function zs(e){2===e.hoverState&&js(e,"normal",0)}function $s(e){js(e,"blur",1)}function Us(e){1===e.hoverState&&js(e,"normal",0)}function Hs(e){e.selected=!0}function Vs(e){e.selected=!1}function Gs(e,t,n){t(e,n)}function Ws(e,t,n){Gs(e,t,n),e.isGroup&&e.traverse((function(e){Gs(e,t,n)}))}function qs(e,t){switch(t){case"emphasis":e.hoverState=2;break;case"normal":e.hoverState=0;break;case"blur":e.hoverState=1;break;case"select":e.selected=!0}}function Qs(e,t){var n,r,i,o,a,s=this.states[e];if(this.style){if("emphasis"===e)return n=this,r=s,t=(t=t)&&0<=P(t,"select"),a=!1,n instanceof Va&&(i=Is(n),o=t&&i.selectFill||i.normalFill,t=t&&i.selectStroke||i.normalStroke,Rs(o)||Rs(t))&&("inherit"===(i=(r=r||{}).style||{}).fill?(a=!0,r=I({},r),(i=I({},i)).fill=o):!Rs(i.fill)&&Rs(o)?(a=!0,r=I({},r),(i=I({},i)).fill=ir(o)):!Rs(i.stroke)&&Rs(t)&&(a||(r=I({},r),i=I({},i)),i.stroke=ir(t)),r.style=i),r&&null==r.z2&&(a||(r=I({},r)),o=n.z2EmphasisLift,r.z2=n.z2+(null!=o?o:10)),r;if("blur"===e)return function(e,t,n){var r=0<=P(e.currentStates,t),i=e.style.opacity;return e=r?null:function(e,t,n,r){for(var i=e.style,o={},a=0;a<t.length;a++){var s=t[a],u=i[s];o[s]=null==u?r&&r[s]:u}for(a=0;a<e.animators.length;a++){var l=e.animators[a];l.__fromStateTransition&&l.__fromStateTransition.indexOf(n)<0&&"style"===l.targetName&&l.saveTo(o,t)}return o}(e,["opacity"],t,{opacity:1}),t=(n=n||{}).style||{},null==t.opacity&&(n=I({},n),t=I({opacity:r?i:.1*e.opacity},t),n.style=t),n}(this,e,s);if("select"===e)return t=this,(i=s)&&null==i.z2&&(i=I({},i),a=t.z2SelectLift,i.z2=t.z2+(null!=a?a:9)),i}return s}function Ys(e){e.stateProxy=Qs;var t=e.getTextContent();e=e.getTextGuideLine();t&&(t.stateProxy=Qs),e&&(e.stateProxy=Qs)}function Xs(e,t){iu(e,t)||e.__highByOuter||Ws(e,Fs)}function Ks(e,t){iu(e,t)||e.__highByOuter||Ws(e,zs)}function Js(e,t){e.__highByOuter|=1<<(t||0),Ws(e,Fs)}function Zs(e,t){(e.__highByOuter&=~(1<<(t||0)))||Ws(e,zs)}function eu(e){Ws(e,$s)}function tu(e){Ws(e,Us)}function nu(e){Ws(e,Hs)}function ru(e){Ws(e,Vs)}function iu(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function ou(e){var t=e.getModel(),n=[],r=[];t.eachComponent((function(t,i){var o=Ms(i),a=(t="series"===t,t?e.getViewOfSeriesModel(i):e.getViewOfComponentModel(i));t||r.push(a),o.isBlured&&(a.group.traverse((function(e){Us(e)})),t)&&n.push(i),o.isBlured=!1})),L(r,(function(e){e&&e.toggleBlurSeries&&e.toggleBlurSeries(n,!1,t)}))}function au(e,t,n,r){var i,o,a,s=r.getModel();function u(e,t){for(var n=0;n<t.length;n++){var r=e.getItemGraphicEl(t[n]);r&&tu(r)}}n=n||"coordinateSystem",null!=e&&t&&"none"!==t&&(i=s.getSeriesByIndex(e),(o=i.coordinateSystem)&&o.master&&(o=o.master),a=[],s.eachSeries((function(e){var s=i===e,l=e.coordinateSystem;l=(l=l&&l.master?l.master:l)&&o?l===o:s;if(!("series"===n&&!s||"coordinateSystem"===n&&!l||"series"===t&&s)){if(r.getViewOfSeriesModel(e).group.traverse((function(e){e.__highByOuter&&s&&"self"===t||$s(e)})),B(t))u(e.getData(),t);else if(q(t))for(var c=F(t),d=0;d<c.length;d++)u(e.getData(c[d]),t[c[d]]);a.push(e),Ms(e).isBlured=!0}})),s.eachComponent((function(e,t){"series"!==e&&(e=r.getViewOfComponentModel(t))&&e.toggleBlurSeries&&e.toggleBlurSeries(a,!0,s)})))}function su(e,t,n){var r;null!=e&&null!=t&&(e=n.getModel().getComponent(e,t))&&(Ms(e).isBlured=!0,r=n.getViewOfComponentModel(e))&&r.focusBlurEnabled&&r.group.traverse((function(e){$s(e)}))}function uu(e,t,n,r){var i={focusSelf:!1,dispatchers:null};if(null==e||"series"===e||null==t||null==n)return i;if(e=r.getModel().getComponent(e,t),!e)return i;if(t=r.getViewOfComponentModel(e),!t||!t.findHighDownDispatchers)return i;for(var o,a=t.findHighDownDispatchers(n),s=0;s<a.length;s++)if("self"===Cs(a[s]).focus){o=!0;break}return{focusSelf:o,dispatchers:a}}function lu(e){L(e.getAllData(),(function(t){var n=t.data,r=t.type;n.eachItemGraphicEl((function(t,n){(e.isSelected(n,r)?nu:ru)(t)}))}))}function cu(e,t,n){gu(e,!0),Ws(e,Ys),e=Cs(e),null!=t?(e.focus=t,e.blurScope=n):e.focus&&(e.focus=null)}function du(e,t,n,r){r?gu(e,!1):cu(e,t,n)}var pu=["emphasis","blur","select"],fu={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function hu(e,t,n,r){n=n||"itemStyle";for(var i=0;i<pu.length;i++){var o=pu[i],a=t.getModel([o,n]);e.ensureState(o).style=r?r(a):a[fu[n]]()}}function gu(e,t){t=!1===t;var n=e;e.highDownSilentOnTouch&&(n.__highDownSilentOnTouch=e.highDownSilentOnTouch),t&&!n.__highDownDispatcher||(n.__highByOuter=n.__highByOuter||0,n.__highDownDispatcher=!t)}function yu(e){return!(!e||!e.__highDownDispatcher)}function mu(e){return e=e.type,e===Bs||e===Ls||e===Ns}function vu(e){return e=e.type,e===Ds||e===Es}var _u=ka.CMD,bu=[[],[],[]],xu=Math.sqrt,wu=Math.atan2,Su=Math.sqrt,Au=Math.sin,Cu=Math.cos,ku=Math.PI;function Tu(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function Iu(e,t){return(e[0]*t[0]+e[1]*t[1])/(Tu(e)*Tu(t))}function Mu(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(Iu(e,t))}function Ou(e,t,n,r,i,o,a,s,u,l,c){u*=ku/180;var d=Cu(u)*(e-n)/2+Au(u)*(t-r)/2,p=-1*Au(u)*(e-n)/2+Cu(u)*(t-r)/2,f=d*d/(a*a)+p*p/(s*s);1<f&&(a*=Su(f),s*=Su(f)),f=(i===o?-1:1)*Su((a*a*(s*s)-a*a*(p*p)-s*s*(d*d))/(a*a*(p*p)+s*s*(d*d)))||0,i=f*a*p/s,f=f*-s*d/a,e=(e+n)/2+Cu(u)*i-Au(u)*f,n=(t+r)/2+Au(u)*i+Cu(u)*f,t=Mu([1,0],[(d-i)/a,(p-f)/s]),r=[(d-i)/a,(p-f)/s],d=[(-1*d-i)/a,(-1*p-f)/s],i=Mu(r,d);Iu(r,d)<=-1&&(i=ku),(i=1<=Iu(r,d)?0:i)<0&&(p=Math.round(i/ku*1e6)/1e6,i=2*ku+p%2*ku),c.addData(l,e,n,a,s,t,i,u,o)}var Pu=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,Du=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;n(Lu,Eu=Va),Lu.prototype.applyTransform=function(e){};var Eu,Bu=Lu;function Lu(){return null!==Eu&&Eu.apply(this,arguments)||this}function Nu(e){return null!=e.setData}function Ru(e,t){var n=function(e){var t=new ka;if(e){var n,r=0,i=0,o=r,a=i,s=ka.CMD,u=e.match(Pu);if(u){for(var l=0;l<u.length;l++){for(var c=u[l],d=c.charAt(0),p=void 0,f=c.match(Du)||[],h=f.length,g=0;g<h;g++)f[g]=parseFloat(f[g]);for(var y=0;y<h;){var m=void 0,v=void 0,_=void 0,b=void 0,x=void 0,w=void 0,S=void 0,A=r,C=i,k=void 0,T=void 0;switch(d){case"l":r+=f[y++],i+=f[y++],p=s.L,t.addData(p,r,i);break;case"L":r=f[y++],i=f[y++],p=s.L,t.addData(p,r,i);break;case"m":r+=f[y++],i+=f[y++],p=s.M,t.addData(p,r,i),o=r,a=i,d="l";break;case"M":r=f[y++],i=f[y++],p=s.M,t.addData(p,r,i),o=r,a=i,d="L";break;case"h":r+=f[y++],p=s.L,t.addData(p,r,i);break;case"H":r=f[y++],p=s.L,t.addData(p,r,i);break;case"v":i+=f[y++],p=s.L,t.addData(p,r,i);break;case"V":i=f[y++],p=s.L,t.addData(p,r,i);break;case"C":p=s.C,t.addData(p,f[y++],f[y++],f[y++],f[y++],f[y++],f[y++]),r=f[y-2],i=f[y-1];break;case"c":p=s.C,t.addData(p,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,k=t.len(),T=t.data,n===s.C&&(m+=r-T[k-4],v+=i-T[k-3]),p=s.C,A=f[y++],C=f[y++],r=f[y++],i=f[y++],t.addData(p,m,v,A,C,r,i);break;case"s":m=r,v=i,k=t.len(),T=t.data,n===s.C&&(m+=r-T[k-4],v+=i-T[k-3]),p=s.C,A=r+f[y++],C=i+f[y++],r+=f[y++],i+=f[y++],t.addData(p,m,v,A,C,r,i);break;case"Q":A=f[y++],C=f[y++],r=f[y++],i=f[y++],p=s.Q,t.addData(p,A,C,r,i);break;case"q":A=f[y++]+r,C=f[y++]+i,r+=f[y++],i+=f[y++],p=s.Q,t.addData(p,A,C,r,i);break;case"T":m=r,v=i,k=t.len(),T=t.data,n===s.Q&&(m+=r-T[k-4],v+=i-T[k-3]),r=f[y++],i=f[y++],p=s.Q,t.addData(p,m,v,r,i);break;case"t":m=r,v=i,k=t.len(),T=t.data,n===s.Q&&(m+=r-T[k-4],v+=i-T[k-3]),r+=f[y++],i+=f[y++],p=s.Q,t.addData(p,m,v,r,i);break;case"A":_=f[y++],b=f[y++],x=f[y++],w=f[y++],S=f[y++],Ou(A=r,C=i,r=f[y++],i=f[y++],w,S,_,b,x,p=s.A,t);break;case"a":_=f[y++],b=f[y++],x=f[y++],w=f[y++],S=f[y++],Ou(A=r,C=i,r+=f[y++],i+=f[y++],w,S,_,b,x,p=s.A,t)}}"z"!==d&&"Z"!==d||(p=s.Z,t.addData(p),r=o,i=a),n=p}t.toStatic()}}return t}(e);e=I({},t);return e.buildPath=function(e){var t;Nu(e)?(e.setData(n.data),(t=e.getContext())&&e.rebuildPath(t,1)):n.rebuildPath(t=e,1)},e.applyTransform=function(e){var t=n,r=e;if(r){for(var i,o,a,s,u=t.data,l=t.len(),c=_u.M,d=_u.C,p=_u.L,f=_u.R,h=_u.A,g=_u.Q,y=0,m=0;y<l;){switch(i=u[y++],m=y,o=0,i){case c:case p:o=1;break;case d:o=3;break;case g:o=2;break;case h:var v=r[4],_=r[5],b=xu(r[0]*r[0]+r[1]*r[1]),x=xu(r[2]*r[2]+r[3]*r[3]),w=wu(-r[1]/x,r[0]/b);u[y]*=b,u[y++]+=v,u[y]*=x,u[y++]+=_,u[y++]*=b,u[y++]*=x,u[y++]+=w,u[y++]+=w,m=y+=2;break;case f:s[0]=u[y++],s[1]=u[y++],Re(s,s,r),u[m++]=s[0],u[m++]=s[1],s[0]+=u[y++],s[1]+=u[y++],Re(s,s,r),u[m++]=s[0],u[m++]=s[1]}for(a=0;a<o;a++){var S=bu[a];S[0]=u[y++],S[1]=u[y++],Re(S,S,r),u[m++]=S[0],u[m++]=S[1]}}t.increaseVersion()}this.dirtyShape()},e}var ju,Fu=function(){this.cx=0,this.cy=0,this.r=0},zu=(n($u,ju=Va),$u.prototype.getDefaultShape=function(){return new Fu},$u.prototype.buildPath=function(e,t){e.moveTo(t.cx+t.r,t.cy),e.arc(t.cx,t.cy,t.r,0,2*Math.PI)},$u);function $u(e){return ju.call(this,e)||this}zu.prototype.type="circle";var Uu,Hu=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},Vu=(n(Gu,Uu=Va),Gu.prototype.getDefaultShape=function(){return new Hu},Gu.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,i=t.rx,o=(t=t.ry,.5522848*i),a=.5522848*t;e.moveTo(n-i,r),e.bezierCurveTo(n-i,r-a,n-o,r-t,n,r-t),e.bezierCurveTo(n+o,r-t,n+i,r-a,n+i,r),e.bezierCurveTo(n+i,r+a,n+o,r+t,n,r+t),e.bezierCurveTo(n-o,r+t,n-i,r+a,n-i,r),e.closePath()},Gu);function Gu(e){return Uu.call(this,e)||this}Vu.prototype.type="ellipse";var Wu=Math.PI,qu=2*Wu,Qu=Math.sin,Yu=Math.cos,Xu=Math.acos,Ku=Math.atan2,Ju=Math.abs,Zu=Math.sqrt,el=Math.max,tl=Math.min,nl=1e-4;function rl(e,t,n,r,i,o,a){var s=e-n,u=t-r,l=(a=(a?o:-o)/Zu(s*s+u*u),u=a*u,a=-a*s,s=e+u,e=t+a,t=n+u,n=r+a,r=(s+t)/2,(e+n)/2),c=t-s,d=n-e,p=c*c+d*d,f=(o=i-o,s=s*n-t*e,n=(d<0?-1:1)*Zu(el(0,o*o*p-s*s)),t=(s*d-c*n)/p,e=(-s*c-d*n)/p,(s*d+c*n)/p);s=(-s*c+d*n)/p,c=t-r,d=e-l,n=f-r,p=s-l;return n*n+p*p<c*c+d*d&&(t=f,e=s),{cx:t,cy:e,x0:-u,y0:-a,x1:t*(i/o-1),y1:e*(i/o-1)}}var il,ol=function(){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},al=(n(sl,il=Va),sl.prototype.getDefaultShape=function(){return new ol},sl.prototype.buildPath=function(e,t){(function(e,t){var n,r,i,o,a,s,u,l,c,d,p,f,h,g,y,m,v,_,b,x,w,S,A,C,k,T,I,M,O,P,D=el(t.r,0),E=el(t.r0||0,0),B=0<D;(B||0<E)&&(B||(D=E,E=0),D<E&&(B=D,D=E,E=B),B=t.startAngle,n=t.endAngle,isNaN(B)||isNaN(n)||(r=t.cx,i=t.cy,o=!!t.clockwise,m=Ju(n-B),nl<(a=qu<m&&m%qu)&&(m=a),nl<D?qu-nl<m?(e.moveTo(r+D*Yu(B),i+D*Qu(B)),e.arc(r,i,D,B,n,!o),nl<E&&(e.moveTo(r+E*Yu(n),i+E*Qu(n)),e.arc(r,i,E,n,B,o))):(S=w=x=b=_=v=d=c=T=k=C=A=l=u=s=a=void 0,p=D*Yu(B),f=D*Qu(B),h=E*Yu(n),g=E*Qu(n),(y=nl<m)&&((t=t.cornerRadius)&&(a=(t=function(e){if(U(e)){var t=e.length;if(!t)return e;t=1===t?[e[0],e[0],0,0]:2===t?[e[0],e[0],e[1],e[1]]:3===t?e.concat(e[2]):e}else t=[e,e,e,e];return t}(t))[0],s=t[1],u=t[2],l=t[3]),t=Ju(D-E)/2,A=tl(t,u),C=tl(t,l),k=tl(t,a),T=tl(t,s),v=c=el(A,C),_=d=el(k,T),nl<c||nl<d)&&(b=D*Yu(n),x=D*Qu(n),w=E*Yu(B),S=E*Qu(B),m<Wu)&&(t=function(e,t,n,r,i,o,a,s){var u=(s-=o)*(n-=e)-(a-=i)*(r-=t);if(!(u*u<nl))return[e+(u=(a*(t-o)-s*(e-i))/u)*n,t+u*r]}(p,f,w,S,b,x,h,g))&&(A=p-t[0],C=f-t[1],k=b-t[0],T=x-t[1],m=1/Qu(Xu((A*k+C*T)/(Zu(A*A+C*C)*Zu(k*k+T*T)))/2),A=Zu(t[0]*t[0]+t[1]*t[1]),v=tl(c,(D-A)/(1+m)),_=tl(d,(E-A)/(m-1))),y?nl<v?(I=tl(u,v),M=tl(l,v),O=rl(w,S,p,f,D,I,o),P=rl(b,x,h,g,D,M,o),e.moveTo(r+O.cx+O.x0,i+O.cy+O.y0),v<c&&I===M?e.arc(r+O.cx,i+O.cy,v,Ku(O.y0,O.x0),Ku(P.y0,P.x0),!o):(0<I&&e.arc(r+O.cx,i+O.cy,I,Ku(O.y0,O.x0),Ku(O.y1,O.x1),!o),e.arc(r,i,D,Ku(O.cy+O.y1,O.cx+O.x1),Ku(P.cy+P.y1,P.cx+P.x1),!o),0<M&&e.arc(r+P.cx,i+P.cy,M,Ku(P.y1,P.x1),Ku(P.y0,P.x0),!o))):(e.moveTo(r+p,i+f),e.arc(r,i,D,B,n,!o)):e.moveTo(r+p,i+f),nl<E&&y?nl<_?(I=tl(a,_),O=rl(h,g,b,x,E,-(M=tl(s,_)),o),P=rl(p,f,w,S,E,-I,o),e.lineTo(r+O.cx+O.x0,i+O.cy+O.y0),_<d&&I===M?e.arc(r+O.cx,i+O.cy,_,Ku(O.y0,O.x0),Ku(P.y0,P.x0),!o):(0<M&&e.arc(r+O.cx,i+O.cy,M,Ku(O.y0,O.x0),Ku(O.y1,O.x1),!o),e.arc(r,i,E,Ku(O.cy+O.y1,O.cx+O.x1),Ku(P.cy+P.y1,P.cx+P.x1),o),0<I&&e.arc(r+P.cx,i+P.cy,I,Ku(P.y1,P.x1),Ku(P.y0,P.x0),!o))):(e.lineTo(r+h,i+g),e.arc(r,i,E,n,B,o)):e.lineTo(r+h,i+g)):e.moveTo(r,i),e.closePath()))})(e,t)},sl.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},sl);function sl(e){return il.call(this,e)||this}al.prototype.type="sector";var ul,ll=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},cl=(n(dl,ul=Va),dl.prototype.getDefaultShape=function(){return new ll},dl.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,i=2*Math.PI;e.moveTo(n+t.r,r),e.arc(n,r,t.r,0,i,!1),e.moveTo(n+t.r0,r),e.arc(n,r,t.r0,0,i,!0)},dl);function dl(e){return ul.call(this,e)||this}function pl(e,t,n){var r=t.smooth,i=t.points;if(i&&2<=i.length){if(r)for(var o=function(e,t,n,r){var i,o,a=[],s=[],u=[],l=[];if(r){for(var c=[1/0,1/0],d=[-1/0,-1/0],p=0,f=e.length;p<f;p++)je(c,c,e[p]),Fe(d,d,e[p]);je(c,c,r[0]),Fe(d,d,r[1])}for(p=0,f=e.length;p<f;p++){var h=e[p];if(n)i=e[p?p-1:f-1],o=e[(p+1)%f];else{if(0===p||p===f-1){a.push(Ce(e[p]));continue}i=e[p-1],o=e[p+1]}Te(s,o,i),Oe(s,s,t);var g=De(h,i),y=De(h,o),m=g+y;m=(0!==m&&(g/=m,y/=m),Oe(u,s,-g),Oe(l,s,y),ke([],h,u)),g=ke([],h,l);r&&(Fe(m,m,c),je(m,m,d),Fe(g,g,c),je(g,g,d)),a.push(m),a.push(g)}return n&&a.push(a.shift()),a}(i,r,n,t.smoothConstraint),a=(e.moveTo(i[0][0],i[0][1]),i.length),s=0;s<(n?a:a-1);s++){var u=o[2*s],l=o[2*s+1],c=i[(s+1)%a];e.bezierCurveTo(u[0],u[1],l[0],l[1],c[0],c[1])}else{e.moveTo(i[0][0],i[0][1]);s=1;for(var d=i.length;s<d;s++)e.lineTo(i[s][0],i[s][1])}n&&e.closePath()}}cl.prototype.type="ring";var fl,hl=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},gl=(n(yl,fl=Va),yl.prototype.getDefaultShape=function(){return new hl},yl.prototype.buildPath=function(e,t){pl(e,t,!0)},yl);function yl(e){return fl.call(this,e)||this}gl.prototype.type="polygon";var ml,vl=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},_l=(n(bl,ml=Va),bl.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},bl.prototype.getDefaultShape=function(){return new vl},bl.prototype.buildPath=function(e,t){pl(e,t,!1)},bl);function bl(e){return ml.call(this,e)||this}_l.prototype.type="polyline";var xl,wl={},Sl=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},Al=(n(Cl,xl=Va),Cl.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},Cl.prototype.getDefaultShape=function(){return new Sl},Cl.prototype.buildPath=function(e,t){o=(this.subPixelOptimize?(n=(o=ns(wl,t,this.style)).x1,r=o.y1,i=o.x2,o):(n=t.x1,r=t.y1,i=t.x2,t)).y2;var n,r,i,o;t=t.percent;0!==t&&(e.moveTo(n,r),t<1&&(i=n*(1-t)+i*t,o=r*(1-t)+o*t),e.lineTo(i,o))},Cl.prototype.pointAt=function(e){var t=this.shape;return[t.x1*(1-e)+t.x2*e,t.y1*(1-e)+t.y2*e]},Cl);function Cl(e){return xl.call(this,e)||this}Al.prototype.type="line";var kl=[],Tl=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function Il(e,t,n){var r=e.cpx2,i=e.cpy2;return null!=r||null!=i?[(n?gn:hn)(e.x1,e.cpx1,e.cpx2,e.x2,t),(n?gn:hn)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(n?xn:bn)(e.x1,e.cpx1,e.x2,t),(n?xn:bn)(e.y1,e.cpy1,e.y2,t)]}n(Pl,Ml=Va),Pl.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},Pl.prototype.getDefaultShape=function(){return new Tl},Pl.prototype.buildPath=function(e,t){var n=t.x1,r=t.y1,i=t.x2,o=t.y2,a=t.cpx1,s=t.cpy1,u=t.cpx2,l=t.cpy2;t=t.percent;0!==t&&(e.moveTo(n,r),null==u||null==l?(t<1&&(Sn(n,a,i,t,kl),a=kl[1],i=kl[2],Sn(r,s,o,t,kl),s=kl[1],o=kl[2]),e.quadraticCurveTo(a,s,i,o)):(t<1&&(vn(n,a,u,i,t,kl),a=kl[1],u=kl[2],i=kl[3],vn(r,s,l,o,t,kl),s=kl[1],l=kl[2],o=kl[3]),e.bezierCurveTo(a,s,u,l,i,o)))},Pl.prototype.pointAt=function(e){return Il(this.shape,e,!1)},Pl.prototype.tangentAt=function(e){return e=Il(this.shape,e,!0),Pe(e,e)};var Ml,Ol=Pl;function Pl(e){return Ml.call(this,e)||this}Ol.prototype.type="bezier-curve";var Dl,El=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},Bl=(n(Ll,Dl=Va),Ll.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},Ll.prototype.getDefaultShape=function(){return new El},Ll.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,i=Math.max(t.r,0),o=t.startAngle,a=t.endAngle,s=(t=t.clockwise,Math.cos(o)),u=Math.sin(o);e.moveTo(s*i+n,u*i+r),e.arc(n,r,i,o,a,!t)},Ll);function Ll(e){return Dl.call(this,e)||this}Bl.prototype.type="arc",n(jl,Nl=Va),jl.prototype._updatePathDirty=function(){for(var e=this.shape.paths,t=this.shapeChanged(),n=0;n<e.length;n++)t=t||e[n].shapeChanged();t&&this.dirtyShape()},jl.prototype.beforeBrush=function(){this._updatePathDirty();for(var e=this.shape.paths||[],t=this.getGlobalScale(),n=0;n<e.length;n++)e[n].path||e[n].createPathProxy(),e[n].path.setScale(t[0],t[1],e[n].segmentIgnoreThreshold)},jl.prototype.buildPath=function(e,t){for(var n=t.paths||[],r=0;r<n.length;r++)n[r].buildPath(e,n[r].shape,!0)},jl.prototype.afterBrush=function(){for(var e=this.shape.paths||[],t=0;t<e.length;t++)e[t].pathUpdated()},jl.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Va.prototype.getBoundingRect.call(this)};var Nl,Rl=jl;function jl(){var e=null!==Nl&&Nl.apply(this,arguments)||this;return e.type="compound",e}zl.prototype.addColorStop=function(e,t){this.colorStops.push({offset:e,color:t})};var Fl=zl;function zl(e){this.colorStops=e||[]}n(Hl,$l=Fl);var $l,Ul=Hl;function Hl(e,t,n,r,i,o){return i=$l.call(this,i)||this,i.x=null==e?0:e,i.y=null==t?0:t,i.x2=null==n?1:n,i.y2=null==r?0:r,i.type="linear",i.global=o||!1,i}n(Gl,Vl=Fl);var Vl;Fl=Gl;function Gl(e,t,n,r,i){return r=Vl.call(this,r)||this,r.x=null==e?.5:e,r.y=null==t?.5:t,r.r=null==n?.5:n,r.type="radial",r.global=i||!1,r}var Wl=[0,0],ql=[0,0],Ql=new St,Yl=new St,Xl=(Kl.prototype.fromBoundingRect=function(e,t){var n=this._corners,r=this._axes,i=e.x,o=e.y,a=i+e.width;e=o+e.height;if(n[0].set(i,o),n[1].set(a,o),n[2].set(a,e),n[3].set(i,e),t)for(var s=0;s<4;s++)n[s].transform(t);for(St.sub(r[0],n[1],n[0]),St.sub(r[1],n[3],n[0]),r[0].normalize(),r[1].normalize(),s=0;s<2;s++)this._origin[s]=r[s].dot(n[0])},Kl.prototype.intersect=function(e,t){var n=!0,r=!t;return Ql.set(1/0,1/0),Yl.set(0,0),!this._intersectCheckOneSide(this,e,Ql,Yl,r,1)&&(n=!1,r)||!this._intersectCheckOneSide(e,this,Ql,Yl,r,-1)&&(n=!1,r)||r||St.copy(t,n?Ql:Yl),n},Kl.prototype._intersectCheckOneSide=function(e,t,n,r,i,o){for(var a=!0,s=0;s<2;s++){var u=this._axes[s];if(this._getProjMinMaxOnAxis(s,e._corners,Wl),this._getProjMinMaxOnAxis(s,t._corners,ql),Wl[1]<ql[0]||ql[1]<Wl[0]){if(a=!1,i)return a;var l=Math.abs(ql[0]-Wl[1]),c=Math.abs(Wl[0]-ql[1]);Math.min(l,c)>r.len()&&(l<c?St.scale(r,u,-l*o):St.scale(r,u,c*o))}else n&&(l=Math.abs(ql[0]-Wl[1]),c=Math.abs(Wl[0]-ql[1]),Math.min(l,c)<n.len())&&(l<c?St.scale(n,u,l*o):St.scale(n,u,-c*o))}return a},Kl.prototype._getProjMinMaxOnAxis=function(e,t,n){for(var r=this._axes[e],i=this._origin,o=t[0].dot(r)+i[e],a=o,s=o,u=1;u<t.length;u++){var l=t[u].dot(r)+i[e];a=Math.min(l,a),s=Math.max(l,s)}n[0]=a,n[1]=s},Kl);function Kl(e,t){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new St;for(n=0;n<2;n++)this._axes[n]=new St;e&&this.fromBoundingRect(e,t)}var Jl,Zl=[];n(ec,Jl=Jn),ec.prototype.traverse=function(e,t){e.call(t,this)},ec.prototype.useStyle=function(){this.style={}},ec.prototype.getCursor=function(){return this._cursor},ec.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},ec.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},ec.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},ec.prototype.addDisplayable=function(e,t){(t?this._temporaryDisplayables:this._displayables).push(e),this.markRedraw()},ec.prototype.addDisplayables=function(e,t){t=t||!1;for(var n=0;n<e.length;n++)this.addDisplayable(e[n],t)},ec.prototype.getDisplayables=function(){return this._displayables},ec.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},ec.prototype.eachPendingDisplayable=function(e){for(var t=this._cursor;t<this._displayables.length;t++)e&&e(this._displayables[t]);for(t=0;t<this._temporaryDisplayables.length;t++)e&&e(this._temporaryDisplayables[t])},ec.prototype.update=function(){this.updateTransform();for(var e=this._cursor;e<this._displayables.length;e++)(t=this._displayables[e]).parent=this,t.update(),t.parent=null;var t;for(e=0;e<this._temporaryDisplayables.length;e++)(t=this._temporaryDisplayables[e]).parent=this,t.update(),t.parent=null},ec.prototype.getBoundingRect=function(){if(!this._rect){for(var e=new Et(1/0,1/0,-1/0,-1/0),t=0;t<this._displayables.length;t++){var n=this._displayables[t],r=n.getBoundingRect().clone();n.needLocalTransform()&&r.applyTransform(n.getLocalTransform(Zl)),e.union(r)}this._rect=e}return this._rect},ec.prototype.contain=function(e,t){var n=this.transformCoordToLocal(e,t);if(this.getBoundingRect().contain(n[0],n[1]))for(var r=0;r<this._displayables.length;r++)if(this._displayables[r].contain(e,t))return!0;return!1},Jn=ec;function ec(){var e=null!==Jl&&Jl.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}var tc=so();function nc(e,t,n,r,i,o,a){var s,u,l,c,d,p,f=!1,h=(H(i)?(a=o,o=i,i=null):q(i)&&(o=i.cb,a=i.during,f=i.isFrom,u=i.removeOpt,i=i.dataIndex),"leave"===e),g=(h||t.stopAnimation("leave"),p=e,s=i,u=h?u||{}:null,r=(g=r)&&r.getAnimationDelayParams?r.getAnimationDelayParams(t,i):null,g&&g.ecModel&&(l=(l=g.ecModel.getUpdatePayload())&&l.animation),p="update"===p,g&&g.isAnimationEnabled()?(d=c=i=void 0,d=u?(i=ne(u.duration,200),c=ne(u.easing,"cubicOut"),0):(i=g.getShallow(p?"animationDurationUpdate":"animationDuration"),c=g.getShallow(p?"animationEasingUpdate":"animationEasing"),g.getShallow(p?"animationDelayUpdate":"animationDelay")),H(d=l&&(null!=l.duration&&(i=l.duration),null!=l.easing&&(c=l.easing),null!=l.delay)?l.delay:d)&&(d=d(s,r)),{duration:(i=H(i)?i(s):i)||0,delay:d,easing:c}):null);g&&0<g.duration?(p={duration:g.duration,delay:g.delay||0,easing:g.easing,done:o,force:!!o||!!a,setToFinal:!h,scope:e,during:a},f?t.animateFrom(n,p):t.animateTo(n,p)):(t.stopAnimation(),f||t.attr(n),a&&a(1),o&&o())}function rc(e,t,n,r,i,o){nc("update",e,t,n,r,i,o)}function ic(e,t,n,r,i,o){nc("enter",e,t,n,r,i,o)}function oc(e){if(!e.__zr)return!0;for(var t=0;t<e.animators.length;t++)if("leave"===e.animators[t].scope)return!0;return!1}function ac(e,t,n,r,i,o){oc(e)||nc("leave",e,t,n,r,i,o)}function sc(e,t,n,r){e.removeTextContent(),e.removeTextGuideLine(),ac(e,{style:{opacity:0}},t,n,r)}function uc(e,t,n){function r(){e.parent&&e.parent.remove(e)}e.isGroup?e.traverse((function(e){e.isGroup||sc(e,t,n,r)})):sc(e,t,n,r)}function lc(e){tc(e).oldStyle=e.style}var cc=Math.max,dc=Math.min,pc={};function fc(e){return Va.extend(e)}function hc(e,t){return function(e,t){var r,i=Ru(e,t);function o(e){return e=r.call(this,e)||this,e.applyTransform=i.applyTransform,e.buildPath=i.buildPath,e}return n(o,r=Bu),o}(e,t)}function gc(e,t){pc[e]=t}function yc(e){if(pc.hasOwnProperty(e))return pc[e]}function mc(e,t,n,r){return e=new Bu(Ru(e,t)),n&&("center"===r&&(n=_c(n,e.getBoundingRect())),xc(e,n)),e}function vc(e,t,n){var r=new Za({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(e){"center"===n&&(e={width:e.width,height:e.height},r.setStyle(_c(t,e)))}});return r}function _c(e,t){t=t.width/t.height;var n=e.height*t;t=n<=e.width?e.height:(n=e.width)/t;return{x:e.x+e.width/2-n/2,y:e.y+e.height/2-t/2,width:n,height:t}}function bc(e,t){for(var n=[],r=e.length,i=0;i<r;i++){var o=e[i];n.push(o.getUpdatedPathProxy(!0))}return(t=new Va(t)).createPathProxy(),t.buildPath=function(e){var t;Nu(e)&&(e.appendPath(n),t=e.getContext())&&e.rebuildPath(t,1)},t}function xc(e,t){e.applyTransform&&(t=e.getBoundingRect().calculateTransform(t),e.applyTransform(t))}function wc(e,t){return ns(e,e,{lineWidth:t}),e}var Sc=is;function Ac(e,t){for(var n=gt([]);e&&e!==t;)mt(n,e.getLocalTransform(),n),e=e.parent;return n}function Cc(e,t,n){return t&&!B(t)&&(t=Xr.getLocalTransform(t)),Re([],e,t=n?xt([],t):t)}function kc(e,t,n){var r=0===t[4]||0===t[5]||0===t[0]?1:Math.abs(2*t[4]/t[0]),i=0===t[4]||0===t[5]||0===t[2]?1:Math.abs(2*t[4]/t[2]);r=Cc(["left"===e?-r:"right"===e?r:0,"top"===e?-i:"bottom"===e?i:0],t,n);return Math.abs(r[0])>Math.abs(r[1])?0<r[0]?"right":"left":0<r[1]?"bottom":"top"}function Tc(e){return!e.isGroup}function Ic(e,t,n){var r,i;function o(e){var t={x:e.x,y:e.y,rotation:e.rotation};return null!=e.shape&&(t.shape=I({},e.shape)),t}e&&t&&(i={},e.traverse((function(e){Tc(e)&&e.anid&&(i[e.anid]=e)})),r=i,t.traverse((function(e){var t,i;Tc(e)&&e.anid&&(t=r[e.anid])&&(i=o(e),e.attr(o(t)),rc(e,i,n,Cs(e).dataIndex))})))}function Mc(e,t){return N(e,(function(e){var n=e[0];n=cc(n,t.x),n=dc(n,t.x+t.width),e=e[1],e=cc(e,t.y);return[n,dc(e,t.y+t.height)]}))}function Oc(e,t){var n=cc(e.x,t.x),r=dc(e.x+e.width,t.x+t.width),i=cc(e.y,t.y);e=dc(e.y+e.height,t.y+t.height);if(n<=r&&i<=e)return{x:n,y:i,width:r-n,height:e-i}}function Pc(e,t,n){t=I({rectHover:!0},t);var r=t.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return 0===e.indexOf("image://")?(r.image=e.slice(8),M(r,n),new Za(t)):mc(e.replace("path://",""),t,n,"center")}function Dc(e,t,n,r,i){for(var o=0,a=i[i.length-1];o<i.length;o++){var s=i[o];if(Ec(e,t,n,r,s[0],s[1],a[0],a[1]))return!0;a=s}}function Ec(e,t,n,r,i,o,a,s){n-=e,r-=t,a-=i,s-=o;var u,l=a*r-n*s;return!((u=l)<=1e-6&&-1e-6<=u||(i=((u=e-i)*r-n*(e=t-o))/l)<0||1<i||(r=(u*s-a*e)/l)<0||1<r)}function Bc(e){var t=e.itemTooltipOption,n=e.componentModel,r=e.itemName,i=(t=V(t)?{formatter:t}:t,n.mainType),o=(n=n.componentIndex,{componentType:i,name:r,$vars:["name"]}),a=(o[i+"Index"]=n,e.formatterParamsExtra);a&&L(F(a),(function(e){be(o,e)||(o[e]=a[e],o.$vars.push(e))})),e=Cs(e.el);e.componentMainType=i,e.componentIndex=n,e.tooltipConfig={name:r,option:M({content:r,formatterParams:o},t)}}function Lc(e,t){var n;(n=e.isGroup?t(e):n)||e.traverse(t)}function Nc(e,t){if(e)if(U(e))for(var n=0;n<e.length;n++)Lc(e[n],t);else Lc(e,t)}gc("circle",zu),gc("ellipse",Vu),gc("sector",al),gc("ring",cl),gc("polygon",gl),gc("polyline",_l),gc("rect",us),gc("line",Al),gc("bezierCurve",Ol),gc("arc",Bl);var Rc=Object.freeze({__proto__:null,Arc:Bl,BezierCurve:Ol,BoundingRect:Et,Circle:zu,CompoundPath:Rl,Ellipse:Vu,Group:bi,Image:Za,IncrementalDisplayable:Jn,Line:Al,LinearGradient:Ul,OrientedBoundingRect:Xl,Path:Va,Point:St,Polygon:gl,Polyline:_l,RadialGradient:Fl,Rect:us,Ring:cl,Sector:al,Text:fs,applyTransform:Cc,clipPointsByRect:Mc,clipRectByRect:Oc,createIcon:Pc,extendPath:hc,extendShape:fc,getShapeClass:yc,getTransform:Ac,groupTransition:Ic,initProps:ic,isElementRemoved:oc,lineLineIntersect:Ec,linePolygonIntersect:Dc,makeImage:vc,makePath:mc,mergePath:bc,registerShape:gc,removeElement:ac,removeElementWithFadeOut:uc,resizePath:xc,setTooltipConfig:Bc,subPixelOptimize:Sc,subPixelOptimizeLine:wc,subPixelOptimizeRect:function(e){return rs(e.shape,e.shape,e.style),e},transformDirection:kc,traverseElements:Nc,updateProps:rc}),jc={};function Fc(e,t){for(var n=0;n<Os.length;n++){var r=Os[n],i=t[r];r=e.ensureState(r);r.style=r.style||{},r.style.text=i}var o=e.currentStates.slice();e.clearStates(!0),e.setStyle({text:t.normal}),e.useStates(o,!0)}function zc(e,t,n){for(var r,i=e.labelFetcher,o=e.labelDataIndex,a=e.labelDimIndex,s=t.normal,u={normal:r=null==(r=i?i.getFormattedLabel(o,"normal",null,a,s&&s.get("formatter"),null!=n?{interpolatedValue:n}:null):r)?H(e.defaultText)?e.defaultText(o,e,n):e.defaultText:r},l=0;l<Os.length;l++){var c=Os[l],d=t[c];u[c]=ne(i?i.getFormattedLabel(o,c,null,a,d&&d.get("formatter")):null,r)}return u}function $c(e,t,n,r){n=n||jc;for(var i=e instanceof fs,o=!1,a=0;a<Ps.length;a++)if((p=t[Ps[a]])&&p.getShallow("show")){o=!0;break}var s=i?e:e.getTextContent();if(o){i||(s||(s=new fs,e.setTextContent(s)),e.stateProxy&&(s.stateProxy=e.stateProxy));var u=zc(n,t),l=t.normal,c=!!l.getShallow("show"),d=Hc(l,r&&r.normal,n,!1,!i);for(d.text=u.normal,i||e.setTextConfig(Vc(l,n,!1)),a=0;a<Os.length;a++){var p,f,h,g=Os[a];(p=t[g])&&(f=s.ensureState(g),(h=!!ne(p.getShallow("show"),c))!=c&&(f.ignore=!h),f.style=Hc(p,r&&r[g],n,!0,!i),f.style.text=u[g],i||(e.ensureState(g).textConfig=Vc(p,n,!0)))}s.silent=!!l.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&&(Yc(s).setLabelText=function(e){e=zc(n,t,e),Fc(s,e)})}else s&&(s.ignore=!0);e.dirty()}function Uc(e,t){for(var n={normal:e.getModel(t=t||"label")},r=0;r<Os.length;r++){var i=Os[r];n[i]=e.getModel([i,t])}return n}function Hc(e,t,n,r,i){var o,a={},s=a,u=e,l=n,c=r,d=i;l=l||jc;e=u.ecModel;var p,f=e&&e.option.textStyle,h=function(e){for(var t;e&&e!==e.ecModel;){var n=(e.option||jc).rich;if(n){t=t||{};for(var r=F(n),i=0;i<r.length;i++){var o=r[i];t[o]=1}}e=e.parentModel}return t}(u);if(h)for(var g in p={},h)h.hasOwnProperty(g)&&(o=u.getModel(["rich",g]),Qc(p[g]={},o,f,l,c,d,!1,!0));return p&&(s.rich=p),(e=u.get("overflow"))&&(s.overflow=e),null!=(e=u.get("minMargin"))&&(s.margin=e),Qc(s,u,f,l,c,d,!0,!1),t&&I(a,t),a}function Vc(e,t,n){t=t||{};var r={},i=e.getShallow("rotate"),o=ne(e.getShallow("distance"),n?null:5),a=e.getShallow("offset");n=e.getShallow("position")||(n?null:"inside");return null!=(n="outside"===n?t.defaultOutsidePosition||"top":n)&&(r.position=n),null!=a&&(r.offset=a),null!=i&&(i*=Math.PI/180,r.rotation=i),null!=o&&(r.distance=o),r.outsideFill="inherit"===e.get("color")?t.inheritColor||null:"auto",r}var Gc=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],Wc=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],qc=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function Qc(e,t,n,r,i,o,a,s){n=!i&&n||jc;var u=r&&r.inheritColor,l=t.getShallow("color"),c=t.getShallow("textBorderColor"),d=ne(t.getShallow("opacity"),n.opacity);"inherit"!==l&&"auto"!==l||(l=u||null),"inherit"!==c&&"auto"!==c||(c=u||null),o||(l=l||n.color,c=c||n.textBorderColor),null!=l&&(e.fill=l),null!=c&&(e.stroke=c),l=ne(t.getShallow("textBorderWidth"),n.textBorderWidth),null!=l&&(e.lineWidth=l),c=ne(t.getShallow("textBorderType"),n.textBorderType),null!=c&&(e.lineDash=c),l=ne(t.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=l&&(e.lineDashOffset=l),null!=(d=i||null!=d||s?d:r&&r.defaultOpacity)&&(e.opacity=d),i||o||null==e.fill&&r.inheritColor&&(e.fill=r.inheritColor);for(var p=0;p<Gc.length;p++){var f=Gc[p];null!=(h=ne(t.getShallow(f),n[f]))&&(e[f]=h)}for(p=0;p<Wc.length;p++)f=Wc[p],null!=(h=t.getShallow(f))&&(e[f]=h);if(null==e.verticalAlign&&null!=(c=t.getShallow("baseline"))&&(e.verticalAlign=c),!a||!r.disableBox){for(p=0;p<qc.length;p++){var h;f=qc[p];null!=(h=t.getShallow(f))&&(e[f]=h)}l=t.getShallow("borderType"),null!=l&&(e.borderDash=l),"auto"!==e.backgroundColor&&"inherit"!==e.backgroundColor||!u||(e.backgroundColor=u),"auto"!==e.borderColor&&"inherit"!==e.borderColor||!u||(e.borderColor=u)}}var Yc=so();var Xc=["textStyle","color"],Kc=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],Jc=new fs;Zc.prototype.getTextColor=function(e){var t=this.ecModel;return this.getShallow("color")||(!e&&t?t.get(Xc):null)},Zc.prototype.getFont=function(){return e={fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},t=(t=this.ecModel)&&t.getModel("textStyle"),se([e.fontStyle||t&&t.getShallow("fontStyle")||"",e.fontWeight||t&&t.getShallow("fontWeight")||"",(e.fontSize||t&&t.getShallow("fontSize")||12)+"px",e.fontFamily||t&&t.getShallow("fontFamily")||"sans-serif"].join(" "));var e,t},Zc.prototype.getTextRect=function(e){for(var t={text:e,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<Kc.length;n++)t[Kc[n]]=this.getShallow(Kc[n]);return Jc.useStyle(t),Jc.update(),Jc.getBoundingRect()},Sc=Zc;function Zc(){}var ed=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],td=Co(ed),nd=(rd.prototype.getLineStyle=function(e){return td(this,e)},rd);function rd(){}var id=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],od=Co(id),ad=(sd.prototype.getItemStyle=function(e,t){return od(this,e,t)},sd);function sd(){}cd.prototype.init=function(e,t,n){},cd.prototype.mergeOption=function(e,t){T(this.option,e,!0)},cd.prototype.get=function(e,t){return null==e?this.option:this._doGet(this.parsePath(e),!t&&this.parentModel)},cd.prototype.getShallow=function(e,t){var n=this.option;n=null==n?n:n[e];return null!=n||t||(t=this.parentModel)&&(n=t.getShallow(e)),n},cd.prototype.getModel=function(e,t){var n=null!=e;e=n?this.parsePath(e):null;return new cd(n?this._doGet(e):this.option,t=t||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(e)),this.ecModel)},cd.prototype.isEmpty=function(){return null==this.option},cd.prototype.restoreData=function(){},cd.prototype.clone=function(){return new this.constructor(k(this.option))},cd.prototype.parsePath=function(e){return"string"==typeof e?e.split("."):e},cd.prototype.resolveParentPath=function(e){return e},cd.prototype.isAnimationEnabled=function(){if(!o.node&&this.option)return null!=this.option.animation?!!this.option.animation:this.parentModel?this.parentModel.isAnimationEnabled():void 0},cd.prototype._doGet=function(e,t){var n=this.option;if(e){for(var r=0;r<e.length&&(!e[r]||null!=(n=n&&"object"==s(n)?n[e[r]]:null));r++);null==n&&t&&(n=t._doGet(this.resolveParentPath(e),t.parentModel))}return n};var ud,ld=cd;function cd(e,t,n){this.parentModel=t,this.ecModel=n,this.option=e}_o(ld),wd=ld,ud=["__\0is_clz",xo++].join("_"),wd.prototype[ud]=!0,wd.isInstance=function(e){return!(!e||!e[ud])},E(ld,nd),E(ld,ad),E(ld,To),E(ld,Sc);var dd=Math.round(10*Math.random());function pd(e){return[e||"",dd++].join("_")}function fd(e,t){return T(T({},e,!0),t,!0)}var hd="EN",gd={},yd={},md=o.domSupported&&-1<(document.documentElement.lang||navigator.language||navigator.browserLanguage||hd).toUpperCase().indexOf("ZH")?"ZH":hd;function vd(e,t){e=e.toUpperCase(),yd[e]=new ld(t),gd[e]=t}vd("EN",{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"},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:". "}}}}),vd("ZH",{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},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}});var _d=36e5,bd=24*_d,xd=(xo=365*bd,{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}"}),wd="{yyyy}-{MM}-{dd}",Sd={year:"{yyyy}",month:"{yyyy}-{MM}",day:wd,hour:wd+" "+xd.hour,minute:wd+" "+xd.minute,second:wd+" "+xd.second,millisecond:xd.none},Ad=["year","month","day","hour","minute","second","millisecond"],Cd=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function kd(e,t){return"0000".substr(0,t-(e+="").length)+e}function Td(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function Id(e,t,n,r){e=zi(e);var i=e[Pd(n)](),o=e[Dd(n)]()+1,a=Math.floor((o-1)/3)+1,s=e[Ed(n)](),u=e["get"+(n?"UTC":"")+"Day"](),l=e[Bd(n)](),c=(l-1)%12+1,d=e[Ld(n)](),p=e[Nd(n)](),f=(e=e[Rd(n)](),n=(r instanceof ld?r:yd[r||md]||yd[hd]).getModel("time"),r=n.get("month"),n.get("monthAbbr")),h=n.get("dayOfWeek");n=n.get("dayOfWeekAbbr");return(t||"").replace(/{yyyy}/g,i+"").replace(/{yy}/g,kd(i%100+"",2)).replace(/{Q}/g,a+"").replace(/{MMMM}/g,r[o-1]).replace(/{MMM}/g,f[o-1]).replace(/{MM}/g,kd(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,kd(s,2)).replace(/{d}/g,s+"").replace(/{eeee}/g,h[u]).replace(/{ee}/g,n[u]).replace(/{e}/g,u+"").replace(/{HH}/g,kd(l,2)).replace(/{H}/g,l+"").replace(/{hh}/g,kd(c+"",2)).replace(/{h}/g,c+"").replace(/{mm}/g,kd(d,2)).replace(/{m}/g,d+"").replace(/{ss}/g,kd(p,2)).replace(/{s}/g,p+"").replace(/{SSS}/g,kd(e,3)).replace(/{S}/g,e+"")}function Md(e,t){e=zi(e);var n=e[Dd(t)]()+1,r=e[Ed(t)](),i=e[Bd(t)](),o=e[Ld(t)](),a=e[Nd(t)]();e=0===e[Rd(t)](),t=e&&0===a,a=t&&0===o,o=a&&0===i,i=o&&1===r;return i&&1===n?"year":i?"month":o?"day":a?"hour":t?"minute":e?"second":"millisecond"}function Od(e,t,n){var r=W(e)?zi(e):e;switch(t=t||Md(e,n)){case"year":return r[Pd(n)]();case"half-year":return 6<=r[Dd(n)]()?1:0;case"quarter":return Math.floor((r[Dd(n)]()+1)/4);case"month":return r[Dd(n)]();case"day":return r[Ed(n)]();case"half-day":return r[Bd(n)]()/24;case"hour":return r[Bd(n)]();case"minute":return r[Ld(n)]();case"second":return r[Nd(n)]();case"millisecond":return r[Rd(n)]()}}function Pd(e){return e?"getUTCFullYear":"getFullYear"}function Dd(e){return e?"getUTCMonth":"getMonth"}function Ed(e){return e?"getUTCDate":"getDate"}function Bd(e){return e?"getUTCHours":"getHours"}function Ld(e){return e?"getUTCMinutes":"getMinutes"}function Nd(e){return e?"getUTCSeconds":"getSeconds"}function Rd(e){return e?"getUTCMilliseconds":"getMilliseconds"}function jd(e){return e?"setUTCMonth":"setMonth"}function Fd(e){return e?"setUTCDate":"setDate"}function zd(e){return e?"setUTCHours":"setHours"}function $d(e){return e?"setUTCMinutes":"setMinutes"}function Ud(e){return e?"setUTCSeconds":"setSeconds"}function Hd(e){return e?"setUTCMilliseconds":"setMilliseconds"}function Vd(e){var t;return Gi(e)?(t=(e+"").split("."))[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(1<t.length?"."+t[1]:""):V(e)?e:"-"}function Gd(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,(function(e,t){return t.toUpperCase()})),t?e&&e.charAt(0).toUpperCase()+e.slice(1):e}var Wd=oe;function qd(e,t,n){function r(e){return e&&se(e)?e:"-"}function i(e){return null!=e&&!isNaN(e)&&isFinite(e)}var o="time"===t,a=e instanceof Date;if(o||a){o=o?zi(e):e;if(!isNaN(+o))return Id(o,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(a)return"-"}return"ordinal"===t?G(e)?r(e):W(e)&&i(e)?e+"":"-":i(o=Vi(e))?Vd(o):G(e)?r(e):"boolean"==typeof e?e+"":"-"}function Qd(e,t){return"{"+e+(null==t?"":t)+"}"}var Yd=["a","b","c","d","e","f","g"];function Xd(e,t,n){var r=(t=U(t)?t:[t]).length;if(!r)return"";for(var i=t[0].$vars||[],o=0;o<i.length;o++){var a=Yd[o];e=e.replace(Qd(a),Qd(a,0))}for(var s=0;s<r;s++)for(var u=0;u<i.length;u++){var l=t[s][i[u]];e=e.replace(Qd(Yd[u],s),n?tt(l):l)}return e}function Kd(e,t){e=V(e)?{color:e,extraCssText:t}:e||{};var n=e.color,r=e.type,i=(t=e.extraCssText,e.renderMode||"html");return n?"html"===i?"subItem"===r?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+tt(n)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+tt(n)+";"+(t||"")+'"></span>':{renderMode:i,content:"{"+(e.markerId||"markerX")+"|}  ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:n}:{width:10,height:10,borderRadius:5,backgroundColor:n}}:""}function Jd(e,t){return t=t||"transparent",V(e)?e:q(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function Zd(e,t){var n;"_blank"===t||"blank"===t?((n=window.open()).opener=null,n.location.href=e):window.open(e,t)}var ep=L,tp=["left","right","top","bottom","width","height"],np=[["width","left","right"],["height","top","bottom"]];function rp(e,t,n,r,i){var o=0,a=0,s=(null==r&&(r=1/0),null==i&&(i=1/0),0);t.eachChild((function(u,l){var c,d,p,f=u.getBoundingRect();l=t.childAt(l+1),l=l&&l.getBoundingRect();s="horizontal"===e?(d=f.width+(l?-l.x+f.x:0),r<(c=o+d)||u.newline?(o=0,c=d,a+=s+n,f.height):Math.max(s,f.height)):(d=f.height+(l?-l.y+f.y:0),i<(p=a+d)||u.newline?(o+=s+n,a=0,p=d,f.width):Math.max(s,f.width)),u.newline||(u.x=o,u.y=a,u.markRedraw(),"horizontal"===e?o=c+n:a=p+n)}))}var ip=rp;function op(e,t,n){n=Wd(n||0);var r=t.width,i=t.height,o=Di(e.left,r),a=Di(e.top,i),s=(t=Di(e.right,r),Di(e.bottom,i)),u=Di(e.width,r),l=Di(e.height,i),c=n[2]+n[0],d=n[1]+n[3],p=e.aspect;switch(isNaN(u)&&(u=r-t-d-o),isNaN(l)&&(l=i-s-c-a),null!=p&&(isNaN(u)&&isNaN(l)&&(r/i<p?u=.8*r:l=.8*i),isNaN(u)&&(u=p*l),isNaN(l))&&(l=u/p),isNaN(o)&&(o=r-t-u-d),isNaN(a)&&(a=i-s-l-c),e.left||e.right){case"center":o=r/2-u/2-n[3];break;case"right":o=r-u-d}switch(e.top||e.bottom){case"middle":case"center":a=i/2-l/2-n[0];break;case"bottom":a=i-l-c}return o=o||0,a=a||0,isNaN(u)&&(u=r-d-o-(t||0)),isNaN(l)&&(l=i-c-a-(s||0)),p=new Et(o+n[3],a+n[0],u,l),p.margin=n,p}function ap(e){return e=e.layoutMode||e.constructor.layoutMode,q(e)?e:e?{type:e}:null}function sp(e,t,n){var r=n&&n.ignoreSize,i=(n=(U(r)||(r=[r,r]),o(np[0],0)),o(np[1],1));function o(n,i){var o={},u=0,l={},c=0;if(ep(n,(function(t){l[t]=e[t]})),ep(n,(function(e){a(t,e)&&(o[e]=l[e]=t[e]),s(o,e)&&u++,s(l,e)&&c++})),r[i])s(t,n[1])?l[n[2]]=null:s(t,n[2])&&(l[n[1]]=null);else if(2!==c&&u){if(!(2<=u))for(var d=0;d<n.length;d++){var p=n[d];if(!a(o,p)&&a(e,p)){o[p]=e[p];break}}return o}return l}function a(e,t){return e.hasOwnProperty(t)}function s(e,t){return null!=e[t]&&"auto"!==e[t]}function u(e,t,n){ep(e,(function(e){t[e]=n[e]}))}u(np[0],e,n),u(np[1],e,i)}function up(e){return t={},(n=e)&&t&&ep(tp,(function(e){n.hasOwnProperty(e)&&(t[e]=n[e])})),t;var t,n}$(rp,"vertical"),$(rp,"horizontal");var lp,cp,dp,pp,fp=so(),hp=(n(gp,lp=ld),gp.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n)},gp.prototype.mergeDefaultAndTheme=function(e,t){var n=ap(this),r=n?up(e):{};T(e,t.getTheme().get(this.mainType)),T(e,this.getDefaultOption()),n&&sp(e,r,n)},gp.prototype.mergeOption=function(e,t){T(this.option,e,!0);var n=ap(this);n&&sp(this.option,e,n)},gp.prototype.optionUpdated=function(e,t){},gp.prototype.getDefaultOption=function(){var e=this.constructor;if(!(t=e)||!t[mo])return e.defaultOption;var t=fp(this);if(!t.defaultOption){for(var n=[],r=e;r;){var i=r.prototype.defaultOption;i&&n.push(i),r=r.superClass}for(var o={},a=n.length-1;0<=a;a--)o=T(o,n[a],!0);t.defaultOption=o}return t.defaultOption},gp.prototype.getReferringComponents=function(e,t){var n=e+"Id";return fo(this.ecModel,e,{index:this.get(e+"Index",!0),id:this.get(n,!0)},t)},gp.prototype.getBoxLayoutParams=function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}},gp.prototype.getZLevelKey=function(){return""},gp.prototype.setZLevel=function(e){this.option.zlevel=e},gp.protoInitialize=((nd=gp.prototype).type="component",nd.id="",nd.name="",nd.mainType="",nd.subType="",void(nd.componentIndex=0)),gp);function gp(e,t,n){return e=lp.call(this,e,t,n)||this,e.uid=pd("ec_cpt_model"),e}function yp(e,t){return e[t]||(e[t]={predecessor:[],successor:[]}),e[t]}bo(hp,ld),Ao(hp),dp={},(cp=hp).registerSubTypeDefaulter=function(e,t){e=vo(e),dp[e.main]=t},cp.determineSubType=function(e,t){var n,r=t.type;return r||(n=vo(e).main,cp.hasSubTypes(e)&&dp[n]&&(r=dp[n](t))),r},pp=function(e){var t=[];return L(hp.getClassesByMainType(e),(function(e){t=t.concat(e.dependencies||e.prototype.dependencies||[])})),t=N(t,(function(e){return vo(e).main})),"dataset"!==e&&P(t,"dataset")<=0&&t.unshift("dataset"),t},hp.topologicalTravel=function(e,t,n,r){if(e.length){o={},a=[],L(i=t,(function(e){var t,n,r=yp(o,e),s=r.originalDeps=pp(e);t=i,n=[],L(s,(function(e){0<=P(t,e)&&n.push(e)})),s=n;r.entryCount=s.length,0===r.entryCount&&a.push(e),L(s,(function(t){P(r.predecessor,t)<0&&r.predecessor.push(t);var n=yp(o,t);P(n.successor,t)<0&&n.successor.push(e)}))}));t={graph:o,noEntryList:a};var i,o,a,s=t.graph,u=t.noEntryList,l={};for(L(e,(function(e){l[e]=!0}));u.length;){var c=u.pop(),d=s[c],p=!!l[c];p&&(n.call(r,c,d.originalDeps.slice()),delete l[c]),L(d.successor,p?h:f)}L(l,(function(){throw new Error("")}))}function f(e){s[e].entryCount--,0===s[e].entryCount&&u.push(e)}function h(e){l[e]=!0,f(e)}};ad="","undefined"!=typeof navigator&&(ad=navigator.platform||""),To="rgba(0, 0, 0, 0.2)";var mp={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:To,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:To,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:To,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:To,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:To,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:To,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:ad.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},vp=ye(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),_p="original",bp="arrayRows",xp="objectRows",wp="keyedColumns",Sp="typedArray",Ap="unknown",Cp="column",kp="row",Tp={Must:1,Might:2,Not:3},Ip=so();function Mp(e,t,n){var r,i,o,a,s,u={},l=Op(t);return l&&e&&(r=[],i=[],t=t.ecModel,t=Ip(t).datasetMap,l=l.uid+"_"+n.seriesLayoutBy,L(e=e.slice(),(function(t,n){t=q(t)?t:e[n]={name:t},"ordinal"===t.type&&null==o&&(o=n,a=d(t)),u[t.name]=[]})),s=t.get(l)||t.set(l,{categoryWayDim:a,valueWayDim:0}),L(e,(function(e,t){var n,a=e.name;e=d(e);null==o?(n=s.valueWayDim,c(u[a],n,e),c(i,n,e),s.valueWayDim+=e):o===t?(c(u[a],0,e),c(r,0,e)):(n=s.categoryWayDim,c(u[a],n,e),c(i,n,e),s.categoryWayDim+=e)})),r.length&&(u.itemName=r),i.length)&&(u.seriesName=i),u;function c(e,t,n){for(var r=0;r<n;r++)e.push(t+r)}function d(e){return e=e.dimsDef,e?e.length:1}}function Op(e){if(!e.get("data",!0))return fo(e.ecModel,"dataset",{index:e.get("datasetIndex",!0),id:e.get("datasetId",!0)},po).models[0]}function Pp(e,t){var n,r,i,o=e.data,a=e.sourceFormat,s=e.seriesLayoutBy,u=e.dimensionsDefine,l=e.startIndex,c=t;if(!Y(o)){if(u&&(q(u=u[c])?(r=u.name,i=u.type):V(u)&&(r=u)),null!=i)return"ordinal"===i?Tp.Must:Tp.Not;if(a===bp){var d=o;if(s===kp){for(var p=d[c],f=0;f<(p||[]).length&&f<5;f++)if(null!=(n=_(p[l+f])))return n}else for(f=0;f<d.length&&f<5;f++){var h=d[l+f];if(h&&null!=(n=_(h[c])))return n}}else if(a===xp){var g=o;if(!r)return Tp.Not;for(f=0;f<g.length&&f<5;f++)if((m=g[f])&&null!=(n=_(m[r])))return n}else if(a===wp){if(u=o,!r)return Tp.Not;if(!(p=u[r])||Y(p))return Tp.Not;for(f=0;f<p.length&&f<5;f++)if(null!=(n=_(p[f])))return n}else if(a===_p){var y=o;for(f=0;f<y.length&&f<5;f++){var m,v=eo(m=y[f]);if(!U(v))return Tp.Not;if(null!=(n=_(v[c])))return n}}}return Tp.Not;function _(e){var t=V(e);return null!=e&&isFinite(e)&&""!==e?t?Tp.Might:Tp.Not:t&&"-"!==e?Tp.Must:void 0}}var Dp,Ep,Bp,Lp=ye(),Np=so(),Rp=(so(),jp.prototype.getColorFromPalette=function(e,t,n){var r=Ki(this.get("color",!0)),i=this.get("colorLayer",!0),o=this,a=Np;return a=a(t=t||o),o=a.paletteIdx||0,(t=a.paletteNameMap=a.paletteNameMap||{}).hasOwnProperty(e)?t[e]:(i=(i=null!=n&&i?function(e,t){for(var n=e.length,r=0;r<n;r++)if(e[r].length>t)return e[r];return e[n-1]}(i,n):r)||r)&&i.length?(n=i[o],e&&(t[e]=n),a.paletteIdx=(o+1)%i.length,n):void 0},jp.prototype.clearColorPalette=function(){var e;(e=Np)(this).paletteIdx=0,e(this).paletteNameMap={}},jp);function jp(){}var Fp,zp="\0_ec_inner",$p=(n(Up,Fp=ld),Up.prototype.init=function(e,t,n,r,i,o){r=r||{},this.option=null,this._theme=new ld(r),this._locale=new ld(i),this._optionManager=o},Up.prototype.setOption=function(e,t,n){t=Gp(t),this._optionManager.setOption(e,n,t),this._resetOption(null,t)},Up.prototype.resetOption=function(e,t){return this._resetOption(e,Gp(t))},Up.prototype._resetOption=function(e,t){var n,r=!1,i=this._optionManager;return e&&"recreate"!==e||(n=i.mountOption("recreate"===e),this.option&&"recreate"!==e?(this.restoreData(),this._mergeOption(n,t)):Bp(this,n),r=!0),"timeline"!==e&&"media"!==e||this.restoreData(),e&&"recreate"!==e&&"timeline"!==e||(n=i.getTimelineOption(this))&&(r=!0,this._mergeOption(n,t)),e&&"recreate"!==e&&"media"!==e||(n=i.getMediaOption(this)).length&&L(n,(function(e){r=!0,this._mergeOption(e,t)}),this),r},Up.prototype.mergeOption=function(e){this._mergeOption(e,null)},Up.prototype._mergeOption=function(e,t){var n=this.option,r=this._componentsMap,i=this._componentsCount,o=[],a=ye(),s=t&&t.replaceMergeMainTypeMap;Ip(this).datasetMap=ye(),L(e,(function(e,t){null!=e&&(hp.hasClass(t)?t&&(o.push(t),a.set(t,!0)):n[t]=null==n[t]?k(e):T(n[t],e,!0))})),s&&s.each((function(e,t){hp.hasClass(t)&&!a.get(t)&&(o.push(t),a.set(t,!0))})),hp.topologicalTravel(o,hp.getAllClassMainTypes(),(function(t){var o,a=function(e,t,n){return(t=(t=Lp.get(t))&&t(e))?n.concat(t):n}(this,t,Ki(e[t])),u=r.get(t),l=u?s&&s.get(t)?"replaceMerge":"normalMerge":"replaceAll",c=(u=function(e,t,n){var r,i,o,a,s,u,l,c,d,p,f="normalMerge"===n,h="replaceMerge"===n,g="replaceAll"===n,y=(e=e||[],t=(t||[]).slice(),ye());return L(t,(function(e,n){q(e)||(t[n]=null)})),n=function(e,t,n){var r=[];if("replaceAll"!==n)for(var i=0;i<e.length;i++){var o=e[i];o&&null!=o.id&&t.set(o.id,i),r.push({existing:"replaceMerge"===n||oo(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return r}(e,y,n),(f||h)&&(r=n,i=e,o=y,L(a=t,(function(e,t){var n,s,u;e&&null!=e.id&&(n=no(e.id),null!=(s=o.get(n)))&&(ae(!(u=r[s]).newOption,'Duplicated option on id "'+n+'".'),u.newOption=e,u.existing=i[s],a[t]=null)}))),f&&(s=n,L(u=t,(function(e,t){if(e&&null!=e.name)for(var n=0;n<s.length;n++){var r=s[n].existing;if(!s[n].newOption&&r&&(null==r.id||null==e.id)&&!oo(e)&&!oo(r)&&to("name",r,e))return s[n].newOption=e,void(u[t]=null)}}))),f||h?(c=n,d=h,L(t,(function(e){if(e){for(var t,n=0;(t=c[n])&&(t.newOption||oo(t.existing)||t.existing&&null!=e.id&&!to("id",e,t.existing));)n++;t?(t.newOption=e,t.brandNew=d):c.push({newOption:e,brandNew:d,existing:null,keyInfo:null}),n++}}))):g&&(l=n,L(t,(function(e){l.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})}))),e=n,p=ye(),L(e,(function(e){var t=e.existing;t&&p.set(t.id,e)})),L(e,(function(e){var t=e.newOption;ae(!t||null==t.id||!p.get(t.id)||p.get(t.id)===e,"id duplicates: "+(t&&t.id)),t&&null!=t.id&&p.set(t.id,e),e.keyInfo||(e.keyInfo={})})),L(e,(function(e,t){var n=e.existing,r=e.newOption,i=e.keyInfo;if(q(r)){if(i.name=null!=r.name?no(r.name):n?n.name:Xi+t,n)i.id=no(n.id);else if(null!=r.id)i.id=no(r.id);else for(var o=0;i.id="\0"+i.name+"\0"+o++,p.get(i.id););p.set(i.id,e)}})),n}(u,a,l),function(e,t,n){L(e,(function(e){var r,i,o=e.newOption;q(o)&&(e.keyInfo.mainType=t,e.keyInfo.subType=(r=t,o=o,e=e.existing,i=n,o.type||(e?e.subType:i.determineSubType(r,o))))}))}(u,t,hp),n[t]=null,r.set(t,null),i.set(t,0),[]),d=[],p=0;L(u,(function(e,n){var r=e.existing,i=e.newOption;if(i){var a=hp.getClass(t,e.keyInfo.subType,!("series"===t));if(!a)return;if("tooltip"===t){if(o)return;o=!0}r&&r.constructor===a?(r.name=e.keyInfo.name,r.mergeOption(i,this),r.optionUpdated(i,!1)):(n=I({componentIndex:n},e.keyInfo),I(r=new a(i,this,this,n),n),e.brandNew&&(r.__requireNewView=!0),r.init(i,this,this),r.optionUpdated(null,!0))}else r&&(r.mergeOption({},this),r.optionUpdated({},!1));r?(c.push(r.option),d.push(r),p++):(c.push(void 0),d.push(void 0))}),this),n[t]=c,r.set(t,d),i.set(t,p),"series"===t&&Dp(this)}),this),this._seriesIndices||Dp(this)},Up.prototype.getOption=function(){var e=k(this.option);return L(e,(function(t,n){if(hp.hasClass(n)){for(var r=Ki(t),i=r.length,o=!1,a=i-1;0<=a;a--)r[a]&&!oo(r[a])?o=!0:(r[a]=null,o||i--);r.length=i,e[n]=r}})),delete e[zp],e},Up.prototype.getTheme=function(){return this._theme},Up.prototype.getLocaleModel=function(){return this._locale},Up.prototype.setUpdatePayload=function(e){this._payload=e},Up.prototype.getUpdatePayload=function(){return this._payload},Up.prototype.getComponent=function(e,t){var n=this._componentsMap.get(e);if(n){if(e=n[t||0],e)return e;if(null==t)for(var r=0;r<n.length;r++)if(n[r])return n[r]}},Up.prototype.queryComponents=function(e){var t,n,r,i,o,a=e.mainType;return a&&(t=e.index,n=e.id,r=e.name,i=this._componentsMap.get(a))&&i.length?(null!=t?(o=[],L(Ki(t),(function(e){i[e]&&o.push(i[e])}))):o=null!=n?Hp("id",n,i):null!=r?Hp("name",r,i):j(i,(function(e){return!!e})),Vp(o,e)):[]},Up.prototype.findComponents=function(e){var t,n=e.query,r=e.mainType,i=(i=r+"Index",o=r+"Id",t=r+"Name",!(n=n)||null==n[i]&&null==n[o]&&null==n[t]?null:{mainType:r,index:n[i],id:n[o],name:n[t]}),o=i?this.queryComponents(i):j(this._componentsMap.get(r),(function(e){return!!e}));return n=Vp(o,e),e.filter?j(n,e.filter):n},Up.prototype.eachComponent=function(e,t,n){var r=this._componentsMap;if(H(e)){var i=t,o=e;r.each((function(e,t){for(var n=0;e&&n<e.length;n++){var r=e[n];r&&o.call(i,t,r,r.componentIndex)}}))}else for(var a=V(e)?r.get(e):q(e)?this.findComponents(e):null,s=0;a&&s<a.length;s++){var u=a[s];u&&t.call(n,u,u.componentIndex)}},Up.prototype.getSeriesByName=function(e){var t=ro(e,null);return j(this._componentsMap.get("series"),(function(e){return!!e&&null!=t&&e.name===t}))},Up.prototype.getSeriesByIndex=function(e){return this._componentsMap.get("series")[e]},Up.prototype.getSeriesByType=function(e){return j(this._componentsMap.get("series"),(function(t){return!!t&&t.subType===e}))},Up.prototype.getSeries=function(){return j(this._componentsMap.get("series"),(function(e){return!!e}))},Up.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},Up.prototype.eachSeries=function(e,t){Ep(this),L(this._seriesIndices,(function(n){var r=this._componentsMap.get("series")[n];e.call(t,r,n)}),this)},Up.prototype.eachRawSeries=function(e,t){L(this._componentsMap.get("series"),(function(n){n&&e.call(t,n,n.componentIndex)}))},Up.prototype.eachSeriesByType=function(e,t,n){Ep(this),L(this._seriesIndices,(function(r){var i=this._componentsMap.get("series")[r];i.subType===e&&t.call(n,i,r)}),this)},Up.prototype.eachRawSeriesByType=function(e,t,n){return L(this.getSeriesByType(e),t,n)},Up.prototype.isSeriesFiltered=function(e){return Ep(this),null==this._seriesIndicesMap.get(e.componentIndex)},Up.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},Up.prototype.filterSeries=function(e,t){Ep(this);var n=[];L(this._seriesIndices,(function(r){var i=this._componentsMap.get("series")[r];e.call(t,i,r)&&n.push(r)}),this),this._seriesIndices=n,this._seriesIndicesMap=ye(n)},Up.prototype.restoreData=function(e){Dp(this);var t=this._componentsMap,n=[];t.each((function(e,t){hp.hasClass(t)&&n.push(t)})),hp.topologicalTravel(n,hp.getAllClassMainTypes(),(function(n){L(t.get(n),(function(t){!t||"series"===n&&function(e,t){var n,r;if(t)return n=t.seriesIndex,r=t.seriesId,t=t.seriesName,null!=n&&e.componentIndex!==n||null!=r&&e.id!==r||null!=t&&e.name!==t}(t,e)||t.restoreData()}))}))},Up.internalField=(Dp=function(e){var t=e._seriesIndices=[];L(e._componentsMap.get("series"),(function(e){e&&t.push(e.componentIndex)})),e._seriesIndicesMap=ye(t)},Ep=function(e){},void(Bp=function(e,t){e.option={},e.option[zp]=1,e._componentsMap=ye({series:[]}),e._componentsCount=ye();var n,r,i=t.aria;q(i)&&null==i.enabled&&(i.enabled=!0),n=t,i=e._theme.option,r=n.color&&!n.colorLayer,L(i,(function(e,t){"colorLayer"===t&&r||hp.hasClass(t)||("object"==s(e)?n[t]=n[t]?T(n[t],e,!1):k(e):null==n[t]&&(n[t]=e))})),T(t,mp,!1),e._mergeOption(t,null)})),Up);function Up(){return null!==Fp&&Fp.apply(this,arguments)||this}function Hp(e,t,n){var r,i;return U(t)?(r=ye(),L(t,(function(e){null!=e&&null!=ro(e,null)&&r.set(e,!0)})),j(n,(function(t){return t&&r.get(t[e])}))):(i=ro(t,null),j(n,(function(t){return t&&null!=i&&t[e]===i})))}function Vp(e,t){return t.hasOwnProperty("subType")?j(e,(function(e){return e&&e.subType===t.subType})):e}function Gp(e){var t=ye();return e&&L(Ki(e.replaceMerge),(function(e){t.set(e,!0)})),{replaceMergeMainTypeMap:t}}function Wp(e){L(qp,(function(t){this[t]=z(e[t],e)}),this)}E($p,Rp);var qp=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],Qp={},Yp=(Xp.prototype.create=function(e,t){var n=[];L(Qp,(function(r,i){r=r.create(e,t),n=n.concat(r||[])})),this._coordinateSystems=n},Xp.prototype.update=function(e,t){L(this._coordinateSystems,(function(n){n.update&&n.update(e,t)}))},Xp.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},Xp.register=function(e,t){Qp[e]=t},Xp.get=function(e){return Qp[e]},Xp);function Xp(){this._coordinateSystems=[]}var Kp=/^(min|max)?(.+)$/,Jp=(Zp.prototype.setOption=function(e,t,n){e&&(L(Ki(e.series),(function(e){e&&e.data&&Y(e.data)&&le(e.data)})),L(Ki(e.dataset),(function(e){e&&e.source&&Y(e.source)&&le(e.source)}))),e=k(e);var r=this._optionBackup;e=function(e,t,n){var r,i,o=[],a=e.baseOption,s=e.timeline,u=e.options,l=e.media,c=!!e.media,d=!!(u||s||a&&a.timeline);function p(e){L(t,(function(t){t(e,n)}))}return a?(i=a).timeline||(i.timeline=s):((d||c)&&(e.options=e.media=null),i=e),c&&U(l)&&L(l,(function(e){e&&e.option&&(e.query?o.push(e):r=r||e)})),p(i),L(u,p),L(o,(function(e){return p(e.option)})),{baseOption:i,timelineOptions:u||[],mediaDefault:r,mediaList:o}}(e,t,!r);this._newBaseOption=e.baseOption,r?(e.timelineOptions.length&&(r.timelineOptions=e.timelineOptions),e.mediaList.length&&(r.mediaList=e.mediaList),e.mediaDefault&&(r.mediaDefault=e.mediaDefault)):this._optionBackup=e},Zp.prototype.mountOption=function(e){var t=this._optionBackup;return this._timelineOptions=t.timelineOptions,this._mediaList=t.mediaList,this._mediaDefault=t.mediaDefault,this._currentMediaIndices=[],k(e?t.baseOption:this._newBaseOption)},Zp.prototype.getTimelineOption=function(e){var t,n=this._timelineOptions;return n.length&&(e=e.getComponent("timeline"))?k(n[e.getCurrentIndex()]):t},Zp.prototype.getMediaOption=function(e){var t=this._api.getWidth(),n=this._api.getHeight(),r=this._mediaList,i=this._mediaDefault,o=[],a=[];if(r.length||i){for(var s,u,l=0,c=r.length;l<c;l++)!function(e,t,n){var r={width:t,height:n,aspectratio:t/n},i=!0;return L(e,(function(e,t){var n;t=t.match(Kp);t&&t[1]&&t[2]&&(n=t[1],t=t[2].toLowerCase(),t=r[t],e=e,("min"===(n=n)?e<=t:"max"===n?t<=e:t===e)||(i=!1))})),i}(r[l].query,t,n)||o.push(l);(o=!o.length&&i?[-1]:o).length&&(s=o,u=this._currentMediaIndices,s.join(",")!==u.join(","))&&(a=N(o,(function(e){return k((-1===e?i:r[e]).option)}))),this._currentMediaIndices=o}return a},Zp);function Zp(e){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=e}var ef=L,tf=q,nf=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function rf(e){var t=e&&e.itemStyle;if(t)for(var n=0,r=nf.length;n<r;n++){var i=nf[n],o=t.normal,a=t.emphasis;o&&o[i]&&(e[i]=e[i]||{},e[i].normal?T(e[i].normal,o[i]):e[i].normal=o[i],o[i]=null),a&&a[i]&&(e[i]=e[i]||{},e[i].emphasis?T(e[i].emphasis,a[i]):e[i].emphasis=a[i],a[i]=null)}}function of(e,t,n){var r,i;e&&e[t]&&(e[t].normal||e[t].emphasis)&&(r=e[t].normal,i=e[t].emphasis,r&&(n?(e[t].normal=e[t].emphasis=null,M(e[t],r)):e[t]=r),i)&&(e.emphasis=e.emphasis||{},(e.emphasis[t]=i).focus&&(e.emphasis.focus=i.focus),i.blurScope)&&(e.emphasis.blurScope=i.blurScope)}function af(e){of(e,"itemStyle"),of(e,"lineStyle"),of(e,"areaStyle"),of(e,"label"),of(e,"labelLine"),of(e,"upperLabel"),of(e,"edgeLabel")}function sf(e,t){var n=tf(e)&&e[t],r=tf(n)&&n.textStyle;if(r)for(var i=0,o=Zi.length;i<o;i++){var a=Zi[i];r.hasOwnProperty(a)&&(n[a]=r[a])}}function uf(e){e&&(af(e),sf(e,"label"),e.emphasis)&&sf(e.emphasis,"label")}function lf(e){return U(e)?e:e?[e]:[]}function cf(e){return(U(e)?e[0]:e)||{}}function df(e){e&&L(pf,(function(t){t[0]in e&&!(t[1]in e)&&(e[t[1]]=e[t[0]])}))}var pf=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],ff=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],hf=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function gf(e){var t=e&&e.itemStyle;if(t)for(var n=0;n<hf.length;n++){var r=hf[n][1],i=hf[n][0];null!=t[r]&&(t[i]=t[r])}}function yf(e){e&&"edge"===e.alignTo&&null!=e.margin&&null==e.edgeDistance&&(e.edgeDistance=e.margin)}function mf(e){e&&e.downplay&&!e.blur&&(e.blur=e.downplay)}function vf(e,t){(function(e,t){ef(lf(e.series),(function(e){if(tf(e)&&tf(e)){rf(e),af(e),sf(e,"label"),sf(e,"upperLabel"),sf(e,"edgeLabel"),e.emphasis&&(sf(e.emphasis,"label"),sf(e.emphasis,"upperLabel"),sf(e.emphasis,"edgeLabel"));var t=e.markPoint,n=(t&&(rf(t),uf(t)),e.markLine),r=(n&&(rf(n),uf(n)),e.markArea),i=(r&&uf(r),e.data);if("graph"===e.type){i=i||e.nodes;var o=e.links||e.edges;if(o&&!Y(o))for(var a=0;a<o.length;a++)uf(o[a]);L(e.categories,(function(e){af(e)}))}if(i&&!Y(i))for(a=0;a<i.length;a++)uf(i[a]);if((t=e.markPoint)&&t.data){var s=t.data;for(a=0;a<s.length;a++)uf(s[a])}if((n=e.markLine)&&n.data){var u=n.data;for(a=0;a<u.length;a++)U(u[a])?(uf(u[a][0]),uf(u[a][1])):uf(u[a])}"gauge"===e.type?(sf(e,"axisLabel"),sf(e,"title"),sf(e,"detail")):"treemap"===e.type?(of(e.breadcrumb,"itemStyle"),L(e.levels,(function(e){af(e)}))):"tree"===e.type&&af(e.leaves)}}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),ef(n,(function(t){ef(lf(e[t]),(function(e){e&&(sf(e,"axisLabel"),sf(e.axisPointer,"label"))}))})),ef(lf(e.parallel),(function(e){e=e&&e.parallelAxisDefault,sf(e,"axisLabel"),sf(e&&e.axisPointer,"label")})),ef(lf(e.calendar),(function(e){of(e,"itemStyle"),sf(e,"dayLabel"),sf(e,"monthLabel"),sf(e,"yearLabel")})),ef(lf(e.radar),(function(e){sf(e,"name"),e.name&&null==e.axisName&&(e.axisName=e.name,delete e.name),null!=e.nameGap&&null==e.axisNameGap&&(e.axisNameGap=e.nameGap,delete e.nameGap)})),ef(lf(e.geo),(function(e){tf(e)&&(uf(e),ef(lf(e.regions),(function(e){uf(e)})))})),ef(lf(e.timeline),(function(e){uf(e),of(e,"label"),of(e,"itemStyle"),of(e,"controlStyle",!0),e=e.data,U(e)&&L(e,(function(e){q(e)&&(of(e,"label"),of(e,"itemStyle"))}))})),ef(lf(e.toolbox),(function(e){of(e,"iconStyle"),ef(e.feature,(function(e){of(e,"iconStyle")}))})),sf(cf(e.axisPointer),"label"),sf(cf(e.tooltip).axisPointer,"label")})(e,t),e.series=Ki(e.series),L(e.series,(function(e){if(q(e)){var t,n=e.type;if("line"===n)null!=e.clipOverflow&&(e.clip=e.clipOverflow);else if("pie"===n||"gauge"===n){if(null!=e.clockWise&&(e.clockwise=e.clockWise),yf(e.label),(t=e.data)&&!Y(t))for(var r=0;r<t.length;r++)yf(t[r]);null!=e.hoverOffset&&(e.emphasis=e.emphasis||{},e.emphasis.scaleSize=null)&&(e.emphasis.scaleSize=e.hoverOffset)}else if("gauge"===n){var i=function(e,t){for(var n="pointer.color".split(","),r=e,i=0;i<n.length&&null!=(r=r&&r[n[i]]);i++);return r}(e);if(null!=i){for(var o,a=e,u="itemStyle.color",l=u.split(","),c=a,d=0;d<l.length-1;d++)null==c[o=l[d]]&&(c[o]={}),c=c[o];null!=c[l[d]]||(c[l[d]]=i)}}else if("bar"===n){if(gf(e),gf(e.backgroundStyle),gf(e.emphasis),(t=e.data)&&!Y(t))for(r=0;r<t.length;r++)"object"==s(t[r])&&(gf(t[r]),gf(t[r]&&t[r].emphasis))}else"sunburst"===n?((u=e.highlightPolicy)&&(e.emphasis=e.emphasis||{},e.emphasis.focus||(e.emphasis.focus=u)),mf(e),function e(t,n){if(t)for(var r=0;r<t.length;r++)n(t[r]),t[r]&&e(t[r].children,n)}(e.data,mf)):"graph"===n||"sankey"===n?(a=e)&&null!=a.focusNodeAdjacency&&(a.emphasis=a.emphasis||{},null==a.emphasis.focus)&&(a.emphasis.focus="adjacency"):"map"===n&&(e.mapType&&!e.map&&(e.map=e.mapType),e.mapLocation)&&M(e,e.mapLocation);null!=e.hoverAnimation&&(e.emphasis=e.emphasis||{},e.emphasis)&&null==e.emphasis.scale&&(e.emphasis.scale=e.hoverAnimation),df(e)}})),e.dataRange&&(e.visualMap=e.dataRange),L(ff,(function(t){t=e[t],t&&L(t=U(t)?t:[t],(function(e){df(e)}))}))}function _f(e){L(e,(function(t,n){var r=[],i=[NaN,NaN],o=[t.stackResultDimension,t.stackedOverDimension],a=t.data,s=t.isStackedByIndex,u=t.seriesModel.get("stackStrategy")||"samesign";a.modify(o,(function(o,l,c){var d,p,f=a.get(t.stackedDimension,c);if(isNaN(f))return i;s?p=a.getRawIndex(c):d=a.get(t.stackedByDimension,c);for(var h,g,y,m=NaN,v=n-1;0<=v;v--){var _=e[v];if(0<=(p=s?p:_.data.rawIndexOf(_.stackedByDimension,d))&&(_=_.data.getByRawIndex(_.stackResultDimension,p),"all"===u||"positive"===u&&0<_||"negative"===u&&_<0||"samesign"===u&&0<=f&&0<_||"samesign"===u&&f<=0&&_<0)){h=f,g=_,void 0,y=Math.max(Bi(h),Bi(g)),h+=g,f=20<y?h:Ei(h,y),m=_;break}}return r[0]=f,r[1]=m,r}))}))}var bf,xf,wf=function(e){this.data=e.data||(e.sourceFormat===wp?{}:[]),this.sourceFormat=e.sourceFormat||Ap,this.seriesLayoutBy=e.seriesLayoutBy||Cp,this.startIndex=e.startIndex||0,this.dimensionsDetectedCount=e.dimensionsDetectedCount,this.metaRawOption=e.metaRawOption;var t=this.dimensionsDefine=e.dimensionsDefine;if(t)for(var n=0;n<t.length;n++){var r=t[n];null==r.type&&Pp(this,n)===Tp.Must&&(r.type="ordinal")}};function Sf(e){return e instanceof wf}function Af(e,t,n){n=n||kf(e);var r=t.seriesLayoutBy,i=function(e,t,n,r,i){var o,a,s;return e?(t===bp?(s=e,"auto"===r||null==r?If((function(e){null!=e&&"-"!==e&&(V(e)?null==a&&(a=1):a=0)}),n,s,10):a=W(r)?r:r?1:0,i||1!==a||(i=[],If((function(e,t){i[t]=null!=e?e+"":""}),n,s,1/0)),o=i?i.length:n===kp?s.length:s[0]?s[0].length:null):t===xp?i=i||function(e){for(var t,n=0;n<e.length&&!(t=e[n++]););if(t)return F(t)}(e):t===wp?i||(i=[],L(e,(function(e,t){i.push(t)}))):t===_p&&(r=eo(e[0]),o=U(r)&&r.length||1),{startIndex:a,dimensionsDefine:Tf(i),dimensionsDetectedCount:o}):{dimensionsDefine:Tf(i),startIndex:a,dimensionsDetectedCount:o}}(e,n,r,t.sourceHeader,t.dimensions);return new wf({data:e,sourceFormat:n,seriesLayoutBy:r,dimensionsDefine:i.dimensionsDefine,startIndex:i.startIndex,dimensionsDetectedCount:i.dimensionsDetectedCount,metaRawOption:k(t)})}function Cf(e){return new wf({data:e,sourceFormat:Y(e)?Sp:_p})}function kf(e){var t=Ap;if(Y(e))t=Sp;else if(U(e)){0===e.length&&(t=bp);for(var n=0,r=e.length;n<r;n++){var i=e[n];if(null!=i){if(U(i)||Y(i)){t=bp;break}if(q(i)){t=xp;break}}}}else if(q(e))for(var o in e)if(be(e,o)&&B(e[o])){t=wp;break}return t}function Tf(e){var t;if(e)return t=ye(),N(e,(function(e,n){var r;e={name:(e=q(e)?e:{name:e}).name,displayName:e.displayName,type:e.type};return null!=e.name&&(e.name+="",null==e.displayName&&(e.displayName=e.name),(r=t.get(e.name))?e.name+="-"+r.count++:t.set(e.name,{count:1})),e}))}function If(e,t,n,r){if(t===kp)for(var i=0;i<n.length&&i<r;i++)e(n[i]?n[i][0]:null,i);else{var o=n[0]||[];for(i=0;i<o.length&&i<r;i++)e(o[i],i)}}function Mf(e){return e=e.sourceFormat,e===xp||e===wp}Bf.prototype.getSource=function(){return this._source},Bf.prototype.count=function(){return 0},Bf.prototype.getItem=function(e,t){},Bf.prototype.appendData=function(e){},Bf.prototype.clean=function(){},Bf.protoInitialize=((Sc=Bf.prototype).pure=!1,void(Sc.persistent=!0)),Bf.internalField=(xf=function(e,t,n){var r,i=n.sourceFormat,o=n.seriesLayoutBy,a=n.startIndex;n=n.dimensionsDefine;I(e,bf[Gf(i,o)]),i===Sp?(e.getItem=Of,e.count=Df,e.fillStorage=Pf):(r=jf(i,o),e.getItem=z(r,null,t,a,n),r=$f(i,o),e.count=z(r,null,t,a,n))},Of=function(e,t){e-=this._offset,t=t||[];for(var n=this._data,r=this._dimSize,i=r*e,o=0;o<r;o++)t[o]=n[i+o];return t},Pf=function(e,t,n,r){for(var i=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=r[a],u=null==s[0]?1/0:s[0],l=null==s[1]?-1/0:s[1],c=t-e,d=n[a],p=0;p<c;p++){var f=i[p*o+a];(d[e+p]=f)<u&&(u=f),l<f&&(l=f)}s[0]=u,s[1]=l}},Df=function(){return this._data?this._data.length/this._dimSize:0},(Sc={})[bp+"_"+Cp]={pure:!0,appendData:Lf},Sc[bp+"_"+kp]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},Sc[xp]={pure:!0,appendData:Lf},Sc[wp]={pure:!0,appendData:function(e){var t=this._data;L(e,(function(e,n){for(var r=t[n]||(t[n]=[]),i=0;i<(e||[]).length;i++)r.push(e[i])}))}},Sc[_p]={appendData:Lf},Sc[Sp]={persistent:!1,pure:!0,appendData:function(e){this._data=e},clean:function(){this._offset+=this.count(),this._data=null}},void(bf=Sc));var Of,Pf,Df,Ef=Bf;function Bf(e,t){e=Sf(e)?e:Cf(e);var n=(this._source=e,this._data=e.data);e.sourceFormat===Sp&&(this._offset=0,this._dimSize=t,this._data=n),xf(this,n,e)}function Lf(e){for(var t=0;t<e.length;t++)this._data.push(e[t])}function Nf(e,t,n,r){return e[r]}(wd={})[bp+"_"+Cp]=function(e,t,n,r){return e[r+t]},wd[bp+"_"+kp]=function(e,t,n,r,i){r+=t;for(var o=i||[],a=e,s=0;s<a.length;s++){var u=a[s];o[s]=u?u[r]:null}return o},wd[xp]=Nf,wd[wp]=function(e,t,n,r,i){for(var o=i||[],a=0;a<n.length;a++){var s=e[n[a].name];o[a]=s?s[r]:null}return o},wd[_p]=Nf;var Rf=wd;function jf(e,t){return Rf[Gf(e,t)]}function Ff(e,t,n){return e.length}(nd={})[bp+"_"+Cp]=function(e,t,n){return Math.max(0,e.length-t)},nd[bp+"_"+kp]=function(e,t,n){return e=e[0],e?Math.max(0,e.length-t):0},nd[xp]=Ff,nd[wp]=function(e,t,n){return e=e[n[0].name],e?e.length:0},nd[_p]=Ff;var zf=nd;function $f(e,t){return zf[Gf(e,t)]}function Uf(e,t,n){return e[t]}(To={})[bp]=Uf,To[xp]=function(e,t,n){return e[n]},To[wp]=Uf,To[_p]=function(e,t,n){return e=eo(e),e instanceof Array?e[t]:e},To[Sp]=Uf;var Hf=To;function Vf(e){return Hf[e]}function Gf(e,t){return e===bp?e+"_"+t:e}function Wf(e,t,n){if(e){var r,i;t=e.getRawDataItem(t);if(null!=t)return r=(i=e.getStore()).getSource().sourceFormat,null!=n?(e=e.getDimensionIndex(n),n=i.getDimensionProperty(e),Vf(r)(t,e,n)):(i=t,r===_p?eo(t):i)}}var qf=/\{@(.+?)\}/g;Qf.prototype.getDataParams=function(e,t){var n=this.getData(t),r=this.getRawValue(e,t),i=n.getRawIndex(e),o=n.getName(e),a=n.getRawDataItem(e),s=n.getItemVisual(e,"style"),u=(e=s&&s[n.getItemVisual(e,"drawType")||"fill"],s=s&&s.stroke,this.mainType),l="series"===u;n=n.userOutput&&n.userOutput.get();return{componentType:u,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:l?this.subType:null,seriesIndex:this.seriesIndex,seriesId:l?this.id:null,seriesName:l?this.name:null,name:o,dataIndex:i,data:a,dataType:t,value:r,color:e,borderColor:s,dimensionNames:n?n.fullDimensions:null,encode:n?n.encode:null,$vars:["seriesName","name","value"]}},Qf.prototype.getFormattedLabel=function(e,t,n,r,i,o){t=t||"normal";var a=this.getData(n);n=this.getDataParams(e,n);return o&&(n.value=o.interpolatedValue),null!=r&&U(n.value)&&(n.value=n.value[r]),H(i=i||a.getItemModel(e).get("normal"===t?["label","formatter"]:[t,"label","formatter"]))?(n.status=t,n.dimensionIndex=r,i(n)):V(i)?Xd(i,n).replace(qf,(function(t,n){var r=n.length;"["===n.charAt(0)&&"]"===n.charAt(r-1)&&(n=+n.slice(1,r-1)),r=Wf(a,e,n);return null!=(r=o&&U(o.interpolatedValue)&&0<=(n=a.getDimensionIndex(n))?o.interpolatedValue[n]:r)?r+"":""})):void 0},Qf.prototype.getRawValue=function(e,t){return Wf(this.getData(t),e)},Qf.prototype.formatTooltip=function(e,t,n){},ad=Qf;function Qf(){}function Yf(e){var t,n;return q(e)?e.type&&(n=e):t=e,{text:t,frag:n}}function Xf(e){return new Kf(e)}Jf.prototype.perform=function(e){var t,n,r=this._upstream,i=e&&e.skip,o=(this._dirty&&r&&((o=this.context).data=o.outputData=r.context.outputData),this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(t=this._plan(this.context)),l(this._modBy)),a=this._modDataCount||0,s=l(e&&e.modBy),u=e&&e.modDataCount||0;function l(e){return 1<=e?e:1}if(o===s&&a===u||(t="reset"),!this._dirty&&"reset"!==t||(this._dirty=!1,n=this._doReset(i)),this._modBy=s,this._modDataCount=u,o=e&&e.step,this._dueEnd=r?r._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var c=this._dueIndex,d=Math.min(null!=o?this._dueIndex+o:1/0,this._dueEnd);if(!i&&(n||c<d)){var p=this._progress;if(U(p))for(var f=0;f<p.length;f++)this._doProgress(p[f],c,d,s,u);else this._doProgress(p,c,d,s,u)}this._dueIndex=d,a=null!=this._settedOutputEnd?this._settedOutputEnd:d,this._outputDueEnd=a}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},Jf.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},Jf.prototype._doProgress=function(e,t,n,r,i){oh.reset(t,n,r,i),this._callingProgress=e,this._callingProgress({start:t,end:n,count:n-t,next:oh.next},this.context)},Jf.prototype._doReset=function(e){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!e&&this._reset&&((t=this._reset(this.context))&&t.progress&&(n=t.forceFirstProgress,t=t.progress),U(t))&&!t.length&&(t=null),this._progress=t,this._modBy=this._modDataCount=null;var t,n;e=this._downstream;return e&&e.dirty(),n},Jf.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},Jf.prototype.pipe=function(e){this._downstream===e&&!this._dirty||((this._downstream=e)._upstream=this,e.dirty())},Jf.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},Jf.prototype.getUpstream=function(){return this._upstream},Jf.prototype.getDownstream=function(){return this._downstream},Jf.prototype.setOutputEnd=function(e){this._outputDueEnd=this._settedOutputEnd=e};var Kf=Jf;function Jf(e){this._reset=(e=e||{}).reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0}var Zf,eh,th,nh,rh,ih,oh=ih={reset:function(e,t,n,r){eh=e,Zf=t,th=n,nh=r,rh=Math.ceil(nh/th),ih.next=1<th&&0<nh?sh:ah}};function ah(){return eh<Zf?eh++:null}function sh(){var e=eh%rh*th+Math.ceil(eh/rh);e=Zf<=eh?null:e<nh?e:eh;return eh++,e}function uh(e,t){return t=t&&t.type,"ordinal"===t?e:null==(e="time"!==t||W(e)||null==e||"-"===e?e:+zi(e))||""===e?NaN:+e}var lh=ye({number:function(e){return parseFloat(e)},time:function(e){return+zi(e)},trim:function(e){return V(e)?se(e):e}});function ch(e){return lh.get(e)}var dh={lt:function(e,t){return e<t},lte:function(e,t){return e<=t},gt:function(e,t){return t<e},gte:function(e,t){return t<=e}},ph=(fh.prototype.evaluate=function(e){return W(e)?this._opFn(e,this._rvalFloat):this._opFn(Vi(e),this._rvalFloat)},fh);function fh(e,t){W(t)||Qi(""),this._opFn=dh[e],this._rvalFloat=Vi(t)}gh.prototype.evaluate=function(e,t){var n=W(e)?e:Vi(e),r=W(t)?t:Vi(t),i=isNaN(n),o=isNaN(r);return i&&(n=this._incomparable),o&&(r=this._incomparable),i&&o&&(i=V(e),o=V(t),i&&(n=o?e:0),o)&&(r=i?t:0),n<r?this._resultLT:r<n?-this._resultLT:0};var hh=gh;function gh(e,t){e="desc"===e,this._resultLT=e?1:-1,this._incomparable="min"===(t=null==t?e?"min":"max":t)?-1/0:1/0}mh.prototype.evaluate=function(e){var t,n=e===this._rval;return n||(t=s(e))===this._rvalTypeof||"number"!=t&&"number"!==this._rvalTypeof||(n=Vi(e)===this._rvalFloat),this._isEQ?n:!n};var yh=mh;function mh(e,t){this._rval=t,this._isEQ=e,this._rvalTypeof=s(t),this._rvalFloat=Vi(t)}_h.prototype.getRawData=function(){throw new Error("not supported")},_h.prototype.getRawDataItem=function(e){throw new Error("not supported")},_h.prototype.cloneRawData=function(){},_h.prototype.getDimensionInfo=function(e){},_h.prototype.cloneAllDimensionInfo=function(){},_h.prototype.count=function(){},_h.prototype.retrieveValue=function(e,t){},_h.prototype.retrieveValueFromItem=function(e,t){},_h.prototype.convertValue=uh;var vh=_h;function _h(){}function bh(e){return Ch(e.sourceFormat)||Qi(""),e.data}function xh(e){var t=e.sourceFormat,n=e.data;if(Ch(t)||Qi(""),t===bp){for(var r=[],i=0,o=n.length;i<o;i++)r.push(n[i].slice());return r}if(t===xp){for(r=[],i=0,o=n.length;i<o;i++)r.push(I({},n[i]));return r}}function wh(e,t,n){if(null!=n)return W(n)||!isNaN(n)&&!be(t,n)?e[n]:be(t,n)?t[n]:void 0}function Sh(e){return k(e)}var Ah=ye();function Ch(e){return e===bp||e===xp}Sc="undefined";var kh,Th=("undefined"===typeof Uint32Array?"undefined":s(Uint32Array))==Sc?Array:Uint32Array,Ih=("undefined"===typeof Uint16Array?"undefined":s(Uint16Array))==Sc?Array:Uint16Array,Mh=("undefined"===typeof Int32Array?"undefined":s(Int32Array))==Sc?Array:Int32Array,Oh=(wd=("undefined"===typeof Float64Array?"undefined":s(Float64Array))==Sc?Array:Float64Array,{float:wd,int:Mh,ordinal:Array,number:Array,time:wd});function Ph(e){return 65535<e?Th:Ih}function Dh(){return[1/0,-1/0]}function Eh(e,t,n,r,i){if(n=Oh[n||"float"],i){var o=e[t],a=o&&o.length;if(a!==r){for(var s=new n(r),u=0;u<a;u++)s[u]=o[u];e[t]=s}}else e[t]=new n(r)}Lh.prototype.initData=function(e,t,n){this._provider=e,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var r=e.getSource(),i=this.defaultDimValueGetter=kh[r.sourceFormat];this._dimValueGetter=n||i,this._rawExtent=[],Mf(r),this._dimensions=N(t,(function(e){return{type:e.type,property:e.property}})),this._initDataFromProvider(0,e.count())},Lh.prototype.getProvider=function(){return this._provider},Lh.prototype.getSource=function(){return this._provider.getSource()},Lh.prototype.ensureCalculationDimension=function(e,t){var n=this._calcDimNameToIdx,r=this._dimensions,i=n.get(e);if(null!=i){if(r[i].type===t)return i}else i=r.length;return r[i]={type:t},n.set(e,i),this._chunks[i]=new Oh[t||"float"](this._rawCount),this._rawExtent[i]=Dh(),i},Lh.prototype.collectOrdinalMeta=function(e,t){for(var n=this._chunks[e],r=this._dimensions[e],i=this._rawExtent,o=r.ordinalOffset||0,a=n.length,s=(0===o&&(i[e]=Dh()),i[e]),u=o;u<a;u++){var l=n[u]=t.parseAndCollect(n[u]);isNaN(l)||(s[0]=Math.min(l,s[0]),s[1]=Math.max(l,s[1]))}r.ordinalMeta=t,r.ordinalOffset=a,r.type="ordinal"},Lh.prototype.getOrdinalMeta=function(e){return this._dimensions[e].ordinalMeta},Lh.prototype.getDimensionProperty=function(e){return e=this._dimensions[e],e&&e.property},Lh.prototype.appendData=function(e){var t=this._provider,n=this.count();t.appendData(e),e=t.count();return t.persistent||(e+=n),n<e&&this._initDataFromProvider(n,e,!0),[n,e]},Lh.prototype.appendValues=function(e,t){for(var n=this._chunks,r=this._dimensions,i=r.length,o=this._rawExtent,a=this.count(),s=a+Math.max(e.length,t||0),u=0;u<i;u++)Eh(n,u,(f=r[u]).type,s,!0);for(var l=[],c=a;c<s;c++)for(var d=c-a,p=0;p<i;p++){var f=r[p],h=kh.arrayRows.call(this,e[d]||l,f.property,d,p),g=(n[p][c]=h,o[p]);h<g[0]&&(g[0]=h),h>g[1]&&(g[1]=h)}return{start:a,end:this._rawCount=this._count=s}},Lh.prototype._initDataFromProvider=function(e,t,n){for(var r=this._provider,i=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,u=N(o,(function(e){return e.property})),l=0;l<a;l++){var c=o[l];s[l]||(s[l]=Dh()),Eh(i,l,c.type,t,n)}if(r.fillStorage)r.fillStorage(e,t,i,s);else for(var d=[],p=e;p<t;p++){d=r.getItem(p,d);for(var f=0;f<a;f++){var h=i[f],g=this._dimValueGetter(d,u[f],p,f);h=(h[p]=g,s[f]);g<h[0]&&(h[0]=g),g>h[1]&&(h[1]=g)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=t,this._extent=[]},Lh.prototype.count=function(){return this._count},Lh.prototype.get=function(e,t){return 0<=t&&t<this._count&&(e=this._chunks[e])?e[this.getRawIndex(t)]:NaN},Lh.prototype.getValues=function(e,t){var n=[],r=[];if(null==t){t=e,e=[];for(var i=0;i<this._dimensions.length;i++)r.push(i)}else r=e;i=0;for(var o=r.length;i<o;i++)n.push(this.get(r[i],t));return n},Lh.prototype.getByRawIndex=function(e,t){return 0<=t&&t<this._rawCount&&(e=this._chunks[e])?e[t]:NaN},Lh.prototype.getSum=function(e){var t=0;if(this._chunks[e])for(var n=0,r=this.count();n<r;n++){var i=this.get(e,n);isNaN(i)||(t+=i)}return t},Lh.prototype.getMedian=function(e){var t=[],n=(e=(this.each([e],(function(e){isNaN(e)||t.push(e)})),t.sort((function(e,t){return e-t}))),this.count());return 0===n?0:n%2==1?e[(n-1)/2]:(e[n/2]+e[n/2-1])/2},Lh.prototype.indexOfRawIndex=function(e){if(!(e>=this._rawCount||e<0)){if(!this._indices)return e;var t=this._indices,n=t[e];if(null!=n&&n<this._count&&n===e)return e;for(var r=0,i=this._count-1;r<=i;){var o=(r+i)/2|0;if(t[o]<e)r=1+o;else{if(!(t[o]>e))return o;i=o-1}}}return-1},Lh.prototype.indicesOfNearest=function(e,t,n){var r=this._chunks[e],i=[];if(r){null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,u=0,l=this.count();u<l;u++){var c=t-r[this.getRawIndex(u)],d=Math.abs(c);d<=n&&((d<o||d===o&&0<=c&&a<0)&&(o=d,a=c,s=0),c===a)&&(i[s++]=u)}i.length=s}return i},Lh.prototype.getIndices=function(){var e=this._indices;if(e){var t=e.constructor,n=this._count;if(t===Array)for(var r=new t(n),i=0;i<n;i++)r[i]=e[i];else r=new t(e.buffer,0,n)}else for(r=new(t=Ph(this._rawCount))(this.count()),i=0;i<r.length;i++)r[i]=i;return r},Lh.prototype.filter=function(e,t){if(!this._count)return this;for(var n=this.clone(),r=n.count(),i=new(Ph(n._rawCount))(r),o=[],a=e.length,s=0,u=e[0],l=n._chunks,c=0;c<r;c++){var d=void 0,p=n.getRawIndex(c);if(0===a)d=t(c);else if(1===a)d=t(l[u][p],c);else{for(var f=0;f<a;f++)o[f]=l[e[f]][p];o[f]=c,d=t.apply(null,o)}d&&(i[s++]=p)}return s<r&&(n._indices=i),n._count=s,n._extent=[],n._updateGetRawIdx(),n},Lh.prototype.selectRange=function(e){var t=this.clone(),n=t._count;if(!n)return this;var r=F(e),i=r.length;if(!i)return this;var o=t.count(),a=new(Ph(t._rawCount))(o),s=0,u=r[0],l=e[u][0],c=e[u][1],d=t._chunks;u=!1;if(!t._indices){var p=0;if(1===i){for(var f=d[r[0]],h=0;h<n;h++)(l<=(v=f[h])&&v<=c||isNaN(v))&&(a[s++]=p),p++;u=!0}else if(2===i){f=d[r[0]];var g=d[r[1]],y=e[r[1]][0],m=e[r[1]][1];for(h=0;h<n;h++){var v=f[h],_=g[h];(l<=v&&v<=c||isNaN(v))&&(y<=_&&_<=m||isNaN(_))&&(a[s++]=p),p++}u=!0}}if(!u)if(1===i)for(h=0;h<o;h++){var b=t.getRawIndex(h);(l<=(v=d[r[0]][b])&&v<=c||isNaN(v))&&(a[s++]=b)}else for(h=0;h<o;h++){for(var x=!0,w=(b=t.getRawIndex(h),0);w<i;w++){var S=r[w];((v=d[S][b])<e[S][0]||v>e[S][1])&&(x=!1)}x&&(a[s++]=t.getRawIndex(h))}return s<o&&(t._indices=a),t._count=s,t._extent=[],t._updateGetRawIdx(),t},Lh.prototype.map=function(e,t){var n=this.clone(e);return this._updateDims(n,e,t),n},Lh.prototype.modify=function(e,t){this._updateDims(this,e,t)},Lh.prototype._updateDims=function(e,t,n){for(var r=e._chunks,i=[],o=t.length,a=e.count(),u=[],l=e._rawExtent,c=0;c<t.length;c++)l[t[c]]=Dh();for(var d=0;d<a;d++){for(var p=e.getRawIndex(d),f=0;f<o;f++)u[f]=r[t[f]][p];u[o]=d;var h=n&&n.apply(null,u);if(null!=h)for("object"!=s(h)&&(i[0]=h,h=i),c=0;c<h.length;c++){var g=t[c],y=h[c],m=l[g];g=r[g];g&&(g[p]=y),y<m[0]&&(m[0]=y),y>m[1]&&(m[1]=y)}}},Lh.prototype.lttbDownSample=function(e,t){var n,r=this.clone([e],!0),i=r._chunks[e],o=this.count(),a=0,s=Math.floor(1/t),u=this.getRawIndex(0),l=new(Ph(this._rawCount))(Math.min(2*(Math.ceil(o/s)+2),o));l[a++]=u;for(var c=1;c<o-1;c+=s){for(var d=Math.min(c+s,o-1),p=Math.min(c+2*s,o),f=(p+d)/2,h=0,g=d;g<p;g++){var y=i[A=this.getRawIndex(g)];isNaN(y)||(h+=y)}h/=p-d;d=c;var m=Math.min(c+s,o),v=c-1,_=i[u],b=-1,x=d,w=-1,S=0;for(g=d;g<m;g++){var A;y=i[A=this.getRawIndex(g)];isNaN(y)?(S++,w<0&&(w=A)):b<(n=Math.abs((v-f)*(y-_)-(v-g)*(h-_)))&&(b=n,x=A)}0<S&&S<m-d&&(l[a++]=Math.min(w,x),x=Math.max(w,x)),u=l[a++]=x}return l[a++]=this.getRawIndex(o-1),r._count=a,r._indices=l,r.getRawIndex=this._getRawIdx,r},Lh.prototype.downSample=function(e,t,n,r){for(var i=this.clone([e],!0),o=i._chunks,a=[],s=Math.floor(1/t),u=o[e],l=this.count(),c=i._rawExtent[e]=Dh(),d=new(Ph(this._rawCount))(Math.ceil(l/s)),p=0,f=0;f<l;f+=s){l-f<s&&(a.length=s=l-f);for(var h=0;h<s;h++){var g=this.getRawIndex(f+h);a[h]=u[g]}var y=n(a),m=this.getRawIndex(Math.min(f+r(a,y)||0,l-1));(u[m]=y)<c[0]&&(c[0]=y),y>c[1]&&(c[1]=y),d[p++]=m}return i._count=p,i._indices=d,i._updateGetRawIdx(),i},Lh.prototype.each=function(e,t){if(this._count)for(var n=e.length,r=this._chunks,i=0,o=this.count();i<o;i++){var a=this.getRawIndex(i);switch(n){case 0:t(i);break;case 1:t(r[e[0]][a],i);break;case 2:t(r[e[0]][a],r[e[1]][a],i);break;default:for(var s=0,u=[];s<n;s++)u[s]=r[e[s]][a];u[s]=i,t.apply(null,u)}}},Lh.prototype.getDataExtent=function(e){var t=this._chunks[e],n=Dh();if(!t)return n;var r=this.count();if(!this._indices)return this._rawExtent[e].slice();if(i=this._extent[e])return i.slice();for(var i,o=(i=n)[0],a=i[1],s=0;s<r;s++){var u=t[this.getRawIndex(s)];u<o&&(o=u),a<u&&(a=u)}return this._extent[e]=[o,a]},Lh.prototype.getRawDataItem=function(e){var t=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(t);for(var n=[],r=this._chunks,i=0;i<r.length;i++)n.push(r[i][t]);return n},Lh.prototype.clone=function(e,t){var n,r,i=new Lh,o=this._chunks,a=e&&R(e,(function(e,t){return e[t]=!0,e}),{});if(a)for(var s=0;s<o.length;s++)i._chunks[s]=a[s]?(n=o[s],r=void 0,(r=n.constructor)===Array?n.slice():new r(n)):o[s];else i._chunks=o;return this._copyCommonProps(i),t||(i._indices=this._cloneIndices()),i._updateGetRawIdx(),i},Lh.prototype._copyCommonProps=function(e){e._count=this._count,e._rawCount=this._rawCount,e._provider=this._provider,e._dimensions=this._dimensions,e._extent=k(this._extent),e._rawExtent=k(this._rawExtent)},Lh.prototype._cloneIndices=function(){if(this._indices){var e=this._indices.constructor,t=void 0;if(e===Array)for(var n=this._indices.length,r=(t=new e(n),0);r<n;r++)t[r]=this._indices[r];else t=new e(this._indices);return t}return null},Lh.prototype._getRawIdxIdentity=function(e){return e},Lh.prototype._getRawIdx=function(e){return e<this._count&&0<=e?this._indices[e]:-1},Lh.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},Lh.internalField=void(kh={arrayRows:Nh,objectRows:function(e,t,n,r){return uh(e[t],this._dimensions[r])},keyedColumns:Nh,original:function(e,t,n,r){return e=e&&(null==e.value?e:e.value),uh(e instanceof Array?e[r]:e,this._dimensions[r])},typedArray:function(e,t,n,r){return e[r]}});var Bh=Lh;function Lh(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=ye()}function Nh(e,t,n,r){return uh(e[r],this._dimensions[r])}jh.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},jh.prototype._setLocalSource=function(e,t){this._sourceList=e,this._upstreamSignList=t,this._versionSignBase++,9e10<this._versionSignBase&&(this._versionSignBase=0)},jh.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},jh.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},jh.prototype._createSource=function(){this._setLocalSource([],[]);var e,t,n,r,i,o,a,s=this._sourceHost,u=this._getUpstreamSourceManagers(),l=!!u.length;zh(s)?(r=s,i=e=o=void 0,t=l?((t=u[0]).prepareSource(),o=(i=t.getSource()).data,e=i.sourceFormat,[t._getVersionSign()]):(e=Y(o=r.get("data",!0))?Sp:_p,[]),r=this._getSourceMetaRawOption()||{},i=i&&i.metaRawOption||{},a=ne(r.seriesLayoutBy,i.seriesLayoutBy)||null,n=ne(r.sourceHeader,i.sourceHeader),r=ne(r.dimensions,i.dimensions),i=a!==i.seriesLayoutBy||!!n!=!!i.sourceHeader||r?[Af(o,{seriesLayoutBy:a,sourceHeader:n,dimensions:r},e)]:[]):(o=s,t=l?(i=(a=this._applyTransform(u)).sourceList,a.upstreamSignList):(i=[Af(o.get("source",!0),this._getSourceMetaRawOption(),null)],[])),this._setLocalSource(i,t)},jh.prototype._applyTransform=function(e){var t,n=this._sourceHost,r=n.get("transform",!0),i=n.get("fromTransformResult",!0),o=(null!=i&&1!==e.length&&$h(""),[]),a=[];return L(e,(function(e){e.prepareSource();var t=e.getSource(i||0);null==i||t||$h(""),o.push(t),a.push(e._getVersionSign())})),r?t=function(e,t){var n=Ki(e);e=n.length,e||Qi("");for(var r=0,i=e;r<i;r++)t=function(e,t){t.length||Qi(""),q(e)||Qi("");var n=e.type,r=Ah.get(n);return r||Qi(""),n=N(t,(function(e){var t=e,n=(e=r,new vh),i=t.data,o=n.sourceFormat=t.sourceFormat,a=t.startIndex,s=(t.seriesLayoutBy!==Cp&&Qi(""),[]),u={};if(d=t.dimensionsDefine)L(d,(function(e,t){var n=e.name;t={index:t,name:n,displayName:e.displayName};s.push(t),null!=n&&(be(u,n)&&Qi(""),u[n]=t)}));else for(var l=0;l<t.dimensionsDetectedCount;l++)s.push({index:l});var c=jf(o,Cp),d=(e.__isBuiltIn&&(n.getRawDataItem=function(e){return c(i,a,s,e)},n.getRawData=z(bh,null,t)),n.cloneRawData=z(xh,null,t),$f(o,Cp)),p=(n.count=z(d,null,i,a,s),Vf(o)),f=(n.retrieveValue=function(e,t){return e=c(i,a,s,e),f(e,t)},n.retrieveValueFromItem=function(e,t){var n;return null!=e&&(n=s[t])?p(e,t,n.name):void 0});return n.getDimensionInfo=z(wh,null,s,u),n.cloneAllDimensionInfo=z(Sh,null,s),n})),N(Ki(r.transform({upstream:n[0],upstreamList:n,config:k(e.config)})),(function(e,n){q(e)||Qi(""),e.data||Qi(""),Ch(kf(e.data))||Qi("");var r=t[0];n=r&&0===n&&!e.dimensions?((n=r.startIndex)&&(e.data=r.data.slice(0,n).concat(e.data)),{seriesLayoutBy:Cp,sourceHeader:n,dimensions:r.metaRawOption.dimensions}):{seriesLayoutBy:Cp,sourceHeader:0,dimensions:e.dimensions};return Af(e.data,n,null)}))}(n[r],t),r!==i-1&&(t.length=Math.max(t.length,1));return t}(r,o,n.componentIndex):null!=i&&(t=[new wf({data:(e=o[0]).data,sourceFormat:e.sourceFormat,seriesLayoutBy:e.seriesLayoutBy,dimensionsDefine:k(e.dimensionsDefine),startIndex:e.startIndex,dimensionsDetectedCount:e.dimensionsDetectedCount})]),{sourceList:t,upstreamSignList:a}},jh.prototype._isDirty=function(){if(this._dirty)return!0;for(var e=this._getUpstreamSourceManagers(),t=0;t<e.length;t++){var n=e[t];if(n._isDirty()||this._upstreamSignList[t]!==n._getVersionSign())return!0}},jh.prototype.getSource=function(e){var t=this._sourceList[e=e||0];return t||(t=this._getUpstreamSourceManagers())[0]&&t[0].getSource(e)},jh.prototype.getSharedDataStore=function(e){var t=e.makeStoreSchema();return this._innerGetDataStore(t.dimensions,e.source,t.hash)},jh.prototype._innerGetDataStore=function(e,t,n){var r,i=this._storeList,o=i[0];i=(o=o||(i[0]={}))[n];return i||(r=this._getUpstreamSourceManagers()[0],zh(this._sourceHost)&&r?i=r._innerGetDataStore(e,t,n):(i=new Bh).initData(new Ef(t,e.length),e),o[n]=i),i},jh.prototype._getUpstreamSourceManagers=function(){var e,t=this._sourceHost;return zh(t)?(e=Op(t))?[e.getSourceManager()]:[]:N((e=t).get("transform",!0)||e.get("fromTransformResult",!0)?fo(e.ecModel,"dataset",{index:e.get("fromDatasetIndex",!0),id:e.get("fromDatasetId",!0)},po).models:[],(function(e){return e.getSourceManager()}))},jh.prototype._getSourceMetaRawOption=function(){var e,t,n,r=this._sourceHost;return zh(r)?(e=r.get("seriesLayoutBy",!0),t=r.get("sourceHeader",!0),n=r.get("dimensions",!0)):this._getUpstreamSourceManagers().length||(e=(r=r).get("seriesLayoutBy",!0),t=r.get("sourceHeader",!0),n=r.get("dimensions",!0)),{seriesLayoutBy:e,sourceHeader:t,dimensions:n}};var Rh=jh;function jh(e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=e}function Fh(e){e.option.transform&&le(e.option.transform)}function zh(e){return"series"===e.mainType}function $h(e){throw new Error(e)}var Uh="line-height:1";function Hh(e,t){var n=e.color||"#6e7079",r=e.fontSize||12,i=e.fontWeight||"400",o=e.color||"#464646",a=e.fontSize||14;e=e.fontWeight||"900";return"html"===t?{nameStyle:"font-size:"+tt(r+"")+"px;color:"+tt(n)+";font-weight:"+tt(i+""),valueStyle:"font-size:"+tt(a+"")+"px;color:"+tt(o)+";font-weight:"+tt(e+"")}:{nameStyle:{fontSize:r,fill:n,fontWeight:i},valueStyle:{fontSize:a,fill:o,fontWeight:e}}}var Vh=[0,10,20,30],Gh=["","\n","\n\n","\n\n\n"];function Wh(e,t){return t.type=e,t}function qh(e){return"section"===e.type}function Qh(e){return qh(e)?Yh:Xh}function Yh(e,t,n,r){var i,o=t.noHeader,a=(u=function e(t){var n,r,i;return qh(t)?(n=0,r=t.blocks.length,i=1<r||0<r&&!t.noHeader,L(t.blocks,(function(t){var r=e(t);n<=r&&(n=r+ +(i&&(!r||qh(t)&&!t.noHeader)))})),n):0}(t),{html:Vh[u],richText:Gh[u]}),s=[],u=t.blocks||[],l=(ae(!u||U(u)),u=u||[],e.orderMode),c=(t.sortBlocks&&l&&(u=u.slice(),be(c={valueAsc:"asc",valueDesc:"desc"},l)?(i=new hh(c[l],null),u.sort((function(e,t){return i.evaluate(e.sortParam,t.sortParam)}))):"seriesDesc"===l&&u.reverse()),L(u,(function(n,i){var o=t.valueFormatter;o=Qh(n)(o?I(I({},e),{valueFormatter:o}):e,n,0<i?a.html:0,r);null!=o&&s.push(o)})),"richText"===e.renderMode?s.join(a.richText):Jh(s.join(""),o?n:a.html));return o?c:(l=qd(t.header,"ordinal",e.useUTC),u=Hh(r,e.renderMode).nameStyle,"richText"===e.renderMode?Zh(e,l,u)+a.richText+c:Jh('<div style="'+u+";"+Uh+';">'+tt(l)+"</div>"+c,n))}function Xh(e,t,n,r){var i,o,a,s,u=e.renderMode,l=t.noName,c=t.noValue,d=!t.markerType,p=t.name,f=e.useUTC,h=t.valueFormatter||e.valueFormatter||function(e){return N(e=U(e)?e:[e],(function(e,t){return qd(e,U(o)?o[t]:o,f)}))};if(!l||!c)return i=d?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",u),p=l?"":qd(p,"ordinal",f),o=t.valueType,h=c?[]:h(t.value,t.dataIndex),t=!d||!l,a=!d&&l,r=Hh(r,u),s=r.nameStyle,r=r.valueStyle,"richText"===u?(d?"":i)+(l?"":Zh(e,p,s))+(c?"":function(e,t,n,r,i){return i=[i],r=r?10:20,n&&i.push({padding:[0,0,0,r],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(U(t)?t.join("  "):t,i)}(e,h,t,a,r)):Jh((d?"":i)+(l?"":'<span style="'+s+";"+(d?"":"margin-left:2px")+'">'+tt(p)+"</span>")+(c?"":function(e,t,n,r){return n=n?"10px":"20px",t=t?"float:right;margin-left:"+n:"",e=U(e)?e:[e],'<span style="'+t+";"+r+'">'+N(e,tt).join("&nbsp;&nbsp;")+"</span>"}(h,t,a,r)),n)}function Kh(e,t,n,r,i,o){if(e)return Qh(e)({useUTC:i,renderMode:n,orderMode:r,markupStyleCreator:t,valueFormatter:e.valueFormatter},e,0,o)}function Jh(e,t){return'<div style="margin: '+t+"px 0 0;"+Uh+';">'+e+'<div style="clear:both"></div></div>'}function Zh(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function eg(e,t){return e=e.get("padding"),null!=e?e:"richText"===t?[8,10]:10}ng.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},ng.prototype.makeTooltipMarker=function(e,t,n){var r="richText"===n?this._generateStyleName():null;t=Kd({color:t,type:e,renderMode:n,markerId:r});return V(t)?t:(this.richTextStyles[r]=t.style,t.content)},ng.prototype.wrapRichTextStyle=function(e,t){var n={};U(t)?L(t,(function(e){return I(n,e)})):I(n,t),t=this._generateStyleName();return this.richTextStyles[t]=n,"{"+t+"|"+e+"}"};var tg=ng;function ng(){this.richTextStyles={},this._nextStyleNameId=Wi()}var rg=so();function ig(e,t){return e.getName(t)||e.getId(t)}n(sg,og=hp),sg.prototype.init=function(e,t,n){this.seriesIndex=this.componentIndex,this.dataTask=Xf({count:lg,reset:cg}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,n),(rg(this).sourceManager=new Rh(this)).prepareSource(),e=this.getInitialData(e,n),pg(e,this),this.dataTask.context.data=e,rg(this).dataBeforeProcessed=e,ug(this),this._initSelectedMapFromData(e)},sg.prototype.mergeDefaultAndTheme=function(e,t){var n=ap(this),r=n?up(e):{},i=this.subType;hp.hasClass(i),T(e,t.getTheme().get(this.subType)),T(e,this.getDefaultOption()),Ji(e,"label",["show"]),this.fillDataTextStyle(e.data),n&&sp(e,r,n)},sg.prototype.mergeOption=function(e,t){e=T(this.option,e,!0),this.fillDataTextStyle(e.data);var n=ap(this);n&&sp(this.option,e,n),n=rg(this).sourceManager,n.dirty(),n.prepareSource(),n=this.getInitialData(e,t);pg(n,this),this.dataTask.dirty(),this.dataTask.context.data=n,rg(this).dataBeforeProcessed=n,ug(this),this._initSelectedMapFromData(n)},sg.prototype.fillDataTextStyle=function(e){if(e&&!Y(e))for(var t=["show"],n=0;n<e.length;n++)e[n]&&e[n].label&&Ji(e[n],"label",t)},sg.prototype.getInitialData=function(e,t){},sg.prototype.appendData=function(e){this.getRawData().appendData(e.data)},sg.prototype.getData=function(e){var t=hg(this);return t?(t=t.context.data,null==e?t:t.getLinkedData(e)):rg(this).data},sg.prototype.getAllData=function(){var e=this.getData();return e&&e.getLinkedDataAll?e.getLinkedDataAll():[{data:e}]},sg.prototype.setData=function(e){var t,n=hg(this);n&&((t=n.context).outputData=e,n!==this.dataTask)&&(t.data=e),rg(this).data=e},sg.prototype.getEncode=function(){var e=this.get("encode",!0);if(e)return ye(e)},sg.prototype.getSourceManager=function(){return rg(this).sourceManager},sg.prototype.getSource=function(){return this.getSourceManager().getSource()},sg.prototype.getRawData=function(){return rg(this).dataBeforeProcessed},sg.prototype.getColorBy=function(){return this.get("colorBy")||"series"},sg.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},sg.prototype.getBaseAxis=function(){var e=this.coordinateSystem;return e&&e.getBaseAxis&&e.getBaseAxis()},sg.prototype.formatTooltip=function(e,t,n){return function(e){var t,n,r,i,o,a,s,u,l,c,d,p=e.series,f=e.dataIndex,h=(e=e.multipleSeries,p.getData()),g=h.mapDimensionsAll("defaultedTooltip"),y=g.length,m=p.getRawValue(f),v=U(m),_=(_=f,Jd((x=p).getData().getItemVisual(_,"style")[x.visualDrawType]));function b(e,t){t=s.getDimensionInfo(t),t&&!1!==t.otherDims.tooltip&&(u?d.push(Wh("nameValue",{markerType:"subItem",markerColor:a,name:t.displayName,value:e,valueType:t.type})):(l.push(e),c.push(t.type)))}1<y||v&&!y?(x=m,i=f,o=g,a=_,s=p.getData(),u=R(x,(function(e,t,n){return n=s.getDimensionInfo(n),e||n&&!1!==n.tooltip&&null!=n.displayName}),!1),l=[],c=[],d=[],o.length?L(o,(function(e){b(Wf(s,i,e),e)})):L(x,b),t=(o={inlineValues:l,inlineValueTypes:c,blocks:d}).inlineValueTypes,n=o.blocks,r=(o=o.inlineValues)[0]):y?(x=h.getDimensionInfo(g[0]),r=o=Wf(h,f,g[0]),t=x.type):r=o=v?m[0]:m,y=io(p),g=y&&p.name||"";var x=h.getName(f);return v=e?g:x,Wh("section",{header:g,noHeader:e||!y,sortParam:r,blocks:[Wh("nameValue",{markerType:"item",markerColor:_,name:v,noName:!se(v),value:o,valueType:t,dataIndex:f})].concat(n||[])})}({series:this,dataIndex:e,multipleSeries:t})},sg.prototype.isAnimationEnabled=function(){var e=this.ecModel;return!!(!o.node||e&&e.ssr)&&!!(e=!((e=this.getShallow("animation"))&&this.getData().count()>this.getShallow("animationThreshold"))&&e)},sg.prototype.restoreData=function(){this.dataTask.dirty()},sg.prototype.getColorFromPalette=function(e,t,n){var r=this.ecModel;return Rp.prototype.getColorFromPalette.call(this,e,t,n)||r.getColorFromPalette(e,t,n)},sg.prototype.coordDimToDataDim=function(e){return this.getRawData().mapDimensionsAll(e)},sg.prototype.getProgressive=function(){return this.get("progressive")},sg.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},sg.prototype.select=function(e,t){this._innerSelect(this.getData(t),e)},sg.prototype.unselect=function(e,t){var n=this.option.selectedMap;if(n){var r=this.option.selectedMode,i=this.getData(t);if("series"===r||"all"===n)this.option.selectedMap={},this._selectedDataIndicesMap={};else for(var o=0;o<e.length;o++){var a=ig(i,e[o]);n[a]=!1,this._selectedDataIndicesMap[a]=-1}}},sg.prototype.toggleSelect=function(e,t){for(var n=[],r=0;r<e.length;r++)n[0]=e[r],this.isSelected(e[r],t)?this.unselect(n,t):this.select(n,t)},sg.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var e=this._selectedDataIndicesMap,t=F(e),n=[],r=0;r<t.length;r++){var i=e[t[r]];0<=i&&n.push(i)}return n},sg.prototype.isSelected=function(e,t){var n=this.option.selectedMap;return!!n&&(t=this.getData(t),"all"===n||n[ig(t,e)])&&!t.getItemModel(e).get(["select","disabled"])},sg.prototype.isUniversalTransitionEnabled=function(){var e;return!!this.__universalTransitionEnabled||!!(e=this.option.universalTransition)&&(!0===e||e&&e.enabled)},sg.prototype._innerSelect=function(e,t){var n=this.option,r=n.selectedMode,i=t.length;if(r&&i)if("series"===r)n.selectedMap="all";else if("multiple"===r){q(n.selectedMap)||(n.selectedMap={});for(var o=n.selectedMap,a=0;a<i;a++){var s,u=t[a];o[s=ig(e,u)]=!0,this._selectedDataIndicesMap[s]=e.getRawIndex(u)}}else"single"!==r&&!0!==r||(s=ig(e,r=t[i-1]),n.selectedMap=((n={})[s]=!0,n),this._selectedDataIndicesMap=((n={})[s]=e.getRawIndex(r),n))},sg.prototype._initSelectedMapFromData=function(e){var t;this.option.selectedMap||(t=[],e.hasItemOption&&e.each((function(n){var r=e.getRawDataItem(n);r&&r.selected&&t.push(n)})),0<t.length&&this._innerSelect(e,t))},sg.registerClass=function(e){return hp.registerClass(e)},sg.protoInitialize=((nd=sg.prototype).type="series.__base__",nd.seriesIndex=0,nd.ignoreStyleOnData=!1,nd.hasSymbolVisual=!1,nd.defaultSymbol="circle",nd.visualStyleAccessPath="itemStyle",void(nd.visualDrawType="fill"));var og,ag=sg;function sg(){var e=null!==og&&og.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}function ug(e){var t,n,r=e.name;io(e)||(e.name=(e=(t=(e=e).getRawData()).mapDimensionsAll("seriesName"),n=[],L(e,(function(e){e=t.getDimensionInfo(e),e.displayName&&n.push(e.displayName)})),n.join(" ")||r))}function lg(e){return e.model.getRawData().count()}function cg(e){return e=e.model,e.setData(e.getRawData().cloneShallow()),dg}function dg(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function pg(e,t){L(me(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),(function(n){e.wrapMethod(n,$(fg,t))}))}function fg(e,t){return e=hg(e),e&&e.setOutputEnd((t||this).count()),t}function hg(e){var t,n=(e.ecModel||{}).scheduler;n=n&&n.getPipeline(e.uid);if(n)return(n=n.currentTask)&&(t=n.agentStubMap)?t.get(e.uid):n}E(ag,ad),E(ag,Rp),bo(ag,hp),yg.prototype.init=function(e,t){},yg.prototype.render=function(e,t,n,r){},yg.prototype.dispose=function(e,t){},yg.prototype.updateView=function(e,t,n,r){},yg.prototype.updateLayout=function(e,t,n,r){},yg.prototype.updateVisual=function(e,t,n,r){},yg.prototype.toggleBlurSeries=function(e,t,n){},yg.prototype.eachRendered=function(e){var t=this.group;t&&t.traverse(e)};var gg=yg;function yg(){this.group=new bi,this.uid=pd("viewComponent")}function mg(){var e=so();return function(t){var n=e(t),r=(t=t.pipelineContext,!!n.large),i=!!n.progressiveRender,o=n.large=!(!t||!t.large);n=n.progressiveRender=!(!t||!t.progressiveRender);return!(r==o&&i==n)&&"reset"}}_o(gg),Ao(gg);var vg=so(),_g=mg(),bg=(xg.prototype.init=function(e,t){},xg.prototype.render=function(e,t,n,r){},xg.prototype.highlight=function(e,t,n,r){e=e.getData(r&&r.dataType),e&&Sg(e,r,"emphasis")},xg.prototype.downplay=function(e,t,n,r){e=e.getData(r&&r.dataType),e&&Sg(e,r,"normal")},xg.prototype.remove=function(e,t){this.group.removeAll()},xg.prototype.dispose=function(e,t){},xg.prototype.updateView=function(e,t,n,r){this.render(e,t,n,r)},xg.prototype.updateLayout=function(e,t,n,r){this.render(e,t,n,r)},xg.prototype.updateVisual=function(e,t,n,r){this.render(e,t,n,r)},xg.prototype.eachRendered=function(e){Nc(this.group,e)},xg.markUpdateMethod=function(e,t){vg(e).updateMethod=t},xg.protoInitialize=void(xg.prototype.type="chart"),xg);function xg(){this.group=new bi,this.uid=pd("viewChart"),this.renderTask=Xf({plan:Ag,reset:Cg}),this.renderTask.context={view:this}}function wg(e,t,n){e&&yu(e)&&("emphasis"===t?Js:Zs)(e,n)}function Sg(e,t,n){var r,i=ao(e,t),o=t&&null!=t.highlightKey?(t=t.highlightKey,r=null==(r=Ts[t])&&ks<=32?Ts[t]=ks++:r):null;null!=i?L(Ki(i),(function(t){wg(e.getItemGraphicEl(t),n,o)})):e.eachItemGraphicEl((function(e){wg(e,n,o)}))}function Ag(e){return _g(e.model)}function Cg(e){var t=e.model,n=e.ecModel,r=e.api,i=e.payload,o=t.pipelineContext.progressiveRender,a=(e=e.view,i&&vg(i).updateMethod);o=o?"incrementalPrepareRender":a&&e[a]?a:"render";return"render"!==o&&e[o](t,n,r,i),kg[o]}_o(bg),Ao(bg);var kg={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}},Tg="\0__throttleOriginMethod",Ig="\0__throttleRate",Mg="\0__throttleType";function Og(e,t,n){var r,i,o,a,s,u=0,l=0,c=null;function d(){l=(new Date).getTime(),c=null,e.apply(o,a||[])}function p(){for(var e=[],p=0;p<arguments.length;p++)e[p]=arguments[p];r=(new Date).getTime(),o=this,a=e;var f=s||t,h=s||n;s=null,i=r-(h?u:l)-f,clearTimeout(c),h?c=setTimeout(d,f):0<=i?d():c=setTimeout(d,-i),u=r}return t=t||0,p.clear=function(){c&&(clearTimeout(c),c=null)},p.debounceNextCall=function(e){s=e},p}function Pg(e,t,n,r){var i=e[t];if(i){var o=i[Tg]||i,a=i[Mg];if(i[Ig]!==n||a!==r){if(null==n||!r)return e[t]=o;(i=e[t]=Og(o,n,"debounce"===r))[Tg]=o,i[Mg]=r,i[Ig]=n}return i}}function Dg(e,t){var n=e[t];n&&n[Tg]&&(n.clear&&n.clear(),e[t]=n[Tg])}var Eg=so(),Bg={itemStyle:Co(id,!0),lineStyle:Co(ed,!0)},Lg={lineStyle:"stroke",itemStyle:"fill"};function Ng(e,t){return e=e.visualStyleMapper||Bg[t],e||(console.warn("Unknown style type '"+t+"'."),Bg.itemStyle)}function Rg(e,t){return e=e.visualDrawType||Lg[t],e||(console.warn("Unknown style type '"+t+"'."),"fill")}To={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",i=e.getModel(r),o=Ng(e,r)(i),a=(i=i.getShallow("decal"),i&&(n.setVisual("decal",i),i.dirty=!0),Rg(e,r)),s=(i=o[a],H(i)?i:null);r="auto"===o.fill||"auto"===o.stroke;if(o[a]&&!s&&!r||(i=e.getColorFromPalette(e.name,null,t.getSeriesCount()),o[a]||(o[a]=i,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||H(o.fill)?i:o.fill,o.stroke="auto"===o.stroke||H(o.stroke)?i:o.stroke),n.setVisual("style",o),n.setVisual("drawType",a),!t.isSeriesFiltered(e)&&s)return n.setVisual("colorFromPalette",!1),{dataEach:function(t,n){var r=e.getDataParams(n),i=I({},o);i[a]=s(r),t.setItemVisual(n,"style",i)}}}};var jg=new ld,Fg=(Sc={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n,r,i;if(!e.ignoreStyleOnData&&!t.isSeriesFiltered(e))return t=e.getData(),n=e.visualStyleAccessPath||"itemStyle",r=Ng(e,n),i=t.getVisual("drawType"),{dataEach:t.hasItemOption?function(e,t){var o=e.getRawDataItem(t);o&&o[n]&&(jg.option=o[n],o=r(jg),I(e.ensureUniqueItemVisual(t,"style"),o),jg.option.decal&&(e.setItemVisual(t,"decal",jg.option.decal),jg.option.decal.dirty=!0),i in o)&&e.setItemVisual(t,"colorFromPalette",!1)}:null}}},wd={performRawSeries:!0,overallReset:function(e){var t=ye();e.eachSeries((function(e){var n,r=e.getColorBy();e.isColorBySeries()||(r=e.type+"-"+r,(n=t.get(r))||t.set(r,n={}),Eg(e).scope=n)})),e.eachSeries((function(t){var n,r,i,o,a,s;t.isColorBySeries()||e.isSeriesFiltered(t)||(n=t.getRawData(),r={},i=t.getData(),o=Eg(t).scope,a=t.visualStyleAccessPath||"itemStyle",s=Rg(t,a),i.each((function(e){var t=i.getRawIndex(e);r[t]=e})),n.each((function(e){var a,u=r[e];i.getItemVisual(u,"colorFromPalette")&&(u=i.ensureUniqueItemVisual(u,"style"),e=n.getName(e)||e+"",a=n.count(),u[s]=t.getColorFromPalette(e,o,a))})))}))}},Math.PI);$g.prototype.restoreData=function(e,t){e.restoreData(t),this._stageTaskMap.each((function(e){e=e.overallTask,e&&e.dirty()}))},$g.prototype.getPerformArgs=function(e,t){var n,r;if(e.__pipeline)return r=(n=this._pipelineMap.get(e.__pipeline.id)).context,{step:t=!t&&n.progressiveEnabled&&(!r||r.progressiveRender)&&e.__idxInPipeline>n.blockIndex?n.step:null,modBy:null!=(e=r&&r.modDataCount)?Math.ceil(e/t):null,modDataCount:e}},$g.prototype.getPipeline=function(e){return this._pipelineMap.get(e)},$g.prototype.updateStreamModes=function(e,t){var n=this._pipelineMap.get(e.uid),r=e.getData().count(),i=(t=n.progressiveEnabled&&t.incrementalPrepareRender&&r>=n.threshold,e.get("large")&&r>=e.get("largeThreshold"));r="mod"===e.get("progressiveChunkMode")?r:null;e.pipelineContext=n.context={progressiveRender:t,modDataCount:r,large:i}},$g.prototype.restorePipelines=function(e){var t=this,n=t._pipelineMap=ye();e.eachSeries((function(e){var r=e.getProgressive(),i=e.uid;n.set(i,{id:i,head:null,tail:null,threshold:e.getProgressiveThreshold(),progressiveEnabled:r&&!(e.preventIncremental&&e.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),t._pipe(e,e.dataTask)}))},$g.prototype.prepareStageTasks=function(){var e=this._stageTaskMap,t=this.api.getModel(),n=this.api;L(this._allHandlers,(function(r){var i=e.get(r.uid)||e.set(r.uid,{});ae(!(r.reset&&r.overallReset),""),r.reset&&this._createSeriesStageTask(r,i,t,n),r.overallReset&&this._createOverallStageTask(r,i,t,n)}),this)},$g.prototype.prepareView=function(e,t,n,r){var i=e.renderTask,o=i.context;o.model=t,o.ecModel=n,o.api=r,i.__block=!e.incrementalPrepareRender,this._pipe(t,i)},$g.prototype.performDataProcessorTasks=function(e,t){this._performStageTasks(this._dataProcessorHandlers,e,t,{block:!0})},$g.prototype.performVisualTasks=function(e,t,n){this._performStageTasks(this._visualHandlers,e,t,n)},$g.prototype._performStageTasks=function(e,t,n,r){r=r||{};var i=!1,o=this;function a(e,t){return e.setDirty&&(!e.dirtyMap||e.dirtyMap.get(t.__pipeline.id))}L(e,(function(e,s){var u,l,c,d,p;r.visualType&&r.visualType!==e.visualType||(u=(l=o._stageTaskMap.get(e.uid)).seriesTaskMap,(l=l.overallTask)?((d=l.agentStubMap).each((function(e){a(r,e)&&(e.dirty(),c=!0)})),c&&l.dirty(),o.updatePayload(l,n),p=o.getPerformArgs(l,r.block),d.each((function(e){e.perform(p)})),l.perform(p)&&(i=!0)):u&&u.each((function(s,u){a(r,s)&&s.dirty();var l=o.getPerformArgs(s,r.block);l.skip=!e.performRawSeries&&t.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(l)&&(i=!0)})))})),this.unfinished=i||this.unfinished},$g.prototype.performSeriesTasks=function(e){var t;e.eachSeries((function(e){t=e.dataTask.perform()||t})),this.unfinished=t||this.unfinished},$g.prototype.plan=function(){this._pipelineMap.each((function(e){var t=e.tail;do{if(t.__block){e.blockIndex=t.__idxInPipeline;break}}while(t=t.getUpstream())}))},$g.prototype.updatePayload=function(e,t){"remain"!==t&&(e.context.payload=t)},$g.prototype._createSeriesStageTask=function(e,t,n,r){var i=this,o=t.seriesTaskMap,a=t.seriesTaskMap=ye(),s=(t=e.seriesType,e.getTargetSeries);function u(t){var s=t.uid;s=a.set(s,o&&o.get(s)||Xf({plan:Wg,reset:qg,count:Xg}));s.context={model:t,ecModel:n,api:r,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:i},i._pipe(t,s)}e.createOnAllSeries?n.eachRawSeries(u):t?n.eachRawSeriesByType(t,u):s&&s(n,r).each(u)},$g.prototype._createOverallStageTask=function(e,t,n,r){var i=this,o=t.overallTask=t.overallTask||Xf({reset:Ug}),a=(o.context={ecModel:n,api:r,overallReset:e.overallReset,scheduler:i},o.agentStubMap),s=o.agentStubMap=ye(),u=(t=e.seriesType,e.getTargetSeries),l=!0,c=!1;function d(e){var t=e.uid;t=s.set(t,a&&a.get(t)||(c=!0,Xf({reset:Hg,onDirty:Gg})));t.context={model:e,overallProgress:l},t.agent=o,t.__block=l,i._pipe(e,t)}ae(!e.createOnAllSeries,""),t?n.eachRawSeriesByType(t,d):u?u(n,r).each(d):(l=!1,L(n.getSeries(),d)),c&&o.dirty()},$g.prototype._pipe=function(e,t){e=e.uid,e=this._pipelineMap.get(e),e.head||(e.head=t),e.tail&&e.tail.pipe(t),(e.tail=t).__idxInPipeline=e.count++,t.__pipeline=e},$g.wrapStageHandler=function(e,t){return(e=H(e)?{overallReset:e,seriesType:function(e){Kg=null;try{e(Jg,Zg)}catch(e){}return Kg}(e)}:e).uid=pd("stageHandler"),t&&(e.visualType=t),e};var zg=$g;function $g(e,t,n,r){this._stageTaskMap=ye(),this.ecInstance=e,this.api=t,n=this._dataProcessorHandlers=n.slice(),r=this._visualHandlers=r.slice(),this._allHandlers=n.concat(r)}function Ug(e){e.overallReset(e.ecModel,e.api,e.payload)}function Hg(e){return e.overallProgress&&Vg}function Vg(){this.agent.dirty(),this.getDownstream().dirty()}function Gg(){this.agent&&this.agent.dirty()}function Wg(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function qg(e){return e.useClearVisual&&e.data.clearAllVisual(),e=e.resetDefines=Ki(e.reset(e.model,e.ecModel,e.api,e.payload)),1<e.length?N(e,(function(e,t){return Yg(t)})):Qg}var Qg=Yg(0);function Yg(e){return function(t,n){var r=n.data,i=n.resetDefines[e];if(i&&i.dataEach)for(var o=t.start;o<t.end;o++)i.dataEach(r,o);else i&&i.progress&&i.progress(t,r)}}function Xg(e){return e.data.count()}var Kg,Jg={},Zg={};function ey(e,t){for(var n in t.prototype)e[n]=xe}function ty(){return{axisLine:{lineStyle:{color:ny}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}}ey(Jg,$p),ey(Zg,Wp),Jg.eachSeriesByType=Jg.eachRawSeriesByType=function(e){Kg=e},Jg.eachComponent=function(e){"series"===e.mainType&&e.subType&&(Kg=e.subType)};nd=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],id={color:nd,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],nd]};var ny="#B9B8CE",ry=(ed="#100C2A",nd=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],ed={darkMode:!0,color:nd,backgroundColor:ed,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:ny}},textStyle:{color:ny},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:ny}},dataZoom:{borderColor:"#71708A",textStyle:{color:ny},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:ny}},timeline:{lineStyle:{color:ny},label:{color:ny},controlStyle:{color:ny,borderColor:ny}},calendar:{itemStyle:{color:ed},dayLabel:{color:ny},monthLabel:{color:ny},yearLabel:{color:ny}},timeAxis:ty(),logAxis:ty(),valueAxis:ty(),categoryAxis:ty(),line:{symbol:"circle"},graph:{color:nd},gauge:{title:{color:ny},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:ny},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}},ed.categoryAxis.splitLine.show=!1,iy.prototype.normalizeQuery=function(e){var t,n,r,i={},o={},a={};return V(e)?(t=vo(e),i.mainType=t.main||null,i.subType=t.sub||null):(n=["Index","Name","Id"],r={name:1,dataIndex:1,dataType:1},L(e,(function(e,t){for(var s=!1,u=0;u<n.length;u++){var l=n[u],c=t.lastIndexOf(l);0<c&&c===t.length-l.length&&"data"!==(c=t.slice(0,c))&&(i.mainType=c,i[l.toLowerCase()]=e,s=!0)}r.hasOwnProperty(t)&&(o[t]=e,s=!0),s||(a[t]=e)}))),{cptQuery:i,dataQuery:o,otherQuery:a}},iy.prototype.filter=function(e,t){var n,r,i,o,a,s=this.eventInfo;return!s||(n=s.targetEl,r=s.packedEvent,i=s.model,s=s.view,!i)||!s||(o=t.cptQuery,a=t.dataQuery,u(o,i,"mainType")&&u(o,i,"subType")&&u(o,i,"index","componentIndex")&&u(o,i,"name")&&u(o,i,"id")&&u(a,r,"name")&&u(a,r,"dataIndex")&&u(a,r,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(e,t.otherQuery,n,r)));function u(e,t,n,r){return null==e[n]||t[r||n]===e[n]}},iy.prototype.afterTrigger=function(){this.eventInfo=null},iy);function iy(){}var oy=["symbol","symbolSize","symbolRotate","symbolOffset"],ay=oy.concat(["symbolKeepAspect"]),sy=(nd={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData();if(e.legendIcon&&n.setVisual("legendIcon",e.legendIcon),e.hasSymbolVisual){for(var r,i={},o={},a=!1,s=0;s<oy.length;s++){var u=oy[s],l=e.get(u);H(l)?(a=!0,o[u]=l):i[u]=l}if(i.symbol=i.symbol||e.defaultSymbol,n.setVisual(I({legendIcon:e.legendIcon||i.symbol,symbolKeepAspect:e.get("symbolKeepAspect")},i)),!t.isSeriesFiltered(e))return r=F(o),{dataEach:a?function(t,n){for(var i=e.getRawValue(n),a=e.getDataParams(n),s=0;s<r.length;s++){var u=r[s];t.setItemVisual(n,u,o[u](i,a))}}:null}}}},{createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(e.hasSymbolVisual&&!t.isSeriesFiltered(e))return{dataEach:e.getData().hasItemOption?function(e,t){for(var n=e.getItemModel(t),r=0;r<ay.length;r++){var i=ay[r],o=n.getShallow(i,!0);null!=o&&e.setItemVisual(t,i,o)}}:null}}});function uy(e,t,n){switch(n){case"color":return e.getItemVisual(t,"style")[e.getVisual("drawType")];case"opacity":return e.getItemVisual(t,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getItemVisual(t,n)}}function ly(e,t){switch(t){case"color":return e.getVisual("style")[e.getVisual("drawType")];case"opacity":return e.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getVisual(t)}}function cy(e,t,n,r,i){var o=e+t;n.isSilent(o)||r.eachComponent({mainType:"series",subType:"pie"},(function(e){for(var t,r,a=e.seriesIndex,s=e.option.selectedMap,u=i.selected,l=0;l<u.length;l++)u[l].seriesIndex===a&&(r=ao(t=e.getData(),i.fromActionPayload),n.trigger(o,{type:o,seriesId:e.id,name:U(r)?t.getName(r[0]):t.getName(r),selected:V(s)?s:I({},s)}))}))}function dy(e,t,n){for(var r;e&&(!t(e)||(r=e,!n));)e=e.__hostTarget||e.parent;return r}var py=Math.round(9*Math.random()),fy="function"==typeof Object.defineProperty,hy=(gy.prototype.get=function(e){return this._guard(e)[this._id]},gy.prototype.set=function(e,t){return e=this._guard(e),fy?Object.defineProperty(e,this._id,{value:t,enumerable:!1,configurable:!0}):e[this._id]=t,this},gy.prototype.delete=function(e){return!!this.has(e)&&(delete this._guard(e)[this._id],!0)},gy.prototype.has=function(e){return!!this._guard(e)[this._id]},gy.prototype._guard=function(e){if(e!==Object(e))throw TypeError("Value of WeakMap is not a non-null object.");return e},gy);function gy(){this._id="__ec_inner_"+py++}var yy=Va.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,r=t.cy,i=t.width/2;t=t.height/2;e.moveTo(n,r-t),e.lineTo(n+i,r+t),e.lineTo(n-i,r+t),e.closePath()}}),my=Va.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,r=t.cy,i=t.width/2;t=t.height/2;e.moveTo(n,r-t),e.lineTo(n+i,r),e.lineTo(n,r+t),e.lineTo(n-i,r),e.closePath()}}),vy=Va.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.x,r=t.y,i=t.width/5*3,o=(t=Math.max(i,t.height),i=i/2,i*i/(t-i)),a=(t=r-t+i+o,Math.asin(o/i)),s=Math.cos(a)*i,u=Math.sin(a),l=Math.cos(a),c=.6*i,d=.7*i;e.moveTo(n-s,t+o),e.arc(n,t,i,Math.PI-a,2*Math.PI+a),e.bezierCurveTo(n+s-u*c,t+o+l*c,n,r-d,n,r),e.bezierCurveTo(n,r-d,n-s+u*c,t+o+l*c,n-s,t+o),e.closePath()}}),_y=Va.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.height,r=t.width,i=t.x;t=t.y,r=r/3*2;e.moveTo(i,t),e.lineTo(i+r,t+n),e.lineTo(i,t+n/4*3),e.lineTo(i-r,t+n),e.lineTo(i,t),e.closePath()}}),by={line:function(e,t,n,r,i){i.x1=e,i.y1=t+r/2,i.x2=e+n,i.y2=t+r/2},rect:function(e,t,n,r,i){i.x=e,i.y=t,i.width=n,i.height=r},roundRect:function(e,t,n,r,i){i.x=e,i.y=t,i.width=n,i.height=r,i.r=Math.min(n,r)/4},square:function(e,t,n,r,i){n=Math.min(n,r),i.x=e,i.y=t,i.width=n,i.height=n},circle:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.r=Math.min(n,r)/2},diamond:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.width=n,i.height=r},pin:function(e,t,n,r,i){i.x=e+n/2,i.y=t+r/2,i.width=n,i.height=r},arrow:function(e,t,n,r,i){i.x=e+n/2,i.y=t+r/2,i.width=n,i.height=r},triangle:function(e,t,n,r,i){i.cx=e+n/2,i.cy=t+r/2,i.width=n,i.height=r}},xy={},wy=(L({line:Al,rect:us,roundRect:us,square:us,circle:zu,diamond:my,pin:vy,arrow:_y,triangle:yy},(function(e,t){xy[t]=new e})),Va.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(e,t,n){e=si(e,t,n);var r=this.shape;return r&&"pin"===r.symbolType&&"inside"===t.position&&(e.y=n.y+.4*n.height),e},buildPath:function(e,t,n){var r,i=t.symbolType;"none"!==i&&(r=(r=xy[i])||xy[i="rect"],by[i](t.x,t.y,t.width,t.height,r.shape),r.buildPath(e,r.shape,n))}}));function Sy(e,t){var n;"image"!==this.type&&(n=this.style,this.__isEmptyBrush?(n.stroke=e,n.fill=t||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=e:n.fill=e,this.markRedraw())}function Ay(e,t,n,r,i,o,a){var s=0===e.indexOf("empty");return(a=0===(e=s?e.substr(5,1).toLowerCase()+e.substr(6):e).indexOf("image://")?vc(e.slice(8),new Et(t,n,r,i),a?"center":"cover"):0===e.indexOf("path://")?mc(e.slice(7),{},new Et(t,n,r,i),a?"center":"cover"):new wy({shape:{symbolType:e,x:t,y:n,width:r,height:i}})).__isEmptyBrush=s,a.setColor=Sy,o&&a.setColor(o),a}function Cy(e){return[(e=U(e)?e:[+e,+e])[0]||0,e[1]||0]}function ky(e,t){if(null!=e)return[Di((e=U(e)?e:[e,e])[0],t[0])||0,Di(ne(e[1],e[0]),t[1])||0]}function Ty(e){return isFinite(e)}function Iy(e,t,n){for(var r,i,o,a,s,u,l,c,d,p="radial"===t.type?(r=e,i=t,a=(o=n).width,s=o.height,u=Math.min(a,s),l=null==i.x?.5:i.x,c=null==i.y?.5:i.y,d=null==i.r?.5:i.r,i.global||(l=l*a+o.x,c=c*s+o.y,d*=u),l=Ty(l)?l:.5,c=Ty(c)?c:.5,d=0<=d&&Ty(d)?d:.5,r.createRadialGradient(l,c,0,l,c,d)):(i=e,a=n,o=null==(s=t).x?0:s.x,u=null==s.x2?1:s.x2,r=null==s.y?0:s.y,l=null==s.y2?0:s.y2,s.global||(o=o*a.width+a.x,u=u*a.width+a.x,r=r*a.height+a.y,l=l*a.height+a.y),o=Ty(o)?o:0,u=Ty(u)?u:1,r=Ty(r)?r:0,l=Ty(l)?l:0,i.createLinearGradient(o,r,u,l)),f=t.colorStops,h=0;h<f.length;h++)p.addColorStop(f[h].offset,f[h].color);return p}function My(e){return parseInt(e,10)}function Oy(e,t,n){var r=["width","height"][t],i=["clientWidth","clientHeight"][t],o=["paddingLeft","paddingTop"][t];t=["paddingRight","paddingBottom"][t];return null!=n[r]&&"auto"!==n[r]?parseFloat(n[r]):(n=document.defaultView.getComputedStyle(e),(e[i]||My(n[r])||My(e.style[r]))-(My(n[o])||0)-(My(n[t])||0)|0)}function Py(e){var t,n=e.style,r=n.lineDash&&0<n.lineWidth&&(i=n.lineDash,r=n.lineWidth,i&&"solid"!==i&&0<r?"dashed"===i?[4*r,2*r]:"dotted"===i?[r]:W(i)?[i]:U(i)?i:null:null),i=n.lineDashOffset;return r&&(t=n.strokeNoScale&&e.getLineScale?e.getLineScale():1)&&1!==t&&(r=N(r,(function(e){return e/t})),i/=t),[r,i]}var Dy=new ka(!0);function Ey(e){var t=e.stroke;return!(null==t||"none"===t||!(0<e.lineWidth))}function By(e){return"string"==typeof e&&"none"!==e}function Ly(e){return e=e.fill,null!=e&&"none"!==e}function Ny(e,t){var n;null!=t.fillOpacity&&1!==t.fillOpacity?(n=e.globalAlpha,e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=n):e.fill()}function Ry(e,t){var n;null!=t.strokeOpacity&&1!==t.strokeOpacity?(n=e.globalAlpha,e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=n):e.stroke()}function jy(e,t,n){n=Oo(t.image,t.__image,n);if(Do(n))return e=e.createPattern(n,t.repeat||"repeat"),"function"==typeof DOMMatrix&&e&&e.setTransform&&((n=new DOMMatrix).translateSelf(t.x||0,t.y||0),n.rotateSelf(0,0,(t.rotation||0)*we),n.scaleSelf(t.scaleX||1,t.scaleY||1),e.setTransform(n)),e}var Fy=["shadowBlur","shadowOffsetX","shadowOffsetY"],zy=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function $y(e,t,n,r,i){var o,a=!1;if(!r&&t===(n=n||{}))return!1;!r&&t.opacity===n.opacity||(Vy(e,i),a=!0,o=Math.max(Math.min(t.opacity,1),0),e.globalAlpha=isNaN(o)?Go.opacity:o),!r&&t.blend===n.blend||(a||(Vy(e,i),a=!0),e.globalCompositeOperation=t.blend||Go.blend);for(var s=0;s<Fy.length;s++){var u=Fy[s];!r&&t[u]===n[u]||(a||(Vy(e,i),a=!0),e[u]=e.dpr*(t[u]||0))}return!r&&t.shadowColor===n.shadowColor||(a||(Vy(e,i),a=!0),e.shadowColor=t.shadowColor||Go.shadowColor),a}function Uy(e,t,n,r,i){var o=Gy(t,i.inHover),a=r?null:n&&Gy(n,i.inHover)||{};if(o!==a){var s=$y(e,o,a,r,i);(r||o.fill!==a.fill)&&(s||(Vy(e,i),s=!0),By(o.fill))&&(e.fillStyle=o.fill),(r||o.stroke!==a.stroke)&&(s||(Vy(e,i),s=!0),By(o.stroke))&&(e.strokeStyle=o.stroke),!r&&o.opacity===a.opacity||(s||(Vy(e,i),s=!0),e.globalAlpha=null==o.opacity?1:o.opacity),t.hasStroke()&&(n=o.lineWidth/(o.strokeNoScale&&t.getLineScale?t.getLineScale():1),e.lineWidth!==n)&&(s||(Vy(e,i),s=!0),e.lineWidth=n);for(var u=0;u<zy.length;u++){var l=zy[u],c=l[0];!r&&o[c]===a[c]||(s||(Vy(e,i),s=!0),e[c]=o[c]||l[1])}}}function Hy(e,t){t=t.transform;var n=e.dpr||1;t?e.setTransform(n*t[0],n*t[1],n*t[2],n*t[3],n*t[4],n*t[5]):e.setTransform(n,0,0,n,0,0)}function Vy(e,t){t.batchFill&&e.fill(),t.batchStroke&&e.stroke(),t.batchFill="",t.batchStroke=""}function Gy(e,t){return t&&e.__hoverStyle||e.style}function Wy(e,t){qy(e,t,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function qy(e,t,n,r){var i=t.transform;if(t.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1)){var o=t.__clipPaths,a=n.prevElClipPaths,s=!1,u=!1;if(!a||function(e,t){if(e!==t&&(e||t)){if(!e||!t||e.length!==t.length)return 1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return 1}}(o,a)){if(a&&a.length&&(Vy(e,n),e.restore(),u=s=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),o&&o.length){Vy(e,n),e.save();for(var c=o,d=e,p=(a=n,!1),f=0;f<c.length;f++){var h=c[f];p=p||h.isZeroArea();Hy(d,h),d.beginPath(),h.buildPath(d,h.shape),d.clip()}a.allClipped=p,s=!0}n.prevElClipPaths=o}if(n.allClipped)t.__isRendered=!1;else{t.beforeBrush&&t.beforeBrush(),t.innerBeforeBrush();a=n.prevEl;var g,y,m,v,_,b,x,w,S,A,C,k,T,I,M,O,P,D,E,B,L,N,R,j=(a||(u=s=!0),t instanceof Va&&t.autoBatch&&(o=t.style,j=Ly(o),g=Ey(o),!(o.lineDash||!(+j^+g)||j&&"string"!=typeof o.fill||g&&"string"!=typeof o.stroke||o.strokePercent<1||o.strokeOpacity<1||o.fillOpacity<1)));s=(s||(g=i,o=a.transform,g&&o?g[0]!==o[0]||g[1]!==o[1]||g[2]!==o[2]||g[3]!==o[3]||g[4]!==o[4]||g[5]!==o[5]:g||o)?(Vy(e,n),Hy(e,t)):j||Vy(e,n),Gy(t,n.inHover));if(t instanceof Va)1!==n.lastDrawType&&(u=!0,n.lastDrawType=1),Uy(e,t,a,u,n),j&&(n.batchFill||n.batchStroke)||e.beginPath(),i=e,o=t,H=j,M=Ey(v=s),O=Ly(v),P=v.strokePercent,D=P<1,E=!o.path,o.silent&&!D||!E||o.createPathProxy(),B=o.path||Dy,L=o.__dirty,H||(_=v.fill,R=v.stroke,b=O&&!!_.colorStops,x=M&&!!R.colorStops,w=O&&!!_.image,S=M&&!!R.image,N=T=k=C=A=void 0,(b||x)&&(N=o.getBoundingRect()),b&&(A=L?Iy(i,_,N):o.__canvasFillGradient,o.__canvasFillGradient=A),x&&(C=L?Iy(i,R,N):o.__canvasStrokeGradient,o.__canvasStrokeGradient=C),w&&(k=L||!o.__canvasFillPattern?jy(i,_,o):o.__canvasFillPattern,o.__canvasFillPattern=k),S&&(T=L||!o.__canvasStrokePattern?jy(i,R,o):o.__canvasStrokePattern,o.__canvasStrokePattern=k),b?i.fillStyle=A:w&&(k?i.fillStyle=k:O=!1),x?i.strokeStyle=C:S&&(T?i.strokeStyle=T:M=!1)),N=o.getGlobalScale(),B.setScale(N[0],N[1],o.segmentIgnoreThreshold),i.setLineDash&&v.lineDash&&(I=(_=Py(o))[0],U=_[1]),R=!0,(E||4&L)&&(B.setDPR(i.dpr),D?B.setContext(null):(B.setContext(i),R=!1),B.reset(),o.buildPath(B,o.shape,H),B.toStatic(),o.pathUpdated()),R&&B.rebuildPath(i,D?P:1),I&&(i.setLineDash(I),i.lineDashOffset=U),H||(v.strokeFirst?(M&&Ry(i,v),O&&Ny(i,v)):(O&&Ny(i,v),M&&Ry(i,v))),I&&i.setLineDash([]),j&&(n.batchFill=s.fill||"",n.batchStroke=s.stroke||"");else if(t instanceof Qa)3!==n.lastDrawType&&(u=!0,n.lastDrawType=3),Uy(e,t,a,u,n),b=e,A=t,null!=(k=(w=s).text)&&(k+=""),k&&(b.font=w.font||l,b.textAlign=w.textAlign,b.textBaseline=w.textBaseline,C=x=void 0,b.setLineDash&&w.lineDash&&(x=(A=Py(A))[0],C=A[1]),x&&(b.setLineDash(x),b.lineDashOffset=C),w.strokeFirst?(Ey(w)&&b.strokeText(k,w.x,w.y),Ly(w)&&b.fillText(k,w.x,w.y)):(Ly(w)&&b.fillText(k,w.x,w.y),Ey(w)&&b.strokeText(k,w.x,w.y)),x)&&b.setLineDash([]);else if(t instanceof Za)2!==n.lastDrawType&&(u=!0,n.lastDrawType=2),S=a,T=u,$y(e,Gy(t,(N=n).inHover),S&&Gy(S,N.inHover),T,N),_=e,E=s,(o=(L=t).__image=Oo(E.image,L.__image,L,L.onload))&&Do(o)&&(R=E.x||0,B=E.y||0,D=L.getWidth(),L=L.getHeight(),P=o.width/o.height,null==D&&null!=L?D=L*P:null==L&&null!=D?L=D/P:null==D&&null==L&&(D=o.width,L=o.height),E.sWidth&&E.sHeight?(y=E.sx||0,m=E.sy||0,_.drawImage(o,y,m,E.sWidth,E.sHeight,R,B,D,L)):E.sx&&E.sy?(y=E.sx,m=E.sy,_.drawImage(o,y,m,D-y,L-m,R,B,D,L)):_.drawImage(o,R,B,D,L));else if(t.getTemporalDisplayables){4!==n.lastDrawType&&(u=!0,n.lastDrawType=4);var F,z,$=e,U=t,H=n,V=U.getDisplayables(),G=U.getTemporalDisplayables(),W=($.save(),{prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:H.viewWidth,viewHeight:H.viewHeight,inHover:H.inHover});for(F=U.getCursor(),z=V.length;F<z;F++)(q=V[F]).beforeBrush&&q.beforeBrush(),q.innerBeforeBrush(),qy($,q,W,F===z-1),q.innerAfterBrush(),q.afterBrush&&q.afterBrush(),W.prevEl=q;for(var q,Q=0,Y=G.length;Q<Y;Q++)(q=G[Q]).beforeBrush&&q.beforeBrush(),q.innerBeforeBrush(),qy($,q,W,Q===Y-1),q.innerAfterBrush(),q.afterBrush&&q.afterBrush(),W.prevEl=q;U.clearTemporalDisplayables(),U.notClear=!0,$.restore()}j&&r&&Vy(e,n),t.innerAfterBrush(),t.afterBrush&&t.afterBrush(),(n.prevEl=t).__dirty=0,t.__isRendered=!0}}else t.__dirty&=-2,t.__isRendered=!1}var Qy=new hy,Yy=new Dn(100),Xy=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function Ky(e,t){if("none"===e)return null;var n=t.getDevicePixelRatio(),r=t.getZr(),i="svg"===r.painter.type;e.dirty&&Qy.delete(e),t=Qy.get(e);if(t)return t;for(var o,a=M(e,{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}),u=(t=("none"===a.backgroundColor&&(a.backgroundColor=null),{repeat:"repeat"}),t),l=[n],c=!0,p=0;p<Xy.length;++p){var f=a[Xy[p]];if(null!=f&&!U(f)&&!V(f)&&!W(f)&&"boolean"!=typeof f){c=!1;break}l.push(f)}c&&(o=l.join(",")+(i?"-svg":""),b=Yy.get(o))&&(i?u.svgElement=b:u.image=b);var h,g=function e(t){if(!t||0===t.length)return[[0,0]];if(W(t))return[[o=Math.ceil(t),o]];for(var n=!0,r=0;r<t.length;++r)if(!W(t[r])){n=!1;break}if(n)return e([t]);var i=[];for(r=0;r<t.length;++r){var o;W(t[r])?(o=Math.ceil(t[r]),i.push([o,o])):(o=N(t[r],(function(e){return Math.ceil(e)}))).length%2==1?i.push(o.concat(o)):i.push(o)}return i}(a.dashArrayX),y=function(e){if(!e||"object"==s(e)&&0===e.length)return[0,0];if(W(e))return[t=Math.ceil(e),t];var t=N(e,(function(e){return Math.ceil(e)}));return e.length%2?t.concat(t):t}(a.dashArrayY),m=function e(t){if(!t||0===t.length)return[["rect"]];if(V(t))return[[t]];for(var n=!0,r=0;r<t.length;++r)if(!V(t[r])){n=!1;break}if(n)return e([t]);var i=[];for(r=0;r<t.length;++r)V(t[r])?i.push([t[r]]):i.push(t[r]);return i}(a.symbol),v=function(e){return N(e,Jy)}(g),_=Jy(y),b=!i&&d.createCanvas(),x=i&&{tag:"g",attrs:{},key:"dcl",children:[]},w=function(){for(var e=1,t=0,n=v.length;t<n;++t)e=qi(e,v[t]);var r=1;for(t=0,n=m.length;t<n;++t)r=qi(r,m[t].length);e*=r;var i=_*v.length*m.length;return{width:Math.max(1,Math.min(e,a.maxTileWidth)),height:Math.max(1,Math.min(i,a.maxTileHeight))}}();b&&(b.width=w.width*n,b.height=w.height*n,h=b.getContext("2d")),h&&(h.clearRect(0,0,b.width,b.height),a.backgroundColor)&&(h.fillStyle=a.backgroundColor,h.fillRect(0,0,b.width,b.height));for(var S=0,A=0;A<y.length;++A)S+=y[A];if(!(S<=0))for(var C=-_,k=0,T=0,I=0;C<w.height;){if(k%2==0){for(var O=T/2%m.length,P=0,D=0,E=0;P<2*w.width;){var B,L,R,j,F,z=0;for(A=0;A<g[I].length;++A)z+=g[I][A];if(z<=0)break;D%2==0&&(L=.5*(1-a.symbolSize),B=P+g[I][D]*L,L=C+y[k]*L,R=g[I][D]*a.symbolSize,j=y[k]*a.symbolSize,F=E/2%m[O].length,function(e,t,o,s,u){var l=i?1:n;u=Ay(u,e*l,t*l,o*l,s*l,a.color,a.symbolKeepAspect);i?(e=r.painter.renderOneToVNode(u))&&x.children.push(e):Wy(h,u)}(B,L,R,j,m[O][F])),P+=g[I][D],++E,++D===g[I].length&&(D=0)}++I===g.length&&(I=0)}C+=y[k],++T,++k===y.length&&(k=0)}return c&&Yy.put(o,b||x),u.image=b,u.svgElement=x,u.svgWidth=w.width,u.svgHeight=w.height,t.rotation=a.rotation,t.scaleX=t.scaleY=i?1:1/n,Qy.set(e,t),e.dirty=!1,t}function Jy(e){for(var t=0,n=0;n<e.length;++n)t+=e[n];return e.length%2==1?2*t:t}var Zy=new Ve,em={},tm=(my={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:4500,ARIA:6e3,DECAL:7e3}},"__flagInMainProcess"),nm="__pendingUpdate",rm="__needsUpdateStatus",im=/^[a-zA-Z0-9_]+$/,om="__connectUpdateStatus";function am(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(!this.isDisposed())return um(this,e,t);this.id}}function sm(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return um(this,e,t)}}function um(e,t,n){return n[0]=n[0]&&n[0].toLowerCase(),Ve.prototype[t].apply(e,n)}n(dm,lm=Ve);var lm,cm=dm;function dm(){return null!==lm&&lm.apply(this,arguments)||this}vy=cm.prototype;var pm,fm,hm,gm,ym,mm,vm,_m,bm,xm,wm,Sm,Am,Cm,km,Tm,Im,Mm,Om,Pm=(vy.on=sm("on"),vy.off=sm("off"),n(Dm,Om=Ve),Dm.prototype._onframe=function(){if(!this._disposed){Mm(this);var e=this._scheduler;if(this[nm]){var t=this[nm].silent;this[tm]=!0;try{pm(this),gm.update.call(this,null,this[nm].updateParams)}catch(e){throw this[tm]=!1,this[nm]=null,e}this._zr.flush(),this[tm]=!1,this[nm]=null,_m.call(this,t),bm.call(this,t)}else if(e.unfinished){var n=1,r=this._model,i=this._api;e.unfinished=!1;do{var o=+new Date}while(e.performSeriesTasks(r),e.performDataProcessorTasks(r),mm(this,r),e.performVisualTasks(r),Cm(this,this._model,i,"remain",{}),0<(n-=+new Date-o)&&e.unfinished);e.unfinished||this._zr.flush()}}},Dm.prototype.getDom=function(){return this._dom},Dm.prototype.getId=function(){return this.id},Dm.prototype.getZr=function(){return this._zr},Dm.prototype.isSSR=function(){return this._ssr},Dm.prototype.setOption=function(e,t,n){if(!this[tm])if(this._disposed)this.id;else{q(t)&&(n=t.lazyUpdate,r=t.silent,i=t.replaceMerge,o=t.transition,t=t.notMerge),this[tm]=!0,this._model&&!t||(t=new Jp(this._api),a=this._theme,(s=this._model=new $p).scheduler=this._scheduler,s.ssr=this._ssr,s.init(null,null,null,a,this._locale,t)),this._model.setOption(e,{replaceMerge:i},Um);var r,i,o,a,s={seriesTransition:o,optionChanged:!0};if(n)this[nm]={silent:r,updateParams:s},this[tm]=!1,this.getZr().wakeUp();else{try{pm(this),gm.update.call(this,null,s)}catch(e){throw this[nm]=null,this[tm]=!1,e}this._ssr||this._zr.flush(),this[nm]=null,this[tm]=!1,_m.call(this,r),bm.call(this,r)}}},Dm.prototype.setTheme=function(){},Dm.prototype.getModel=function(){return this._model},Dm.prototype.getOption=function(){return this._model&&this._model.getOption()},Dm.prototype.getWidth=function(){return this._zr.getWidth()},Dm.prototype.getHeight=function(){return this._zr.getHeight()},Dm.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||o.hasGlobalWindow&&window.devicePixelRatio||1},Dm.prototype.getRenderedCanvas=function(e){return this.renderToCanvas(e)},Dm.prototype.renderToCanvas=function(e){return this._zr.painter.getRenderedCanvas({backgroundColor:(e=e||{}).backgroundColor||this._model.get("backgroundColor"),pixelRatio:e.pixelRatio||this.getDevicePixelRatio()})},Dm.prototype.renderToSVGString=function(e){return this._zr.painter.renderToString({useViewBox:(e=e||{}).useViewBox})},Dm.prototype.getSvgDataURL=function(){var e;if(o.svgSupported)return L((e=this._zr).storage.getDisplayList(),(function(e){e.stopAnimation(null,!0)})),e.painter.toDataURL()},Dm.prototype.getDataURL=function(e){var t,n,r,i;if(!this._disposed)return i=(e=e||{}).excludeComponents,t=this._model,n=[],r=this,L(i,(function(e){t.eachComponent({mainType:e},(function(e){e=r._componentsMap[e.__viewId],e.group.ignore||(n.push(e),e.group.ignore=!0)}))})),i="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(e).toDataURL("image/"+(e&&e.type||"png")),L(n,(function(e){e.group.ignore=!1})),i;this.id},Dm.prototype.getConnectedDataURL=function(e){var t,n,r,i,o,a,s,u,l,c,p,f,h,g,y;if(!this._disposed)return t="svg"===e.type,n=this.group,r=Math.min,i=Math.max,qm[n]?(a=o=1/0,u=s=-1/0,l=[],c=e&&e.pixelRatio||this.getDevicePixelRatio(),L(Wm,(function(c,d){var p;c.group===n&&(p=t?c.getZr().painter.getSvgDom().innerHTML:c.renderToCanvas(k(e)),c=c.getDom().getBoundingClientRect(),o=r(c.left,o),a=r(c.top,a),s=i(c.right,s),u=i(c.bottom,u),l.push({dom:p,left:c.left,top:c.top}))})),p=(s*=c)-(o*=c),f=(u*=c)-(a*=c),h=d.createCanvas(),(g=Ti(h,{renderer:t?"svg":"canvas"})).resize({width:p,height:f}),t?(y="",L(l,(function(e){var t=e.left-o,n=e.top-a;y+='<g transform="translate('+t+","+n+')">'+e.dom+"</g>"})),g.painter.getSvgRoot().innerHTML=y,e.connectedBackgroundColor&&g.painter.setBackgroundColor(e.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()):(e.connectedBackgroundColor&&g.add(new us({shape:{x:0,y:0,width:p,height:f},style:{fill:e.connectedBackgroundColor}})),L(l,(function(e){e=new Za({style:{x:e.left*c-o,y:e.top*c-a,image:e.dom}}),g.add(e)})),g.refreshImmediately(),h.toDataURL("image/"+(e&&e.type||"png")))):this.getDataURL(e);this.id},Dm.prototype.convertToPixel=function(e,t){return ym(this,"convertToPixel",e,t)},Dm.prototype.convertFromPixel=function(e,t){return ym(this,"convertFromPixel",e,t)},Dm.prototype.containPixel=function(e,t){var n;if(!this._disposed)return L(lo(this._model,e),(function(e,r){0<=r.indexOf("Models")&&L(e,(function(e){var i=e.coordinateSystem;i&&i.containPoint?n=n||!!i.containPoint(t):"seriesModels"===r&&(i=this._chartsMap[e.__viewId])&&i.containPoint&&(n=n||i.containPoint(t,e))}),this)}),this),!!n;this.id},Dm.prototype.getVisual=function(e,t){e=lo(this._model,e,{defaultMainType:"series"});var n=e.seriesModel.getData();e=e.hasOwnProperty("dataIndexInside")?e.dataIndexInside:e.hasOwnProperty("dataIndex")?n.indexOfRawIndex(e.dataIndex):null;return null!=e?uy(n,e,t):ly(n,t)},Dm.prototype.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},Dm.prototype.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]},Dm.prototype._initEvents=function(){var e,t,n,r=this;L(jm,(function(e){function t(t){var n,i,o,a=r.getModel(),s=t.target;"globalout"===e?n={}:s&&dy(s,(function(e){var t;e=Cs(e);return e&&null!=e.dataIndex?(t=e.dataModel||a.getSeriesByIndex(e.seriesIndex),n=t&&t.getDataParams(e.dataIndex,e.dataType,s)||{},1):e.eventData&&(n=I({},e.eventData),1)}),!0),n&&(i=n.componentType,o=n.componentIndex,"markLine"!==i&&"markPoint"!==i&&"markArea"!==i||(i="series",o=n.seriesIndex),o=(i=i&&null!=o&&a.getComponent(i,o))&&r["series"===i.mainType?"_chartsMap":"_componentsMap"][i.__viewId],n.event=t,n.type=e,r._$eventProcessor.eventInfo={targetEl:s,packedEvent:n,model:i,view:o},r.trigger(e,n))}t.zrEventfulCallAtLast=!0,r._zr.on(e,t,r)})),L(zm,(function(e,t){r._messageCenter.on(t,(function(e){this.trigger(t,e)}),r)})),L(["selectchanged"],(function(e){r._messageCenter.on(e,(function(t){this.trigger(e,t)}),r)})),e=this._messageCenter,n=(t=this)._api,e.on("selectchanged",(function(e){var r=n.getModel();e.isFromClick?(cy("map","selectchanged",t,r,e),cy("pie","selectchanged",t,r,e)):"select"===e.fromAction?(cy("map","selected",t,r,e),cy("pie","selected",t,r,e)):"unselect"===e.fromAction&&(cy("map","unselected",t,r,e),cy("pie","unselected",t,r,e))}))},Dm.prototype.isDisposed=function(){return this._disposed},Dm.prototype.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},Dm.prototype.dispose=function(){var e,t,n;this._disposed?this.id:(this._disposed=!0,this.getDom()&&ho(this.getDom(),Xm,""),t=(e=this)._api,n=e._model,L(e._componentsViews,(function(e){e.dispose(n,t)})),L(e._chartsViews,(function(e){e.dispose(n,t)})),e._zr.dispose(),e._dom=e._model=e._chartsMap=e._componentsMap=e._chartsViews=e._componentsViews=e._scheduler=e._api=e._zr=e._throttledZrFlush=e._theme=e._coordSysMgr=e._messageCenter=null,delete Wm[e.id])},Dm.prototype.resize=function(e){if(!this[tm])if(this._disposed)this.id;else{this._zr.resize(e);var t=this._model;if(this._loadingFX&&this._loadingFX.resize(),t){t=t.resetOption("media");var n=e&&e.silent;this[nm]&&(null==n&&(n=this[nm].silent),t=!0,this[nm]=null),this[tm]=!0;try{t&&pm(this),gm.update.call(this,{type:"resize",animation:I({duration:0},e&&e.animation)})}catch(e){throw this[tm]=!1,e}this[tm]=!1,_m.call(this,n),bm.call(this,n)}}},Dm.prototype.showLoading=function(e,t){this._disposed?this.id:(q(e)&&(t=e,e=""),e=e||"default",this.hideLoading(),Gm[e]&&(e=Gm[e](this._api,t),t=this._zr,this._loadingFX=e,t.add(e)))},Dm.prototype.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},Dm.prototype.makeActionFromEvent=function(e){var t=I({},e);return t.type=zm[e.type],t},Dm.prototype.dispatchAction=function(e,t){var n;this._disposed?this.id:(q(t)||(t={silent:!!t}),Fm[e.type]&&this._model&&(this[tm]?this._pendingActions.push(e):(n=t.silent,vm.call(this,e,n),(e=t.flush)?this._zr.flush():!1!==e&&o.browser.weChat&&this._throttledZrFlush(),_m.call(this,n),bm.call(this,n))))},Dm.prototype.updateLabelLayout=function(){Zy.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},Dm.prototype.appendData=function(e){var t;this._disposed?this.id:(t=e.seriesIndex,this.getModel().getSeriesByIndex(t).appendData(e),this._scheduler.unfinished=!0,this.getZr().wakeUp())},Dm.internalField=(pm=function(e){var t=e._scheduler;t.restorePipelines(e._model),t.prepareStageTasks(),fm(e,!0),fm(e,!1),t.plan()},fm=function(e,t){for(var n=e._model,r=e._scheduler,i=t?e._componentsViews:e._chartsViews,o=t?e._componentsMap:e._chartsMap,a=e._zr,s=e._api,u=0;u<i.length;u++)i[u].__alive=!1;function l(e){var u,l=e.__requireNewView,c=(e.__requireNewView=!1,"_ec_"+e.id+"_"+e.type);l=!l&&o[c];l||(u=vo(e.type),(l=new(t?gg.getClass(u.main,u.sub):bg.getClass(u.sub))).init(n,s),o[c]=l,i.push(l),a.add(l.group)),e.__viewId=l.__id=c,l.__alive=!0,l.__model=e,l.group.__ecComponentInfo={mainType:e.mainType,index:e.componentIndex},t||r.prepareView(l,e,n,s)}for(t?n.eachComponent((function(e,t){"series"!==e&&l(t)})):n.eachSeries(l),u=0;u<i.length;){var c=i[u];c.__alive?u++:(t||c.renderTask.dispose(),a.remove(c.group),c.dispose(n,s),i.splice(u,1),o[c.__id]===c&&delete o[c.__id],c.__id=c.group.__ecComponentInfo=null)}},hm=function(e,t,n,r,i){var o,a,s=e._model;function u(r){r&&r.__alive&&r[t]&&r[t](r.__model,s,e._api,n)}s.setUpdatePayload(n),r?((o={})[r+"Id"]=n[r+"Id"],o[r+"Index"]=n[r+"Index"],o[r+"Name"]=n[r+"Name"],o={mainType:r,query:o},i&&(o.subType=i),null!=(i=n.excludeSeriesId)&&(a=ye(),L(Ki(i),(function(e){e=ro(e,null),null!=e&&a.set(e,!0)}))),s&&s.eachComponent(o,(function(t){var r,i,o=a&&null!=a.get(t.id);if(!o)if(vu(n))if(t instanceof ag){if(n.type===Ds&&!n.notBlur&&!t.get(["emphasis","disabled"])){o=t;var s=n,u=e._api,l=o.seriesIndex,c=o.getData(s.dataType);if(c){s=(U(s=ao(c,s))?s[0]:s)||0;var d=c.getItemGraphicEl(s);if(!d)for(var p=c.count(),f=0;!d&&f<p;)d=c.getItemGraphicEl(f++);d?au(l,(s=Cs(d)).focus,s.blurScope,u):(s=o.get(["emphasis","focus"]),o=o.get(["emphasis","blurScope"]),null!=s&&au(l,s,o,u))}}}else l=uu(t.mainType,t.componentIndex,n.name,e._api),s=l.focusSelf,o=l.dispatchers,n.type===Ds&&s&&!n.notBlur&&su(t.mainType,t.componentIndex,e._api),o&&L(o,(function(e){(n.type===Ds?Js:Zs)(e)}));else mu(n)&&t instanceof ag&&(u=t,o=n,e._api,mu(o)&&(r=o.dataType,U(i=ao(u.getData(r),o))||(i=[i]),u[o.type===Ns?"toggleSelect":o.type===Bs?"select":"unselect"](i,r)),lu(t),Im(e))}),e),s&&s.eachComponent(o,(function(t){a&&null!=a.get(t.id)||u(e["series"===r?"_chartsMap":"_componentsMap"][t.__viewId])}),e)):L([].concat(e._componentsViews).concat(e._chartsViews),u)},gm={prepareAndUpdate:function(e){pm(this),gm.update.call(this,e,{optionChanged:null!=e.newOption})},update:function(e,t){var n=this._model,r=this._api,i=this._zr,o=this._coordSysMgr,a=this._scheduler;n&&(n.setUpdatePayload(e),a.restoreData(n,e),a.performSeriesTasks(n),o.create(n,r),a.performDataProcessorTasks(n,e),mm(this,n),o.update(n,r),Em(n),a.performVisualTasks(n,e),Sm(this,n,r,e,t),o=n.get("backgroundColor")||"transparent",a=n.get("darkMode"),i.setBackgroundColor(o),null!=a&&"auto"!==a&&i.setDarkMode(a),Zy.trigger("afterupdate",n,r))},updateTransform:function(e){var t,n,r=this,i=this._model,o=this._api;i&&(i.setUpdatePayload(e),t=[],i.eachComponent((function(n,a){"series"!==n&&(n=r.getViewOfComponentModel(a))&&n.__alive&&(!n.updateTransform||(a=n.updateTransform(a,i,o,e))&&a.update)&&t.push(n)})),n=ye(),i.eachSeries((function(t){var a=r._chartsMap[t.__viewId];(!a.updateTransform||(a=a.updateTransform(t,i,o,e))&&a.update)&&n.set(t.uid,1)})),Em(i),this._scheduler.performVisualTasks(i,e,{setDirty:!0,dirtyMap:n}),Cm(this,i,o,e,{},n),Zy.trigger("afterupdate",i,o))},updateView:function(e){var t=this._model;t&&(t.setUpdatePayload(e),bg.markUpdateMethod(e,"updateView"),Em(t),this._scheduler.performVisualTasks(t,e,{setDirty:!0}),Sm(this,t,this._api,e,{}),Zy.trigger("afterupdate",t,this._api))},updateVisual:function(e){var t=this,n=this._model;n&&(n.setUpdatePayload(e),n.eachSeries((function(e){e.getData().clearAllVisual()})),bg.markUpdateMethod(e,"updateVisual"),Em(n),this._scheduler.performVisualTasks(n,e,{visualType:"visual",setDirty:!0}),n.eachComponent((function(r,i){"series"!==r&&(r=t.getViewOfComponentModel(i))&&r.__alive&&r.updateVisual(i,n,t._api,e)})),n.eachSeries((function(r){t._chartsMap[r.__viewId].updateVisual(r,n,t._api,e)})),Zy.trigger("afterupdate",n,this._api))},updateLayout:function(e){gm.update.call(this,e)}},ym=function(e,t,n,r){if(e._disposed)e.id;else for(var i=e._model,o=e._coordSysMgr.getCoordinateSystems(),a=lo(i,n),s=0;s<o.length;s++){var u=o[s];if(u[t]&&null!=(u=u[t](i,a,r)))return u}},mm=function(e,t){var n=e._chartsMap,r=e._scheduler;t.eachSeries((function(e){r.updateStreamModes(e,n[e.__viewId])}))},vm=function(e,t){var n,r,i=this,o=this.getModel(),a=e.type,s=e.escapeConnect,u=Fm[a],l=u.actionInfo,c=(l.update||"update").split(":"),d=c.pop(),p=null!=c[0]&&vo(c[0]),f=(c=(this[tm]=!0,[e]),!1),h=(e.batch&&(f=!0,c=N(e.batch,(function(t){return(t=M(I({},t),e)).batch=null,t}))),[]),g=mu(e),y=vu(e);if(y&&ou(this._api),L(c,(function(t){var r,o;(n=(n=u.action(t,i._model,i._api))||I({},t)).type=l.event||n.type,h.push(n),y?(r=(o=co(e)).queryOptionMap,o=o.mainTypeSpecified?r.keys()[0]:"series",hm(i,d,t,o),Im(i)):g?(hm(i,d,t,"series"),Im(i)):p&&hm(i,d,t,p.main,p.sub)})),"none"!==d&&!y&&!g&&!p)try{this[nm]?(pm(this),gm.update.call(this,e),this[nm]=null):gm[d].call(this,e)}catch(t){throw this[tm]=!1,t}n=f?{type:l.event||a,escapeConnect:s,batch:h}:h[0],this[tm]=!1,t||((c=this._messageCenter).trigger(n.type,n),g&&(f={type:"selectchanged",escapeConnect:s,selected:(r=[],o.eachSeries((function(e){L(e.getAllData(),(function(t){t.data;t=t.type;var n=e.getSelectedDataIndices();0<n.length&&(n={dataIndex:n,seriesIndex:e.seriesIndex},null!=t&&(n.dataType=t),r.push(n))}))})),r),isFromClick:e.isFromClick||!1,fromAction:e.type,fromActionPayload:e},c.trigger(f.type,f)))},_m=function(e){for(var t=this._pendingActions;t.length;){var n=t.shift();vm.call(this,n,e)}},bm=function(e){e||this.trigger("updated")},xm=function(e,t){e.on("rendered",(function(n){t.trigger("rendered",n),!e.animation.isFinished()||t[nm]||t._scheduler.unfinished||t._pendingActions.length||t.trigger("finished")}))},wm=function(e,t){e.on("mouseover",(function(e){var n,r,i,o,a=dy(e.target,yu);a&&(a=a,n=e,e=t._api,r=Cs(a),i=(o=uu(r.componentMainType,r.componentIndex,r.componentHighDownName,e)).dispatchers,o=o.focusSelf,i?(o&&su(r.componentMainType,r.componentIndex,e),L(i,(function(e){return Xs(e,n)}))):(au(r.seriesIndex,r.focus,r.blurScope,e),"self"===r.focus&&su(r.componentMainType,r.componentIndex,e),Xs(a,n)),Im(t))})).on("mouseout",(function(e){var n,r,i=dy(e.target,yu);i&&(i=i,n=e,ou(e=t._api),(r=uu((r=Cs(i)).componentMainType,r.componentIndex,r.componentHighDownName,e).dispatchers)?L(r,(function(e){return Ks(e,n)})):Ks(i,n),Im(t))})).on("click",(function(e){var n;e=dy(e.target,(function(e){return null!=Cs(e).dataIndex}),!0);e&&(n=e.selected?"unselect":"select",e=Cs(e),t._api.dispatchAction({type:n,dataType:e.dataType,dataIndexInside:e.dataIndex,seriesIndex:e.seriesIndex,isFromClick:!0}))}))},Sm=function(e,t,n,r,i){var o,a,s,u,l,c,d;l=[],d=!(c=[]),(o=t).eachComponent((function(e,t){var n=t.get("zlevel")||0,r=t.get("z")||0,i=t.getZLevelKey();d=d||!!i,("series"===e?c:l).push({zlevel:n,z:r,idx:t.componentIndex,type:e,key:i})})),d&&(Kt(a=l.concat(c),(function(e,t){return e.zlevel===t.zlevel?e.z-t.z:e.zlevel-t.zlevel})),L(a,(function(e){var t=o.getComponent(e.type,e.idx),n=e.zlevel;e=e.key;null!=s&&(n=Math.max(s,n)),e?(n===s&&e!==u&&n++,u=e):u&&(n===s&&n++,u=""),s=n,t.setZLevel(n)}))),Am(e,t,n,r,i),L(e._chartsViews,(function(e){e.__alive=!1})),Cm(e,t,n,r,i),L(e._chartsViews,(function(e){e.__alive||e.remove(t,n)}))},Am=function(e,t,n,r,i,o){L(o||e._componentsViews,(function(e){var i=e.__model;Nm(0,e),e.render(i,t,n,r),Lm(i,e),Rm(i,e)}))},Cm=function(e,t,n,r,i,a){var s,u,l,c,d=e._scheduler,p=(i=I(i||{},{updatedSeries:t.getSeries()}),Zy.trigger("series:beforeupdate",t,n,i),!1);t.eachSeries((function(t){var n,i=e._chartsMap[t.__viewId],o=(i.__alive=!0,i.renderTask);d.updatePayload(o,r),Nm(0,i),a&&a.get(t.uid)&&o.dirty(),o.perform(d.getPerformArgs(o))&&(p=!0),i.group.silent=!!t.get("silent"),o=i,n=t.get("blendMode")||null,o.eachRendered((function(e){e.isGroup||(e.style.blend=n)})),lu(t)})),d.unfinished=p||d.unfinished,Zy.trigger("series:layoutlabels",t,n,i),Zy.trigger("series:transition",t,n,i),t.eachSeries((function(t){var n=e._chartsMap[t.__viewId];Lm(t,n),Rm(t,n)})),u=t,l=(s=e)._zr.storage,c=0,l.traverse((function(e){e.isGroup||c++})),c>u.get("hoverLayerThreshold")&&!o.node&&!o.worker&&u.eachSeries((function(e){e.preventUsingHoverLayer||(e=s._chartsMap[e.__viewId]).__alive&&e.eachRendered((function(e){e.states.emphasis&&(e.states.emphasis.hoverLayer=!0)}))})),Zy.trigger("series:afterupdate",t,n,i)},Im=function(e){e[rm]=!0,e.getZr().wakeUp()},Mm=function(e){e[rm]&&(e.getZr().storage.traverse((function(e){oc(e)||Bm(e)})),e[rm]=!1)},km=function(e){return n(t,r=Wp),t.prototype.getCoordinateSystems=function(){return e._coordSysMgr.getCoordinateSystems()},t.prototype.getComponentByElement=function(t){for(;t;){var n=t.__ecComponentInfo;if(null!=n)return e._model.getComponent(n.mainType,n.index);t=t.parent}},t.prototype.enterEmphasis=function(t,n){Js(t,n),Im(e)},t.prototype.leaveEmphasis=function(t,n){Zs(t,n),Im(e)},t.prototype.enterBlur=function(t){eu(t),Im(e)},t.prototype.leaveBlur=function(t){tu(t),Im(e)},t.prototype.enterSelect=function(t){nu(t),Im(e)},t.prototype.leaveSelect=function(t){ru(t),Im(e)},t.prototype.getModel=function(){return e.getModel()},t.prototype.getViewOfComponentModel=function(t){return e.getViewOfComponentModel(t)},t.prototype.getViewOfSeriesModel=function(t){return e.getViewOfSeriesModel(t)},new t(e);function t(){return null!==r&&r.apply(this,arguments)||this}var r},void(Tm=function(e){function t(e,t){for(var n=0;n<e.length;n++)e[n][om]=t}L(zm,(function(n,r){e._messageCenter.on(r,(function(n){var r,i;!qm[e.group]||0===e[om]||n&&n.escapeConnect||(r=e.makeActionFromEvent(n),i=[],L(Wm,(function(t){t!==e&&t.group===e.group&&i.push(t)})),t(i,0),L(i,(function(e){1!==e[om]&&e.dispatchAction(r)})),t(i,2))}))}))})),Dm);function Dm(e,t,n){var r=Om.call(this,new ry)||this;r._chartsViews=[],r._chartsMap={},r._componentsViews=[],r._componentsMap={},r._pendingActions=[],n=n||{},V(t)&&(t=Vm[t]),r._dom=e,n.ssr&&Mi((function(e){e=Cs(e);var t,n=e.dataIndex;if(null!=n)return(t=ye()).set("series_index",e.seriesIndex),t.set("data_index",n),e.ssrType&&t.set("ssr_type",e.ssrType),t})),e=r._zr=Ti(e,{renderer:n.renderer||"canvas",devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height,ssr:n.ssr,useDirtyRect:ne(n.useDirtyRect,!1),useCoarsePointer:ne(n.useCoarsePointer,"auto"),pointerSize:n.pointerSize}),r._ssr=n.ssr,r._throttledZrFlush=Og(z(e.flush,e),17),(t=k(t))&&vf(t,!0),r._theme=t,r._locale=V(t=n.locale||md)?(n=gd[t.toUpperCase()]||{},"ZH"===t||"EN"===t?k(n):T(k(n),k(gd[hd]),!1)):T(k(t),k(gd[hd]),!1),r._coordSysMgr=new Yp,n=r._api=km(r);function i(e,t){return e.__prio-t.__prio}return Kt(Hm,i),Kt($m,i),r._scheduler=new zg(r,n,$m,Hm),r._messageCenter=new cm,r._initEvents(),r.resize=z(r.resize,r),e.animation.on("frame",r._onframe,r),xm(e,r),wm(e,r),le(r),r}function Em(e){e.clearColorPalette(),e.eachSeries((function(e){e.clearColorPalette()}))}function Bm(e){for(var t=[],n=e.currentStates,r=0;r<n.length;r++){var i=n[r];"emphasis"!==i&&"blur"!==i&&"select"!==i&&t.push(i)}e.selected&&e.states.select&&t.push("select"),2===e.hoverState&&e.states.emphasis?t.push("emphasis"):1===e.hoverState&&e.states.blur&&t.push("blur"),e.useStates(t)}function Lm(e,t){var n,r;e.preventAutoZ||(n=e.get("z")||0,r=e.get("zlevel")||0,t.eachRendered((function(e){return function e(t,n,r,i){var o=t.getTextContent(),a=t.getTextGuideLine(),s=t.isGroup;if(s)for(var u=t.childrenRef(),l=0;l<u.length;l++)i=Math.max(e(u[l],n,r,i),i);else t.z=n,t.zlevel=r,i=Math.max(t.z2,i);return o&&(o.z=n,o.zlevel=r,isFinite(i))&&(o.z2=i+2),a&&(s=t.textGuideLineConfig,a.z=n,a.zlevel=r,isFinite(i))&&(a.z2=i+(s&&s.showAbove?1:-1)),i}(e,n,r,-1/0),!0})))}function Nm(e,t){t.eachRendered((function(e){var t,n;oc(e)||(t=e.getTextContent(),n=e.getTextGuideLine(),e.stateTransition&&(e.stateTransition=null),t&&t.stateTransition&&(t.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),e.hasState()?(e.prevStates=e.currentStates,e.clearStates()):e.prevStates&&(e.prevStates=null))}))}function Rm(e,t){var n=e.getModel("stateAnimation"),r=e.isAnimationEnabled(),i=(e=n.get("duration"),0<e?{duration:e,delay:n.get("delay"),easing:n.get("easing")}:null);t.eachRendered((function(e){var t,n,o;e.states&&e.states.emphasis&&(oc(e)||(e instanceof Va&&((o=Is(n=e)).normalFill=n.style.fill,o.normalStroke=n.style.stroke,n=n.states.select||{},o.selectFill=n.style&&n.style.fill||null,o.selectStroke=n.style&&n.style.stroke||null),e.__dirty&&(o=e.prevStates)&&e.useStates(o),r&&(e.stateTransition=i,n=e.getTextContent(),t=e.getTextGuideLine(),n&&(n.stateTransition=i),t)&&(t.stateTransition=i),e.__dirty&&Bm(e)))}))}_y=Pm.prototype;var jm=(_y.on=am("on"),_y.off=am("off"),_y.one=function(e,t,n){var r=this;this.on.call(this,e,(function n(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];t&&t.apply&&t.apply(this,i),r.off(e,n)}),n)},["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"]),Fm={},zm={},$m=[],Um=[],Hm=[],Vm={},Gm={},Wm={},qm={},Qm=+new Date,Ym=+new Date,Xm="_echarts_instance_";function Km(e){qm[e]=!1}function Jm(e){return Wm[(t=Xm,(e=e).getAttribute?e.getAttribute(t):e[t])];var t}function Zm(e,t){Vm[e]=t}function ev(e){P(Um,e)<0&&Um.push(e)}function tv(e,t){cv($m,e,t,2e3)}function nv(e){iv("afterinit",e)}function rv(e){iv("afterupdate",e)}function iv(e,t){Zy.on(e,t)}function ov(e,t,n){H(t)&&(n=t,t="");var r=q(e)?e.type:[e,e={event:t}][0];e.event=(e.event||r).toLowerCase(),t=e.event,zm[t]||(ae(im.test(r)&&im.test(t)),Fm[r]||(Fm[r]={action:n,actionInfo:e}),zm[t]=r)}function av(e,t){Yp.register(e,t)}function sv(e,t){cv(Hm,e,t,1e3,"layout")}function uv(e,t){cv(Hm,e,t,3e3,"visual")}yy=Km;var lv=[];function cv(e,t,n,r,i){(H(t)||q(t))&&(n=t,t=r),0<=P(lv,n)||(lv.push(n),(r=zg.wrapStageHandler(n,i)).__prio=t,r.__raw=n,e.push(r))}function dv(e,t){Gm[e]=t}function pv(e,t,n){var r=em.registerMap;r&&r(e,t,n)}function fv(e){var t=(e=k(e)).type,n=(t||Qi(""),t.split(":")),r=(2!==n.length&&Qi(""),!1);"echarts"===n[0]&&(t=n[1],r=!0),e.__isBuiltIn=r,Ah.set(t,e)}function hv(e){return null==e?0:e.length||1}function gv(e){return e}uv(2e3,To),uv(4500,Sc),uv(4500,wd),uv(2e3,nd),uv(4500,sy),uv(7e3,(function(e,t){e.eachRawSeries((function(n){var r;!e.isSeriesFiltered(n)&&((r=n.getData()).hasItemVisual()&&r.each((function(e){var n=r.getItemVisual(e,"decal");n&&(r.ensureUniqueItemVisual(e,"style").decal=Ky(n,t))})),n=r.getVisual("decal"))&&(r.getVisual("style").decal=Ky(n,t))}))})),ev(vf),tv(900,(function(e){var t=ye();e.eachSeries((function(e){var n,r=e.get("stack");r&&(r=t.get(r)||t.set(r,[]),(e={stackResultDimension:(n=e.getData()).getCalculationInfo("stackResultDimension"),stackedOverDimension:n.getCalculationInfo("stackedOverDimension"),stackedDimension:n.getCalculationInfo("stackedDimension"),stackedByDimension:n.getCalculationInfo("stackedByDimension"),isStackedByIndex:n.getCalculationInfo("isStackedByIndex"),data:n,seriesModel:e}).stackedDimension)&&(e.isStackedByIndex||e.stackedByDimension)&&(r.length&&n.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(e))})),t.each(_f)})),dv("default",(function(e,t){M(t=t||{},{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,r=new bi,i=new us({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4}),o=(r.add(i),new fs({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001})),a=new us({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});return r.add(a),t.showSpinner&&((n=new Bl({shape:{startAngle:-Fg/2,endAngle:-Fg/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*Fg/2}).start("circularInOut"),n.animateShape(!0).when(1e3,{startAngle:3*Fg/2}).delay(300).start("circularInOut"),r.add(n)),r.resize=function(){var r=o.getBoundingRect().width,s=t.showSpinner?t.spinnerRadius:0,u=(r=(e.getWidth()-2*s-(t.showSpinner&&r?10:0)-r)/2-(t.showSpinner&&r?0:5+r/2)+(t.showSpinner?0:r/2)+(r?0:s),e.getHeight()/2);t.showSpinner&&n.setShape({cx:r,cy:u}),a.setShape({x:r-s,y:u-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},r.resize(),r})),ov({type:Ds,event:Ds,update:Ds},xe),ov({type:Es,event:Es,update:Es},xe),ov({type:Bs,event:Bs,update:Bs},xe),ov({type:Ls,event:Ls,update:Ls},xe),ov({type:Ns,event:Ns,update:Ns},xe),Zm("light",id),Zm("dark",ed),mv.prototype.add=function(e){return this._add=e,this},mv.prototype.update=function(e){return this._update=e,this},mv.prototype.updateManyToOne=function(e){return this._updateManyToOne=e,this},mv.prototype.updateOneToMany=function(e){return this._updateOneToMany=e,this},mv.prototype.updateManyToMany=function(e){return this._updateManyToMany=e,this},mv.prototype.remove=function(e){return this._remove=e,this},mv.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},mv.prototype._executeOneToOne=function(){var e=this._old,t=this._new,n={},r=new Array(e.length),i=new Array(t.length);this._initIndexMap(e,null,r,"_oldKeyGetter"),this._initIndexMap(t,n,i,"_newKeyGetter");for(var o=0;o<e.length;o++){var a,s=r[o],u=n[s],l=hv(u);1<l?(a=u.shift(),1===u.length&&(n[s]=u[0]),this._update&&this._update(a,o)):1===l?(n[s]=null,this._update&&this._update(u,o)):this._remove&&this._remove(o)}this._performRestAdd(i,n)},mv.prototype._executeMultiple=function(){var e=this._old,t=this._new,n={},r={},i=[],o=[];this._initIndexMap(e,n,i,"_oldKeyGetter"),this._initIndexMap(t,r,o,"_newKeyGetter");for(var a=0;a<i.length;a++){var s=i[a],u=n[s],l=r[s],c=hv(u),d=hv(l);if(1<c&&1===d)this._updateManyToOne&&this._updateManyToOne(l,u),r[s]=null;else if(1===c&&1<d)this._updateOneToMany&&this._updateOneToMany(l,u),r[s]=null;else if(1===c&&1===d)this._update&&this._update(l,u),r[s]=null;else if(1<c&&1<d)this._updateManyToMany&&this._updateManyToMany(l,u),r[s]=null;else if(1<c)for(var p=0;p<c;p++)this._remove&&this._remove(u[p]);else this._remove&&this._remove(u)}this._performRestAdd(o,r)},mv.prototype._performRestAdd=function(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=t[r],o=hv(i);if(1<o)for(var a=0;a<o;a++)this._add&&this._add(i[a]);else 1===o&&this._add&&this._add(i);t[r]=null}},mv.prototype._initIndexMap=function(e,t,n,r){for(var i=this._diffModeMultiple,o=0;o<e.length;o++){var a,s,u="_ec_"+this[r](e[o],o);i||(n[o]=u),t&&(0===(s=hv(a=t[u]))?(t[u]=o,i&&n.push(u)):1===s?t[u]=[a,o]:a.push(o))}};var yv=mv;function mv(e,t,n,r,i,o){this._old=e,this._new=t,this._oldKeyGetter=n||gv,this._newKeyGetter=r||gv,this.context=i,this._diffModeMultiple="multiple"===o}_v.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},_v.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames};var vv=_v;function _v(e,t){this._encode=e,this._schema=t}function bv(e,t){return e.hasOwnProperty(t)||(e[t]=[]),e[t]}var xv=function(e){this.otherDims={},null!=e&&I(this,e)},wv=so(),Sv={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},Av=(Cv.prototype.isDimensionOmitted=function(){return this._dimOmitted},Cv.prototype._updateDimOmitted=function(e){(this._dimOmitted=e)&&!this._dimNameMap&&(this._dimNameMap=Iv(this.source))},Cv.prototype.getSourceDimensionIndex=function(e){return ne(this._dimNameMap.get(e),-1)},Cv.prototype.getSourceDimension=function(e){var t=this.source.dimensionsDefine;if(t)return t[e]},Cv.prototype.makeStoreSchema=function(){for(var e=this._fullDimCount,t=Mf(this.source),n=!(30<e),r="",i=[],o=0,a=0;o<e;o++){var s,u=void 0,l=void 0,c=void 0,d=this.dimensions[a];d&&d.storeDimIndex===o?(u=t?d.name:null,l=d.type,c=d.ordinalMeta,a++):(s=this.getSourceDimension(o))&&(u=t?s.name:null,l=s.type),i.push({property:u,type:l,ordinalMeta:c}),!t||null==u||d&&d.isCalculationCoord||(r+=n?u.replace(/\`/g,"`1").replace(/\$/g,"`2"):u),r=r+"$"+(Sv[l]||"f"),c&&(r+=c.uid),r+="$"}var p=this.source;return{dimensions:i,hash:[p.seriesLayoutBy,p.startIndex,r].join("$$")}},Cv.prototype.makeOutputDimensionNames=function(){for(var e=[],t=0,n=0;t<this._fullDimCount;t++){var r=void 0,i=this.dimensions[n];i&&i.storeDimIndex===t?(i.isCalculationCoord||(r=i.name),n++):(i=this.getSourceDimension(t))&&(r=i.name),e.push(r)}return e},Cv.prototype.appendCalculationDimension=function(e){this.dimensions.push(e),e.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},Cv);function Cv(e){this.dimensions=e.dimensions,this._dimOmitted=e.dimensionOmitted,this.source=e.source,this._fullDimCount=e.fullDimensionCount,this._updateDimOmitted(e.dimensionOmitted)}function kv(e){return e instanceof Av}function Tv(e){for(var t=ye(),n=0;n<(e||[]).length;n++){var r=e[n];r=q(r)?r.name:r;null!=r&&null==t.get(r)&&t.set(r,n)}return t}function Iv(e){var t=wv(e);return t.dimNameMap||(t.dimNameMap=Tv(e.dimensionsDefine))}var Mv,Ov,Pv,Dv,Ev,Bv,Lv,Nv=q,Rv=N,jv="undefined"==typeof Int32Array?Array:Int32Array,Fv=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],zv=["_approximateExtent"],$v=(Uv.prototype.getDimension=function(e){var t;return null==(t=this._recognizeDimIndex(e))?e:(t=e,this._dimOmitted?null!=(e=this._dimIdxToName.get(t))?e:(e=this._schema.getSourceDimension(t))?e.name:void 0:this.dimensions[t])},Uv.prototype.getDimensionIndex=function(e){var t=this._recognizeDimIndex(e);return null!=t?t:null==e?-1:(t=this._getDimInfo(e))?t.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(e):-1},Uv.prototype._recognizeDimIndex=function(e){if(W(e)||null!=e&&!isNaN(e)&&!this._getDimInfo(e)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(e)<0))return+e},Uv.prototype._getStoreDimIndex=function(e){return this.getDimensionIndex(e)},Uv.prototype.getDimensionInfo=function(e){return this._getDimInfo(this.getDimension(e))},Uv.prototype._initGetDimensionInfo=function(e){var t=this._dimInfos;this._getDimInfo=e?function(e){return t.hasOwnProperty(e)?t[e]:void 0}:function(e){return t[e]}},Uv.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},Uv.prototype.mapDimension=function(e,t){var n=this._dimSummary;return null==t?n.encodeFirstDimNotExtra[e]:(n=n.encode[e])?n[t]:null},Uv.prototype.mapDimensionsAll=function(e){return(this._dimSummary.encode[e]||[]).slice()},Uv.prototype.getStore=function(){return this._store},Uv.prototype.initData=function(e,t,n){var r,i,o=this;(r=e instanceof Bh?e:r)||(i=this.dimensions,e=Sf(e)||B(e)?new Ef(e,i.length):e,r=new Bh,i=Rv(i,(function(e){return{type:o._dimInfos[e].type,property:e}})),r.initData(e,i,n)),this._store=r,this._nameList=(t||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,r.count()),this._dimSummary=function(e,t){var n={},r=n.encode={},i=ye(),o=[],a=[],s={},u=(L(e.dimensions,(function(t){var n,u,l=e.getDimensionInfo(t),c=l.coordDim;c&&(n=l.coordDimIndex,bv(r,c)[n]=t,l.isExtraCoord||(i.set(c,1),"ordinal"!==(u=l.type)&&"time"!==u&&(o[0]=t),bv(s,c)[n]=e.getDimensionIndex(l.name)),l.defaultTooltip)&&a.push(t),vp.each((function(e,t){var n=bv(r,t);t=l.otherDims[t];null!=t&&!1!==t&&(n[t]=l.name)}))})),[]),l={},c=(i.each((function(e,t){var n=r[t];l[t]=n[0],u=u.concat(n)})),n.dataDimsOnCoord=u,n.dataDimIndicesOnCoord=N(u,(function(t){return e.getDimensionInfo(t).storeDimIndex})),n.encodeFirstDimNotExtra=l,r.label);return c&&c.length&&(o=c.slice()),c=r.tooltip,c&&c.length?a=c.slice():a.length||(a=o.slice()),r.defaultedLabel=o,r.defaultedTooltip=a,n.userOutput=new vv(s,t),n}(this,this._schema),this.userOutput=this._dimSummary.userOutput},Uv.prototype.appendData=function(e){e=this._store.appendData(e),this._doInit(e[0],e[1])},Uv.prototype.appendValues=function(e,t){e=this._store.appendValues(e,t.length);var n=e.start,r=e.end,i=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),t)for(var o=n;o<r;o++)this._nameList[o]=t[o-n],i&&Lv(this,o)},Uv.prototype._updateOrdinalMeta=function(){for(var e=this._store,t=this.dimensions,n=0;n<t.length;n++){var r=this._dimInfos[t[n]];r.ordinalMeta&&e.collectOrdinalMeta(r.storeDimIndex,r.ordinalMeta)}},Uv.prototype._shouldMakeIdFromName=function(){var e=this._store.getProvider();return null==this._idDimIdx&&e.getSource().sourceFormat!==Sp&&!e.fillStorage},Uv.prototype._doInit=function(e,t){if(!(t<=e)){var n=this._store.getProvider(),r=(this._updateOrdinalMeta(),this._nameList),i=this._idList;if(n.getSource().sourceFormat===_p&&!n.pure)for(var o=[],a=e;a<t;a++){var s,u=n.getItem(a,o);this.hasItemOption||!q(s=u)||s instanceof Array||(this.hasItemOption=!0),u&&(s=u.name,null==r[a]&&null!=s&&(r[a]=ro(s,null)),u=u.id,null==i[a])&&null!=u&&(i[a]=ro(u,null))}if(this._shouldMakeIdFromName())for(a=e;a<t;a++)Lv(this,a);Mv(this)}},Uv.prototype.getApproximateExtent=function(e){return this._approximateExtent[e]||this._store.getDataExtent(this._getStoreDimIndex(e))},Uv.prototype.setApproximateExtent=function(e,t){t=this.getDimension(t),this._approximateExtent[t]=e.slice()},Uv.prototype.getCalculationInfo=function(e){return this._calculationInfo[e]},Uv.prototype.setCalculationInfo=function(e,t){Nv(e)?I(this._calculationInfo,e):this._calculationInfo[e]=t},Uv.prototype.getName=function(e){e=this.getRawIndex(e);var t=this._nameList[e];return null==(t=null==t&&null!=this._nameDimIdx?Pv(this,this._nameDimIdx,e):t)?"":t},Uv.prototype._getCategory=function(e,t){return t=this._store.get(e,t),e=this._store.getOrdinalMeta(e),e?e.categories[t]:t},Uv.prototype.getId=function(e){return Ov(this,this.getRawIndex(e))},Uv.prototype.count=function(){return this._store.count()},Uv.prototype.get=function(e,t){var n=this._store;e=this._dimInfos[e];if(e)return n.get(e.storeDimIndex,t)},Uv.prototype.getByRawIndex=function(e,t){var n=this._store;e=this._dimInfos[e];if(e)return n.getByRawIndex(e.storeDimIndex,t)},Uv.prototype.getIndices=function(){return this._store.getIndices()},Uv.prototype.getDataExtent=function(e){return this._store.getDataExtent(this._getStoreDimIndex(e))},Uv.prototype.getSum=function(e){return this._store.getSum(this._getStoreDimIndex(e))},Uv.prototype.getMedian=function(e){return this._store.getMedian(this._getStoreDimIndex(e))},Uv.prototype.getValues=function(e,t){var n=this,r=this._store;return U(e)?r.getValues(Rv(e,(function(e){return n._getStoreDimIndex(e)})),t):r.getValues(e)},Uv.prototype.hasValue=function(e){for(var t=this._dimSummary.dataDimIndicesOnCoord,n=0,r=t.length;n<r;n++)if(isNaN(this._store.get(t[n],e)))return!1;return!0},Uv.prototype.indexOfName=function(e){for(var t=0,n=this._store.count();t<n;t++)if(this.getName(t)===e)return t;return-1},Uv.prototype.getRawIndex=function(e){return this._store.getRawIndex(e)},Uv.prototype.indexOfRawIndex=function(e){return this._store.indexOfRawIndex(e)},Uv.prototype.rawIndexOf=function(e,t){return e=(e&&this._invertedIndicesMap[e])[t],null==e||isNaN(e)?-1:e},Uv.prototype.indicesOfNearest=function(e,t,n){return this._store.indicesOfNearest(this._getStoreDimIndex(e),t,n)},Uv.prototype.each=function(e,t,n){H(e)&&(n=t,t=e,e=[]),n=n||this,e=Rv(Dv(e),this._getStoreDimIndex,this),this._store.each(e,n?z(t,n):t)},Uv.prototype.filterSelf=function(e,t,n){return H(e)&&(n=t,t=e,e=[]),n=n||this,e=Rv(Dv(e),this._getStoreDimIndex,this),this._store=this._store.filter(e,n?z(t,n):t),this},Uv.prototype.selectRange=function(e){var t=this,n={};return L(F(e),(function(r){var i=t._getStoreDimIndex(r);n[i]=e[r]})),this._store=this._store.selectRange(n),this},Uv.prototype.mapArray=function(e,t,n){H(e)&&(n=t,t=e,e=[]);var r=[];return this.each(e,(function(){r.push(t&&t.apply(this,arguments))}),n=n||this),r},Uv.prototype.map=function(e,t,n,r){return n=n||r||this,r=Rv(Dv(e),this._getStoreDimIndex,this),e=Bv(this),e._store=this._store.map(r,n?z(t,n):t),e},Uv.prototype.modify=function(e,t,n,r){n=n||r||this,r=Rv(Dv(e),this._getStoreDimIndex,this),this._store.modify(r,n?z(t,n):t)},Uv.prototype.downSample=function(e,t,n,r){var i=Bv(this);return i._store=this._store.downSample(this._getStoreDimIndex(e),t,n,r),i},Uv.prototype.lttbDownSample=function(e,t){var n=Bv(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(e),t),n},Uv.prototype.getRawDataItem=function(e){return this._store.getRawDataItem(e)},Uv.prototype.getItemModel=function(e){var t=this.hostModel;e=this.getRawDataItem(e);return new ld(e,t,t&&t.ecModel)},Uv.prototype.diff=function(e){var t=this;return new yv(e?e.getStore().getIndices():[],this.getStore().getIndices(),(function(t){return Ov(e,t)}),(function(e){return Ov(t,e)}))},Uv.prototype.getVisual=function(e){var t=this._visual;return t&&t[e]},Uv.prototype.setVisual=function(e,t){this._visual=this._visual||{},Nv(e)?I(this._visual,e):this._visual[e]=t},Uv.prototype.getItemVisual=function(e,t){return e=this._itemVisuals[e],e=e&&e[t],null==e?this.getVisual(t):e},Uv.prototype.hasItemVisual=function(){return 0<this._itemVisuals.length},Uv.prototype.ensureUniqueItemVisual=function(e,t){var n=this._itemVisuals,r=n[e];n=(r=r||(n[e]={}))[t];return null==n&&(U(n=this.getVisual(t))?n=n.slice():Nv(n)&&(n=I({},n)),r[t]=n),n},Uv.prototype.setItemVisual=function(e,t,n){var r=this._itemVisuals[e]||{};this._itemVisuals[e]=r,Nv(t)?I(r,t):r[t]=n},Uv.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},Uv.prototype.setLayout=function(e,t){Nv(e)?I(this._layout,e):this._layout[e]=t},Uv.prototype.getLayout=function(e){return this._layout[e]},Uv.prototype.getItemLayout=function(e){return this._itemLayouts[e]},Uv.prototype.setItemLayout=function(e,t,n){this._itemLayouts[e]=n?I(this._itemLayouts[e]||{},t):t},Uv.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},Uv.prototype.setItemGraphicEl=function(e,t){var n,r,i,o,a=this.hostModel&&this.hostModel.seriesIndex;n=a,r=this.dataType,i=e,(a=t)&&((o=Cs(a)).dataIndex=i,o.dataType=r,o.seriesIndex=n,o.ssrType="chart","group"===a.type)&&a.traverse((function(e){e=Cs(e),e.seriesIndex=n,e.dataIndex=i,e.dataType=r,e.ssrType="chart"})),this._graphicEls[e]=t},Uv.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},Uv.prototype.eachItemGraphicEl=function(e,t){L(this._graphicEls,(function(n,r){n&&e&&e.call(t,n,r)}))},Uv.prototype.cloneShallow=function(e){return e=e||new Uv(this._schema||Rv(this.dimensions,this._getDimInfo,this),this.hostModel),Ev(e,this),e._store=this._store,e},Uv.prototype.wrapMethod=function(e,t){var n=this[e];H(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var e=n.apply(this,arguments);return t.apply(this,[e].concat(ie(arguments)))})},Uv.internalField=(Mv=function(e){var t=e._invertedIndicesMap;L(t,(function(n,r){var i=e._dimInfos[r],o=i.ordinalMeta,a=e._store;if(o){n=t[r]=new jv(o.categories.length);for(var s=0;s<n.length;s++)n[s]=-1;for(s=0;s<a.count();s++)n[a.get(i.storeDimIndex,s)]=s}}))},Pv=function(e,t,n){return ro(e._getCategory(t,n),null)},Ov=function(e,t){var n=e._idList[t];return null==(n=null==n&&null!=e._idDimIdx?Pv(e,e._idDimIdx,t):n)?"e\0\0"+t:n},Dv=function(e){return U(e)?e:null!=e?[e]:[]},Bv=function(e){var t=new Uv(e._schema||Rv(e.dimensions,e._getDimInfo,e),e.hostModel);return Ev(t,e),t},Ev=function(e,t){L(Fv.concat(t.__wrappedMethods||[]),(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e.__wrappedMethods=t.__wrappedMethods,L(zv,(function(n){e[n]=k(t[n])})),e._calculationInfo=I({},t._calculationInfo)},void(Lv=function(e,t){var n=e._nameList,r=e._idList,i=e._nameDimIdx,o=e._idDimIdx,a=n[t],s=r[t];null==a&&null!=i&&(n[t]=a=Pv(e,i,t)),null==s&&null!=o&&(r[t]=s=Pv(e,o,t)),null==s&&null!=a&&(s=a,1<(i=(n=e._nameRepeatCount)[a]=(n[a]||0)+1)&&(s+="__ec__"+i),r[t]=s)})),Uv);function Uv(e,t){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"];for(var n,r,i=!(this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"]),o=(kv(e)?(n=e.dimensions,this._dimOmitted=e.isDimensionOmitted(),this._schema=e):(i=!0,n=e),n=n||["x","y"],{}),a=[],s={},u=!1,l={},c=0;c<n.length;c++){var d=n[c],p=(d=V(d)?new xv({name:d}):d instanceof xv?d:new xv(d),d.name),f=(d.type=d.type||"float",d.coordDim||(d.coordDim=p,d.coordDimIndex=0),d.otherDims=d.otherDims||{});a.push(p),null!=l[p]&&(u=!0),(o[p]=d).createInvertedIndices&&(s[p]=[]),0===f.itemName&&(this._nameDimIdx=c),0===f.itemId&&(this._idDimIdx=c),i&&(d.storeDimIndex=c)}this.dimensions=a,this._dimInfos=o,this._initGetDimensionInfo(u),this.hostModel=t,this._invertedIndicesMap=s,this._dimOmitted&&(r=this._dimIdxToName=ye(),L(a,(function(e){r.set(o[e].storeDimIndex,e)})))}function Hv(e,t){Sf(e)||(e=Cf(e));for(var n,r,i=(t=t||{}).coordDimensions||[],o=t.dimensionsDefine||e.dimensionsDefine||[],a=ye(),s=[],u=(l=e,n=i,p=t.dimensionsCount,r=Math.max(l.dimensionsDetectedCount||1,n.length,o.length,p||0),L(n,(function(e){q(e)&&(e=e.dimsDef)&&(r=Math.max(r,e.length))})),r),l=t.canOmitUnusedDimensions&&30<u,c=o===e.dimensionsDefine,d=c?Iv(e):Tv(o),p=t.encodeDefine,f=ye(p=!p&&t.encodeDefaulter?t.encodeDefaulter(e,u):p),h=new Mh(u),g=0;g<h.length;g++)h[g]=-1;function y(e){var t,n,r,i=h[e];return i<0?(t=q(t=o[e])?t:{name:t},n=new xv,null!=(r=t.name)&&null!=d.get(r)&&(n.name=n.displayName=r),null!=t.type&&(n.type=t.type),null!=t.displayName&&(n.displayName=t.displayName),h[e]=s.length,n.storeDimIndex=e,s.push(n),n):s[i]}if(!l)for(g=0;g<u;g++)y(g);f.each((function(e,t){var n;e=Ki(e).slice();1===e.length&&!V(e[0])&&e[0]<0?f.set(t,!1):(n=f.set(t,[]),L(e,(function(e,r){e=V(e)?d.get(e):e,null!=e&&e<u&&v(y(n[r]=e),t,r)})))}));var m=0;function v(e,t,n){null!=vp.get(t)?e.otherDims[t]=n:(e.coordDim=t,e.coordDimIndex=n,a.set(t,!0))}L(i,(function(e){V(e)?(i=e,r={}):(i=(r=e).name,e=r.ordinalMeta,r.ordinalMeta=null,(r=I({},r)).ordinalMeta=e,t=r.dimsDef,n=r.otherDims,r.name=r.coordDim=r.coordDimIndex=r.dimsDef=r.otherDims=null);var t,n,r,i,o=f.get(i);if(!1!==o){if(!(o=Ki(o)).length)for(var a=0;a<(t&&t.length||1);a++){for(;m<u&&null!=y(m).coordDim;)m++;m<u&&o.push(m++)}L(o,(function(e,o){e=y(e),c&&null!=r.type&&(e.type=r.type),v(M(e,r),i,o),null==e.name&&t&&(q(o=t[o])||(o={name:o}),e.name=e.displayName=o.name,e.defaultTooltip=o.defaultTooltip),n&&M(e.otherDims,n)}))}}));var _=t.generateCoord,b=null!=(x=t.generateCoordCount),x=_?x||1:0,w=_||"value";function S(e){null==e.name&&(e.name=e.coordDim)}if(l)L(s,(function(e){S(e)})),s.sort((function(e,t){return e.storeDimIndex-t.storeDimIndex}));else for(var A=0;A<u;A++){var C=y(A);null==C.coordDim&&(C.coordDim=function(e,t,n){if(n||t.hasKey(e)){for(var r=0;t.hasKey(e+r);)r++;e+=r}return t.set(e,!0),e}(w,a,b),C.coordDimIndex=0,(!_||x<=0)&&(C.isExtraCoord=!0),x--),S(C),null!=C.type||Pp(e,A)!==Tp.Must&&(!C.isExtraCoord||null==C.otherDims.itemName&&null==C.otherDims.seriesName)||(C.type="ordinal")}for(var k=s,T=ye(),O=0;O<k.length;O++){var P=k[O],D=P.name,E=T.get(D)||0;0<E&&(P.name=D+(E-1)),E++,T.set(D,E)}return new Av({source:e,dimensions:s,fullDimensionCount:u,dimensionOmitted:l})}var Vv=function(e){this.coordSysDims=[],this.axisMap=ye(),this.categoryAxisMap=ye(),this.coordSysName=e},Gv={cartesian2d:function(e,t,n,r){var i=e.getReferringComponents("xAxis",po).models[0];e=e.getReferringComponents("yAxis",po).models[0];t.coordSysDims=["x","y"],n.set("x",i),n.set("y",e),Wv(i)&&(r.set("x",i),t.firstCategoryDimIndex=0),Wv(e)&&(r.set("y",e),null==t.firstCategoryDimIndex)&&(t.firstCategoryDimIndex=1)},singleAxis:function(e,t,n,r){e=e.getReferringComponents("singleAxis",po).models[0],t.coordSysDims=["single"],n.set("single",e),Wv(e)&&(r.set("single",e),t.firstCategoryDimIndex=0)},polar:function(e,t,n,r){e=e.getReferringComponents("polar",po).models[0];var i=e.findAxisModel("radiusAxis");e=e.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],n.set("radius",i),n.set("angle",e),Wv(i)&&(r.set("radius",i),t.firstCategoryDimIndex=0),Wv(e)&&(r.set("angle",e),null==t.firstCategoryDimIndex)&&(t.firstCategoryDimIndex=1)},geo:function(e,t,n,r){t.coordSysDims=["lng","lat"]},parallel:function(e,t,n,r){var i=e.ecModel,o=(e=i.getComponent("parallel",e.get("parallelIndex")),t.coordSysDims=e.dimensions.slice());L(e.parallelAxisIndex,(function(e,a){e=i.getComponent("parallelAxis",e);var s=o[a];n.set(s,e),Wv(e)&&(r.set(s,e),null==t.firstCategoryDimIndex)&&(t.firstCategoryDimIndex=a)}))}};function Wv(e){return"category"===e.get("type")}function qv(e,t,n){var r,i,o,a,s,u,l,c,d,p=(n=n||{}).byIndex,f=n.stackedCoordDimension,h=(kv(t.schema)?(i=t.schema,r=i.dimensions,o=t.store):r=t,!(!e||!e.get("stack")));return L(r,(function(e,t){V(e)&&(r[t]=e={name:e}),h&&!e.isExtraCoord&&(p||a||!e.ordinalMeta||(a=e),s||"ordinal"===e.type||"time"===e.type||f&&f!==e.coordDim||(s=e))})),!s||p||a||(p=!0),s&&(u="__\0ecstackresult_"+e.id,l="__\0ecstackedover_"+e.id,a&&(a.createInvertedIndices=!0),c=s.coordDim,n=s.type,d=0,L(r,(function(e){e.coordDim===c&&d++})),t={name:u,coordDim:c,coordDimIndex:d,type:n,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:r.length},e={name:l,coordDim:l,coordDimIndex:d+1,type:n,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:r.length+1},i?(o&&(t.storeDimIndex=o.ensureCalculationDimension(l,n),e.storeDimIndex=o.ensureCalculationDimension(u,n)),i.appendCalculationDimension(t),i.appendCalculationDimension(e)):(r.push(t),r.push(e))),{stackedDimension:s&&s.name,stackedByDimension:a&&a.name,isStackedByIndex:p,stackedOverDimension:l,stackResultDimension:u}}function Qv(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function Yv(e,t){return Qv(e,t)?e.getCalculationInfo("stackResultDimension"):t}function Xv(e,t,n){n=n||{};var r,i,o,a,s,u,l=t.getSourceManager(),c=!1,d=(e=(e?(c=!0,r=Cf(e)):c=(r=l.getSource()).sourceFormat===_p,function(e){var t=e.get("coordinateSystem"),n=new Vv(t);if(t=Gv[t])return t(e,n,n.axisMap,n.categoryAxisMap),n}(t)),i=e,d=(d=t).get("coordinateSystem"),d=Yp.get(d),p=(p=i&&i.coordSysDims?N(i.coordSysDims,(function(e){var t={name:e};e=i.axisMap.get(e);return e&&(e=e.get("type"),t.type="category"===(e=e)?"ordinal":"time"===e?"time":"float"),t})):p)||d&&(d.getDimensionsInfo?d.getDimensionsInfo():d.dimensions.slice())||["x","y"]),p=n.useEncodeDefaulter,f=(p=H(p)?p:p?$(Mp,d,t):null,d={coordDimensions:d,generateCoord:n.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:p,canOmitUnusedDimensions:!c},p=Hv(r,d),d=p.dimensions,o=n.createInvertedIndices,(a=e)&&L(d,(function(e,t){var n=e.coordDim;n=a.categoryAxisMap.get(n);n&&(null==s&&(s=t),e.ordinalMeta=n.getOrdinalMeta(),o)&&(e.createInvertedIndices=!0),null!=e.otherDims.itemName&&(u=!0)})),u||null==s||(d[s].otherDims.itemName=0),s);n=c?null:l.getSharedDataStore(p),e=qv(t,{schema:p,store:n}),d=new $v(p,t),d.setCalculationInfo(e),p=null==f||(l=r).sourceFormat!==_p||U(eo(function(e){for(var t=0;t<e.length&&null==e[t];)t++;return e[t]}(l.data||[])))?null:function(e,t,n,r){return r===f?n:this.defaultDimValueGetter(e,t,n,r)};return d.hasItemOption=!1,d.initData(c?r:n,null,p),d}Jv.prototype.getSetting=function(e){return this._setting[e]},Jv.prototype.unionExtent=function(e){var t=this._extent;e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1])},Jv.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},Jv.prototype.getExtent=function(){return this._extent.slice()},Jv.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=e),isNaN(t)||(n[1]=t)},Jv.prototype.isInExtentRange=function(e){return this._extent[0]<=e&&this._extent[1]>=e},Jv.prototype.isBlank=function(){return this._isBlank},Jv.prototype.setBlank=function(e){this._isBlank=e};var Kv=Jv;function Jv(e){this._setting=e||{},this._extent=[1/0,-1/0]}Ao(Kv);var Zv=0,e_=(t_.createByAxisModel=function(e){e=e.option;var t=e.data;t=t&&N(t,n_);return new t_({categories:t,needCollect:!t,deduplication:!1!==e.dedplication})},t_.prototype.getOrdinal=function(e){return this._getOrCreateMap().get(e)},t_.prototype.parseAndCollect=function(e){var t,n,r=this._needCollect;return V(e)||r?(r&&!this._deduplication?(n=this.categories.length,this.categories[n]=e):null==(n=(t=this._getOrCreateMap()).get(e))&&(r?(n=this.categories.length,this.categories[n]=e,t.set(e,n)):n=NaN),n):e},t_.prototype._getOrCreateMap=function(){return this._map||(this._map=ye(this.categories))},t_);function t_(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++Zv}function n_(e){return q(e)&&null!=e.value?e.value:e+""}function r_(e){return"interval"===e.type||"log"===e.type}function i_(e){var t=Math.pow(10,Ui(e));e/=t;return e?2===e?e=3:3===e?e=5:e*=2:e=1,Ei(e*t)}function o_(e){return Bi(e)+2}function a_(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function s_(e,t){return e>=t[0]&&e<=t[1]}function u_(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function l_(e,t){return e*(t[1]-t[0])+t[0]}n(p_,c_=Kv),p_.prototype.parse=function(e){return null==e?NaN:V(e)?this._ordinalMeta.getOrdinal(e):Math.round(e)},p_.prototype.contain=function(e){return s_(e=this.parse(e),this._extent)&&null!=this._ordinalMeta.categories[e]},p_.prototype.normalize=function(e){return u_(e=this._getTickNumber(this.parse(e)),this._extent)},p_.prototype.scale=function(e){return e=Math.round(l_(e,this._extent)),this.getRawOrdinalNumber(e)},p_.prototype.getTicks=function(){for(var e=[],t=this._extent,n=t[0];n<=t[1];)e.push({value:n}),n++;return e},p_.prototype.getMinorTicks=function(e){},p_.prototype.setSortInfo=function(e){if(null==e)this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;else{for(var t=e.ordinalNumbers,n=this._ordinalNumbersByTick=[],r=this._ticksByOrdinalNumber=[],i=0,o=this._ordinalMeta.categories.length,a=Math.min(o,t.length);i<a;++i){var s=t[i];r[n[i]=s]=i}for(var u=0;i<o;++i){for(;null!=r[u];)u++;n.push(u),r[u]=i}}},p_.prototype._getTickNumber=function(e){var t=this._ticksByOrdinalNumber;return t&&0<=e&&e<t.length?t[e]:e},p_.prototype.getRawOrdinalNumber=function(e){var t=this._ordinalNumbersByTick;return t&&0<=e&&e<t.length?t[e]:e},p_.prototype.getLabel=function(e){if(!this.isBlank())return e=this.getRawOrdinalNumber(e.value),null==(e=this._ordinalMeta.categories[e])?"":e+""},p_.prototype.count=function(){return this._extent[1]-this._extent[0]+1},p_.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},p_.prototype.isInExtentRange=function(e){return e=this._getTickNumber(e),this._extent[0]<=e&&this._extent[1]>=e},p_.prototype.getOrdinalMeta=function(){return this._ordinalMeta},p_.prototype.calcNiceTicks=function(){},p_.prototype.calcNiceExtent=function(){},p_.type="ordinal";var c_,d_=p_;function p_(e){e=c_.call(this,e)||this;var t=(e.type="ordinal",e.getSetting("ordinalMeta"));return U(t=t||new e_({}))&&(t=new e_({categories:N(t,(function(e){return q(e)?e.value:e}))})),e._ordinalMeta=t,e._extent=e.getSetting("extent")||[0,t.categories.length-1],e}Kv.registerClass(d_);var f_,h_=Ei,g_=(n(y_,f_=Kv),y_.prototype.parse=function(e){return e},y_.prototype.contain=function(e){return s_(e,this._extent)},y_.prototype.normalize=function(e){return u_(e,this._extent)},y_.prototype.scale=function(e){return l_(e,this._extent)},y_.prototype.setExtent=function(e,t){var n=this._extent;isNaN(e)||(n[0]=parseFloat(e)),isNaN(t)||(n[1]=parseFloat(t))},y_.prototype.unionExtent=function(e){var t=this._extent;e[0]<t[0]&&(t[0]=e[0]),e[1]>t[1]&&(t[1]=e[1]),this.setExtent(t[0],t[1])},y_.prototype.getInterval=function(){return this._interval},y_.prototype.setInterval=function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=o_(e)},y_.prototype.getTicks=function(e){var t=this._interval,n=this._extent,r=this._niceExtent,i=this._intervalPrecision,o=[];if(t){n[0]<r[0]&&o.push(e?{value:h_(r[0]-t,i)}:{value:n[0]});for(var a=r[0];a<=r[1]&&(o.push({value:a}),(a=h_(a+t,i))!==o[o.length-1].value);)if(1e4<o.length)return[];var s=o.length?o[o.length-1].value:r[1];n[1]>s&&o.push(e?{value:h_(s+t,i)}:{value:n[1]})}return o},y_.prototype.getMinorTicks=function(e){for(var t=this.getTicks(!0),n=[],r=this.getExtent(),i=1;i<t.length;i++){for(var o=t[i],a=t[i-1],s=0,u=[],l=(o.value-a.value)/e;s<e-1;){var c=h_(a.value+(s+1)*l);c>r[0]&&c<r[1]&&u.push(c),s++}n.push(u)}return n},y_.prototype.getLabel=function(e,t){return null==e?"":(null==(t=t&&t.precision)?t=Bi(e.value)||0:"auto"===t&&(t=this._intervalPrecision),Vd(h_(e.value,t,!0)))},y_.prototype.calcNiceTicks=function(e,t,n){e=e||5;var r=this._extent,i=r[1]-r[0];isFinite(i)&&(i<0&&r.reverse(),i=function(e,t,n,r){var i={},o=e[1]-e[0];return o=i.interval=Hi(o/t,!0),null!=n&&o<n&&(o=i.interval=n),null!=r&&r<o&&(o=i.interval=r),t=i.intervalPrecision=o_(o),n=i.niceTickExtent=[Ei(Math.ceil(e[0]/o)*o,t),Ei(Math.floor(e[1]/o)*o,t)],r=n,o=e,isFinite(r[0])||(r[0]=o[0]),isFinite(r[1])||(r[1]=o[1]),a_(r,0,o),a_(r,1,o),r[0]>r[1]&&(r[0]=r[1]),i}(r,e,t,n),this._intervalPrecision=i.intervalPrecision,this._interval=i.interval,this._niceExtent=i.niceTickExtent)},y_.prototype.calcNiceExtent=function(e){var t=this._extent,n=(t[0]===t[1]&&(0!==t[0]?(n=Math.abs(t[0]),e.fixMax||(t[1]+=n/2),t[0]-=n/2):t[1]=1),t[1]-t[0]);isFinite(n)||(t[0]=0,t[1]=1),this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval),n=this._interval;e.fixMin||(t[0]=h_(Math.floor(t[0]/n)*n)),e.fixMax||(t[1]=h_(Math.ceil(t[1]/n)*n))},y_.prototype.setNiceExtent=function(e,t){this._niceExtent=[e,t]},y_.type="interval",y_);function y_(){var e=null!==f_&&f_.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}Kv.registerClass(g_);var m_="undefined"!=typeof Float32Array,v_=m_?Float32Array:Array;function __(e){return U(e)?m_?new Float32Array(e):e:new v_(e)}function b_(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function x_(e){return e.dim+e.index}function w_(e,t){var n=[];return t.eachSeriesByType(e,(function(e){C_(e)&&n.push(e)})),n}function S_(e){var t,n,r=function(e){var t,n={},r=(L(e,(function(e){var t=e.coordinateSystem.getBaseAxis();if("time"===t.type||"value"===t.type){e=e.getData();for(var r=t.dim+"_"+t.index,i=e.getDimensionIndex(e.mapDimension(t.dim)),o=e.getStore(),a=0,s=o.count();a<s;++a){var u=o.get(i,a);n[r]?n[r].push(u):n[r]=[u]}}})),{});for(t in n)if(n.hasOwnProperty(t)){var i=n[t];if(i){i.sort((function(e,t){return e-t}));for(var o=null,a=1;a<i.length;++a){var s=i[a]-i[a-1];0<s&&(o=null===o?s:Math.min(o,s))}r[t]=o}}return r}(e),i=[];return L(e,(function(e){var t,n=e.coordinateSystem.getBaseAxis(),o=n.getExtent(),a=(t="category"===n.type?n.getBandWidth():"value"===n.type||"time"===n.type?(t=n.dim+"_"+n.index,t=r[t],a=Math.abs(o[1]-o[0]),s=n.scale.getExtent(),s=Math.abs(s[1]-s[0]),t?a/s*t:a):(s=e.getData(),Math.abs(o[1]-o[0])/s.count()),Di(e.get("barWidth"),t)),s=(o=Di(e.get("barMaxWidth"),t),Di(e.get("barMinWidth")||(k_(e)?.5:1),t)),u=e.get("barGap"),l=e.get("barCategoryGap");i.push({bandWidth:t,barWidth:a,barMaxWidth:o,barMinWidth:s,barGap:u,barCategoryGap:l,axisKey:x_(n),stackId:b_(e)})})),t={},L(i,(function(e,n){var r=e.axisKey,i=e.bandWidth,o=(i=t[r]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},i.stacks),a=(r=(t[r]=i,e.stackId),o[r]||i.autoWidthCount++,o[r]=o[r]||{width:0,maxWidth:0},e.barWidth);a&&!o[r].width&&(o[r].width=a,a=Math.min(i.remainedWidth,a),i.remainedWidth-=a),a=e.barMaxWidth,a&&(o[r].maxWidth=a),a=e.barMinWidth,a&&(o[r].minWidth=a),o=e.barGap,null!=o&&(i.gap=o),r=e.barCategoryGap;null!=r&&(i.categoryGap=r)})),n={},L(t,(function(e,t){n[t]={};var r,i=e.stacks,o=e.bandWidth,a=e.categoryGap,s=(null==a&&(s=F(i).length,a=Math.max(35-4*s,15)+"%"),Di(a,o)),u=Di(e.gap,1),l=e.remainedWidth,c=e.autoWidthCount,d=(l-s)/(c+(c-1)*u),p=(d=Math.max(d,0),L(i,(function(e){var t,n=e.maxWidth,r=e.minWidth;e.width?(t=e.width,n&&(t=Math.min(t,n)),r&&(t=Math.max(t,r)),e.width=t,l-=t+u*t,c--):(t=d,n&&n<t&&(t=Math.min(n,l)),(t=r&&t<r?r:t)!==d&&(e.width=t,l-=t+u*t,c--))})),d=(l-s)/(c+(c-1)*u),d=Math.max(d,0),0),f=(L(i,(function(e,t){e.width||(e.width=d),p+=(r=e).width*(1+u)})),r&&(p-=r.width*u),-p/2);L(i,(function(e,r){n[t][r]=n[t][r]||{bandWidth:o,offset:f,width:e.width},f+=e.width*(1+u)}))})),n}function A_(e,t){e=w_(e,t);var n=S_(e);L(e,(function(e){var t=e.getData(),r=e.coordinateSystem.getBaseAxis(),i=(e=b_(e),r=n[x_(r)][e],e=r.offset,r.width);t.setLayout({bandWidth:r.bandWidth,offset:e,size:i})}))}function C_(e){return e.coordinateSystem&&"cartesian2d"===e.coordinateSystem.type}function k_(e){return e.pipelineContext&&e.pipelineContext.large}n(M_,T_=g_),M_.prototype.getLabel=function(e){var t=this.getSetting("useUTC");return Id(e.value,Sd[function(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}(Td(this._minLevelUnit))]||Sd.second,t,this.getSetting("locale"))},M_.prototype.getFormattedLabel=function(e,t,n){var r=this.getSetting("useUTC"),i=this.getSetting("locale"),o=null;if(V(n))o=n;else if(H(n))o=n(e.value,t,{level:e.level});else{var a=I({},xd);if(0<e.level)for(var s=0;s<Ad.length;++s)a[Ad[s]]="{primary|"+a[Ad[s]]+"}";var u=n?!1===n.inherit?n:M(n,a):a,l=Md(e.value,r);if(u[l])o=u[l];else if(u.inherit){for(s=Cd.indexOf(l)-1;0<=s;--s)if(u[l]){o=u[l];break}o=o||a.none}U(o)&&(t=null==e.level?0:0<=e.level?e.level:o.length+e.level,o=o[t=Math.min(t,o.length-1)])}return Id(new Date(e.value),o,r,i)},M_.prototype.getTicks=function(){var e=this._interval,t=this._extent,n=[];return e&&(n.push({value:t[0],level:0}),e=this.getSetting("useUTC"),e=function(e,t,n,r){var i=Cd,o=0;function a(e,i,o){var a=[],s=!i.length;if(!function(e,t,n,r){function i(e){return Od(d,e,r)===Od(p,e,r)}function o(){return i("year")}function a(){return o()&&i("month")}function s(){return a()&&i("day")}function u(){return s()&&i("hour")}function l(){return u()&&i("minute")}function c(){return l()&&i("second")}var d=zi(t),p=zi(n);switch(e){case"year":return o();case"month":return a();case"day":return s();case"hour":return u();case"minute":return l();case"second":return c();case"millisecond":return c()&&i("millisecond")}}(Td(e),r[0],r[1],n)){s&&(i=[{value:function(e,t,n){var r=new Date(e);switch(Td(t)){case"year":case"month":r[jd(n)](0);case"day":r[Fd(n)](1);case"hour":r[zd(n)](0);case"minute":r[$d(n)](0);case"second":r[Ud(n)](0),r[Hd(n)](0)}return r.getTime()}(new Date(r[0]),e,n)},{value:r[1]}]);for(var u,l,c=0;c<i.length-1;c++){var d=i[c].value,p=i[c+1].value;if(d!==p){var f=void 0,h=void 0,g=void 0;switch(e){case"year":f=Math.max(1,Math.round(t/bd/365)),h=Pd(n),g=n?"setUTCFullYear":"setFullYear";break;case"half-year":case"quarter":case"month":l=t,f=6<(l/=30*bd)?6:3<l?3:2<l?2:1,h=Dd(n),g=jd(n);break;case"week":case"half-week":case"day":l=t,f=16<(l/=bd)?16:7.5<l?7:3.5<l?4:1.5<l?2:1,h=Ed(n),g=Fd(n);break;case"half-day":case"quarter-day":case"hour":u=t,f=12<(u/=_d)?12:6<u?6:3.5<u?4:2<u?2:1,h=Bd(n),g=zd(n);break;case"minute":f=P_(t,!0),h=Ld(n),g=$d(n);break;case"second":f=P_(t,!1),h=Nd(n),g=Ud(n);break;case"millisecond":f=Hi(t,!0),h=Rd(n),g=Hd(n)}A=S=w=x=void 0;for(var y=f,m=d,v=p,_=h,b=g,x=a,w=new Date(m),S=m,A=w[_]();S<v&&S<=r[1];)x.push({value:S}),w[b](A+=y),S=w.getTime();x.push({value:S,notAdd:!0}),"year"===e&&1<o.length&&0===c&&o.unshift({value:o[0].value-f})}}for(c=0;c<a.length;c++)o.push(a[c])}}for(var s=[],u=[],l=0,c=0,d=0;d<i.length&&o++<1e4;++d){var p=Td(i[d]);if(function(e){return e===Td(e)}(i[d])){a(i[d],s[s.length-1]||[],u);var f=i[d+1]?Td(i[d+1]):null;if(p!==f){if(u.length){c=l,u.sort((function(e,t){return e.value-t.value}));for(var h=[],g=0;g<u.length;++g){var y=u[g].value;0!==g&&u[g-1].value===y||(h.push(u[g]),y>=r[0]&&y<=r[1]&&l++)}if(p=(r[1]-r[0])/t,1.5*p<l&&p/1.5<c)break;if(s.push(h),p<l||e===i[d])break}u=[]}}}var m=j(N(s,(function(e){return j(e,(function(e){return e.value>=r[0]&&e.value<=r[1]&&!e.notAdd}))})),(function(e){return 0<e.length})),v=[],_=m.length-1;for(d=0;d<m.length;++d)for(var b=m[d],x=0;x<b.length;++x)v.push({value:b[x].value,level:_-d});v.sort((function(e,t){return e.value-t.value}));var w=[];for(d=0;d<v.length;++d)0!==d&&v[d].value===v[d-1].value||w.push(v[d]);return w}(this._minLevelUnit,this._approxInterval,e,t),(n=n.concat(e)).push({value:t[1],level:0})),n},M_.prototype.calcNiceExtent=function(e){var t,n=this._extent;n[0]===n[1]&&(n[0]-=bd,n[1]+=bd),n[1]===-1/0&&n[0]===1/0&&(t=new Date,n[1]=+new Date(t.getFullYear(),t.getMonth(),t.getDate()),n[0]=n[1]-bd),this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval)},M_.prototype.calcNiceTicks=function(e,t,n){var r=this._extent;r=r[1]-r[0],this._approxInterval=r/(e=e||10),null!=t&&this._approxInterval<t&&(this._approxInterval=t),null!=n&&this._approxInterval>n&&(this._approxInterval=n),r=O_.length,e=Math.min(function(e,t,n,r){for(;n<r;){var i=n+r>>>1;e[i][1]<t?n=1+i:r=i}return n}(O_,this._approxInterval,0,r),r-1);this._interval=O_[e][1],this._minLevelUnit=O_[Math.max(e-1,0)][0]},M_.prototype.parse=function(e){return W(e)?e:+zi(e)},M_.prototype.contain=function(e){return s_(this.parse(e),this._extent)},M_.prototype.normalize=function(e){return u_(this.parse(e),this._extent)},M_.prototype.scale=function(e){return l_(e,this._extent)},M_.type="time";var T_,I_=M_;function M_(e){return e=T_.call(this,e)||this,e.type="time",e}var O_=[["second",1e3],["minute",6e4],["hour",_d],["quarter-day",6*_d],["half-day",12*_d],["day",1.2*bd],["half-week",3.5*bd],["week",7*bd],["month",31*bd],["quarter",95*bd],["half-year",xo/2],["year",xo]];function P_(e,t){return 30<(e/=t?6e4:1e3)?30:20<e?20:15<e?15:10<e?10:5<e?5:2<e?2:1}Kv.registerClass(I_);var D_,E_=Kv.prototype,B_=g_.prototype,L_=Ei,N_=Math.floor,R_=Math.ceil,j_=Math.pow,F_=Math.log,z_=(n($_,D_=Kv),$_.prototype.getTicks=function(e){var t=this._originalScale,n=this._extent,r=t.getExtent();return N(B_.getTicks.call(this,e),(function(e){e=e.value;var t=Ei(j_(this.base,e));t=e===n[0]&&this._fixMin?U_(t,r[0]):t;return{value:e===n[1]&&this._fixMax?U_(t,r[1]):t}}),this)},$_.prototype.setExtent=function(e,t){var n=F_(this.base);e=F_(Math.max(0,e))/n,t=F_(Math.max(0,t))/n,B_.setExtent.call(this,e,t)},$_.prototype.getExtent=function(){var e=this.base,t=E_.getExtent.call(this);return t[0]=j_(e,t[0]),t[1]=j_(e,t[1]),e=this._originalScale.getExtent(),this._fixMin&&(t[0]=U_(t[0],e[0])),this._fixMax&&(t[1]=U_(t[1],e[1])),t},$_.prototype.unionExtent=function(e){this._originalScale.unionExtent(e);var t=this.base;e[0]=F_(e[0])/F_(t),e[1]=F_(e[1])/F_(t),E_.unionExtent.call(this,e)},$_.prototype.unionExtentFromData=function(e,t){this.unionExtent(e.getApproximateExtent(t))},$_.prototype.calcNiceTicks=function(e){e=e||10;var t=this._extent,n=t[1]-t[0];if(!(n==1/0||n<=0)){var r=$i(n);for(e/n*r<=.5&&(r*=10);!isNaN(r)&&Math.abs(r)<1&&0<Math.abs(r);)r*=10;e=[Ei(R_(t[0]/r)*r),Ei(N_(t[1]/r)*r)],this._interval=r,this._niceExtent=e}},$_.prototype.calcNiceExtent=function(e){B_.calcNiceExtent.call(this,e),this._fixMin=e.fixMin,this._fixMax=e.fixMax},$_.prototype.parse=function(e){return e},$_.prototype.contain=function(e){return s_(e=F_(e)/F_(this.base),this._extent)},$_.prototype.normalize=function(e){return u_(e=F_(e)/F_(this.base),this._extent)},$_.prototype.scale=function(e){return e=l_(e,this._extent),j_(this.base,e)},$_.type="log",$_);function $_(){var e=null!==D_&&D_.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new g_,e._interval=0,e}function U_(e,t){return L_(e,Bi(t))}hy=z_.prototype,hy.getMinorTicks=B_.getMinorTicks,hy.getLabel=B_.getLabel,Kv.registerClass(z_),V_.prototype._prepareParams=function(e,t,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var r=this._isOrdinal="ordinal"===e.type,i=(this._needCrossZero="interval"===e.type&&t.getNeedCrossZero&&t.getNeedCrossZero(),this._modelMinRaw=t.get("min",!0));H(i)?this._modelMinNum=q_(e,i({min:n[0],max:n[1]})):"dataMin"!==i&&(this._modelMinNum=q_(e,i)),i=this._modelMaxRaw=t.get("max",!0);H(i)?this._modelMaxNum=q_(e,i({min:n[0],max:n[1]})):"dataMax"!==i&&(this._modelMaxNum=q_(e,i)),r?this._axisDataLen=t.getCategories().length:"boolean"==typeof(e=U(n=t.get("boundaryGap"))?n:[n||0,n||0])[0]||"boolean"==typeof e[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[ai(e[0],1),ai(e[1],1)]},V_.prototype.calculate=function(){var e=this._isOrdinal,t=this._dataMin,n=this._dataMax,r=this._axisDataLen,i=this._boundaryGapInner,o=e?null:n-t||Math.abs(t),a="dataMin"===this._modelMinRaw?t:this._modelMinNum,s="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,u=null!=a,l=null!=s;null==a&&(a=e?r?0:NaN:t-i[0]*o),null==s&&(s=e?r?r-1:NaN:n+i[1]*o),null!=a&&isFinite(a)||(a=NaN),null!=s&&isFinite(s)||(s=NaN),t=ee(a)||ee(s)||e&&!r,this._needCrossZero&&(a=0<a&&0<s&&!u?0:a)<0&&s<0&&!l&&(s=0),n=this._determinedMin,i=this._determinedMax;return null!=n&&(a=n,u=!0),null!=i&&(s=i,l=!0),{min:a,max:s,minFixed:u,maxFixed:l,isBlank:t}},V_.prototype.modifyDataMinMax=function(e,t){this[W_[e]]=t},V_.prototype.setDeterminedMinMax=function(e,t){this[G_[e]]=t},V_.prototype.freeze=function(){this.frozen=!0};var H_=V_;function V_(e,t,n){this._prepareParams(e,t,n)}var G_={min:"_determinedMin",max:"_determinedMax"},W_={min:"_dataMin",max:"_dataMax"};function q_(e,t){return null==t?null:ee(t)?NaN:e.parse(t)}function Q_(e,t){var n,r,i,o,a,s=e.type,u=(u=t,l=(c=e).getExtent(),(d=c.rawExtentInfo)||(d=new H_(c,u,l),c.rawExtentInfo=d),d.calculate()),l=(e.setBlank(u.isBlank),u.min),c=u.max,d=t.ecModel;return d&&"time"===s&&(e=w_("bar",d),n=!1,L(e,(function(e){n=n||e.getBaseAxis()===t.axis})),n)&&(s=S_(e),d=l,e=c,s=s,a=(a=(r=t).axis.getExtent())[1]-a[0],void 0!==(s=function(e,t,n){if(e&&t)return e=e[x_(t)],e}(s,r.axis))&&(i=1/0,L(s,(function(e){i=Math.min(e.offset,i)})),o=-1/0,L(s,(function(e){o=Math.max(e.offset+e.width,o)})),i=Math.abs(i),o=Math.abs(o),e+=o/(r=i+o)*(a=(s=e-d)/(1-(i+o)/a)-s),d-=i/r*a),l=(s={min:d,max:e}).min,c=s.max),{extent:[l,c],fixMin:u.minFixed,fixMax:u.maxFixed}}function Y_(e,t){var n=Q_(e,t),r=n.extent,i=t.get("splitNumber"),o=(e instanceof z_&&(e.base=t.get("logBase")),e.type),a=t.get("interval");o="interval"===o||"time"===o;e.setExtent(r[0],r[1]),e.calcNiceExtent({splitNumber:i,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:o?t.get("minInterval"):null,maxInterval:o?t.get("maxInterval"):null}),null!=a&&e.setInterval&&e.setInterval(a)}function X_(e,t){if(t=t||e.get("type"))switch(t){case"category":return new d_({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new I_({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(Kv.getClass(t)||g_)}}function K_(e){var t,n,r,i=e.getLabelModel().get("formatter"),o="category"===e.type?e.scale.getExtent()[0]:null;return"time"===e.scale.type?(r=i,function(t,n){return e.scale.getFormattedLabel(t,n,r)}):V(i)?(n=i,function(t){return t=e.scale.getLabel(t),n.replace("{value}",null!=t?t:"")}):H(i)?(t=i,function(n,r){return null!=o&&(r=n.value-o),t(J_(e,n),r,null!=n.level?{level:n.level}:null)}):function(t){return e.scale.getLabel(t)}}function J_(e,t){return"category"===e.type?e.scale.getLabel(t):t.value}function Z_(e){return e=e.get("interval"),null==e?"auto":e}function eb(e){return"category"===e.type&&0===Z_(e.getLabelModel())}nb.prototype.getNeedCrossZero=function(){return!this.option.scale},nb.prototype.getCoordSysModel=function(){};var tb=nb;function nb(){}vy=Object.freeze({__proto__:null,createDimensions:function(e,t){return Hv(e,t).dimensions},createList:function(e){return Xv(null,e)},createScale:function(e,t){var n=t;return(t=X_(n=t instanceof ld?n:new ld(t))).setExtent(e[0],e[1]),Y_(t,n),t},createSymbol:Ay,createTextStyle:function(e,t){return Hc(e,null,null,"normal"!==(t=t||{}).state)},dataStack:{isDimensionStacked:Qv,enableDataStack:qv,getStackedDimension:Yv},enableHoverEmphasis:cu,getECData:Cs,getLayoutRect:op,mixinAxisModelCommonMethods:function(e){E(e,tb)}});var rb=[],ib={registerPreprocessor:ev,registerProcessor:tv,registerPostInit:nv,registerPostUpdate:rv,registerUpdateLifecycle:iv,registerAction:ov,registerCoordinateSystem:av,registerLayout:sv,registerVisual:uv,registerTransform:fv,registerLoading:dv,registerMap:pv,registerImpl:function(e,t){em[e]=t},PRIORITY:my,ComponentModel:hp,ComponentView:gg,SeriesModel:ag,ChartView:bg,registerComponentModel:function(e){hp.registerClass(e)},registerComponentView:function(e){gg.registerClass(e)},registerSeriesModel:function(e){ag.registerClass(e)},registerChartView:function(e){bg.registerClass(e)},registerSubTypeDefaulter:function(e,t){hp.registerSubTypeDefaulter(e,t)},registerPainter:function(e,t){Ii(e,t)}};function ob(e){U(e)?L(e,(function(e){ob(e)})):0<=P(rb,e)||(rb.push(e),(e=H(e)?{install:e}:e).install(ib))}function ab(e,t){return Math.abs(e-t)<1e-8}function sb(e,t,n){var r=0,i=e[0];if(!i)return!1;for(var o=1;o<e.length;o++){var a=e[o];r+=Da(i[0],i[1],a[0],a[1],t,n),i=a}var s=e[0];return ab(i[0],s[0])&&ab(i[1],s[1])||(r+=Da(i[0],i[1],s[0],s[1],t,n)),0!==r}var ub=[];function lb(e,t){for(var n=0;n<e.length;n++)Re(e[n],e[n],t)}function cb(e,t,n,r){for(var i=0;i<e.length;i++){var o=e[i];(o=r?r.project(o):o)&&isFinite(o[0])&&isFinite(o[1])&&(je(t,t,o),Fe(n,n,o))}}function db(e){this.name=e}db.prototype.setCenter=function(e){this._center=e},db.prototype.getCenter=function(){return this._center||(this._center=this.calcCenter())},_y=db;var pb,fb,hb=function(e,t){this.type="polygon",this.exterior=e,this.interiors=t},gb=function(e){this.type="linestring",this.points=e},yb=(n(mb,pb=_y),mb.prototype.calcCenter=function(){for(var e,t=this.geometries,n=0,r=0;r<t.length;r++){var i=t[r],o=i.exterior;o=o&&o.length;n<o&&(e=i,n=o)}if(e){for(var a=e.exterior,s=0,u=0,l=0,c=a.length,d=a[c-1][0],p=a[c-1][1],f=0;f<c;f++){var h=a[f][0],g=a[f][1],y=d*g-h*p;s+=y,u+=(d+h)*y,l+=(p+g)*y,d=h,p=g}return s?[u/s/3,l/s/3,s]:[a[0][0]||0,a[0][1]||0]}var m=this.getBoundingRect();return[m.x+m.width/2,m.y+m.height/2]},mb.prototype.getBoundingRect=function(e){var t,n,r=this._rect;return r&&!e||(t=[1/0,1/0],n=[-1/0,-1/0],L(this.geometries,(function(r){"polygon"===r.type?cb(r.exterior,t,n,e):L(r.points,(function(r){cb(r,t,n,e)}))})),isFinite(t[0])&&isFinite(t[1])&&isFinite(n[0])&&isFinite(n[1])||(t[0]=t[1]=n[0]=n[1]=0),r=new Et(t[0],t[1],n[0]-t[0],n[1]-t[1]),e)||(this._rect=r),r},mb.prototype.contain=function(e){var t=this.getBoundingRect(),n=this.geometries;if(t.contain(e[0],e[1]))e: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(sb(a,e[0],e[1])){for(var u=0;u<(s?s.length:0);u++)if(sb(s[u],e[0],e[1]))continue e;return!0}}}return!1},mb.prototype.transformTo=function(e,t,n,r){for(var i=this.getBoundingRect(),o=i.width/i.height,a=(o=(n?r=r||n/o:n=o*r,new Et(e,t,n,r)),i.calculateTransform(o)),s=this.geometries,u=0;u<s.length;u++){var l=s[u];"polygon"===l.type?(lb(l.exterior,a),L(l.interiors,(function(e){lb(e,a)}))):L(l.points,(function(e){lb(e,a)}))}(i=this._rect).copy(o),this._center=[i.x+i.width/2,i.y+i.height/2]},mb.prototype.cloneShallow=function(e){return e=new mb(e=null==e?this.name:e,this.geometries,this._center),e._rect=this._rect,e.transformTo=null,e},mb);function mb(e,t,n){return e=pb.call(this,e)||this,e.type="geoJSON",e.geometries=t,e._center=n&&[n[0],n[1]],e}function vb(e,t){return e=fb.call(this,e)||this,e.type="geoSVG",e._elOnlyForCalculate=t,e}function _b(e,t,n){for(var r=0;r<e.length;r++)e[r]=bb(e[r],t[r],n)}function bb(e,t,n){for(var r=[],i=t[0],o=t[1],a=0;a<e.length;a+=2){var s=(s=e.charCodeAt(a)-64)>>1^-(1&s),u=(u=e.charCodeAt(a+1)-64)>>1^-(1&u);r.push([(i=s+=i)/n,(o=u+=o)/n])}return r}function xb(e,t){var n,r,i;return N(j((e=(n=e).UTF8Encoding?(null==(i=(r=n).UTF8Scale)&&(i=1024),L(r.features,(function(e){var t=e.geometry,n=t.encodeOffsets,r=t.coordinates;if(n)switch(t.type){case"LineString":t.coordinates=bb(r,n,i);break;case"Polygon":case"MultiLineString":_b(r,n,i);break;case"MultiPolygon":L(r,(function(e,t){return _b(e,n[t],i)}))}})),r.UTF8Encoding=!1,r):n).features,(function(e){return e.geometry&&e.properties&&0<e.geometry.coordinates.length})),(function(e){var n=e.properties,r=e.geometry,i=[];switch(r.type){case"Polygon":var o=r.coordinates;i.push(new hb(o[0],o.slice(1)));break;case"MultiPolygon":L(r.coordinates,(function(e){e[0]&&i.push(new hb(e[0],e.slice(1)))}));break;case"LineString":i.push(new gb([r.coordinates]));break;case"MultiLineString":i.push(new gb(r.coordinates))}return e=new yb(n[t||"name"],i,n.cp),e.properties=n,e}))}n(vb,fb=_y),vb.prototype.calcCenter=function(){for(var e=this._elOnlyForCalculate,t=e.getBoundingRect(),n=(t=[t.x+t.width/2,t.y+t.height/2],gt(ub)),r=e;r&&!r.isGeoSVGGraphicRoot;)mt(n,r.getLocalTransform(),n),r=r.parent;return xt(n,n),Re(t,t,n),t};To=Object.freeze({__proto__:null,MAX_SAFE_INTEGER:9007199254740991,asc:function(e){return e.sort((function(e,t){return e-t})),e},getPercentWithPrecision:function(e,t,n){return e[t]&&function(e,t){var n=R(e,(function(e,t){return e+(isNaN(t)?0:t)}),0);if(0===n)return[];for(var r=Math.pow(10,t),i=(t=N(e,(function(e){return(isNaN(e)?0:e)/n*r*100})),100*r),o=N(t,(function(e){return Math.floor(e)})),a=R(o,(function(e,t){return e+t}),0),s=N(t,(function(e,t){return e-o[t]}));a<i;){for(var u=Number.NEGATIVE_INFINITY,l=null,c=0,d=s.length;c<d;++c)s[c]>u&&(u=s[c],l=c);++o[l],s[l]=0,++a}return N(o,(function(e){return e/r}))}(e,n)[t]||0},getPixelPrecision:Ni,getPrecision:Bi,getPrecisionSafe:Li,isNumeric:Gi,isRadianAroundZero:ji,linearMap:Pi,nice:Hi,numericToNumber:Vi,parseDate:zi,quantile:function(e,t){t=(e.length-1)*t+1;var n=Math.floor(t),r=+e[n-1];return(t-=n)?r+t*(e[n]-r):r},quantity:$i,quantityExponent:Ui,reformIntervals:function(e){e.sort((function(e,t){return function e(t,n,r){return t.interval[r]<n.interval[r]||t.interval[r]===n.interval[r]&&(t.close[r]-n.close[r]==(r?-1:1)||!r&&e(t,n,1))}(e,t,0)?-1:1}));for(var t=-1/0,n=1,r=0;r<e.length;){for(var i=e[r].interval,o=e[r].close,a=0;a<2;a++)i[a]<=t&&(i[a]=t,o[a]=a?1:1-n),t=i[a],n=o[a];i[0]===i[1]&&o[0]*o[1]!=1?e.splice(r,1):r++}return e},remRadian:Ri,round:Ei}),Sc=Object.freeze({__proto__:null,format:Id,parse:zi}),wd=Object.freeze({__proto__:null,Arc:Bl,BezierCurve:Ol,BoundingRect:Et,Circle:zu,CompoundPath:Rl,Ellipse:Vu,Group:bi,Image:Za,IncrementalDisplayable:Jn,Line:Al,LinearGradient:Ul,Polygon:gl,Polyline:_l,RadialGradient:Fl,Rect:us,Ring:cl,Sector:al,Text:fs,clipPointsByRect:Mc,clipRectByRect:Oc,createIcon:Pc,extendPath:hc,extendShape:fc,getShapeClass:yc,getTransform:Ac,initProps:ic,makeImage:vc,makePath:mc,mergePath:bc,registerShape:gc,resizePath:xc,updateProps:rc}),nd=Object.freeze({__proto__:null,addCommas:Vd,capitalFirst:function(e){return e&&e.charAt(0).toUpperCase()+e.substr(1)},encodeHTML:tt,formatTime:function(e,t,n){"week"!==e&&"month"!==e&&"quarter"!==e&&"half-year"!==e&&"year"!==e||(e="MM-dd\nyyyy");var r=(t=zi(t))[(n=n?"getUTC":"get")+"FullYear"](),i=t[n+"Month"]()+1,o=t[n+"Date"](),a=t[n+"Hours"](),s=t[n+"Minutes"](),u=t[n+"Seconds"]();t=t[n+"Milliseconds"]();return e.replace("MM",kd(i,2)).replace("M",i).replace("yyyy",r).replace("yy",kd(r%100+"",2)).replace("dd",kd(o,2)).replace("d",o).replace("hh",kd(a,2)).replace("h",a).replace("mm",kd(s,2)).replace("m",s).replace("ss",kd(u,2)).replace("s",u).replace("SSS",kd(t,3))},formatTpl:Xd,getTextRect:function(e,t,n,r,i,o,a,s){return new fs({style:{text:e,font:t,align:n,verticalAlign:r,padding:i,rich:o,overflow:a?"truncate":null,lineHeight:s}}).getBoundingRect()},getTooltipMarker:Kd,normalizeCssArray:Wd,toCamelCase:Gd,truncateText:Bo}),sy=Object.freeze({__proto__:null,bind:z,clone:k,curry:$,defaults:M,each:L,extend:I,filter:j,indexOf:P,inherits:D,isArray:U,isFunction:H,isObject:q,isString:V,map:N,merge:T,reduce:R});var wb=so();function Sb(e,t){var n,r=Ab(e,"labels"),i=(t=Z_(t),Cb(r,t));return i||kb(r,t,{labels:H(t)?Ib(e,t):Tb(e,n="auto"===t?null!=(r=wb(i=e).autoInterval)?r:wb(i).autoInterval=i.calculateCategoryInterval():t),labelCategoryInterval:n})}function Ab(e,t){return wb(e)[t]||(wb(e)[t]=[])}function Cb(e,t){for(var n=0;n<e.length;n++)if(e[n].key===t)return e[n].value}function kb(e,t,n){return e.push({key:t,value:n}),n}function Tb(e,t,n){for(var r=K_(e),i=e.scale,o=i.getExtent(),a=e.getLabelModel(),s=[],u=Math.max((t||0)+1,1),l=(t=o[0],i.count()),c=(l=(0!==t&&1<u&&2<l/u&&(t=Math.round(Math.ceil(t/u)*u)),eb(e)),e=a.get("showMinLabel")||l,a=a.get("showMaxLabel")||l,e&&t!==o[0]&&d(o[0]),t);c<=o[1];c+=u)d(c);function d(e){var t={value:e};s.push(n?e:{formattedLabel:r(t),rawLabel:i.getLabel(t),tickValue:e})}return a&&c-u!==o[1]&&d(o[1]),s}function Ib(e,t,n){var r=e.scale,i=K_(e),o=[];return L(r.getTicks(),(function(e){var a=r.getLabel(e),s=e.value;t(e.value,a)&&o.push(n?s:{formattedLabel:i(e),rawLabel:a,tickValue:s})})),o}var Mb=[0,1];Ob.prototype.contain=function(e){var t=this._extent,n=Math.min(t[0],t[1]);t=Math.max(t[0],t[1]);return n<=e&&e<=t},Ob.prototype.containData=function(e){return this.scale.contain(e)},Ob.prototype.getExtent=function(){return this._extent.slice()},Ob.prototype.getPixelPrecision=function(e){return Ni(e||this.scale.getExtent(),this._extent)},Ob.prototype.setExtent=function(e,t){var n=this._extent;n[0]=e,n[1]=t},Ob.prototype.dataToCoord=function(e,t){var n=this._extent,r=this.scale;return e=r.normalize(e),this.onBand&&"ordinal"===r.type&&Pb(n=n.slice(),r.count()),Pi(e,Mb,n,t)},Ob.prototype.coordToData=function(e,t){var n=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&Pb(n=n.slice(),r.count()),r=Pi(e,n,Mb,t);return this.scale.scale(r)},Ob.prototype.pointToData=function(e,t){},Ob.prototype.getTicksCoords=function(e){var t,n,r,i,o,a,s,u=(e=e||{}).tickModel||this.getTickModel(),l=N(function(e,t){var n,r,i,o,a,s;return"category"===e.type?(t=t,o=Ab(n=e,"ticks"),a=Z_(t),(s=Cb(o,a))||(t.get("show")&&!n.scale.isBlank()||(r=[]),r=H(a)?Ib(n,a,!0):"auto"===a?(s=Sb(n,n.getLabelModel()),i=s.labelCategoryInterval,N(s.labels,(function(e){return e.tickValue}))):Tb(n,i=a,!0),kb(o,a,{ticks:r,tickCategoryInterval:i}))):{ticks:N(e.scale.getTicks(),(function(e){return e.value}))}}(this,u).ticks,(function(e){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(e):e),tickValue:e}}),this);u=u.get("alignWithLabel");function c(e,t){return e=Ei(e),t=Ei(t),a?t<e:e<t}return t=this,n=l,u=u,e=e.clamp,s=n.length,t.onBand&&!u&&s&&(u=t.getExtent(),1===s?(n[0].coord=u[0],r=n[1]={coord:u[1]}):(o=n[s-1].tickValue-n[0].tickValue,i=(n[s-1].coord-n[0].coord)/o,L(n,(function(e){e.coord-=i/2})),t=1+(o=t.scale.getExtent())[1]-n[s-1].tickValue,r={coord:n[s-1].coord+i*t},n.push(r)),a=u[0]>u[1],c(n[0].coord,u[0])&&(e?n[0].coord=u[0]:n.shift()),e&&c(u[0],n[0].coord)&&n.unshift({coord:u[0]}),c(u[1],r.coord)&&(e?r.coord=u[1]:n.pop()),e)&&c(r.coord,u[1])&&n.push({coord:u[1]}),l},Ob.prototype.getMinorTicksCoords=function(){var e;return"ordinal"===this.scale.type?[]:(e=this.model.getModel("minorTick").get("splitNumber"),N(this.scale.getMinorTicks(e=0<e&&e<100?e:5),(function(e){return N(e,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this)}),this))},Ob.prototype.getViewLabels=function(){return function(e){return"category"===e.type?(i=(r=e).getLabelModel(),o=Sb(r,i),!i.get("show")||r.scale.isBlank()?{labels:[],labelCategoryInterval:o.labelCategoryInterval}:o):(i=(t=e).scale.getTicks(),n=K_(t),{labels:N(i,(function(e,r){return{level:e.level,formattedLabel:n(e,r),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))});var t,n,r,i,o}(this).labels},Ob.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},Ob.prototype.getTickModel=function(){return this.model.getModel("axisTick")},Ob.prototype.getBandWidth=function(){var e=this._extent,t=this.scale.getExtent();t=t[1]-t[0]+(this.onBand?1:0),0===t&&(t=1),e=Math.abs(e[1]-e[0]);return Math.abs(e)/t},Ob.prototype.calculateCategoryInterval=function(){i=(n=f=this).getLabelModel();var e={axisRotate:n.getRotate?n.getRotate():n.isHorizontal&&!n.isHorizontal()?90:0,labelRotate:i.get("rotate")||0,font:i.getFont()},t=K_(f),n=(e.axisRotate-e.labelRotate)/180*Math.PI,r=(i=f.scale).getExtent(),i=i.count();if(r[1]-r[0]<1)return 0;for(var o=1,a=(40<i&&(o=Math.max(1,Math.floor(i/40))),r[0]),s=f.dataToCoord(a+1)-f.dataToCoord(a),u=Math.abs(s*Math.cos(n)),l=(s=Math.abs(s*Math.sin(n)),0),c=0;a<=r[1];a+=o){var d=1.3*(p=ni(t({value:a}),e.font,"center","top")).width,p=1.3*p.height;l=Math.max(l,d,7),c=Math.max(c,p,7)}n=l/u,u=c/s,isNaN(n)&&(n=1/0),isNaN(u)&&(u=1/0),s=Math.max(0,Math.floor(Math.min(n,u))),n=wb(f.model),u=f.getExtent();var f=n.lastAutoInterval,h=n.lastTickCount;return null!=f&&null!=h&&Math.abs(f-s)<=1&&Math.abs(h-i)<=1&&s<f&&n.axisExtent0===u[0]&&n.axisExtent1===u[1]?s=f:(n.lastTickCount=i,n.lastAutoInterval=s,n.axisExtent0=u[0],n.axisExtent1=u[1]),s},id=Ob;function Ob(e,t,n){this.onBand=!1,this.inverse=!1,this.dim=e,this.scale=t,this._extent=n||[0,0]}function Pb(e,t){t=(e[1]-e[0])/t/2,e[0]+=t,e[1]-=t}var Db=2*Math.PI,Eb=ka.CMD,Bb=["top","right","bottom","left"];function Lb(e,t,n,r,i,o,a,s){var u=i-e,l=o-t,c=(n=n-e,r=r-t,Math.sqrt(n*n+r*r));u=(u*(n/=c)+l*(r/=c))/c,s&&(u=Math.min(Math.max(u,0),1)),l=a[0]=e+(u*=c)*n,s=a[1]=t+u*r;return Math.sqrt((l-i)*(l-i)+(s-o)*(s-o))}function Nb(e,t,n,r,i,o,a){return n<0&&(e+=n,n=-n),r<0&&(t+=r,r=-r),n=e+n,r=t+r,e=a[0]=Math.min(Math.max(i,e),n),n=a[1]=Math.min(Math.max(o,t),r),Math.sqrt((e-i)*(e-i)+(n-o)*(n-o))}var Rb=[];function jb(e,t,n){for(var r,i,o,a,s,u,l,c,d,p=0,f=0,h=0,g=0,y=1/0,m=t.data,v=e.x,_=e.y,b=0;b<m.length;){var x=m[b++],w=(1===b&&(h=p=m[b],g=f=m[b+1]),y);switch(x){case Eb.M:p=h=m[b++],f=g=m[b++];break;case Eb.L:w=Lb(p,f,m[b],m[b+1],v,_,Rb,!0),p=m[b++],f=m[b++];break;case Eb.C:w=_n(p,f,m[b++],m[b++],m[b++],m[b++],m[b],m[b+1],v,_,Rb),p=m[b++],f=m[b++];break;case Eb.Q:w=An(p,f,m[b++],m[b++],m[b],m[b+1],v,_,Rb),p=m[b++],f=m[b++];break;case Eb.A:var S=m[b++],A=m[b++],C=m[b++],k=m[b++],T=m[b++],I=m[b++],M=(b+=1,!!(1-m[b++])),O=Math.cos(T)*C+S,P=Math.sin(T)*k+A;b<=1&&(h=O,g=P),P=(O=T)+I,M=M,a=(v-S)*(o=k)/C+S,s=_,u=Rb,d=c=l=void 0,a-=r=S,s-=i=A,l=Math.sqrt(a*a+s*s),c=(a/=l)*o+r,d=(s/=l)*o+i,w=Math.abs(O-P)%Db<1e-4||((P=M?(M=O,O=Oa(P),Oa(M)):(O=Oa(O),Oa(P)))<O&&(P+=Db),(M=Math.atan2(s,a))<0&&(M+=Db),O<=M&&M<=P)||O<=M+Db&&M+Db<=P?(u[0]=c,u[1]=d,l-o):(d=((M=o*Math.cos(O)+r)-a)*(M-a)+((c=o*Math.sin(O)+i)-s)*(c-s))<(r=((l=o*Math.cos(P)+r)-a)*(l-a)+((O=o*Math.sin(P)+i)-s)*(O-s))?(u[0]=M,u[1]=c,Math.sqrt(d)):(u[0]=l,u[1]=O,Math.sqrt(r)),p=Math.cos(T+I)*C+S,f=Math.sin(T+I)*k+A;break;case Eb.R:w=Nb(h=p=m[b++],g=f=m[b++],m[b++],m[b++],v,_,Rb);break;case Eb.Z:w=Lb(p,f,h,g,v,_,Rb,!0),p=h,f=g}w<y&&(y=w,n.set(Rb[0],Rb[1]))}return y}var Fb=new St,zb=new St,$b=new St,Ub=new St,Hb=new St;function Vb(e,t){if(e){var n=e.getTextGuideLine(),r=e.getTextContent();if(r&&n){var i=e.textGuideLineConfig||{},o=[[0,0],[0,0],[0,0]],a=i.candidates||Bb,s=r.getBoundingRect().clone(),u=(s.applyTransform(r.getComputedTransform()),1/0),l=i.anchor,c=e.getComputedTransform(),d=c&&xt([],c),p=t.get("length2")||0;l&&$b.copy(l);for(var f,h,g=0;g<a.length;g++){var y=a[g],m=(b=_=m=void 0,y),v=s,_=Fb,b=Ub,x=v.width,w=v.height;switch(m){case"top":_.set(v.x+x/2,v.y-0),b.set(0,-1);break;case"bottom":_.set(v.x+x/2,v.y+w+0),b.set(0,1);break;case"left":_.set(v.x-0,v.y+w/2),b.set(-1,0);break;case"right":_.set(v.x+x+0,v.y+w/2),b.set(1,0)}St.scaleAndAdd(zb,Fb,Ub,p),zb.transform(d),y=e.getBoundingRect(),y=l?l.distance(zb):e instanceof Va?jb(zb,e.path,$b):(m=$b,f=Nb((f=y).x,y.y,y.width,y.height,zb.x,zb.y,Rb),m.set(Rb[0],Rb[1]),f),y<u&&(u=y,zb.transform(c),$b.transform(c),$b.toArray(o[0]),zb.toArray(o[1]),Fb.toArray(o[2]))}r=o,(i=t.get("minTurnAngle"))<=180&&0<i&&(i=i/180*Math.PI,Fb.fromArray(r[0]),zb.fromArray(r[1]),$b.fromArray(r[2]),St.sub(Ub,Fb,zb),St.sub(Hb,$b,zb),t=Ub.len(),h=Hb.len(),t<.001||h<.001||(Ub.scale(1/t),Hb.scale(1/h),t=Ub.dot(Hb),Math.cos(i)<t&&(h=Lb(zb.x,zb.y,$b.x,$b.y,Fb.x,Fb.y,Gb,!1),Wb.fromArray(Gb),Wb.scaleAndAdd(Hb,h/Math.tan(Math.PI-i)),t=$b.x!==zb.x?(Wb.x-zb.x)/($b.x-zb.x):(Wb.y-zb.y)/($b.y-zb.y),isNaN(t)||(t<0?St.copy(Wb,zb):1<t&&St.copy(Wb,$b),Wb.toArray(r[1]))))),n.setShape({points:o})}}}var Gb=[],Wb=new St;function qb(e,t,n,r){var i="normal"===n;n=i?e:e.ensureState(n),n.ignore=t,t=r.get("smooth"),t&&!0===t&&(t=.3),n.shape=n.shape||{},0<t&&(n.shape.smooth=t),t=r.getModel("lineStyle").getLineStyle();i?e.useStyle(t):n.style=t}function Qb(e,t){var n=t.smooth,r=t.points;if(r)if(e.moveTo(r[0][0],r[0][1]),0<n&&3<=r.length){t=Ee(r[0],r[1]);var i=Ee(r[1],r[2]);t&&i?(n=Math.min(t,i)*n,t=Ne([],r[1],r[0],n/t),n=Ne([],r[1],r[2],n/i),i=Ne([],t,n,.5),e.bezierCurveTo(t[0],t[1],t[0],t[1],i[0],i[1]),e.bezierCurveTo(n[0],n[1],n[0],n[1],r[2][0],r[2][1])):(e.lineTo(r[1][0],r[1][1]),e.lineTo(r[2][0],r[2][1]))}else for(var o=1;o<r.length;o++)e.lineTo(r[o][0],r[o][1])}function Yb(e){for(var t=[],n=0;n<e.length;n++){var r,i,o,a,s,u,l=e[n];l.defaultAttr.ignore||(i=(r=l.label).getComputedTransform(),o=r.getBoundingRect(),a=!i||i[1]<1e-5&&i[2]<1e-5,u=r.style.margin||0,(s=o.clone()).applyTransform(i),s.x-=u/2,s.y-=u/2,s.width+=u,s.height+=u,u=a?new Xl(o,i):null,t.push({label:r,labelLine:l.labelLine,rect:s,localRect:o,obb:u,priority:l.priority,defaultAttr:l.defaultAttr,layoutOption:l.computedLayoutOption,axisAligned:a,transform:i}))}return t}function Xb(e,t,n,r,i,o){var a=e.length;if(!(a<2)){e.sort((function(e,n){return e.rect[t]-n.rect[t]}));for(var s=0,u=!1,l=0,c=0;c<a;c++){var d,p=e[c],f=p.rect;(d=f[t]-s)<0&&(f[t]-=d,p.label[t]-=d,u=!0),l+=Math.max(-d,0),s=f[t]+f[n]}0<l&&o&&b(-l/a,0,a);var h,g,y=e[0],m=e[a-1];return v(),h<0&&x(-h,.8),g<0&&x(g,.8),v(),_(h,g,1),_(g,h,-1),v(),h<0&&w(-h),g<0&&w(g),u}function v(){h=y.rect[t]-r,g=i-m.rect[t]-m.rect[n]}function _(e,t,n){e<0&&(0<(t=Math.min(t,-e))?(b(t*n,0,a),(t+=e)<0&&x(-t*n,1)):x(-e*n,1))}function b(n,r,i){0!==n&&(u=!0);for(var o=r;o<i;o++){var a=e[o];a.rect[t]+=n,a.label[t]+=n}}function x(r,i){for(var o=[],s=0,u=1;u<a;u++){var l=e[u-1].rect;l=Math.max(e[u].rect[t]-l[t]-l[n],0);o.push(l),s+=l}if(s){var c=Math.min(Math.abs(r)/s,i);if(0<r)for(u=0;u<a-1;u++)b(o[u]*c,0,u+1);else for(u=a-1;0<u;u--)b(-o[u-1]*c,u,a)}}function w(e){for(var t=e<0?-1:1,n=(e=Math.abs(e),Math.ceil(e/(a-1))),r=0;r<a-1;r++)if(0<t?b(n,0,r+1):b(-n,a-r-1,a),(e-=n)<=0)return}}function Kb(e){var t=[],n=(e.sort((function(e,t){return t.priority-e.priority})),new Et(0,0,0,0));function r(e){var t;e.ignore||null==(t=e.ensureState("emphasis")).ignore&&(t.ignore=!1),e.ignore=!0}for(var i=0;i<e.length;i++){for(var o=e[i],a=o.axisAligned,s=o.localRect,u=o.transform,l=o.label,c=o.labelLine,d=(n.copy(o.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05,o.obb),p=!1,f=0;f<t.length;f++){var h=t[f];if(n.intersect(h.rect)){if(a&&h.axisAligned){p=!0;break}if(h.obb||(h.obb=new Xl(h.localRect,h.transform)),(d=d||new Xl(s,u)).intersect(h.obb)){p=!0;break}}}p?(r(l),c&&r(c)):(l.attr("ignore",o.defaultAttr.ignore),c&&c.attr("ignore",o.defaultAttr.labelGuideIgnore),t.push(o))}}function Jb(e,t){var n=e.label;t=t&&t.getTextGuideLine();return{dataIndex:e.dataIndex,dataType:e.dataType,seriesIndex:e.seriesModel.seriesIndex,text:e.label.style.text,rect:e.hostRect,labelRect:e.rect,align:n.style.align,verticalAlign:n.style.verticalAlign,labelLinePoints:function(e){if(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n].slice());return t}}(t&&t.shape.points)}}var Zb=["align","verticalAlign","width","height","fontSize"],ex=new Xr,tx=so(),nx=so();function rx(e,t,n){for(var r=0;r<n.length;r++){var i=n[r];null!=t[i]&&(e[i]=t[i])}}var ix=["x","y","rotation"],ox=(ax.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},ax.prototype._addLabel=function(e,t,n,r,i){var o,a=r.style,s=r.__hostTarget.textConfig||{},u=r.getComputedTransform(),l=r.getBoundingRect().plain(),c=(u=(Et.applyTransform(l,l,u),u?ex.setLocalTransform(u):(ex.x=ex.y=ex.rotation=ex.originX=ex.originY=0,ex.scaleX=ex.scaleY=1),ex.rotation=Oa(ex.rotation),r.__hostTarget),u&&(o=u.getBoundingRect().plain(),c=u.getComputedTransform(),Et.applyTransform(o,o,c)),o&&u.getTextGuideLine());this._labelList.push({label:r,labelLine:c,seriesModel:n,dataIndex:e,dataType:t,layoutOption:i,computedLayoutOption:null,rect:l,hostRect:o,priority:o?o.width*o.height:0,defaultAttr:{ignore:r.ignore,labelGuideIgnore:c&&c.ignore,x:ex.x,y:ex.y,scaleX:ex.scaleX,scaleY:ex.scaleY,rotation:ex.rotation,style:{x:a.x,y:a.y,align:a.align,verticalAlign:a.verticalAlign,width:a.width,height:a.height,fontSize:a.fontSize},cursor:r.cursor,attachedPos:s.position,attachedRot:s.rotation}})},ax.prototype.addLabelsOfSeries=function(e){var t=this,n=(this._chartViewList.push(e),e.__model),r=n.get("labelLayout");(H(r)||F(r).length)&&e.group.traverse((function(e){if(e.ignore)return!0;var i=e.getTextContent();e=Cs(e);i&&!i.disableLabelLayout&&t._addLabel(e.dataIndex,e.dataType,n,i,r)}))},ax.prototype.updateLayoutConfig=function(e){for(var t=e.getWidth(),n=e.getHeight(),r=0;r<this._labelList.length;r++){var i=this._labelList[r],o=i.label,a=o.__hostTarget,s=i.defaultAttr,u=void 0,l=(u=H(i.layoutOption)?i.layoutOption(Jb(i,a)):i.layoutOption,i.computedLayoutOption=u=u||{},Math.PI/180),c=(a&&a.setTextConfig({local:!1,position:null!=u.x||null!=u.y?null:s.attachedPos,rotation:null!=u.rotate?u.rotate*l:s.attachedRot,offset:[u.dx||0,u.dy||0]}),!1);null!=u.x?(o.x=Di(u.x,t),o.setStyle("x",0),c=!0):(o.x=s.x,o.setStyle("x",s.style.x)),null!=u.y?(o.y=Di(u.y,n),o.setStyle("y",0),c=!0):(o.y=s.y,o.setStyle("y",s.style.y)),u.labelLinePoints&&(d=a.getTextGuideLine())&&(d.setShape({points:u.labelLinePoints}),c=!1),tx(o).needsUpdateLabelLine=c,o.rotation=null!=u.rotate?u.rotate*l:s.rotation,o.scaleX=s.scaleX,o.scaleY=s.scaleY;for(var d,p=0;p<Zb.length;p++){var f=Zb[p];o.setStyle(f,(null!=u[f]?u:s.style)[f])}u.draggable?(o.draggable=!0,o.cursor="move",a&&(d=i.seriesModel,null!=i.dataIndex&&(d=i.seriesModel.getData(i.dataType).getItemModel(i.dataIndex)),o.on("drag",function(e,t){return function(){Vb(e,t)}}(a,d.getModel("labelLine"))))):(o.off("drag"),o.cursor=s.cursor)}},ax.prototype.layout=function(e){var t=e.getWidth(),n=(e=e.getHeight(),Yb(this._labelList)),r=j(n,(function(e){return"shiftX"===e.layoutOption.moveOverlap})),i=j(n,(function(e){return"shiftY"===e.layoutOption.moveOverlap}));Xb(r,"x","width",0,t,void 0),Xb(i,"y","height",0,e,void 0),Kb(j(n,(function(e){return e.layoutOption.hideOverlap})))},ax.prototype.processLabelsOverall=function(){var e=this;L(this._chartViewList,(function(t){var n=t.__model,r=t.ignoreLabelLineUpdate,i=n.isAnimationEnabled();t.group.traverse((function(t){if(t.ignore&&!t.forceLabelAnimation)return!0;var o=!r,a=t.getTextContent();(o=!o&&a?tx(a).needsUpdateLabelLine:o)&&e._updateLabelLine(t,n),i&&e._animateLabels(t,n)}))}))},ax.prototype._updateLabelLine=function(e,t){var n=e.getTextContent(),r=Cs(e),i=r.dataIndex;if(n&&null!=i){n=t.getData(r.dataType),t=n.getItemModel(i),r={},i=n.getItemVisual(i,"style"),i=(i&&(n=n.getVisual("drawType"),r.stroke=i[n]),t.getModel("labelLine"));var o=e,a=function(e,t){for(var n={normal:e.getModel(t=t||"labelLine")},r=0;r<Os.length;r++){var i=Os[r];n[i]=e.getModel([i,t])}return n}(t),s=(n=r,o.getTextGuideLine()),u=o.getTextContent();if(u){t=a.normal;for(var l=t.get("show"),c=u.ignore,d=0;d<Ps.length;d++){var p,f=Ps[d],h=a[f],g="normal"===f;h&&(p=h.get("show"),(g?c:ne(u.states[f]&&u.states[f].ignore,c))||!ne(p,l)?((p=g?s:s&&s.states[f])&&(p.ignore=!0),s&&qb(s,!0,f,h)):(s||(s=new _l,o.setTextGuideLine(s),g||!c&&l||qb(s,!0,"normal",a.normal),o.stateProxy&&(s.stateProxy=o.stateProxy)),qb(s,!1,f,h)))}s&&(M(s.style,n),s.style.fill=null,n=t.get("showAbove"),(o.textGuideLineConfig=o.textGuideLineConfig||{}).showAbove=n||!1,s.buildPath=Qb)}else s&&o.removeTextGuideLine();Vb(e,i)}},ax.prototype._animateLabels=function(e,t){var n,r,i,o,a,s=e.getTextContent(),u=e.getTextGuideLine();!s||!e.forceLabelAnimation&&(s.ignore||s.invisible||e.disableLabelAnimation||oc(e))||(o=(i=tx(s)).oldLayout,n=(r=Cs(e)).dataIndex,a={x:s.x,y:s.y,rotation:s.rotation},r=t.getData(r.dataType),o?(s.attr(o),(e=e.prevStates)&&(0<=P(e,"select")&&s.attr(i.oldLayoutSelect),0<=P(e,"emphasis"))&&s.attr(i.oldLayoutEmphasis),rc(s,a,t,n)):(s.attr(a),Yc(s).valueAnimation||(e=ne(s.style.opacity,1),s.style.opacity=0,ic(s,{style:{opacity:e}},t,n))),i.oldLayout=a,s.states.select&&(rx(e=i.oldLayoutSelect={},a,ix),rx(e,s.states.select,ix)),s.states.emphasis&&(rx(e=i.oldLayoutEmphasis={},a,ix),rx(e,s.states.emphasis,ix)),function(e,t,n,r,i){var o,a,s,u=Yc(e);u.valueAnimation&&u.prevValue!==u.value&&(o=u.defaultInterpolatedText,a=ne(u.interpolatedValue,u.prevValue),s=u.value,e.percent=0,(null==u.prevValue?ic:rc)(e,{percent:1},r,t,null,(function(r){var l=go(n,u.precision,a,s,r);u.interpolatedValue=1===r?null:l,r=zc({labelDataIndex:t,labelFetcher:i,defaultText:o?o(l):l+""},u.statesModels,l);Fc(e,r)})))}(s,n,r,t,t)),!u||u.ignore||u.invisible||(o=(i=nx(u)).oldLayout,a={points:u.shape.points},o?(u.attr({shape:o}),rc(u,{shape:a},t)):(u.setShape(a),u.style.strokePercent=0,ic(u,{style:{strokePercent:1}},t)),i.oldLayout=a)},ax);function ax(){this._labelList=[],this._chartViewList=[]}var sx=so();function ux(e){e.registerUpdateLifecycle("series:beforeupdate",(function(e,t,n){(sx(t).labelManager||(sx(t).labelManager=new ox)).clearLabels()})),e.registerUpdateLifecycle("series:layoutlabels",(function(e,t,n){var r=sx(t).labelManager;n.updatedSeries.forEach((function(e){r.addLabelsOfSeries(t.getViewOfSeriesModel(e))})),r.updateLayoutConfig(t),r.layout(t),r.processLabelsOverall()}))}function lx(e,t,n){var r=d.createCanvas(),i=t.getWidth(),o=(t=t.getHeight(),r.style);return o&&(o.position="absolute",o.left="0",o.top="0",o.width=i+"px",o.height=t+"px",r.setAttribute("data-zr-dom-id",e)),r.width=i*n,r.height=t*n,r}ob(ux),n(px,cx=Ve),px.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},px.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},px.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},px.prototype.setUnpainted=function(){this.__firstTimePaint=!0},px.prototype.createBackBuffer=function(){var e=this.dpr;this.domBack=lx("back-"+this.id,this.painter,e),this.ctxBack=this.domBack.getContext("2d"),1!==e&&this.ctxBack.scale(e,e)},px.prototype.createRepaintRects=function(e,t,n,r){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var i=[],o=this.maxRepaintRectCount,a=!1,s=new Et(0,0,0,0);function u(e){if(e.isFinite()&&!e.isZero())if(0===i.length)(t=new Et(0,0,0,0)).copy(e),i.push(t);else{for(var t,n=!1,r=1/0,u=0,l=0;l<i.length;++l){var c=i[l];if(c.intersect(e)){var d=new Et(0,0,0,0);d.copy(c),d.union(e),i[l]=d,n=!0;break}a&&(s.copy(e),s.union(c),d=e.width*e.height,c=c.width*c.height,(c=s.width*s.height-d-c)<r)&&(r=c,u=l)}a&&(i[u].union(e),n=!0),n||((t=new Et(0,0,0,0)).copy(e),i.push(t)),a=a||i.length>=o}}for(var l,c=this.__startIndex;c<this.__endIndex;++c)(d=e[c])&&(f=d.shouldBePainted(n,r,!0,!0),(p=d.__isRendered&&(1&d.__dirty||!f)?d.getPrevPaintRect():null)&&u(p),l=f&&(1&d.__dirty||!d.__isRendered)?d.getPaintRect():null)&&u(l);for(c=this.__prevStartIndex;c<this.__prevEndIndex;++c){var d,p,f=(d=t[c])&&d.shouldBePainted(n,r,!0,!0);!d||f&&d.__zr||!d.__isRendered||(p=d.getPrevPaintRect())&&u(p)}do{var h=!1;for(c=0;c<i.length;)if(i[c].isZero())i.splice(c,1);else{for(var g=c+1;g<i.length;)i[c].intersect(i[g])?(h=!0,i[c].union(i[g]),i.splice(g,1)):g++;c++}}while(h);return this._paintRects=i},px.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},px.prototype.resize=function(e,t){var n=this.dpr,r=this.dom,i=r.style,o=this.domBack;i&&(i.width=e+"px",i.height=t+"px"),r.width=e*n,r.height=t*n,o&&(o.width=e*n,o.height=t*n,1!==n)&&this.ctxBack.scale(n,n)},px.prototype.clear=function(e,t,n){var r=this.dom,i=this.ctx,o=r.width,a=r.height,s=(t=t||this.clearColor,this.motionBlur&&!e),u=this.lastFrameAlpha,l=this.dpr,c=this,d=(s&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(r,0,0,o/l,a/l)),this.domBack);function p(e,n,r,o){var a;i.clearRect(e,n,r,o),t&&"transparent"!==t&&(a=void 0,K(t)?(a=(t.global||t.__width===r&&t.__height===o)&&t.__canvasGradient||Iy(i,t,{x:0,y:0,width:r,height:o}),t.__canvasGradient=a,t.__width=r,t.__height=o):J(t)&&(t.scaleX=t.scaleX||l,t.scaleY=t.scaleY||l,a=jy(i,t,{dirty:function(){c.setUnpainted(),c.painter.refresh()}})),i.save(),i.fillStyle=a||t,i.fillRect(e,n,r,o),i.restore()),s&&(i.save(),i.globalAlpha=u,i.drawImage(d,e,n,r,o),i.restore())}!n||s?p(0,0,o,a):n.length&&L(n,(function(e){p(e.x*l,e.y*l,e.width*l,e.height*l)}))};var cx,dx=px;function px(e,t,n){var r,i=cx.call(this)||this;i.motionBlur=!1,i.lastFrameAlpha=.7,i.dpr=1,i.virtual=!1,i.config={},i.incremental=!1,i.zlevel=0,i.maxRepaintRectCount=5,i.__dirty=!0,i.__firstTimePaint=!0,i.__used=!1,i.__drawIndex=0,i.__startIndex=0,i.__endIndex=0,i.__prevStartIndex=null,i.__prevEndIndex=null,n=n||$r,"string"==typeof e?r=lx(e,t,n):q(e)&&(e=(r=e).id),i.id=e,e=(i.dom=r).style;return e&&(_e(r),r.onselectstart=function(){return!1},e.padding="0",e.margin="0",e.borderWidth="0"),i.painter=t,i.dpr=n,i}var fx=314159;gx.prototype.getType=function(){return"canvas"},gx.prototype.isSingleCanvas=function(){return this._singleCanvas},gx.prototype.getViewportRoot=function(){return this._domRoot},gx.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},gx.prototype.refresh=function(e){var t=this.storage.getDisplayList(!0),n=this._prevDisplayList,r=this._zlevelList;this._redrawId=Math.random(),this._paintList(t,n,e,this._redrawId);for(var i=0;i<r.length;i++){var o,a=r[i];a=this._layers[a];!a.__builtin__&&a.refresh&&(o=0===i?this._backgroundColor:null,a.refresh(o))}return this._opts.useDirtyRect&&(this._prevDisplayList=t.slice()),this},gx.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},gx.prototype._paintHoverList=function(e){var t=e.length,n=this._hoverlayer;if(n&&n.clear(),t){for(var r,i={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<t;o++){var a=e[o];a.__inHover&&(n=n||(this._hoverlayer=this.getLayer(1e5)),r||(r=n.ctx).save(),qy(r,a,i,o===t-1))}r&&r.restore()}},gx.prototype.getHoverLayer=function(){return this.getLayer(1e5)},gx.prototype.paintOne=function(e,t){Wy(e,t)},gx.prototype._paintList=function(e,t,n,r){var i,o,a;this._redrawId===r&&(n=n||!1,this._updateLayerStatus(e),i=(o=this._doPaintList(e,t,n)).finished,o=o.needsRefreshHover,this._needsManuallyCompositing&&this._compositeManually(),o&&this._paintHoverList(e),i?this.eachLayer((function(e){e.afterBrush&&e.afterBrush()})):(a=this,rn((function(){a._paintList(e,t,n,r)}))))},gx.prototype._compositeManually=function(){var e=this.getLayer(fx).ctx,t=this._domRoot.width,n=this._domRoot.height;e.clearRect(0,0,t,n),this.eachBuiltinLayer((function(r){r.virtual&&e.drawImage(r.dom,0,0,t,n)}))},gx.prototype._doPaintList=function(e,t,n){for(var r=this,i=[],a=this._opts.useDirtyRect,s=0;s<this._zlevelList.length;s++){var u=this._zlevelList[s];u=this._layers[u];u.__builtin__&&u!==this._hoverlayer&&(u.__dirty||n)&&i.push(u)}for(var l=!0,c=!1,d=function(o){function s(t){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:r._width,viewHeight:r._height};for(d=y;d<f.__endIndex;d++){var i=e[d];if(i.__inHover&&(c=!0),r._doPaintEl(i,f,a,t,n,d===f.__endIndex-1),m&&15<Date.now()-v)break}n.prevElClipPaths&&h.restore()}var u,d,f=i[o],h=f.ctx,g=a&&f.createRepaintRects(e,t,p._width,p._height),y=n?f.__startIndex:f.__drawIndex,m=!n&&f.incremental&&Date.now,v=m&&Date.now();o=f.zlevel===p._zlevelList[0]?p._backgroundColor:null;if(f.__startIndex!==f.__endIndex&&(y!==f.__startIndex||(u=e[y]).incremental&&u.notClear&&!n)||f.clear(!1,o,g),-1===y&&(console.error("For some unknown reason. drawIndex is -1"),y=f.__startIndex),g)if(0===g.length)d=f.__endIndex;else for(var _=p.dpr,b=0;b<g.length;++b){var x=g[b];h.save(),h.beginPath(),h.rect(x.x*_,x.y*_,x.width*_,x.height*_),h.clip(),s(x),h.restore()}else h.save(),s(),h.restore();f.__drawIndex=d,f.__drawIndex<f.__endIndex&&(l=!1)},p=this,f=0;f<i.length;f++)d(f);return o.wxa&&L(this._layers,(function(e){e&&e.ctx&&e.ctx.draw&&e.ctx.draw()})),{finished:l,needsRefreshHover:c}},gx.prototype._doPaintEl=function(e,t,n,r,i,o){t=t.ctx,n?(n=e.getPaintRect(),(!r||n&&n.intersect(r))&&(qy(t,e,i,o),e.setPrevPaintRect(n))):qy(t,e,i,o)},gx.prototype.getLayer=function(e,t){this._singleCanvas&&!this._needsManuallyCompositing&&(e=fx);var n=this._layers[e];return n||((n=new dx("zr_"+e,this,this.dpr)).zlevel=e,n.__builtin__=!0,this._layerConfig[e]?T(n,this._layerConfig[e],!0):this._layerConfig[e-.01]&&T(n,this._layerConfig[e-.01],!0),t&&(n.virtual=t),this.insertLayer(e,n),n.initContext()),n},gx.prototype.insertLayer=function(e,t){var n,r=this._layers,i=this._zlevelList,o=i.length,a=this._domRoot,s=null,u=-1;if(!r[e]&&(n=t)&&(n.__builtin__||"function"==typeof n.resize&&"function"==typeof n.refresh)){if(0<o&&e>i[0]){for(u=0;u<o-1&&!(i[u]<e&&i[u+1]>e);u++);s=r[i[u]]}i.splice(u+1,0,e),(r[e]=t).virtual||(s?(n=s.dom).nextSibling?a.insertBefore(t.dom,n.nextSibling):a.appendChild(t.dom):a.firstChild?a.insertBefore(t.dom,a.firstChild):a.appendChild(t.dom)),t.painter||(t.painter=this)}},gx.prototype.eachLayer=function(e,t){for(var n=this._zlevelList,r=0;r<n.length;r++){var i=n[r];e.call(t,this._layers[i],i)}},gx.prototype.eachBuiltinLayer=function(e,t){for(var n=this._zlevelList,r=0;r<n.length;r++){var i=n[r],o=this._layers[i];o.__builtin__&&e.call(t,o,i)}},gx.prototype.eachOtherLayer=function(e,t){for(var n=this._zlevelList,r=0;r<n.length;r++){var i=n[r],o=this._layers[i];o.__builtin__||e.call(t,o,i)}},gx.prototype.getLayers=function(){return this._layers},gx.prototype._updateLayerStatus=function(e){function t(e){i&&(i.__endIndex!==e&&(i.__dirty=!0),i.__endIndex=e)}if(this.eachBuiltinLayer((function(e,t){e.__dirty=e.__used=!1})),this._singleCanvas)for(var n=1;n<e.length;n++)if((s=e[n]).zlevel!==e[n-1].zlevel||s.incremental){this._needsManuallyCompositing=!0;break}for(var r,i=null,o=0,a=0;a<e.length;a++){var s,u=(s=e[a]).zlevel,l=void 0;r!==u&&(r=u,o=0),s.incremental?((l=this.getLayer(u+.001,this._needsManuallyCompositing)).incremental=!0,o=1):l=this.getLayer(u+(0<o?.01:0),this._needsManuallyCompositing),l.__builtin__||C("ZLevel "+u+" has been used by unkown layer "+l.id),l!==i&&(l.__used=!0,l.__startIndex!==a&&(l.__dirty=!0),l.__startIndex=a,l.incremental?l.__drawIndex=-1:l.__drawIndex=a,t(a),i=l),1&s.__dirty&&!s.__inHover&&(l.__dirty=!0,l.incremental)&&l.__drawIndex<0&&(l.__drawIndex=a)}t(a),this.eachBuiltinLayer((function(e,t){!e.__used&&0<e.getElementCount()&&(e.__dirty=!0,e.__startIndex=e.__endIndex=e.__drawIndex=0),e.__dirty&&e.__drawIndex<0&&(e.__drawIndex=e.__startIndex)}))},gx.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},gx.prototype._clearLayer=function(e){e.clear()},gx.prototype.setBackgroundColor=function(e){this._backgroundColor=e,L(this._layers,(function(e){e.setUnpainted()}))},gx.prototype.configLayer=function(e,t){if(t){var n=this._layerConfig;n[e]?T(n[e],t,!0):n[e]=t;for(var r=0;r<this._zlevelList.length;r++){var i=this._zlevelList[r];i!==e&&i!==e+.01||T(this._layers[i],n[e],!0)}}},gx.prototype.delLayer=function(e){var t=this._layers,n=this._zlevelList,r=t[e];r&&(r.dom.parentNode.removeChild(r.dom),delete t[e],n.splice(P(n,e),1))},gx.prototype.resize=function(e,t){if(this._domRoot.style){var n=this._domRoot,r=(n.style.display="none",this._opts),i=this.root;if(null!=e&&(r.width=e),null!=t&&(r.height=t),e=Oy(i,0,r),t=Oy(i,1,r),n.style.display="",this._width!==e||t!==this._height){for(var o in n.style.width=e+"px",n.style.height=t+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(e,t);this.refresh(!0)}this._width=e,this._height=t}else{if(null==e||null==t)return;this._width=e,this._height=t,this.getLayer(fx).resize(e,t)}return this},gx.prototype.clearLayer=function(e){e=this._layers[e],e&&e.clear()},gx.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},gx.prototype.getRenderedCanvas=function(e){if(this._singleCanvas&&!this._compositeManually)return this._layers[fx].dom;var t=new dx("image",this,(e=e||{}).pixelRatio||this.dpr),n=(t.initContext(),t.clear(!1,e.backgroundColor||this._backgroundColor),t.ctx);if(e.pixelRatio<=this.dpr){this.refresh();var r=t.dom.width,i=t.dom.height;this.eachLayer((function(e){e.__builtin__?n.drawImage(e.dom,0,0,r,i):e.renderToCanvas&&(n.save(),e.renderToCanvas(n),n.restore())}))}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,u=a.length;s<u;s++){var l=a[s];qy(n,l,o,s===u-1)}return t.dom},gx.prototype.getWidth=function(){return this._width},gx.prototype.getHeight=function(){return this._height};var hx=gx;function gx(e,t,n,r){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var i=!e.nodeName||"CANVAS"===e.nodeName.toUpperCase();this._opts=n=I({},n||{}),this.dpr=n.devicePixelRatio||$r,this._singleCanvas=i,(this.root=e).style&&(_e(e),e.innerHTML=""),this.storage=t;t=this._zlevelList;var o,a,s=(this._prevDisplayList=[],this._layers);i?(o=(i=e).width,a=i.height,null!=n.width&&(o=n.width),null!=n.height&&(a=n.height),this.dpr=n.devicePixelRatio||1,i.width=o*this.dpr,i.height=a*this.dpr,this._width=o,this._height=a,(o=new dx(i,this,this.dpr)).__builtin__=!0,o.initContext(),(s[fx]=o).zlevel=fx,t.push(fx),this._domRoot=e):(this._width=Oy(e,0,n),this._height=Oy(e,1,n),o=this._domRoot=(a=this._width,i=this._height,(s=document.createElement("div")).style.cssText=["position:relative","width:"+a+"px","height:"+i+"px","padding:0","margin:0","border-width:0"].join(";")+";",s),e.appendChild(o))}n(vx,yx=hp),vx.prototype.init=function(e,t,n){yx.prototype.init.call(this,e,t,n),this._sourceManager=new Rh(this),Fh(this)},vx.prototype.mergeOption=function(e,t){yx.prototype.mergeOption.call(this,e,t),Fh(this)},vx.prototype.optionUpdated=function(){this._sourceManager.dirty()},vx.prototype.getSourceManager=function(){return this._sourceManager},vx.type="dataset",vx.defaultOption={seriesLayoutBy:Cp};var yx,mx=vx;function vx(){var e=null!==yx&&yx.apply(this,arguments)||this;return e.type="dataset",e}n(xx,_x=gg),xx.type="dataset";var _x,bx=xx;function xx(){var e=null!==_x&&_x.apply(this,arguments)||this;return e.type="dataset",e}function wx(e){e.registerComponentModel(mx),e.registerComponentView(bx)}ob([function(e){e.registerPainter("canvas",hx)},wx]),ob(ux);var Sx={average:function(e){for(var t=0,n=0,r=0;r<e.length;r++)isNaN(e[r])||(t+=e[r],n++);return 0===n?NaN:t/n},sum:function(e){for(var t=0,n=0;n<e.length;n++)t+=e[n]||0;return t},max:function(e){for(var t=-1/0,n=0;n<e.length;n++)e[n]>t&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n<e.length;n++)e[n]<t&&(t=e[n]);return isFinite(t)?t:NaN},minmax:function(e){for(var t=-1/0,n=-1/0,r=0;r<e.length;r++){var i=e[r],o=Math.abs(i);t<o&&(t=o,n=i)}return isFinite(n)?n:NaN},nearest:function(e){return e[0]}},Ax=function(e){return Math.round(e.length/2)};function Cx(e){return{seriesType:e,reset:function(e,t,n){var r,i=e.getData(),o=e.get("sampling"),a=e.coordinateSystem,s=i.count();10<s&&"cartesian2d"===a.type&&o&&(r=a.getBaseAxis(),a=a.getOtherAxis(r),r=r.getExtent(),n=n.getDevicePixelRatio(),r=Math.abs(r[1]-r[0])*(n||1),n=Math.round(s/r),isFinite(n))&&1<n&&("lttb"===o&&e.setData(i.lttbDownSample(i.mapDimension(a.dim),1/n)),s=void 0,V(o)?s=Sx[o]:H(o)&&(s=o),s)&&e.setData(i.downSample(i.mapDimension(a.dim),1/n,s,Ax))}}}n(Tx,kx=ag),Tx.prototype.getInitialData=function(e,t){return Xv(null,this,{useEncodeDefaulter:!0})},Tx.prototype.getMarkerPosition=function(e,t,n){var r,i,o=this.coordinateSystem;return o&&o.clampData?(r=o.clampData(e),i=o.dataToPoint(r),n?L(o.getAxes(),(function(e,n){if("category"===e.type&&null!=t){var o=e.getTicksCoords(),a=e.getTickModel().get("alignWithLabel"),s=r[n],u="x1"===t[n]||"y1"===t[n];if(u&&!a&&(s+=1),!(o.length<2))if(2===o.length)i[n]=e.toGlobalCoord(e.getExtent()[u?1:0]);else{for(var l=void 0,c=void 0,d=1,p=0;p<o.length;p++){var f=o[p].coord,h=p===o.length-1?o[p-1].tickValue+d:o[p].tickValue;if(h===s){c=f;break}if(h<s)l=f;else if(null!=l&&s<h){c=(f+l)/2;break}1===p&&(d=h-o[0].tickValue)}null==c&&(c=(l?o[o.length-1]:o[0]).coord),i[n]=e.toGlobalCoord(c)}}})):(n=(e=this.getData()).getLayout("offset"),e=e.getLayout("size"),o=o.getBaseAxis().isHorizontal()?0:1,i[o]+=n+e/2),i):[NaN,NaN]},Tx.type="series.__base_bar__",Tx.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"};var kx;ed=Tx;function Tx(){var e=null!==kx&&kx.apply(this,arguments)||this;return e.type=Tx.type,e}ag.registerClass(ed),n(Ox,Ix=ed),Ox.prototype.getInitialData=function(){return Xv(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},Ox.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},Ox.prototype.getProgressiveThreshold=function(){var e=this.get("progressiveThreshold"),t=this.get("largeThreshold");return e<t?t:e},Ox.prototype.brushSelector=function(e,t,n){return n.rect(t.getItemLayout(e))},Ox.type="series.bar",Ox.dependencies=["grid","polar"],Ox.defaultOption=fd(ed.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});var Ix,Mx=Ox;function Ox(){var e=null!==Ix&&Ix.apply(this,arguments)||this;return e.type=Ox.type,e}function Px(e,t,n,r,i){var o=e.getArea(),a=o.x,s=o.y,u=o.width,l=(o=o.height,n.get(["lineStyle","width"])||2),c=(a-=l/2,s-=l/2,u+=l,o+=l,u=Math.ceil(u),a!==Math.floor(a)&&(a=Math.floor(a),u++),new us({shape:{x:a,y:s,width:u,height:o}}));return t&&(t=(l=e.getBaseAxis()).isHorizontal(),e=l.inverse,t?(e&&(c.shape.x+=u),c.shape.width=0):(e||(c.shape.y+=o),c.shape.height=0),l=H(i)?function(e){i(e,c)}:null,ic(c,{shape:{width:u,height:o,x:a,y:s}},n,null,r,l)),c}function Dx(e,t,n){var r=e.getArea(),i=Ei(r.r0,1),o=Ei(r.r,1),a=new al({shape:{cx:Ei(e.cx,1),cy:Ei(e.cy,1),r0:i,r:o,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});return t&&("angle"===e.getBaseAxis().dim?a.shape.endAngle=r.startAngle:a.shape.r=i,ic(a,{shape:{endAngle:r.endAngle,r:o}},n)),a}var Ex,Bx=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},Lx=(n(Nx,Ex=Va),Nx.prototype.getDefaultShape=function(){return new Bx},Nx.prototype.buildPath=function(e,t){var n=t.cx,r=t.cy,i=Math.max(t.r0||0,0),o=Math.max(t.r,0),a=.5*(o-i),s=i+a,u=t.startAngle,l=t.endAngle,c=(t=t.clockwise,2*Math.PI),d=t?l-u<c:u-l<c,p=(c=(d||(u=l-(t?c:-c)),Math.cos(u)),Math.sin(u)),f=Math.cos(l),h=Math.sin(l);d?(e.moveTo(c*i+n,p*i+r),e.arc(c*s+n,p*s+r,a,-Math.PI+u,u,!t)):e.moveTo(c*o+n,p*o+r),e.arc(n,r,o,u,l,!t),e.arc(f*s+n,h*s+r,a,l-2*Math.PI,l-Math.PI,!t),0!==i&&e.arc(n,r,i,l,u,t)},Nx);function Nx(e){return e=Ex.call(this,e)||this,e.type="sausage",e}function Rx(e,t){return e.type===t}function jx(e,t){var n,r=e.mapDimensionsAll("defaultedLabel"),i=r.length;if(1===i)return null!=(n=Wf(e,t,r[0]))?n+"":null;if(i){for(var o=[],a=0;a<r.length;a++)o.push(Wf(e,t,r[a]));return o.join(" ")}}function Fx(e,t){var n=e.mapDimensionsAll("defaultedLabel");if(!U(t))return t+"";for(var r=[],i=0;i<n.length;i++){var o=e.getDimensionIndex(n[i]);0<=o&&r.push(t[o])}return r.join(" ")}function zx(e,t,n){return t*Math.sin(e)*(n?-1:1)}function $x(e,t,n){return t*Math.cos(e)*(n?1:-1)}var Ux=Math.max,Hx=Math.min;n(Wx,Vx=bg),Wx.prototype.render=function(e,t,n,r){this._model=e,this._removeOnRenderedListener(n),this._updateDrawMode(e);var i=e.get("coordinateSystem");"cartesian2d"!==i&&"polar"!==i||(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(e,t,n):this._renderNormal(e,t,n,r))},Wx.prototype.incrementalPrepareRender=function(e){this._clear(),this._updateDrawMode(e),this._updateLargeClip(e)},Wx.prototype.incrementalRender=function(e,t){this._progressiveEls=[],this._incrementalRenderLarge(e,t)},Wx.prototype.eachRendered=function(e){Nc(this._progressiveEls||this.group,e)},Wx.prototype._updateDrawMode=function(e){e=e.pipelineContext.large,null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},Wx.prototype._renderNormal=function(e,t,n,r){var i,o,a,s=this.group,u=e.getData(),l=this._data,c=e.coordinateSystem,d=c.getBaseAxis(),p=("cartesian2d"===c.type?i=d.isHorizontal():"polar"===c.type&&(i="angle"===d.dim),e.isAnimationEnabled()?e:null),f=function(e,t){e=e.get("realtimeSort",!0);var n=t.getBaseAxis();if(e&&"category"===n.type&&"cartesian2d"===t.type)return{baseAxis:n,otherAxis:t.getOtherAxis(n)}}(e,c),h=(f&&this._enableRealtimeSort(f,u,n),e.get("clip",!0)||f),g=(n=u,a=(o=c).getArea&&o.getArea(),!Rx(o,"cartesian2d")||"category"===(o=o.getBaseAxis()).type&&o.onBand||(n=n.getLayout("bandWidth"),o.isHorizontal()?(a.x-=n,a.width+=2*n):(a.y-=n,a.height+=2*n)),a),y=(s.removeClipPath(),e.get("roundCap",!0)),m=e.get("showBackground",!0),v=e.getModel("backgroundStyle"),_=v.get("borderRadius")||0,b=[],x=this._backgroundEls,w=r&&r.isInitSort,S=r&&"changeAxisOrder"===r.type;function A(e){var t=ew[c.type](u,e),n=(n=i,new("polar"===c.type?al:us)({shape:lw(n,t,c),silent:!0,z2:0}));return n.useStyle(v.getItemStyle()),"cartesian2d"===c.type?n.setShape("r",_):n.setShape("cornerRadius",_),b[e]=n}u.diff(l).add((function(t){var n,r,o=u.getItemModel(t),a=ew[c.type](u,t,o);m&&A(t),u.hasValue(t)&&Zx[c.type](a)&&(n=!1,h&&(n=qx[c.type](g,a)),r=Qx[c.type](e,u,t,a,i,p,d.model,!1,y),f&&(r.forceLabelAnimation=!0),nw(r,u,t,o,a,e,i,"polar"===c.type),w?r.attr({shape:a}):f?Yx(f,p,r,a,t,i,!1,!1):ic(r,{shape:a},e,t),u.setItemGraphicEl(t,r),s.add(r),r.ignore=n)})).update((function(t,n){var r,o=u.getItemModel(t),a=ew[c.type](u,t,o),C=(m&&(C=void 0,0===x.length?C=A(n):((C=x[n]).useStyle(v.getItemStyle()),"cartesian2d"===c.type?C.setShape("r",_):C.setShape("cornerRadius",_),b[t]=C),r=ew[c.type](u,t),rc(C,{shape:lw(i,r,c)},p,t)),l.getItemGraphicEl(n));u.hasValue(t)&&Zx[c.type](a)?(r=!1,h&&(r=qx[c.type](g,a))&&s.remove(C),C?lc(C):C=Qx[c.type](e,u,t,a,i,p,d.model,!!C,y),f&&(C.forceLabelAnimation=!0),S?(n=C.getTextContent())&&null!=(n=Yc(n)).prevValue&&(n.prevValue=n.value):nw(C,u,t,o,a,e,i,"polar"===c.type),w?C.attr({shape:a}):f?Yx(f,p,C,a,t,i,!0,S):rc(C,{shape:a},e,t,null),u.setItemGraphicEl(t,C),C.ignore=r,s.add(C)):s.remove(C)})).remove((function(t){var n=l.getItemGraphicEl(t);n&&uc(n,e,t)})).execute();var C=this._backgroundGroup||(this._backgroundGroup=new bi);C.removeAll();for(var k=0;k<b.length;++k)C.add(b[k]);s.add(C),this._backgroundEls=b,this._data=u},Wx.prototype._renderLarge=function(e,t,n){this._clear(),sw(e,this.group),this._updateLargeClip(e)},Wx.prototype._incrementalRenderLarge=function(e,t){this._removeBackground(),sw(t,this.group,this._progressiveEls,!0)},Wx.prototype._updateLargeClip=function(e){var t=e.get("clip",!0)&&(t=e.coordinateSystem,n=!1,e=e,t?"polar"===t.type?Dx(t,n,e):"cartesian2d"===t.type?Px(t,n,e,void 0,void 0):null:null),n=this.group;t?n.setClipPath(t):n.removeClipPath()},Wx.prototype._enableRealtimeSort=function(e,t,n){var r,i,o=this;t.count()&&(r=e.baseAxis,this._isFirstFrame?(this._dispatchInitSort(t,e,n),this._isFirstFrame=!1):(i=function(e){return e=t.getItemGraphicEl(e),e=e&&e.shape,e&&Math.abs(r.isHorizontal()?e.height:e.width)||0},this._onRendered=function(){o._updateSortWithinSameData(t,i,r,n)},n.getZr().on("rendered",this._onRendered)))},Wx.prototype._dataSort=function(e,t,n){var r=[];return e.each(e.mapDimension(t.dim),(function(e,t){var i=n(t);r.push({dataIndex:t,mappedValue:null==i?NaN:i,ordinalNumber:e})})),r.sort((function(e,t){return t.mappedValue-e.mappedValue})),{ordinalNumbers:N(r,(function(e){return e.ordinalNumber}))}},Wx.prototype._isOrderChangedWithinSameData=function(e,t,n){for(var r=n.scale,i=e.mapDimension(n.dim),o=Number.MAX_VALUE,a=0,s=r.getOrdinalMeta().categories.length;a<s;++a){var u=e.rawIndexOf(i,r.getRawOrdinalNumber(a));u=u<0?Number.MIN_VALUE:t(e.indexOfRawIndex(u));if(o<u)return!0;o=u}return!1},Wx.prototype._isOrderDifferentInView=function(e,t){for(var n=t.scale,r=(t=n.getExtent(),Math.max(0,t[0])),i=Math.min(t[1],n.getOrdinalMeta().categories.length-1);r<=i;++r)if(e.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},Wx.prototype._updateSortWithinSameData=function(e,t,n,r){this._isOrderChangedWithinSameData(e,t,n)&&(e=this._dataSort(e,n,t),this._isOrderDifferentInView(e,n))&&(this._removeOnRenderedListener(r),r.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:e}))},Wx.prototype._dispatchInitSort=function(e,t,n){var r=t.baseAxis,i=this._dataSort(e,r,(function(n){return e.get(e.mapDimension(t.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:r.dim+"Axis",isInitSort:!0,axisId:r.index,sortInfo:i})},Wx.prototype.remove=function(e,t){this._clear(this._model),this._removeOnRenderedListener(t)},Wx.prototype.dispose=function(e,t){this._removeOnRenderedListener(t)},Wx.prototype._removeOnRenderedListener=function(e){this._onRendered&&(e.getZr().off("rendered",this._onRendered),this._onRendered=null)},Wx.prototype._clear=function(e){var t=this.group,n=this._data;e&&e.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(t){uc(t,e,Cs(t).dataIndex)}))):t.removeAll(),this._data=null,this._isFirstFrame=!0},Wx.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},Wx.type="bar";var Vx,Gx=Wx;function Wx(){var e=Vx.call(this)||this;return e.type=Wx.type,e._isFirstFrame=!0,e}var qx={cartesian2d:function(e,t){var n=t.width<0?-1:1,r=t.height<0?-1:1,i=(n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height),e.x+e.width),o=e.y+e.height,a=Ux(t.x,e.x),s=Hx(t.x+t.width,i),u=(e=Ux(t.y,e.y),Hx(t.y+t.height,o)),l=s<a,c=u<e;return t.x=l&&i<a?s:a,t.y=c&&o<e?u:e,t.width=l?0:s-a,t.height=c?0:u-e,n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height),l||c},polar:function(e,t){var n,r=t.r0<=t.r?1:-1,i=(r<0&&(n=t.r,t.r=t.r0,t.r0=n),Hx(t.r,e.r));e=Ux(t.r0,e.r0),i=(t.r=i)-(t.r0=e)<0;return r<0&&(n=t.r,t.r=t.r0,t.r0=n),i}},Qx={cartesian2d:function(e,t,n,r,i,o,a,s,u){return r=new us({shape:I({},r),z2:1}),r.__dataIndex=n,r.name="item",o&&(r.shape[i?"height":"width"]=0),r},polar:function(e,t,n,r,i,o,a,s,u){u=!i&&u?Lx:al;var l,c,d=new u({shape:r,z2:1}),p=(d.name="item",tw(i));return d.calculateTextPosition=(l=p,c=({isRoundCap:u===Lx}||{}).isRoundCap,function(e,t,n){var r=t.position;if(!r||r instanceof Array)return si(e,t,n);r=l(r);var i=null!=t.distance?t.distance:5,o=this.shape,a=o.cx,s=o.cy,u=o.r,d=o.r0,p=(u+d)/2,f=o.startAngle,h=o.endAngle,g=(f+h)/2,y=c?Math.abs(u-d)/2:0,m=Math.cos,v=Math.sin,_=a+u*m(f),b=s+u*v(f),x="left",w="top";switch(r){case"startArc":_=a+(d-i)*m(g),b=s+(d-i)*v(g),x="center",w="top";break;case"insideStartArc":_=a+(d+i)*m(g),b=s+(d+i)*v(g),x="center",w="bottom";break;case"startAngle":_=a+p*m(f)+zx(f,i+y,!1),b=s+p*v(f)+$x(f,i+y,!1),x="right",w="middle";break;case"insideStartAngle":_=a+p*m(f)+zx(f,y-i,!1),b=s+p*v(f)+$x(f,y-i,!1),x="left",w="middle";break;case"middle":_=a+p*m(g),b=s+p*v(g),x="center",w="middle";break;case"endArc":_=a+(u+i)*m(g),b=s+(u+i)*v(g),x="center",w="bottom";break;case"insideEndArc":_=a+(u-i)*m(g),b=s+(u-i)*v(g),x="center",w="top";break;case"endAngle":_=a+p*m(h)+zx(h,i+y,!0),b=s+p*v(h)+$x(h,i+y,!0),x="left",w="middle";break;case"insideEndAngle":_=a+p*m(h)+zx(h,y-i,!0),b=s+p*v(h)+$x(h,y-i,!0),x="right",w="middle";break;default:return si(e,t,n)}return(e=e||{}).x=_,e.y=b,e.align=x,e.verticalAlign=w,e}),o&&(p={},d.shape[u=i?"r":"endAngle"]=i?r.r0:r.startAngle,p[u]=r[u],(s?rc:ic)(d,{shape:p},o)),d}};function Yx(e,t,n,r,i,o,a,s){var u;o=o?(u={x:r.x,width:r.width},{y:r.y,height:r.height}):(u={y:r.y,height:r.height},{x:r.x,width:r.width});s||(a?rc:ic)(n,{shape:o},t,i,null),(a?rc:ic)(n,{shape:u},t?e.baseAxis.model:null,i)}function Xx(e,t){for(var n=0;n<t.length;n++)if(!isFinite(e[t[n]]))return 1}var Kx=["x","y","width","height"],Jx=["cx","cy","r","startAngle","endAngle"],Zx={cartesian2d:function(e){return!Xx(e,Kx)},polar:function(e){return!Xx(e,Jx)}},ew={cartesian2d:function(e,t,n){e=e.getItemLayout(t);var r=n&&(t=e,r=(n=n).get(["itemStyle","borderColor"]))&&"none"!==r?(r=n.get(["itemStyle","borderWidth"])||0,n=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),t=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height),Math.min(r,n,t)):0;n=0<e.width?1:-1,t=0<e.height?1:-1;return{x:e.x+n*r/2,y:e.y+t*r/2,width:e.width-n*r,height:e.height-t*r}},polar:function(e,t,n){return e=e.getItemLayout(t),{cx:e.cx,cy:e.cy,r0:e.r0,r:e.r,startAngle:e.startAngle,endAngle:e.endAngle,clockwise:e.clockwise}}};function tw(e){return t=e?"Arc":"Angle",function(e){switch(e){case"start":case"insideStart":case"end":case"insideEnd":return e+t;default:return e}};var t}function nw(e,t,n,r,i,o,a,s){var u=t.getItemVisual(n,"style"),l=(s?o.get("roundCap")||(I(l=e.shape,function(e,t,n){if(null==(e=e.get("borderRadius")))return{cornerRadius:0};U(e)||(e=[e,e,e,e]);var r=Math.abs(t.r||0-t.r0||0);return{cornerRadius:N(e,(function(e){return ai(e,r)}))}}(r.getModel("itemStyle"),l)),e.setShape(l)):(l=r.get(["itemStyle","borderRadius"])||0,e.setShape("r",l)),e.useStyle(u),r.getShallow("cursor")),c=(l=(l&&e.attr("cursor",l),s?a?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":a?0<=i.height?"bottom":"top":0<=i.width?"right":"left"),Uc(r));$c(e,c,{labelFetcher:o,labelDataIndex:n,defaultText:jx(o.getData(),n),inheritColor:u.fill,defaultOpacity:u.opacity,defaultOutsidePosition:l}),u=e.getTextContent(),s&&u&&(s=r.get(["label","position"]),e.textConfig.inside="middle"===s||null,function(e,t,n,r){if(W(r))e.setTextConfig({rotation:r});else if(U(t))e.setTextConfig({rotation:0});else{r=e.shape;var i,o=r.clockwise?r.startAngle:r.endAngle,a=r.clockwise?r.endAngle:r.startAngle,s=(o+a)/2;r=n(t);switch(r){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":i=s;break;case"startAngle":case"insideStartAngle":i=o;break;case"endAngle":case"insideEndAngle":i=a;break;default:return e.setTextConfig({rotation:0})}n=1.5*Math.PI-i,"middle"===r&&n>Math.PI/2&&n<1.5*Math.PI&&(n-=Math.PI),e.setTextConfig({rotation:n})}}(e,"outside"===s?l:s,tw(a),r.get(["label","rotate"]))),l=u,s=c,a=o.getRawValue(n),u=function(e){return Fx(t,e)},l&&((l=Yc(l)).prevValue=l.value,l.value=a,a=s.normal,l.valueAnimation=a.get("valueAnimation"),l.valueAnimation)&&(l.precision=a.get("precision"),l.defaultInterpolatedText=u,l.statesModels=s),c=r.getModel(["emphasis"]);du(e,c.get("focus"),c.get("blurScope"),c.get("disabled")),hu(e,r),null!=(o=i).startAngle&&null!=o.endAngle&&o.startAngle===o.endAngle&&(e.style.fill="none",e.style.stroke="none",L(e.states,(function(e){e.style&&(e.style.fill=e.style.stroke="none")})))}var rw,iw=function(){},ow=(n(aw,rw=Va),aw.prototype.getDefaultShape=function(){return new iw},aw.prototype.buildPath=function(e,t){for(var n=t.points,r=this.baseDimIdx,i=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,u=0;u<n.length;u+=3)a[r]=s,a[i]=n[u+2],o[r]=n[u+r],o[i]=n[u+i],e.rect(o[0],o[1],a[0],a[1])},aw);function aw(e){return e=rw.call(this,e)||this,e.type="largeBar",e}function sw(e,t,n,r){var i=e.getData(),o=i.getLayout("valueAxisHorizontal")?1:0,a=i.getLayout("largeDataIndices"),s=i.getLayout("size"),u=e.getModel("backgroundStyle"),l=i.getLayout("largeBackgroundPoints");l&&((l=new ow({shape:{points:l},incremental:!!r,silent:!0,z2:0})).baseDimIdx=o,l.largeDataIndices=a,l.barWidth=s,l.useStyle(u.getItemStyle()),t.add(l),n)&&n.push(l),u=new ow({shape:{points:i.getLayout("largePoints")},incremental:!!r,ignoreCoarsePointer:!0,z2:1});u.baseDimIdx=o,u.largeDataIndices=a,u.barWidth=s,t.add(u),u.useStyle(i.getVisual("style")),Cs(u).seriesIndex=e.seriesIndex,e.get("silent")||(u.on("mousedown",uw),u.on("mousemove",uw)),n&&n.push(u)}var uw=Og((function(e){e=function(e,t,n){for(var r=e.baseDimIdx,i=1-r,o=e.shape.points,a=e.largeDataIndices,s=[],u=[],l=e.barWidth,c=0,d=o.length/3;c<d;c++){var p=3*c;if(u[r]=l,u[i]=o[2+p],s[r]=o[p+r],s[i]=o[p+i],u[i]<0&&(s[i]+=u[i],u[i]=-u[i]),s[0]<=t&&t<=s[0]+u[0]&&s[1]<=n&&n<=s[1]+u[1])return a[c]}return-1}(this,e.offsetX,e.offsetY),Cs(this).dataIndex=0<=e?e:null}),30,!1);function lw(e,t,n){var r,i;return Rx(n,"cartesian2d")?(r=t,i=n.getArea(),{x:(e?r:i).x,y:(e?i:r).y,width:(e?r:i).width,height:(e?i:r).height}):{cx:(i=n.getArea()).cx,cy:i.cy,r0:(e?i:t).r0,r:(e?i:t).r,startAngle:e?t.startAngle:0,endAngle:e?t.endAngle:2*Math.PI}}ob((function(e){e.registerChartView(Gx),e.registerSeriesModel(Mx),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,$(A_,"bar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,{seriesType:"bar",plan:mg(),reset:function(e){var t,n,r,i,o,a,s,u,l,c,d,p,f,h,g,y;if(C_(e))return t=e.getData(),s=(n=e.coordinateSystem).getBaseAxis(),r=n.getOtherAxis(s),i=t.getDimensionIndex(t.mapDimension(r.dim)),o=t.getDimensionIndex(t.mapDimension(s.dim)),a=e.get("showBackground",!0),s=t.mapDimension(r.dim),u=t.getCalculationInfo("stackResultDimension"),l=Qv(t,s)&&!!t.getCalculationInfo("stackedOnSeries"),c=r.isHorizontal(),d=r.toGlobalCoord(r.dataToCoord("log"===r.type?1:0)),p=k_(e),f=e.get("barMinHeight")||0,h=u&&t.getDimensionIndex(u),g=t.getLayout("size"),y=t.getLayout("offset"),{progress:function(e,t){for(var r,s=e.count,u=p&&__(3*s),m=p&&a&&__(3*s),v=p&&__(s),_=n.master.getRect(),b=c?_.width:_.height,x=t.getStore(),w=0;null!=(r=e.next());){var S,A=x.get(l?h:i,r),C=x.get(o,r),k=d,T=void 0,I=void(l&&(T=+A-x.get(i,r))),M=void 0,O=void 0,P=void 0;c?(S=n.dataToPoint([A,C]),I=k=l?n.dataToPoint([T,C])[0]:k,M=S[1]+y,O=S[0]-k,P=g,Math.abs(O)<f&&(O=(O<0?-1:1)*f)):(S=n.dataToPoint([C,A]),l&&(k=n.dataToPoint([C,T])[1]),I=S[0]+y,M=k,O=g,P=S[1]-k,Math.abs(P)<f&&(P=(P<=0?-1:1)*f)),p?(u[w]=I,u[w+1]=M,u[w+2]=c?O:P,m&&(m[w]=c?_.x:I,m[w+1]=c?M:_.y,m[w+2]=b),v[r]=r):t.setItemLayout(r,{x:I,y:M,width:O,height:P}),w+=3}p&&t.setLayout({largePoints:u,largeDataIndices:v,largeBackgroundPoints:m,valueAxisHorizontal:c})}}}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,Cx("bar")),e.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},(function(e,t){var n=e.componentType||"series";t.eachComponent({mainType:n,query:e},(function(t){e.sortInfo&&t.axis.setCategorySortInfo(e.sortInfo)}))}))})),n(pw,cw=ag),pw.prototype.getInitialData=function(e){return Xv(null,this,{useEncodeDefaulter:!0})},pw.prototype.getLegendIcon=function(e){var t=new bi,n=Ay("line",0,e.itemHeight/2,e.itemWidth,0,e.lineStyle.stroke,!1),r=(n=(t.add(n),n.setStyle(e.lineStyle),this.getData().getVisual("symbol")),this.getData().getVisual("symbolRotate")),i=(n="none"===n?"circle":n,.8*e.itemHeight);i=Ay(n,(e.itemWidth-i)/2,(e.itemHeight-i)/2,i,i,e.itemStyle.fill),t.add(i),i.setStyle(e.itemStyle),r="inherit"===e.iconRotate?r:e.iconRotate||0;return i.rotation=r*Math.PI/180,i.setOrigin([e.itemWidth/2,e.itemHeight/2]),-1<n.indexOf("empty")&&(i.style.stroke=i.style.fill,i.style.fill="#fff",i.style.lineWidth=2),t},pw.type="series.line",pw.dependencies=["grid","polar"],pw.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};var cw,dw=pw;function pw(){var e=null!==cw&&cw.apply(this,arguments)||this;return e.type=pw.type,e.hasSymbolVisual=!0,e}n(gw,fw=bi),gw.prototype._createSymbol=function(e,t,n,r,i){this.removeAll(),i=Ay(e,-1,-1,2,2,null,i),i.attr({z2:100,culling:!0,scaleX:r[0]/2,scaleY:r[1]/2}),i.drift=yw,this._symbolType=e,this.add(i)},gw.prototype.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(null,e)},gw.prototype.getSymbolType=function(){return this._symbolType},gw.prototype.getSymbolPath=function(){return this.childAt(0)},gw.prototype.highlight=function(){Js(this.childAt(0))},gw.prototype.downplay=function(){Zs(this.childAt(0))},gw.prototype.setZ=function(e,t){var n=this.childAt(0);n.zlevel=e,n.z=t},gw.prototype.setDraggable=function(e,t){var n=this.childAt(0);n.draggable=e,n.cursor=!t&&e?"move":n.cursor},gw.prototype.updateData=function(e,t,n,r){this.silent=!1;var i,o,a,s=e.getItemVisual(t,"symbol")||"circle",u=e.hostModel,l=gw.getSymbolSize(e,t),c=s!==this._symbolType,d=r&&r.disableAnimation;c?(i=e.getItemVisual(t,"symbolKeepAspect"),this._createSymbol(s,e,t,l,i)):((o=this.childAt(0)).silent=!1,a={scaleX:l[0]/2,scaleY:l[1]/2},d?o.attr(a):rc(o,a,u,t),lc(o)),this._updateCommon(e,t,l,n,r),c&&(o=this.childAt(0),d||(a={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:o.style.opacity}},o.scaleX=o.scaleY=0,o.style.opacity=0,ic(o,a,u,t))),d&&this.childAt(0).stopAnimation("leave")},gw.prototype._updateCommon=function(e,t,n,r,i){var o,a,s,u,l,c,d,p,f=this.childAt(0),h=e.hostModel,g=(r&&(o=r.emphasisItemStyle,s=r.blurItemStyle,a=r.selectItemStyle,u=r.focus,l=r.blurScope,d=r.labelStatesModels,p=r.hoverScale,y=r.cursorStyle,c=r.emphasisDisabled),r&&!e.hasItemOption||(o=(g=(r=r&&r.itemModel?r.itemModel:e.getItemModel(t)).getModel("emphasis")).getModel("itemStyle").getItemStyle(),a=r.getModel(["select","itemStyle"]).getItemStyle(),s=r.getModel(["blur","itemStyle"]).getItemStyle(),u=g.get("focus"),l=g.get("blurScope"),c=g.get("disabled"),d=Uc(r),p=g.getShallow("scale"),y=r.getShallow("cursor")),e.getItemVisual(t,"symbolRotate")),y=(r=(f.attr("rotation",(g||0)*Math.PI/180||0),ky(e.getItemVisual(t,"symbolOffset"),n)),g=(r&&(f.x=r[0],f.y=r[1]),y&&f.attr("cursor",y),e.getItemVisual(t,"style")),r=g.fill,f instanceof Za?(y=f.style,f.useStyle(I({image:y.image,x:y.x,y:y.y,width:y.width,height:y.height},g))):(f.__isEmptyBrush?f.useStyle(I({},g)):f.useStyle(g),f.style.decal=null,f.setColor(r,i&&i.symbolInnerColor),f.style.strokeNoScale=!0),e.getItemVisual(t,"liftZ")),m=this._z2,v=(null!=y?null==m&&(this._z2=f.z2,f.z2+=y):null!=m&&(f.z2=m,this._z2=null),i&&i.useNameLabel);$c(f,d,{labelFetcher:h,labelDataIndex:t,defaultText:function(t){return v?e.getName(t):jx(e,t)},inheritColor:r,defaultOpacity:g.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2,y=f.ensureState("emphasis"),y.style=o,f.ensureState("select").style=a,f.ensureState("blur").style=s,m=null==p||!0===p?Math.max(1.1,3/this._sizeY):isFinite(p)&&0<p?+p:1,y.scaleX=this._sizeX*m,y.scaleY=this._sizeY*m,this.setSymbolScale(1),du(this,u,l,c)},gw.prototype.setSymbolScale=function(e){this.scaleX=this.scaleY=e},gw.prototype.fadeOut=function(e,t,n){var r=this.childAt(0),i=Cs(this).dataIndex,o=n&&n.animation;this.silent=r.silent=!0,n&&n.fadeLabel?(n=r.getTextContent())&&ac(n,{style:{opacity:0}},t,{dataIndex:i,removeOpt:o,cb:function(){r.removeTextContent()}}):r.removeTextContent(),ac(r,{style:{opacity:0},scaleX:0,scaleY:0},t,{dataIndex:i,cb:e,removeOpt:o})},gw.getSymbolSize=function(e,t){return Cy(e.getItemVisual(t,"symbolSize"))};var fw,hw=gw;function gw(e,t,n,r){var i=fw.call(this)||this;return i.updateData(e,t,n,r),i}function yw(e,t){this.parent.drift(e,t)}function mw(e,t,n,r){return t&&!isNaN(t[0])&&!isNaN(t[1])&&(!r.isIgnore||!r.isIgnore(n))&&(!r.clipShape||r.clipShape.contain(t[0],t[1]))&&"none"!==e.getItemVisual(n,"symbol")}function vw(e){return(e=null==e||q(e)?e:{isIgnore:e})||{}}function _w(e){e=e.hostModel;var t=e.getModel("emphasis");return{emphasisItemStyle:t.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:t.get("focus"),blurScope:t.get("blurScope"),emphasisDisabled:t.get("disabled"),hoverScale:t.get("scale"),labelStatesModels:Uc(e),cursorStyle:e.get("cursor")}}xw.prototype.updateData=function(e,t){this._progressiveEls=null,t=vw(t);var n=this.group,r=e.hostModel,i=this._data,o=this._SymbolCtor,a=t.disableAnimation,s=_w(e),u={disableAnimation:a},l=t.getSymbolPoint||function(t){return e.getItemLayout(t)};i||n.removeAll(),e.diff(i).add((function(r){var i,a=l(r);mw(e,a,r,t)&&((i=new o(e,r,s,u)).setPosition(a),e.setItemGraphicEl(r,i),n.add(i))})).update((function(c,d){d=i.getItemGraphicEl(d);var p,f,h=l(c);mw(e,h,c,t)?(p=e.getItemVisual(c,"symbol")||"circle",f=d&&d.getSymbolType&&d.getSymbolType(),!d||f&&f!==p?(n.remove(d),(d=new o(e,c,s,u)).setPosition(h)):(d.updateData(e,c,s,u),f={x:h[0],y:h[1]},a?d.attr(f):rc(d,f,r)),n.add(d),e.setItemGraphicEl(c,d)):n.remove(d)})).remove((function(e){var t=i.getItemGraphicEl(e);t&&t.fadeOut((function(){n.remove(t)}),r)})).execute(),this._getSymbolPoint=l,this._data=e},xw.prototype.updateLayout=function(){var e=this,t=this._data;t&&t.eachItemGraphicEl((function(t,n){n=e._getSymbolPoint(n),t.setPosition(n),t.markRedraw()}))},xw.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=_w(e),this._data=null,this.group.removeAll()},xw.prototype.incrementalUpdate=function(e,t,n){function r(e){e.isGroup||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=vw(n);for(var i=e.start;i<e.end;i++){var o,a=t.getItemLayout(i);mw(t,a,i,n)&&((o=new this._SymbolCtor(t,i,this._seriesScope)).traverse(r),o.setPosition(a),this.group.add(o),t.setItemGraphicEl(i,o),this._progressiveEls.push(o))}},xw.prototype.eachRendered=function(e){Nc(this._progressiveEls||this.group,e)},xw.prototype.remove=function(e){var t=this.group,n=this._data;n&&e?n.eachItemGraphicEl((function(e){e.fadeOut((function(){t.remove(e)}),n.hostModel)})):t.removeAll()};var bw=xw;function xw(e){this.group=new bi,this._SymbolCtor=e||hw}function ww(e,t,n){var r=e.getBaseAxis(),i=e.getOtherAxis(r),o=(n=function(e,t){var n=0;e=e.scale.getExtent();return"start"===t?n=e[0]:"end"===t?n=e[1]:W(t)&&!isNaN(t)?n=t:0<e[0]?n=e[0]:e[1]<0&&(n=e[1]),n}(i,n),r=r.dim,i=i.dim,t.mapDimension(i)),a=t.mapDimension(r),s="x"===i||"radius"===i?1:0,u=(e=N(e.dimensions,(function(e){return t.mapDimension(e)})),!1),l=t.getCalculationInfo("stackResultDimension");return Qv(t,e[0])&&(u=!0,e[0]=l),Qv(t,e[1])&&(u=!0,e[1]=l),{dataDimsForPoint:e,valueStart:n,valueAxisDim:i,baseAxisDim:r,stacked:!!u,valueDim:o,baseDim:a,baseDataOffset:s,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function Sw(e,t,n,r){var i=NaN,o=(e.stacked&&(i=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(i)&&(i=e.valueStart),e.baseDataOffset),a=[];return a[o]=n.get(e.baseDim,r),a[1-o]=i,t.dataToPoint(a)}var Aw=Math.min,Cw=Math.max;function kw(e,t){return isNaN(e)||isNaN(t)}function Tw(e,t,n,r,i,o,a,s,u){for(var l,c,d,p,f=n,h=0;h<r;h++){var g=t[2*f],y=t[2*f+1];if(i<=f||f<0)break;if(kw(g,y)){if(u){f+=o;continue}break}if(f===n)e[0<o?"moveTo":"lineTo"](g,y),d=g,p=y;else{var m=g-l,v=y-c;if(m*m+v*v<.5){f+=o;continue}if(0<a){for(var _=f+o,b=t[2*_],x=t[2*_+1];b===g&&x===y&&h<r;)h++,f+=o,b=t[2*(_+=o)],x=t[2*_+1],g=t[2*f],y=t[2*f+1];var w=h+1;if(u)for(;kw(b,x)&&w<r;)w++,b=t[2*(_+=o)],x=t[2*_+1];m=0,v=0;var S,A,C,k,T,I,M,O,P,D=void 0,E=void 0;r<=w||kw(b,x)?(M=g,O=y):(m=b-l,v=x-c,S=g-l,A=b-g,C=y-c,k=x-y,I=T=void 0,E="x"===s?(M=g-(P=0<m?1:-1)*(T=Math.abs(S))*a,O=y,D=g+P*(I=Math.abs(A))*a,y):"y"===s?(O=y-(P=0<v?1:-1)*(T=Math.abs(C))*a,D=M=g,y+P*(I=Math.abs(k))*a):(T=Math.sqrt(S*S+C*C),M=g-m*a*(1-(S=(I=Math.sqrt(A*A+k*k))/(I+T))),O=y-v*a*(1-S),E=y+v*a*S,D=Aw(D=g+m*a*S,Cw(b,g)),E=Aw(E,Cw(x,y)),D=Cw(D,Aw(b,g)),O=y-(v=(E=Cw(E,Aw(x,y)))-y)*T/I,M=Aw(M=g-(m=D-g)*T/I,Cw(l,g)),O=Aw(O,Cw(c,y)),D=g+(m=g-(M=Cw(M,Aw(l,g))))*I/T,y+(v=y-(O=Cw(O,Aw(c,y))))*I/T)),e.bezierCurveTo(d,p,M,O,g,y),d=D,p=E}else e.lineTo(g,y)}l=g,c=y,f+=o}return h}var Iw,Mw=function(){this.smooth=0,this.smoothConstraint=!0},Ow=(n(Pw,Iw=Va),Pw.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},Pw.prototype.getDefaultShape=function(){return new Mw},Pw.prototype.buildPath=function(e,t){var n=t.points,r=0,i=n.length/2;if(t.connectNulls){for(;0<i&&kw(n[2*i-2],n[2*i-1]);i--);for(;r<i&&kw(n[2*r],n[2*r+1]);r++);}for(;r<i;)r+=Tw(e,n,r,i,i,1,t.smooth,t.smoothMonotone,t.connectNulls)+1},Pw.prototype.getPointOn=function(e,t){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n,r,i=this.path.data,o=ka.CMD,a="x"===t,s=[],u=0;u<i.length;){var l=void 0,c=void 0;switch(i[u++]){case o.M:n=i[u++],r=i[u++];break;case o.L:var d;l=i[u++],c=i[u++];if((d=a?(e-n)/(l-n):(e-r)/(c-r))<=1&&0<=d)return v=a?(c-r)*d+r:(l-n)*d+n,a?[e,v]:[v,e];n=l,r=c;break;case o.C:l=i[u++],c=i[u++];var p=i[u++],f=i[u++],h=i[u++],g=i[u++],y=a?yn(n,l,p,h,e,s):yn(r,c,f,g,e,s);if(0<y)for(var m=0;m<y;m++){var v,_=s[m];if(_<=1&&0<=_)return v=a?hn(r,c,f,g,_):hn(n,l,p,h,_),a?[e,v]:[v,e]}n=h,r=g}}},Pw);function Pw(e){return e=Iw.call(this,e)||this,e.type="ec-polyline",e}n(Bw,Dw=Mw);var Dw,Ew=Bw;function Bw(){return null!==Dw&&Dw.apply(this,arguments)||this}n(Rw,Lw=Va),Rw.prototype.getDefaultShape=function(){return new Ew},Rw.prototype.buildPath=function(e,t){var n=t.points,r=t.stackedOnPoints,i=0,o=n.length/2,a=t.smoothMonotone;if(t.connectNulls){for(;0<o&&kw(n[2*o-2],n[2*o-1]);o--);for(;i<o&&kw(n[2*i],n[2*i+1]);i++);}for(;i<o;){var s=Tw(e,n,i,o,o,1,t.smooth,a,t.connectNulls);Tw(e,r,i+s-1,s,o,-1,t.stackedOnSmooth,a,t.connectNulls),i+=s+1,e.closePath()}};var Lw,Nw=Rw;function Rw(e){return e=Lw.call(this,e)||this,e.type="ec-polygon",e}function jw(e,t){if(e.length===t.length){for(var n=0;n<e.length;n++)if(e[n]!==t[n])return;return 1}}function Fw(e){for(var t=1/0,n=1/0,r=-1/0,i=-1/0,o=0;o<e.length;){var a=e[o++],s=e[o++];isNaN(a)||(t=Math.min(a,t),r=Math.max(a,r)),isNaN(s)||(n=Math.min(s,n),i=Math.max(s,i))}return[[t,n],[r,i]]}function zw(e,t){e=Fw(e);var n=e[0],r=(e=e[1],t=Fw(t),t[0]);t=t[1];return Math.max(Math.abs(n[0]-r[0]),Math.abs(n[1]-r[1]),Math.abs(e[0]-t[0]),Math.abs(e[1]-t[1]))}function $w(e){return W(e)?e:e?.5:0}function Uw(e,t,n,r){t=t.getBaseAxis();var i="x"===t.dim||"radius"===t.dim?0:1,o=[],a=0,s=[],u=[],l=[],c=[];if(r){for(a=0;a<e.length;a+=2)isNaN(e[a])||isNaN(e[a+1])||c.push(e[a],e[a+1]);e=c}for(a=0;a<e.length-2;a+=2)switch(l[0]=e[a+2],l[1]=e[a+3],u[0]=e[a],u[1]=e[a+1],o.push(u[0],u[1]),n){case"end":s[i]=l[i],s[1-i]=u[1-i],o.push(s[0],s[1]);break;case"middle":var d=[];s[i]=d[i]=(u[i]+l[i])/2,s[1-i]=u[1-i],d[1-i]=l[1-i],o.push(s[0],s[1]),o.push(d[0],d[1]);break;default:s[i]=u[i],s[1-i]=l[1-i],o.push(s[0],s[1])}return o.push(e[a++],e[a++]),o}function Hw(e,t){return[e[2*t],e[2*t+1]]}function Vw(e){if(e.get(["endLabel","show"]))return 1;for(var t=0;t<Os.length;t++)if(e.get([Os[t],"endLabel","show"]))return 1}function Gw(e,t,n,r){var i,o,a,s,u,l,c,d,p;return Rx(t,"cartesian2d")?(i=r.getModel("endLabel"),o=i.get("valueAnimation"),a=r.getData(),s={lastFrameIndex:0},u=Vw(r)?function(n,r){e._endLabelOnDuring(n,r,a,s,o,i,t)}:null,l=t.getBaseAxis().isHorizontal(),c=Px(t,n,r,(function(){var t=e._endLabel;t&&n&&null!=s.originalX&&t.attr({x:s.originalX,y:s.originalY})}),u),r.get("clip",!0)||(d=c.shape,p=Math.max(d.width,d.height),l?(d.y-=p,d.height+=2*p):(d.x-=p,d.width+=2*p)),u&&u(1,c),c):Dx(t,n,r)}n(Qw,Ww=bg),Qw.prototype.init=function(){var e=new bi,t=new bw;this.group.add(t.group),this._symbolDraw=t,this._lineGroup=e},Qw.prototype.render=function(e,t,n){function r(e){o._changePolyState(e)}var i,o=this,a=e.coordinateSystem,s=this.group,u=e.getData(),l=e.getModel("lineStyle"),c=e.getModel("areaStyle"),d=u.getLayout("points")||[],p="polar"===a.type,f=this._coordSys,h=this._symbolDraw,g=this._polyline,y=this._polygon,m=this._lineGroup,v=(t=!t.ssr&&e.get("animation"),!c.isEmpty()),_=c.get("origin"),b=ww(a,u,_),x=(b=v&&function(e,t,n){if(!n.valueDim)return[];for(var r=t.count(),i=__(2*r),o=0;o<r;o++){var a=Sw(n,e,t,o);i[2*o]=a[0],i[2*o+1]=a[1]}return i}(a,u,b),e.get("showSymbol")),w=e.get("connectNulls"),S=x&&!p&&function(e,t,n){e=e.get("showAllSymbol");var r="auto"===e;if(!e||r){var i,o,a=n.getAxesByScale("ordinal")[0];if(a&&(!r||!function(e,t){for(var n=e.getExtent(),r=Math.abs(n[1]-n[0])/e.scale.count(),i=(isNaN(r)&&(r=0),t.count()),o=Math.max(1,Math.round(i/5)),a=0;a<i;a+=o)if(1.5*hw.getSymbolSize(t,a)[e.isHorizontal()?1:0]>r)return;return 1}(a,t)))return i=t.mapDimension(a.dim),o={},L(a.getViewLabels(),(function(e){e=a.scale.getRawOrdinalNumber(e.tickValue),o[e]=1})),function(e){return!o.hasOwnProperty(t.get(i,e))}}}(e,u,a),A=this._data,C=(A&&A.eachItemGraphicEl((function(e,t){e.__temp&&(s.remove(e),A.setItemGraphicEl(t,null))})),x||h.remove(),s.add(m),!p&&e.get("step")),k=(a&&a.getArea&&e.get("clip",!0)&&(null!=(i=a.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,function(e,t,n){var r=e.getVisual("visualMeta");if(r&&r.length&&e.count()&&"cartesian2d"===t.type){for(var i,o=r.length-1;0<=o;o--){var a,s=e.getDimensionInfo(r[o].dimension);if("x"===(a=s&&s.coordDim)||"y"===a){i=r[o];break}}if(i){var u=t.getAxis(a),l=(t=N(i.stops,(function(e){return{coord:u.toGlobalCoord(u.dataToCoord(e.value)),color:e.color}})),t.length),c=i.outerColors.slice(),d=(n=(l&&t[0].coord>t[l-1].coord&&(t.reverse(),c.reverse()),function(e,t){var n,r,i=[],o=e.length;function a(e,t,n){var r=e.coord;return{coord:n,color:Kn((n-r)/(t.coord-r),[e.color,t.color])}}for(var s=0;s<o;s++){var u=e[s],l=u.coord;if(l<0)n=u;else{if(t<l){r?i.push(a(r,u,t)):n&&i.push(a(n,u,0),a(n,u,t));break}n&&(i.push(a(n,u,0)),n=null),i.push(u),r=u}}return i}(t,"x"===a?n.getWidth():n.getHeight())),n.length);if(!d&&l)return t[0].coord<0?c[1]||t[l-1].color:c[0]||t[0].color;var p=n[0].coord-10,f=(l=n[d-1].coord+10,l-p);return f<.001?"transparent":(L(n,(function(e){e.offset=(e.coord-p)/f})),n.push({offset:d?n[d-1].offset:.5,color:c[1]||"transparent"}),n.unshift({offset:d?n[0].offset:.5,color:c[0]||"transparent"}),t=new Ul(0,0,0,0,n,!0),t[a]=p,t[a+"2"]=l,t)}}}(u,a,n)||u.getVisual("style")[u.getVisual("drawType")]);g&&f.type===a.type&&C===this._step?(v&&!y?y=this._newPolygon(d,b):y&&!v&&(m.remove(y),y=this._polygon=null),p||this._initOrUpdateEndLabel(e,a,Jd(k)),(f=m.getClipPath())?ic(f,{shape:Gw(this,a,!1,e).shape},e):m.setClipPath(Gw(this,a,!0,e)),x&&h.updateData(u,{isIgnore:S,clipShape:i,disableAnimation:!0,getSymbolPoint:function(e){return[d[2*e],d[2*e+1]]}}),jw(this._stackedOnPoints,b)&&jw(this._points,d)||(t?this._doUpdateAnimation(u,b,a,n,C,_,w):(C&&(d=Uw(d,a,C,w),b=b&&Uw(b,a,C,w)),g.setShape({points:d}),y&&y.setShape({points:d,stackedOnPoints:b})))):(x&&h.updateData(u,{isIgnore:S,clipShape:i,disableAnimation:!0,getSymbolPoint:function(e){return[d[2*e],d[2*e+1]]}}),t&&this._initSymbolLabelAnimation(u,a,i),C&&(d=Uw(d,a,C,w),b=b&&Uw(b,a,C,w)),g=this._newPolyline(d),v?y=this._newPolygon(d,b):y&&(m.remove(y),y=this._polygon=null),p||this._initOrUpdateEndLabel(e,a,Jd(k)),m.setClipPath(Gw(this,a,!0,e))),f=e.getModel("emphasis"),n=f.get("focus"),x=f.get("blurScope"),h=f.get("disabled"),g.useStyle(M(l.getLineStyle(),{fill:"none",stroke:k,lineJoin:"bevel"})),hu(g,e,"lineStyle"),0<g.style.lineWidth&&"bolder"===e.get(["emphasis","lineStyle","width"])&&(g.getState("emphasis").style.lineWidth=+g.style.lineWidth+1),Cs(g).seriesIndex=e.seriesIndex,du(g,n,x,h),S=$w(e.get("smooth")),t=e.get("smoothMonotone");g.setShape({smooth:S,smoothMonotone:t,connectNulls:w}),y&&(i=u.getCalculationInfo("stackedOnSeries"),v=0,y.useStyle(M(c.getAreaStyle(),{fill:k,opacity:.7,lineJoin:"bevel",decal:u.getVisual("style").decal})),i&&(v=$w(i.get("smooth"))),y.setShape({smooth:S,stackedOnSmooth:v,smoothMonotone:t,connectNulls:w}),hu(y,e,"areaStyle"),Cs(y).seriesIndex=e.seriesIndex,du(y,n,x,h)),u.eachItemGraphicEl((function(e){e&&(e.onHoverStateChange=r)})),this._polyline.onHoverStateChange=r,this._data=u,this._coordSys=a,this._stackedOnPoints=b,this._points=d,this._step=C,this._valueOrigin=_,e.get("triggerLineEvent")&&(this.packEventData(e,g),y)&&this.packEventData(e,y)},Qw.prototype.packEventData=function(e,t){Cs(t).eventData={componentType:"series",componentSubType:"line",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"line"}},Qw.prototype.highlight=function(e,t,n,r){var i=e.getData(),o=ao(i,r);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&0<=o){var a=i.getLayout("points");if(!(u=i.getItemGraphicEl(o))){var s=a[2*o];a=a[2*o+1];if(isNaN(s)||isNaN(a))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(s,a))return;var u,l=e.get("zlevel")||0,c=e.get("z")||0;s=((u=new hw(i,o)).x=s,u.y=a,u.setZ(l,c),u.getSymbolPath().getTextContent());s&&(s.zlevel=l,s.z=c,s.z2=this._polyline.z2+1),u.__temp=!0,i.setItemGraphicEl(o,u),u.stopSymbolAnimation(!0),this.group.add(u)}u.highlight()}else bg.prototype.highlight.call(this,e,t,n,r)},Qw.prototype.downplay=function(e,t,n,r){var i,o=e.getData(),a=ao(o,r);this._changePolyState("normal"),null!=a&&0<=a?(i=o.getItemGraphicEl(a))&&(i.__temp?(o.setItemGraphicEl(a,null),this.group.remove(i)):i.downplay()):bg.prototype.downplay.call(this,e,t,n,r)},Qw.prototype._changePolyState=function(e){var t=this._polygon;qs(this._polyline,e),t&&qs(t,e)},Qw.prototype._newPolyline=function(e){var t=this._polyline;return t&&this._lineGroup.remove(t),t=new Ow({shape:{points:e},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(t),this._polyline=t},Qw.prototype._newPolygon=function(e,t){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new Nw({shape:{points:e,stackedOnPoints:t},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n},Qw.prototype._initSymbolLabelAnimation=function(e,t,n){var r,i,o=t.getBaseAxis(),a=o.inverse,s=(o=("cartesian2d"===t.type?(r=o.isHorizontal(),i=!1):"polar"===t.type&&(r="angle"===o.dim,i=!0),e.hostModel),o.get("animationDuration")),u=(H(s)&&(s=s(null)),o.get("animationDelay")||0),l=H(u)?u(null):u;e.eachItemGraphicEl((function(e,o){var c,d,p,f,h,g=e;g&&(f=[e.x,e.y],h=d=c=void 0,n&&(h=i?(p=n,f=t.pointToCoord(f),r?(c=p.startAngle,d=p.endAngle,-f[1]/180*Math.PI):(c=p.r0,d=p.r,f[0])):r?(c=n.x,d=n.x+n.width,e.x):(c=n.y+n.height,d=n.y,e.y)),p=d===c?0:(h-c)/(d-c),a&&(p=1-p),f=H(u)?u(o):s*p+l,h=(e=g.getSymbolPath()).getTextContent(),g.attr({scaleX:0,scaleY:0}),g.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:f}),h&&h.animateFrom({style:{opacity:0}},{duration:300,delay:f}),e.disableLabelAnimation=!0)}))},Qw.prototype._initOrUpdateEndLabel=function(e,t,n){var r,i,o,a=e.getModel("endLabel");Vw(e)?(r=e.getData(),i=this._polyline,(o=r.getLayout("points"))?(this._endLabel||((this._endLabel=new fs({z2:200})).ignoreClip=!0,i.setTextContent(this._endLabel),i.disableLabelAnimation=!0),0<=(o=function(e){for(var t,n,r=e.length/2;0<r&&(t=e[2*r-2],n=e[2*r-1],isNaN(t)||isNaN(n));r--);return r-1}(o))&&($c(i,Uc(e,"endLabel"),{inheritColor:n,labelFetcher:e,labelDataIndex:o,defaultText:function(e,t,n){return null!=n?Fx(r,n):jx(r,e)},enableTextSetter:!0},(n=a,o=(e=(e=t).getBaseAxis()).isHorizontal(),e=e.inverse,a=o?e?"right":"left":"center",o=o?"middle":e?"top":"bottom",{normal:{align:n.get("align")||a,verticalAlign:n.get("verticalAlign")||o}})),i.textConfig.position=null)):(i.removeTextContent(),this._endLabel=null)):this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},Qw.prototype._endLabelOnDuring=function(e,t,n,r,i,o,a){var s,u,l,c,d,p,f,h,g,y,m=this._endLabel,v=this._polyline;m&&(e<1&&null==r.originalX&&(r.originalX=m.x,r.originalY=m.y),s=n.getLayout("points"),g=(u=n.hostModel).get("connectNulls"),l=o.get("precision"),o=o.get("distance")||0,d=(a=a.getBaseAxis()).isHorizontal(),a=a.inverse,t=t.shape,c=(d?o:0)*(a?-1:1),o=(d?0:-o)*(a?-1:1),f=void 0,1<=(h=(p=(d=function(e,t,n){for(var r,i,o=e.length/2,a="x"===n?0:1,s=0,u=-1,l=0;l<o;l++)if(i=e[2*l+a],!isNaN(i)&&!isNaN(e[2*l+1-a])){if(0!==l){if(r<=t&&t<=i||t<=r&&i<=t){u=l;break}s=l}r=i}return{range:[s,u],t:(t-r)/(i-r)}}(s,a=a?d?t.x:t.y+t.height:d?t.x+t.width:t.y,t=d?"x":"y")).range)[1]-p[0])?(1<h&&!g?(y=Hw(s,p[0]),m.attr({x:y[0]+c,y:y[1]+o}),i&&(f=u.getRawValue(p[0]))):((y=v.getPointOn(a,t))&&m.attr({x:y[0]+c,y:y[1]+o}),h=u.getRawValue(p[0]),g=u.getRawValue(p[1]),i&&(f=go(n,l,h,g,d.t))),r.lastFrameIndex=p[0]):(y=Hw(s,v=1===e||0<r.lastFrameIndex?p[0]:0),i&&(f=u.getRawValue(v)),m.attr({x:y[0]+c,y:y[1]+o})),i)&&"function"==typeof(a=Yc(m)).setLabelText&&a.setLabelText(f)},Qw.prototype._doUpdateAnimation=function(e,t,n,r,i,o,a){var s=this._polyline,u=this._polygon,l=e.hostModel,c=(t=function(e,t,n,r,i,o){a=[],t.diff(e).add((function(e){a.push({cmd:"+",idx:e})})).update((function(e,t){a.push({cmd:"=",idx:t,idx1:e})})).remove((function(e){a.push({cmd:"-",idx:e})})).execute();for(var a,s=a,u=[],l=[],c=[],d=[],p=[],f=[],h=[],g=ww(i,t,o),y=e.getLayout("points")||[],m=t.getLayout("points")||[],v=0;v<s.length;v++){var _=s[v],b=!0,x=void 0;switch(_.cmd){case"=":var w=2*_.idx,S=(x=2*_.idx1,y[w]),A=y[1+w],C=m[x],k=m[x+1];(isNaN(S)||isNaN(A))&&(S=C,A=k),u.push(S,A),l.push(C,k),c.push(n[w],n[1+w]),d.push(r[x],r[x+1]),h.push(t.getRawIndex(_.idx1));break;case"+":S=_.idx,A=g.dataDimsForPoint,C=i.dataToPoint([t.get(A[0],S),t.get(A[1],S)]),x=2*S,u.push(C[0],C[1]),l.push(m[x],m[x+1]),k=Sw(g,i,t,S),c.push(k[0],k[1]),d.push(r[x],r[x+1]),h.push(t.getRawIndex(S));break;case"-":b=!1}b&&(p.push(_),f.push(f.length))}f.sort((function(e,t){return h[e]-h[t]}));var T=__(o=u.length),I=__(o),M=__(o),O=__(o),P=[];for(v=0;v<f.length;v++){var D=f[v],E=2*v,B=2*D;T[E]=u[B],T[1+E]=u[1+B],I[E]=l[B],I[1+E]=l[1+B],M[E]=c[B],M[1+E]=c[1+B],O[E]=d[B],O[1+E]=d[1+B],P[v]=p[D]}return{current:T,next:I,stackedOnCurrent:M,stackedOnNext:O,status:P}}(this._data,e,this._stackedOnPoints,t,this._coordSys,this._valueOrigin),t.current),d=t.stackedOnCurrent,p=t.next,f=t.stackedOnNext;if(i&&(c=Uw(t.current,n,i,a),d=Uw(t.stackedOnCurrent,n,i,a),p=Uw(t.next,n,i,a),f=Uw(t.stackedOnNext,n,i,a)),3e3<zw(c,p)||u&&3e3<zw(d,f))s.stopAnimation(),s.setShape({points:p}),u&&(u.stopAnimation(),u.setShape({points:p,stackedOnPoints:f}));else{s.shape.__points=t.current,s.shape.points=c;n={shape:{points:p}};for(var h,g=(t.current!==c&&(n.shape.__points=t.next),s.stopAnimation(),rc(s,n,l),u&&(u.setShape({points:c,stackedOnPoints:d}),u.stopAnimation(),rc(u,{shape:{stackedOnPoints:f}},l),s.shape.points!==u.shape.points)&&(u.shape.points=s.shape.points),[]),y=t.status,m=0;m<y.length;m++)"="===y[m].cmd&&(h=e.getItemGraphicEl(y[m].idx1))&&g.push({el:h,ptIdx:m});s.animators&&s.animators.length&&s.animators[0].during((function(){u&&u.dirtyShape();for(var e=s.shape.__points,t=0;t<g.length;t++){var n=g[t].el,r=2*g[t].ptIdx;n.x=e[r],n.y=e[1+r],n.markRedraw()}}))}},Qw.prototype.remove=function(e){var t=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl((function(e,r){e.__temp&&(t.remove(e),n.setItemGraphicEl(r,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},Qw.type="line";var Ww,qw=Qw;function Qw(){return null!==Ww&&Ww.apply(this,arguments)||this}ob((function(e){e.registerChartView(qw),e.registerSeriesModel(dw),e.registerLayout((!0,{seriesType:"line",plan:mg(),reset:function(e){var t,n,r,i,o,a=e.getData(),s=e.coordinateSystem;e=e.pipelineContext;if(s)return e=N(s.dimensions,(function(e){return a.mapDimension(e)})).slice(0,2),t=e.length,n=a.getCalculationInfo("stackResultDimension"),Qv(a,e[0])&&(e[0]=n),Qv(a,e[1])&&(e[1]=n),r=a.getStore(),i=a.getDimensionIndex(e[0]),o=a.getDimensionIndex(e[1]),t&&{progress:function(e,n){for(var a=e.end-e.start,u=__(a*t),l=[],c=[],d=e.start,p=0;d<e.end;d++){var f,h=void 0;h=1===t?(f=r.get(i,d),s.dataToPoint(f,null,c)):(l[0]=r.get(i,d),l[1]=r.get(o,d),s.dataToPoint(l,null,c)),u[p++]=h[0],u[p++]=h[1]}n.setLayout("points",u)}}}})),e.registerVisual({seriesType:"line",reset:function(e){var t=e.getData();e=e.getModel("lineStyle").getLineStyle();e&&!e.stroke&&(e.stroke=t.getVisual("style").fill),t.setVisual("legendLineStyle",e)}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,Cx("line"))})),n(Kw,Yw=hp),Kw.type="grid",Kw.dependencies=["xAxis","yAxis"],Kw.layoutMode="box",Kw.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"};var Yw,Xw=Kw;function Kw(){return null!==Yw&&Yw.apply(this,arguments)||this}n(eS,Jw=hp),eS.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",po).models[0]},eS.type="cartesian2dAxis";var Jw,Zw=eS;function eS(){return null!==Jw&&Jw.apply(this,arguments)||this}E(Zw,tb);xo={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)"]}}},hy=T({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},xo),_y=T({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}}},xo);var tS={category:hy,value:_y,time:T({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},_y),log:M({logBase:10},_y)},nS={value:1,category:1,time:1,log:1};function rS(e,t,r,i){L(nS,(function(o,a){var s,u=T(T({},tS[a],!0),i,!0);n(l,s=r),l.prototype.mergeDefaultAndTheme=function(e,t){var n=ap(this),r=n?up(e):{};T(e,t.getTheme().get(a+"Axis")),T(e,this.getDefaultOption()),e.type=iS(e),n&&sp(e,r,n)},l.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=e_.createByAxisModel(this))},l.prototype.getCategories=function(e){var t=this.option;if("category"===t.type)return e?t.data:this.__ordinalMeta.categories},l.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},l.type=t+"Axis."+a,l.defaultOption=u,u=l;function l(){var e=null!==s&&s.apply(this,arguments)||this;return e.type=t+"Axis."+a,e}e.registerComponentModel(u)})),e.registerSubTypeDefaulter(t+"Axis",iS)}function iS(e){return e.type||(e.data?"category":"value")}function oS(e){this.type="cartesian",this._dimList=[],this._axes={},this.name=e||""}oS.prototype.getAxis=function(e){return this._axes[e]},oS.prototype.getAxes=function(){return N(this._dimList,(function(e){return this._axes[e]}),this)},oS.prototype.getAxesByScale=function(e){return e=e.toLowerCase(),j(this.getAxes(),(function(t){return t.scale.type===e}))},oS.prototype.addAxis=function(e){var t=e.dim;this._axes[t]=e,this._dimList.push(t)};var aS=["x","y"];function sS(e){return"interval"===e.type||"time"===e.type}n(cS,uS=oS),cS.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var e,t,n,r,i=this.getAxis("x").scale,o=this.getAxis("y").scale;sS(i)&&sS(o)&&(i=i.getExtent(),o=o.getExtent(),r=this.dataToPoint([i[0],o[0]]),t=this.dataToPoint([i[1],o[1]]),e=i[1]-i[0],n=o[1]-o[0],e)&&n&&(e=(t[0]-r[0])/e,t=(t[1]-r[1])/n,n=r[0]-i[0]*e,i=r[1]-o[0]*t,r=this._transform=[e,0,0,t,n,i],this._invTransform=xt([],r))},cS.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},cS.prototype.containPoint=function(e){var t=this.getAxis("x"),n=this.getAxis("y");return t.contain(t.toLocalCoord(e[0]))&&n.contain(n.toLocalCoord(e[1]))},cS.prototype.containData=function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},cS.prototype.containZone=function(e,t){e=this.dataToPoint(e),t=this.dataToPoint(t);var n=this.getArea();t=new Et(e[0],e[1],t[0]-e[0],t[1]-e[1]);return n.intersect(t)},cS.prototype.dataToPoint=function(e,t,n){n=n||[];var r,i=e[0],o=e[1];return this._transform&&null!=i&&isFinite(i)&&null!=o&&isFinite(o)?Re(n,e,this._transform):(e=this.getAxis("x"),r=this.getAxis("y"),n[0]=e.toGlobalCoord(e.dataToCoord(i,t)),n[1]=r.toGlobalCoord(r.dataToCoord(o,t)),n)},cS.prototype.clampData=function(e,t){var n=this.getAxis("x").scale,r=this.getAxis("y").scale,i=n.getExtent(),o=r.getExtent();n=n.parse(e[0]),r=r.parse(e[1]);return(t=t||[])[0]=Math.min(Math.max(Math.min(i[0],i[1]),n),Math.max(i[0],i[1])),t[1]=Math.min(Math.max(Math.min(o[0],o[1]),r),Math.max(o[0],o[1])),t},cS.prototype.pointToData=function(e,t){var n,r,i=[];return this._invTransform?Re(i,e,this._invTransform):(n=this.getAxis("x"),r=this.getAxis("y"),i[0]=n.coordToData(n.toLocalCoord(e[0]),t),i[1]=r.coordToData(r.toLocalCoord(e[1]),t),i)},cS.prototype.getOtherAxis=function(e){return this.getAxis("x"===e.dim?"y":"x")},cS.prototype.getArea=function(e){e=e||0;var t=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),r=Math.min(t[0],t[1])-e,i=Math.min(n[0],n[1])-e;t=Math.max(t[0],t[1])-r+e,n=Math.max(n[0],n[1])-i+e;return new Et(r,i,t,n)};var uS,lS=cS;function cS(){var e=null!==uS&&uS.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=aS,e}n(fS,dS=id),fS.prototype.isHorizontal=function(){var e=this.position;return"top"===e||"bottom"===e},fS.prototype.getGlobalExtent=function(e){var t=this.getExtent();return t[0]=this.toGlobalCoord(t[0]),t[1]=this.toGlobalCoord(t[1]),e&&t[0]>t[1]&&t.reverse(),t},fS.prototype.pointToData=function(e,t){return this.coordToData(this.toLocalCoord(e["x"===this.dim?0:1]),t)},fS.prototype.setCategorySortInfo=function(e){if("category"!==this.type)return!1;this.model.option.categorySortInfo=e,this.scale.setSortInfo(e)};var dS,pS=fS;function fS(e,t,n,r,i){return e=dS.call(this,e,t,n)||this,e.index=0,e.type=r||"value",e.position=i||"bottom",e}function hS(e,t,n){n=n||{};e=e.coordinateSystem;var r=t.axis,i={},o=r.getAxesOnZeroOf()[0],a=r.position,s=o?"onZero":a,u=(r=r.dim,e=e.getRect(),e=[e.x,e.x+e.width,e.y,e.y+e.height],{left:0,right:1,top:0,bottom:1,onZero:2}),l=t.get("offset")||0,c=(l="x"===r?[e[2]-l,e[3]+l]:[e[0]-l,e[1]+l],o&&(c=o.toGlobalCoord(o.dataToCoord(0)),l[u.onZero]=Math.max(Math.min(c,l[1]),l[0])),i.position=["y"===r?l[u[s]]:e[0],"x"===r?l[u[s]]:e[3]],i.rotation=Math.PI/2*("x"===r?0:1),i.labelDirection=i.tickDirection=i.nameDirection={top:-1,bottom:1,left:-1,right:1}[a],i.labelOffset=o?l[u[a]]-l[u.onZero]:0,t.get(["axisTick","inside"])&&(i.tickDirection=-i.tickDirection),te(n.labelInside,t.get(["axisLabel","inside"]))&&(i.labelDirection=-i.labelDirection),t.get(["axisLabel","rotate"]));return i.labelRotate="top"===s?-c:c,i.z2=1,i}function gS(e){return"cartesian2d"===e.get("coordinateSystem")}function yS(e){var t={xAxisModel:null,yAxisModel:null};return L(t,(function(n,r){var i=r.replace(/Model$/,"");i=e.getReferringComponents(i,po).models[0];t[r]=i})),t}var mS=Math.log;_S.prototype.getRect=function(){return this._rect},_S.prototype.update=function(e,t){var n=this._axesMap;function r(e){var t,n=F(e),r=n.length;if(r){for(var i=[],o=r-1;0<=o;o--){var a=e[+n[o]],s=a.model,u=a.scale;r_(u)&&s.get("alignTicks")&&null==s.get("interval")?i.push(a):(Y_(u,s),r_(u)&&(t=a))}i.length&&(t||Y_((t=i.pop()).scale,t.model),L(i,(function(e){var n=e.scale,r=(e=e.model,t.scale),i=g_.prototype,o=i.getTicks.call(r),a=i.getTicks.call(r,!0),s=o.length-1,u=(r=i.getInterval.call(r),(e=Q_(n,e)).extent),l=e.fixMin,c=(e=e.fixMax,"log"===n.type&&(c=mS(n.base),u=[mS(u[0])/c,mS(u[1])/c]),n.setExtent(u[0],u[1]),n.calcNiceExtent({splitNumber:s,fixMin:l,fixMax:e}),i.getExtent.call(n)),d=(l&&(u[0]=c[0]),e&&(u[1]=c[1]),i.getInterval.call(n)),p=u[0],f=u[1];if(l&&e)d=(f-p)/s;else if(l)for(f=u[0]+d*s;f<u[1]&&isFinite(f)&&isFinite(u[1]);)d=i_(d),f=u[0]+d*s;else if(e)for(p=u[1]-d*s;p>u[0]&&isFinite(p)&&isFinite(u[0]);)d=i_(d),p=u[1]-d*s;else c=(d=s<n.getTicks().length-1?i_(d):d)*s,(p=Ei((f=Math.ceil(u[1]/d)*d)-c))<0&&0<=u[0]?(p=0,f=Ei(c)):0<f&&u[1]<=0&&(f=0,p=-Ei(c));l=(o[0].value-a[0].value)/r,e=(o[s].value-a[s].value)/r,i.setExtent.call(n,p+d*l,f+d*e),i.setInterval.call(n,d),(l||e)&&i.setNiceExtent.call(n,p+d,f-d)})))}}this._updateScale(e,this.model),r(n.x),r(n.y);var i={};L(n.x,(function(e){xS(n,"y",e,i)})),L(n.y,(function(e){xS(n,"x",e,i)})),this.resize(this.model,t)},_S.prototype.resize=function(e,t,n){var r=e.getBoxLayoutParams(),i=(n=!n&&e.get("containLabel"),op(r,{width:t.getWidth(),height:t.getHeight()})),o=(this._rect=i,this._axesList);function a(){L(o,(function(e){var t,n,r=e.isHorizontal(),o=r?[0,i.width]:[0,i.height],a=e.inverse?1:0;e.setExtent(o[a],o[1-a]),o=e,t=r?i.x:i.y,a=o.getExtent(),n=a[0]+a[1],o.toGlobalCoord="x"===o.dim?function(e){return e+t}:function(e){return n-e+t},o.toLocalCoord="x"===o.dim?function(e){return e-t}:function(e){return n-e+t}}))}a(),n&&(L(o,(function(e){var t,n,r;e.model.get(["axisLabel","inside"])||(t=function(e){var t=e.model,n=e.scale;if(t.get(["axisLabel","show"])&&!n.isBlank()){var r,i,o=n.getExtent(),a=n instanceof d_?n.count():(r=n.getTicks()).length,s=e.getLabelModel(),u=K_(e),l=1;40<a&&(l=Math.ceil(a/40));for(var c,d,p,f=0;f<a;f+=l){var h=u(r?r[f]:{value:o[0]+f},f),g=(h=s.getTextRect(h),h=h,c=s.get("rotate")||0,d=g=d=void 0,c=c*Math.PI/180,d=h.width,g=h.height,p=d*Math.abs(Math.cos(c))+Math.abs(g*Math.sin(c)),d=d*Math.abs(Math.sin(c))+Math.abs(g*Math.cos(c)),new Et(h.x,h.y,p,d));i?i.union(g):i=g}return i}}(e))&&(n=e.isHorizontal()?"height":"width",r=e.model.get(["axisLabel","margin"]),i[n]-=t[n]+r,"top"===e.position?i.y+=t.height+r:"left"===e.position&&(i.x+=t.width+r))})),a()),L(this._coordsList,(function(e){e.calcAffineTransform()}))},_S.prototype.getAxis=function(e,t){if(e=this._axesMap[e],null!=e)return e[t||0]},_S.prototype.getAxes=function(){return this._axesList.slice()},_S.prototype.getCartesian=function(e,t){if(null!=e&&null!=t)return this._coordsMap["x"+e+"y"+t];q(e)&&(t=e.yAxisIndex,e=e.xAxisIndex);for(var n=0,r=this._coordsList;n<r.length;n++)if(r[n].getAxis("x").index===e||r[n].getAxis("y").index===t)return r[n]},_S.prototype.getCartesians=function(){return this._coordsList.slice()},_S.prototype.convertToPixel=function(e,t,n){return t=this._findConvertTarget(t),t.cartesian?t.cartesian.dataToPoint(n):t.axis?t.axis.toGlobalCoord(t.axis.dataToCoord(n)):null},_S.prototype.convertFromPixel=function(e,t,n){return t=this._findConvertTarget(t),t.cartesian?t.cartesian.pointToData(n):t.axis?t.axis.coordToData(t.axis.toLocalCoord(n)):null},_S.prototype._findConvertTarget=function(e){var t,n,r=e.seriesModel,i=e.xAxisModel||r&&r.getReferringComponents("xAxis",po).models[0],o=e.yAxisModel||r&&r.getReferringComponents("yAxis",po).models[0],a=(e=e.gridModel,this._coordsList);return r?P(a,t=r.coordinateSystem)<0&&(t=null):i&&o?t=this.getCartesian(i.componentIndex,o.componentIndex):i?n=this.getAxis("x",i.componentIndex):o?n=this.getAxis("y",o.componentIndex):e&&e.coordinateSystem===this&&(t=this._coordsList[0]),{cartesian:t,axis:n}},_S.prototype.containPoint=function(e){var t=this._coordsList[0];if(t)return t.containPoint(e)},_S.prototype._initCartesian=function(e,t,n){var r=this,i=this,o={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},s={x:0,y:0};function u(t){return function(n,r){var u,l;bS(n,e)&&(u=n.get("position"),"x"===t?"top"!==u&&"bottom"!==u&&(u=o.bottom?"top":"bottom"):"left"!==u&&"right"!==u&&(u=o.left?"right":"left"),o[u]=!0,l="category"===(u=new pS(t,X_(n),[0,0],n.get("type"),u)).type,u.onBand=l&&n.get("boundaryGap"),u.inverse=n.get("inverse"),(n.axis=u).model=n,u.grid=i,u.index=r,i._axesList.push(u),a[t][r]=u,s[t]++)}}t.eachComponent("xAxis",u("x"),this),t.eachComponent("yAxis",u("y"),this),s.x&&s.y?L((this._axesMap=a).x,(function(t,n){L(a.y,(function(i,o){o="x"+n+"y"+o;var a=new lS(o);a.master=r,a.model=e,r._coordsMap[o]=a,r._coordsList.push(a),a.addAxis(t),a.addAxis(i)}))})):(this._axesMap={},this._axesList=[])},_S.prototype._updateScale=function(e,t){function n(e,t){var n,r,i;L((n=e,r=t.dim,i={},L(n.mapDimensionsAll(r),(function(e){i[Yv(n,e)]=!0})),F(i)),(function(n){t.scale.unionExtentFromData(e,n)}))}L(this._axesList,(function(e){var t;e.scale.setExtent(1/0,-1/0),"category"===e.type&&(t=e.model.get("categorySortInfo"),e.scale.setSortInfo(t))})),e.eachSeries((function(e){var r,i;gS(e)&&(i=(r=yS(e)).xAxisModel,r=r.yAxisModel,bS(i,t))&&bS(r,t)&&(i=this.getCartesian(i.componentIndex,r.componentIndex),r=e.getData(),e=i.getAxis("x"),i=i.getAxis("y"),n(r,e),n(r,i))}),this)},_S.prototype.getTooltipAxes=function(e){var t=[],n=[];return L(this.getCartesians(),(function(r){var i=null!=e&&"auto"!==e?r.getAxis(e):r.getBaseAxis();r=r.getOtherAxis(i);P(t,i)<0&&t.push(i),P(n,r)<0&&n.push(r)})),{baseAxes:t,otherAxes:n}},_S.create=function(e,t){var n=[];return e.eachComponent("grid",(function(r,i){var o=new _S(r,e,t);o.name="grid_"+i,o.resize(r,t,!0),r.coordinateSystem=o,n.push(o)})),e.eachSeries((function(e){var t,n,r;gS(e)&&(t=(n=yS(e)).xAxisModel,n=n.yAxisModel,r=t.getCoordSysModel().coordinateSystem,e.coordinateSystem=r.getCartesian(t.componentIndex,n.componentIndex))})),n},_S.dimensions=aS;var vS=_S;function _S(e,t,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=aS,this._initCartesian(e,t,n),this.model=e}function bS(e,t){return e.getCoordSysModel()===t}function xS(e,t,n,r){n.getAxesOnZeroOf=function(){return i?[i]:[]};var i,o=e[t];e=n.model,t=e.get(["axisLine","onZero"]),n=e.get(["axisLine","onZeroAxisIndex"]);if(t){if(null!=n)wS(o[n])&&(i=o[n]);else for(var a in o)if(o.hasOwnProperty(a)&&wS(o[a])&&!r[s(o[a])]){i=o[a];break}i&&(r[s(i)]=!0)}function s(e){return e.dim+"_"+e.index}}function wS(e){return e&&"category"!==e.type&&"time"!==e.type&&(t=(e=(e=e).scale.getExtent())[0],e=e[1],!(0<t&&0<e||t<0&&e<0));var t}var SS=Math.PI,AS=(CS.prototype.hasBuilder=function(e){return!!kS[e]},CS.prototype.add=function(e){kS[e](this.opt,this.axisModel,this.group,this._transformGroup)},CS.prototype.getGroup=function(){return this.group},CS.innerTextLayout=function(e,t,n){var r;t=Ri(t-e),e=ji(t)?(r=0<n?"top":"bottom","center"):ji(t-SS)?(r=0<n?"bottom":"top","center"):(r="middle",0<t&&t<SS?0<n?"right":"left":0<n?"left":"right");return{rotation:t,textAlign:e,textVerticalAlign:r}},CS.makeAxisEventDataBase=function(e){var t={componentType:e.mainType,componentIndex:e.componentIndex};return t[e.mainType+"Index"]=e.componentIndex,t},CS.isLabelSilent=function(e){var t=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||t&&t.show)},CS);function CS(e,t){this.group=new bi,this.opt=t,this.axisModel=e,M(t,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}}),e=new bi({x:t.position[0],y:t.position[1],rotation:t.rotation}),e.updateTransform(),this._transformGroup=e}var kS={axisLine:function(e,t,n,r){var i,o,a,s,u,l,c,d=t.get(["axisLine","show"]);(d="auto"===d&&e.handleAutoShown?e.handleAutoShown("axisLine"):d)&&(d=t.axis.getExtent(),r=r.transform,i=[d[0],0],o=[d[1],0],a=o[0]<i[0],r&&(Re(i,i,r),Re(o,o,r)),s=I({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),wc((d=new Al({shape:{x1:i[0],y1:i[1],x2:o[0],y2:o[1]},style:s,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1})).shape,d.style.lineWidth),d.anid="line",n.add(d),null!=(u=t.get(["axisLine","symbol"])))&&(r=t.get(["axisLine","symbolSize"]),V(u)&&(u=[u,u]),(V(r)||W(r))&&(r=[r,r]),d=ky(t.get(["axisLine","symbolOffset"])||0,r),l=r[0],c=r[1],L([{rotate:e.rotation+Math.PI/2,offset:d[0],r:0},{rotate:e.rotation-Math.PI/2,offset:d[1],r:Math.sqrt((i[0]-o[0])*(i[0]-o[0])+(i[1]-o[1])*(i[1]-o[1]))}],(function(t,r){var d;"none"!==u[r]&&null!=u[r]&&(r=Ay(u[r],-l/2,-c/2,l,c,s.stroke,!0),d=t.r+t.offset,r.attr({rotation:t.rotate,x:(t=a?o:i)[0]+d*Math.cos(e.rotation),y:t[1]-d*Math.sin(e.rotation),silent:!0,z2:11}),n.add(r))})))},axisTickLabel:function(e,t,n,r){var i,o,a,s,u,l=function(e,t,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()){a=o.getModel("lineStyle"),r=r.tickDirection*o.get("length");for(var s=OS(i.getTicksCoords(),t.transform,r,M(a.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),u=0;u<s.length;u++)e.add(s[u]);return s}}(n,r,t,e),c=function(e,t,n,r){var i,o,a,s,u,l,c,d,p=n.axis,f=te(r.axisLabelShow,n.get(["axisLabel","show"]));if(f&&!p.scale.isBlank())return i=n.getModel("axisLabel"),o=i.get("margin"),a=p.getViewLabels(),f=(te(r.labelRotate,i.get("rotate"))||0)*SS/180,s=AS.innerTextLayout(r.rotation,f,r.labelDirection),u=n.getCategories&&n.getCategories(!0),l=[],c=AS.isLabelSilent(n),d=n.get("triggerEvent"),L(a,(function(f,h){var g="ordinal"===p.scale.type?p.scale.getRawOrdinalNumber(f.tickValue):f.tickValue,y=f.formattedLabel,m=f.rawLabel,v=i,_=(v=u&&u[g]&&q(_=u[g])&&_.textStyle?new ld(_.textStyle,i,n.ecModel):v).getTextColor()||n.get(["axisLine","lineStyle","color"]),b=p.dataToCoord(g),x=v.getShallow("align",!0)||s.textAlign,w=ne(v.getShallow("alignMinLabel",!0),x),S=ne(v.getShallow("alignMaxLabel",!0),x),A=v.getShallow("verticalAlign",!0)||v.getShallow("baseline",!0)||s.textVerticalAlign,C=ne(v.getShallow("verticalAlignMinLabel",!0),A),k=ne(v.getShallow("verticalAlignMaxLabel",!0),A);b=new fs({x:b,y:r.labelOffset+r.labelDirection*o,rotation:s.rotation,silent:c,z2:10+(f.level||0),style:Hc(v,{text:y,align:0===h?w:h===a.length-1?S:x,verticalAlign:0===h?C:h===a.length-1?k:A,fill:H(_)?_("category"===p.type?m:"value"===p.type?g+"":g,h):_})});b.anid="label_"+g,d&&((f=AS.makeAxisEventDataBase(n)).targetType="axisLabel",f.value=m,f.tickIndex=h,"category"===p.type&&(f.dataIndex=g),Cs(b).eventData=f),t.add(b),b.updateTransform(),l.push(b),e.add(b),b.decomposeTransform()})),l}(n,r,t,e),d=(o=c,l=l,eb((i=t).axis)||(f=i.get(["axisLabel","showMinLabel"]),i=i.get(["axisLabel","showMaxLabel"]),l=l||[],y=(o=o||[])[0],h=o[1],a=o[o.length-1],o=o[o.length-2],s=l[0],g=l[1],u=l[l.length-1],l=l[l.length-2],!1===f?(TS(y),TS(s)):IS(y,h)&&(f?(TS(h),TS(g)):(TS(y),TS(s))),!1===i?(TS(a),TS(u)):IS(o,a)&&(i?(TS(o),TS(l)):(TS(a),TS(u)))),n),p=r,f=t,h=e.tickDirection,g=f.axis,y=f.getModel("minorTick");if(y.get("show")&&!g.scale.isBlank()){var m=g.getMinorTicksCoords();if(m.length){g=y.getModel("lineStyle");for(var v=h*y.get("length"),_=M(g.getLineStyle(),M(f.getModel("axisTick").getLineStyle(),{stroke:f.get(["axisLine","lineStyle","color"])})),b=0;b<m.length;b++)for(var x=OS(m[b],p.transform,v,_,"minorticks_"+b),w=0;w<x.length;w++)d.add(x[w])}}t.get(["axisLabel","hideOverlap"])&&Kb(Yb(N(c,(function(e){return{label:e,priority:e.z2,defaultAttr:{ignore:e.ignore}}}))))},axisName:function(e,t,n,r){var i,o,a,s,u,l,c,d,p=te(e.axisName,t.get("name"));p&&(d=t.get("nameLocation"),u=e.nameDirection,i=t.getModel("nameTextStyle"),l=t.get("nameGap")||0,o=(c=t.axis.getExtent())[0]>c[1]?-1:1,o=["start"===d?c[0]-o*l:"end"===d?c[1]+o*l:(c[0]+c[1])/2,MS(d)?e.labelOffset+u*l:0],null!=(l=t.get("nameRotate"))&&(l=l*SS/180),MS(d)?a=AS.innerTextLayout(e.rotation,null!=l?l:e.rotation,u):(a=function(e,t,n,r){var i;n=Ri(n-e),e=r[0]>r[1],r="start"===t&&!e||"start"!==t&&e;return t=ji(n-SS/2)?(i=r?"bottom":"top","center"):ji(n-1.5*SS)?(i=r?"top":"bottom","center"):(i="middle",n<1.5*SS&&SS/2<n?r?"left":"right":r?"right":"left"),{rotation:n,textAlign:t,textVerticalAlign:i}}(e.rotation,d,l||0,c),null!=(s=e.axisNameAvailableWidth)&&(s=Math.abs(s/Math.sin(a.rotation)),isFinite(s)||(s=null))),u=i.getFont(),l=(d=t.get("nameTruncate",!0)||{}).ellipsis,c=te(e.nameTruncateMaxWidth,d.maxWidth,s),Bc({el:e=new fs({x:o[0],y:o[1],rotation:a.rotation,silent:AS.isLabelSilent(t),style:Hc(i,{text:p,font:u,overflow:"truncate",width:c,ellipsis:l,fill:i.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:i.get("align")||a.textAlign,verticalAlign:i.get("verticalAlign")||a.textVerticalAlign}),z2:1}),componentModel:t,itemName:p}),e.__fullText=p,e.anid="name",t.get("triggerEvent")&&((d=AS.makeAxisEventDataBase(t)).targetType="axisName",d.name=p,Cs(e).eventData=d),r.add(e),e.updateTransform(),n.add(e),e.decomposeTransform())}};function TS(e){e&&(e.ignore=!0)}function IS(e,t){var n,r=e&&e.getBoundingRect().clone(),i=t&&t.getBoundingRect().clone();if(r&&i)return _t(n=gt([]),n,-e.rotation),r.applyTransform(mt([],n,e.getLocalTransform())),i.applyTransform(mt([],n,t.getLocalTransform())),r.intersect(i)}function MS(e){return"middle"===e||"center"===e}function OS(e,t,n,r,i){for(var o=[],a=[],s=[],u=0;u<e.length;u++){var l=e[u].coord;l=(a[0]=l,s[a[1]=0]=l,s[1]=n,t&&(Re(a,a,t),Re(s,s,t)),new Al({shape:{x1:a[0],y1:a[1],x2:s[0],y2:s[1]},style:r,z2:2,autoBatch:!0,silent:!0}));wc(l.shape,l.style.lineWidth),l.anid=i+"_"+e[u].tickValue,o.push(l)}return o}function PS(e,t){return"all"===e||U(e)&&0<=P(e,t)||e===t}function DS(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[BS(e)]}function ES(e){return!!e.get(["handle","show"])}function BS(e){return e.type+"||"+e.id}var LS,NS={},RS=(n(jS,LS=gg),jS.prototype.render=function(e,t,n,r){var i,o,a,s,u,l;this.axisPointerClass&&(i=DS(i=e))&&(u=i.axisPointerModel,o=i.axis.scale,a=u.option,l=u.get("status"),null!=(s=u.get("value"))&&(s=o.parse(s)),u=ES(u),null==l&&(a.status=u?"show":"hide"),(l=o.getExtent().slice())[0]>l[1]&&l.reverse(),(s=null==s||s>l[1]?l[1]:s)<l[0]&&(s=l[0]),a.value=s,u)&&(a.status=i.axis.scale.isBlank()?"hide":"show"),LS.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,n,!0)},jS.prototype.updateAxisPointer=function(e,t,n,r){this._doUpdateAxisPointerClass(e,n,!1)},jS.prototype.remove=function(e,t){var n=this._axisPointer;n&&n.remove(t)},jS.prototype.dispose=function(e,t){this._disposeAxisPointer(t),LS.prototype.dispose.apply(this,arguments)},jS.prototype._doUpdateAxisPointerClass=function(e,t,n){var r,i=jS.getAxisPointerClass(this.axisPointerClass);i&&((r=(r=DS(r=e))&&r.axisPointerModel)?(this._axisPointer||(this._axisPointer=new i)).render(e,r,t,n):this._disposeAxisPointer(t))},jS.prototype._disposeAxisPointer=function(e){this._axisPointer&&this._axisPointer.dispose(e),this._axisPointer=null},jS.registerAxisPointerClass=function(e,t){NS[e]=t},jS.getAxisPointerClass=function(e){return e&&NS[e]},jS.type="axis",jS);function jS(){var e=null!==LS&&LS.apply(this,arguments)||this;return e.type=jS.type,e}var FS,zS=so(),$S=["axisLine","axisTickLabel","axisName"],US=["splitArea","splitLine","minorSplitLine"];n(HS,FS=RS),HS.prototype.render=function(e,t,n,r){this.group.removeAll();var i,o,a=this._axisGroup;this._axisGroup=new bi,this.group.add(this._axisGroup),e.get("show")&&(o=hS(i=e.getCoordSysModel(),e),o=new AS(e,I({handleAutoShown:function(t){for(var n=i.coordinateSystem.getCartesians(),r=0;r<n.length;r++)if(r_(n[r].getOtherAxis(e.axis).scale))return!0;return!1}},o)),L($S,o.add,o),this._axisGroup.add(o.getGroup()),L(US,(function(t){e.get([t,"show"])&&GS[t](this,this._axisGroup,e,i)}),this),r&&"changeAxisOrder"===r.type&&r.isInitSort||Ic(a,this._axisGroup,e),FS.prototype.render.call(this,e,t,n,r))},HS.prototype.remove=function(){zS(this).splitAreaColors=null},HS.type="cartesianAxis",zu=HS;function HS(){var e=null!==FS&&FS.apply(this,arguments)||this;return e.type=HS.type,e.axisPointerClass="CartesianAxisPointer",e}var VS,GS={splitLine:function(e,t,n,r){var i=n.axis;if(!i.scale.isBlank()){n=n.getModel("splitLine");for(var o=n.getModel("lineStyle"),a=U(a=o.get("color"))?a:[a],s=r.coordinateSystem.getRect(),u=i.isHorizontal(),l=0,c=i.getTicksCoords({tickModel:n}),d=[],p=[],f=o.getLineStyle(),h=0;h<c.length;h++){var g=i.toGlobalCoord(c[h].coord),y=(g=(u?(d[0]=g,d[1]=s.y,p[0]=g,p[1]=s.y+s.height):(d[0]=s.x,d[1]=g,p[0]=s.x+s.width,p[1]=g),l++%a.length),c[h].tickValue);y=new Al({anid:null!=y?"line_"+c[h].tickValue:null,autoBatch:!0,shape:{x1:d[0],y1:d[1],x2:p[0],y2:p[1]},style:M({stroke:a[g]},f),silent:!0});wc(y.shape,f.lineWidth),t.add(y)}}},minorSplitLine:function(e,t,n,r){var i=n.axis,o=(n=n.getModel("minorSplitLine").getModel("lineStyle"),r.coordinateSystem.getRect()),a=i.isHorizontal(),s=i.getMinorTicksCoords();if(s.length)for(var u=[],l=[],c=n.getLineStyle(),d=0;d<s.length;d++)for(var p=0;p<s[d].length;p++){var f=i.toGlobalCoord(s[d][p].coord);f=(a?(u[0]=f,u[1]=o.y,l[0]=f,l[1]=o.y+o.height):(u[0]=o.x,u[1]=f,l[0]=o.x+o.width,l[1]=f),new Al({anid:"minor_line_"+s[d][p].tickValue,autoBatch:!0,shape:{x1:u[0],y1:u[1],x2:l[0],y2:l[1]},style:c,silent:!0}));wc(f.shape,c.lineWidth),t.add(f)}},splitArea:function(e,t,n,r){var i=t,o=(t=r,(r=n).axis);if(!o.scale.isBlank()){r=r.getModel("splitArea"),n=r.getModel("areaStyle");var a=n.get("color"),s=t.coordinateSystem.getRect(),u=o.getTicksCoords({tickModel:r,clamp:!0});if(u.length){var l=a.length,c=zS(e).splitAreaColors,d=ye(),p=0;if(c)for(var f=0;f<u.length;f++){var h=c.get(u[f].tickValue);if(null!=h){p=(h+(l-1)*f)%l;break}}var g=o.toGlobalCoord(u[0].coord),y=n.getAreaStyle();for(a=U(a)?a:[a],f=1;f<u.length;f++){var m=o.toGlobalCoord(u[f].coord),v=void 0,_=void 0,b=void 0,x=void 0;g=o.isHorizontal()?(v=g,_=s.y,x=s.height,v+(b=m-v)):(v=s.x,_=g,b=s.width,_+(x=m-_)),m=u[f-1].tickValue;null!=m&&d.set(m,p),i.add(new us({anid:null!=m?"area_"+m:null,shape:{x:v,y:_,width:b,height:x},style:M({fill:a[p]},y),autoBatch:!0,silent:!0})),p=(p+1)%l}zS(e).splitAreaColors=d}}}},WS=(n(qS,VS=zu),qS.type="xAxis",qS);function qS(){var e=null!==VS&&VS.apply(this,arguments)||this;return e.type=qS.type,e}n(XS,QS=zu),XS.type="yAxis";var QS,YS=XS;function XS(){var e=null!==QS&&QS.apply(this,arguments)||this;return e.type=WS.type,e}n(ZS,KS=gg),ZS.prototype.render=function(e,t){this.group.removeAll(),e.get("show")&&this.group.add(new us({shape:e.coordinateSystem.getRect(),style:M({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))},ZS.type="grid";var KS,JS=ZS;function ZS(){var e=null!==KS&&KS.apply(this,arguments)||this;return e.type="grid",e}var eA={offset:0};ob((function(e){e.registerComponentView(JS),e.registerComponentModel(Xw),e.registerCoordinateSystem("cartesian2d",vS),rS(e,"x",Zw,eA),rS(e,"y",Zw,eA),e.registerComponentView(WS),e.registerComponentView(YS),e.registerPreprocessor((function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})}))})),n(rA,tA=hp),rA.type="title",rA.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"}};var tA,nA=rA;function rA(){var e=null!==tA&&tA.apply(this,arguments)||this;return e.type=rA.type,e.layoutMode={type:"box",ignoreSize:!0},e}n(aA,iA=gg),aA.prototype.render=function(e,t,n){var r,i,o,a,s,u,l,c,d;this.group.removeAll(),e.get("show")&&(r=this.group,l=e.getModel("textStyle"),i=e.getModel("subtextStyle"),c=e.get("textAlign"),d=ne(e.get("textBaseline"),e.get("textVerticalAlign")),s=(l=new fs({style:Hc(l,{text:e.get("text"),fill:l.getTextColor()},{disableBox:!0}),z2:10})).getBoundingRect(),u=e.get("subtext"),i=new fs({style:Hc(i,{text:u,fill:i.getTextColor(),y:s.height+e.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),o=e.get("link"),a=e.get("sublink"),s=e.get("triggerEvent",!0),l.silent=!o&&!s,i.silent=!a&&!s,o&&l.on("click",(function(){Zd(o,"_"+e.get("target"))})),a&&i.on("click",(function(){Zd(a,"_"+e.get("subtarget"))})),Cs(l).eventData=Cs(i).eventData=s?{componentType:"title",componentIndex:e.componentIndex}:null,r.add(l),u&&r.add(i),s=r.getBoundingRect(),(u=e.getBoxLayoutParams()).width=s.width,u.height=s.height,u=op(u,{width:n.getWidth(),height:n.getHeight()},e.get("padding")),c||("right"===(c="middle"===(c=e.get("left")||e.get("right"))?"center":c)?u.x+=u.width:"center"===c&&(u.x+=u.width/2)),d||("bottom"===(d="center"===(d=e.get("top")||e.get("bottom"))?"middle":d)?u.y+=u.height:"middle"===d&&(u.y+=u.height/2),d=d||"top"),r.x=u.x,r.y=u.y,r.markRedraw(),l.setStyle(n={align:c,verticalAlign:d}),i.setStyle(n),s=r.getBoundingRect(),l=u.margin,(c=e.getItemStyle(["color","opacity"])).fill=e.get("backgroundColor"),d=new us({shape:{x:s.x-l[3],y:s.y-l[0],width:s.width+l[1]+l[3],height:s.height+l[0]+l[2],r:e.get("borderRadius")},style:c,subPixelOptimize:!0,silent:!0}),r.add(d))},aA.type="title";var iA,oA=aA;function aA(){var e=null!==iA&&iA.apply(this,arguments)||this;return e.type=aA.type,e}ob((function(e){e.registerComponentModel(nA),e.registerComponentView(oA)})),n(lA,sA=hp),lA.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),e.selected=e.selected||{},this._updateSelector(e)},lA.prototype.mergeOption=function(e,t){sA.prototype.mergeOption.call(this,e,t),this._updateSelector(e)},lA.prototype._updateSelector=function(e){var t=e.selector,n=this.ecModel;U(t=!0===t?e.selector=["all","inverse"]:t)&&L(t,(function(e,r){V(e)&&(e={type:e}),t[r]=T(e,(r=n,"all"===(e=e.type)?{type:"all",title:r.getLocaleModel().get(["legend","selector","all"])}:"inverse"===e?{type:"inverse",title:r.getLocaleModel().get(["legend","selector","inverse"])}:void 0))}))},lA.prototype.optionUpdated=function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,n=0;n<e.length;n++){var r=e[n].get("name");if(this.isSelected(r)){this.select(r),t=!0;break}}t||this.select(e[0].get("name"))}},lA.prototype._updateData=function(e){var t=[],n=[],r=(e.eachRawSeries((function(r){var i,o=r.name;n.push(o),r.legendVisualProvider&&(o=r.legendVisualProvider.getAllNames(),e.isSeriesFiltered(r)||(n=n.concat(o)),o.length)?t=t.concat(o):i=!0,i&&io(r)&&t.push(r.name)})),this._availableNames=n,this.get("data")||t),i=ye();r=N(r,(function(e){return(V(e)||W(e))&&(e={name:e}),i.get(e.name)?null:(i.set(e.name,!0),new ld(e,this,this.ecModel))}),this);this._data=j(r,(function(e){return!!e}))},lA.prototype.getData=function(){return this._data},lA.prototype.select=function(e){var t=this.option.selected;"single"===this.get("selectedMode")&&L(this._data,(function(e){t[e.get("name")]=!1})),t[e]=!0},lA.prototype.unSelect=function(e){"single"!==this.get("selectedMode")&&(this.option.selected[e]=!1)},lA.prototype.toggleSelected=function(e){var t=this.option.selected;t.hasOwnProperty(e)||(t[e]=!0),this[t[e]?"unSelect":"select"](e)},lA.prototype.allSelect=function(){var e=this._data,t=this.option.selected;L(e,(function(e){t[e.get("name",!0)]=!0}))},lA.prototype.inverseSelect=function(){var e=this._data,t=this.option.selected;L(e,(function(e){e=e.get("name",!0),t.hasOwnProperty(e)||(t[e]=!0),t[e]=!t[e]}))},lA.prototype.isSelected=function(e){var t=this.option.selected;return!(t.hasOwnProperty(e)&&!t[e])&&0<=P(this._availableNames,e)},lA.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},lA.type="legend.plain",lA.dependencies=["series"],lA.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}};var sA,uA=lA;function lA(){var e=null!==sA&&sA.apply(this,arguments)||this;return e.type=lA.type,e.layoutMode={type:"box",ignoreSize:!0},e}var cA,dA=$,pA=L,fA=bi,hA=(n(gA,cA=gg),gA.prototype.init=function(){this.group.add(this._contentGroup=new fA),this.group.add(this._selectorGroup=new fA),this._isFirstRender=!0},gA.prototype.getContentGroup=function(){return this._contentGroup},gA.prototype.getSelectorGroup=function(){return this._selectorGroup},gA.prototype.render=function(e,t,n){var r,i,o,a,s,u=this._isFirstRender;this._isFirstRender=!1,this.resetInner(),e.get("show",!0)&&(i=e.get("align"),r=e.get("orient"),i&&"auto"!==i||(i="right"===e.get("left")&&"vertical"===r?"right":"left"),a=e.get("selector",!0),s=e.get("selectorPosition",!0),this.renderInner(i,e,t,n,a,r,s=!a||s&&"auto"!==s?s:"horizontal"===r?"end":"start"),o=op(t=e.getBoxLayoutParams(),r={width:n.getWidth(),height:n.getHeight()},n=e.get("padding")),o=op(M({width:(i=this.layoutInner(e,i,o,u,a,s)).width,height:i.height},t),r,n),this.group.x=o.x-i.x,this.group.y=o.y-i.y,this.group.markRedraw(),this.group.add(this._backgroundEl=(u=i,s=Wd((a=e).get("padding")),(t=a.getItemStyle(["color","opacity"])).fill=a.get("backgroundColor"),u=new us({shape:{x:u.x-s[3],y:u.y-s[0],width:u.width+s[1]+s[3],height:u.height+s[0]+s[2],r:a.get("borderRadius")},style:t,silent:!0,z2:-1}))))},gA.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},gA.prototype.renderInner=function(e,t,n,r,i,o,a){var s=this.getContentGroup(),u=ye(),l=t.get("selectedMode"),c=[];n.eachRawSeries((function(e){e.get("legendHoverLink")||c.push(e.id)})),pA(t.getData(),(function(i,o){var a,d,p,f,h=i.get("name");this.newlineDisabled||""!==h&&"\n"!==h?(a=n.getSeriesByName(h)[0],u.get(h)||(a?(f=(p=a.getData()).getVisual("legendLineStyle")||{},d=p.getVisual("legendIcon"),p=p.getVisual("style"),(f=this._createItem(a,h,o,i,t,e,f,p,d,l,r)).on("click",dA(yA,h,null,r,c)).on("mouseover",dA(vA,a.name,null,r,c)).on("mouseout",dA(_A,a.name,null,r,c)),n.ssr&&f.eachChild((function(e){e=Cs(e),e.seriesIndex=a.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),u.set(h,!0)):n.eachRawSeries((function(a){var s,d,p;u.get(h)||a.legendVisualProvider&&(d=a.legendVisualProvider).containName(h)&&(p=d.indexOfName(h),s=d.getItemVisual(p,"style"),d=d.getItemVisual(p,"legendIcon"),(p=Wn(s.fill))&&0===p[3]&&(p[3]=.2,s=I(I({},s),{fill:tr(p,"rgba")})),(p=this._createItem(a,h,o,i,t,e,{},s,d,l,r)).on("click",dA(yA,null,h,r,c)).on("mouseover",dA(vA,null,h,r,c)).on("mouseout",dA(_A,null,h,r,c)),n.ssr&&p.eachChild((function(e){e=Cs(e),e.seriesIndex=a.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),u.set(h,!0))}),this))):((p=new fA).newline=!0,s.add(p))}),this),i&&this._createSelector(i,t,r,o,a)},gA.prototype._createSelector=function(e,t,n,r,i){var o=this.getSelectorGroup();pA(e,(function(e){var r=e.type,i=new fs({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===r?"legendAllSelect":"legendInverseSelect"})}});o.add(i),$c(i,{normal:t.getModel("selectorLabel"),emphasis:t.getModel(["emphasis","selectorLabel"])},{defaultText:e.title}),cu(i)}))},gA.prototype._createItem=function(e,t,n,r,i,o,a,s,u,l,c){var d=e.visualDrawType,p=i.get("itemWidth"),f=i.get("itemHeight"),h=i.isSelected(t),g=r.get("symbolRotate"),y=r.get("symbolKeepAspect"),m=r.get("icon");a=function(e,t,n,r,i,o,a){function s(e,t){"auto"===e.lineWidth&&(e.lineWidth=0<t.lineWidth?2:0),pA(e,(function(n,r){"inherit"===e[r]&&(e[r]=t[r])}))}var u=t.getModel("itemStyle"),l=u.getItemStyle();e=0===e.lastIndexOf("empty",0)?"fill":"stroke",u=u.getShallow("decal");return l.decal=u&&"inherit"!==u?Ky(u,a):r.decal,"inherit"===l.fill&&(l.fill=r[i]),"inherit"===l.stroke&&(l.stroke=r[e]),"inherit"===l.opacity&&(l.opacity=("fill"===i?r:n).opacity),s(l,r),u=t.getModel("lineStyle"),a=u.getLineStyle(),s(a,n),"auto"===l.fill&&(l.fill=r.fill),"auto"===l.stroke&&(l.stroke=r.fill),"auto"===a.stroke&&(a.stroke=r.fill),o||(i=t.get("inactiveBorderWidth"),n=l[e],l.lineWidth="auto"===i?0<r.lineWidth&&n?2:0:l.lineWidth,l.fill=t.get("inactiveColor"),l.stroke=t.get("inactiveBorderColor"),a.stroke=u.get("inactiveColor"),a.lineWidth=u.get("inactiveWidth")),{itemStyle:l,lineStyle:a}}(u=m||u||"roundRect",r,a,s,d,h,c),s=new fA,d=r.getModel("textStyle"),!H(e.getLegendIcon)||m&&"inherit"!==m?(c="inherit"===m&&e.getData().getVisual("symbol")?"inherit"===g?e.getData().getVisual("symbolRotate"):g:0,s.add(function(e){var t=e.icon||"roundRect",n=Ay(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return n.setStyle(e.itemStyle),n.rotation=(e.iconRotate||0)*Math.PI/180,n.setOrigin([e.itemWidth/2,e.itemHeight/2]),-1<t.indexOf("empty")&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n}({itemWidth:p,itemHeight:f,icon:u,iconRotate:c,itemStyle:a.itemStyle,lineStyle:a.lineStyle,symbolKeepAspect:y}))):s.add(e.getLegendIcon({itemWidth:p,itemHeight:f,icon:u,iconRotate:g,itemStyle:a.itemStyle,lineStyle:a.lineStyle,symbolKeepAspect:y})),m="left"===o?p+5:-5,c=o,e=i.get("formatter"),u=t,V(e)&&e?u=e.replace("{name}",null!=t?t:""):H(e)&&(u=e(t)),g=h?d.getTextColor():r.get("inactiveColor"),s.add(new fs({style:Hc(d,{text:u,x:m,y:f/2,fill:g,align:c,verticalAlign:"middle"},{inheritColor:g})})),a=new us({shape:s.getBoundingRect(),style:{fill:"transparent"}}),y=r.getModel("tooltip");return y.get("show")&&Bc({el:a,componentModel:i,itemName:t,itemTooltipOption:y.option}),s.add(a),s.eachChild((function(e){e.silent=!0})),a.silent=!l,this.getContentGroup().add(s),cu(s),s.__legendDataIndex=n,s},gA.prototype.layoutInner=function(e,t,n,r,i,o){var a,s,u,l,c,d=this.getContentGroup(),p=this.getSelectorGroup(),f=(n=(ip(e.get("orient"),d,e.get("itemGap"),n.width,n.height),d.getBoundingRect()),[-n.x,-n.y]);return p.markRedraw(),d.markRedraw(),i?(ip("horizontal",p,e.get("selectorItemGap",!0)),a=[-(i=p.getBoundingRect()).x,-i.y],s=e.get("selectorButtonGap",!0),u=0===(e=e.getOrient().index)?"width":"height",l=0===e?"height":"width",c=0===e?"y":"x","end"===o?a[e]+=n[u]+s:f[e]+=i[u]+s,a[1-e]+=n[l]/2-i[l]/2,p.x=a[0],p.y=a[1],d.x=f[0],d.y=f[1],(o={x:0,y:0})[u]=n[u]+s+i[u],o[l]=Math.max(n[l],i[l]),o[c]=Math.min(0,i[c]+a[1-e]),o):(d.x=f[0],d.y=f[1],this.group.getBoundingRect())},gA.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},gA.type="legend.plain",gA);function gA(){var e=null!==cA&&cA.apply(this,arguments)||this;return e.type=gA.type,e.newlineDisabled=!1,e}function yA(e,t,n,r){_A(e,t,n,r),n.dispatchAction({type:"legendToggleSelect",name:null!=e?e:t}),vA(e,t,n,r)}function mA(e){for(var t,n=e.getZr().storage.getDisplayList(),r=0,i=n.length;r<i&&!(t=n[r].states.emphasis);)r++;return t&&t.hoverLayer}function vA(e,t,n,r){mA(n)||n.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:r})}function _A(e,t,n,r){mA(n)||n.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:r})}function bA(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries((function(e){for(var n=0;n<t.length;n++)if(!t[n].isSelected(e.name))return!1;return!0}))}function xA(e,t,n){var r,i={},o="toggleSelected"===e;return n.eachComponent("legend",(function(n){o&&null!=r?n[r?"select":"unSelect"](t.name):"allSelect"===e||"inverseSelect"===e?n[e]():(n[e](t.name),r=n.isSelected(t.name)),L(n.getData(),(function(e){var t;e=e.get("name");"\n"!==e&&""!==e&&(t=n.isSelected(e),i.hasOwnProperty(e)?i[e]=i[e]&&t:i[e]=t)}))})),"allSelect"===e||"inverseSelect"===e?{selected:i}:{name:t.name,selected:i}}function wA(e){e.registerComponentModel(uA),e.registerComponentView(hA),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,bA),e.registerSubTypeDefaulter("legend",(function(){return"plain"})),(e=e).registerAction("legendToggleSelect","legendselectchanged",$(xA,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",$(xA,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",$(xA,"inverseSelect")),e.registerAction("legendSelect","legendselected",$(xA,"select")),e.registerAction("legendUnSelect","legendunselected",$(xA,"unSelect"))}n(CA,SA=uA),CA.prototype.setScrollDataIndex=function(e){this.option.scrollDataIndex=e},CA.prototype.init=function(e,t,n){var r=up(e);SA.prototype.init.call(this,e,t,n),kA(this,e,r)},CA.prototype.mergeOption=function(e,t){SA.prototype.mergeOption.call(this,e,t),kA(this,this.option,e)},CA.type="legend.scroll",CA.defaultOption=fd(uA.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});var SA,AA=CA;function CA(){var e=null!==SA&&SA.apply(this,arguments)||this;return e.type=CA.type,e}function kA(e,t,n){var r=[1,1];r[e.getOrient().index]=0,sp(t,n,{type:"box",ignoreSize:!!r})}var TA,IA=bi,MA=["width","height"],OA=["x","y"],PA=(n(DA,TA=hA),DA.prototype.init=function(){TA.prototype.init.call(this),this.group.add(this._containerGroup=new IA),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new IA)},DA.prototype.resetInner=function(){TA.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},DA.prototype.renderInner=function(e,t,n,r,i,o,a){var s=this,u=(TA.prototype.renderInner.call(this,e,t,n,r,i,o,a),this._controllerGroup),l=(e=t.get("pageIconSize",!0),U(e)?e:[e,e]);c("pagePrev",0),n=t.getModel("pageTextStyle");function c(e,n){var i=e+"DataIndex";n=Pc(t.get("pageIcons",!0)[t.getOrient().name][n],{onclick:z(s._pageGo,s,i,t,r)},{x:-l[0]/2,y:-l[1]/2,width:l[0],height:l[1]});n.name=e,u.add(n)}u.add(new fs({name:"pageText",style:{text:"xx/xx",fill:n.getTextColor(),font:n.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),c("pageNext",1)},DA.prototype.layoutInner=function(e,t,n,r,i,o){var a=this.getSelectorGroup(),s=e.getOrient().index,u=MA[s],l=OA[s],c=MA[1-s],d=OA[1-s],p=(i&&ip("horizontal",a,e.get("selectorItemGap",!0)),e.get("selectorButtonGap",!0)),f=a.getBoundingRect(),h=[-f.x,-f.y],g=k(n);i&&(g[u]=n[u]-f[u]-p),n=this._layoutContentAndController(e,r,g,s,u,c,d,l);return i&&("end"===o?h[s]+=n[u]+p:(e=f[u]+p,h[s]-=e,n[l]-=e),n[u]+=f[u]+p,h[1-s]+=n[d]+n[c]/2-f[c]/2,n[c]=Math.max(n[c],f[c]),n[d]=Math.min(n[d],f[d]+h[1-s]),a.x=h[0],a.y=h[1],a.markRedraw()),n},DA.prototype._layoutContentAndController=function(e,t,n,r,i,o,a,s){var u=this.getContentGroup(),l=this._containerGroup,c=this._controllerGroup,d=(ip(e.get("orient"),u,e.get("itemGap"),r?n.width:null,r?null:n.height),ip("horizontal",c,e.get("pageButtonItemGap",!0)),u.getBoundingRect()),p=c.getBoundingRect(),f=this._showController=d[i]>n[i],h=[-d.x,-d.y],g=(t=(t||(h[r]=u[s]),[0,0]),s=[-p.x,-p.y],ne(e.get("pageButtonGap",!0),e.get("itemGap",!0)));f&&("end"===e.get("pageButtonPosition",!0)?s[r]+=n[i]-p[i]:t[r]+=p[i]+g),s[1-r]+=d[o]/2-p[o]/2,u.setPosition(h),l.setPosition(t),c.setPosition(s),h={x:0,y:0},h[i]=(f?n:d)[i],h[o]=Math.max(d[o],p[o]),h[a]=Math.min(0,p[a]+s[1-r]),l.__rectSize=n[i],f?((t={x:0,y:0})[i]=Math.max(n[i]-p[i]-g,0),t[o]=h[o],l.setClipPath(new us({shape:t})),l.__rectSize=t[i]):c.eachChild((function(e){e.attr({invisible:!0,silent:!0})})),d=this._getPageInfo(e);return null!=d.pageIndex&&rc(u,{x:d.contentPosition[0],y:d.contentPosition[1]},f?e:null),this._updatePageInfoView(e,d),h},DA.prototype._pageGo=function(e,t,n){e=this._getPageInfo(t)[e],null!=e&&n.dispatchAction({type:"legendScroll",scrollDataIndex:e,legendId:t.id})},DA.prototype._updatePageInfoView=function(e,t){var n=this._controllerGroup,r=(L(["pagePrev","pageNext"],(function(r){var i=null!=t[r+"DataIndex"];r=n.childOfName(r);r&&(r.setStyle("fill",i?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),r.cursor=i?"pointer":"default")})),n.childOfName("pageText")),i=e.get("pageFormatter"),o=t.pageIndex,a=(o=null!=o?o+1:0,t.pageCount);r&&i&&r.setStyle("text",V(i)?i.replace("{current}",null==o?"":o+"").replace("{total}",null==a?"":a+""):i({current:o,total:a}))},DA.prototype._getPageInfo=function(e){var t=e.get("scrollDataIndex",!0),n=this.getContentGroup(),r=this._containerGroup.__rectSize,i=(e=e.getOrient().index,MA[e]),o=OA[e],a=(t=this._findTargetItemIndex(t),n.children()),s=a[t],u=a.length,l=u?1:0,c={contentPosition:[n.x,n.y],pageCount:l,pageIndex:l-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(s){n=g(s),c.contentPosition[e]=-n.s;for(var d=t+1,p=n,f=n,h=null;d<=u;++d)(!(h=g(a[d]))&&f.e>p.s+r||h&&!y(h,p.s))&&(p=f.i>p.i?f:h)&&(null==c.pageNextDataIndex&&(c.pageNextDataIndex=p.i),++c.pageCount),f=h;for(d=t-1,p=n,f=n,h=null;-1<=d;--d)(h=g(a[d]))&&y(f,h.s)||!(p.i<f.i)||(f=p,null==c.pagePrevDataIndex&&(c.pagePrevDataIndex=p.i),++c.pageCount,++c.pageIndex),p=h}return c;function g(e){var t,n;if(e)return{s:n=(t=e.getBoundingRect())[o]+e[o],e:n+t[i],i:e.__legendDataIndex}}function y(e,t){return e.e>=t&&e.s<=t+r}},DA.prototype._findTargetItemIndex=function(e){var t,n;return this._showController?(this.getContentGroup().eachChild((function(r,i){r=r.__legendDataIndex,null==n&&null!=r&&(n=i),r===e&&(t=i)})),null!=t?t:n):0},DA.type="legend.scroll",DA);function DA(){var e=null!==TA&&TA.apply(this,arguments)||this;return e.type=DA.type,e.newlineDisabled=!0,e._currentIndex=0,e}ob((function(e){ob(wA),e.registerComponentModel(AA),e.registerComponentView(PA),e.registerAction("legendScroll","legendscroll",(function(e,t){var n=e.scrollDataIndex;null!=n&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},(function(e){e.setScrollDataIndex(n)}))}))}));var EA=so(),BA=k,LA=z;function NA(){this._dragging=!1,this.animationThreshold=15}function RA(e,t,n,r){!function e(t,n){var r;return q(t)&&q(n)?(r=!0,L(n,(function(n,i){r=r&&e(t[i],n)})),!!r):t===n}(EA(n).lastProp,r)&&(EA(n).lastProp=r,t?rc(n,r,e):(n.stopAnimation(),n.attr(r)))}function jA(e,t){e[t.get(["label","show"])?"show":"hide"]()}function FA(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function zA(e,t,n){var r=t.get("z"),i=t.get("zlevel");e&&e.traverse((function(e){"group"!==e.type&&(null!=r&&(e.z=r),null!=i&&(e.zlevel=i),e.silent=n)}))}function $A(e,t,n,r,i){e=t.scale.parse(e);var o,a=t.scale.getLabel({value:e},{precision:i.precision});i=i.formatter;return i&&(o={value:J_(t,{value:e}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]},L(r,(function(e){var t=n.getSeriesByIndex(e.seriesIndex);e=e.dataIndexInside,t=t&&t.getDataParams(e);t&&o.seriesData.push(t)})),V(i)?a=i.replace("{value}",a):H(i)&&(a=i(o))),a}function UA(e,t,n){var r=ht();return _t(r,r,n.rotation),vt(r,r,n.position),Cc([e.dataToCoord(t),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}NA.prototype.render=function(e,t,n,r){var i,o,a=t.get("value"),s=t.get("status");this._axisModel=e,this._axisPointerModel=t,this._api=n,!r&&this._lastValue===a&&this._lastStatus===s||(this._lastValue=a,this._lastStatus=s,r=this._group,i=this._handle,s&&"hide"!==s?(r&&r.show(),i&&i.show(),this.makeElOption(s={},a,e,t,n),(o=s.graphicKey)!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=o,o=this._moveAnimation=this.determineAnimation(e,t),r?(o=$(RA,t,o),this.updatePointerEl(r,s,o),this.updateLabelEl(r,s,o,t)):(r=this._group=new bi,this.createPointerEl(r,s,e,t),this.createLabelEl(r,s,e,t),n.getZr().add(r)),zA(r,t,!0),this._renderHandle(a)):(r&&r.hide(),i&&i.hide()))},NA.prototype.remove=function(e){this.clear(e)},NA.prototype.dispose=function(e){this.clear(e)},NA.prototype.determineAnimation=function(e,t){var n,r=t.get("animation"),i=e.axis,o="category"===i.type;t=t.get("snap");return!(!t&&!o)&&("auto"===r||null==r?(n=this.animationThreshold,o&&i.getBandWidth()>n||!!t&&(o=DS(e).seriesDataCount,t=i.getExtent(),Math.abs(t[0]-t[1])/o>n)):!0===r)},NA.prototype.makeElOption=function(e,t,n,r,i){},NA.prototype.createPointerEl=function(e,t,n,r){var i=t.pointer;i&&(i=EA(e).pointerEl=new Rc[i.type](BA(t.pointer)),e.add(i))},NA.prototype.createLabelEl=function(e,t,n,r){t.label&&(t=EA(e).labelEl=new fs(BA(t.label)),e.add(t),jA(t,r))},NA.prototype.updatePointerEl=function(e,t,n){e=EA(e).pointerEl,e&&t.pointer&&(e.setStyle(t.pointer.style),n(e,{shape:t.pointer.shape}))},NA.prototype.updateLabelEl=function(e,t,n,r){e=EA(e).labelEl,e&&(e.setStyle(t.label.style),n(e,{x:t.label.x,y:t.label.y}),jA(e,r))},NA.prototype._renderHandle=function(e){var t,n,r,i,o,a;!this._dragging&&this.updateHandleTransform&&(t=this._axisPointerModel,n=this._api.getZr(),r=this._handle,i=t.getModel("handle"),a=t.get("status"),i.get("show")&&a&&"hide"!==a?(this._handle||(o=!0,r=this._handle=Pc(i.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(e){lt(e.event)},onmousedown:LA(this._onHandleDragMove,this,0,0),drift:LA(this._onHandleDragMove,this),ondragend:LA(this._onHandleDragEnd,this)}),n.add(r)),zA(r,t,!1),r.setStyle(i.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"])),U(a=i.get("size"))||(a=[a,a]),r.scaleX=a[0]/2,r.scaleY=a[1]/2,Pg(this,"_doDispatchAxisPointer",i.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,o)):(r&&n.remove(r),this._handle=null))},NA.prototype._moveHandleToValue=function(e,t){RA(this._axisPointerModel,!t&&this._moveAnimation,this._handle,FA(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},NA.prototype._onHandleDragMove=function(e,t){var n=this._handle;n&&(this._dragging=!0,e=this.updateHandleTransform(FA(n),[e,t],this._axisModel,this._axisPointerModel),this._payloadInfo=e,n.stopAnimation(),n.attr(FA(e)),EA(n).lastProp=null,this._doDispatchAxisPointer())},NA.prototype._doDispatchAxisPointer=function(){var e,t;this._handle&&(e=this._payloadInfo,t=this._axisModel,this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:t.axis.dim,axisIndex:t.componentIndex}]}))},NA.prototype._onHandleDragEnd=function(){var e;this._dragging=!1,this._handle&&(e=this._axisPointerModel.get("value"),this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"}))},NA.prototype.clear=function(e){this._lastValue=null,this._lastStatus=null;e=e.getZr();var t=this._group,n=this._handle;e&&t&&(this._lastGraphicKey=null,t&&e.remove(t),n&&e.remove(n),this._group=null,this._handle=null,this._payloadInfo=null),Dg(this,"_doDispatchAxisPointer")},NA.prototype.doClear=function(){},NA.prototype.buildLabel=function(e,t,n){return{x:e[n=n||0],y:e[1-n],width:t[n],height:t[1-n]}},n(GA,HA=NA),GA.prototype.makeElOption=function(e,t,n,r,i){var o,a,s=n.axis,u=s.grid,l=r.get("type"),c=WA(u,s).getOtherAxis(s).getGlobalExtent(),d=s.toGlobalCoord(s.dataToCoord(t,!0)),p=(l&&"none"!==l&&(o=(a=r).get("type"),a=a.getModel(o+"Style"),"line"===o?(p=a.getLineStyle()).fill=null:"shadow"===o&&((p=a.getAreaStyle()).stroke=null),o=p,(a=qA[l](s,d,c)).style=o,e.graphicKey=a.type,e.pointer=a),hS(u.model,n));l=t,s=e,d=p,c=n,o=r,a=i,u=AS.innerTextLayout(d.rotation,0,d.labelDirection),d.labelMargin=o.get(["label","margin"]),function(e,t,n,r,i){var o=$A(n.get("value"),t.axis,t.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),a=(n=n.getModel("label"),Wd(n.get("padding")||0)),s=n.getFont(),u=ni(o,s),l=i.position,c=u.width+a[1]+a[3],d=(u=u.height+a[0]+a[2],i.align);"right"===d&&(l[0]-=c),"center"===d&&(l[0]-=c/2),d=i.verticalAlign,"bottom"===d&&(l[1]-=u),"middle"===d&&(l[1]-=u/2),i=l,d=c,c=u,r=(u=r).getWidth(),u=u.getHeight(),i[0]=Math.min(i[0]+d,r)-d,i[1]=Math.min(i[1]+c,u)-c,i[0]=Math.max(i[0],0),i[1]=Math.max(i[1],0),r=n.get("backgroundColor"),r&&"auto"!==r||(r=t.get(["axisLine","lineStyle","color"])),e.label={x:l[0],y:l[1],style:Hc(n,{text:o,font:s,fill:n.getTextColor(),padding:a,backgroundColor:r}),z2:10}}(s,c,o,a,{position:UA(c.axis,l,d),align:u.textAlign,verticalAlign:u.textVerticalAlign})},GA.prototype.getHandleTransform=function(e,t,n){var r=hS(t.axis.grid.model,t,{labelInside:!1});r.labelMargin=n.get(["handle","margin"]),n=UA(t.axis,e,r);return{x:n[0],y:n[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},GA.prototype.updateHandleTransform=function(e,t,n,r){n=n.axis;var i=n.grid,o=n.getGlobalExtent(!0),a=(i=WA(i,n).getOtherAxis(n).getGlobalExtent(),n="x"===n.dim?0:1,[e.x,e.y]);a[n]+=t[n],a[n]=Math.min(o[1],a[n]),a[n]=Math.max(o[0],a[n]),t=(i[1]+i[0])/2,o=[t,t];return o[n]=a[n],{x:a[0],y:a[1],rotation:e.rotation,cursorPoint:o,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][n]}};var HA,VA=GA;function GA(){return null!==HA&&HA.apply(this,arguments)||this}function WA(e,t){var n={};return n[t.dim+"AxisIndex"]=t.index,e.getCartesian(n)}var qA={line:function(e,t,n){var r;return r=[t,n[0]],t=[t,n[1]],n=QA(e),{type:"Line",subPixelOptimize:!0,shape:{x1:r[n=n||0],y1:r[1-n],x2:t[n],y2:t[1-n]}}},shadow:function(e,t,n){var r=Math.max(1,e.getBandWidth()),i=n[1]-n[0];return{type:"Rect",shape:(t=[t-r/2,n[0]],n=[r,i],r=QA(e),{x:t[r=r||0],y:t[1-r],width:n[r],height:n[1-r]})}}};function QA(e){return"x"===e.dim?0:1}n(KA,YA=hp),KA.type="axisPointer",KA.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}};var YA,XA=KA;function KA(){var e=null!==YA&&YA.apply(this,arguments)||this;return e.type=KA.type,e}var JA=so(),ZA=L;function eC(e,t,n){var r,i,a;function s(e,t){i.on(e,(function(e){n=a;var n,r,o={dispatchAction:function e(t){var i=r[t.type];i?i.push(t):(t.dispatchAction=e,n.dispatchAction(t))},pendings:r={showTip:[],hideTip:[]}};ZA(JA(i).records,(function(n){n&&t(n,e,o.dispatchAction)}));var s,u=o.pendings,l=a,c=u.showTip.length,d=u.hideTip.length;c?s=u.showTip[c-1]:d&&(s=u.hideTip[d-1]),s&&(s.dispatchAction=null,l.dispatchAction(s))}))}o.node||(r=t.getZr(),JA(r).records||(JA(r).records={}),a=t,JA(i=r).initialized||(JA(i).initialized=!0,s("click",$(nC,"click")),s("mousemove",$(nC,"mousemove")),s("globalout",tC)),(JA(r).records[e]||(JA(r).records[e]={})).handler=n)}function tC(e,t,n){e.handler("leave",null,n)}function nC(e,t,n,r){t.handler(e,n,r)}function rC(e,t){o.node||(t=t.getZr(),(JA(t).records||{})[e]&&(JA(t).records[e]=null))}n(aC,iC=gg),aC.prototype.render=function(e,t,n){t=t.getComponent("tooltip");var r=e.get("triggerOn")||t&&t.get("triggerOn")||"mousemove|click";eC("axisPointer",n,(function(e,t,n){"none"!==r&&("leave"===e||0<=r.indexOf(e))&&n({type:"updateAxisPointer",currTrigger:e,x:t&&t.offsetX,y:t&&t.offsetY})}))},aC.prototype.remove=function(e,t){rC("axisPointer",t)},aC.prototype.dispose=function(e,t){rC("axisPointer",t)},aC.type="axisPointer";var iC,oC=aC;function aC(){var e=null!==iC&&iC.apply(this,arguments)||this;return e.type=aC.type,e}function sC(e,t){var n,r,i,o,a=[],s=e.seriesIndex;return null==s||!(t=t.getSeriesByIndex(s))||null==(s=ao(n=t.getData(),e))||s<0||U(s)?{point:[]}:(r=n.getItemGraphicEl(s),i=t.coordinateSystem,t.getTooltipPosition?a=t.getTooltipPosition(s)||[]:i&&i.dataToPoint?a=e.isStacked?(t=i.getBaseAxis(),e=i.getOtherAxis(t).dim,t=t.dim,e="x"===e||"radius"===e?1:0,t=n.mapDimension(t),(o=[])[e]=n.get(t,s),o[1-e]=n.get(n.getCalculationInfo("stackResultDimension"),s),i.dataToPoint(o)||[]):i.dataToPoint(n.getValues(N(i.dimensions,(function(e){return n.mapDimension(e)})),s))||[]:r&&((t=r.getBoundingRect().clone()).applyTransform(r.transform),a=[t.x+t.width/2,t.y+t.height/2]),{point:a,el:r})}var uC=so();function lC(e,t,n){var r,i,o,a,s,u,l,c,d,p,f,h,g,y,m=e.currTrigger,v=[e.x,e.y],_=e,b=e.dispatchAction||z(n.dispatchAction,n),x=t.getComponent("axisPointer").coordSysAxesInfo;if(x)return hC(v)&&(v=sC({seriesIndex:_.seriesIndex,dataIndex:_.dataIndex},t).point),r=hC(v),i=_.axesInfo,o=x.axesInfo,a="leave"===m||hC(v),s={},t={list:[],map:{}},l={showPointer:$(dC,u={}),showTooltip:$(pC,t)},L(x.coordSysMap,(function(e,t){var n=r||e.containPoint(v);L(x.coordSysAxesInfo[t],(function(e,t){var o=e.axis,u=function(e,t){for(var n=0;n<(e||[]).length;n++){var r=e[n];if(t.axis.dim===r.axisDim&&t.axis.model.componentIndex===r.axisIndex)return r}}(i,e);a||!n||i&&!u||null!=(u=null!=(u=u&&u.value)||r?u:o.pointToData(v))&&cC(e,u,l,!1,s)}))})),c={},L(o,(function(e,t){var n=e.linkGroup;n&&!u[t]&&L(n.axesInfo,(function(t,r){r=u[r];t!==e&&r&&(r=r.value,n.mapper&&(r=e.axis.scale.parse(n.mapper(r,fC(t),fC(e)))),c[e.key]=r)}))})),L(c,(function(e,t){cC(o[t],e,l,!0,s)})),d=u,_=o,p=s.axesInfo=[],L(_,(function(e,t){var n=e.axisPointerModel.option;t=d[t];t?(e.useHandle||(n.status="show"),n.value=t.value,n.seriesDataIndices=(t.payloadBatch||[]).slice()):e.useHandle||(n.status="hide"),"show"===n.status&&p.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:n.value})})),m=t,_=e,t=b,hC(e=v)||!m.list.length?t({type:"hideTip"}):(b=((m.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{},t({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:_.tooltipOption,position:_.position,dataIndexInside:b.dataIndexInside,dataIndex:b.dataIndex,seriesIndex:b.seriesIndex,dataByCoordSys:m.list})),t=o,_=(e=n).getZr(),b="axisPointerLastHighlights",f=uC(_)[b]||{},h=uC(_)[b]={},L(t,(function(e,t){var n=e.axisPointerModel.option;"show"===n.status&&e.triggerEmphasis&&L(n.seriesDataIndices,(function(e){var t=e.seriesIndex+" | "+e.dataIndex;h[t]=e}))})),g=[],y=[],L(f,(function(e,t){h[t]||y.push(e)})),L(h,(function(e,t){f[t]||g.push(e)})),y.length&&e.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:y}),g.length&&e.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:g}),s}function cC(e,t,n,r,i){var o,a,s,u,l,c,d,p,f,h,g=e.axis;!g.scale.isBlank()&&g.containData(t)&&(e.involveSeries?(a=t,s=e.axis,u=s.dim,l=a,c=[],d=Number.MAX_VALUE,p=-1,L(e.seriesModels,(function(e,t){var n,r=e.getData().mapDimensionsAll(u);if(e.getAxisTooltipData){var i=e.getAxisTooltipData(r,a,s),o=i.dataIndices;i=i.nestestValue}else{if(!(o=e.getData().indicesOfNearest(r[0],a,"category"===s.type?.5:null)).length)return;i=e.getData().get(r[0],o[0])}null!=i&&isFinite(i)&&(r=a-i,(n=Math.abs(r))<=d)&&((n<d||0<=r&&p<0)&&(d=n,p=r,l=i,c.length=0),L(o,(function(t){c.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))})),h=(o={payloadBatch:c,snapToValue:l}).snapToValue,(f=o.payloadBatch)[0]&&null==i.seriesIndex&&I(i,f[0]),!r&&e.snap&&g.containData(h)&&null!=h&&(t=h),n.showPointer(e,t,f),n.showTooltip(e,o,h)):n.showPointer(e,t))}function dC(e,t,n,r){e[t.key]={value:n,payloadBatch:r}}function pC(e,t,n,r){n=n.payloadBatch;var i,o,a=t.axis,s=a.model,u=t.axisPointerModel;t.triggerTooltip&&n.length&&(i=BS(t=t.coordSys.model),(o=e.map[i])||(o=e.map[i]={coordSysId:t.id,coordSysIndex:t.componentIndex,coordSysType:t.type,coordSysMainType:t.mainType,dataByAxis:[]},e.list.push(o)),o.dataByAxis.push({axisDim:a.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:r,valueLabelOpt:{precision:u.get(["label","precision"]),formatter:u.get(["label","formatter"])},seriesDataIndices:n.slice()}))}function fC(e){var t=e.axis.model,n={};e=n.axisDim=e.axis.dim;return n.axisIndex=n[e+"AxisIndex"]=t.componentIndex,n.axisName=n[e+"AxisName"]=t.name,n.axisId=n[e+"AxisId"]=t.id,n}function hC(e){return!e||null==e[0]||isNaN(e[0])||null==e[1]||isNaN(e[1])}function gC(e){RS.registerAxisPointerClass("CartesianAxisPointer",VA),e.registerComponentModel(XA),e.registerComponentView(oC),e.registerPreprocessor((function(e){var t;e&&(e.axisPointer&&0!==e.axisPointer.length||(e.axisPointer={}),t=e.axisPointer.link)&&!U(t)&&(e.axisPointer.link=[t])})),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,(function(e,t){e.getComponent("axisPointer").coordSysAxesInfo=function(e,t){var n,r,i,o,a,s,u,l={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return n=l,t=t,i=(r=e).getComponent("tooltip"),o=r.getComponent("axisPointer"),a=o.get("link",!0)||[],s=[],L(t.getCoordinateSystems(),(function(e){var t,u,l,c,d;function p(i,l,c){var d,p,f=c.model.getModel("axisPointer",o),h=f.get("show");h&&("auto"!==h||i||ES(f))&&(null==l&&(l=f.get("triggerTooltip")),h=(f=i?function(e,t,n,r,i,o){var a=t.getModel("axisPointer"),s={};return L(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(e){s[e]=k(a.get(e))})),s.snap="category"!==e.type&&!!o,"cross"===a.get("type")&&(s.type="line"),t=s.label||(s.label={}),null==t.show&&(t.show=!1),"cross"===i&&(i=a.get(["label","show"]),t.show=null==i||i,o||(i=s.lineStyle=a.get("crossStyle"))&&M(t,i.textStyle)),e.model.getModel("axisPointer",new ld(s,n,r))}(c,u,o,r,i,l):f).get("snap"),i=f.get("triggerEmphasis"),d=BS(c.model),p=l||h||"category"===c.type,l=n.axesInfo[d]={key:d,axis:c,coordSys:e,axisPointerModel:f,triggerTooltip:l,triggerEmphasis:i,involveSeries:p,snap:h,useHandle:ES(f),seriesModels:[],linkGroup:null},t[d]=l,n.seriesInvolved=n.seriesInvolved||p,null!=(i=function(e,t){for(var n=t.model,r=t.dim,i=0;i<e.length;i++){var o=e[i]||{};if(PS(o[r+"AxisId"],n.id)||PS(o[r+"AxisIndex"],n.componentIndex)||PS(o[r+"AxisName"],n.name))return i}}(a,c)))&&((h=s[i]||(s[i]={axesInfo:{}})).axesInfo[d]=l,h.mapper=a[i].mapper,l.linkGroup=h)}e.axisPointerEnabled&&(l=BS(e.model),t=n.coordSysAxesInfo[l]={},u=(n.coordSysMap[l]=e).model.getModel("tooltip",i),L(e.getAxes(),$(p,!1,null)),e.getTooltipAxes)&&i&&u.get("show")&&(l="axis"===u.get("trigger"),c="cross"===u.get(["axisPointer","type"]),d=e.getTooltipAxes(u.get(["axisPointer","axis"])),(l||c)&&L(d.baseAxes,$(p,!c||"cross",l)),c)&&L(d.otherAxes,$(p,"cross",!1))})),l.seriesInvolved&&(u=l,e.eachSeries((function(e){var t=e.coordinateSystem,n=e.get(["tooltip","trigger"],!0),r=e.get(["tooltip","show"],!0);t&&"none"!==n&&!1!==n&&"item"!==n&&!1!==r&&!1!==e.get(["axisPointer","show"],!0)&&L(u.coordSysAxesInfo[BS(t.model)],(function(n){var r=n.axis;t.getAxis(r.dim)===r&&(n.seriesModels.push(e),null==n.seriesDataCount&&(n.seriesDataCount=0),n.seriesDataCount+=e.getData().count())}))}))),l}(e,t)})),e.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},lC)}n(vC,yC=hp),vC.type="tooltip",vC.dependencies=["axisPointer"],vC.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}};var yC,mC=vC;function vC(){var e=null!==yC&&yC.apply(this,arguments)||this;return e.type=vC.type,e}function _C(e){var t=e.get("confine");return null!=t?t:"richText"===e.get("renderMode")}function bC(e){if(o.domSupported)for(var t=document.documentElement.style,n=0,r=e.length;n<r;n++)if(e[n]in t)return e[n]}var xC=bC(["transform","webkitTransform","OTransform","MozTransform","msTransform"]);function wC(e,t){if(!e)return t;t=Gd(t,!0);var n=e.indexOf(t);return(e=-1===n?t:"-"+e.slice(0,n)+"-"+t).toLowerCase()}var SC=wC(bC(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),"transition"),AC=wC(xC,"transform"),CC="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(o.transform3dSupported?"will-change:transform;":"");function kC(e,t,n){var r;e=e.toFixed(0)+"px",t=t.toFixed(0)+"px";return o.transformSupported?(r="translate"+((r=o.transform3dSupported)?"3d":"")+"("+e+","+t+(r?",0":"")+")",n?"top:0;left:0;"+AC+":"+r+";":[["top",0],["left",0],[xC,r]]):n?"top:"+t+";left:"+e+";":[["top",t],["left",e]]}function TC(e,t,n,r,i){var o,a,s=t&&t.painter;n?(o=s&&s.getViewportRoot())&&(a=e,n=n,Ke(Xe,o,r,i,!0))&&Ke(a,n,Xe[0],Xe[1]):(e[0]=r,e[1]=i,(o=s&&s.getViewportRootOffset())&&(e[0]+=o.offsetLeft,e[1]+=o.offsetTop)),e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}MC.prototype.update=function(e){this._container||(r=this._api.getDom(),n="position",n=(t=(t=r).currentStyle||document.defaultView&&document.defaultView.getComputedStyle(t))?n?t[n]:t:null,"absolute"!==(t=r.style).position&&"absolute"!==n&&(t.position="relative"));var t,n,r=e.get("alwaysShowContent");r&&this._moveIfResized(),this._alwaysShowContent=r,this.el.className=e.get("className")||""},MC.prototype.show=function(e,t){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,r=n.style,i=this._styleCoord;n.innerHTML?r.cssText=CC+function(e,t,n){var r,i,a=[],s=e.get("transitionDuration"),u=e.get("backgroundColor"),l=e.get("shadowBlur"),c=e.get("shadowColor"),d=e.get("shadowOffsetX"),p=e.get("shadowOffsetY"),f=e.getModel("textStyle"),h=eg(e,"html");return a.push("box-shadow:"+d+"px "+p+"px "+l+"px "+c),t&&s&&a.push((c="opacity"+(l=" "+(d=s)/2+"s "+(p="cubic-bezier(0.23,1,0.32,1)"))+",visibility"+l,n||(l=" "+d+"s "+p,c+=o.transformSupported?","+AC+l:",left"+l+",top"+l),SC+":"+c)),u&&a.push("background-color:"+u),L(["width","color","radius"],(function(t){var n="border-"+t,r=Gd(n);r=e.get(r);null!=r&&a.push(n+":"+r+("color"===t?"":"px"))})),a.push((i=[],t=(r=f).get("fontSize"),(s=r.getTextColor())&&i.push("color:"+s),i.push("font:"+r.getFont()),t&&i.push("line-height:"+Math.round(3*t/2)+"px"),s=r.get("textShadowColor"),t=r.get("textShadowBlur")||0,n=r.get("textShadowOffsetX")||0,d=r.get("textShadowOffsetY")||0,s&&t&&i.push("text-shadow:"+n+"px "+d+"px "+t+"px "+s),L(["decoration","align"],(function(e){var t=r.get(e);t&&i.push("text-"+e+":"+t)})),i.join(";"))),null!=h&&a.push("padding:"+Wd(h).join("px ")+"px"),a.join(";")+";"}(e,!this._firstShow,this._longHide)+kC(i[0],i[1],!0)+"border-color:"+Jd(t)+";"+(e.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):r.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},MC.prototype.setContent=function(e,t,n,r,i){var o=this.el;if(null==e)o.innerHTML="";else{var a,s,u,l,c,d="";if(V(i)&&"item"===n.get("trigger")&&!_C(n)&&(n=n,r=r,d=V(i=i)&&"inside"!==i?(a=n.get("backgroundColor"),n=n.get("borderWidth"),r=Jd(r),i=i="left"===(i=i)?"right":"right"===i?"left":"top"===i?"bottom":"top",p=Math.max(1.5*Math.round(n),6),s="",u=AC+":",-1<P(["left","right"],i)?(s+="top:50%",u+="translateY(-50%) rotate("+(c="left"==i?-225:-45)+"deg)"):(s+="left:50%",u+="translateX(-50%) rotate("+(c="top"==i?225:45)+"deg)"),c=c*Math.PI/180,c=(l=p+n)*Math.abs(Math.cos(c))+l*Math.abs(Math.sin(c)),r=r+" solid "+n+"px;",'<div style="'+["position:absolute;width:"+p+"px;height:"+p+"px;z-index:-1;",(s+=";"+i+":-"+Math.round(100*((c-Math.SQRT2*n)/2+Math.SQRT2*n-(c-l)/2))/100+"px")+";"+u+";","border-bottom:"+r,"border-right:"+r,"background-color:"+a+";"].join("")+'"></div>'):""),V(e))o.innerHTML=e+d;else if(e){o.innerHTML="",U(e)||(e=[e]);for(var p,f=0;f<e.length;f++)X(e[f])&&e[f].parentNode!==o&&o.appendChild(e[f]);d&&o.childNodes.length&&((p=document.createElement("div")).innerHTML=d,o.appendChild(p))}}},MC.prototype.setEnterable=function(e){this._enterable=e},MC.prototype.getSize=function(){var e=this.el;return[e.offsetWidth,e.offsetHeight]},MC.prototype.moveTo=function(e,t){var n,r=this._styleCoord;TC(r,this._zr,this._container,e,t),null!=r[0]&&null!=r[1]&&(n=this.el.style,L(kC(r[0],r[1]),(function(e){n[e[0]]=e[1]})))},MC.prototype._moveIfResized=function(){var e=this._styleCoord[2],t=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),t*this._zr.getHeight())},MC.prototype.hide=function(){var e=this,t=this.el.style;t.visibility="hidden",t.opacity="0",o.transform3dSupported&&(t.willChange=""),this._show=!1,this._longHideTimeout=setTimeout((function(){return e._longHide=!0}),500)},MC.prototype.hideLater=function(e){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(z(this.hide,this),e)):this.hide())},MC.prototype.isShow=function(){return this._show},MC.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var e=this.el.parentNode;e&&e.removeChild(this.el),this.el=this._container=null};var IC=MC;function MC(e,t){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,o.wxa)return null;var n=document.createElement("div"),r=(n.domBelongToZr=!0,this.el=n,this._zr=e.getZr()),i=(t=t.appendTo,t=t&&(V(t)?document.querySelector(t):X(t)?t:H(t)&&t(e.getDom())),TC(this._styleCoord,r,t,e.getWidth()/2,e.getHeight()/2),(t||e.getDom()).appendChild(n),this._api=e,this._container=t,this);n.onmouseenter=function(){i._enterable&&(clearTimeout(i._hideTimeout),i._show=!0),i._inContent=!0},n.onmousemove=function(e){var t;e=e||window.event,i._enterable||(t=r.handler,ut(r.painter.getViewportRoot(),e,!0),t.dispatch("mousemove",e))},n.onmouseleave=function(){i._inContent=!1,i._enterable&&i._show&&i.hideLater(i._hideDelay)}}PC.prototype.update=function(e){e=e.get("alwaysShowContent"),e&&this._moveIfResized(),this._alwaysShowContent=e},PC.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},PC.prototype.setContent=function(e,t,n,r,i){var o=this,a=(q(e)&&Qi(""),this.el&&this._zr.remove(this.el),n.getModel("textStyle")),s=(this.el=new fs({style:{rich:t.richTextStyles,text:e,lineHeight:22,borderWidth:1,borderColor:r,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:eg(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),L(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],(function(e){o.el.style[e]=n.get(e)})),L(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],(function(e){o.el.style[e]=a.get(e)||0})),this._zr.add(this.el),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}))},PC.prototype.setEnterable=function(e){this._enterable=e},PC.prototype.getSize=function(){var e=this.el,t=this.el.getBoundingRect();e=EC(e.style);return[t.width+e.left+e.right,t.height+e.top+e.bottom]},PC.prototype.moveTo=function(e,t){var n,r,i=this.el;i&&(BC(r=this._styleCoord,this._zr,e,t),e=r[0],t=r[1],n=DC((r=i.style).borderWidth||0),r=EC(r),i.x=e+n+r.left,i.y=t+n+r.top,i.markRedraw())},PC.prototype._moveIfResized=function(){var e=this._styleCoord[2],t=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),t*this._zr.getHeight())},PC.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},PC.prototype.hideLater=function(e){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(z(this.hide,this),e)):this.hide())},PC.prototype.isShow=function(){return this._show},PC.prototype.dispose=function(){this._zr.remove(this.el)};var OC=PC;function PC(e){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=e.getZr(),BC(this._styleCoord,this._zr,e.getWidth()/2,e.getHeight()/2)}function DC(e){return Math.max(0,e)}function EC(e){var t=DC(e.shadowBlur||0),n=DC(e.shadowOffsetX||0);e=DC(e.shadowOffsetY||0);return{left:DC(t-n),right:DC(t+n),top:DC(t-e),bottom:DC(t+e)}}function BC(e,t,n,r){e[0]=n,e[1]=r,e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var LC,NC=new us({shape:{x:-1,y:-1,width:2,height:2}}),RC=(n(jC,LC=gg),jC.prototype.init=function(e,t){var n;!o.node&&t.getDom()&&(e=e.getComponent("tooltip"),n=this._renderMode="auto"===(n=e.get("renderMode"))?o.domSupported?"html":"richText":n||"html",this._tooltipContent="richText"===n?new OC(t):new IC(t,{appendTo:e.get("appendToBody",!0)?"body":e.get("appendTo",!0)}))},jC.prototype.render=function(e,t,n){!o.node&&n.getDom()&&(this.group.removeAll(),this._tooltipModel=e,this._ecModel=t,this._api=n,(t=this._tooltipContent).update(e),t.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&e.get("transitionDuration")?Pg(this,"_updatePosition",50,"fixRate"):Dg(this,"_updatePosition"))},jC.prototype._initGlobalListener=function(){var e=this._tooltipModel.get("triggerOn");eC("itemTooltip",this._api,z((function(t,n,r){"none"!==e&&(0<=e.indexOf(t)?this._tryShow(n,r):"leave"===t&&this._hide(r))}),this))},jC.prototype._keepShow=function(){var e,t=this._tooltipModel,n=this._ecModel,r=this._api,i=t.get("triggerOn");null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i&&(e=this,clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){r.isDisposed()||e.manuallyShowTip(t,n,r,{x:e._lastX,y:e._lastY,dataByCoordSys:e._lastDataByCoordSys})})))},jC.prototype.manuallyShowTip=function(e,t,n,r){var i,a,s,u;r.from!==this.uid&&!o.node&&n.getDom()&&(i=zC(r,n),this._ticket="",u=r.dataByCoordSys,(a=function(e,t,n){var r=co(e).queryOptionMap,i=r.keys()[0];if(i&&"series"!==i){var o;t=fo(t,i,r.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(t&&(n.getViewOfComponentModel(t).group.traverse((function(t){var n=Cs(t).tooltipConfig;if(n&&n.name===e.name)return o=t,!0})),o))return{componentMainType:i,componentIndex:t.componentIndex,el:o}}}(r,t,n))?((s=a.el.getBoundingRect().clone()).applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:r.position,positionDefault:"bottom"},i)):r.tooltip&&null!=r.x&&null!=r.y?((s=NC).x=r.x,s.y=r.y,s.update(),Cs(s).tooltipConfig={name:null,option:r.tooltip},this._tryShow({offsetX:r.x,offsetY:r.y,target:s},i)):u?this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:u,tooltipOption:r.tooltipOption},i):null!=r.seriesIndex?this._manuallyAxisShowTip(e,t,n,r)||(s=(a=sC(r,t)).point[0],u=a.point[1],null!=s&&null!=u&&this._tryShow({offsetX:s,offsetY:u,target:a.el,position:r.position,positionDefault:"bottom"},i)):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)))},jC.prototype.manuallyHideTip=function(e,t,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(zC(r,n))},jC.prototype._manuallyAxisShowTip=function(e,t,n,r){var i=r.seriesIndex,o=r.dataIndex,a=t.getComponent("axisPointer").coordSysAxesInfo;if(null!=i&&null!=o&&null!=a&&(a=t.getSeriesByIndex(i),a&&(t=FC([a.getData().getItemModel(o),a,(a.coordinateSystem||{}).model],this._tooltipModel),"axis"===t.get("trigger"))))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:o,position:r.position}),!0},jC.prototype._tryShow=function(e,t){var n,r,i,o=e.target;this._tooltipModel&&(this._lastX=e.offsetX,this._lastY=e.offsetY,(n=e.dataByCoordSys)&&n.length?this._showAxisTooltip(n,e):o?"legend"!==Cs(o).ssrType&&(dy(o,(function(e){return null!=Cs(e).dataIndex?(r=e,1):null!=Cs(e).tooltipConfig&&(i=e,1)}),!(this._lastDataByCoordSys=null)),r?this._showSeriesItemTooltip(e,r,t):i?this._showComponentItemTooltip(e,i,t):this._hide(t)):(this._lastDataByCoordSys=null,this._hide(t)))},jC.prototype._showOrMove=function(e,t){e=e.get("showDelay"),t=z(t,this),clearTimeout(this._showTimout),0<e?this._showTimout=setTimeout(t,e):t()},jC.prototype._showAxisTooltip=function(e,t){var n=this._ecModel,r=this._tooltipModel,i=[t.offsetX,t.offsetY],o=FC([t.tooltipOption],r),a=this._renderMode,s=[],u=Wh("section",{blocks:[],noHeader:!0}),l=[],c=new tg,d=(L(e,(function(e){L(e.dataByAxis,(function(e){var t,i,o=n.getComponent(e.axisDim+"Axis",e.axisIndex),d=e.value;o&&null!=d&&(t=$A(d,o.axis,n,e.seriesDataIndices,e.valueLabelOpt),i=Wh("section",{header:t,noHeader:!se(t),sortBlocks:!0,blocks:[]}),u.blocks.push(i),L(e.seriesDataIndices,(function(u){var p,f=n.getSeriesByIndex(u.seriesIndex),h=(u=u.dataIndexInside,f.getDataParams(u));h.dataIndex<0||(h.axisDim=e.axisDim,h.axisIndex=e.axisIndex,h.axisType=e.axisType,h.axisId=e.axisId,h.axisValue=J_(o.axis,{value:d}),h.axisValueLabel=t,h.marker=c.makeTooltipMarker("item",Jd(h.color),a),(p=(u=Yf(f.formatTooltip(u,!0,null))).frag)&&(f=FC([f],r).get("valueFormatter"),i.blocks.push(f?I({valueFormatter:f},p):p)),u.text&&l.push(u.text),s.push(h))})))}))})),u.blocks.reverse(),l.reverse(),t.position),p=(t=o.get("order"),t=Kh(u,c,a,t,n.get("useUTC"),o.get("textStyle")),t=(t&&l.unshift(t),"richText"===a?"\n\n":"<br/>"),l.join(t));this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(e,s)?this._updatePosition(o,d,i[0],i[1],this._tooltipContent,s):this._showTooltipContent(o,p,s,Math.random()+"",i[0],i[1],d,null,c)}))},jC.prototype._showSeriesItemTooltip=function(e,t,n){var r,i,o,a,s,u=this._ecModel,l=(t=Cs(t),t.seriesIndex),c=u.getSeriesByIndex(l),d=t.dataModel||c,p=t.dataIndex,f=(t=t.dataType,d.getData(t)),h=this._renderMode,g=e.positionDefault,y=FC([f.getItemModel(p),d,c&&(c.coordinateSystem||{}).model],this._tooltipModel,g?{position:g}:null);c=y.get("trigger");null!=c&&"item"!==c||(r=d.getDataParams(p,t),i=new tg,r.marker=i.makeTooltipMarker("item",Jd(r.color),h),g=Yf(d.formatTooltip(p,!1,t)),c=y.get("order"),t=y.get("valueFormatter"),o=g.frag,a=o?Kh(t?I({valueFormatter:t},o):o,i,h,c,u.get("useUTC"),y.get("textStyle")):g.text,s="item_"+d.name+"_"+p,this._showOrMove(y,(function(){this._showTooltipContent(y,a,r,s,e.offsetX,e.offsetY,e.position,e.target,i)})),n({type:"showTip",dataIndexInside:p,dataIndex:f.getRawIndex(p),seriesIndex:l,from:this.uid}))},jC.prototype._showComponentItemTooltip=function(e,t,n){var r=Cs(t),i=r.tooltipConfig.option||{},o=[i=V(i)?{content:i,formatter:i}:i],a=(r=this._ecModel.getComponent(r.componentMainType,r.componentIndex),r=(r&&o.push(r),o.push({formatter:i.content}),e.positionDefault),FC(o,this._tooltipModel,r?{position:r}:null)),s=a.get("content"),u=Math.random()+"",l=new tg;this._showOrMove(a,(function(){var n=k(a.get("formatterParams")||{});this._showTooltipContent(a,s,n,u,e.offsetX,e.offsetY,e.position,t,l)})),n({type:"showTip",from:this.uid})},jC.prototype._showTooltipContent=function(e,t,n,r,i,o,a,s,u){var l,c,d,p,f;this._ticket="",e.get("showContent")&&e.get("show")&&((l=this._tooltipContent).setEnterable(e.get("enterable")),c=e.get("formatter"),a=a||e.get("position"),t=t,d=this._getNearestPoint([i,o],n,e.get("trigger"),e.get("borderColor")).color,c&&(t=V(c)?(p=e.ecModel.get("useUTC"),t=c,Xd(t=(f=U(n)?n[0]:n)&&f.axisType&&0<=f.axisType.indexOf("time")?Id(f.axisValue,t,p):t,n,!0)):H(c)?(f=z((function(t,r){t===this._ticket&&(l.setContent(r,u,e,d,a),this._updatePosition(e,a,i,o,l,n,s))}),this),this._ticket=r,c(n,r,f)):c),l.setContent(t,u,e,d,a),l.show(e,d),this._updatePosition(e,a,i,o,l,n,s))},jC.prototype._getNearestPoint=function(e,t,n,r){return"axis"===n||U(t)?{color:r||("html"===this._renderMode?"#fff":"none")}:U(t)?void 0:{color:r||t.color||t.borderColor}},jC.prototype._updatePosition=function(e,t,n,r,i,o,a){var s,u=this._api.getWidth(),l=this._api.getHeight(),c=(t=t||e.get("position"),i.getSize()),d=e.get("align"),p=e.get("verticalAlign"),f=a&&a.getBoundingRect().clone();a&&f.applyTransform(a.transform),U(t=H(t)?t([n,r],o,i.el,f,{viewSize:[u,l],contentSize:c.slice()}):t)?(n=Di(t[0],u),r=Di(t[1],l)):q(t)?((o=t).width=c[0],o.height=c[1],n=(o=op(o,{width:u,height:l})).x,r=o.y,p=d=null):(n=(s=V(t)&&a?function(e,t,n,r){var i=n[0],o=n[1],a=Math.ceil(Math.SQRT2*r)+8,s=0,u=0,l=t.width,c=t.height;switch(e){case"inside":s=t.x+l/2-i/2,u=t.y+c/2-o/2;break;case"top":s=t.x+l/2-i/2,u=t.y-o-a;break;case"bottom":s=t.x+l/2-i/2,u=t.y+c+a;break;case"left":s=t.x-i-a,u=t.y+c/2-o/2;break;case"right":s=t.x+l+a,u=t.y+c/2-o/2}return[s,u]}(t,f,c,e.get("borderWidth")):function(e,t,n,r,i,o,a){n=n.getSize();var s=n[0];n=n[1];return null!=o&&(r<e+s+o+2?e-=s+o:e+=o),null!=a&&(i<t+n+a?t-=n+a:t+=a),[e,t]}(n,r,i,u,l,d?null:20,p?null:20))[0],r=s[1]),d&&(n-=$C(d)?c[0]/2:"right"===d?c[0]:0),p&&(r-=$C(p)?c[1]/2:"bottom"===p?c[1]:0),_C(e)&&(o=n,a=r,t=u,f=l,d=(d=i).getSize(),p=d[0],d=d[1],o=Math.min(o+p,t)-p,a=Math.min(a+d,f)-d,o=Math.max(o,0),a=Math.max(a,0),n=(s=[o,a])[0],r=s[1]),i.moveTo(n,r)},jC.prototype._updateContentNotChangedOnAxis=function(e,t){var n=this._lastDataByCoordSys,r=this._cbParamsList,i=!!n&&n.length===e.length;return i&&L(n,(function(n,o){n=n.dataByAxis||[];var a=(e[o]||{}).dataByAxis||[];(i=i&&n.length===a.length)&&L(n,(function(e,n){n=a[n]||{};var o=e.seriesDataIndices||[],s=n.seriesDataIndices||[];(i=i&&e.value===n.value&&e.axisType===n.axisType&&e.axisId===n.axisId&&o.length===s.length)&&L(o,(function(e,t){t=s[t],i=i&&e.seriesIndex===t.seriesIndex&&e.dataIndex===t.dataIndex})),r&&L(e.seriesDataIndices,(function(e){e=e.seriesIndex;var n=t[e];e=r[e];n&&e&&e.data!==n.data&&(i=!1)}))}))})),this._lastDataByCoordSys=e,this._cbParamsList=t,!!i},jC.prototype._hide=function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},jC.prototype.dispose=function(e,t){!o.node&&t.getDom()&&(Dg(this,"_updatePosition"),this._tooltipContent.dispose(),rC("itemTooltip",t))},jC.type="tooltip",jC);function jC(){var e=null!==LC&&LC.apply(this,arguments)||this;return e.type=jC.type,e}function FC(e,t,n){for(var r=t.ecModel,i=n?(i=new ld(n,r,r),new ld(t.option,i,r)):t,o=e.length-1;0<=o;o--){var a=e[o];(a=a&&(V(a=a instanceof ld?a.get("tooltip",!0):a)?{formatter:a}:a))&&(i=new ld(a,i,r))}return i}function zC(e,t){return e.dispatchAction||z(t.dispatchAction,t)}function $C(e){return"center"===e||"middle"===e}function UC(e,t){if(e)for(var n=U(e)?e:[e],r=0;r<n.length;r++)if(n[r]&&n[r][t])return 1}function HC(e){Ji(e,"label",["show"])}ob((function(e){ob(gC),e.registerComponentModel(mC),e.registerComponentView(RC),e.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},xe),e.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},xe)}));var VC,GC=so(),WC=(n(qC,VC=hp),qC.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),this._mergeOption(e,n,!1,!0)},qC.prototype.isAnimationEnabled=function(){var e;return!o.node&&(e=this.__hostSeries,this.getShallow("animation"))&&e&&e.isAnimationEnabled()},qC.prototype.mergeOption=function(e,t){this._mergeOption(e,t,!1,!1)},qC.prototype._mergeOption=function(e,t,n,r){var i=this.mainType;n||t.eachSeries((function(e){var n=e.get(this.mainType,!0),o=GC(e)[i];n&&n.data?(o?o._mergeOption(n,t,!0):(r&&HC(n),L(n.data,(function(e){e instanceof Array?(HC(e[0]),HC(e[1])):HC(e)})),I(o=this.createMarkerModelFromSeries(n,this,t),{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),o.__hostSeries=e),GC(e)[i]=o):GC(e)[i]=null}),this)},qC.prototype.formatTooltip=function(e,t,n){var r=this.getData(),i=this.getRawValue(e);r=r.getName(e);return Wh("section",{header:this.name,blocks:[Wh("nameValue",{name:r,value:i,noName:!r,noValue:null==i})]})},qC.prototype.getData=function(){return this._data},qC.prototype.setData=function(e){this._data=e},qC.getMarkerModelFromSeries=function(e,t){return GC(e)[t]},qC.type="marker",qC.dependencies=["series","grid","polar","geo"],qC);function qC(){var e=null!==VC&&VC.apply(this,arguments)||this;return e.type=qC.type,e.createdBySelf=!1,e}E(WC,ad.prototype),n(XC,QC=WC),XC.prototype.createMarkerModelFromSeries=function(e,t,n){return new XC(e,t,n)},XC.type="markPoint",XC.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}};var QC,YC=XC;function XC(){var e=null!==QC&&QC.apply(this,arguments)||this;return e.type=XC.type,e}function KC(e,t,n,r,i,o){var a=[],s=Qv(t,r)?t.getCalculationInfo("stackResultDimension"):r;e=rk(t,s,e),e=t.indicesOfNearest(s,e)[0],a[i]=t.get(n,e),a[o]=t.get(s,e),i=t.get(r,e),n=Bi(t.get(r,e));return 0<=(n=Math.min(n,20))&&(a[o]=+a[o].toFixed(n)),[a,i]}var JC={min:$(KC,"min"),max:$(KC,"max"),average:$(KC,"average"),median:$(KC,"median")};function ZC(e,t){if(t){var n,r=e.getData(),i=e.coordinateSystem,o=i&&i.dimensions;if(n=t,(isNaN(parseFloat(n.x))||isNaN(parseFloat(n.y)))&&!U(t.coord)&&U(o)&&(n=ek(t,r,i,e),(t=k(t)).type&&JC[t.type]&&n.baseAxis&&n.valueAxis?(i=P(o,n.baseAxis.dim),e=P(o,n.valueAxis.dim),n=JC[t.type](r,n.baseDataDim,n.valueDataDim,i,e),t.coord=n[0],t.value=n[1]):t.coord=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis]),null!=t.coord&&U(o))for(var a=t.coord,s=0;s<2;s++)JC[a[s]]&&(a[s]=rk(r,r.mapDimension(o[s]),a[s]));else t.coord=[];return t}}function ek(e,t,n,r){var i={};return null!=e.valueIndex||null!=e.valueDim?(i.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,i.valueAxis=n.getAxis(function(e,t){return e=e.getData().getDimensionInfo(t),e&&e.coordDim}(r,i.valueDataDim)),i.baseAxis=n.getOtherAxis(i.valueAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim)):(i.baseAxis=r.getBaseAxis(),i.valueAxis=n.getOtherAxis(i.baseAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim),i.valueDataDim=t.mapDimension(i.valueAxis.dim)),i}function tk(e,t){return!(e&&e.containData&&t.coord&&(n=t,isNaN(parseFloat(n.x)))&&isNaN(parseFloat(n.y)))||e.containData(t.coord);var n}function nk(e,t){return e?function(e,n,r,i){return uh(i<2?e.coord&&e.coord[i]:e.value,t[i])}:function(e,n,r,i){return uh(e.value,t[i])}}function rk(e,t,n){var r,i;return"average"===n?(i=r=0,e.each(t,(function(e,t){isNaN(e)||(r+=e,i++)})),r/i):"median"===n?e.getMedian(t):e.getDataExtent(t)["max"===n?1:0]}var ik,ok=so();n(ak,ik=gg),ak.prototype.init=function(){this.markerGroupMap=ye()},ak.prototype.render=function(e,t,n){var r=this,i=this.markerGroupMap;i.each((function(e){ok(e).keep=!1})),t.eachSeries((function(e){var i=WC.getMarkerModelFromSeries(e,r.type);i&&r.renderSeries(e,i,t,n)})),i.each((function(e){ok(e).keep||r.group.remove(e.group)}))},ak.prototype.markKeep=function(e){ok(e).keep=!0},ak.prototype.toggleBlurSeries=function(e,t){var n=this;L(e,(function(e){e=WC.getMarkerModelFromSeries(e,n.type),e&&e.getData().eachItemGraphicEl((function(e){e&&(t?eu:tu)(e)}))}))},ak.type="marker",Rl=ak;function ak(){var e=null!==ik&&ik.apply(this,arguments)||this;return e.type=ak.type,e}function sk(e,t,n){var r=t.coordinateSystem;e.each((function(i){var o,a,s,u=e.getItemModel(i),l=Di(u.get("x"),n.getWidth());u=Di(u.get("y"),n.getHeight());isNaN(l)||isNaN(u)?t.getMarkerPosition?s=t.getMarkerPosition(e.getValues(e.dimensions,i)):r&&(o=e.get(r.dimensions[0],i),a=e.get(r.dimensions[1],i),s=r.dataToPoint([o,a])):s=[l,u],isNaN(l)||(s[0]=l),isNaN(u)||(s[1]=u),e.setItemLayout(i,s)}))}n(ck,uk=Rl),ck.prototype.updateTransform=function(e,t,n){t.eachSeries((function(e){var t=WC.getMarkerModelFromSeries(e,"markPoint");t&&(sk(t.getData(),e,n),this.markerGroupMap.get(e.id).updateLayout())}),this)},ck.prototype.renderSeries=function(e,t,n,r){var i=e.coordinateSystem,o=e.id,a=e.getData(),s=this.markerGroupMap,u=(s=s.get(o)||s.set(o,new bw),function(e,t,n){var r;r=e?N(e&&e.dimensions,(function(e){return I(I({},t.getData().getDimensionInfo(t.getData().mapDimension(e))||{}),{name:e,ordinalMeta:null})})):[{name:"value",type:"float"}];var i=new $v(r,n);n=N(n.get("data"),$(ZC,t));return e&&(n=j(n,$(tk,e))),e=nk(!!e,r),i.initData(n,null,e),i}(i,e,t));t.setData(u),sk(t.getData(),e,r),u.each((function(e){var n=u.getItemModel(e),r=n.getShallow("symbol"),i=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect"),c=((H(r)||H(i)||H(o)||H(s))&&(c=t.getRawValue(e),d=t.getDataParams(e),H(r)&&(r=r(c,d)),H(i)&&(i=i(c,d)),H(o)&&(o=o(c,d)),H(s))&&(s=s(c,d)),n.getModel("itemStyle").getItemStyle()),d=ly(a,"color");c.fill||(c.fill=d),u.setItemVisual(e,{symbol:r,symbolSize:i,symbolRotate:o,symbolOffset:s,symbolKeepAspect:l,style:c})})),s.updateData(u),this.group.add(s.group),u.eachItemGraphicEl((function(e){e.traverse((function(e){Cs(e).dataModel=t}))})),this.markKeep(s),s.group.silent=t.get("silent")||e.get("silent")},ck.type="markPoint";var uk,lk=ck;function ck(){var e=null!==uk&&uk.apply(this,arguments)||this;return e.type=ck.type,e}ob((function(e){e.registerComponentModel(YC),e.registerComponentView(lk),e.registerPreprocessor((function(e){UC(e.series,"markPoint")&&(e.markPoint=e.markPoint||{})}))})),n(fk,dk=WC),fk.prototype.createMarkerModelFromSeries=function(e,t,n){return new fk(e,t,n)},fk.type="markLine",fk.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"};var dk,pk=fk;function fk(){var e=null!==dk&&dk.apply(this,arguments)||this;return e.type=fk.type,e}var hk,gk=Al.prototype,yk=Ol.prototype,mk=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1};function vk(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}n((function(){return null!==hk&&hk.apply(this,arguments)||this}),hk=mk),n(xk,_k=Va),xk.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},xk.prototype.getDefaultShape=function(){return new mk},xk.prototype.buildPath=function(e,t){(vk(t)?gk:yk).buildPath.call(this,e,t)},xk.prototype.pointAt=function(e){return(vk(this.shape)?gk:yk).pointAt.call(this,e)},xk.prototype.tangentAt=function(e){var t=this.shape;t=vk(t)?[t.x2-t.x1,t.y2-t.y1]:yk.tangentAt.call(this,e);return Pe(t,t)};var _k,bk=xk;function xk(e){return e=_k.call(this,e)||this,e.type="ec-line",e}var wk=["fromSymbol","toSymbol"];function Sk(e){return"_"+e+"Type"}function Ak(e,t,n){var r,i,o,a=t.getItemVisual(n,e);return a&&"none"!==a?(r=t.getItemVisual(n,e+"Size"),i=t.getItemVisual(n,e+"Rotate"),o=t.getItemVisual(n,e+"Offset"),t=t.getItemVisual(n,e+"KeepAspect"),a+(n=Cy(r))+ky(o||0,n)+(i||"")+(t||"")):a}function Ck(e,t,n){var r,i,o,a=t.getItemVisual(n,e);if(a&&"none"!==a)return o=t.getItemVisual(n,e+"Size"),r=t.getItemVisual(n,e+"Rotate"),i=t.getItemVisual(n,e+"Offset"),t=t.getItemVisual(n,e+"KeepAspect"),i=ky(i||0,n=Cy(o)),(o=Ay(a,-n[0]/2+i[0],-n[1]/2+i[1],n[0],n[1],null,t)).__specifiedRotation=null==r||isNaN(r)?void 0:+r*Math.PI/180||0,o.name=e,o}function kk(e,t){e.x1=t[0][0],e.y1=t[0][1],e.x2=t[1][0],e.y2=t[1][1],e.percent=1,t=t[2],t?(e.cpx1=t[0],e.cpy1=t[1]):(e.cpx1=NaN,e.cpy1=NaN)}n(Mk,Tk=bi),Mk.prototype._createLine=function(e,t,n){var r,i=e.hostModel,o=e.getItemLayout(t);o=o,kk((r=new bk({name:"line",subPixelOptimize:!0})).shape,o),o=r;o.shape.percent=0,ic(o,{shape:{percent:1}},i,t),this.add(o),L(wk,(function(n){var r=Ck(n,e,t);this.add(r),this[Sk(n)]=Ak(n,e,t)}),this),this._updateCommonStl(e,t,n)},Mk.prototype.updateData=function(e,t,n){var r=e.hostModel,i=this.childOfName("line"),o=e.getItemLayout(t),a={shape:{}};kk(a.shape,o),rc(i,a,r,t),L(wk,(function(n){var r=Ak(n,e,t),i=Sk(n);this[i]!==r&&(this.remove(this.childOfName(n)),n=Ck(n,e,t),this.add(n)),this[i]=r}),this),this._updateCommonStl(e,t,n)},Mk.prototype.getLinePath=function(){return this.childAt(0)},Mk.prototype._updateCommonStl=function(e,t,n){var r=e.hostModel,i=this.childOfName("line"),o=n&&n.emphasisLineStyle,a=n&&n.blurLineStyle,s=n&&n.selectLineStyle,u=n&&n.labelStatesModels,l=n&&n.emphasisDisabled,c=n&&n.focus,d=n&&n.blurScope,p=(n&&!e.hasItemOption||(o=(h=(n=e.getItemModel(t)).getModel("emphasis")).getModel("lineStyle").getLineStyle(),a=n.getModel(["blur","lineStyle"]).getLineStyle(),s=n.getModel(["select","lineStyle"]).getLineStyle(),l=h.get("disabled"),c=h.get("focus"),d=h.get("blurScope"),u=Uc(n)),e.getItemVisual(t,"style")),f=p.stroke,h=(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,L(wk,(function(e){var t=this.childOfName(e);if(t){t.setColor(f),t.style.opacity=p.opacity;for(var n=0;n<Os.length;n++){var r=Os[n],o=i.getState(r);o&&(o=o.style||{},r=(r=t.ensureState(r)).style||(r.style={}),null!=o.stroke&&(r[t.__isEmptyBrush?"stroke":"fill"]=o.stroke),null!=o.opacity)&&(r.opacity=o.opacity)}t.markRedraw()}}),this),r.getRawValue(t));$c(this,u,{labelDataIndex:t,labelFetcher:{getFormattedLabel:function(t,n){return r.getFormattedLabel(t,n,e.dataType)}},inheritColor:f||"#000",defaultOpacity:p.opacity,defaultText:(null==h?e.getName(t):isFinite(h)?Ei(h):h)+""}),n=this.getTextContent();n&&(o=u.normal,n.__align=n.style.align,n.__verticalAlign=n.style.verticalAlign,n.__position=o.get("position")||"middle",U(a=o.get("distance"))||(a=[a,a]),n.__labelDistance=a),this.setTextConfig({position:null,local:!0,inside:!1}),du(this,c,d,l)},Mk.prototype.highlight=function(){Js(this)},Mk.prototype.downplay=function(){Zs(this)},Mk.prototype.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},Mk.prototype.setLinePoints=function(e){var t=this.childOfName("line");kk(t.shape,e),t.dirty()},Mk.prototype.beforeUpdate=function(){var e=this.childOfName("fromSymbol"),t=this.childOfName("toSymbol"),n=this.getTextContent();if(e||t||n&&!n.ignore){for(var r=1,i=this.parent;i;)i.scaleX&&(r/=i.scaleX),i=i.parent;var o=this.childOfName("line");if(this.__dirty||o.__dirty){var a=o.shape.percent,s=o.pointAt(0),u=o.pointAt(a),l=Te([],u,s);if(Pe(l,l),e&&(e.setPosition(s),v(e,0),e.scaleX=e.scaleY=r*a,e.markRedraw()),t&&(t.setPosition(u),v(t,1),t.scaleX=t.scaleY=r*a,t.markRedraw()),n&&!n.ignore){n.x=n.y=0;var c=void(n.originX=n.originY=0),d=void 0,p=(e=n.__labelDistance,e[0]*r),f=e[1]*r,h=(t=a/2,o.tangentAt(t)),g=(e=[h[1],-h[0]],o.pointAt(t)),y=(0<e[1]&&(e[0]=-e[0],e[1]=-e[1]),h[0]<0?-1:1),m=void("start"!==n.__position&&"end"!==n.__position&&(a=-Math.atan2(h[1],h[0]),u[0]<s[0]&&(a=Math.PI+a),n.rotation=a));switch(n.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":m=-f,d="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":m=f,d="top";break;default:m=0,d="middle"}switch(n.__position){case"end":n.x=l[0]*p+u[0],n.y=l[1]*f+u[1],c=.8<l[0]?"left":l[0]<-.8?"right":"center",d=.8<l[1]?"top":l[1]<-.8?"bottom":"middle";break;case"start":n.x=-l[0]*p+s[0],n.y=-l[1]*f+s[1],c=.8<l[0]?"right":l[0]<-.8?"left":"center",d=.8<l[1]?"bottom":l[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":n.x=p*y+s[0],n.y=s[1]+m,c=h[0]<0?"right":"left",n.originX=-p*y,n.originY=-m;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":n.x=g[0],n.y=g[1]+m,c="center",n.originY=-m;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":n.x=-p*y+u[0],n.y=u[1]+m,c=0<=h[0]?"right":"left",n.originX=p*y,n.originY=-m}n.scaleX=n.scaleY=r,n.setStyle({verticalAlign:n.__verticalAlign||d,align:n.__align||c})}}}function v(e,t){var n,r=e.__specifiedRotation;null==r?(n=o.tangentAt(t),e.attr("rotation",(1===t?-1:1)*Math.PI/2-Math.atan2(n[1],n[0]))):e.attr("rotation",r)}};var Tk,Ik=Mk;function Mk(e,t,n){var r=Tk.call(this)||this;return r._createLine(e,t,n),r}Pk.prototype.updateData=function(e){var t=this,n=(this._progressiveEls=null,this.group),r=this._lineData,i=(this._lineData=e,r||n.removeAll(),Dk(e));e.diff(r).add((function(n){t._doAdd(e,n,i)})).update((function(n,o){t._doUpdate(r,e,o,n,i)})).remove((function(e){n.remove(r.getItemGraphicEl(e))})).execute()},Pk.prototype.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl((function(t,n){t.updateLayout(e,n)}),this)},Pk.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=Dk(e),this._lineData=null,this.group.removeAll()},Pk.prototype.incrementalUpdate=function(e,t){function n(e){var t;e.isGroup||(t=e).animators&&0<t.animators.length||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var r,i=e.start;i<e.end;i++)Bk(t.getItemLayout(i))&&((r=new this._LineCtor(t,i,this._seriesScope)).traverse(n),this.group.add(r),t.setItemGraphicEl(i,r),this._progressiveEls.push(r))},Pk.prototype.remove=function(){this.group.removeAll()},Pk.prototype.eachRendered=function(e){Nc(this._progressiveEls||this.group,e)},Pk.prototype._doAdd=function(e,t,n){Bk(e.getItemLayout(t))&&(n=new this._LineCtor(e,t,n),e.setItemGraphicEl(t,n),this.group.add(n))},Pk.prototype._doUpdate=function(e,t,n,r,i){e=e.getItemGraphicEl(n),Bk(t.getItemLayout(r))?(e?e.updateData(t,r,i):e=new this._LineCtor(t,r,i),t.setItemGraphicEl(r,e),this.group.add(e)):this.group.remove(e)};var Ok=Pk;function Pk(e){this.group=new bi,this._LineCtor=e||Ik}function Dk(e){e=e.hostModel;var t=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:t.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:t.get("disabled"),blurScope:t.get("blurScope"),focus:t.get("focus"),labelStatesModels:Uc(e)}}function Ek(e){return isNaN(e[0])||isNaN(e[1])}function Bk(e){return e&&!Ek(e[0])&&!Ek(e[1])}function Lk(e,t,n,r){var i,o,a,s,u=e.getData();return(t=[ZC(e,(n=U(r)?r:"min"===(i=r.type)||"max"===i||"average"===i||"median"===i||null!=r.xAxis||null!=r.yAxis?(o=s=void 0,o=null!=r.yAxis||null!=r.xAxis?(s=t.getAxis(null!=r.yAxis?"y":"x"),te(r.yAxis,r.xAxis)):(s=(t=ek(r,u,t,e)).valueAxis,rk(u,Yv(u,t.valueDataDim),i)),t=1-(u="x"===s.dim?0:1),s={coord:[]},(a=k(r)).type=null,a.coord=[],a.coord[t]=-1/0,s.coord[t]=1/0,0<=(t=n.get("precision"))&&W(o)&&(o=+o.toFixed(Math.min(t,20))),a.coord[u]=s.coord[u]=o,[a,s,{type:i,valueIndex:r.valueIndex,value:o}]):[])[0]),ZC(e,n[1]),I({},n[2])])[2].type=t[2].type||null,T(t[2],t[0]),T(t[2],t[1]),t}var Nk=so();function Rk(e){return!isNaN(e)&&!isFinite(e)}function jk(e,t,n,r){var i=1-e,o=r.dimensions[e];return Rk(t[i])&&Rk(n[i])&&t[e]===n[e]&&r.getAxis(o).containData(t[e])}function Fk(e,t){if("cartesian2d"===e.type){var n=t[0].coord,r=t[1].coord;if(n&&r&&(jk(1,n,r,e)||jk(0,n,r,e)))return!0}return tk(e,t[0])&&tk(e,t[1])}function zk(e,t,n,r,i){var o,a,s=r.coordinateSystem,u=e.getItemModel(t),l=Di(u.get("x"),i.getWidth());u=Di(u.get("y"),i.getHeight());isNaN(l)||isNaN(u)?(o=r.getMarkerPosition?r.getMarkerPosition(e.getValues(e.dimensions,t)):(a=s.dimensions,i=e.get(a[0],t),r=e.get(a[1],t),s.dataToPoint([i,r])),Rx(s,"cartesian2d")&&(i=s.getAxis("x"),r=s.getAxis("y"),a=s.dimensions,Rk(e.get(a[0],t))?o[0]=i.toGlobalCoord(i.getExtent()[n?0:1]):Rk(e.get(a[1],t))&&(o[1]=r.toGlobalCoord(r.getExtent()[n?0:1]))),isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)):o=[l,u],e.setItemLayout(t,o)}n(Hk,$k=Rl),Hk.prototype.updateTransform=function(e,t,n){t.eachSeries((function(e){var t,r,i,o=WC.getMarkerModelFromSeries(e,"markLine");o&&(t=o.getData(),r=Nk(o).from,i=Nk(o).to,r.each((function(t){zk(r,t,!0,e,n),zk(i,t,!1,e,n)})),t.each((function(e){t.setItemLayout(e,[r.getItemLayout(e),i.getItemLayout(e)])})),this.markerGroupMap.get(e.id).updateLayout())}),this)},Hk.prototype.renderSeries=function(e,t,n,r){var i=e.coordinateSystem,o=e.id,a=e.getData(),s=this.markerGroupMap,u=(s=s.get(o)||s.set(o,new Ok),o=(this.group.add(s.group),function(e,t,n){var r;r=e?N(e&&e.dimensions,(function(e){return I(I({},t.getData().getDimensionInfo(t.getData().mapDimension(e))||{}),{name:e,ordinalMeta:null})})):[{name:"value",type:"float"}];var i=new $v(r,n),o=new $v(r,n),a=new $v([],n);n=N(n.get("data"),$(Lk,t,e,n));return e&&(n=j(n,$(Fk,e))),e=nk(!!e,r),i.initData(N(n,(function(e){return e[0]})),null,e),o.initData(N(n,(function(e){return e[1]})),null,e),a.initData(N(n,(function(e){return e[2]}))),a.hasItemOption=!0,{from:i,to:o,line:a}}(i,e,t)),o.from),l=o.to,c=o.line,d=(Nk(t).from=u,Nk(t).to=l,t.setData(c),t.get("symbol")),p=t.get("symbolSize"),f=t.get("symbolRotate"),h=t.get("symbolOffset");function g(t,n,i){var o=t.getItemModel(n),s=(zk(t,n,i,e,r),o.getModel("itemStyle").getItemStyle());null==s.fill&&(s.fill=ly(a,"color")),t.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:ne(o.get("symbolOffset",!0),h[i?0:1]),symbolRotate:ne(o.get("symbolRotate",!0),f[i?0:1]),symbolSize:ne(o.get("symbolSize"),p[i?0:1]),symbol:ne(o.get("symbol",!0),d[i?0:1]),style:s})}U(d)||(d=[d,d]),U(p)||(p=[p,p]),U(f)||(f=[f,f]),U(h)||(h=[h,h]),o.from.each((function(e){g(u,e,!0),g(l,e,!1)})),c.each((function(e){var t=c.getItemModel(e).getModel("lineStyle").getLineStyle();c.setItemLayout(e,[u.getItemLayout(e),l.getItemLayout(e)]),null==t.stroke&&(t.stroke=u.getItemVisual(e,"style").fill),c.setItemVisual(e,{fromSymbolKeepAspect:u.getItemVisual(e,"symbolKeepAspect"),fromSymbolOffset:u.getItemVisual(e,"symbolOffset"),fromSymbolRotate:u.getItemVisual(e,"symbolRotate"),fromSymbolSize:u.getItemVisual(e,"symbolSize"),fromSymbol:u.getItemVisual(e,"symbol"),toSymbolKeepAspect:l.getItemVisual(e,"symbolKeepAspect"),toSymbolOffset:l.getItemVisual(e,"symbolOffset"),toSymbolRotate:l.getItemVisual(e,"symbolRotate"),toSymbolSize:l.getItemVisual(e,"symbolSize"),toSymbol:l.getItemVisual(e,"symbol"),style:t})})),s.updateData(c),o.line.eachItemGraphicEl((function(e){Cs(e).dataModel=t,e.traverse((function(e){Cs(e).dataModel=t}))})),this.markKeep(s),s.group.silent=t.get("silent")||e.get("silent")},Hk.type="markLine";var $k,Uk=Hk;function Hk(){var e=null!==$k&&$k.apply(this,arguments)||this;return e.type=Hk.type,e}ob((function(e){e.registerComponentModel(pk),e.registerComponentView(Uk),e.registerPreprocessor((function(e){UC(e.series,"markLine")&&(e.markLine=e.markLine||{})}))}));var Vk=["rect","polygon","keep","clear"];function Gk(e,t){var n,r,i,o=Ki(e?e.brush:[]);o.length&&(n=[],L(o,(function(e){e=e.hasOwnProperty("toolbox")?e.toolbox:[],e instanceof Array&&(n=n.concat(e))})),(o=U(o=e&&e.toolbox)?o[0]:o)||(e.toolbox=[o={feature:{}}]),o=(e=o.feature||(o.feature={})).brush||(e.brush={}),(e=o.type||(o.type=[])).push.apply(e,n),i={},L(r=e,(function(e){i[e]=1})),r.length=0,L(i,(function(e,t){r.push(t)})),t)&&!e.length&&e.push.apply(e,Vk)}var Wk="\0_ec_interaction_mutex";function qk(e){return e[Wk]||(e[Wk]={})}ov({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},xe);var Qk,Yk=Math.min,Xk=Math.max,Kk=Math.pow,Jk="globalPan",Zk={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},eT={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},tT={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},nT=0,rT=(n(iT,Qk=Ve),iT.prototype.enableBrush=function(e){return this._brushType&&this._doDisableBrush(),e.brushType&&this._doEnableBrush(e),this},iT.prototype._doEnableBrush=function(e){var t,n=this._zr;this._enableGlobalPan||(Jk,t=this._uid,qk(n)["globalPan"]=t),L(this._handlers,(function(e,t){n.on(t,e)})),this._brushType=e.brushType,this._brushOption=T(k(tT),e,!0)},iT.prototype._doDisableBrush=function(){var e,t,n,r=this._zr;e=r,t=Jk,n=this._uid,(e=qk(e))[t]===n&&(e[t]=null),L(this._handlers,(function(e,t){r.off(t,e)})),this._brushType=this._brushOption=null},iT.prototype.setPanels=function(e){var t;return e&&e.length?(t=this._panels={},L(e,(function(e){t[e.panelId]=k(e)}))):this._panels=null,this},iT.prototype.mount=function(e){this._enableGlobalPan=(e=e||{}).enableGlobalPan;var t=this.group;return this._zr.add(t),t.attr({x:e.x||0,y:e.y||0,rotation:e.rotation||0,scaleX:e.scaleX||1,scaleY:e.scaleY||1}),this._transform=t.getLocalTransform(),this},iT.prototype.updateCovers=function(e){e=N(e,(function(e){return T(k(tT),e,!0)}));var t=this._covers,n=this._covers=[],r=this,i=this._creatingCover;return new yv(t,e,(function(e,t){return o(e.__brushOption,t)}),o).add(a).update(a).remove((function(e){t[e]!==i&&r.group.remove(t[e])})).execute(),this;function o(e,t){return(null!=e.id?e.id:"\0-brush-index-"+t)+"-"+e.brushType}function a(o,a){var s=e[o];null!=a&&t[a]===i?n[o]=t[a]:(o=n[o]=null!=a?(t[a].__brushOption=s,t[a]):aT(r,oT(r,s)),lT(r,o))}},iT.prototype.unmount=function(){return this.enableBrush(!1),fT(this),this._zr.remove(this.group),this},iT.prototype.dispose=function(){this.unmount(),this.off()},iT);function iT(e){var t=Qk.call(this)||this;return t._track=[],t._covers=[],t._handlers={},t._zr=e,t.group=new bi,t._uid="brushController_"+nT++,L(PT,(function(e,t){this._handlers[t]=z(e,this)}),t),t}function oT(e,t){var n=ET[t.brushType].createCover(e,t);return n.__brushOption=t,uT(n,t),e.group.add(n),n}function aT(e,t){var n=cT(t);return n.endCreating&&(n.endCreating(e,t),uT(t,t.__brushOption)),t}function sT(e,t){var n=t.__brushOption;cT(t).updateCoverShape(e,t,n.range,n)}function uT(e,t){var n=t.z;null==n&&(n=1e4),e.traverse((function(e){e.z=n,e.z2=n}))}function lT(e,t){cT(t).updateCommon(e,t),sT(e,t)}function cT(e){return ET[e.__brushOption.brushType]}function dT(e,t,n){var r,i,o=e._panels;return!o||(i=e._transform,L(o,(function(e){e.isTargetByCursor(t,n,i)&&(r=e)})),r)}function pT(e,t){return e=e._panels,!e||null==(t=t.__brushOption.panelId)||e[t]}function fT(e){var t=e._covers,n=t.length;return L(t,(function(t){e.group.remove(t)}),e),t.length=0,n}function hT(e,t){var n=N(e._covers,(function(e){e=e.__brushOption;var t=k(e.range);return{brushType:e.brushType,panelId:e.panelId,range:t}}));e.trigger("brush",{areas:n,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function gT(e){var t=e.length-1;return[e[0],e[t=t<0?0:t]]}function yT(e,t,n,r){var i=new bi;return i.add(new us({name:"main",style:bT(n),silent:!0,draggable:!0,cursor:"move",drift:$(ST,e,t,i,["n","s","w","e"]),ondragend:$(hT,t,{isEnd:!0})})),L(r,(function(n){i.add(new us({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:$(ST,e,t,i,n),ondragend:$(hT,t,{isEnd:!0})}))})),i}function mT(e,t,n,r){var i=r.brushStyle.lineWidth||0,o=Xk(i,6),a=n[0][0],s=n[1][0],u=a-i/2,l=s-i/2,c=n[0][1],d=(n=n[1][1],c-o+i/2),p=n-o+i/2,f=(c=c-a,n=n-s,c+i);i=n+i;_T(e,t,"main",a,s,c,n),r.transformable&&(_T(e,t,"w",u,l,o,i),_T(e,t,"e",d,l,o,i),_T(e,t,"n",u,l,f,o),_T(e,t,"s",u,p,f,o),_T(e,t,"nw",u,l,o,o),_T(e,t,"ne",d,l,o,o),_T(e,t,"sw",u,p,o,o),_T(e,t,"se",d,p,o,o))}function vT(e,t){var n=t.__brushOption,r=n.transformable,i=t.childAt(0);i.useStyle(bT(n)),i.attr({silent:!r,cursor:r?"move":"default"}),L([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(n){var i=t.childOfName(n.join(""));n=1===n.length?wT(e,n[0]):function(e,t){return e=[wT(e,t[0]),wT(e,t[1])],"e"!==e[0]&&"w"!==e[0]||e.reverse(),e.join("")}(e,n);i&&i.attr({silent:!r,invisible:!r,cursor:r?eT[n]+"-resize":null})}))}function _T(e,t,n,r,i,o,a){n=t.childOfName(n);n&&n.setShape((n=kT(e,t,[[r,i],[r+o,i+a]]),e=Yk(n[0][0],n[1][0]),t=Yk(n[0][1],n[1][1]),r=Xk(n[0][0],n[1][0]),n=Xk(n[0][1],n[1][1]),{x:e,y:t,width:r-e,height:n-t}))}function bT(e){return M({strokeNoScale:!0},e.brushStyle)}function xT(e,t,n,r){var i=[Yk(e,n),Yk(t,r)];e=[Xk(e,n),Xk(t,r)];return[[i[0],e[0]],[i[1],e[1]]]}function wT(e,t){return{left:"w",right:"e",top:"n",bottom:"s"}[kc({w:"left",e:"right",n:"top",s:"bottom"}[t],Ac(e.group))]}function ST(e,t,n,r,i,o){var a=n.__brushOption,s=e.toRectRange(a.range),u=CT(t,i,o);L(r,(function(e){e=Zk[e],s[e[0]][e[1]]+=u[e[0]]})),a.range=e.fromRectRange(xT(s[0][0],s[1][0],s[0][1],s[1][1])),lT(t,n),hT(t,{isEnd:!1})}function AT(e,t,n,r){var i=t.__brushOption.range,o=CT(e,n,r);L(i,(function(e){e[0]+=o[0],e[1]+=o[1]})),lT(e,t),hT(e,{isEnd:!1})}function CT(e,t,n){return e=e.group,t=e.transformCoordToLocal(t,n),n=e.transformCoordToLocal(0,0),[t[0]-n[0],t[1]-n[1]]}function kT(e,t,n){return t=pT(e,t),t&&!0!==t?t.clipPath(n,e._transform):k(n)}function TT(e){e=e.event,e.preventDefault&&e.preventDefault()}function IT(e,t,n){return e.childOfName("main").contain(t,n)}function MT(e,t,n,r){var i,o,a=e._creatingCover,s=e._creatingPanel,u=e._brushOption;return e._track.push(n.slice()),function(e){var t,n;if((e=e._track).length)return n=e[e.length-1],e=e[0],t=n[0]-e[0],n=n[1]-e[1],e=Kk(t*t+n*n,.5),6<e}(e)||a?(s&&!a&&("single"===u.brushMode&&fT(e),(o=k(u)).brushType=OT(o.brushType,s),o.panelId=!0===s?null:s.panelId,a=e._creatingCover=oT(e,o),e._covers.push(a)),a&&(o=ET[OT(e._brushType,s)],a.__brushOption.range=o.getCreatingRange(kT(e,a,e._track)),r&&(aT(e,a),o.updateCommon(e,a)),sT(e,a),i={isEnd:r})):r&&"single"===u.brushMode&&u.removeOnClick&&dT(e,t,n)&&fT(e)&&(i={isEnd:r,removeOnClick:!0}),i}function OT(e,t){return"auto"===e?t.defaultBrushType:e}var PT={mousedown:function(e){var t;this._dragging?DT(this,e):e.target&&e.target.draggable||(TT(e),t=this.group.transformCoordToLocal(e.offsetX,e.offsetY),this._creatingCover=null,(this._creatingPanel=dT(this,e,t))&&(this._dragging=!0,this._track=[t.slice()]))},mousemove:function(e){var t=e.offsetX,n=e.offsetY;t=this.group.transformCoordToLocal(t,n);(function(e,t,n){if(e._brushType&&!function(e,t,n){return e=e._zr,t<0||t>e.getWidth()||n<0||n>e.getHeight()}(e,t.offsetX,t.offsetY)){var r=e._zr,i=e._covers,o=dT(e,t,n);if(!e._dragging)for(var a=0;a<i.length;a++){var s=i[a].__brushOption;if(o&&(!0===o||s.panelId===o.panelId)&&ET[s.brushType].contain(i[a],n[0],n[1]))return}o&&r.setCursorStyle("crosshair")}})(this,e,t),this._dragging&&(TT(e),n=MT(this,e,t,!1))&&hT(this,n)},mouseup:function(e){DT(this,e)}};function DT(e,t){var n,r;e._dragging&&(TT(t),n=t.offsetX,r=t.offsetY,n=e.group.transformCoordToLocal(n,r),r=MT(e,t,n,!0),e._dragging=!1,e._track=[],e._creatingCover=null,r)&&hT(e,r)}var ET={lineX:BT(0),lineY:BT(1),rect:{createCover:function(e,t){function n(e){return e}return yT({toRectRange:n,fromRectRange:n},e,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(e){return e=gT(e),xT(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(e,t,n,r){mT(e,t,n,r)},updateCommon:vT,contain:IT},polygon:{createCover:function(e,t){var n=new bi;return n.add(new _l({name:"main",style:bT(t),silent:!0})),n},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new gl({name:"main",draggable:!0,drift:$(AT,e,t),ondragend:$(hT,e,{isEnd:!0})}))},updateCoverShape:function(e,t,n,r){t.childAt(0).setShape({points:kT(e,t,n)})},updateCommon:vT,contain:IT}};function BT(e){return{createCover:function(t,n){return yT({toRectRange:function(t){return t=[t,[0,100]],e&&t.reverse(),t},fromRectRange:function(t){return t[e]}},t,n,[[["w"],["e"]],[["n"],["s"]]][e])},getCreatingRange:function(t){return t=gT(t),[Yk(t[0][e],t[1][e]),Xk(t[0][e],t[1][e])]},updateCoverShape:function(t,n,r,i){var o=pT(t,n);o=[r,!0!==o&&o.getLinearBrushOtherExtent?o.getLinearBrushOtherExtent(e):[0,[(r=t._zr).getWidth(),r.getHeight()][1-e]]];e&&o.reverse(),mT(t,n,o,i)},updateCommon:vT,contain:IT}}var LT=L,NT=q,RT=(jT.prototype.mapValueToVisual=function(e){var t=this._normalizeData(e);return this._normalizedToVisual(t,e)},jT.prototype.getNormalizer=function(){return z(this._normalizeData,this)},jT.listVisualTypes=function(){return F(jT.visualHandlers)},jT.isValidType=function(e){return jT.visualHandlers.hasOwnProperty(e)},jT.eachVisual=function(e,t,n){q(e)?L(e,t,n):t.call(n,e)},jT.mapVisual=function(e,t,n){var r,i=U(e)?[]:q(e)?{}:(r=!0,null);return jT.eachVisual(e,(function(e,o){e=t.call(n,e,o),r?i=e:i[o]=e})),i},jT.retrieveVisuals=function(e){var t,n={};return e&&LT(jT.visualHandlers,(function(r,i){e.hasOwnProperty(i)&&(n[i]=e[i],t=!0)})),t?n:null},jT.prepareVisualTypes=function(e){if(U(e))e=e.slice();else{if(!NT(e))return[];var t=[];LT(e,(function(e,n){t.push(n)})),e=t}return e.sort((function(e,t){return"color"===t&&"color"!==e&&0===e.indexOf("color")?1:-1})),e},jT.dependsOn=function(e,t){return"color"===t?!(!e||0!==e.indexOf(t)):e===t},jT.findPieceIndex=function(e,t,n){for(var r,i=1/0,o=0,a=t.length;o<a;o++){var s=t[o].value;if(null!=s){if(s===e||V(s)&&s===e+"")return o;n&&c(s,o)}}for(o=0,a=t.length;o<a;o++){var u=t[o],l=u.interval;u=u.close;if(l){if(l[0]===-1/0){if(YT(u[1],e,l[1]))return o}else if(l[1]===1/0){if(YT(u[0],l[0],e))return o}else if(YT(u[0],l[0],e)&&YT(u[1],e,l[1]))return o;n&&c(l[0],o),n&&c(l[1],o)}}if(n)return e===1/0?t.length-1:e===-1/0?0:r;function c(t,n){t=Math.abs(t-e),t<i&&(i=t,r=n)}},jT.visualHandlers={color:{applyVisual:UT("color"),getColorMapper:function(){var e=this.option;return z("category"===e.mappingMethod?function(e,t){return t||(e=this._normalizeData(e)),HT.call(this,e)}:function(t,n,r){var i=!!r;return r=Yn(t=n?t:this._normalizeData(t),e.parsedVisual,r),i?r:tr(r,"rgba")},this)},_normalizedToVisual:{linear:function(e){return tr(Yn(e,this.option.parsedVisual),"rgba")},category:HT,piecewise:function(e,t){return t=WT.call(this,t),null==t?tr(Yn(e,this.option.parsedVisual),"rgba"):t},fixed:VT}},colorHue:zT((function(e,t){return Zn(e,t)})),colorSaturation:zT((function(e,t){return Zn(e,null,t)})),colorLightness:zT((function(e,t){return Zn(e,null,null,t)})),colorAlpha:zT(er),decal:{applyVisual:UT("decal"),_normalizedToVisual:{linear:null,category:HT,piecewise:null,fixed:null}},opacity:{applyVisual:UT("opacity"),_normalizedToVisual:GT([0,1])},liftZ:{applyVisual:UT("liftZ"),_normalizedToVisual:{linear:VT,category:VT,piecewise:VT,fixed:VT}},symbol:{applyVisual:function(e,t,n){n("symbol",this.mapValueToVisual(e))},_normalizedToVisual:{linear:$T,category:HT,piecewise:function(e,t){return t=WT.call(this,t),null==t?$T.call(this,e):t},fixed:VT}},symbolSize:{applyVisual:UT("symbolSize"),_normalizedToVisual:GT([0,1])}},jT);function jT(e){var t,n=e.mappingMethod,r=e.type;e=this.option=k(e),this.type=r,this.mappingMethod=n,this._normalizeData=QT[n],r=jT.visualHandlers[r];if(this.applyVisual=r.applyVisual,this.getColorMapper=r.getColorMapper,this._normalizedToVisual=r._normalizedToVisual[n],"piecewise"===n)FT(e),r=(t=e).pieceList,t.hasSpecialVisual=!1,L(r,(function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)}));else if("category"===n)if(e.categories){r=e;var i,o=r.categories,a=r.categoryMap={},s=r.visual;LT(o,(function(e,t){a[e]=t})),U(s)||(i=[],q(s)?LT(s,(function(e,t){t=a[t],i[null!=t?t:-1]=e})):i[-1]=s,s=qT(r,i));for(var u=o.length-1;0<=u;u--)null==s[u]&&(delete a[o[u]],o.pop())}else FT(e,!0);else ae("linear"!==n||e.dataExtent),FT(e)}function FT(e,t){var n=e.visual,r=[];q(n)?LT(n,(function(e){r.push(e)})):null!=n&&r.push(n),t||1!==r.length||{color:1,symbol:1}.hasOwnProperty(e.type)||(r[1]=r[0]),qT(e,r)}function zT(e){return{applyVisual:function(t,n,r){t=this.mapValueToVisual(t),r("color",e(n("color"),t))},_normalizedToVisual:GT([0,1])}}function $T(e){var t=this.option.visual;return t[Math.round(Pi(e,[0,1],[0,t.length-1],!0))]||{}}function UT(e){return function(t,n,r){r(e,this.mapValueToVisual(t))}}function HT(e){var t=this.option.visual;return t[this.option.loop&&-1!==e?e%t.length:e]}function VT(){return this.option.visual[0]}function GT(e){return{linear:function(t){return Pi(t,e,this.option.visual,!0)},category:HT,piecewise:function(t,n){return n=WT.call(this,n),null==n?Pi(t,e,this.option.visual,!0):n},fixed:VT}}function WT(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual&&(t=n[RT.findPieceIndex(e,n)],t&&t.visual))return t.visual[this.type]}function qT(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=N(t,(function(e){return e=Wn(e),e||[0,0,0,1]}))),t}var QT={linear:function(e){return Pi(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList;e=RT.findPieceIndex(e,t,!0);if(null!=e)return Pi(e,[0,t.length-1],[0,1],!0)},category:function(e){return e=this.option.categories?this.option.categoryMap[e]:e,null==e?-1:e},fixed:xe};function YT(e,t,n){return e?t<=n:t<n}var XT=L;function KT(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return 1}var JT={lineX:ZT(0),lineY:ZT(1),rect:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])},rect:function(e,t,n){return e&&n.boundingRect.intersect(e)}},polygon:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])&&sb(n.range,e[0],e[1])},rect:function(e,t,n){var r,i,o,a,s;n=n.range;return!(!e||n.length<=1)&&(r=e.x,i=e.y,o=e.width,a=e.height,s=n[0],!!(sb(n,r,i)||sb(n,r+o,i)||sb(n,r,i+a)||sb(n,r+o,i+a)||Et.create(e).contain(s[0],s[1])||Dc(r,i,r+o,i,n)||Dc(r,i,r,i+a,n)||Dc(r+o,i,r+o,i+a,n)||Dc(r,i+a,r+o,i+a,n))||void 0)}}};function ZT(e){var t=["x","y"],n=["width","height"];return{point:function(t,n,r){if(t)return r=r.range,eI(t[e],r)},rect:function(r,i,o){if(r)return o=o.range,(r=[r[t[e]],r[t[e]]+r[n[e]]])[1]<r[0]&&r.reverse(),eI(r[0],o)||eI(r[1],o)||eI(o[0],r)||eI(o[1],r)}}}function eI(e,t){return t[0]<=e&&e<=t[1]}var tI={axisPointer:1,tooltip:1,brush:1};function nI(e,t,n){var r=rI(e);return function(e,i){return r.contain(i[0],i[1])&&(i=e,e=n,o=(o=t).getComponentByElement(i.topTarget),i=o&&o.coordinateSystem,!(o&&o!==e&&!tI.hasOwnProperty(o.mainType)&&i&&i.model!==e));var o}}function rI(e){return Et.create(e)}var iI=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],oI=(aI.prototype.setOutputRanges=function(e,t){return this.matchOutputRanges(e,t,(function(e,t,n){(e.coordRanges||(e.coordRanges=[])).push(t),e.coordRange||(e.coordRange=t,n=pI[e.brushType](0,n,t),e.__rangeOffset={offset:hI[e.brushType](n.values,e.range,[1,1]),xyMinMax:n.xyMinMax})})),e},aI.prototype.matchOutputRanges=function(e,t,n){L(e,(function(e){var r=this.findTargetInfo(e,t);r&&!0!==r&&L(r.coordSyses,(function(r){var i=pI[e.brushType](1,r,e.range,!0);n(e,i.values,r,t)}))}),this)},aI.prototype.setInputRanges=function(e,t){L(e,(function(e){var n,r=this.findTargetInfo(e,t);e.range=e.range||[],r&&!0!==r&&(e.panelId=r.panelId,r=pI[e.brushType](0,r.coordSys,e.coordRange),n=e.__rangeOffset,e.range=n?hI[e.brushType](r.values,n.offset,function(e,t){return e=yI(e),t=yI(t),e=[e[0]/t[0],e[1]/t[1]],isNaN(e[0])&&(e[0]=1),isNaN(e[1])&&(e[1]=1),e}(r.xyMinMax,n.xyMinMax)):r.values)}),this)},aI.prototype.makePanelOpts=function(e,t){return N(this._targetInfoList,(function(n){var r,i,o=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:t?t(n):null,clipPath:(i=rI(i=o),function(e){return Mc(e,i)}),isTargetByCursor:nI(o,e,n.coordSysModel),getLinearBrushOtherExtent:(r=rI(r=o),function(e){e=e;var t=e?r.width:r.height;e=e?r.x:r.y;return[e,e+(t||0)]})}}))},aI.prototype.controlSeries=function(e,t,n){return e=this.findTargetInfo(e,n),!0===e||e&&0<=P(e.coordSyses,t.coordinateSystem)},aI.prototype.findTargetInfo=function(e,t){for(var n=this._targetInfoList,r=uI(t,e),i=0;i<n.length;i++){var o=n[i],a=e.panelId;if(a){if(o.panelId===a)return o}else for(var s=0;s<cI.length;s++)if(cI[s](r,o))return o}return!0},aI);function aI(e,t,n){var r=this,i=(this._targetInfoList=[],uI(t,e));L(lI,(function(e,t){n&&n.include&&!(0<=P(n.include,t))||e(i,r._targetInfoList)}))}function sI(e){return e[0]>e[1]&&e.reverse(),e}function uI(e,t){return lo(e,t,{includeMainTypes:iI})}var lI={grid:function(e,t){var n=e.xAxisModels,r=e.yAxisModels,i=(e=e.gridModels,ye()),o={},a={};(n||r||e)&&(L(n,(function(e){e=e.axis.grid.model,i.set(e.id,e),o[e.id]=!0})),L(r,(function(e){e=e.axis.grid.model,i.set(e.id,e),a[e.id]=!0})),L(e,(function(e){i.set(e.id,e),o[e.id]=!0,a[e.id]=!0})),i.each((function(e){var i=e.coordinateSystem,s=[];L(i.getCartesians(),(function(e,t){(0<=P(n,e.getAxis("x").model)||0<=P(r,e.getAxis("y").model))&&s.push(e)})),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:s[0],coordSyses:s,getPanelRect:dI.grid,xAxisDeclared:o[e.id],yAxisDeclared:a[e.id]})})))},geo:function(e,t){L(e.geoModels,(function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:dI.geo})}))}},cI=[function(e,t){var n=e.xAxisModel,r=e.yAxisModel;e=e.gridModel;return(e=!(e=!e&&n?n.axis.grid.model:e)&&r?r.axis.grid.model:e)&&e===t.gridModel},function(e,t){return e=e.geoModel,e&&e===t.geoModel}],dI={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(Ac(e)),t}},pI={lineX:$(fI,0),lineY:$(fI,1),rect:function(e,t,n,r){var i=e?t.pointToData([n[0][0],n[1][0]],r):t.dataToPoint([n[0][0],n[1][0]],r);e=e?t.pointToData([n[0][1],n[1][1]],r):t.dataToPoint([n[0][1],n[1][1]],r),t=[sI([i[0],e[0]]),sI([i[1],e[1]])];return{values:t,xyMinMax:t}},polygon:function(e,t,n,r){var i=[[1/0,-1/0],[1/0,-1/0]];return{values:N(n,(function(n){return n=e?t.pointToData(n,r):t.dataToPoint(n,r),i[0][0]=Math.min(i[0][0],n[0]),i[1][0]=Math.min(i[1][0],n[1]),i[0][1]=Math.max(i[0][1],n[0]),i[1][1]=Math.max(i[1][1],n[1]),n})),xyMinMax:i}}};function fI(e,t,n,r){var i=n.getAxis(["x","y"][e]),o=(n=sI(N([0,1],(function(e){return t?i.coordToData(i.toLocalCoord(r[e]),!0):i.toGlobalCoord(i.dataToCoord(r[e]))}))),[]);return o[e]=n,o[1-e]=[NaN,NaN],{values:n,xyMinMax:o}}var hI={lineX:$(gI,0),lineY:$(gI,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return N(e,(function(e,r){return[e[0]-n[0]*t[r][0],e[1]-n[1]*t[r][1]]}))}};function gI(e,t,n,r){return[t[0]-r[e]*n[0],t[1]-r[e]*n[1]]}function yI(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var mI=["inBrush","outOfBrush"],vI="__ecBrushSelect",_I="__ecInBrushSelectEvent";function bI(e){e.eachComponent({mainType:"brush"},(function(t){(t.brushTargetManager=new oI(t.option,e)).setInputRanges(t.areas,e)}))}function xI(e,t,n){var r,i,o,a,s,u,l=[];e.eachComponent({mainType:"brush"},(function(e){n&&"takeGlobalCursor"===n.type&&e.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})})),bI(e),e.eachComponent({mainType:"brush"},(function(t,n){var o={brushId:t.id,brushIndex:n,brushName:t.name,areas:k(t.areas),selected:[]},a=(l.push(o),t.option),s=a.brushLink,u=[],c=[],d=[],p=!1,f=(n||(r=a.throttleType,i=a.throttleDelay),N(t.areas,(function(e){var t,n,r,i=AI[e.brushType];i=M({boundingRect:i?i(e):void 0},e);return i.selectors=(n=(t=i).brushType,r={point:function(e){return JT[n].point(e,r,t)},rect:function(e){return JT[n].rect(e,r,t)}}),i}))),h=function(e,t,n){var r={};return XT(t,(function(t){var i=r[t]=(o.prototype.__hidden=o.prototype,new o);function o(){}XT(e[t],(function(e,r){RT.isValidType(r)&&(e={type:r,visual:e},n&&n(e,t),i[r]=new RT(e),"opacity"===r)&&((e=k(e)).type="colorAlpha",i.__hidden.__alphaForOpacity=new RT(e))}))})),r}(t.option,mI,(function(e){e.mappingMethod="fixed"}));function g(e){return"all"===s||u[e]}function y(e){return!!e.length}U(s)&&L(s,(function(e){u[e]=1})),e.eachSeries((function(n,r){var i,o,a,s,u,l,h=d[r]=[];"parallel"===n.subType?(u=r,l=(s=n).coordinateSystem,p=p||l.hasAxisBrushed(),g(u)&&l.eachActiveState(s.getData(),(function(e,t){"active"===e&&(c[t]=1)}))):(u=r,o=h,(i=n).brushSelector&&!function(e,t){return e=e.option.seriesIndex,null!=e&&"all"!==e&&(U(e)?P(e,t)<0:t!==e)}(t,u)&&(L(f,(function(n){t.brushTargetManager.controlSeries(n,i,e)&&o.push(n),p=p||y(o)})),g(u))&&y(o)&&(a=i.getData()).each((function(e){SI(i,o,a,e)&&(c[e]=1)})))})),e.eachSeries((function(e,t){var n={seriesId:e.id,seriesIndex:t,seriesName:e.name,dataIndex:[]},r=(o.selected.push(n),d[t]),i=e.getData(),a=g(t)?function(e){return c[e]?(n.dataIndex.push(i.getRawIndex(e)),"inBrush"):"outOfBrush"}:function(t){return SI(e,r,i,t)?(n.dataIndex.push(i.getRawIndex(t)),"inBrush"):"outOfBrush"};(g(t)?p:y(r))&&function(e,t,n,r,i,o){var a,s={};function u(e){return uy(n,a,e)}function l(e,t){var r=n,i=a,o=e,s=t;switch(o){case"color":r.ensureUniqueItemVisual(i,"style")[r.getVisual("drawType")]=s,r.setItemVisual(i,"colorFromPalette",!1);break;case"opacity":r.ensureUniqueItemVisual(i,"style").opacity=s;break;case"symbol":case"symbolSize":case"liftZ":r.setItemVisual(i,o,s)}}function c(e,c){if(a=null==o?e:c,c=n.getRawDataItem(a),!c||!1!==c.visualMap){c=r.call(i,e);for(var d=t[c],p=s[c],f=0,h=p.length;f<h;f++){var g=p[f];d[g]&&d[g].applyVisual(e,u,l)}}}L(e,(function(e){var n=RT.prepareVisualTypes(t[e]);s[e]=n})),null==o?n.each(c):n.each([o],c)}(mI,h,i,a)}))})),t=t,o=r,a=i,s=l,(u=n)&&!(u=t.getZr())[_I]&&(u[vI]||(u[vI]=wI),Pg(u,vI,a,o)(t,s))}function wI(e,t){var n;e.isDisposed()||((n=e.getZr())[_I]=!0,e.dispatchAction({type:"brushSelect",batch:t}),n[_I]=!1)}function SI(e,t,n,r){for(var i=0,o=t.length;i<o;i++){var a=t[i];if(e.brushSelector(r,n,a.selectors,a))return 1}}var AI={rect:function(e){return CI(e.range)},polygon:function(e){for(var t=e.range,n=0,r=t.length;n<r;n++){var i=i||[[1/0,-1/0],[1/0,-1/0]],o=t[n];o[0]<i[0][0]&&(i[0][0]=o[0]),o[0]>i[0][1]&&(i[0][1]=o[0]),o[1]<i[1][0]&&(i[1][0]=o[1]),o[1]>i[1][1]&&(i[1][1]=o[1])}return i&&CI(i)}};function CI(e){return new Et(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}n(II,kI=gg),II.prototype.init=function(e,t){this.ecModel=e,this.api=t,this.model,(this._brushController=new rT(t.getZr())).on("brush",z(this._onBrush,this)).mount()},II.prototype.render=function(e,t,n,r){this.model=e,this._updateController(e,t,n,r)},II.prototype.updateTransform=function(e,t,n,r){bI(t),this._updateController(e,t,n,r)},II.prototype.updateVisual=function(e,t,n,r){this.updateTransform(e,t,n,r)},II.prototype.updateView=function(e,t,n,r){this._updateController(e,t,n,r)},II.prototype._updateController=function(e,t,n,r){r&&r.$from===e.id||this._brushController.setPanels(e.brushTargetManager.makePanelOpts(n)).enableBrush(e.brushOption).updateCovers(e.areas.slice())},II.prototype.dispose=function(){this._brushController.dispose()},II.prototype._onBrush=function(e){var t=this.model.id,n=this.model.brushTargetManager.setOutputRanges(e.areas,this.ecModel);e.isEnd&&!e.removeOnClick||this.api.dispatchAction({type:"brush",brushId:t,areas:k(n),$from:t}),e.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:t,areas:k(n),$from:t})},II.type="brush";var kI,TI=II;function II(){var e=null!==kI&&kI.apply(this,arguments)||this;return e.type=II.type,e}n(PI,MI=hp),PI.prototype.optionUpdated=function(e,t){var n,r,i,o=this.option;t||(n=o,r=e,L(t=["inBrush","outOfBrush"],(function(e){r.hasOwnProperty(e)&&KT(r[e])&&(i=!0)})),i&&L(t,(function(e){r.hasOwnProperty(e)&&KT(r[e])?n[e]=k(r[e]):delete n[e]}))),e=o.inBrush=o.inBrush||{};o.outOfBrush=o.outOfBrush||{color:"#ddd"},e.hasOwnProperty("liftZ")||(e.liftZ=5)},PI.prototype.setAreas=function(e){e&&(this.areas=N(e,(function(e){return DI(this.option,e)}),this))},PI.prototype.setBrushOption=function(e){this.brushOption=DI(this.option,e),this.brushType=this.brushOption.brushType},PI.type="brush",PI.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],PI.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};var MI,OI=PI;function PI(){var e=null!==MI&&MI.apply(this,arguments)||this;return e.type=PI.type,e.areas=[],e.brushOption={},e}function DI(e,t){return T({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new ld(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}var EI,BI=["rect","polygon","lineX","lineY","keep","clear"];function LI(){return null!==EI&&EI.apply(this,arguments)||this}n(LI,EI=function(){}),LI.prototype.render=function(e,t,n){var r,i,o;t.eachComponent({mainType:"brush"},(function(e){r=e.brushType,i=e.brushOption.brushMode||"single",o=o||!!e.areas.length})),this._brushType=r,this._brushMode=i,L(e.get("type",!0),(function(t){e.setIconStatus(t,("keep"===t?"multiple"===i:"clear"===t?o:t===r)?"emphasis":"normal")}))},LI.prototype.updateView=function(e,t,n){this.render(e,t,n)},LI.prototype.getIcons=function(){var e=this.model,t=e.get("icon",!0),n={};return L(e.get("type",!0),(function(e){t[e]&&(n[e]=t[e])})),n},LI.prototype.onclick=function(e,t,n){var r=this._brushType,i=this._brushMode;"clear"===n?(t.dispatchAction({type:"axisAreaSelect",intervals:[]}),t.dispatchAction({type:"brush",command:"clear",areas:[]})):t.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?r:r!==n&&n,brushMode:"keep"===n?"multiple"===i?"single":"multiple":i}})},LI.getDefaultOption=function(e){return{show:!0,type:BI.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:e.getLocaleModel().get(["toolbox","brush","title"])}},ob((function(e){e.registerComponentView(TI),e.registerComponentModel(OI),e.registerPreprocessor(Gk),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,xI),e.registerAction({type:"brush",event:"brush",update:"updateVisual"},(function(e,t){t.eachComponent({mainType:"brush",query:e},(function(t){t.setAreas(e.areas)}))})),e.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},xe),e.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},xe)})),ob(wx);var NI={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},RI=(jI.prototype.evaluate=function(e){var t=s(e);return V(t)?this._condVal.test(e):!!W(t)&&this._condVal.test(e+"")},jI);function jI(e){null==(this._condVal=V(e)?new RegExp(e):Z(e)?e:null)&&Qi("")}zI.prototype.evaluate=function(){return this.value};var FI=zI;function zI(){}UI.prototype.evaluate=function(){for(var e=this.children,t=0;t<e.length;t++)if(!e[t].evaluate())return!1;return!0};var $I=UI;function UI(){}VI.prototype.evaluate=function(){for(var e=this.children,t=0;t<e.length;t++)if(e[t].evaluate())return!0;return!1};var HI=VI;function VI(){}WI.prototype.evaluate=function(){return!this.child.evaluate()};var GI=WI;function WI(){}QI.prototype.evaluate=function(){for(var e=!!this.valueParser,t=(0,this.getValue)(this.valueGetterParam),n=e?this.valueParser(t):null,r=0;r<this.subCondList.length;r++)if(!this.subCondList[r].evaluate(e?n:t))return!1;return!0};var qI=QI;function QI(){}function YI(e,t){if(!0===e||!1===e)return(n=new FI).value=e,n;var n;if(KI(e)||Qi(""),e.and)return XI("and",e,t);if(e.or)return XI("or",e,t);if(e.not)return n=t,KI(o=(o=e).not)||Qi(""),(u=new GI).child=YI(o,n),u.child||Qi(""),u;for(var r=e,i=t,o=i.prepareGetValue(r),a=[],s=F(r),u=r.parser,l=u?ch(u):null,c=0;c<s.length;c++){var d,p=s[c];"parser"===p||i.valueGetterAttrMap.get(p)||(d=be(NI,p)?NI[p]:p,p=r[p],p=l?l(p):p,(d=function(e,t){return"eq"===e||"ne"===e?new yh("eq"===e,t):be(dh,e)?new ph(e,t):null}(d,p)||"reg"===d&&new RI(p))||Qi(""),a.push(d))}return a.length||Qi(""),(u=new qI).valueGetterParam=o,u.valueParser=l,u.getValue=i.getValue,u.subCondList=a,u}function XI(e,t,n){return t=t[e],U(t)||Qi(""),t.length||Qi(""),e=new("and"===e?$I:HI),e.children=N(t,(function(e){return YI(e,n)})),e.children.length||Qi(""),e}function KI(e){return q(e)&&!B(e)}ZI.prototype.evaluate=function(){return this._cond.evaluate()};var JI=ZI;function ZI(e,t){this._cond=YI(e,t)}var eM={type:"echarts:filter",transform:function(e){for(var t,n,r=e.upstream,i=(e=e.config,n={valueGetterAttrMap:ye({dimension:!0}),prepareGetValue:function(e){var t=e.dimension;be(e,"dimension")||Qi(""),e=r.getDimensionInfo(t);return e||Qi(""),{dimIdx:e.index}},getValue:function(e){return r.retrieveValueFromItem(t,e.dimIdx)}},new JI(e,n)),o=[],a=0,s=r.count();a<s;a++)t=r.getRawDataItem(a),i.evaluate()&&o.push(t);return{data:o}}},tM={type:"echarts:sort",transform:function(e){for(var t=e.upstream,n=(e=e.config,e=Ki(e),e.length||Qi(""),[]),r=(e=(L(e,(function(e){var r=e.dimension,i=e.order,o=e.parser,a=(e=e.incomparable,r=(null==r&&Qi(""),"asc"!==i&&"desc"!==i&&Qi(""),e&&"min"!==e&&"max"!==e&&Qi(""),"asc"!==i&&"desc"!==i&&Qi(""),t.getDimensionInfo(r)),r||Qi(""),o?ch(o):null);o&&!a&&Qi(""),n.push({dimIdx:r.index,parser:a,comparator:new hh(i,e)})})),t.sourceFormat),e!==bp&&e!==xp&&Qi(""),[]),i=0,o=t.count();i<o;i++)r.push(t.getRawDataItem(i));return r.sort((function(e,r){for(var i=0;i<n.length;i++){var o=n[i],a=t.retrieveValueFromItem(e,o.dimIdx),s=t.retrieveValueFromItem(r,o.dimIdx);o=(o.parser&&(a=o.parser(a),s=o.parser(s)),o.comparator.evaluate(a,s));if(0!==o)return o}return 0})),{data:r}}};ob((function(e){e.registerTransform(eM),e.registerTransform(tM)})),e.Axis=id,e.ChartView=bg,e.ComponentModel=hp,e.ComponentView=gg,e.List=$v,e.Model=ld,e.PRIORITY=my,e.SeriesModel=ag,e.color=Xn,e.connect=function(e){var t;return U(e)&&(t=e,e=null,L(t,(function(t){null!=t.group&&(e=t.group)})),e=e||"g_"+Ym++,L(t,(function(t){t.group=e}))),qm[e]=!0,e},e.dataTool={},e.dependencies={zrender:"5.5.0"},e.disConnect=yy,e.disconnect=Km,e.dispose=function(e){V(e)?e=Wm[e]:e instanceof Pm||(e=Jm(e)),e instanceof Pm&&!e.isDisposed()&&e.dispose()},e.env=o,e.extendChartView=function(e){return e=bg.extend(e),bg.registerClass(e),e},e.extendComponentModel=function(e){return e=hp.extend(e),hp.registerClass(e),e},e.extendComponentView=function(e){return e=gg.extend(e),gg.registerClass(e),e},e.extendSeriesModel=function(e){return e=ag.extend(e),ag.registerClass(e),e},e.format=nd,e.getCoordinateSystemDimensions=function(e){if(e=Yp.get(e))return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()},e.getInstanceByDom=Jm,e.getInstanceById=function(e){return Wm[e]},e.getMap=function(e){var t=em.getMap;return t&&t(e)},e.graphic=wd,e.helper=vy,e.init=function(e,t,n){var r=!(n&&n.ssr);if(r){var i=Jm(e);if(i)return i}return(i=new Pm(e,t,n)).id="ec_"+Qm++,Wm[i.id]=i,r&&ho(e,Xm,i.id),Tm(i),Zy.trigger("afterinit",i),i},e.innerDrawElementOnCanvas=Wy,e.matrix=wt,e.number=To,e.parseGeoJSON=xb,e.parseGeoJson=xb,e.registerAction=ov,e.registerCoordinateSystem=av,e.registerLayout=sv,e.registerLoading=dv,e.registerLocale=vd,e.registerMap=pv,e.registerPostInit=nv,e.registerPostUpdate=rv,e.registerPreprocessor=ev,e.registerProcessor=tv,e.registerTheme=Zm,e.registerTransform=fv,e.registerUpdateLifecycle=iv,e.registerVisual=uv,e.setCanvasCreator=function(e){p({createCanvas:e})},e.setPlatformAPI=p,e.throttle=Og,e.time=Sc,e.use=ob,e.util=sy,e.vector=ze,e.version="5.5.0",e.zrUtil=Se,e.zrender=Oi}))}).call(this,n("3223")["default"])},"53ac":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={keyboard:{mode:"number",dotDisabled:!1,tooltip:!0,showTips:!0,tips:"",showCancel:!0,showConfirm:!0,random:!1,safeAreaInsetBottom:!0,closeOnClickOverlay:!0,show:!1,overlay:!0,zIndex:10075,cancelText:"取消",confirmText:"确定",autoChange:!1}}},"53cc":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={col:{span:12,offset:0,justify:"start",align:"stretch",textAlign:"left"}}},"542e":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={radioGroup:{value:"",disabled:!1,shape:"circle",activeColor:"#2979ff",inactiveColor:"#c8c9cc",name:"",size:18,placement:"row",label:"",labelColor:"#303133",labelSize:14,labelDisabled:!1,iconColor:"#ffffff",iconSize:12,borderBottom:!1,iconPlacement:"left"}}},"548a":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{name:{type:[String,Number],default:e.$u.props.numberBox.name},value:{type:[String,Number],default:e.$u.props.numberBox.value},min:{type:[String,Number],default:e.$u.props.numberBox.min},max:{type:[String,Number],default:e.$u.props.numberBox.max},step:{type:[String,Number],default:e.$u.props.numberBox.step},integer:{type:Boolean,default:e.$u.props.numberBox.integer},disabled:{type:Boolean,default:e.$u.props.numberBox.disabled},disabledInput:{type:Boolean,default:e.$u.props.numberBox.disabledInput},asyncChange:{type:Boolean,default:e.$u.props.numberBox.asyncChange},inputWidth:{type:[String,Number],default:e.$u.props.numberBox.inputWidth},showMinus:{type:Boolean,default:e.$u.props.numberBox.showMinus},showPlus:{type:Boolean,default:e.$u.props.numberBox.showPlus},decimalLength:{type:[String,Number,null],default:e.$u.props.numberBox.decimalLength},longPress:{type:Boolean,default:e.$u.props.numberBox.longPress},color:{type:String,default:e.$u.props.numberBox.color},buttonSize:{type:[String,Number],default:e.$u.props.numberBox.buttonSize},bgColor:{type:String,default:e.$u.props.numberBox.bgColor},cursorSpacing:{type:[String,Number],default:e.$u.props.numberBox.cursorSpacing},disablePlus:{type:Boolean,default:e.$u.props.numberBox.disablePlus},disableMinus:{type:Boolean,default:e.$u.props.numberBox.disableMinus},iconStyle:{type:[Object,String],default:e.$u.props.numberBox.iconStyle}}};t.default=n}).call(this,n("df3c")["default"])},"55c6":function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("7eb4")),o=r(n("ee10")),a=(r(n("91b3")),function(e){return{enter:"u-".concat(e,"-enter u-").concat(e,"-enter-active"),"enter-to":"u-".concat(e,"-enter-to u-").concat(e,"-enter-active"),leave:"u-".concat(e,"-leave u-").concat(e,"-leave-active"),"leave-to":"u-".concat(e,"-leave-to u-").concat(e,"-leave-active")}}),s={methods:{clickHandler:function(){this.$emit("click")},vueEnter:function(){var e=this,t=a(this.mode);this.status="enter",this.$emit("beforeEnter"),this.inited=!0,this.display=!0,this.classes=t.enter,this.$nextTick((0,o.default)(i.default.mark((function n(){return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:e.$emit("enter"),e.transitionEnded=!1,e.$emit("afterEnter"),e.classes=t["enter-to"];case 4:case"end":return n.stop()}}),n)}))))},vueLeave:function(){var e=this;if(this.display){var t=a(this.mode);this.status="leave",this.$emit("beforeLeave"),this.classes=t.leave,this.$nextTick((function(){e.transitionEnded=!1,e.$emit("leave"),setTimeout(e.onTransitionEnd,e.duration),e.classes=t["leave-to"]}))}},onTransitionEnd:function(){this.transitionEnded||(this.transitionEnded=!0,this.$emit("leave"===this.status?"afterLeave":"afterEnter"),!this.show&&this.display&&(this.display=!1,this.inited=!1))}}};t.default=s},"55e7":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={transition:{show:!1,mode:"fade",duration:"300",timingFunction:"ease-out"}}},5609:function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.canIUseCanvas2d=function(){return function(e){var t=a.SDKVersion,n=a.platform;return"mac"!==n&&o(t,e)>=0}("2.9.0")},t.compareVersion=o,t.convertTouchesToArray=function(e){if(Array.isArray(e))return e;if("object"===(0,i.default)(e)&&null!==e)return Object.values(e);return e},t.devicePixelRatio=void 0,t.getRect=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r="boundingClientRect",i=n.context,o=n.type,a=void 0===o?r:o;return new Promise((function(n,o){var s=e.createSelectorQuery().in(i).select(t),u=function(e){e?n(e):o()};a==r?s[a](u).exec():s[a]({node:!0,size:!0,rect:!0},u).exec()}))},t.sleep=function(e){return new Promise((function(t){setTimeout((function(){t(!0)}),e)}))},t.wrapTouch=function(e){for(var t=0;t<e.touches.length;++t){var n=e.touches[t];n.offsetX=n.x,n.offsetY=n.y}return e};var i=r(n("3b2d"));function o(e,t){e=e.split("."),t=t.split(".");var n=Math.max(e.length,t.length);while(e.length<n)e.push("0");while(t.length<n)t.push("0");for(var r=0;r<n;r++){var i=parseInt(e[r],10),o=parseInt(t[r],10);if(i>o)return 1;if(i<o)return-1}return 0}var a=e.getSystemInfoSync();var s=e.getSystemInfoSync().pixelRatio;t.devicePixelRatio=s}).call(this,n("df3c")["default"])},5644:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={watch:{accept:{immediate:!0,handler:function(e){}}}}},"57d5":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{autoClose:{type:Boolean,default:e.$u.props.swipeAction.autoClose}}};t.default=n}).call(this,n("df3c")["default"])},"57e5":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={token:function(e){return e.user.token},userId:function(e){return e.user.userId},userInfo:function(e){return e.user.userInfo}};t.default=r},"58ba":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABW9JREFUWEfNme9vFEUYx78zu3u3/c2dVKAU04JEaxCMoqQYMdWQSFT0hfEV+hJfKfwHRhIT9IWRFyZi9JXyRsQYEnzLC1/QpEBEAU2g9kr5YUvv2vu5u7c7M/rM3bVHb4/joC2dF73r7c3OZ77PzLPfZ46h3E6PjdktneYHUNingC2MMbtybTlelVIuAy4q4Hs3G3wz1N/v0riM/pxN3XzMV+IUA9uyHDCNxlBQFy1mvL493nONkXJ2pzmyUuAq8ATpZoLn2ZnpiY8YY0cazerhXFcH2fD0xAgY2/5wABqMqtRZUtCptyGUUoBSkAAu5ZO4lE/Bk/TffTa94kvNYAz9did2dK6FxXnoDfXGGU5eVwuvajAAUko4IsBnE+dxJjt5n1R379Znd+DTjYNYE2kN/WJdQKEkvCDAd7cu42QqsfhwbF7Op1pjOLJ5F1jVZ5UBawBJPUHKBUVMF3L48MpvcGSweIAcYNwAjHJYy1BfPzGEx1u6asapAaSweoGPdNHDaGEGp6YTyPkeikJAoWY1NAaf66LgS4Fbbh5FpoCoBWaaQBnwUP8O7Oxad3dAUo8Ak4GHUSeNcSeDq4VZ3HSyyAYehFK0Z5pqrDwproCIBLq4hWtuFrPKB+wImGFoyEN9O7Bz1T0A5oWPhJvFjO/iHyeNv/Iz+oZZUSwBhqi4taMbY04a2aAYvtBV6ZFlSqBNAmt4VGcFYVtgkYgG/KTvBby4qqdBiJXCdS+PmcDTgFedNC7nUxowQ4AhcG2GhQuD+3Ds1t/4ePRMuLpadQVS0ZZAtzRRED4mVRHMjgCc3xsgzXLUyYBUnAdMYtzLlQCr4tsbbcfe7o0Yim/Aa6v7kBM+jk78gT9z0zgxdbWOkkqHOS4MMCVxQzhgdvQBAN00LufCAYdivTix7c2aJHshexsvnz1+x2TmUoYiQIaYZOBSLS0gDfr+ugF8NfDKnFoTbha7Rn7EtK+dUu16UoClSEEOLpdYQRr91fgG/PLM3jmQK4VZPDt8rO4up+yyrIB7HunD/t6n8cX4OdBOfrt7E3af/3nlADaVEMkdL7eCKw5wKLYBXWakKa5zmSkk3Izus+QKfr75JcTMaFOAP01ewa/JkhtacsDqRN0UZfnLSw7Yyi1E6rjfesDpoIhAlVz44gPqZ/H8k+T0c++gJ9relHiHEyP49sbF5QFcMSEmp5GqcjPjXtnNNGsGF2i9aCEmwJmA/GBG2y3yh2nh4fjWN/BoSHGT9B289fvJhn570QCpkksHHhJeRhvWMSejgXvsDrRws2YNUs1ChrVR40rBUuRmOLi40ywc7h/E9q41tQajuuwkP0iq0YDkCW96eZABIGc95btwZVAyrWRAq2rcRmD6unbVJcC4MiD9ANdFQfvBNjOCYwO70W7V5tg7iqYKoCsFijJAKvBAFopCPFUsICt8BFJq299kaTK/i8EQg4msW0DCz4HbNg72bsOe1X3gISksFNBTAkIqONJHKnAx6Tna41FdQpWZfIDNYoGhHQb+zafhSIF31z+Jwdh6WIYB1giQpjnuZkEKUoVHCZbe50RRW3pam/QZadh0KxdOnDFEwbEJNuJWFPH2TkRNS6vXsHAnqNnAw23f1QgUSMp9VMj7Spbgqiu7ZtZheU4MDK3cxFphoM22YUciMLgRCqefPgsPjwjqhptHQQZlnRRkuSqrvJbUa4auoreCwTh6uA2TlLTqK6f3lT48Cjt+UwoZ4aMgCLI09fsIas0qiDKODmbqqRm05v6vh8PCOteRjt+GkxMHAPblwrtVTrgqr02vuTodKkB3BSv3VUodWPlHwAS7og/RK5HQh+kd5n4GvPcwf4YAww9OJjha+RniP0tEvPg3eQUtAAAAAElFTkSuQmCC"},5916:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{label:{type:String,default:e.$u.props.formItem.label},prop:{type:String,default:e.$u.props.formItem.prop},borderBottom:{type:[String,Boolean],default:e.$u.props.formItem.borderBottom},labelPosition:{type:String,default:e.$u.props.formItem.labelPosition},labelWidth:{type:[String,Number],default:e.$u.props.formItem.labelWidth},rightIcon:{type:String,default:e.$u.props.formItem.rightIcon},leftIcon:{type:String,default:e.$u.props.formItem.leftIcon},required:{type:Boolean,default:e.$u.props.formItem.required},leftIconStyle:{type:[String,Object],default:e.$u.props.formItem.leftIconStyle}}};t.default=n}).call(this,n("df3c")["default"])},"5af4":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={text:{type:"",show:!0,text:"",prefixIcon:"",suffixIcon:"",mode:"",href:"",format:"",call:!1,openType:"",bold:!1,block:!1,lines:"",color:"#303133",size:15,iconStyle:function(){return{fontSize:"15px"}},decoration:"none",margin:0,lineHeight:"",align:"left",wordWrap:"normal"}}},"5c67":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{name:{type:[String,Number,Boolean],default:e.$u.props.checkbox.name},shape:{type:String,default:e.$u.props.checkbox.shape},size:{type:[String,Number],default:e.$u.props.checkbox.size},checked:{type:Boolean,default:e.$u.props.checkbox.checked},disabled:{type:[String,Boolean],default:e.$u.props.checkbox.disabled},activeColor:{type:String,default:e.$u.props.checkbox.activeColor},inactiveColor:{type:String,default:e.$u.props.checkbox.inactiveColor},iconSize:{type:[String,Number],default:e.$u.props.checkbox.iconSize},iconColor:{type:String,default:e.$u.props.checkbox.iconColor},label:{type:[String,Number],default:e.$u.props.checkbox.label},labelSize:{type:[String,Number],default:e.$u.props.checkbox.labelSize},labelColor:{type:String,default:e.$u.props.checkbox.labelColor},labelDisabled:{type:[String,Boolean],default:e.$u.props.checkbox.labelDisabled}}};t.default=n}).call(this,n("df3c")["default"])},"5ebc":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=null;var i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null!==r&&clearTimeout(r),n){var i=!r;r=setTimeout((function(){r=null}),t),i&&"function"===typeof e&&e()}else r=setTimeout((function(){"function"===typeof e&&e()}),t)};t.default=i},"5f2f":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={list:{showScrollbar:!1,lowerThreshold:50,upperThreshold:0,scrollTop:0,offsetAccuracy:10,enableFlex:!1,pagingEnabled:!1,scrollable:!0,scrollIntoView:"",scrollWithAnimation:!1,enableBackToTop:!1,height:0,width:0,preLoadScreen:1}}},"5f78":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABUNJREFUWEftmcluHFUUhr9za+jBdnfbhCSOiTMwSKDsGB4AKSskeABAKCxggUSQwjuwiCKBxAbEsAjiARgklGTLKhESUiQkkACRODERsWMnTne7u+uic2+V2x1X2aXYGRYpq912VXXVV/85597/3BbSzf71dZXWzLvAG1g5glDNjt2Xd0sHsRfBnObGpc/l0LGO3lf0l104Owv2R0SO3BeYrW5iFVRekamj/4hTrjlz/qGBWwupvcjS3ItiF8+9D/aTrR7qwRy3H4hdPHMe5IVNAZJVsLcLThEw4yDBPXgGe0Hswtl2YUGsXoLFL6B9AWyvGEABx16Gybc8rMtul97b2ywdsYtnbe5Vun/C/AlIbpW/SXQIpk+Cmcjqb9ug+YDWwtXj0P1tA5we0per/jz0xmvQehskTMO+UUm3R8SJLFsonQ+4ehnmjuXC9RPoD2AwGIKOnBi0YPpUmpcVEDNUMz1RoQIjhGFAaAxiitMhH7D9K8x/OHJfVa3Xh9UkhuAxkCglVB2dFH6f1EFVDB8HUwdUySHAIDF0BzEQUYlDqnFMHAaFkKUAFU5VIzpAWN2L2DbYLtgk08SHVHMv3A3RExDuAdMAiVMVh8+r17vZrbHSG6deianXYsIgyA13KcAkARvNEsS7oH8dkhVf1QroxDFevaAJ0QxEhz1kMJkC5g9BS+0anaTBRL1KNQ4xRtNhdCsHaCOk/jzSvwqDRbCdVL1MQQXU0LcgnoX4KYhmIZwCKukDbMwzVfLflSnqlTpjtQqBAt5xWjnAYDcmmobeHCQ3wa6O1rDVwbriAaP9ED8N8cEtAVWrhfYEJmgwXqu4MN8VoA32IWELnIIK2L/jQvrYMeg5qmBUHnCpM4aVJuP16nYAp5GgAf35dODWilm/aQVriKfg8He+WK6fhnBy0xDrFXYQcCIFXAEKALVAnvvDk1/9CIxayuIc3DnAcBpRVZyCjwBHkyfXLNwxk9giBV3e6ayi41cE0V545md/g2ufguhUF4M1fmgiG5aGDDuTg0WAT56BxtE8y7BxX/cS3Phhw/57C3jwW2i+uu6mOh7W/P/OP64bdTt/w/K5+wzoTIJWaTrMRPvg2YseYv4kSHV4PCe8j6p4GK9MwQc1DgY6k9zFOLgWYjUB+aZ0Z4pEAcMG9EpMdbNfedOgFevsVpmZpMV4fVtmYSY1C1eKzYKqpXNxfGBot7bwg5oiy2oWzKQDLG+3ur/DlffWUsyaXUi8H3pXIFkC7ZPXqlLzL/DDS7BrHeAMmFbaBmw0otnFlzpNwrhJLY4wQVnDmvTg8uvenDrnF0DtJWRwDQYLkLS9YXDtiOZW5JukaI9rC4gO+r9dj6w9ST6gtcJybw+1ao1I+5KcPC3ui2/+BP+dGqqoeaheb6CW/1Y6ECuhFoCGtwHhXm9Yw33earkiUbufXyDtQRMJWsRRvt3XmxcDqh9f/h4Wv3TLHq4XVlcdH0JcP5I2Ta7/VcCm7+S0WXK5N5aGV+FGAS1Cz066zwSBwbgeOf8hNgfUGA6WoP0LaHiTNjbpOp/nwu62NP+0g9PqVVAZB6Ot5caeWD9npYaIwRhBfwoEdlcvBnTJp7LpUkLf9yGJNku303eday1W88u1ljVfKPoukQPwdy5oyksu3Wy+eLQeUqvW9cEKq6/UOrnQKGS21KHKZt1ZSYoiP+QXj0osv42A+rpeW6BRBu3qHGgWrm2CDUvzggIeB/m4nKnLus102cjBZZ/cPJdKX3/kRDn+8C8Bu4A9zIvomaL+a4j970Dy5oP9GoJvuDH3WfY1xP+Y4p4EVhZblQAAAABJRU5ErkJggg=="},6152:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={methods:{getTouchPoint:function(e){return e?e.touches&&e.touches[0]?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.changedTouches&&e.changedTouches[0]?{x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY}:{x:e.clientX||0,y:e.clientY||0}:{x:0,y:0}},resetTouchStatus:function(){this.direction="",this.deltaX=0,this.deltaY=0,this.offsetX=0,this.offsetY=0},touchStart:function(e){this.resetTouchStatus();var t=this.getTouchPoint(e);this.startX=t.x,this.startY=t.y},touchMove:function(e){var t=this.getTouchPoint(e);this.deltaX=t.x-this.startX,this.deltaY=t.y-this.startY,this.offsetX=Math.abs(this.deltaX),this.offsetY=Math.abs(this.deltaY),this.direction=this.direction||function(e,t){return e>t&&e>10?"horizontal":t>e&&t>10?"vertical":""}(this.offsetX,this.offsetY)}}};t.default=r},6344:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={"uicon-level":"","uicon-column-line":"","uicon-checkbox-mark":"","uicon-folder":"","uicon-movie":"","uicon-star-fill":"","uicon-star":"","uicon-phone-fill":"","uicon-phone":"","uicon-apple-fill":"","uicon-chrome-circle-fill":"","uicon-backspace":"","uicon-attach":"","uicon-cut":"","uicon-empty-car":"","uicon-empty-coupon":"","uicon-empty-address":"","uicon-empty-favor":"","uicon-empty-permission":"","uicon-empty-news":"","uicon-empty-search":"","uicon-github-circle-fill":"","uicon-rmb":"","uicon-person-delete-fill":"","uicon-reload":"","uicon-order":"","uicon-server-man":"","uicon-search":"","uicon-fingerprint":"","uicon-more-dot-fill":"","uicon-scan":"","uicon-share-square":"","uicon-map":"","uicon-map-fill":"","uicon-tags":"","uicon-tags-fill":"","uicon-bookmark-fill":"","uicon-bookmark":"","uicon-eye":"","uicon-eye-fill":"","uicon-mic":"","uicon-mic-off":"","uicon-calendar":"","uicon-calendar-fill":"","uicon-trash":"","uicon-trash-fill":"","uicon-play-left":"","uicon-play-right":"","uicon-minus":"","uicon-plus":"","uicon-info":"","uicon-info-circle":"","uicon-info-circle-fill":"","uicon-question":"","uicon-error":"","uicon-close":"","uicon-checkmark":"","uicon-android-circle-fill":"","uicon-android-fill":"","uicon-ie":"","uicon-IE-circle-fill":"","uicon-google":"","uicon-google-circle-fill":"","uicon-setting-fill":"","uicon-setting":"","uicon-minus-square-fill":"","uicon-plus-square-fill":"","uicon-heart":"","uicon-heart-fill":"","uicon-camera":"","uicon-camera-fill":"","uicon-more-circle":"","uicon-more-circle-fill":"","uicon-chat":"","uicon-chat-fill":"","uicon-bag-fill":"","uicon-bag":"","uicon-error-circle-fill":"","uicon-error-circle":"","uicon-close-circle":"","uicon-close-circle-fill":"","uicon-checkmark-circle":"","uicon-checkmark-circle-fill":"","uicon-question-circle-fill":"","uicon-question-circle":"","uicon-share":"","uicon-share-fill":"","uicon-shopping-cart":"","uicon-shopping-cart-fill":"","uicon-bell":"","uicon-bell-fill":"","uicon-list":"","uicon-list-dot":"","uicon-zhihu":"","uicon-zhihu-circle-fill":"","uicon-zhifubao":"","uicon-zhifubao-circle-fill":"","uicon-weixin-circle-fill":"","uicon-weixin-fill":"","uicon-twitter-circle-fill":"","uicon-twitter":"","uicon-taobao-circle-fill":"","uicon-taobao":"","uicon-weibo-circle-fill":"","uicon-weibo":"","uicon-qq-fill":"","uicon-qq-circle-fill":"","uicon-moments-circel-fill":"","uicon-moments":"","uicon-qzone":"","uicon-qzone-circle-fill":"","uicon-baidu-circle-fill":"","uicon-baidu":"","uicon-facebook-circle-fill":"","uicon-facebook":"","uicon-car":"","uicon-car-fill":"","uicon-warning-fill":"","uicon-warning":"","uicon-clock-fill":"","uicon-clock":"","uicon-edit-pen":"","uicon-edit-pen-fill":"","uicon-email":"","uicon-email-fill":"","uicon-minus-circle":"","uicon-minus-circle-fill":"","uicon-plus-circle":"","uicon-plus-circle-fill":"","uicon-file-text":"","uicon-file-text-fill":"","uicon-pushpin":"","uicon-pushpin-fill":"","uicon-grid":"","uicon-grid-fill":"","uicon-play-circle":"","uicon-play-circle-fill":"","uicon-pause-circle-fill":"","uicon-pause":"","uicon-pause-circle":"","uicon-eye-off":"","uicon-eye-off-outline":"","uicon-gift-fill":"","uicon-gift":"","uicon-rmb-circle-fill":"","uicon-rmb-circle":"","uicon-kefu-ermai":"","uicon-server-fill":"","uicon-coupon-fill":"","uicon-coupon":"","uicon-integral":"","uicon-integral-fill":"","uicon-home-fill":"","uicon-home":"","uicon-hourglass-half-fill":"","uicon-hourglass":"","uicon-account":"","uicon-plus-people-fill":"","uicon-minus-people-fill":"","uicon-account-fill":"","uicon-thumb-down-fill":"","uicon-thumb-down":"","uicon-thumb-up":"","uicon-thumb-up-fill":"","uicon-lock-fill":"","uicon-lock-open":"","uicon-lock-opened-fill":"","uicon-lock":"","uicon-red-packet-fill":"","uicon-photo-fill":"","uicon-photo":"","uicon-volume-off-fill":"","uicon-volume-off":"","uicon-volume-fill":"","uicon-volume":"","uicon-red-packet":"","uicon-download":"","uicon-arrow-up-fill":"","uicon-arrow-down-fill":"","uicon-play-left-fill":"","uicon-play-right-fill":"","uicon-rewind-left-fill":"","uicon-rewind-right-fill":"","uicon-arrow-downward":"","uicon-arrow-leftward":"","uicon-arrow-rightward":"","uicon-arrow-upward":"","uicon-arrow-down":"","uicon-arrow-right":"","uicon-arrow-left":"","uicon-arrow-up":"","uicon-skip-back-left":"","uicon-skip-forward-right":"","uicon-rewind-right":"","uicon-rewind-left":"","uicon-arrow-right-double":"","uicon-arrow-left-double":"","uicon-wifi-off":"","uicon-wifi":"","uicon-empty-data":"","uicon-empty-history":"","uicon-empty-list":"","uicon-empty-page":"","uicon-empty-order":"","uicon-man":"","uicon-woman":"","uicon-man-add":"","uicon-man-add-fill":"","uicon-man-delete":"","uicon-man-delete-fill":"","uicon-zh":"","uicon-en":""}},6382:function(e,t,n){var r=n("6454");e.exports=function(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports["default"]=e.exports},6454:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports["default"]=e.exports},6550:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAjpJREFUSEutlT9oU1EUh7+T/20RJM1SkWQVq9ZFUHHo2KU1DWQQBSmKolC3Eiil3NJiXauCuGjBRQy+BHRQKIgKTjooFBQUxSIVBTVKrSlNTvNiTFWSvJc2d3qP+7vnu+d37zlXcBg6PByks/M0cAzoBnzAK+AWbW0zkkr9aBRCGk3q1FSM1dW7wK46ugU8nn4ZH39eL05dgBrTDjwDdjgkuUgg0COjo59r6RoBxoBJJwsr81fEmLPNAuZLPu90CfjG/HxE0unC//qaGWgy6aW7ewXwuATYspgY874ZQL5kkdc1wOeLytjYgiuALVJjXgC7XQJyQFiMKboHTEykUL3gEnBZjBlu9pBDwNNKcTXiLAJ7S7foU1OAik1R4A6wpw7hHXBYfttZczSs5DLEbhWRyClUj/7VKl6WvtN0dMzIyMjShluFS/8byhwz2CykdqGB5OPxPvHKkCoHRKSrTk0sg74G7mlBr4ay2TeO11QTie150RuC9Da5+xW0eH7ayk4aqNbDPxlosj+aL/gfiRBrMvi6XPX6tJU5+QdSBTzo7fUdDIefIOzbcPDKQlXOhSzrkv1bBawMDh5Xj8xuNnhlfW4p9z0WnpvLVQG/EoOPReRQiwBIUU8EMplrZUDZns7wT8DfKgDKbNCyhsqApYGBbT6/70PLgtsdAO6Hblt9ZcDXeHxru0c+IhJsGUT1ZtDKHFk/5ERiv6JngB6FLhHZAthA51dN1X6clhX5guhbUXkY8HovSjqdWwOzM7EZaZkXAwAAAABJRU5ErkJggg=="},"65a3":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{urls:{type:Array,default:e.$u.props.album.urls},keyName:{type:String,default:e.$u.props.album.keyName},singleSize:{type:[String,Number],default:e.$u.props.album.singleSize},multipleSize:{type:[String,Number],default:e.$u.props.album.multipleSize},space:{type:[String,Number],default:e.$u.props.album.space},singleMode:{type:String,default:e.$u.props.album.singleMode},multipleMode:{type:String,default:e.$u.props.album.multipleMode},maxCount:{type:[String,Number],default:e.$u.props.album.maxCount},previewFullImage:{type:Boolean,default:e.$u.props.album.previewFullImage},rowCount:{type:[String,Number],default:e.$u.props.album.rowCount},showMore:{type:Boolean,default:e.$u.props.album.showMore}}};t.default=n}).call(this,n("df3c")["default"])},"67ad":function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports["default"]=e.exports},"697e":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={upload:{accept:"image",capture:function(){return["album","camera"]},compressed:!0,camera:"back",maxDuration:60,uploadIcon:"camera-fill",uploadIconColor:"#D3D4D6",useBeforeRead:!1,previewFullImage:!0,maxCount:52,disabled:!1,imageMode:"aspectFill",name:"",sizeType:function(){return["original","compressed"]},multiple:!1,deletable:!0,maxSize:Number.MAX_VALUE,fileList:function(){return[]},uploadText:"",width:80,height:80,previewImage:!0}};t.default=r},"6a2a":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={countTo:{startVal:0,endVal:0,duration:2e3,autoplay:!0,decimals:0,useEasing:!0,decimal:".",color:"#606266",fontSize:22,bold:!1,separator:""}}},"6ace":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{value:{type:[String,Number],default:e.$u.props.input.value},type:{type:String,default:e.$u.props.input.type},fixed:{type:Boolean,default:e.$u.props.input.fixed},disabled:{type:Boolean,default:e.$u.props.input.disabled},disabledColor:{type:String,default:e.$u.props.input.disabledColor},clearable:{type:Boolean,default:e.$u.props.input.clearable},password:{type:Boolean,default:e.$u.props.input.password},maxlength:{type:[String,Number],default:e.$u.props.input.maxlength},placeholder:{type:String,default:e.$u.props.input.placeholder},placeholderClass:{type:String,default:e.$u.props.input.placeholderClass},placeholderStyle:{type:[String,Object],default:e.$u.props.input.placeholderStyle},showWordLimit:{type:Boolean,default:e.$u.props.input.showWordLimit},confirmType:{type:String,default:e.$u.props.input.confirmType},confirmHold:{type:Boolean,default:e.$u.props.input.confirmHold},holdKeyboard:{type:Boolean,default:e.$u.props.input.holdKeyboard},focus:{type:Boolean,default:e.$u.props.input.focus},autoBlur:{type:Boolean,default:e.$u.props.input.autoBlur},disableDefaultPadding:{type:Boolean,default:e.$u.props.input.disableDefaultPadding},cursor:{type:[String,Number],default:e.$u.props.input.cursor},cursorSpacing:{type:[String,Number],default:e.$u.props.input.cursorSpacing},selectionStart:{type:[String,Number],default:e.$u.props.input.selectionStart},selectionEnd:{type:[String,Number],default:e.$u.props.input.selectionEnd},adjustPosition:{type:Boolean,default:e.$u.props.input.adjustPosition},inputAlign:{type:String,default:e.$u.props.input.inputAlign},fontSize:{type:[String,Number],default:e.$u.props.input.fontSize},color:{type:String,default:e.$u.props.input.color},prefixIcon:{type:String,default:e.$u.props.input.prefixIcon},prefixIconStyle:{type:[String,Object],default:e.$u.props.input.prefixIconStyle},suffixIcon:{type:String,default:e.$u.props.input.suffixIcon},suffixIconStyle:{type:[String,Object],default:e.$u.props.input.suffixIconStyle},border:{type:String,default:e.$u.props.input.border},readonly:{type:Boolean,default:e.$u.props.input.readonly},shape:{type:String,default:e.$u.props.input.shape},formatter:{type:[Function,null],default:e.$u.props.input.formatter},ignoreCompositionEvent:{type:Boolean,default:!0}}};t.default=n}).call(this,n("df3c")["default"])},"6b55":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={gap:{bgColor:"transparent",height:20,marginTop:0,marginBottom:0,customStyle:{}}}},"6c41":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{name:{type:String,default:e.$u.props.checkboxGroup.name},value:{type:Array,default:e.$u.props.checkboxGroup.value},shape:{type:String,default:e.$u.props.checkboxGroup.shape},disabled:{type:Boolean,default:e.$u.props.checkboxGroup.disabled},activeColor:{type:String,default:e.$u.props.checkboxGroup.activeColor},inactiveColor:{type:String,default:e.$u.props.checkboxGroup.inactiveColor},size:{type:[String,Number],default:e.$u.props.checkboxGroup.size},placement:{type:String,default:e.$u.props.checkboxGroup.placement},labelSize:{type:[String,Number],default:e.$u.props.checkboxGroup.labelSize},labelColor:{type:[String],default:e.$u.props.checkboxGroup.labelColor},labelDisabled:{type:Boolean,default:e.$u.props.checkboxGroup.labelDisabled},iconColor:{type:String,default:e.$u.props.checkboxGroup.iconColor},iconSize:{type:[String,Number],default:e.$u.props.checkboxGroup.iconSize},iconPlacement:{type:String,default:e.$u.props.checkboxGroup.iconPlacement},borderBottom:{type:Boolean,default:e.$u.props.checkboxGroup.borderBottom}}};t.default=n}).call(this,n("df3c")["default"])},"6e58":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={section:{title:"",subTitle:"更多",right:!0,fontSize:15,bold:!0,color:"#303133",subColor:"#909399",showLine:!0,lineColor:"",arrow:!0}}},"6edd":function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.divide=h,t.enableBoundaryChecking=y,t.minus=f,t.plus=p,t.round=g,t.times=d;var i=r(n("c70d")),o=!0;function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:15;return+parseFloat(Number(e).toPrecision(t))}function s(e){var t=e.toString().split(/[eE]/),n=(t[0].split(".")[1]||"").length-+(t[1]||0);return n>0?n:0}function u(e){if(-1===e.toString().indexOf("e"))return Number(e.toString().replace(".",""));var t=s(e);return t>0?a(Number(e)*Math.pow(10,t)):Number(e)}function l(e){o&&(e>Number.MAX_SAFE_INTEGER||e<Number.MIN_SAFE_INTEGER)&&console.warn("".concat(e," 超出了精度限制,结果可能不正确"))}function c(e,t){var n=(0,i.default)(e),r=n[0],o=n[1],a=n.slice(2),s=t(r,o);return a.forEach((function(e){s=t(s,e)})),s}function d(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length>2)return c(t,d);var r=t[0],i=t[1],o=u(r),a=u(i),p=s(r)+s(i),f=o*a;return l(f),f/Math.pow(10,p)}function p(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length>2)return c(t,p);var r=t[0],i=t[1],o=Math.pow(10,Math.max(s(r),s(i)));return(d(r,o)+d(i,o))/o}function f(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length>2)return c(t,f);var r=t[0],i=t[1],o=Math.pow(10,Math.max(s(r),s(i)));return(d(r,o)-d(i,o))/o}function h(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length>2)return c(t,h);var r=t[0],i=t[1],o=u(r),p=u(i);return l(o),l(p),d(o/p,a(Math.pow(10,s(i)-s(r))))}function g(e,t){var n=Math.pow(10,t),r=h(Math.round(Math.abs(d(e,n))),n);return e<0&&0!==r&&(r=d(r,-1)),r}function y(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];o=e}var m={times:d,plus:p,minus:f,divide:h,round:g,enableBoundaryChecking:y};t.default=m},7143:function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("7ca3")),o=n("ef5e");function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=function(e,t,n){var r={};return e.forEach((function(e){(0,o.isUndefined)(n[e])?(0,o.isUndefined)(t[e])||(r[e]=t[e]):r[e]=n[e]})),r};t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.method||e.method||"GET",r={baseURL:e.baseURL||"",method:n,url:t.url||"",params:t.params||{},custom:s(s({},e.custom||{}),t.custom||{}),header:(0,o.deepMerge)(e.header||{},t.header||{})},i=["getTask","validateStatus"];if(r=s(s({},r),u(i,e,t)),"DOWNLOAD"===n);else if("UPLOAD"===n){delete r.header["content-type"],delete r.header["Content-Type"];var a=["filePath","name","formData"];a.forEach((function(e){(0,o.isUndefined)(t[e])||(r[e]=t[e])}))}else{var l=["data","timeout","dataType","responseType"];r=s(s({},r),u(l,e,t))}return r}},7172:function(e,t){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],u=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){l=!0,i=e}finally{try{if(!u&&null!=n["return"]&&(a=n["return"](),Object(a)!==a))return}finally{if(l)throw i}}return s}},e.exports.__esModule=!0,e.exports["default"]=e.exports},7212:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={tooltip:{text:"",copyText:"",size:14,color:"#606266",bgColor:"transparent",direction:"top",zIndex:10071,showCopy:!0,buttons:function(){return[]},overlay:!0,showToast:!0}}},7647:function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports["default"]=e.exports,n(t,r)}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"76cd":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("3b2d")),o=function(){function t(e,t){return null!=t&&e instanceof t}var n,r,o;try{n=Map}catch(l){n=function(){}}try{r=Set}catch(l){r=function(){}}try{o=Promise}catch(l){o=function(){}}function a(s,l,c,d,p){"object"===(0,i.default)(l)&&(c=l.depth,d=l.prototype,p=l.includeNonEnumerable,l=l.circular);var f=[],h=[],g="undefined"!=typeof e;return"undefined"==typeof l&&(l=!0),"undefined"==typeof c&&(c=1/0),function s(c,y){if(null===c)return null;if(0===y)return c;var m,v;if("object"!=(0,i.default)(c))return c;if(t(c,n))m=new n;else if(t(c,r))m=new r;else if(t(c,o))m=new o((function(e,t){c.then((function(t){e(s(t,y-1))}),(function(e){t(s(e,y-1))}))}));else if(a.__isArray(c))m=[];else if(a.__isRegExp(c))m=new RegExp(c.source,u(c)),c.lastIndex&&(m.lastIndex=c.lastIndex);else if(a.__isDate(c))m=new Date(c.getTime());else{if(g&&e.isBuffer(c))return e.from?m=e.from(c):(m=new e(c.length),c.copy(m)),m;t(c,Error)?m=Object.create(c):"undefined"==typeof d?(v=Object.getPrototypeOf(c),m=Object.create(v)):(m=Object.create(d),v=d)}if(l){var _=f.indexOf(c);if(-1!=_)return h[_];f.push(c),h.push(m)}for(var b in t(c,n)&&c.forEach((function(e,t){var n=s(t,y-1),r=s(e,y-1);m.set(n,r)})),t(c,r)&&c.forEach((function(e){var t=s(e,y-1);m.add(t)})),c){var x=Object.getOwnPropertyDescriptor(c,b);x&&(m[b]=s(c[b],y-1));try{var w=Object.getOwnPropertyDescriptor(c,b);if("undefined"===w.set)continue;m[b]=s(c[b],y-1)}catch(I){if(I instanceof TypeError)continue;if(I instanceof ReferenceError)continue}}if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(c);for(b=0;b<S.length;b++){var A=S[b],C=Object.getOwnPropertyDescriptor(c,A);(!C||C.enumerable||p)&&(m[A]=s(c[A],y-1),Object.defineProperty(m,A,C))}}if(p){var k=Object.getOwnPropertyNames(c);for(b=0;b<k.length;b++){var T=k[b];C=Object.getOwnPropertyDescriptor(c,T);C&&C.enumerable||(m[T]=s(c[T],y-1),Object.defineProperty(m,T,C))}}return m}(s,c)}function s(e){return Object.prototype.toString.call(e)}function u(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return a.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},a.__objToStr=s,a.__isDate=function(e){return"object"===(0,i.default)(e)&&"[object Date]"===s(e)},a.__isArray=function(e){return"object"===(0,i.default)(e)&&"[object Array]"===s(e)},a.__isRegExp=function(e){return"object"===(0,i.default)(e)&&"[object RegExp]"===s(e)},a.__getRegExpFlags=u,a}(),a=o;t.default=a}).call(this,n("12e3").Buffer)},7898:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={circleProgress:{percentage:30}}},"7a64":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fontData=void 0;t.fontData=[{font_class:"arrow-down",unicode:""},{font_class:"arrow-left",unicode:""},{font_class:"arrow-right",unicode:""},{font_class:"arrow-up",unicode:""},{font_class:"auth",unicode:""},{font_class:"auth-filled",unicode:""},{font_class:"back",unicode:""},{font_class:"bars",unicode:""},{font_class:"calendar",unicode:""},{font_class:"calendar-filled",unicode:""},{font_class:"camera",unicode:""},{font_class:"camera-filled",unicode:""},{font_class:"cart",unicode:""},{font_class:"cart-filled",unicode:""},{font_class:"chat",unicode:""},{font_class:"chat-filled",unicode:""},{font_class:"chatboxes",unicode:""},{font_class:"chatboxes-filled",unicode:""},{font_class:"chatbubble",unicode:""},{font_class:"chatbubble-filled",unicode:""},{font_class:"checkbox",unicode:""},{font_class:"checkbox-filled",unicode:""},{font_class:"checkmarkempty",unicode:""},{font_class:"circle",unicode:""},{font_class:"circle-filled",unicode:""},{font_class:"clear",unicode:""},{font_class:"close",unicode:""},{font_class:"closeempty",unicode:""},{font_class:"cloud-download",unicode:""},{font_class:"cloud-download-filled",unicode:""},{font_class:"cloud-upload",unicode:""},{font_class:"cloud-upload-filled",unicode:""},{font_class:"color",unicode:""},{font_class:"color-filled",unicode:""},{font_class:"compose",unicode:""},{font_class:"contact",unicode:""},{font_class:"contact-filled",unicode:""},{font_class:"down",unicode:""},{font_class:"bottom",unicode:""},{font_class:"download",unicode:""},{font_class:"download-filled",unicode:""},{font_class:"email",unicode:""},{font_class:"email-filled",unicode:""},{font_class:"eye",unicode:""},{font_class:"eye-filled",unicode:""},{font_class:"eye-slash",unicode:""},{font_class:"eye-slash-filled",unicode:""},{font_class:"fire",unicode:""},{font_class:"fire-filled",unicode:""},{font_class:"flag",unicode:""},{font_class:"flag-filled",unicode:""},{font_class:"folder-add",unicode:""},{font_class:"folder-add-filled",unicode:""},{font_class:"font",unicode:""},{font_class:"forward",unicode:""},{font_class:"gear",unicode:""},{font_class:"gear-filled",unicode:""},{font_class:"gift",unicode:""},{font_class:"gift-filled",unicode:""},{font_class:"hand-down",unicode:""},{font_class:"hand-down-filled",unicode:""},{font_class:"hand-up",unicode:""},{font_class:"hand-up-filled",unicode:""},{font_class:"headphones",unicode:""},{font_class:"heart",unicode:""},{font_class:"heart-filled",unicode:""},{font_class:"help",unicode:""},{font_class:"help-filled",unicode:""},{font_class:"home",unicode:""},{font_class:"home-filled",unicode:""},{font_class:"image",unicode:""},{font_class:"image-filled",unicode:""},{font_class:"images",unicode:""},{font_class:"images-filled",unicode:""},{font_class:"info",unicode:""},{font_class:"info-filled",unicode:""},{font_class:"left",unicode:""},{font_class:"link",unicode:""},{font_class:"list",unicode:""},{font_class:"location",unicode:""},{font_class:"location-filled",unicode:""},{font_class:"locked",unicode:""},{font_class:"locked-filled",unicode:""},{font_class:"loop",unicode:""},{font_class:"mail-open",unicode:""},{font_class:"mail-open-filled",unicode:""},{font_class:"map",unicode:""},{font_class:"map-filled",unicode:""},{font_class:"map-pin",unicode:""},{font_class:"map-pin-ellipse",unicode:""},{font_class:"medal",unicode:""},{font_class:"medal-filled",unicode:""},{font_class:"mic",unicode:""},{font_class:"mic-filled",unicode:""},{font_class:"micoff",unicode:""},{font_class:"micoff-filled",unicode:""},{font_class:"minus",unicode:""},{font_class:"minus-filled",unicode:""},{font_class:"more",unicode:""},{font_class:"more-filled",unicode:""},{font_class:"navigate",unicode:""},{font_class:"navigate-filled",unicode:""},{font_class:"notification",unicode:""},{font_class:"notification-filled",unicode:""},{font_class:"paperclip",unicode:""},{font_class:"paperplane",unicode:""},{font_class:"paperplane-filled",unicode:""},{font_class:"person",unicode:""},{font_class:"person-filled",unicode:""},{font_class:"personadd",unicode:""},{font_class:"personadd-filled",unicode:""},{font_class:"personadd-filled-copy",unicode:""},{font_class:"phone",unicode:""},{font_class:"phone-filled",unicode:""},{font_class:"plus",unicode:""},{font_class:"plus-filled",unicode:""},{font_class:"plusempty",unicode:""},{font_class:"pulldown",unicode:""},{font_class:"pyq",unicode:""},{font_class:"qq",unicode:""},{font_class:"redo",unicode:""},{font_class:"redo-filled",unicode:""},{font_class:"refresh",unicode:""},{font_class:"refresh-filled",unicode:""},{font_class:"refreshempty",unicode:""},{font_class:"reload",unicode:""},{font_class:"right",unicode:""},{font_class:"scan",unicode:""},{font_class:"search",unicode:""},{font_class:"settings",unicode:""},{font_class:"settings-filled",unicode:""},{font_class:"shop",unicode:""},{font_class:"shop-filled",unicode:""},{font_class:"smallcircle",unicode:""},{font_class:"smallcircle-filled",unicode:""},{font_class:"sound",unicode:""},{font_class:"sound-filled",unicode:""},{font_class:"spinner-cycle",unicode:""},{font_class:"staff",unicode:""},{font_class:"staff-filled",unicode:""},{font_class:"star",unicode:""},{font_class:"star-filled",unicode:""},{font_class:"starhalf",unicode:""},{font_class:"trash",unicode:""},{font_class:"trash-filled",unicode:""},{font_class:"tune",unicode:""},{font_class:"tune-filled",unicode:""},{font_class:"undo",unicode:""},{font_class:"undo-filled",unicode:""},{font_class:"up",unicode:""},{font_class:"top",unicode:""},{font_class:"upload",unicode:""},{font_class:"upload-filled",unicode:""},{font_class:"videocam",unicode:""},{font_class:"videocam-filled",unicode:""},{font_class:"vip",unicode:""},{font_class:"vip-filled",unicode:""},{font_class:"wallet",unicode:""},{font_class:"wallet-filled",unicode:""},{font_class:"weibo",unicode:""},{font_class:"weixin",unicode:""}]},"7ac6":function(e,t,n){(function(t){e.exports={props:{customStyle:{type:[Object,String],default:function(){return{}}},customClass:{type:String,default:""},url:{type:String,default:""},linkType:{type:String,default:"navigateTo"}},data:function(){return{}},onLoad:function(){this.$u.getRect=this.$uGetRect},created:function(){this.$u.getRect=this.$uGetRect},computed:{$u:function(){return t.$u.deepMerge(t.$u,{props:void 0,http:void 0,mixin:void 0})},bem:function(){return function(e,t,n){var r=this,i="u-".concat(e,"--"),o={};return t&&t.map((function(e){o[i+r[e]]=!0})),n&&n.map((function(e){r[e]?o[i+e]=r[e]:delete o[i+e]})),Object.keys(o)}}},methods:{openPage:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"url",n=this[e];n&&t[this.linkType]({url:n})},$uGetRect:function(e,n){var r=this;return new Promise((function(i){t.createSelectorQuery().in(r)[n?"selectAll":"select"](e).boundingClientRect((function(e){n&&Array.isArray(e)&&e.length&&i(e),!n&&e&&i(e)})).exec()}))},getParentData:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.parent||(this.parent={}),this.parent=t.$u.$parent.call(this,n),this.parent.children&&-1===this.parent.children.indexOf(this)&&this.parent.children.push(this),this.parent&&this.parentData&&Object.keys(this.parentData).map((function(t){e.parentData[t]=e.parent[t]}))},preventEvent:function(e){e&&"function"===typeof e.stopPropagation&&e.stopPropagation()},noop:function(e){this.preventEvent(e)}},onReachBottom:function(){t.$emit("uOnReachBottom")},beforeDestroy:function(){var e=this;if(this.parent&&t.$u.test.array(this.parent.children)){var n=this.parent.children;n.map((function(t,r){t===e&&n.splice(r,1)}))}}}}).call(this,n("df3c")["default"])},"7bed":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAvlJREFUSEu1lUtIlFEUx//nzvjsYeEjSw21kqwIF2UvorQcIRBhHHDTg6JFuCpL2hRI0aJSXFW0iJ6LSgcionKC3pmFghpRIDP2sCkrsSxFZb7vX34+mGnGmanw7O53zvn/znfvuecKJtlkkvURNoD1ttW6oBbEoBKPVSzXWsIpLiwA64vTdEQ0Q5A4KvpOqaFc2Xi9KxQkJKDj7ProtJT4RwJZ5i1GsuG9u3tDxvb7A8EgIQGao+QCIFsCi/CiyWLf+s8A7Y51N6hqgm6DoMJUUFf1Zww7j6aioemj0FldDrASkDYo1sKs6iSt/ANvW/N0JQ5AzEEBhE5hkdliv0lndRZE3wxIKSBZIG8IXdX9AGK8RMih/ka+a80CEB/qEEf93yV1SYdET8vxiScHhM6qdojMH3NQ18HOF8DQMPcvzBwFSVsKMXn/MFuGAWcgssOQIqF3tQM/u/9C2Ss0ZjrUnGxA1OhHnhd2VG0D5Zyh3+MGu9/+m/hY1vRZUEmZIytij/DN8QzoysX+b6D71f+Jj2ZLQjpkxmxAId+4B/rrw+/Z+TIVuscfkF4MDHwFPj3x9SWvBWKSgA57gKIEkroYIpEJBkBrLCtD7+cTgcqX/EvGnvL5AeCHayRkWgYk9wiga+C9wHdQxSXtkhUnTxuA4XEwNyWhB0C0H2ReKVSmDexzg8/2A9QhK49BpqRAd9YCrqv+dRHaF/TGJRc6+sZHhae+5K6I5PlHq99TqBIyMxt0PwDogaRsAHtegc2VBtDPyFZTod24E+MAzWE7COBQwFOOioesqoJETB1pDk8f+HTfyNkENJ4xWew7fQB0WNfoUI8nbKPEXKicCsOtt9UAXQ0TdxxZZiq0n/IBvLy6KHJhXHYPRGInzMywQlQk6LwctJ0VuFws9iYfwPDCU29ziKAgaHYoJzno0vrjFmy6NegH0BzWvYDyG72hNL39JB+aC+3rxr75PDhsKorVuqOuCLAJgrGBEr4+6VSi2bzf65AvWvjqgSN/AXhcE9me4jCxAAAAAElFTkSuQmCC"},"7ca3":function(e,t,n){var r=n("d551");e.exports=function(e,t,n){return t=r(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports["default"]=e.exports},"7ce1":function(e,t,n){var r=n("b4d2"),i=n("7647"),o=n("4965"),a=n("931d");function s(t){var n="function"===typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!o(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return a(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)},e.exports.__esModule=!0,e.exports["default"]=e.exports,s(t)}e.exports=s,e.exports.__esModule=!0,e.exports["default"]=e.exports},"7eb4":function(e,t,n){var r=n("9fc1")();e.exports=r},8185:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={numberKeyboard:{mode:"number",dotDisabled:!1,random:!1}}},"81cb":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{show:{type:Boolean,default:e.$u.props.datetimePicker.show},showToolbar:{type:Boolean,default:e.$u.props.datetimePicker.showToolbar},value:{type:[String,Number],default:e.$u.props.datetimePicker.value},title:{type:String,default:e.$u.props.datetimePicker.title},mode:{type:String,default:e.$u.props.datetimePicker.mode},maxDate:{type:Number,default:e.$u.props.datetimePicker.maxDate},minDate:{type:Number,default:e.$u.props.datetimePicker.minDate},minHour:{type:Number,default:e.$u.props.datetimePicker.minHour},maxHour:{type:Number,default:e.$u.props.datetimePicker.maxHour},minMinute:{type:Number,default:e.$u.props.datetimePicker.minMinute},maxMinute:{type:Number,default:e.$u.props.datetimePicker.maxMinute},filter:{type:[Function,null],default:e.$u.props.datetimePicker.filter},formatter:{type:[Function,null],default:e.$u.props.datetimePicker.formatter},loading:{type:Boolean,default:e.$u.props.datetimePicker.loading},itemHeight:{type:[String,Number],default:e.$u.props.datetimePicker.itemHeight},cancelText:{type:String,default:e.$u.props.datetimePicker.cancelText},confirmText:{type:String,default:e.$u.props.datetimePicker.confirmText},cancelColor:{type:String,default:e.$u.props.datetimePicker.cancelColor},confirmColor:{type:String,default:e.$u.props.datetimePicker.confirmColor},visibleItemCount:{type:[String,Number],default:e.$u.props.datetimePicker.visibleItemCount},closeOnClickOverlay:{type:Boolean,default:e.$u.props.datetimePicker.closeOnClickOverlay},defaultIndex:{type:Array,default:e.$u.props.datetimePicker.defaultIndex}}};t.default=n}).call(this,n("df3c")["default"])},"81f9":function(e,t,n){"use strict";function r(){this.handlers=[]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){this.handlers.forEach((function(t){null!==t&&e(t)}))};var i=r;t.default=i},"828b":function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s,u,l){var c,d="function"===typeof e?e.options:e;if(u){d.components||(d.components={});var p=Object.prototype.hasOwnProperty;for(var f in u)p.call(u,f)&&!p.call(d.components,f)&&(d.components[f]=u[f])}if(l&&("function"===typeof l.beforeCreate&&(l.beforeCreate=[l.beforeCreate]),(l.beforeCreate||(l.beforeCreate=[])).unshift((function(){this[l.__module]=this})),(d.mixins||(d.mixins=[])).push(l)),t&&(d.render=t,d.staticRenderFns=n,d._compiled=!0),r&&(d.functional=!0),o&&(d._scopeId="data-v-"+o),a?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},d._ssrRegister=c):i&&(c=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(d.functional){d._injectStyles=c;var h=d.render;d.render=function(e,t){return c.call(t),h(e,t)}}else{var g=d.beforeCreate;d.beforeCreate=g?[].concat(g,c):[c]}return{exports:e,options:d}}n.d(t,"a",(function(){return r}))},"82d9":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={indexAnchor:{text:"",color:"#606266",size:14,bgColor:"#dedede",height:32}}},"84d2":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={backtop:{mode:"circle",icon:"arrow-upward",text:"",duration:100,scrollTop:0,top:400,bottom:100,right:20,zIndex:9,iconStyle:function(){return{color:"#909399",fontSize:"19px"}}}}},"861b":function(e,t,n){"use strict";(function(e,r,i){var o=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n("7eb4")),s=o(n("3352")),u=o(n("34cf")),l=o(n("3b2d")),c=o(n("af34")),d=o(n("ee10")),p=o(n("7ca3")),f=o(n("8ffa")),h=o(n("4ffb")),g=o(n("b4d2")),y=o(n("7ce1")),m=o(n("67ad")),v=o(n("0bdb")),_=o(n("b700"));function b(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return x(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},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(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){(0,p.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function A(e){var t=function(){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(e){return!1}}();return function(){var n,r=(0,g.default)(e);if(t){var i=(0,g.default)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,h.default)(this,n)}}function C(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof e||"undefined"!=typeof self&&self;var k=C((function(e,t){var n;e.exports=(n=n||function(e,t){var n=Object.create||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),r={},i=r.lib={},o=i.Base={extend:function(e){var t=n(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},a=i.WordArray=o.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=void 0!=t?t:4*e.length},toString:function(e){return(e||u).stringify(this)},concat:function(e){var t=this.words,n=e.words,r=this.sigBytes,i=e.sigBytes;if(this.clamp(),r%4)for(var o=0;o<i;o++){var a=n[o>>>2]>>>24-o%4*8&255;t[r+o>>>2]|=a<<24-(r+o)%4*8}else for(o=0;o<i;o+=4)t[r+o>>>2]=n[o>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=o.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n,r=[],i=function(t){t=t;var n=987654321,r=4294967295;return function(){var i=((n=36969*(65535&n)+(n>>16)&r)<<16)+(t=18e3*(65535&t)+(t>>16)&r)&r;return i/=4294967296,(i+=.5)*(e.random()>.5?1:-1)}},o=0;o<t;o+=4){var s=i(4294967296*(n||e.random()));n=987654071*s(),r.push(4294967296*s()|0)}return new a.init(r,t)}}),s=r.enc={},u=s.Hex={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var o=t[i>>>2]>>>24-i%4*8&255;r.push((o>>>4).toString(16)),r.push((15&o).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new a.init(n,t/2)}},l=s.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,r=[],i=0;i<n;i++){var o=t[i>>>2]>>>24-i%4*8&255;r.push(String.fromCharCode(o))}return r.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new a.init(n,t)}},c=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(l.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return l.parse(unescape(encodeURIComponent(e)))}},d=i.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=c.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,r=n.words,i=n.sigBytes,o=this.blockSize,s=i/(4*o),u=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*o,l=e.min(4*u,i);if(u){for(var c=0;c<u;c+=o)this._doProcessBlock(r,c);var d=r.splice(0,u);n.sigBytes-=l}return new a.init(d,l)},clone:function(){var e=o.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});i.Hasher=d.extend({cfg:o.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){d.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new p.HMAC.init(e,n).finalize(t)}}});var p=r.algo={};return r}(Math),n)})),T=k,I=(C((function(e,t){var n;e.exports=(n=T,function(e){var t=n,r=t.lib,i=r.WordArray,o=r.Hasher,a=t.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var u=a.MD5=o.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,i=e[r];e[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o=this._hash.words,a=e[t+0],u=e[t+1],f=e[t+2],h=e[t+3],g=e[t+4],y=e[t+5],m=e[t+6],v=e[t+7],_=e[t+8],b=e[t+9],x=e[t+10],w=e[t+11],S=e[t+12],A=e[t+13],C=e[t+14],k=e[t+15],T=o[0],I=o[1],M=o[2],O=o[3];T=l(T,I,M,O,a,7,s[0]),O=l(O,T,I,M,u,12,s[1]),M=l(M,O,T,I,f,17,s[2]),I=l(I,M,O,T,h,22,s[3]),T=l(T,I,M,O,g,7,s[4]),O=l(O,T,I,M,y,12,s[5]),M=l(M,O,T,I,m,17,s[6]),I=l(I,M,O,T,v,22,s[7]),T=l(T,I,M,O,_,7,s[8]),O=l(O,T,I,M,b,12,s[9]),M=l(M,O,T,I,x,17,s[10]),I=l(I,M,O,T,w,22,s[11]),T=l(T,I,M,O,S,7,s[12]),O=l(O,T,I,M,A,12,s[13]),M=l(M,O,T,I,C,17,s[14]),T=c(T,I=l(I,M,O,T,k,22,s[15]),M,O,u,5,s[16]),O=c(O,T,I,M,m,9,s[17]),M=c(M,O,T,I,w,14,s[18]),I=c(I,M,O,T,a,20,s[19]),T=c(T,I,M,O,y,5,s[20]),O=c(O,T,I,M,x,9,s[21]),M=c(M,O,T,I,k,14,s[22]),I=c(I,M,O,T,g,20,s[23]),T=c(T,I,M,O,b,5,s[24]),O=c(O,T,I,M,C,9,s[25]),M=c(M,O,T,I,h,14,s[26]),I=c(I,M,O,T,_,20,s[27]),T=c(T,I,M,O,A,5,s[28]),O=c(O,T,I,M,f,9,s[29]),M=c(M,O,T,I,v,14,s[30]),T=d(T,I=c(I,M,O,T,S,20,s[31]),M,O,y,4,s[32]),O=d(O,T,I,M,_,11,s[33]),M=d(M,O,T,I,w,16,s[34]),I=d(I,M,O,T,C,23,s[35]),T=d(T,I,M,O,u,4,s[36]),O=d(O,T,I,M,g,11,s[37]),M=d(M,O,T,I,v,16,s[38]),I=d(I,M,O,T,x,23,s[39]),T=d(T,I,M,O,A,4,s[40]),O=d(O,T,I,M,a,11,s[41]),M=d(M,O,T,I,h,16,s[42]),I=d(I,M,O,T,m,23,s[43]),T=d(T,I,M,O,b,4,s[44]),O=d(O,T,I,M,S,11,s[45]),M=d(M,O,T,I,k,16,s[46]),T=p(T,I=d(I,M,O,T,f,23,s[47]),M,O,a,6,s[48]),O=p(O,T,I,M,v,10,s[49]),M=p(M,O,T,I,C,15,s[50]),I=p(I,M,O,T,y,21,s[51]),T=p(T,I,M,O,S,6,s[52]),O=p(O,T,I,M,h,10,s[53]),M=p(M,O,T,I,x,15,s[54]),I=p(I,M,O,T,u,21,s[55]),T=p(T,I,M,O,_,6,s[56]),O=p(O,T,I,M,k,10,s[57]),M=p(M,O,T,I,m,15,s[58]),I=p(I,M,O,T,A,21,s[59]),T=p(T,I,M,O,g,6,s[60]),O=p(O,T,I,M,w,10,s[61]),M=p(M,O,T,I,f,15,s[62]),I=p(I,M,O,T,b,21,s[63]),o[0]=o[0]+T|0,o[1]=o[1]+I|0,o[2]=o[2]+M|0,o[3]=o[3]+O|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;n[i>>>5]|=128<<24-i%32;var o=e.floor(r/4294967296),a=r;n[15+(i+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),n[14+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(n.length+1),this._process();for(var s=this._hash,u=s.words,l=0;l<4;l++){var c=u[l];u[l]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}return s},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,n,r,i,o,a){var s=e+(t&n|~t&r)+i+a;return(s<<o|s>>>32-o)+t}function c(e,t,n,r,i,o,a){var s=e+(t&r|n&~r)+i+a;return(s<<o|s>>>32-o)+t}function d(e,t,n,r,i,o,a){var s=e+(t^n^r)+i+a;return(s<<o|s>>>32-o)+t}function p(e,t,n,r,i,o,a){var s=e+(n^(t|~r))+i+a;return(s<<o|s>>>32-o)+t}t.MD5=o._createHelper(u),t.HmacMD5=o._createHmacHelper(u)}(Math),n.MD5)})),C((function(e,t){var n;e.exports=(n=T,void function(){var e=n,t=e.lib.Base,r=e.enc.Utf8;e.algo.HMAC=t.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=r.parse(t));var n=e.blockSize,i=4*n;t.sigBytes>i&&(t=e.finalize(t)),t.clamp();for(var o=this._oKey=t.clone(),a=this._iKey=t.clone(),s=o.words,u=a.words,l=0;l<n;l++)s[l]^=1549556828,u[l]^=909522486;o.sigBytes=a.sigBytes=i,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,n=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(n))}})}())})),C((function(e,t){e.exports=T.HmacMD5}))),M=C((function(e,t){e.exports=T.enc.Utf8})),O=C((function(e,t){var n;e.exports=(n=T,function(){var e=n,t=e.lib.WordArray;function r(e,n,r){for(var i=[],o=0,a=0;a<n;a++)if(a%4){var s=r[e.charCodeAt(a-1)]<<a%4*2,u=r[e.charCodeAt(a)]>>>6-a%4*2;i[o>>>2]|=(s|u)<<24-o%4*8,o++}return t.create(i,o)}e.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,r=this._map;e.clamp();for(var i=[],o=0;o<n;o+=3)for(var a=(t[o>>>2]>>>24-o%4*8&255)<<16|(t[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|t[o+2>>>2]>>>24-(o+2)%4*8&255,s=0;s<4&&o+.75*s<n;s++)i.push(r.charAt(a>>>6*(3-s)&63));var u=r.charAt(64);if(u)for(;i.length%4;)i.push(u);return i.join("")},parse:function(e){var t=e.length,n=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var o=0;o<n.length;o++)i[n.charCodeAt(o)]=o}var a=n.charAt(64);if(a){var s=e.indexOf(a);-1!==s&&(t=s)}return r(e,t,i)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),n.enc.Base64)})),P="FUNCTION",D="OBJECT",E="pending",B="fulfilled",L="rejected";function N(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function R(e){return"object"===N(e)}function j(e){return"function"==typeof e}function F(e){return function(){try{return e.apply(e,arguments)}catch(e){console.error(e)}}}var z="REJECTED",$="NOT_PENDING",U=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.createPromise,r=t.retryRule,i=void 0===r?z:r;(0,m.default)(this,e),this.createPromise=n,this.status=null,this.promise=null,this.retryRule=i}return(0,v.default)(e,[{key:"needRetry",get:function(){if(!this.status)return!0;switch(this.retryRule){case z:return this.status===L;case $:return this.status!==E}}},{key:"exec",value:function(){var e=this;return this.needRetry?(this.status=E,this.promise=this.createPromise().then((function(t){return e.status=B,Promise.resolve(t)}),(function(t){return e.status=L,Promise.reject(t)})),this.promise):this.promise}}]),e}();function H(e){return e&&"string"==typeof e?JSON.parse(e):e}var V="mp-weixin",G=H([]),W=V,q=(H(void 0),H([])||[]);try{(n("3698").default||n("3698")).appid}catch(dr){}var Q={};function Y(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t=Q,n=e,Object.prototype.hasOwnProperty.call(t,n)||(Q[e]=r),Q[e]}"app"===W&&(Q=r._globalUniCloudObj?r._globalUniCloudObj:r._globalUniCloudObj={});var X=["invoke","success","fail","complete"],K=Y("_globalUniCloudInterceptor");function J(e,t){K[e]||(K[e]={}),R(t)&&Object.keys(t).forEach((function(n){X.indexOf(n)>-1&&function(e,t,n){var r=K[e][t];r||(r=K[e][t]=[]),-1===r.indexOf(n)&&j(n)&&r.push(n)}(e,n,t[n])}))}function Z(e,t){K[e]||(K[e]={}),R(t)?Object.keys(t).forEach((function(n){X.indexOf(n)>-1&&function(e,t,n){var r=K[e][t];if(r){var i=r.indexOf(n);i>-1&&r.splice(i,1)}}(e,n,t[n])})):delete K[e]}function ee(e,t){return e&&0!==e.length?e.reduce((function(e,n){return e.then((function(){return n(t)}))}),Promise.resolve()):Promise.resolve()}function te(e,t){return K[e]&&K[e][t]||[]}function ne(e){J("callObject",e)}var re=Y("_globalUniCloudListener"),ie="response",oe="needLogin",ae="refreshToken",se="clientdb",ue="cloudfunction",le="cloudobject";function ce(e){return re[e]||(re[e]=[]),re[e]}function de(e,t){var n=ce(e);n.includes(t)||n.push(t)}function pe(e,t){var n=ce(e),r=n.indexOf(t);-1!==r&&n.splice(r,1)}function fe(e,t){for(var n=ce(e),r=0;r<n.length;r++)(0,n[r])(t)}var he,ge=!1;function ye(){return he||(he=new Promise((function(e){ge&&e(),function t(){if("function"==typeof getCurrentPages){var n=getCurrentPages();n&&n[0]&&(ge=!0,e())}ge||setTimeout((function(){t()}),30)}()})),he)}function me(e){var t={};for(var n in e){var r=e[n];j(r)&&(t[n]=F(r))}return t}var ve,_e,be=function(e){(0,f.default)(n,e);var t=A(n);function n(e){var r;return(0,m.default)(this,n),r=t.call(this,e.message),r.errMsg=e.message||e.errMsg||"unknown system error",r.code=r.errCode=e.code||e.errCode||"SYSTEM_ERROR",r.errSubject=r.subject=e.subject||e.errSubject,r.cause=e.cause,r.requestId=e.requestId,r}return(0,v.default)(n,[{key:"toJson",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if(!(e>=10))return e++,{errCode:this.errCode,errMsg:this.errMsg,errSubject:this.errSubject,cause:this.cause&&this.cause.toJson?this.cause.toJson(e):this.cause}}}]),n}((0,y.default)(Error)),xe={request:function(e){return r.request(e)},uploadFile:function(e){return r.uploadFile(e)},setStorageSync:function(e,t){return r.setStorageSync(e,t)},getStorageSync:function(e){return r.getStorageSync(e)},removeStorageSync:function(e){return r.removeStorageSync(e)},clearStorageSync:function(){return r.clearStorageSync()}};function we(){return{token:xe.getStorageSync("uni_id_token")||xe.getStorageSync("uniIdToken"),tokenExpired:xe.getStorageSync("uni_id_token_expired")}}function Se(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.token,n=e.tokenExpired;t&&xe.setStorageSync("uni_id_token",t),n&&xe.setStorageSync("uni_id_token_expired",n)}function Ae(){return ve||(ve=r.getSystemInfoSync()),ve}function Ce(){var e=r.getLocale&&r.getLocale()||"en";if(_e)return S(S({},_e),{},{locale:e,LOCALE:e});for(var t=Ae(),n=t.deviceId,i=t.osName,o=t.uniPlatform,a=t.appId,s=["pixelRatio","brand","model","system","language","version","platform","host","SDKVersion","swanNativeVersion","app","AppPlatform","fontSizeSetting"],u=0;u<s.length;u++)delete t[s[u]];return _e=S(S({PLATFORM:o,OS:i,APPID:a,DEVICEID:n},function(){var e,t;try{if(r.getLaunchOptionsSync){if(r.getLaunchOptionsSync.toString().indexOf("not yet implemented")>-1)return;var n=r.getLaunchOptionsSync(),i=n.scene,o=n.channel;e=o,t=i}}catch(e){}return{channel:e,scene:t}}()),t),S(S({},_e),{},{locale:e,LOCALE:e})}var ke,Te={sign:function(e,t){var n="";return Object.keys(e).sort().forEach((function(t){e[t]&&(n=n+"&"+t+"="+e[t])})),n=n.slice(1),I(n,t).toString()},wrappedRequest:function(e,t){return new Promise((function(n,r){t(Object.assign(e,{complete:function(e){e||(e={});var t=e.data&&e.data.header&&e.data.header["x-serverless-request-id"]||e.header&&e.header["request-id"];if(!e.statusCode||e.statusCode>=400){var i=e.data&&e.data.error&&e.data.error.code||"SYS_ERR",o=e.data&&e.data.error&&e.data.error.message||e.errMsg||"request:fail";return r(new be({code:i,message:o,requestId:t}))}var a=e.data;if(a.error)return r(new be({code:a.error.code,message:a.error.message,requestId:t}));a.result=a.data,a.requestId=t,delete a.data,n(a)}}))}))},toBase64:function(e){return O.stringify(M.parse(e))}},Ie=function(){function e(t){var n=this;(0,m.default)(this,e),["spaceId","clientSecret"].forEach((function(e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new Error("".concat(e," required"))})),this.config=Object.assign({},{endpoint:0===t.spaceId.indexOf("mp-")?"https://api.next.bspapp.com":"https://api.bspapp.com"},t),this.config.provider="aliyun",this.config.requestUrl=this.config.endpoint+"/client",this.config.envType=this.config.envType||"public",this.config.accessTokenKey="access_token_"+this.config.spaceId,this.adapter=xe,this._getAccessTokenPromiseHub=new U({createPromise:function(){return n.requestAuth(n.setupRequest({method:"serverless.auth.user.anonymousAuthorize",params:"{}"},"auth")).then((function(e){if(!e.result||!e.result.accessToken)throw new be({code:"AUTH_FAILED",message:"获取accessToken失败"});n.setAccessToken(e.result.accessToken)}))},retryRule:$})}return(0,v.default)(e,[{key:"hasAccessToken",get:function(){return!!this.accessToken}},{key:"setAccessToken",value:function(e){this.accessToken=e}},{key:"requestWrapped",value:function(e){return Te.wrappedRequest(e,this.adapter.request)}},{key:"requestAuth",value:function(e){return this.requestWrapped(e)}},{key:"request",value:function(e,t){var n=this;return Promise.resolve().then((function(){return n.hasAccessToken?t?n.requestWrapped(e):n.requestWrapped(e).catch((function(t){return new Promise((function(e,n){!t||"GATEWAY_INVALID_TOKEN"!==t.code&&"InvalidParameter.InvalidToken"!==t.code?n(t):e()})).then((function(){return n.getAccessToken()})).then((function(){var t=n.rebuildRequest(e);return n.request(t,!0)}))})):n.getAccessToken().then((function(){var t=n.rebuildRequest(e);return n.request(t,!0)}))}))}},{key:"rebuildRequest",value:function(e){var t=Object.assign({},e);return t.data.token=this.accessToken,t.header["x-basement-token"]=this.accessToken,t.header["x-serverless-sign"]=Te.sign(t.data,this.config.clientSecret),t}},{key:"setupRequest",value:function(e,t){var n=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),r={"Content-Type":"application/json"};return"auth"!==t&&(n.token=this.accessToken,r["x-basement-token"]=this.accessToken),r["x-serverless-sign"]=Te.sign(n,this.config.clientSecret),{url:this.config.requestUrl,method:"POST",data:n,dataType:"json",header:r}}},{key:"getAccessToken",value:function(){return this._getAccessTokenPromiseHub.exec()}},{key:"authorize",value:function(){var e=(0,d.default)(a.default.mark((function e(){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.getAccessToken();case 2:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"callFunction",value:function(e){var t={method:"serverless.function.runtime.invoke",params:JSON.stringify({functionTarget:e.name,functionArgs:e.data||{}})};return this.request(this.setupRequest(t))}},{key:"getOSSUploadOptionsFromPath",value:function(e){var t={method:"serverless.file.resource.generateProximalSign",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}},{key:"uploadFileToOSS",value:function(e){var t=this,n=e.url,r=e.formData,i=e.name,o=e.filePath,a=e.fileType,s=e.onUploadProgress;return new Promise((function(e,u){var l=t.adapter.uploadFile({url:n,formData:r,name:i,filePath:o,fileType:a,header:{"X-OSS-server-side-encrpytion":"AES256"},success:function(t){t&&t.statusCode<400?e(t):u(new be({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail:function(e){u(new be({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof s&&l&&"function"==typeof l.onProgressUpdate&&l.onProgressUpdate((function(e){s({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}},{key:"reportOSSUpload",value:function(e){var t={method:"serverless.file.resource.report",params:JSON.stringify(e)};return this.request(this.setupRequest(t))}},{key:"uploadFile",value:function(){var e=(0,d.default)(a.default.mark((function e(t){var n,r,i,o,s,u,l,c,d,p,f,h,g,y,m,v,_,b,x,w,S,A;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.filePath,r=t.cloudPath,i=t.fileType,o=void 0===i?"image":i,s=t.cloudPathAsRealPath,u=void 0!==s&&s,l=t.onUploadProgress,c=t.config,"string"===N(r)){e.next=3;break}throw new be({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});case 3:if(r=r.trim()){e.next=5;break}throw new be({code:"INVALID_PARAM",message:"cloudPath不可为空"});case 5:if(!/:\/\//.test(r)){e.next=7;break}throw new be({code:"INVALID_PARAM",message:"cloudPath不合法"});case 7:if(d=c&&c.envType||this.config.envType,!(u&&("/"!==r[0]&&(r="/"+r),r.indexOf("\\")>-1))){e.next=10;break}throw new be({code:"INVALID_PARAM",message:"使用cloudPath作为路径时,cloudPath不可包含“\\”"});case 10:return e.next=12,this.getOSSUploadOptionsFromPath({env:d,filename:u?r.split("/").pop():r,fileId:u?r:void 0});case 12:return p=e.sent.result,f="https://"+p.cdnDomain+"/"+p.ossPath,h=p.securityToken,g=p.accessKeyId,y=p.signature,m=p.host,v=p.ossPath,_=p.id,b=p.policy,x=p.ossCallbackUrl,w={"Cache-Control":"max-age=2592000","Content-Disposition":"attachment",OSSAccessKeyId:g,Signature:y,host:m,id:_,key:v,policy:b,success_action_status:200},h&&(w["x-oss-security-token"]=h),x&&(S=JSON.stringify({callbackUrl:x,callbackBody:JSON.stringify({fileId:_,spaceId:this.config.spaceId}),callbackBodyType:"application/json"}),w.callback=Te.toBase64(S)),A={url:"https://"+p.host,formData:w,fileName:"file",name:"file",filePath:n,fileType:o},e.next=27,this.uploadFileToOSS(Object.assign({},A,{onUploadProgress:l}));case 27:if(!x){e.next=29;break}return e.abrupt("return",{success:!0,filePath:n,fileID:f});case 29:return e.next=31,this.reportOSSUpload({id:_});case 31:if(!e.sent.success){e.next=33;break}return e.abrupt("return",{success:!0,filePath:n,fileID:f});case 33:throw new be({code:"UPLOAD_FAILED",message:"文件上传失败"});case 34:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"getTempFileURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.fileList;return new Promise((function(e,n){Array.isArray(t)&&0!==t.length||n(new be({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"})),e({fileList:t.map((function(e){return{fileID:e,tempFileURL:e}}))})}))}},{key:"getFileInfo",value:function(){var e=(0,d.default)(a.default.mark((function e(){var t,n,r,i=arguments;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=i.length>0&&void 0!==i[0]?i[0]:{},n=t.fileList,Array.isArray(n)&&0!==n.length){e.next=3;break}throw new be({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});case 3:return r={method:"serverless.file.resource.info",params:JSON.stringify({id:n.map((function(e){return e.split("?")[0]})).join(",")})},e.next=6,this.request(this.setupRequest(r));case 6:return e.t0=e.sent.result,e.abrupt("return",{fileList:e.t0});case 8:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()}]),e}(),Me={init:function(e){var t=new Ie(e),n={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return n},t.customAuth=t.auth,t}},Oe="undefined"!=typeof location&&"http:"===location.protocol?"http:":"https:";!function(e){e.local="local",e.none="none",e.session="session"}(ke||(ke={}));var Pe,De=function(){},Ee=C((function(e,t){var n;e.exports=(n=T,function(e){var t=n,r=t.lib,i=r.WordArray,o=r.Hasher,a=t.algo,s=[],u=[];!function(){function t(t){for(var n=e.sqrt(t),r=2;r<=n;r++)if(!(t%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var r=2,i=0;i<64;)t(r)&&(i<8&&(s[i]=n(e.pow(r,.5))),u[i]=n(e.pow(r,1/3)),i++),r++}();var l=[],c=a.SHA256=o.extend({_doReset:function(){this._hash=new i.init(s.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],i=n[1],o=n[2],a=n[3],s=n[4],c=n[5],d=n[6],p=n[7],f=0;f<64;f++){if(f<16)l[f]=0|e[t+f];else{var h=l[f-15],g=(h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3,y=l[f-2],m=(y<<15|y>>>17)^(y<<13|y>>>19)^y>>>10;l[f]=g+l[f-7]+m+l[f-16]}var v=r&i^r&o^i&o,_=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),b=p+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&c^~s&d)+u[f]+l[f];p=d,d=c,c=s,s=a+b|0,a=o,o=i,i=r,r=b+(_+v)|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+o|0,n[3]=n[3]+a|0,n[4]=n[4]+s|0,n[5]=n[5]+c|0,n[6]=n[6]+d|0,n[7]=n[7]+p|0},_doFinalize:function(){var t=this._data,n=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;return n[i>>>5]|=128<<24-i%32,n[14+(i+64>>>9<<4)]=e.floor(r/4294967296),n[15+(i+64>>>9<<4)]=r,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=o._createHelper(c),t.HmacSHA256=o._createHmacHelper(c)}(Math),n.SHA256)})),Be=Ee,Le=C((function(e,t){e.exports=T.HmacSHA256})),Ne=function(){var e;if(!Promise){e=function(){},e.promise={};var t=function(){throw new be({message:'Your Node runtime does support ES6 Promises. Set "global.Promise" to your preferred implementation of promises.'})};return Object.defineProperty(e.promise,"then",{get:t}),Object.defineProperty(e.promise,"catch",{get:t}),e}var n=new Promise((function(t,n){e=function(e,r){return e?n(e):t(r)}}));return e.promise=n,e};function Re(e){return void 0===e}function je(e){return"[object Null]"===Object.prototype.toString.call(e)}!function(e){e.WEB="web",e.WX_MP="wx_mp"}(Pe||(Pe={}));var Fe={adapter:null,runtime:void 0},ze=["anonymousUuidKey"],$e=function(e){(0,f.default)(n,e);var t=A(n);function n(){var e;return(0,m.default)(this,n),e=t.call(this),Fe.adapter.root.tcbObject||(Fe.adapter.root.tcbObject={}),e}return(0,v.default)(n,[{key:"setItem",value:function(e,t){Fe.adapter.root.tcbObject[e]=t}},{key:"getItem",value:function(e){return Fe.adapter.root.tcbObject[e]}},{key:"removeItem",value:function(e){delete Fe.adapter.root.tcbObject[e]}},{key:"clear",value:function(){delete Fe.adapter.root.tcbObject}}]),n}(De);function Ue(e,t){switch(e){case"local":return t.localStorage||new $e;case"none":return new $e;default:return t.sessionStorage||new $e}}var He=function(){function e(t){if((0,m.default)(this,e),!this._storage){this._persistence=Fe.adapter.primaryStorage||t.persistence,this._storage=Ue(this._persistence,Fe.adapter);var n="access_token_".concat(t.env),r="access_token_expire_".concat(t.env),i="refresh_token_".concat(t.env),o="anonymous_uuid_".concat(t.env),a="login_type_".concat(t.env),s="user_info_".concat(t.env);this.keys={accessTokenKey:n,accessTokenExpireKey:r,refreshTokenKey:i,anonymousUuidKey:o,loginTypeKey:a,userInfoKey:s}}}return(0,v.default)(e,[{key:"updatePersistence",value:function(e){if(e!==this._persistence){var t="local"===this._persistence;this._persistence=e;var n=Ue(e,Fe.adapter);for(var r in this.keys){var i=this.keys[r];if(!t||!ze.includes(r)){var o=this._storage.getItem(i);Re(o)||je(o)||(n.setItem(i,o),this._storage.removeItem(i))}}this._storage=n}}},{key:"setStore",value:function(e,t,n){if(this._storage){var r={version:n||"localCachev1",content:t},i=JSON.stringify(r);try{this._storage.setItem(e,i)}catch(e){throw e}}}},{key:"getStore",value:function(e,t){try{if(!this._storage)return}catch(e){return""}t=t||"localCachev1";var n=this._storage.getItem(e);return n&&n.indexOf(t)>=0?JSON.parse(n).content:""}},{key:"removeStore",value:function(e){this._storage.removeItem(e)}}]),e}(),Ve={},Ge={};function We(e){return Ve[e]}var qe=(0,v.default)((function e(t,n){(0,m.default)(this,e),this.data=n||null,this.name=t})),Qe=function(e){(0,f.default)(n,e);var t=A(n);function n(e,r){var i;return(0,m.default)(this,n),i=t.call(this,"error",{error:e,data:r}),i.error=e,i}return(0,v.default)(n)}(qe),Ye=new(function(){function e(){(0,m.default)(this,e),this._listeners={}}return(0,v.default)(e,[{key:"on",value:function(e,t){return function(e,t,n){n[e]=n[e]||[],n[e].push(t)}(e,t,this._listeners),this}},{key:"off",value:function(e,t){return function(e,t,n){if(n&&n[e]){var r=n[e].indexOf(t);-1!==r&&n[e].splice(r,1)}}(e,t,this._listeners),this}},{key:"fire",value:function(e,t){if(e instanceof Qe)return console.error(e.error),this;var n="string"==typeof e?new qe(e,t||{}):e,r=n.name;if(this._listens(r)){n.target=this;var i,o=this._listeners[r]?(0,c.default)(this._listeners[r]):[],a=b(o);try{for(a.s();!(i=a.n()).done;){var s=i.value;s.call(this,n)}}catch(u){a.e(u)}finally{a.f()}}return this}},{key:"_listens",value:function(e){return this._listeners[e]&&this._listeners[e].length>0}}]),e}());function Xe(e,t){Ye.on(e,t)}function Ke(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Ye.fire(e,t)}function Je(e,t){Ye.off(e,t)}var Ze,et="loginStateChanged",tt="loginStateExpire",nt="loginTypeChanged",rt="anonymousConverted",it="refreshAccessToken";!function(e){e.ANONYMOUS="ANONYMOUS",e.WECHAT="WECHAT",e.WECHAT_PUBLIC="WECHAT-PUBLIC",e.WECHAT_OPEN="WECHAT-OPEN",e.CUSTOM="CUSTOM",e.EMAIL="EMAIL",e.USERNAME="USERNAME",e.NULL="NULL"}(Ze||(Ze={}));var ot=["auth.getJwt","auth.logout","auth.signInWithTicket","auth.signInAnonymously","auth.signIn","auth.fetchAccessTokenWithRefreshToken","auth.signUpWithEmailAndPassword","auth.activateEndUserMail","auth.sendPasswordResetEmail","auth.resetPasswordWithToken","auth.isUsernameRegistered"],at={"X-SDK-Version":"1.3.5"};function st(e,t,n){var r=e[t];e[t]=function(t){var i={},o={};n.forEach((function(n){var r=n.call(e,t),a=r.data,s=r.headers;Object.assign(i,a),Object.assign(o,s)}));var a=t.data;return a&&function(){var e;if(e=a,"[object FormData]"!==Object.prototype.toString.call(e))t.data=S(S({},a),i);else for(var n in i)a.append(n,i[n])}(),t.headers=S(S({},t.headers||{}),o),r.call(e,t)}}function ut(){var e=Math.random().toString(16).slice(2);return{data:{seqId:e},headers:S(S({},at),{},{"x-seqid":e})}}var lt=function(){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,m.default)(this,e),this.config=n,this._reqClass=new Fe.adapter.reqClass({timeout:this.config.timeout,timeoutMsg:"请求在".concat(this.config.timeout/1e3,"s内未完成,已中断"),restrictedMethods:["post"]}),this._cache=We(this.config.env),this._localCache=(t=this.config.env,Ge[t]),st(this._reqClass,"post",[ut]),st(this._reqClass,"upload",[ut]),st(this._reqClass,"download",[ut])}return(0,v.default)(e,[{key:"post",value:function(){var e=(0,d.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._reqClass.post(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"upload",value:function(){var e=(0,d.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._reqClass.upload(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"download",value:function(){var e=(0,d.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._reqClass.download(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"refreshAccessToken",value:function(){var e=(0,d.default)(a.default.mark((function e(){var t,n;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this._refreshAccessTokenPromise||(this._refreshAccessTokenPromise=this._refreshAccessToken()),e.prev=1,e.next=4,this._refreshAccessTokenPromise;case 4:t=e.sent,e.next=10;break;case 7:e.prev=7,e.t0=e["catch"](1),n=e.t0;case 10:if(this._refreshAccessTokenPromise=null,this._shouldRefreshAccessTokenHook=null,!n){e.next=12;break}throw n;case 12:return e.abrupt("return",t);case 13:case"end":return e.stop()}}),e,this,[[1,7]])})));return function(){return e.apply(this,arguments)}}()},{key:"_refreshAccessToken",value:function(){var e=(0,d.default)(a.default.mark((function e(){var t,n,r,i,o,s,u,l,c,d,p,f,h;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=this._cache.keys,n=t.accessTokenKey,r=t.accessTokenExpireKey,i=t.refreshTokenKey,o=t.loginTypeKey,s=t.anonymousUuidKey,this._cache.removeStore(n),this._cache.removeStore(r),u=this._cache.getStore(i),u){e.next=5;break}throw new be({message:"未登录CloudBase"});case 5:return l={refresh_token:u},e.next=8,this.request("auth.fetchAccessTokenWithRefreshToken",l);case 8:if(c=e.sent,!c.data.code){e.next=21;break}if(d=c.data.code,"SIGN_PARAM_INVALID"!==d&&"REFRESH_TOKEN_EXPIRED"!==d&&"INVALID_REFRESH_TOKEN"!==d){e.next=20;break}if(this._cache.getStore(o)!==Ze.ANONYMOUS||"INVALID_REFRESH_TOKEN"!==d){e.next=19;break}return p=this._cache.getStore(s),f=this._cache.getStore(i),e.next=17,this.send("auth.signInAnonymously",{anonymous_uuid:p,refresh_token:f});case 17:return h=e.sent,e.abrupt("return",(this.setRefreshToken(h.refresh_token),this._refreshAccessToken()));case 19:Ke(tt),this._cache.removeStore(i);case 20:throw new be({code:c.data.code,message:"刷新access token失败:".concat(c.data.code)});case 21:if(!c.data.access_token){e.next=23;break}return e.abrupt("return",(Ke(it),this._cache.setStore(n,c.data.access_token),this._cache.setStore(r,c.data.access_token_expire+Date.now()),{accessToken:c.data.access_token,accessTokenExpire:c.data.access_token_expire}));case 23:c.data.refresh_token&&(this._cache.removeStore(i),this._cache.setStore(i,c.data.refresh_token),this._refreshAccessToken());case 24:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"getAccessToken",value:function(){var e=(0,d.default)(a.default.mark((function e(){var t,n,r,i,o,s,u;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=this._cache.keys,n=t.accessTokenKey,r=t.accessTokenExpireKey,i=t.refreshTokenKey,this._cache.getStore(i)){e.next=3;break}throw new be({message:"refresh token不存在,登录状态异常"});case 3:if(o=this._cache.getStore(n),s=this._cache.getStore(r),u=!0,e.t0=this._shouldRefreshAccessTokenHook,!e.t0){e.next=9;break}return e.next=8,this._shouldRefreshAccessTokenHook(o,s);case 8:e.t0=!e.sent;case 9:if(e.t1=e.t0,!e.t1){e.next=12;break}u=!1;case 12:return e.abrupt("return",(!o||!s||s<Date.now())&&u?this.refreshAccessToken():{accessToken:o,accessTokenExpire:s});case 13:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"request",value:function(){var e=(0,d.default)(a.default.mark((function e(t,n,r){var i,o,s,u,l,c,d,p,f,h,g,y,m,v,_,b;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(i="x-tcb-trace_".concat(this.config.env),o="application/x-www-form-urlencoded",s=S({action:t,env:this.config.env,dataVersion:"2019-08-16"},n),-1!==ot.indexOf(t)){e.next=10;break}if(u=this._cache.keys.refreshTokenKey,e.t0=this._cache.getStore(u),!e.t0){e.next=10;break}return e.next=9,this.getAccessToken();case 9:s.access_token=e.sent.accessToken;case 10:if("storage.uploadFile"===t){for(c in l=new FormData,l)l.hasOwnProperty(c)&&void 0!==l[c]&&l.append(c,s[c]);o="multipart/form-data"}else for(d in o="application/json",l={},s)void 0!==s[d]&&(l[d]=s[d]);return p={headers:{"content-type":o}},r&&r.onUploadProgress&&(p.onUploadProgress=r.onUploadProgress),f=this._localCache.getStore(i),f&&(p.headers["X-TCB-Trace"]=f),h=n.parse,g=n.inQuery,y=n.search,m={env:this.config.env},h&&(m.parse=!0),g&&(m=S(S({},g),m)),v=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=/\?/.test(t),i="";for(var o in n)""===i?!r&&(t+="?"):i+="&",i+="".concat(o,"=").concat(encodeURIComponent(n[o]));return/^http(s)?\:\/\//.test(t+=i)?t:"".concat(e).concat(t)}(Oe,"//tcb-api.tencentcloudapi.com/web",m),y&&(v+=y),e.next=22,this.post(S({url:v,data:l},p));case 22:if(_=e.sent,b=_.header&&_.header["x-tcb-trace"],b&&this._localCache.setStore(i,b),(200===Number(_.status)||200===Number(_.statusCode))&&_.data){e.next=26;break}throw new be({code:"NETWORK_ERROR",message:"network request error"});case 26:return e.abrupt("return",_);case 27:case"end":return e.stop()}}),e,this)})));return function(t,n,r){return e.apply(this,arguments)}}()},{key:"send",value:function(){var e=(0,d.default)(a.default.mark((function e(t){var n,r,i,o=arguments;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=o.length>1&&void 0!==o[1]?o[1]:{},e.next=3,this.request(t,n,{onUploadProgress:n.onUploadProgress});case 3:if(r=e.sent,"ACCESS_TOKEN_EXPIRED"!==r.data.code||-1!==ot.indexOf(t)){e.next=13;break}return e.next=7,this.refreshAccessToken();case 7:return e.next=9,this.request(t,n,{onUploadProgress:n.onUploadProgress});case 9:if(i=e.sent,!i.data.code){e.next=12;break}throw new be({code:i.data.code,message:i.data.message});case 12:return e.abrupt("return",i.data);case 13:if(!r.data.code){e.next=15;break}throw new be({code:r.data.code,message:r.data.message});case 15:return e.abrupt("return",r.data);case 16:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"setRefreshToken",value:function(e){var t=this._cache.keys,n=t.accessTokenKey,r=t.accessTokenExpireKey,i=t.refreshTokenKey;this._cache.removeStore(n),this._cache.removeStore(r),this._cache.setStore(i,e)}}]),e}(),ct={};function dt(e){return ct[e]}var pt=function(){function e(t){(0,m.default)(this,e),this.config=t,this._cache=We(t.env),this._request=dt(t.env)}return(0,v.default)(e,[{key:"setRefreshToken",value:function(e){var t=this._cache.keys,n=t.accessTokenKey,r=t.accessTokenExpireKey,i=t.refreshTokenKey;this._cache.removeStore(n),this._cache.removeStore(r),this._cache.setStore(i,e)}},{key:"setAccessToken",value:function(e,t){var n=this._cache.keys,r=n.accessTokenKey,i=n.accessTokenExpireKey;this._cache.setStore(r,e),this._cache.setStore(i,t)}},{key:"refreshUserInfo",value:function(){var e=(0,d.default)(a.default.mark((function e(){var t,n;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.send("auth.getUserInfo",{});case 2:return t=e.sent,n=t.data,e.abrupt("return",(this.setLocalUserInfo(n),n));case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"setLocalUserInfo",value:function(e){var t=this._cache.keys.userInfoKey;this._cache.setStore(t,e)}}]),e}(),ft=function(){function e(t){if((0,m.default)(this,e),!t)throw new be({code:"PARAM_ERROR",message:"envId is not defined"});this._envId=t,this._cache=We(this._envId),this._request=dt(this._envId),this.setUserInfo()}return(0,v.default)(e,[{key:"linkWithTicket",value:function(e){if("string"!=typeof e)throw new be({code:"PARAM_ERROR",message:"ticket must be string"});return this._request.send("auth.linkWithTicket",{ticket:e})}},{key:"linkWithRedirect",value:function(e){e.signInWithRedirect()}},{key:"updatePassword",value:function(e,t){return this._request.send("auth.updatePassword",{oldPassword:t,newPassword:e})}},{key:"updateEmail",value:function(e){return this._request.send("auth.updateEmail",{newEmail:e})}},{key:"updateUsername",value:function(e){if("string"!=typeof e)throw new be({code:"PARAM_ERROR",message:"username must be a string"});return this._request.send("auth.updateUsername",{username:e})}},{key:"getLinkedUidList",value:function(){var e=(0,d.default)(a.default.mark((function e(){var t,n,r,i;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.send("auth.getLinkedUidList",{});case 2:return t=e.sent,n=t.data,r=!1,i=n.users,e.abrupt("return",(i.forEach((function(e){e.wxOpenId&&e.wxPublicId&&(r=!0)})),{users:i,hasPrimaryUid:r}));case 7:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"setPrimaryUid",value:function(e){return this._request.send("auth.setPrimaryUid",{uid:e})}},{key:"unlink",value:function(e){return this._request.send("auth.unlink",{platform:e})}},{key:"update",value:function(){var e=(0,d.default)(a.default.mark((function e(t){var n,r,i,o,s,u,l,c;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.nickName,r=t.gender,i=t.avatarUrl,o=t.province,s=t.country,u=t.city,e.next=8,this._request.send("auth.updateUserInfo",{nickName:n,gender:r,avatarUrl:i,province:o,country:s,city:u});case 8:l=e.sent,c=l.data,this.setLocalUserInfo(c);case 11:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"refresh",value:function(){var e=(0,d.default)(a.default.mark((function e(){var t,n;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.send("auth.getUserInfo",{});case 2:return t=e.sent,n=t.data,e.abrupt("return",(this.setLocalUserInfo(n),n));case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"setUserInfo",value:function(){var e=this,t=this._cache.keys.userInfoKey,n=this._cache.getStore(t);["uid","loginType","openid","wxOpenId","wxPublicId","unionId","qqMiniOpenId","email","hasPassword","customUserId","nickName","gender","avatarUrl"].forEach((function(t){e[t]=n[t]})),this.location={country:n.country,province:n.province,city:n.city}}},{key:"setLocalUserInfo",value:function(e){var t=this._cache.keys.userInfoKey;this._cache.setStore(t,e),this.setUserInfo()}}]),e}(),ht=function(){function e(t){if((0,m.default)(this,e),!t)throw new be({code:"PARAM_ERROR",message:"envId is not defined"});this._cache=We(t);var n=this._cache.keys,r=n.refreshTokenKey,i=n.accessTokenKey,o=n.accessTokenExpireKey,a=this._cache.getStore(r),s=this._cache.getStore(i),u=this._cache.getStore(o);this.credential={refreshToken:a,accessToken:s,accessTokenExpire:u},this.user=new ft(t)}return(0,v.default)(e,[{key:"isAnonymousAuth",get:function(){return this.loginType===Ze.ANONYMOUS}},{key:"isCustomAuth",get:function(){return this.loginType===Ze.CUSTOM}},{key:"isWeixinAuth",get:function(){return this.loginType===Ze.WECHAT||this.loginType===Ze.WECHAT_OPEN||this.loginType===Ze.WECHAT_PUBLIC}},{key:"loginType",get:function(){return this._cache.getStore(this._cache.keys.loginTypeKey)}}]),e}(),gt=function(e){(0,f.default)(n,e);var t=A(n);function n(){return(0,m.default)(this,n),t.apply(this,arguments)}return(0,v.default)(n,[{key:"signIn",value:function(){var e=(0,d.default)(a.default.mark((function e(){var t,n,r,i,o,s,u;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this._cache.updatePersistence("local"),t=this._cache.keys,n=t.anonymousUuidKey,r=t.refreshTokenKey,i=this._cache.getStore(n)||void 0,o=this._cache.getStore(r)||void 0,e.next=8,this._request.send("auth.signInAnonymously",{anonymous_uuid:i,refresh_token:o});case 8:if(s=e.sent,!s.uuid||!s.refresh_token){e.next=20;break}return this._setAnonymousUUID(s.uuid),this.setRefreshToken(s.refresh_token),e.next=14,this._request.refreshAccessToken();case 14:return Ke(et),Ke(nt,{env:this.config.env,loginType:Ze.ANONYMOUS,persistence:"local"}),u=new ht(this.config.env),e.next=19,u.user.refresh();case 19:return e.abrupt("return",u);case 20:throw new be({message:"匿名登录失败"});case 21:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"linkAndRetrieveDataWithTicket",value:function(){var e=(0,d.default)(a.default.mark((function e(t){var n,r,i,o,s,u;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=this._cache.keys,r=n.anonymousUuidKey,i=n.refreshTokenKey,o=this._cache.getStore(r),s=this._cache.getStore(i),e.next=7,this._request.send("auth.linkAndRetrieveDataWithTicket",{anonymous_uuid:o,refresh_token:s,ticket:t});case 7:if(u=e.sent,!u.refresh_token){e.next=16;break}return this._clearAnonymousUUID(),this.setRefreshToken(u.refresh_token),e.next=13,this._request.refreshAccessToken();case 13:return Ke(rt,{env:this.config.env}),Ke(nt,{loginType:Ze.CUSTOM,persistence:"local"}),e.abrupt("return",{credential:{refreshToken:u.refresh_token}});case 16:throw new be({message:"匿名转化失败"});case 17:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"_setAnonymousUUID",value:function(e){var t=this._cache.keys,n=t.anonymousUuidKey,r=t.loginTypeKey;this._cache.removeStore(n),this._cache.setStore(n,e),this._cache.setStore(r,Ze.ANONYMOUS)}},{key:"_clearAnonymousUUID",value:function(){this._cache.removeStore(this._cache.keys.anonymousUuidKey)}}]),n}(pt),yt=function(e){(0,f.default)(n,e);var t=A(n);function n(){return(0,m.default)(this,n),t.apply(this,arguments)}return(0,v.default)(n,[{key:"signIn",value:function(){var e=(0,d.default)(a.default.mark((function e(t){var n,r;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new be({code:"PARAM_ERROR",message:"ticket must be a string"});case 2:return n=this._cache.keys.refreshTokenKey,e.next=5,this._request.send("auth.signInWithTicket",{ticket:t,refresh_token:this._cache.getStore(n)||""});case 5:if(r=e.sent,!r.refresh_token){e.next=15;break}return this.setRefreshToken(r.refresh_token),e.next=10,this._request.refreshAccessToken();case 10:return Ke(et),Ke(nt,{env:this.config.env,loginType:Ze.CUSTOM,persistence:this.config.persistence}),e.next=14,this.refreshUserInfo();case 14:return e.abrupt("return",new ht(this.config.env));case 15:throw new be({message:"自定义登录失败"});case 16:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()}]),n}(pt),mt=function(e){(0,f.default)(n,e);var t=A(n);function n(){return(0,m.default)(this,n),t.apply(this,arguments)}return(0,v.default)(n,[{key:"signIn",value:function(){var e=(0,d.default)(a.default.mark((function e(t,n){var r,i,o,s,u;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new be({code:"PARAM_ERROR",message:"email must be a string"});case 2:return r=this._cache.keys.refreshTokenKey,e.next=5,this._request.send("auth.signIn",{loginType:"EMAIL",email:t,password:n,refresh_token:this._cache.getStore(r)||""});case 5:if(i=e.sent,o=i.refresh_token,s=i.access_token,u=i.access_token_expire,!o){e.next=22;break}if(this.setRefreshToken(o),!s||!u){e.next=15;break}this.setAccessToken(s,u),e.next=17;break;case 15:return e.next=17,this._request.refreshAccessToken();case 17:return e.next=19,this.refreshUserInfo();case 19:return Ke(et),Ke(nt,{env:this.config.env,loginType:Ze.EMAIL,persistence:this.config.persistence}),e.abrupt("return",new ht(this.config.env));case 22:throw i.code?new be({code:i.code,message:"邮箱登录失败: ".concat(i.message)}):new be({message:"邮箱登录失败"});case 23:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"activate",value:function(){var e=(0,d.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.activateEndUserMail",{token:t}));case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"resetPasswordWithToken",value:function(){var e=(0,d.default)(a.default.mark((function e(t,n){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.resetPasswordWithToken",{token:t,newPassword:n}));case 1:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()}]),n}(pt),vt=function(e){(0,f.default)(n,e);var t=A(n);function n(){return(0,m.default)(this,n),t.apply(this,arguments)}return(0,v.default)(n,[{key:"signIn",value:function(){var e=(0,d.default)(a.default.mark((function e(t,n){var r,i,o,s,u;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new be({code:"PARAM_ERROR",message:"username must be a string"});case 2:return"string"!=typeof n&&(n="",console.warn("password is empty")),r=this._cache.keys.refreshTokenKey,e.next=6,this._request.send("auth.signIn",{loginType:Ze.USERNAME,username:t,password:n,refresh_token:this._cache.getStore(r)||""});case 6:if(i=e.sent,o=i.refresh_token,s=i.access_token_expire,u=i.access_token,!o){e.next=23;break}if(this.setRefreshToken(o),!u||!s){e.next=16;break}this.setAccessToken(u,s),e.next=18;break;case 16:return e.next=18,this._request.refreshAccessToken();case 18:return e.next=20,this.refreshUserInfo();case 20:return Ke(et),Ke(nt,{env:this.config.env,loginType:Ze.USERNAME,persistence:this.config.persistence}),e.abrupt("return",new ht(this.config.env));case 23:throw i.code?new be({code:i.code,message:"用户名密码登录失败: ".concat(i.message)}):new be({message:"用户名密码登录失败"});case 24:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()}]),n}(pt),_t=function(){function e(t){(0,m.default)(this,e),this.config=t,this._cache=We(t.env),this._request=dt(t.env),this._onAnonymousConverted=this._onAnonymousConverted.bind(this),this._onLoginTypeChanged=this._onLoginTypeChanged.bind(this),Xe(nt,this._onLoginTypeChanged)}return(0,v.default)(e,[{key:"currentUser",get:function(){var e=this.hasLoginState();return e&&e.user||null}},{key:"loginType",get:function(){return this._cache.getStore(this._cache.keys.loginTypeKey)}},{key:"anonymousAuthProvider",value:function(){return new gt(this.config)}},{key:"customAuthProvider",value:function(){return new yt(this.config)}},{key:"emailAuthProvider",value:function(){return new mt(this.config)}},{key:"usernameAuthProvider",value:function(){return new vt(this.config)}},{key:"signInAnonymously",value:function(){var e=(0,d.default)(a.default.mark((function e(){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new gt(this.config).signIn());case 1:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"signInWithEmailAndPassword",value:function(){var e=(0,d.default)(a.default.mark((function e(t,n){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new mt(this.config).signIn(t,n));case 1:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"signInWithUsernameAndPassword",value:function(e,t){return new vt(this.config).signIn(e,t)}},{key:"linkAndRetrieveDataWithTicket",value:function(){var e=(0,d.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return this._anonymousAuthProvider||(this._anonymousAuthProvider=new gt(this.config)),Xe(rt,this._onAnonymousConverted),e.next=3,this._anonymousAuthProvider.linkAndRetrieveDataWithTicket(t);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"signOut",value:function(){var e=(0,d.default)(a.default.mark((function e(){var t,n,r,i,o,s;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.loginType!==Ze.ANONYMOUS){e.next=2;break}throw new be({message:"匿名用户不支持登出操作"});case 2:if(t=this._cache.keys,n=t.refreshTokenKey,r=t.accessTokenKey,i=t.accessTokenExpireKey,o=this._cache.getStore(n),o){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,this._request.send("auth.logout",{refresh_token:o});case 7:return s=e.sent,e.abrupt("return",(this._cache.removeStore(n),this._cache.removeStore(r),this._cache.removeStore(i),Ke(et),Ke(nt,{env:this.config.env,loginType:Ze.NULL,persistence:this.config.persistence}),s));case 9:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"signUpWithEmailAndPassword",value:function(){var e=(0,d.default)(a.default.mark((function e(t,n){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.signUpWithEmailAndPassword",{email:t,password:n}));case 1:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"sendPasswordResetEmail",value:function(){var e=(0,d.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this._request.send("auth.sendPasswordResetEmail",{email:t}));case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"onLoginStateChanged",value:function(e){var t=this;Xe(et,(function(){var n=t.hasLoginState();e.call(t,n)}));var n=this.hasLoginState();e.call(this,n)}},{key:"onLoginStateExpired",value:function(e){Xe(tt,e.bind(this))}},{key:"onAccessTokenRefreshed",value:function(e){Xe(it,e.bind(this))}},{key:"onAnonymousConverted",value:function(e){Xe(rt,e.bind(this))}},{key:"onLoginTypeChanged",value:function(e){var t=this;Xe(nt,(function(){var n=t.hasLoginState();e.call(t,n)}))}},{key:"getAccessToken",value:function(){var e=(0,d.default)(a.default.mark((function e(){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this._request.getAccessToken();case 2:return e.t0=e.sent.accessToken,e.t1=this.config.env,e.abrupt("return",{accessToken:e.t0,env:e.t1});case 5:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"hasLoginState",value:function(){var e=this._cache.keys.refreshTokenKey;return this._cache.getStore(e)?new ht(this.config.env):null}},{key:"isUsernameRegistered",value:function(){var e=(0,d.default)(a.default.mark((function e(t){var n,r;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if("string"==typeof t){e.next=2;break}throw new be({code:"PARAM_ERROR",message:"username must be a string"});case 2:return e.next=4,this._request.send("auth.isUsernameRegistered",{username:t});case 4:return n=e.sent,r=n.data,e.abrupt("return",r&&r.isRegistered);case 7:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"getLoginState",value:function(){return Promise.resolve(this.hasLoginState())}},{key:"signInWithTicket",value:function(){var e=(0,d.default)(a.default.mark((function e(t){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",new yt(this.config).signIn(t));case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"shouldRefreshAccessToken",value:function(e){this._request._shouldRefreshAccessTokenHook=e.bind(this)}},{key:"getUserInfo",value:function(){return this._request.send("auth.getUserInfo",{}).then((function(e){return e.code?e:S(S({},e.data),{},{requestId:e.seqId})}))}},{key:"getAuthHeader",value:function(){var e=this._cache.keys,t=e.refreshTokenKey,n=e.accessTokenKey,r=this._cache.getStore(t);return{"x-cloudbase-credentials":this._cache.getStore(n)+"/@@/"+r}}},{key:"_onAnonymousConverted",value:function(e){var t=e.data.env;t===this.config.env&&this._cache.updatePersistence(this.config.persistence)}},{key:"_onLoginTypeChanged",value:function(e){var t=e.data,n=t.loginType,r=t.persistence,i=t.env;i===this.config.env&&(this._cache.updatePersistence(r),this._cache.setStore(this._cache.keys.loginTypeKey,n))}}]),e}(),bt=function(e,t){t=t||Ne();var n=dt(this.config.env),r=e.cloudPath,i=e.filePath,o=e.onUploadProgress,a=e.fileType,s=void 0===a?"image":a;return n.send("storage.getUploadMetadata",{path:r}).then((function(e){var a=e.data,u=a.url,l=a.authorization,c=a.token,d=a.fileId,p=a.cosFileId,f=e.requestId,h={key:r,signature:l,"x-cos-meta-fileid":p,success_action_status:"201","x-cos-security-token":c};n.upload({url:u,data:h,file:i,name:r,fileType:s,onUploadProgress:o}).then((function(e){201===e.statusCode?t(null,{fileID:d,requestId:f}):t(new be({code:"STORAGE_REQUEST_FAIL",message:"STORAGE_REQUEST_FAIL: ".concat(e.data)}))})).catch((function(e){t(e)}))})).catch((function(e){t(e)})),t.promise},xt=function(e,t){t=t||Ne();var n=dt(this.config.env),r=e.cloudPath;return n.send("storage.getUploadMetadata",{path:r}).then((function(e){t(null,e)})).catch((function(e){t(e)})),t.promise},wt=function(e,t){var n=e.fileList;if(t=t||Ne(),!n||!Array.isArray(n))return{code:"INVALID_PARAM",message:"fileList必须是非空的数组"};var r,i=b(n);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(!o||"string"!=typeof o)return{code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"}}}catch(s){i.e(s)}finally{i.f()}var a={fileid_list:n};return dt(this.config.env).send("storage.batchDeleteFile",a).then((function(e){e.code?t(null,e):t(null,{fileList:e.data.delete_list,requestId:e.requestId})})).catch((function(e){t(e)})),t.promise},St=function(e,t){var n=e.fileList;t=t||Ne(),n&&Array.isArray(n)||t(null,{code:"INVALID_PARAM",message:"fileList必须是非空的数组"});var r,i=[],o=b(n);try{for(o.s();!(r=o.n()).done;){var a=r.value;"object"==(0,l.default)(a)?(a.hasOwnProperty("fileID")&&a.hasOwnProperty("maxAge")||t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是包含fileID和maxAge的对象"}),i.push({fileid:a.fileID,max_age:a.maxAge})):"string"==typeof a?i.push({fileid:a}):t(null,{code:"INVALID_PARAM",message:"fileList的元素必须是字符串"})}}catch(u){o.e(u)}finally{o.f()}var s={file_list:i};return dt(this.config.env).send("storage.batchGetDownloadUrl",s).then((function(e){e.code?t(null,e):t(null,{fileList:e.data.download_list,requestId:e.requestId})})).catch((function(e){t(e)})),t.promise},At=function(){var e=(0,d.default)(a.default.mark((function e(t,n){var r,i,o,s;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=t.fileID,e.next=3,St.call(this,{fileList:[{fileID:r,maxAge:600}]});case 3:if(i=e.sent.fileList[0],"SUCCESS"===i.code){e.next=6;break}return e.abrupt("return",n?n(i):new Promise((function(e){e(i)})));case 6:if(o=dt(this.config.env),s=i.download_url,s=encodeURI(s),n){e.next=10;break}return e.abrupt("return",o.download({url:s}));case 10:return e.t0=n,e.next=13,o.download({url:s});case 13:e.t1=e.sent,(0,e.t0)(e.t1);case 15:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}(),Ct=function(e,t){var n,r=e.name,i=e.data,o=e.query,a=e.parse,s=e.search,u=t||Ne();try{n=i?JSON.stringify(i):""}catch(r){return Promise.reject(r)}if(!r)return Promise.reject(new be({code:"PARAM_ERROR",message:"函数名不能为空"}));var l={inQuery:o,parse:a,search:s,function_name:r,request_data:n};return dt(this.config.env).send("functions.invokeFunction",l).then((function(e){if(e.code)u(null,e);else{var t=e.data.response_data;if(a)u(null,{result:t,requestId:e.requestId});else try{t=JSON.parse(e.data.response_data),u(null,{result:t,requestId:e.requestId})}catch(e){u(new be({message:"response data must be json"}))}}return u.promise})).catch((function(e){u(e)})),u.promise},kt={timeout:15e3,persistence:"session"},Tt={},It=function(){function e(t){(0,m.default)(this,e),this.config=t||this.config,this.authObj=void 0}return(0,v.default)(e,[{key:"init",value:function(t){switch(Fe.adapter||(this.requestClient=new Fe.adapter.reqClass({timeout:t.timeout||5e3,timeoutMsg:"请求在".concat((t.timeout||5e3)/1e3,"s内未完成,已中断")})),this.config=S(S({},kt),t),!0){case this.config.timeout>6e5:console.warn("timeout大于可配置上限[10分钟],已重置为上限数值"),this.config.timeout=6e5;break;case this.config.timeout<100:console.warn("timeout小于可配置下限[100ms],已重置为下限数值"),this.config.timeout=100}return new e(this.config)}},{key:"auth",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.persistence;if(this.authObj)return this.authObj;var n,r=t||Fe.adapter.primaryStorage||kt.persistence;return r!==this.config.persistence&&(this.config.persistence=r),function(e){var t=e.env;Ve[t]=new He(e),Ge[t]=new He(S(S({},e),{},{persistence:"local"}))}(this.config),n=this.config,ct[n.env]=new lt(n),this.authObj=new _t(this.config),this.authObj}},{key:"on",value:function(e,t){return Xe.apply(this,[e,t])}},{key:"off",value:function(e,t){return Je.apply(this,[e,t])}},{key:"callFunction",value:function(e,t){return Ct.apply(this,[e,t])}},{key:"deleteFile",value:function(e,t){return wt.apply(this,[e,t])}},{key:"getTempFileURL",value:function(e,t){return St.apply(this,[e,t])}},{key:"downloadFile",value:function(e,t){return At.apply(this,[e,t])}},{key:"uploadFile",value:function(e,t){return bt.apply(this,[e,t])}},{key:"getUploadMetadata",value:function(e,t){return xt.apply(this,[e,t])}},{key:"registerExtension",value:function(e){Tt[e.name]=e}},{key:"invokeExtension",value:function(){var e=(0,d.default)(a.default.mark((function e(t,n){var r;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(r=Tt[t],r){e.next=3;break}throw new be({message:"扩展".concat(t," 必须先注册")});case 3:return e.next=5,r.invoke(n,this);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"useAdapters",value:function(e){var t=function(e){var t,n,r=(t=e,"[object Array]"===Object.prototype.toString.call(t)?e:[e]),i=b(r);try{for(i.s();!(n=i.n()).done;){var o=n.value,a=o.isMatch,s=o.genAdapter,u=o.runtime;if(a())return{adapter:s(),runtime:u}}}catch(l){i.e(l)}finally{i.f()}}(e)||{},n=t.adapter,r=t.runtime;n&&(Fe.adapter=n),r&&(Fe.runtime=r)}}]),e}(),Mt=new It;function Ot(e,t,n){void 0===n&&(n={});var r=/\?/.test(t),i="";for(var o in n)""===i?!r&&(t+="?"):i+="&",i+=o+"="+encodeURIComponent(n[o]);return/^http(s)?:\/\//.test(t+=i)?t:""+e+t}var Pt=function(){function e(){(0,m.default)(this,e)}return(0,v.default)(e,[{key:"post",value:function(e){var t=e.url,n=e.data,r=e.headers;return new Promise((function(e,i){xe.request({url:Ot("https:",t),data:n,method:"POST",header:r,success:function(t){e(t)},fail:function(e){i(e)}})}))}},{key:"upload",value:function(e){return new Promise((function(t,n){var r=e.url,i=e.file,o=e.data,a=e.headers,s=e.fileType,u=xe.uploadFile({url:Ot("https:",r),name:"file",formData:Object.assign({},o),filePath:i,fileType:s,header:a,success:function(e){var n={statusCode:e.statusCode,data:e.data||{}};200===e.statusCode&&o.success_action_status&&(n.statusCode=parseInt(o.success_action_status,10)),t(n)},fail:function(e){n(new Error(e.errMsg||"uploadFile:fail"))}});"function"==typeof e.onUploadProgress&&u&&"function"==typeof u.onProgressUpdate&&u.onProgressUpdate((function(t){e.onUploadProgress({loaded:t.totalBytesSent,total:t.totalBytesExpectedToSend})}))}))}}]),e}(),Dt={setItem:function(e,t){xe.setStorageSync(e,t)},getItem:function(e){return xe.getStorageSync(e)},removeItem:function(e){xe.removeStorageSync(e)},clear:function(){xe.clearStorageSync()}},Et={genAdapter:function(){return{root:{},reqClass:Pt,localStorage:Dt,primaryStorage:"local"}},isMatch:function(){return!0},runtime:"uni_app"};Mt.useAdapters(Et);var Bt=Mt,Lt=Bt.init;Bt.init=function(e){e.env=e.spaceId;var t=Lt.call(this,e);t.config.provider="tencent",t.config.spaceId=e.spaceId;var n=t.auth;return t.auth=function(e){var t=n.call(this,e);return["linkAndRetrieveDataWithTicket","signInAnonymously","signOut","getAccessToken","getLoginState","signInWithTicket","getUserInfo"].forEach((function(e){var n;t[e]=(n=t[e],function(e){e=e||{};var t=me(e),r=t.success,i=t.fail,o=t.complete;if(!(r||i||o))return n.call(this,e);n.call(this,e).then((function(e){r&&r(e),o&&o(e)}),(function(e){i&&i(e),o&&o(e)}))}).bind(t)})),t},t.customAuth=t.auth,t};var Nt=Bt,Rt=function(e){(0,f.default)(n,e);var t=A(n);function n(){return(0,m.default)(this,n),t.apply(this,arguments)}return(0,v.default)(n,[{key:"getAccessToken",value:function(){var e=this;return new Promise((function(t,n){var r="Anonymous_Access_token";e.setAccessToken(r),t(r)}))}},{key:"setupRequest",value:function(e,t){var n=Object.assign({},e,{spaceId:this.config.spaceId,timestamp:Date.now()}),r={"Content-Type":"application/json"};"auth"!==t&&(n.token=this.accessToken,r["x-basement-token"]=this.accessToken),r["x-serverless-sign"]=Te.sign(n,this.config.clientSecret);var i=Ce();r["x-client-info"]=encodeURIComponent(JSON.stringify(i));var o=we(),a=o.token;return r["x-client-token"]=a,{url:this.config.requestUrl,method:"POST",data:n,dataType:"json",header:JSON.parse(JSON.stringify(r))}}},{key:"uploadFileToOSS",value:function(e){var t=this,n=e.url,r=e.formData,i=e.name,o=e.filePath,a=e.fileType,s=e.onUploadProgress;return new Promise((function(e,u){var l=t.adapter.uploadFile({url:n,formData:r,name:i,filePath:o,fileType:a,success:function(t){t&&t.statusCode<400?e(t):u(new be({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail:function(e){u(new be({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof s&&l&&"function"==typeof l.onProgressUpdate&&l.onProgressUpdate((function(e){s({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}},{key:"uploadFile",value:function(e){var t,n=this,r=e.filePath,i=e.cloudPath,o=e.fileType,a=void 0===o?"image":o,s=e.onUploadProgress;if(!i)throw new be({code:"CLOUDPATH_REQUIRED",message:"cloudPath不可为空"});return this.getOSSUploadOptionsFromPath({cloudPath:i}).then((function(e){var i=e.result,o=i.url,u=i.formData,l=i.name;t=e.result.fileUrl;var c={url:o,formData:u,name:l,filePath:r,fileType:a};return n.uploadFileToOSS(Object.assign({},c,{onUploadProgress:s}))})).then((function(){return n.reportOSSUpload({cloudPath:i})})).then((function(e){return new Promise((function(n,i){e.success?n({success:!0,filePath:r,fileID:t}):i(new be({code:"UPLOAD_FAILED",message:"文件上传失败"}))}))}))}},{key:"deleteFile",value:function(e){var t=e.fileList,n={method:"serverless.file.resource.delete",params:JSON.stringify({fileList:t})};return this.request(this.setupRequest(n)).then((function(e){if(e.success)return e.result;throw new be({code:"DELETE_FILE_FAILED",message:"删除文件失败"})}))}},{key:"getTempFileURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.fileList,n=e.maxAge;if(!Array.isArray(t)||0===t.length)throw new be({code:"INVALID_PARAM",message:"fileList的元素必须是非空的字符串"});var r={method:"serverless.file.resource.getTempFileURL",params:JSON.stringify({fileList:t,maxAge:n})};return this.request(this.setupRequest(r)).then((function(e){if(e.success)return{fileList:e.result.fileList.map((function(e){return{fileID:e.fileID,tempFileURL:e.tempFileURL}}))};throw new be({code:"GET_TEMP_FILE_URL_FAILED",message:"获取临时文件链接失败"})}))}}]),n}(Ie),jt={init:function(e){var t=new Rt(e),n={signInAnonymously:function(){return t.authorize()},getLoginState:function(){return Promise.resolve(!1)}};return t.auth=function(){return n},t.customAuth=t.auth,t}},Ft=C((function(e,t){e.exports=T.enc.Hex}));function zt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.data,r=t.functionName,i=t.method,o=t.headers,a=t.signHeaderKeys,s=void 0===a?[]:a,l=t.config,c=Date.now(),d="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})),p=Object.assign({},o,{"x-from-app-id":l.spaceAppId,"x-from-env-id":l.spaceId,"x-to-env-id":l.spaceId,"x-from-instance-id":c,"x-from-function-name":r,"x-client-timestamp":c,"x-alipay-source":"client","x-request-id":d,"x-alipay-callid":d,"x-trace-id":d}),f=["x-from-app-id","x-from-env-id","x-to-env-id","x-from-instance-id","x-from-function-name","x-client-timestamp"].concat(s),h=e.split("?")||[],g=(0,u.default)(h,2),y=g[0],m=void 0===y?"":y,v=g[1],_=void 0===v?"":v,b=function(e){var t=e.signedHeaders.join(";"),n=e.signedHeaders.map((function(t){return"".concat(t.toLowerCase(),":").concat(e.headers[t],"\n")})).join(""),r=Be(e.body).toString(Ft),i="".concat(e.method.toUpperCase(),"\n").concat(e.path,"\n").concat(e.query,"\n").concat(n,"\n").concat(t,"\n").concat(r,"\n"),o=Be(i).toString(Ft),a="HMAC-SHA256\n".concat(e.timestamp,"\n").concat(o,"\n"),s=Le(a,e.secretKey).toString(Ft);return"HMAC-SHA256 Credential=".concat(e.secretId,", SignedHeaders=").concat(t,", Signature=").concat(s)}({path:m,query:_,method:i,headers:p,timestamp:c,body:JSON.stringify(n),secretId:l.accessKey,secretKey:l.secretKey,signedHeaders:f.sort()});return{url:"".concat(l.endpoint).concat(e),headers:Object.assign({},p,{Authorization:b})}}function $t(e){var t=e.url,n=e.data,r=e.method,i=void 0===r?"POST":r,o=e.headers,a=void 0===o?{}:o;return new Promise((function(e,r){xe.request({url:t,method:i,data:n,header:a,dataType:"json",complete:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=a["x-trace-id"]||"";if(!t.statusCode||t.statusCode>=400){var i=t.data||{},o=i.message,s=i.errMsg,u=i.trace_id;return r(new be({code:"SYS_ERR",message:o||s||"request:fail",requestId:u||n}))}e({status:t.statusCode,data:t.data,headers:t.header,requestId:n})}})}))}function Ut(e,t){var n=e.path,r=e.data,i=e.method,o=void 0===i?"GET":i,a=zt(n,{functionName:"",data:r,method:o,headers:{"x-alipay-cloud-mode":"oss","x-data-api-type":"oss","x-expire-timestamp":Date.now()+6e4},signHeaderKeys:["x-data-api-type","x-expire-timestamp"],config:t}),s=a.url,u=a.headers;return $t({url:s,data:r,method:o,headers:u}).then((function(e){var t=e.data||{};if(!t.success)throw new be({code:e.errCode,message:e.errMsg,requestId:e.requestId});return t.data||{}})).catch((function(e){throw new be({code:e.errCode,message:e.errMsg,requestId:e.requestId})}))}function Ht(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.trim().replace(/^cloud:\/\//,""),n=t.indexOf("/");if(n<=0)throw new be({code:"INVALID_PARAM",message:"fileID不合法"});var r=t.substring(0,n),i=t.substring(n+1);return r!==this.config.spaceId&&console.warn("file ".concat(e," does not belong to env ").concat(this.config.spaceId)),i}function Vt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"cloud://".concat(this.config.spaceId,"/").concat(e.replace(/^\/+/,""))}var Gt=function(){function e(t){if((0,m.default)(this,e),["spaceId","spaceAppId","accessKey","secretKey"].forEach((function(e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new Error("".concat(e," required"))})),t.endpoint){if("string"!=typeof t.endpoint)throw new Error("endpoint must be string");if(!/^https:\/\//.test(t.endpoint))throw new Error("endpoint must start with https://");t.endpoint=t.endpoint.replace(/\/$/,"")}this.config=Object.assign({},t,{endpoint:t.endpoint||"https://".concat(t.spaceId,".api-hz.cloudbasefunction.cn")})}return(0,v.default)(e,[{key:"callFunction",value:function(e){return function(e,t){var n=e.name,r=e.data,i="POST",o=zt("/functions/invokeFunction",{functionName:n,data:r,method:i,headers:{"x-to-function-name":n},signHeaderKeys:["x-to-function-name"],config:t}),a=o.url,s=o.headers;return $t({url:a,data:r,method:i,headers:s}).then((function(e){return{errCode:0,success:!0,requestId:e.requestId,result:e.data}})).catch((function(e){throw new be({code:e.errCode,message:e.errMsg,requestId:e.requestId})}))}(e,this.config)}},{key:"uploadFileToOSS",value:function(e){var t=e.url,n=e.filePath,r=e.fileType,i=e.formData,o=e.onUploadProgress;return new Promise((function(e,a){var s=xe.uploadFile({url:t,filePath:n,fileType:r,formData:i,name:"file",success:function(t){t&&t.statusCode<400?e(t):a(new be({code:"UPLOAD_FAILED",message:"文件上传失败"}))},fail:function(e){a(new be({code:e.code||"UPLOAD_FAILED",message:e.message||e.errMsg||"文件上传失败"}))}});"function"==typeof o&&s&&"function"==typeof s.onProgressUpdate&&s.onProgressUpdate((function(e){o({loaded:e.totalBytesSent,total:e.totalBytesExpectedToSend})}))}))}},{key:"uploadFile",value:function(){var e=(0,d.default)(a.default.mark((function e(t){var n,r,i,o,s,u,l,c,d,p,f;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.filePath,r=t.cloudPath,i=void 0===r?"":r,o=t.fileType,s=void 0===o?"image":o,u=t.onUploadProgress,"string"===N(i)){e.next=3;break}throw new be({code:"INVALID_PARAM",message:"cloudPath必须为字符串类型"});case 3:if(i=i.trim()){e.next=5;break}throw new be({code:"INVALID_PARAM",message:"cloudPath不可为空"});case 5:if(!/:\/\//.test(i)){e.next=7;break}throw new be({code:"INVALID_PARAM",message:"cloudPath不合法"});case 7:return e.next=9,Ut({path:"/".concat(i.replace(/^\//,""),"?post_url")},this.config);case 9:return l=e.sent,c=l.file_id,d=l.upload_url,p=l.form_data,f=p&&p.reduce((function(e,t){return e[t.key]=t.value,e}),{}),e.abrupt("return",this.uploadFileToOSS({url:d,filePath:n,fileType:s,formData:f,onUploadProgress:u}).then((function(){return{fileID:c}})));case 15:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"getTempFileURL",value:function(){var e=(0,d.default)(a.default.mark((function e(t){var n,r=this;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.fileList,e.abrupt("return",new Promise((function(e,t){(!n||n.length<0)&&t(new be({errCode:"INVALID_PARAM",errMsg:"fileList不能为空数组"})),n.length>50&&t(new be({errCode:"INVALID_PARAM",errMsg:"fileList数组长度不能超过50"}));var i,o=[],a=b(n);try{for(a.s();!(i=a.n()).done;){var s=i.value;"string"!==N(s)&&t(new be({errCode:"INVALID_PARAM",errMsg:"fileList的元素必须是非空的字符串"}));var u=Ht.call(r,s);o.push({file_id:u,expire:600})}}catch(l){a.e(l)}finally{a.f()}Ut({path:"/?download_url",data:{file_list:o},method:"POST"},r.config).then((function(t){var n=t.file_list,i=void 0===n?[]:n;e({fileList:i.map((function(e){return{fileID:Vt.call(r,e.file_id),tempFileURL:e.download_url}}))})})).catch((function(e){return t(e)}))})));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}]),e}(),Wt={init:function(e){e.provider="alipay";var t=new Gt(e);return t.auth=function(){return{signInAnonymously:function(){return Promise.resolve()},getLoginState:function(){return Promise.resolve(!0)}}},t}};function qt(e){var t,n=e.data;t=Ce();var r=JSON.parse(JSON.stringify(n||{}));if(Object.assign(r,{clientInfo:t}),!r.uniIdToken){var i=we(),o=i.token;o&&(r.uniIdToken=o)}return r}var Qt=[{rule:/fc_function_not_found|FUNCTION_NOT_FOUND/,content:",云函数[{functionName}]在云端不存在,请检查此云函数名称是否正确以及该云函数是否已上传到服务空间",mode:"append"}],Yt=/[\\^$.*+?()[\]{}|]/g,Xt=RegExp(Yt.source);function Kt(e,t,n){return e.replace(new RegExp((r=t)&&Xt.test(r)?r.replace(Yt,"\\$&"):r,"g"),n);var r}var Jt="request",Zt="response";var en;en="0123456789abcdef";var tn={code:2e4,message:"System error"},nn={code:20101,message:"Invalid client"};function rn(e){var t=e||{},n=t.errSubject,r=t.subject,i=t.errCode,o=t.errMsg,a=t.code,s=t.message,u=t.cause;return new be({subject:n||r||"uni-secure-network",code:i||a||tn.code,message:o||s,cause:u})}var on;function an(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.secretType;return t===Jt||t===Zt||"both"===t}function sn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=e.data,r=void 0===n?{}:n;return"app"===W&&"DCloud-clientDB"===t&&"encryption"===r.redirectTo&&"getAppClientKey"===r.action}function un(e){e.functionName,e.result,e.logPvd}function ln(e){var t=e.callFunction,n=function(n){var r=this,i=n.name;n.data=qt.call(e,{data:n.data});var o={aliyun:"aliyun",tencent:"tcb",tcb:"tcb",alipay:"alipay"}[this.config.provider],a=an(n),s=sn(n),u=a||s;return t.call(this,n).then((function(e){return e.errCode=0,!u&&un.call(r,{functionName:i,result:e,logPvd:o}),Promise.resolve(e)}),(function(e){return!u&&un.call(r,{functionName:i,result:e,logPvd:o}),e&&e.message&&(e.message=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.message,n=void 0===t?"":t,r=e.extraInfo,i=void 0===r?{}:r,o=e.formatter,a=void 0===o?[]:o,s=0;s<a.length;s++){var u=a[s],l=u.rule,c=u.content,d=u.mode,p=n.match(l);if(p){for(var f=c,h=1;h<p.length;h++)f=Kt(f,"{$".concat(h,"}"),p[h]);for(var g in i)f=Kt(f,"{".concat(g,"}"),i[g]);return"replace"===d?f:n+f}}return n}({message:"[".concat(n.name,"]: ").concat(e.message),formatter:Qt,extraInfo:{functionName:i}})),Promise.reject(e)}))};e.callFunction=function(t){var r,i,o=e.config,a=o.provider,s=o.spaceId,u=t.name;return t.data=t.data||{},r=n,r=r.bind(e),i=sn(t)?n.call(e,t):function(e){var t=e.name,n=e.data,r=void 0===n?{}:n;return"mp-weixin"===W&&"uni-id-co"===t&&"secureNetworkHandshakeByWeixin"===r.method}(t)?r.call(e,t):an(t)?new on({secretType:t.secretType,uniCloudIns:e}).wrapEncryptDataCallFunction(n.bind(e))(t):function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.provider,n=e.spaceId,r=e.functionName,i=Ae(),o=i.appId,a=i.uniPlatform,s=i.osName,u=a;"app"===a&&(u=s);var l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.provider,n=e.spaceId,r=G;if(!r)return{};t=function(e){return"tencent"===e?"tcb":e}(t);var i=r.find((function(e){return e.provider===t&&e.spaceId===n}));return i&&i.config}({provider:t,spaceId:n});if(!l||!l.accessControl||!l.accessControl.enable)return!1;var c=l.accessControl.function||{},d=Object.keys(c);if(0===d.length)return!0;var p=function(e,t){for(var n,r,i,o=0;o<e.length;o++){var a=e[o];a!==t?"*"!==a?a.split(",").map((function(e){return e.trim()})).indexOf(t)>-1&&(r=a):i=a:n=a}return n||r||i}(d,r);if(!p)return!1;if((c[p]||[]).find((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.appId===o&&(e.platform||"").toLowerCase()===u.toLowerCase()})))return!0;throw console.error("此应用[appId: ".concat(o,", platform: ").concat(u,"]不在云端配置的允许访问的应用列表内,参考:https://uniapp.dcloud.net.cn/uniCloud/secure-network.html#verify-client")),rn(nn)}({provider:a,spaceId:s,functionName:u})?new on({secretType:t.secretType,uniCloudIns:e}).wrapVerifyClientCallFunction(n.bind(e))(t):r(t),Object.defineProperty(i,"result",{get:function(){return console.warn("当前返回结果为Promise类型,不可直接访问其result属性,详情请参考:https://uniapp.dcloud.net.cn/uniCloud/faq?id=promise"),{}}}),i.then((function(e){return"undefined"!=typeof UTSJSONObject&&(e.result=new UTSJSONObject(e.result)),e}))}}on="mp-weixin"!==W&&"app"!==W?function(){return(0,v.default)((function e(){throw(0,m.default)(this,e),rn({message:"Platform ".concat(W," is not supported by secure network")})}))}():function(){return(0,v.default)((function e(){throw(0,m.default)(this,e),rn({message:"Platform ".concat(W," is not enabled, please check whether secure network module is enabled in your manifest.json")})}))}();var cn=Symbol("CLIENT_DB_INTERNAL");function dn(e,t){return e.then="DoNotReturnProxyWithAFunctionNamedThen",e._internalType=cn,e.inspect=null,e.__ob__=void 0,new Proxy(e,{get:function(e,n,r){if("_uniClient"===n)return null;if("symbol"==(0,l.default)(n))return e[n];if(n in e||"string"!=typeof n){var i=e[n];return"function"==typeof i?i.bind(e):i}return t.get(e,n,r)}})}function pn(e){return{on:function(t,n){e[t]=e[t]||[],e[t].indexOf(n)>-1||e[t].push(n)},off:function(t,n){e[t]=e[t]||[];var r=e[t].indexOf(n);-1!==r&&e[t].splice(r,1)}}}var fn=["db.Geo","db.command","command.aggregate"];function hn(e,t){return fn.indexOf("".concat(e,".").concat(t))>-1}function gn(e){switch(N(e)){case"array":return e.map((function(e){return gn(e)}));case"object":return e._internalType===cn||Object.keys(e).forEach((function(t){e[t]=gn(e[t])})),e;case"regexp":return{$regexp:{source:e.source,flags:e.flags}};case"date":return{$date:e.toISOString()};default:return e}}function yn(e){return e&&e.content&&e.content.$method}var mn=function(){function e(t,n,r){(0,m.default)(this,e),this.content=t,this.prevStage=n||null,this.udb=null,this._database=r}return(0,v.default)(e,[{key:"toJSON",value:function(){for(var e=this,t=[e.content];e.prevStage;)e=e.prevStage,t.push(e.content);return{$db:t.reverse().map((function(e){return{$method:e.$method,$param:gn(e.$param)}}))}}},{key:"toString",value:function(){return JSON.stringify(this.toJSON())}},{key:"getAction",value:function(){var e=this.toJSON().$db.find((function(e){return"action"===e.$method}));return e&&e.$param&&e.$param[0]}},{key:"getCommand",value:function(){return{$db:this.toJSON().$db.filter((function(e){return"action"!==e.$method}))}}},{key:"isAggregate",get:function(){for(var e=this;e;){var t=yn(e),n=yn(e.prevStage);if("aggregate"===t&&"collection"===n||"pipeline"===t)return!0;e=e.prevStage}return!1}},{key:"isCommand",get:function(){for(var e=this;e;){if("command"===yn(e))return!0;e=e.prevStage}return!1}},{key:"isAggregateCommand",get:function(){for(var e=this;e;){var t=yn(e),n=yn(e.prevStage);if("aggregate"===t&&"command"===n)return!0;e=e.prevStage}return!1}},{key:"getNextStageFn",value:function(e){var t=this;return function(){return vn({$method:e,$param:gn(Array.from(arguments))},t,t._database)}}},{key:"count",get:function(){return this.isAggregate?this.getNextStageFn("count"):function(){return this._send("count",Array.from(arguments))}}},{key:"remove",get:function(){return this.isCommand?this.getNextStageFn("remove"):function(){return this._send("remove",Array.from(arguments))}}},{key:"get",value:function(){return this._send("get",Array.from(arguments))}},{key:"add",get:function(){return this.isCommand?this.getNextStageFn("add"):function(){return this._send("add",Array.from(arguments))}}},{key:"update",value:function(){return this._send("update",Array.from(arguments))}},{key:"end",value:function(){return this._send("end",Array.from(arguments))}},{key:"set",get:function(){return this.isCommand?this.getNextStageFn("set"):function(){throw new Error("JQL禁止使用set方法")}}},{key:"_send",value:function(e,t){var n=this.getAction(),r=this.getCommand();return r.$db.push({$method:e,$param:gn(t)}),this._database._callCloudFunction({action:n,command:r})}}]),e}();function vn(e,t,n){return dn(new mn(e,t,n),{get:function(e,t){var r="db";return e&&e.content&&(r=e.content.$method),hn(r,t)?vn({$method:t},e,n):function(){return vn({$method:t,$param:gn(Array.from(arguments))},e,n)}}})}function _n(e){var t=e.path,n=e.method;return function(){function e(){(0,m.default)(this,e),this.param=Array.from(arguments)}return(0,v.default)(e,[{key:"toJSON",value:function(){return{$newDb:[].concat((0,c.default)(t.map((function(e){return{$method:e}}))),[{$method:n,$param:this.param}])}}},{key:"toString",value:function(){return JSON.stringify(this.toJSON())}}]),e}()}function bn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return dn(new e(t),{get:function(e,t){return hn("db",t)?vn({$method:t},null,e):function(){return vn({$method:t,$param:gn(Array.from(arguments))},null,e)}}})}var xn=function(e){(0,f.default)(n,e);var t=A(n);function n(){return(0,m.default)(this,n),t.apply(this,arguments)}return(0,v.default)(n,[{key:"_parseResult",value:function(e){return this._isJQL?e.result:e}},{key:"_callCloudFunction",value:function(e){var t=this,n=e.action,r=e.command,i=e.multiCommand,o=e.queryList;function a(e,t){if(i&&o)for(var n=0;n<o.length;n++){var r=o[n];r.udb&&"function"==typeof r.udb.setResult&&(t?r.udb.setResult(t):r.udb.setResult(e.result.dataList[n]))}}var s=this,u=this._isJQL?"databaseForJQL":"database";function l(e){return s._callback("error",[e]),ee(te(u,"fail"),e).then((function(){return ee(te(u,"complete"),e)})).then((function(){return a(null,e),fe(ie,{type:se,content:e}),Promise.reject(e)}))}var c=ee(te(u,"invoke")),d=this._uniClient;return c.then((function(){return d.callFunction({name:"DCloud-clientDB",type:"CLIENT_DB",data:{action:n,command:r,multiCommand:i}})})).then((function(e){var n=e.result,r=n.code,i=n.message,o=n.token,c=n.tokenExpired,d=n.systemInfo,p=void 0===d?[]:d;if(p)for(var f=0;f<p.length;f++){var h=p[f],g=h.level,y=h.message,m=h.detail,v=console["app"===W&&"warn"===g?"error":g]||console.log,_="[System Info]"+y;m&&(_="".concat(_,"\n详细信息:").concat(m)),v(_)}if(r)return l(new be({code:r,message:i,requestId:e.requestId}));e.result.errCode=e.result.errCode||e.result.code,e.result.errMsg=e.result.errMsg||e.result.message,o&&c&&(Se({token:o,tokenExpired:c}),t._callbackAuth("refreshToken",[{token:o,tokenExpired:c}]),t._callback("refreshToken",[{token:o,tokenExpired:c}]),fe(ae,{token:o,tokenExpired:c}));for(var b=[{prop:"affectedDocs",tips:"affectedDocs不再推荐使用,请使用inserted/deleted/updated/data.length替代"},{prop:"code",tips:"code不再推荐使用,请使用errCode替代"},{prop:"message",tips:"message不再推荐使用,请使用errMsg替代"}],x=function(t){var n=b[t],r=n.prop,i=n.tips;if(r in e.result){var o=e.result[r];Object.defineProperty(e.result,r,{get:function(){return console.warn(i),o}})}},w=0;w<b.length;w++)x(w);return function(e){return ee(te(u,"success"),e).then((function(){return ee(te(u,"complete"),e)})).then((function(){a(e,null);var t=s._parseResult(e);return fe(ie,{type:se,content:t}),Promise.resolve(t)}))}(e)}),(function(e){return/fc_function_not_found|FUNCTION_NOT_FOUND/g.test(e.message)&&console.warn("clientDB未初始化,请在web控制台保存一次schema以开启clientDB"),l(new be({code:e.code||"SYSTEM_ERROR",message:e.message,requestId:e.requestId}))}))}}]),n}(function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.uniClient,r=void 0===n?{}:n,i=t.isJQL,o=void 0!==i&&i;(0,m.default)(this,e),this._uniClient=r,this._authCallBacks={},this._dbCallBacks={},r._isDefault&&(this._dbCallBacks=Y("_globalUniCloudDatabaseCallback")),o||(this.auth=pn(this._authCallBacks)),this._isJQL=o,Object.assign(this,pn(this._dbCallBacks)),this.env=dn({},{get:function(e,t){return{$env:t}}}),this.Geo=dn({},{get:function(e,t){return _n({path:["Geo"],method:t})}}),this.serverDate=_n({path:[],method:"serverDate"}),this.RegExp=_n({path:[],method:"RegExp"})}return(0,v.default)(e,[{key:"getCloudEnv",value:function(e){if("string"!=typeof e||!e.trim())throw new Error("getCloudEnv参数错误");return{$env:e.replace("$cloudEnv_","")}}},{key:"_callback",value:function(e,t){var n=this._dbCallBacks;n[e]&&n[e].forEach((function(e){e.apply(void 0,(0,c.default)(t))}))}},{key:"_callbackAuth",value:function(e,t){var n=this._authCallBacks;n[e]&&n[e].forEach((function(e){e.apply(void 0,(0,c.default)(t))}))}},{key:"multiSend",value:function(){var e=Array.from(arguments),t=e.map((function(e){var t=e.getAction(),n=e.getCommand();if("getTemp"!==n.$db[n.$db.length-1].$method)throw new Error("multiSend只支持子命令内使用getTemp");return{action:t,command:n}}));return this._callCloudFunction({multiCommand:t,queryList:e})}}]),e}()),wn="token无效,跳转登录页面",Sn="token过期,跳转登录页面",An={TOKEN_INVALID_TOKEN_EXPIRED:Sn,TOKEN_INVALID_INVALID_CLIENTID:wn,TOKEN_INVALID:wn,TOKEN_INVALID_WRONG_TOKEN:wn,TOKEN_INVALID_ANONYMOUS_USER:wn},Cn={"uni-id-token-expired":Sn,"uni-id-check-token-failed":wn,"uni-id-token-not-exist":wn,"uni-id-check-device-feature-failed":wn};function kn(e,t){var n="";return n=e?"".concat(e,"/").concat(t):t,n.replace(/^\//,"")}function Tn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=[],r=[];return e.forEach((function(e){!0===e.needLogin?n.push(kn(t,e.path)):!1===e.needLogin&&r.push(kn(t,e.path))})),{needLoginPage:n,notNeedLoginPage:r}}function In(e){return e.split("?")[0].replace(/^\//,"")}function Mn(){return function(e){var t=e&&e.$page&&e.$page.fullPath||"";return t?("/"!==t.charAt(0)&&(t="/"+t),t):t}(function(){var e=getCurrentPages();return e[e.length-1]}())}function On(){return In(Mn())}function Pn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return!1;if(!(t&&t.list&&t.list.length))return!1;var n=t.list,r=In(e);return n.some((function(e){return e.pagePath===r}))}var Dn,En=!!_.default.uniIdRouter,Bn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_.default,t=e.pages,n=void 0===t?[]:t,r=e.subPackages,i=void 0===r?[]:r,o=e.uniIdRouter,a=void 0===o?{}:o,s=e.tabBar,u=void 0===s?{}:s,l=a.loginPage,d=a.needLogin,p=void 0===d?[]:d,f=a.resToLogin,h=void 0===f||f,g=Tn(n),y=g.needLoginPage,m=g.notNeedLoginPage,v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[],n=[];return e.forEach((function(e){var r=e.root,i=e.pages,o=void 0===i?[]:i,a=Tn(o,r),s=a.needLoginPage,u=a.notNeedLoginPage;t.push.apply(t,(0,c.default)(s)),n.push.apply(n,(0,c.default)(u))})),{needLoginPage:t,notNeedLoginPage:n}}(i),b=v.needLoginPage,x=v.notNeedLoginPage;return{loginPage:l,routerNeedLogin:p,resToLogin:h,needLoginPage:[].concat((0,c.default)(y),(0,c.default)(b)),notNeedLoginPage:[].concat((0,c.default)(m),(0,c.default)(x)),loginPageInTabBar:Pn(l,u)}}(),Ln=Bn.loginPage,Nn=Bn.routerNeedLogin,Rn=Bn.resToLogin,jn=Bn.needLoginPage,Fn=Bn.notNeedLoginPage,zn=Bn.loginPageInTabBar;if(jn.indexOf(Ln)>-1)throw new Error("Login page [".concat(Ln,'] should not be "needLogin", please check your pages.json'));function $n(e){var t=On();if("/"===e.charAt(0))return e;var n=e.split("?"),r=(0,u.default)(n,2),i=r[0],o=r[1],a=i.replace(/^\//,"").split("/"),s=t.split("/");s.pop();for(var l=0;l<a.length;l++){var c=a[l];".."===c?s.pop():"."!==c&&s.push(c)}return""===s[0]&&s.shift(),"/"+s.join("/")+(o?"?"+o:"")}function Un(e){var t=In($n(e));return!(Fn.indexOf(t)>-1)&&(jn.indexOf(t)>-1||Nn.some((function(t){return function(e,t){return new RegExp(t).test(e)}(e,t)})))}function Hn(e){var t=e.redirect,n=In(t),r=In(Ln);return On()!==r&&n!==r}function Vn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.api,n=e.redirect;if(n&&Hn({redirect:n})){var i=function(e,t){return"/"!==e.charAt(0)&&(e="/"+e),t?e.indexOf("?")>-1?e+"&uniIdRedirectUrl=".concat(encodeURIComponent(t)):e+"?uniIdRedirectUrl=".concat(encodeURIComponent(t)):e}(Ln,n);zn?"navigateTo"!==t&&"redirectTo"!==t||(t="switchTab"):"switchTab"===t&&(t="navigateTo");var o={navigateTo:r.navigateTo,redirectTo:r.redirectTo,switchTab:r.switchTab,reLaunch:r.reLaunch};setTimeout((function(){o[t]({url:i})}),0)}}function Gn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.url,n={abortLoginPageJump:!1,autoToLoginPage:!1},r=function(){var e,t=we(),n=t.token,r=t.tokenExpired;if(n){if(r<Date.now()){var i="uni-id-token-expired";e={errCode:i,errMsg:Cn[i]}}}else{var o="uni-id-check-token-failed";e={errCode:o,errMsg:Cn[o]}}return e}();if(Un(t)&&r){if(r.uniIdRedirectUrl=t,ce(oe).length>0)return setTimeout((function(){fe(oe,r)}),0),n.abortLoginPageJump=!0,n;n.autoToLoginPage=!0}return n}function Wn(){!function(){var e=Mn(),t=Gn({url:e}),n=t.abortLoginPageJump,r=t.autoToLoginPage;n||r&&Vn({api:"redirectTo",redirect:e})}();for(var e=["navigateTo","redirectTo","reLaunch","switchTab"],t=function(t){var n=e[t];r.addInterceptor(n,{invoke:function(e){var t=Gn({url:e.url}),r=t.abortLoginPageJump,i=t.autoToLoginPage;return r?e:i?(Vn({api:n,redirect:$n(e.url)}),!1):e}})},n=0;n<e.length;n++)t(n)}function qn(){this.onResponse((function(e){var t=e.type,n=e.content,r=!1;switch(t){case"cloudobject":r=function(e){if("object"!=(0,l.default)(e))return!1;var t=e||{},n=t.errCode;return n in Cn}(n);break;case"clientdb":r=function(e){if("object"!=(0,l.default)(e))return!1;var t=e||{},n=t.errCode;return n in An}(n)}r&&function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=ce(oe);ye().then((function(){var n=Mn();if(n&&Hn({redirect:n}))return t.length>0?fe(oe,Object.assign({uniIdRedirectUrl:n},e)):void(Ln&&Vn({api:"navigateTo",redirect:n}))}))}(n)}))}function Qn(e){!function(e){e.onResponse=function(e){de(ie,e)},e.offResponse=function(e){pe(ie,e)}}(e),function(e){e.onNeedLogin=function(e){de(oe,e)},e.offNeedLogin=function(e){pe(oe,e)},En&&(Y("_globalUniCloudStatus").needLoginInit||(Y("_globalUniCloudStatus").needLoginInit=!0,ye().then((function(){Wn.call(e)})),Rn&&qn.call(e)))}(e),function(e){e.onRefreshToken=function(e){de(ae,e)},e.offRefreshToken=function(e){pe(ae,e)}}(e)}var Yn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Xn=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function Kn(){var e,t,n=we().token||"",r=n.split(".");if(!n||3!==r.length)return{uid:null,role:[],permission:[],tokenExpired:0};try{e=JSON.parse((t=r[1],decodeURIComponent(Dn(t).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))))}catch(n){throw new Error("获取当前用户信息出错,详细错误信息为:"+n.message)}return e.tokenExpired=1e3*e.exp,delete e.exp,delete e.iat,e}Dn="function"!=typeof atob?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!Xn.test(e))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var t;e+="==".slice(2-(3&e.length));for(var n,r,i="",o=0;o<e.length;)t=Yn.indexOf(e.charAt(o++))<<18|Yn.indexOf(e.charAt(o++))<<12|(n=Yn.indexOf(e.charAt(o++)))<<6|(r=Yn.indexOf(e.charAt(o++))),i+=64===n?String.fromCharCode(t>>16&255):64===r?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return i}:atob;var Jn=C((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n="chooseAndUploadFile:ok",o="chooseAndUploadFile:fail";function a(e,t){return e.tempFiles.forEach((function(e,n){e.name||(e.name=e.path.substring(e.path.lastIndexOf("/")+1)),t&&(e.fileType=t),e.cloudPath=Date.now()+"_"+n+e.name.substring(e.name.lastIndexOf("."))})),e.tempFilePaths||(e.tempFilePaths=e.tempFiles.map((function(e){return e.path}))),e}function s(e,t,r){var i=r.onChooseFile,o=r.onUploadProgress;return t.then((function(e){if(i){var t=i(e);if(void 0!==t)return Promise.resolve(t).then((function(t){return void 0===t?e:t}))}return e})).then((function(t){return!1===t?{errMsg:n,tempFilePaths:[],tempFiles:[]}:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,i=arguments.length>3?arguments[3]:void 0;(t=Object.assign({},t)).errMsg=n;var o=t.tempFiles,a=o.length,s=0;return new Promise((function(n){for(;s<r;)u();function u(){var r=s++;if(r>=a)!o.find((function(e){return!e.url&&!e.errMsg}))&&n(t);else{var l=o[r];e.uploadFile({provider:l.provider,filePath:l.path,cloudPath:l.cloudPath,fileType:l.fileType,cloudPathAsRealPath:l.cloudPathAsRealPath,onUploadProgress:function(e){e.index=r,e.tempFile=l,e.tempFilePath=l.path,i&&i(e)}}).then((function(e){l.url=e.fileID,r<a&&u()})).catch((function(e){l.errMsg=e.errMsg||e.message,r<a&&u()}))}}}))}(e,t,5,o)}))}t.initChooseAndUploadFile=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{type:"all"};return"image"===t.type?s(e,function(e){var t=e.count,n=e.sizeType,i=e.sourceType,s=void 0===i?["album","camera"]:i,u=e.extension;return new Promise((function(e,i){r.chooseImage({count:t,sizeType:n,sourceType:s,extension:u,success:function(t){e(a(t,"image"))},fail:function(e){i({errMsg:e.errMsg.replace("chooseImage:fail",o)})}})}))}(t),t):"video"===t.type?s(e,function(e){var t=e.camera,n=e.compressed,i=e.maxDuration,s=e.sourceType,u=void 0===s?["album","camera"]:s,l=e.extension;return new Promise((function(e,s){r.chooseVideo({camera:t,compressed:n,maxDuration:i,sourceType:u,extension:l,success:function(t){var n=t.tempFilePath,r=t.duration,i=t.size,o=t.height,s=t.width;e(a({errMsg:"chooseVideo:ok",tempFilePaths:[n],tempFiles:[{name:t.tempFile&&t.tempFile.name||"",path:n,size:i,type:t.tempFile&&t.tempFile.type||"",width:s,height:o,duration:r,fileType:"video",cloudPath:""}]},"video"))},fail:function(e){s({errMsg:e.errMsg.replace("chooseVideo:fail",o)})}})}))}(t),t):s(e,function(e){var t=e.count,n=e.extension;return new Promise((function(e,s){var u=r.chooseFile;if("undefined"!=typeof i&&"function"==typeof i.chooseMessageFile&&(u=i.chooseMessageFile),"function"!=typeof u)return s({errMsg:o+" 请指定 type 类型,该平台仅支持选择 image 或 video。"});u({type:"all",count:t,extension:n,success:function(t){e(a(t))},fail:function(e){s({errMsg:e.errMsg.replace("chooseFile:fail",o)})}})}))}(t),t)}}})),Zn=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(Jn);function er(e){return{props:{localdata:{type:Array,default:function(){return[]}},options:{type:[Object,Array],default:function(){return{}}},spaceInfo:{type:Object,default:function(){return{}}},collection:{type:[String,Array],default:""},action:{type:String,default:""},field:{type:String,default:""},orderby:{type:String,default:""},where:{type:[String,Object],default:""},pageData:{type:String,default:"add"},pageCurrent:{type:Number,default:1},pageSize:{type:Number,default:20},getcount:{type:[Boolean,String],default:!1},gettree:{type:[Boolean,String],default:!1},gettreepath:{type:[Boolean,String],default:!1},startwith:{type:String,default:""},limitlevel:{type:Number,default:10},groupby:{type:String,default:""},groupField:{type:String,default:""},distinct:{type:[Boolean,String],default:!1},foreignKey:{type:String,default:""},loadtime:{type:String,default:"auto"},manual:{type:Boolean,default:!1}},data:function(){return{mixinDatacomLoading:!1,mixinDatacomHasMore:!1,mixinDatacomResData:[],mixinDatacomErrorMessage:"",mixinDatacomPage:{},mixinDatacomError:null}},created:function(){var e=this;this.mixinDatacomPage={current:this.pageCurrent,size:this.pageSize,count:0},this.$watch((function(){var t=[];return["pageCurrent","pageSize","localdata","collection","action","field","orderby","where","getont","getcount","gettree","groupby","groupField","distinct"].forEach((function(n){t.push(e[n])})),t}),(function(t,n){if("manual"!==e.loadtime){for(var r=!1,i=[],o=2;o<t.length;o++)t[o]!==n[o]&&(i.push(t[o]),r=!0);t[0]!==n[0]&&(e.mixinDatacomPage.current=e.pageCurrent),e.mixinDatacomPage.size=e.pageSize,e.onMixinDatacomPropsChange(r,i)}}))},methods:{onMixinDatacomPropsChange:function(e,t){},mixinDatacomEasyGet:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.getone,r=void 0!==n&&n,i=t.success,o=t.fail;this.mixinDatacomLoading||(this.mixinDatacomLoading=!0,this.mixinDatacomErrorMessage="",this.mixinDatacomError=null,this.mixinDatacomGet().then((function(t){e.mixinDatacomLoading=!1;var n=t.result,o=n.data,a=n.count;e.getcount&&(e.mixinDatacomPage.count=a),e.mixinDatacomHasMore=o.length<e.pageSize;var s=r?o.length?o[0]:void 0:o;e.mixinDatacomResData=s,i&&i(s)})).catch((function(t){e.mixinDatacomLoading=!1,e.mixinDatacomErrorMessage=t,e.mixinDatacomError=t,o&&o(t)})))},mixinDatacomGet:function(){var t,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r=r||{},n="undefined"!=typeof __uniX&&__uniX?e.databaseForJQL(this.spaceInfo):e.database(this.spaceInfo);var i=r.action||this.action;i&&(n=n.action(i));var o=r.collection||this.collection;n=Array.isArray(o)?(t=n).collection.apply(t,(0,c.default)(o)):n.collection(o);var a=r.where||this.where;a&&Object.keys(a).length&&(n=n.where(a));var s=r.field||this.field;s&&(n=n.field(s));var u=r.foreignKey||this.foreignKey;u&&(n=n.foreignKey(u));var l=r.groupby||this.groupby;l&&(n=n.groupBy(l));var d=r.groupField||this.groupField;d&&(n=n.groupField(d)),!0===(void 0!==r.distinct?r.distinct:this.distinct)&&(n=n.distinct());var p=r.orderby||this.orderby;p&&(n=n.orderBy(p));var f=void 0!==r.pageCurrent?r.pageCurrent:this.mixinDatacomPage.current,h=void 0!==r.pageSize?r.pageSize:this.mixinDatacomPage.size,g=void 0!==r.getcount?r.getcount:this.getcount,y=void 0!==r.gettree?r.gettree:this.gettree,m=void 0!==r.gettreepath?r.gettreepath:this.gettreepath,v={getCount:g},_={limitLevel:void 0!==r.limitlevel?r.limitlevel:this.limitlevel,startWith:void 0!==r.startwith?r.startwith:this.startwith};return y&&(v.getTree=_),m&&(v.getTreePath=_),n=n.skip(h*(f-1)).limit(h).get(v),n}}}}function tr(e){return Y("_globalUniCloudSecureNetworkCache__{spaceId}".replace("{spaceId}",e.config.spaceId))}function nr(){return rr.apply(this,arguments)}function rr(){return rr=(0,d.default)(a.default.mark((function e(){var t,n,i,o,s,u,l,c=arguments;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t=c.length>0&&void 0!==c[0]?c[0]:{},n=t.openid,i=t.callLoginByWeixin,o=void 0!==i&&i,s=tr(this),"mp-weixin"===W){e.next=4;break}throw new Error("[SecureNetwork] API `initSecureNetworkByWeixin` is not supported on platform `".concat(W,"`"));case 4:if(!n||!o){e.next=6;break}throw new Error("[SecureNetwork] openid and callLoginByWeixin cannot be passed at the same time");case 6:if(!n){e.next=8;break}return e.abrupt("return",(s.mpWeixinOpenid=n,{}));case 8:return e.next=10,new Promise((function(e,t){r.login({success:function(t){e(t.code)},fail:function(e){t(new Error(e.errMsg))}})}));case 10:return u=e.sent,l=this.importObject("uni-id-co",{customUI:!0}),e.next=14,l.secureNetworkHandshakeByWeixin({code:u,callLoginByWeixin:o});case 14:return s.mpWeixinCode=u,e.abrupt("return",{code:u});case 16:case"end":return e.stop()}}),e,this)}))),rr.apply(this,arguments)}function ir(e){return or.apply(this,arguments)}function or(){return or=(0,d.default)(a.default.mark((function e(t){var n;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=tr(this),e.abrupt("return",(n.initPromise||(n.initPromise=nr.call(this,t).then((function(e){return e})).catch((function(e){throw delete n.initPromise,e}))),n.initPromise));case 2:case"end":return e.stop()}}),e,this)}))),or.apply(this,arguments)}function ar(e){var t={getSystemInfo:r.getSystemInfo,getPushClientId:r.getPushClientId};return function(n){return new Promise((function(r,i){t[e](S(S({},n),{},{success:function(e){r(e)},fail:function(e){i(e)}}))}))}}var sr=function(e){(0,f.default)(n,e);var t=A(n);function n(){var e;return(0,m.default)(this,n),e=t.call(this),e._uniPushMessageCallback=e._receivePushMessage.bind((0,s.default)(e)),e._currentMessageId=-1,e._payloadQueue=[],e}return(0,v.default)(n,[{key:"init",value:function(){var e=this;return Promise.all([ar("getSystemInfo")(),ar("getPushClientId")()]).then((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=(0,u.default)(t,2),r=n[0];r=void 0===r?{}:r;var i=r.appId,o=n[1];o=void 0===o?{}:o;var a=o.cid;if(!i)throw new Error("Invalid appId, please check the manifest.json file");if(!a)throw new Error("Invalid push client id");e._appId=i,e._pushClientId=a,e._seqId=Date.now()+"-"+Math.floor(9e5*Math.random()+1e5),e.emit("open"),e._initMessageListener()}),(function(t){throw e.emit("error",t),e.close(),t}))}},{key:"open",value:function(){var e=(0,d.default)(a.default.mark((function e(){return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",this.init());case 1:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"_isUniCloudSSE",value:function(e){if("receive"!==e.type)return!1;var t=e&&e.data&&e.data.payload;return!(!t||"UNI_CLOUD_SSE"!==t.channel||t.seqId!==this._seqId)}},{key:"_receivePushMessage",value:function(e){if(this._isUniCloudSSE(e)){var t=e&&e.data&&e.data.payload,n=t.action,r=t.messageId,i=t.message;this._payloadQueue.push({action:n,messageId:r,message:i}),this._consumMessage()}}},{key:"_consumMessage",value:function(){for(var e=this;;){var t=this._payloadQueue.find((function(t){return t.messageId===e._currentMessageId+1}));if(!t)break;this._currentMessageId++,this._parseMessagePayload(t)}}},{key:"_parseMessagePayload",value:function(e){var t=e.action,n=e.messageId,r=e.message;"end"===t?this._end({messageId:n,message:r}):"message"===t&&this._appendMessage({messageId:n,message:r})}},{key:"_appendMessage",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(e.messageId,e.message);this.emit("message",t)}},{key:"_end",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(e.messageId,e.message);this.emit("end",t),this.close()}},{key:"_initMessageListener",value:function(){r.onPushMessage(this._uniPushMessageCallback)}},{key:"_destroy",value:function(){r.offPushMessage(this._uniPushMessageCallback)}},{key:"toJSON",value:function(){return{appId:this._appId,pushClientId:this._pushClientId,seqId:this._seqId}}},{key:"close",value:function(){this._destroy(),this.emit("close")}}]),n}(function(){function e(){(0,m.default)(this,e),this._callback={}}return(0,v.default)(e,[{key:"addListener",value:function(e,t){this._callback[e]||(this._callback[e]=[]),this._callback[e].push(t)}},{key:"on",value:function(e,t){return this.addListener(e,t)}},{key:"removeListener",value:function(e,t){if(!t)throw new Error('The "listener" argument must be of type function. Received undefined');var n=this._callback[e];if(n){var r=function(e,t){for(var n=e.length-1;n>=0;n--)if(e[n]===t)return n;return-1}(n,t);n.splice(r,1)}}},{key:"off",value:function(e,t){return this.removeListener(e,t)}},{key:"removeAllListener",value:function(e){delete this._callback[e]}},{key:"emit",value:function(e){for(var t=this._callback[e],n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];if(t)for(var o=0;o<t.length;o++)t[o].apply(t,r)}}]),e}());var ur={tcb:Nt,tencent:Nt,aliyun:Me,private:jt,alipay:Wt},lr=new(function(){function e(){(0,m.default)(this,e)}return(0,v.default)(e,[{key:"init",value:function(e){var t={},n=ur[e.provider];if(!n)throw new Error("未提供正确的provider参数");return t=n.init(e),function(e){e._initPromiseHub||(e._initPromiseHub=new U({createPromise:function(){var t=Promise.resolve();t=new Promise((function(e){setTimeout((function(){e()}),1)}));var n=e.auth();return t.then((function(){return n.getLoginState()})).then((function(e){return e?Promise.resolve():n.signInAnonymously()}))}}))}(t),ln(t),function(e){var t=e.uploadFile;e.uploadFile=function(e){return t.call(this,e)}}(t),function(e){e.database=function(t){if(t&&Object.keys(t).length>0)return e.init(t).database();if(this._database)return this._database;var n=bn(xn,{uniClient:e});return this._database=n,n},e.databaseForJQL=function(t){if(t&&Object.keys(t).length>0)return e.init(t).databaseForJQL();if(this._databaseForJQL)return this._databaseForJQL;var n=bn(xn,{uniClient:e,isJQL:!0});return this._databaseForJQL=n,n}}(t),function(e){e.getCurrentUserInfo=Kn,e.chooseAndUploadFile=Zn.initChooseAndUploadFile(e),Object.assign(e,{get mixinDatacom(){return er(e)}}),e.SSEChannel=sr,e.initSecureNetworkByWeixin=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.openid,r=t.callLoginByWeixin,i=void 0!==r&&r;return ir.call(e,{openid:n,callLoginByWeixin:i})}}(e),e.importObject=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.customUI=t.customUI||e.customUI,e.parseSystemError=t.parseSystemError||e.parseSystemError,Object.assign(e.loadingOptions,t.loadingOptions),Object.assign(e.errorOptions,t.errorOptions),"object"==(0,l.default)(t.secretMethods)&&(e.secretMethods=t.secretMethods),e}({customUI:!1,loadingOptions:{title:"加载中...",mask:!0},errorOptions:{type:"modal",retry:!1}},n);var i=n,o=i.customUI,s=i.loadingOptions,u=i.errorOptions,c=i.parseSystemError,p=!o;return new Proxy({},{get:function(i,o){switch(o){case"toString":return"[object UniCloudObject]";case"toJSON":return{}}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.fn,n=e.interceptorName,r=e.getCallbackArgs;return(0,d.default)(a.default.mark((function e(){var i,o,s,u,l,c,d=arguments;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:for(i=d.length,o=new Array(i),s=0;s<i;s++)o[s]=d[s];return u=r?r({params:o}):{},e.prev=2,e.next=5,ee(te(n,"invoke"),S({},u));case 5:return e.next=7,t.apply(void 0,o);case 7:return l=e.sent,e.next=10,ee(te(n,"success"),S(S({},u),{},{result:l}));case 10:return e.abrupt("return",l);case 13:return e.prev=13,e.t0=e["catch"](2),c=e.t0,e.next=18,ee(te(n,"fail"),S(S({},u),{},{error:c}));case 18:throw c;case 19:return e.prev=19,e.next=22,ee(te(n,"complete"),S(S({},u),{},c?{error:c}:{result:l}));case 22:return e.finish(19);case 23:case"end":return e.stop()}}),e,null,[[2,13,19,23]])})))}({fn:function(){var i=(0,d.default)(a.default.mark((function i(){var h,g,y,m,v,_,b,x,w,A,C,k,T,I,M,O=arguments;return a.default.wrap((function(i){while(1)switch(i.prev=i.next){case 0:for(p&&r.showLoading({title:s.title,mask:s.mask}),g=O.length,y=new Array(g),m=0;m<g;m++)y[m]=O[m];return v={name:t,type:D,data:{method:o,params:y}},"object"==(0,l.default)(n.secretMethods)&&function(e,t){var n=t.data.method,r=e.secretMethods||{},i=r[n]||r["*"];i&&(t.secretType=i)}(n,v),_=!1,i.prev=5,i.next=8,e.callFunction(v);case 8:h=i.sent,i.next=14;break;case 11:i.prev=11,i.t0=i["catch"](5),_=!0,h={result:new be(i.t0)};case 14:if(b=h.result||{},x=b.errSubject,w=b.errCode,A=b.errMsg,C=b.newToken,p&&r.hideLoading(),C&&C.token&&C.tokenExpired&&(Se(C),fe(ae,S({},C))),!w){i.next=39;break}if(k=A,!_||!c){i.next=24;break}return i.next=20,c({objectName:t,methodName:o,params:y,errSubject:x,errCode:w,errMsg:A});case 20:if(i.t1=i.sent.errMsg,i.t1){i.next=23;break}i.t1=A;case 23:k=i.t1;case 24:if(!p){i.next=37;break}if("toast"!==u.type){i.next=29;break}r.showToast({title:k,icon:"none"}),i.next=37;break;case 29:if("modal"===u.type){i.next=31;break}throw new Error("Invalid errorOptions.type: ".concat(u.type));case 31:return i.next=33,(0,d.default)(a.default.mark((function e(){var t,n,i,o,s,u,l=arguments;return a.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t=l.length>0&&void 0!==l[0]?l[0]:{},n=t.title,i=t.content,o=t.showCancel,s=t.cancelText,u=t.confirmText,e.abrupt("return",new Promise((function(e,t){r.showModal({title:n,content:i,showCancel:o,cancelText:s,confirmText:u,success:function(t){e(t)},fail:function(){e({confirm:!1,cancel:!0})}})})));case 2:case"end":return e.stop()}}),e)})))({title:"提示",content:k,showCancel:u.retry,cancelText:"取消",confirmText:u.retry?"重试":"确定"});case 33:if(T=i.sent,I=T.confirm,!u.retry||!I){i.next=37;break}return i.abrupt("return",f.apply(void 0,y));case 37:throw M=new be({subject:x,code:w,message:A,requestId:h.requestId}),M.detail=h.result,fe(ie,{type:le,content:M}),M;case 39:return i.abrupt("return",(fe(ie,{type:le,content:h.result}),h.result));case 40:case"end":return i.stop()}}),i,null,[[5,11]])})));function f(){return i.apply(this,arguments)}return f}(),interceptorName:"callObject",getCallbackArgs:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.params;return{objectName:t,methodName:o,params:n}}})}})}}(e)}(t),["callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","chooseAndUploadFile"].forEach((function(e){if(t[e]){var n=t[e];t[e]=function(){return n.apply(t,Array.from(arguments))},t[e]=function(e,t){return function(n){var r=this,i=!1;if("callFunction"===t){var o=n&&n.type||P;i=o!==P}var a="callFunction"===t&&!i,s=this._initPromiseHub.exec();n=n||{};var u=me(n),l=u.success,c=u.fail,d=u.complete,p=s.then((function(){return i?Promise.resolve():ee(te(t,"invoke"),n)})).then((function(){return e.call(r,n)})).then((function(e){return i?Promise.resolve(e):ee(te(t,"success"),e).then((function(){return ee(te(t,"complete"),e)})).then((function(){return a&&fe(ie,{type:ue,content:e}),Promise.resolve(e)}))}),(function(e){return i?Promise.reject(e):ee(te(t,"fail"),e).then((function(){return ee(te(t,"complete"),e)})).then((function(){return fe(ie,{type:ue,content:e}),Promise.reject(e)}))}));if(!(l||c||d))return p;p.then((function(e){l&&l(e),d&&d(e),a&&fe(ie,{type:ue,content:e})}),(function(e){c&&c(e),d&&d(e),a&&fe(ie,{type:ue,content:e})}))}}(t[e],e).bind(t)}})),t.init=this.init,t}}]),e}());(function(){var e=q,t={};if(e&&1===e.length)t=e[0],lr=lr.init(t),lr._isDefault=!0;else{var n;n=e&&e.length>0?"应用有多个服务空间,请通过uniCloud.init方法指定要使用的服务空间":"应用未关联服务空间,请在uniCloud目录右键关联服务空间",["auth","callFunction","uploadFile","deleteFile","getTempFileURL","downloadFile","database","getCurrentUSerInfo","importObject"].forEach((function(e){lr[e]=function(){return console.error(n),Promise.reject(new be({code:"SYS_ERR",message:n}))}}))}Object.assign(lr,{get mixinDatacom(){return er(lr)}}),Qn(lr),lr.addInterceptor=J,lr.removeInterceptor=Z,lr.interceptObject=ne})();var cr=lr;t.default=cr}).call(this,n("0ee4"),n("df3c")["default"],n("3223")["default"])},8701:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={baseURL:"",header:{},method:"GET",dataType:"json",responseType:"text",custom:{},timeout:6e4,validateStatus:function(e){return e>=200&&e<300}}},8801:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={readMore:{showHeight:400,toggle:!1,closeText:"展开阅读全文",openText:"收起",color:"#2979ff",fontSize:14,textIndent:"2em",name:""}}},8856:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={divider:{dashed:!1,hairline:!0,dot:!1,textPosition:"center",text:"",textSize:14,textColor:"#909399",lineColor:"#dcdfe6"}}},"88b8":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={collapse:{value:null,accordion:!1,border:!0}}},"89c6":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default="mp"},"8b4a":function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={set:function(t,n,r){e.setStorageSync(t,n);var i=parseInt(r);if(i>0){var o=Date.parse(new Date);o=o/1e3+i,e.setStorageSync(t+"_expiry",o+"")}else e.removeStorageSync(t+"_expiry")},get:function(t,n){var r=parseInt(e.getStorageSync(t+"_expiry"));if(r&&parseInt(r)<Date.parse(new Date)/1e3)return n||!1;var i=e.getStorageSync(t);return i||(void 0!=n&&""!=n||(n=!1),n)},remove:function(t){e.removeStorageSync(t),e.removeStorageSync(t+"_expiry")},clear:function(){e.clearStorageSync()}};t.default=n}).call(this,n("df3c")["default"])},"8d23":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={form:{model:function(){return{}},rules:function(){return{}},errorType:"message",borderBottom:!0,labelPosition:"left",labelWidth:45,labelAlign:"left",labelStyle:function(){return{}}}}},"8f1c":function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("7ca3")),o=r(n("67ad")),a=r(n("0bdb")),s=r(n("48ea")),u=r(n("81f9")),l=r(n("7143")),c=r(n("8701")),d=n("ef5e"),p=r(n("76cd"));function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,o.default)(this,e),(0,d.isPlainObject)(t)||(t={},console.warn("设置全局参数必须接收一个Object")),this.config=(0,p.default)(h(h({},c.default),t)),this.interceptors={request:new u.default,response:new u.default}}return(0,a.default)(e,[{key:"setConfig",value:function(e){this.config=e(this.config)}},{key:"middleware",value:function(e){e=(0,l.default)(this.config,e);var t=[s.default,void 0],n=Promise.resolve(e);this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));while(t.length)n=n.then(t.shift(),t.shift());return n}},{key:"request",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.middleware(e)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.middleware(h({url:e,method:"GET"},t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(h({url:e,data:t,method:"POST"},n))}},{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(h({url:e,data:t,method:"PUT"},n))}},{key:"delete",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(h({url:e,data:t,method:"DELETE"},n))}},{key:"connect",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(h({url:e,data:t,method:"CONNECT"},n))}},{key:"head",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(h({url:e,data:t,method:"HEAD"},n))}},{key:"options",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(h({url:e,data:t,method:"OPTIONS"},n))}},{key:"trace",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.middleware(h({url:e,data:t,method:"TRACE"},n))}},{key:"upload",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.url=e,t.method="UPLOAD",this.middleware(t)}},{key:"download",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.url=e,t.method="DOWNLOAD",this.middleware(t)}}]),e}();t.default=g},"8f59":function(e,t,n){"use strict";(function(t){var n="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},r=n.__VUE_DEVTOOLS_GLOBAL_HOOK__;function i(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var n=function(e,t){return e.filter(t)[0]}(t,(function(t){return t.original===e}));if(n)return n.copy;var r=Array.isArray(e)?[]:{};return t.push({original:e,copy:r}),Object.keys(e).forEach((function(n){r[n]=i(e[n],t)})),r}function o(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function a(e){return null!==e&&"object"===typeof e}var s=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},u={namespaced:{configurable:!0}};u.namespaced.get=function(){return!!this._rawModule.namespaced},s.prototype.addChild=function(e,t){this._children[e]=t},s.prototype.removeChild=function(e){delete this._children[e]},s.prototype.getChild=function(e){return this._children[e]},s.prototype.hasChild=function(e){return e in this._children},s.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},s.prototype.forEachChild=function(e){o(this._children,e)},s.prototype.forEachGetter=function(e){this._rawModule.getters&&o(this._rawModule.getters,e)},s.prototype.forEachAction=function(e){this._rawModule.actions&&o(this._rawModule.actions,e)},s.prototype.forEachMutation=function(e){this._rawModule.mutations&&o(this._rawModule.mutations,e)},Object.defineProperties(s.prototype,u);var l=function(e){this.register([],e,!1)};l.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},l.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},l.prototype.update=function(e){(function e(t,n,r){0;if(n.update(r),r.modules)for(var i in r.modules){if(!n.getChild(i))return void 0;e(t.concat(i),n.getChild(i),r.modules[i])}})([],this.root,e)},l.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var i=new s(t,n);if(0===e.length)this.root=i;else{var a=this.get(e.slice(0,-1));a.addChild(e[e.length-1],i)}t.modules&&o(t.modules,(function(t,i){r.register(e.concat(i),t,n)}))},l.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&&r.runtime&&t.removeChild(n)},l.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var c;var d=function(e){var t=this;void 0===e&&(e={}),!c&&"undefined"!==typeof window&&window.Vue&&_(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var i=e.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new l(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new c,this._makeLocalGettersCache=Object.create(null);var o=this,a=this.dispatch,s=this.commit;this.dispatch=function(e,t){return a.call(o,e,t)},this.commit=function(e,t,n){return s.call(o,e,t,n)},this.strict=i;var u=this._modules.root.state;y(this,u,[],this._modules.root),g(this,u),n.forEach((function(e){return e(t)}));var d=void 0!==e.devtools?e.devtools:c.config.devtools;d&&function(e){r&&(e._devtoolHook=r,r.emit("vuex:init",e),r.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){r.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){r.emit("vuex:action",e,t)}),{prepend:!0}))}(this)},p={state:{configurable:!0}};function f(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function h(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;y(e,n,[],e._modules.root,!0),g(e,n,t)}function g(e,t,n){var r=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,a={};o(i,(function(t,n){a[n]=function(e,t){return function(){return e(t)}}(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var s=c.config.silent;c.config.silent=!0,e._vm=new c({data:{$$state:t},computed:a}),c.config.silent=s,e.strict&&function(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(e),r&&(n&&e._withCommit((function(){r._data.$$state=null})),c.nextTick((function(){return r.$destroy()})))}function y(e,t,n,r,i){var o=!n.length,a=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=r),!o&&!i){var s=m(t,n.slice(0,-1)),u=n[n.length-1];e._withCommit((function(){c.set(s,u,r.state)}))}var l=r.context=function(e,t,n){var r=""===t,i={dispatch:r?e.dispatch:function(n,r,i){var o=v(n,r,i),a=o.payload,s=o.options,u=o.type;return s&&s.root||(u=t+u),e.dispatch(u,a)},commit:r?e.commit:function(n,r,i){var o=v(n,r,i),a=o.payload,s=o.options,u=o.type;s&&s.root||(u=t+u),e.commit(u,a,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return function(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach((function(i){if(i.slice(0,r)===t){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[i]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}(e,t)}},state:{get:function(){return m(e.state,n)}}}),i}(e,a,n);r.forEachMutation((function(t,n){var r=a+n;(function(e,t,n,r){var i=e._mutations[t]||(e._mutations[t]=[]);i.push((function(t){n.call(e,r.state,t)}))})(e,r,t,l)})),r.forEachAction((function(t,n){var r=t.root?n:a+n,i=t.handler||t;(function(e,t,n,r){var i=e._actions[t]||(e._actions[t]=[]);i.push((function(t){var i=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t);return function(e){return e&&"function"===typeof e.then}(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):i}))})(e,r,i,l)})),r.forEachGetter((function(t,n){var r=a+n;(function(e,t,n,r){if(e._wrappedGetters[t])return void 0;e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)}})(e,r,t,l)})),r.forEachChild((function(r,o){y(e,t,n.concat(o),r,i)}))}function m(e,t){return t.reduce((function(e,t){return e[t]}),e)}function v(e,t,n){return a(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function _(e){c&&e===c||(c=e,
/*!
 * vuex v3.6.2
 * (c) 2021 Evan You
 * @license MIT
 */
function(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:r});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[r].concat(e.init):r,n.call(this,e)}}function r(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}(c))}p.state.get=function(){return this._vm._data.$$state},p.state.set=function(e){0},d.prototype.commit=function(e,t,n){var r=this,i=v(e,t,n),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),u=this._mutations[o];u&&(this._withCommit((function(){u.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(s,r.state)})))},d.prototype.dispatch=function(e,t){var n=this,r=v(e,t),i=r.type,o=r.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,n.state)}))}catch(l){0}var u=s.length>1?Promise.all(s.map((function(e){return e(o)}))):s[0](o);return new Promise((function(e,t){u.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,n.state)}))}catch(l){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,n.state,e)}))}catch(l){0}t(e)}))}))}},d.prototype.subscribe=function(e,t){return f(e,this._subscribers,t)},d.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return f(n,this._actionSubscribers,t)},d.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch((function(){return e(r.state,r.getters)}),t,n)},d.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},d.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),y(this,this.state,e,this._modules.get(e),n.preserveState),g(this,this.state)},d.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=m(t.state,e.slice(0,-1));c.delete(n,e[e.length-1])})),h(this)},d.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},d.prototype[[104,111,116,85,112,100,97,116,101].map((function(e){return String.fromCharCode(e)})).join("")]=function(e){this._modules.update(e),h(this,!0)},d.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(d.prototype,p);var b=C((function(e,t){var n={};return A(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=k(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"===typeof i?i.call(this,t,n):t[i]},n[r].vuex=!0})),n})),x=C((function(e,t){var n={};return A(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.commit;if(e){var o=k(this.$store,"mapMutations",e);if(!o)return;r=o.context.commit}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n})),w=C((function(e,t){var n={};return A(t).forEach((function(t){var r=t.key,i=t.val;i=e+i,n[r]=function(){if(!e||k(this.$store,"mapGetters",e))return this.$store.getters[i]},n[r].vuex=!0})),n})),S=C((function(e,t){var n={};return A(t).forEach((function(t){var r=t.key,i=t.val;n[r]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var o=k(this.$store,"mapActions",e);if(!o)return;r=o.context.dispatch}return"function"===typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}})),n}));function A(e){return function(e){return Array.isArray(e)||a(e)}(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function C(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function k(e,t,n){var r=e._modulesNamespaceMap[n];return r}function T(e,t,n){var r=n?e.groupCollapsed:e.group;try{r.call(e,t)}catch(i){e.log(t)}}function I(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function M(){var e=new Date;return" @ "+O(e.getHours(),2)+":"+O(e.getMinutes(),2)+":"+O(e.getSeconds(),2)+"."+O(e.getMilliseconds(),3)}function O(e,t){return function(e,t){return new Array(t+1).join(e)}("0",t-e.toString().length)+e}var P={Store:d,install:_,version:"3.6.2",mapState:b,mapMutations:x,mapGetters:w,mapActions:S,createNamespacedHelpers:function(e){return{mapState:b.bind(null,e),mapGetters:w.bind(null,e),mapMutations:x.bind(null,e),mapActions:S.bind(null,e)}},createLogger:function(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var r=e.transformer;void 0===r&&(r=function(e){return e});var o=e.mutationTransformer;void 0===o&&(o=function(e){return e});var a=e.actionFilter;void 0===a&&(a=function(e,t){return!0});var s=e.actionTransformer;void 0===s&&(s=function(e){return e});var u=e.logMutations;void 0===u&&(u=!0);var l=e.logActions;void 0===l&&(l=!0);var c=e.logger;return void 0===c&&(c=console),function(e){var d=i(e.state);"undefined"!==typeof c&&(u&&e.subscribe((function(e,a){var s=i(a);if(n(e,d,s)){var u=M(),l=o(e),p="mutation "+e.type+u;T(c,p,t),c.log("%c prev state","color: #9E9E9E; font-weight: bold",r(d)),c.log("%c mutation","color: #03A9F4; font-weight: bold",l),c.log("%c next state","color: #4CAF50; font-weight: bold",r(s)),I(c)}d=s})),l&&e.subscribeAction((function(e,n){if(a(e,n)){var r=M(),i=s(e),o="action "+e.type+r;T(c,o,t),c.log("%c action","color: #03A9F4; font-weight: bold",i),I(c)}})))}}};e.exports=P}).call(this,n("0ee4"))},"8ffa":function(e,t,n){var r=n("7647");e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports["default"]=e.exports},9008:function(e,t){e.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.")},e.exports.__esModule=!0,e.exports["default"]=e.exports},9113:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{show:{type:Boolean,default:e.$u.props.modal.show},title:{type:[String],default:e.$u.props.modal.title},content:{type:String,default:e.$u.props.modal.content},confirmText:{type:String,default:e.$u.props.modal.confirmText},cancelText:{type:String,default:e.$u.props.modal.cancelText},showConfirmButton:{type:Boolean,default:e.$u.props.modal.showConfirmButton},showCancelButton:{type:Boolean,default:e.$u.props.modal.showCancelButton},confirmColor:{type:String,default:e.$u.props.modal.confirmColor},cancelColor:{type:String,default:e.$u.props.modal.cancelColor},buttonReverse:{type:Boolean,default:e.$u.props.modal.buttonReverse},zoom:{type:Boolean,default:e.$u.props.modal.zoom},asyncClose:{type:Boolean,default:e.$u.props.modal.asyncClose},closeOnClickOverlay:{type:Boolean,default:e.$u.props.modal.closeOnClickOverlay},negativeTop:{type:[String,Number],default:e.$u.props.modal.negativeTop},width:{type:[String,Number],default:e.$u.props.modal.width},confirmButtonShape:{type:String,default:e.$u.props.modal.confirmButtonShape},duration:{type:String|Number,default:e.$u.props.modal.duration}}};t.default=n}).call(this,n("df3c")["default"])},"91b3":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={fade:{enter:{opacity:0},"enter-to":{opacity:1},leave:{opacity:1},"leave-to":{opacity:0}},"fade-up":{enter:{opacity:0,transform:"translateY(100%)"},"enter-to":{opacity:1,transform:"translateY(0)"},leave:{opacity:1,transform:"translateY(0)"},"leave-to":{opacity:0,transform:"translateY(100%)"}},"fade-down":{enter:{opacity:0,transform:"translateY(-100%)"},"enter-to":{opacity:1,transform:"translateY(0)"},leave:{opacity:1,transform:"translateY(0)"},"leave-to":{opacity:0,transform:"translateY(-100%)"}},"fade-left":{enter:{opacity:0,transform:"translateX(-100%)"},"enter-to":{opacity:1,transform:"translateY(0)"},leave:{opacity:1,transform:"translateY(0)"},"leave-to":{opacity:0,transform:"translateX(-100%)"}},"fade-right":{enter:{opacity:0,transform:"translateX(100%)"},"enter-to":{opacity:1,transform:"translateY(0)"},leave:{opacity:1,transform:"translateY(0)"},"leave-to":{opacity:0,transform:"translateX(100%)"}},"slide-up":{enter:{transform:"translateY(100%)"},"enter-to":{transform:"translateY(0)"},leave:{transform:"translateY(0)"},"leave-to":{transform:"translateY(100%)"}},"slide-down":{enter:{transform:"translateY(-100%)"},"enter-to":{transform:"translateY(0)"},leave:{transform:"translateY(0)"},"leave-to":{transform:"translateY(-100%)"}},"slide-left":{enter:{transform:"translateX(-100%)"},"enter-to":{transform:"translateY(0)"},leave:{transform:"translateY(0)"},"leave-to":{transform:"translateX(-100%)"}},"slide-right":{enter:{transform:"translateX(100%)"},"enter-to":{transform:"translateY(0)"},leave:{transform:"translateY(0)"},"leave-to":{transform:"translateX(100%)"}},zoom:{enter:{transform:"scale(0.95)"},"enter-to":{transform:"scale(1)"},leave:{transform:"scale(1)"},"leave-to":{transform:"scale(0.95)"}},"fade-zoom":{enter:{opacity:0,transform:"scale(0.95)"},"enter-to":{opacity:1,transform:"scale(1)"},leave:{opacity:1,transform:"scale(1)"},"leave-to":{opacity:0,transform:"scale(0.95)"}}}},9259:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={carKeyboard:{random:!1}}},"92e5":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={line:{color:"#d6d7d9",length:"100%",direction:"row",hairline:!0,margin:0,dashed:!1}}},"931d":function(e,t,n){var r=n("7647"),i=n("011a");e.exports=function(e,t,n){if(i())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var a=new(e.bind.apply(e,o));return n&&r(a,n.prototype),a},e.exports.__esModule=!0,e.exports["default"]=e.exports},9418:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={badge:{isDot:!1,value:"",show:!0,max:999,type:"error",showZero:!1,bgColor:null,color:null,shape:"circle",numberType:"overflow",offset:function(){return[]},inverted:!1,absolute:!1}}},9510:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAvdJREFUSEudlUtsTGEUx39nSutNBAmxIUGwkLCgnS68NlZiw0olJEI8YiMsmLkiIrEgLCohJOItEgmxkIhXmpCoRwRBCDOlVdNWTR/auZ175Ltfp+beGUyd5dxz/r9zznfOGaEE0zqmEGEdynKEuSgTgJ8ISaAOuEIVdwQ0LCd/09cbjGA8+xG2AuX/yOUJHpukmvp8v6IAdZwI691qOl8cJ1IxBxkKXg/0paDnPbhf/8RyUbZIlJM5hwKANsRW4XEAkdl/zDjTCO23IGM6VMSUjTnIAEBfOeWM9mpBNpTwLKAK6XvQ8aCYewahUip56gMUhET8EsLqksTzndIPIH23MEx5JFEqLSCxdzsSOTpocT9YoeUC9L4vDBeWiLbtGkvHsE8I4/4LYILcVmiuBbyghFIrmnB2IHqkUHwIlI2CbHtx7rAZ4DZDNm2/t1yEnndhwEvRROw2IssCX6QCJq6F8snQcgV63gYDxyyGsYuh46GdJmOd9dB+MwzoEE3GU+BvprWceMVUUFOy6XEeJCeeaYbUGfC6bVxvA6ROhwFZ0WSsD6SsQLzrGXQ+tpVIuYWYikzmYXH/HVL97xBgtJoWpREZ7YtMrAGTuRFvu26zHzoZJtXYyiRSXNxoZprg24lwBXUGUI/IAobPhglrguI59xykLx1sS75c9ytouxoG7BNNxA8i7Da75mfrNtnMwxYZCeqCZopP1feb0BW4cx7KTNEve2aRLXsNRIpHlvCr58LXw/Yg5kw5K1Fq7CYn46eA9SVIFXf5YW7S/XzxJoYzT+aTsgB/myueITJt0BB/PM8A2d+hHiulGjMlpvHWNOE4iMYHDWi7Bt0vCh83ihMEJGPvQGYMGvDzLbReCoe9kSr8/xPbos/OTDwN3YMSUdoHjYfshOVbGdNlIR/7z3VsGyLHSpQsdEudLzzXSo1EOds/RbHNIObe/p+lzkHvh2BshKWyiLsW0OiMwNXLiK4YuEuloDQLXc/7r+jAcprrVytV7DQSvwA/PzT3UtFSkwAAAABJRU5ErkJggg=="},9788:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={album:{urls:function(){return[]},keyName:"",singleSize:180,multipleSize:70,space:6,singleMode:"scaleToFill",multipleMode:"aspectFill",maxCount:9,previewFullImage:!0,rowCount:3,showMore:!0}}},9962:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{show:{type:Boolean,default:e.$u.props.overlay.show},zIndex:{type:[String,Number],default:e.$u.props.overlay.zIndex},duration:{type:[String,Number],default:e.$u.props.overlay.duration},opacity:{type:[String,Number],default:e.$u.props.overlay.opacity}}};t.default=n}).call(this,n("df3c")["default"])},"9f85":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={checkbox:{name:"",shape:"",size:"",checkbox:!1,disabled:"",activeColor:"",inactiveColor:"",iconSize:"",iconColor:"",label:"",labelSize:"",labelColor:"",labelDisabled:""}}},"9fc1":function(e,t,n){var r=n("3b2d")["default"];function i(){"use strict";
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=i=function(){return n},e.exports.__esModule=!0,e.exports["default"]=e.exports;var t,n={},o=Object.prototype,a=o.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},u="function"==typeof Symbol?Symbol:{},l=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",d=u.toStringTag||"@@toStringTag";function p(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(t){p=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var i=t&&t.prototype instanceof _?t:_,o=Object.create(i.prototype),a=new D(r||[]);return s(o,"_invoke",{value:I(e,n,a)}),o}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=f;var g="suspendedStart",y="executing",m="completed",v={};function _(){}function b(){}function x(){}var w={};p(w,l,(function(){return this}));var S=Object.getPrototypeOf,A=S&&S(S(E([])));A&&A!==o&&a.call(A,l)&&(w=A);var C=x.prototype=_.prototype=Object.create(w);function k(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(i,o,s,u){var l=h(e[i],e,o);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==r(d)&&a.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,u)}),(function(e){n("throw",e,s,u)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,u)}))}u(l.arg)}var i;s(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(o,o):o()}})}function I(e,n,r){var i=g;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 u=M(s,r);if(u){if(u===v)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===g)throw i=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=y;var l=h(e,n,r);if("normal"===l.type){if(i=r.done?m:"suspendedYield",l.arg===v)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(i=m,r.method="throw",r.arg=l.arg)}}}function M(e,n){var r=n.method,i=e.iterator[r];if(i===t)return n.delegate=null,"throw"===r&&e.iterator["return"]&&(n.method="return",n.arg=t,M(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=h(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(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function E(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,o=function n(){for(;++i<e.length;)if(a.call(e,i))return n.value=e[i],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}throw new TypeError(r(e)+" is not iterable")}return b.prototype=x,s(C,"constructor",{value:x,configurable:!0}),s(x,"constructor",{value:b,configurable:!0}),b.displayName=p(x,d,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,p(e,d,"GeneratorFunction")),e.prototype=Object.create(C),e},n.awrap=function(e){return{__await:e}},k(T.prototype),p(T.prototype,c,(function(){return this})),n.AsyncIterator=T,n.async=function(e,t,r,i,o){void 0===o&&(o=Promise);var a=new T(f(e,t,r,i),o);return n.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},k(C),p(C,d,"Generator"),p(C,l,(function(){return this})),p(C,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},n.values=E,D.prototype={constructor:D,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)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.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 o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var u=a.call(o,"catchLoc"),l=a.call(o,"finallyLoc");if(u&&l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){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"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){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(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},n}e.exports=i,e.exports.__esModule=!0,e.exports["default"]=e.exports},a26c:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={switch:{loading:!1,disabled:!1,size:25,activeColor:"#2979ff",inactiveColor:"#ffffff",value:!1,activeValue:!0,inactiveValue:!1,asyncChange:!1,space:0}}},a3fc:function(e,t,n){(function(e){function n(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}t.resolve=function(){for(var t="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var a=o>=0?arguments[o]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,i="/"===a.charAt(0))}return t=n(r(t.split("/"),(function(e){return!!e})),!i).join("/"),(i?"/":"")+t||"."},t.normalize=function(e){var o=t.isAbsolute(e),a="/"===i(e,-1);return e=n(r(e.split("/"),(function(e){return!!e})),!o).join("/"),e||o||(e="."),e&&a&&(e+="/"),(o?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(r(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,n){function r(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var n=e.length-1;n>=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=t.resolve(e).substr(1),n=t.resolve(n).substr(1);for(var i=r(e.split("/")),o=r(n.split("/")),a=Math.min(i.length,o.length),s=a,u=0;u<a;u++)if(i[u]!==o[u]){s=u;break}var l=[];for(u=s;u<i.length;u++)l.push("..");return l=l.concat(o.slice(s)),l.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,i=!0,o=e.length-1;o>=1;--o)if(t=e.charCodeAt(o),47===t){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},t.basename=function(e,t){var n=function(e){"string"!==typeof e&&(e+="");var t,n=0,r=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){n=t+1;break}}else-1===r&&(i=!1,r=t+1);return-1===r?"":e.slice(n,r)}(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},t.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,i=!0,o=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===r&&(i=!1,r=a+1),46===s?-1===t?t=a:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){n=a+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)};var i="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,n("28d0"))},a549:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={search:{shape:"round",bgColor:"#f2f2f2",placeholder:"请输入关键字",clearabled:!0,focus:!1,showAction:!0,actionStyle:function(){return{}},actionText:"搜索",inputAlign:"left",inputStyle:function(){return{}},disabled:!1,borderColor:"transparent",searchIconColor:"#909399",searchIconSize:22,color:"#606266",placeholderColor:"#909399",searchIcon:"search",margin:"0",animation:!1,value:"",maxlength:"-1",height:32,label:null}}},a590:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={alert:{title:"",type:"warning",description:"",closable:!1,showIcon:!1,effect:"light",center:!1,fontSize:14}}},a5f6:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getRefundState=t.getOrderState=t.getOrderList=t.getCommentState=t.getCommentOrder=t.getAftersalesOrder=t.createOrde=t.confirmOrder=t.cancelOrder=t.businessReply=t.businessLookRefund=t.businessAppealReason=void 0;var n=e.$u.http;t.createOrde=function(e){return n.post("/ground-business/ground/createOrder",e,{custom:{auth:!0}})};t.confirmOrder=function(e){return n.get("/ground-business/ground/confirmOrder",{params:e,custom:{auth:!0}})};t.cancelOrder=function(e){return n.post("/ground-business/ground/businessCancelOrder",e,{custom:{auth:!0}})};t.getOrderList=function(e){return n.get("/ground-order/order/list",{params:e,custom:{auth:!0}})};t.getAftersalesOrder=function(e){return n.get("/ground-order/aftersales/list",{params:e,custom:{auth:!0}})};t.getCommentOrder=function(e){return n.get("/ground-order/comment/list",{params:e,custom:{auth:!0}})};t.getOrderState=function(e){return n.get("/system/dict/data/type/order_state",{params:e,custom:{auth:!0}})};t.getRefundState=function(e){return n.get("/system/dict/data/type/aftersales_state",{params:e,custom:{auth:!0}})};t.getCommentState=function(e){return n.get("/system/dict/data/type/order_comment_state",{params:e,custom:{auth:!0}})};t.businessLookRefund=function(e){return n.post("/ground-order/myOrder/approveAfterSale",e,{custom:{auth:!0}})};t.businessReply=function(e){return n.post("/ground-order/comment/replyComment",e,{custom:{auth:!0}})};t.businessAppealReason=function(e){return n.post("/ground-order/comment/appealComment",e,{custom:{auth:!0}})}}).call(this,n("df3c")["default"])},a708:function(e,t,n){var r=n("6454");e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},a774:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABeFJREFUWEfNmetvFFUYh58zs7Mz2+1tS0u5CKR4iUFApSAGSBAJxERFE2+J4gdjAsZEQWPU6D8AxhhJvEQI4YOXxITEBEVjokGjfBGIWhvFGxWVlkq3pd22O93dOcecObtc6m67u1Rgkumk2Zlznvm95/2978wI8ps60OVRx2aE2ohiIUJ4hd8uylEpH0EnSrxNip1iTZuv5xX6jzrcPRf8/Qix8KLATDaJUp3g3S6WzvpTGOXUocsG7kxIVScpsUyow11PItgx2U1dkt8VW4U6cuwQiKWXBGDSSdVhoQ4fS1edEKlR+PE4/HES+gYhnQHbgvoamN0M18yBthkgwqVe+aaUL9SRLlXxlekx+OJ7+PZXCOTEl09vhLVL4KrZFU8TZnHFgN1J2PslDI5UNuFN18K6drCsiq6rDPBEH7z7GYxlK5rkzMmL2mDDSrDKD3n5gCM+7PoIUunq4ApXrbkBVi0qe4zyAPUq3XcQOo6VPXDJE3USbb4TptWXNVZ5gMkheHMfqMrzqSjF4vlw18opACwAHfgODnaWNWBZJ0Vs2HoveM6kFlRaQQ2nd+0iez5BnezXVbus+cs66f41CG092iPDvfhVxQE1h5IgFcrPoF77AJXJTlmEQ5TVi7Fuvg7hRBA6q0uYeQlArZxCZXLIgSGC3ftR0Qiq2oowTpxw3AVzsdfcSCTmYTkOlvbHIiqWBFQ5iUr7qL7TcLQLfB9GxyAXVJ8sGsJ1oLYGmagn0zYTURvHiblEIhFEEQFKA2YD1PAw6vc/oacP/jkNuvZmckaPijI6v8a0xXhRaKqHGU2oeTPwpyWIeC6OE8UuomJJQBlIVHcPnExCdx/09MPpYVNF9Posli/zWk3ToE19/KbDZ0eg1oOWBtNMtDaRm91KLhrFdd0QcLyKE4Q4hzzRDQMp6EnCiSRoP0z7EOgMD2U8i7H4Suxtm1AdvyOf33k+XiFLHQcaYiFYCDg9gWpOMFYTw41WDJhF9vbC0Cj0nj4bZv1/Nhcm0bmbWH091vMPhXYkH9n2X0BbQMyFpjqYOc3sOtSNdfixSgG1Ntkssu8UjPrQPwy9/aC9sD9lkiUIzIRRJ1S5JKBWT9uIPq8+Bi0JmNkELY2mb6yL43sx3PwaLC/EGjCXRSb7TFIMp83a6h0wR91qjWWxXn8qrKly08uIBfPGKVhIjDxc3INEHbQmQPeIjbXmBmti+K5XDWDOAEppEkOHNjkIpwahfwj8DPauZ0PbCJ55A9HSiPXcgybEj243qtk2OBGIu9BQC80NZtegNS44NngevqsVdCpIklDBHLK/z9iJ7pr9jGm1dNLoMA+nsV96LAxd8MIuRHMD1tP3o3oHkI+/grhzBeLuVcjd+40DJGrNmmuIG2CdMPomNGBUK1gN4EDSAOo9l1dSW4j2w5E09lMPQDSC3P5eCGBt2oA6NYh8cSfWE/cgFs1HfvU96pufoD4eGjQxx6ha8LwLBiyYckHJbGDU1CHeuD6cLNjzMaK2Buu+W1ADKeSOvVgPrUNcfQXy219RPxyDWNRUEd3JFGxHH133AhUsGEaoZL6C6AwOJPYdK8MJgw8PImo8rLXtqKFR5PufY922HDFnOvLocdTR43nVzmkKCmVtygDPLW9hmRPY65eFiRB8+R3Ci2ItX4AaSSM//QZrxULEjGnI3/5G/fLX+aqd65JVAwY6SZLFmzQNKATWre0IreDXHYgaF6v9WtTQCPLrDqwl1xjAn4+junpKN6aux1jUDZNEdzTl+yAgk6eMzZTaEnWIqIPS9doSiFktqMFhk0QxF9HciNKNxgTPzjJei3QcHDtiWq5x24TPJHLMRw0NltUgV3VSJEJQV48lrKIeqMec9KFJZnxUKjWxktXQuR4qHkcgioa2MOSkgPl8gCAX+uGUPJVY9plb0muuWKN6FrCSl0dTQpefupyXC+bl0WX/+q1rC4JXq1lG//s1ii2X/yvgsEBczi/Rz5Ra8xliE0I9fIk/Q7xDircKnyH+BQTI74Tm6M4MAAAAAElFTkSuQmCC"},af34:function(e,t,n){var r=n("a708"),i=n("b893"),o=n("6382"),a=n("9008");e.exports=function(e){return r(e)||i(e)||o(e)||a()},e.exports.__esModule=!0,e.exports["default"]=e.exports},b0e4:function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},b1ce:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={noNetwork:{tips:"哎呀,网络信号丢失",zIndex:"",image:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAABLKADAAQAAAABAAABLAAAAADYYILnAABAAElEQVR4Ae29CZhkV3kefNeq6m2W7tn3nl0aCbHIAgmQPGB+sLCNzSID9g9PYrAf57d/+4+DiW0cy8QBJ06c2In/PLFDHJ78+MGCGNsYgyxwIwktwEijAc1ohtmnZ+2Z7p5eq6vu9r/vuXWrq25VdVV1V3dXVX9Hmj73nv285963vvOd75yraeIEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQaD8E9PbrkvRopSMwMBBYRs+5O/yJS68cPnzYXel4tFP/jXbqjPRFEAiCQNe6Bw/6gdFn9Oy9Q90LLG2DgBBW2wyldIQIPPPCte2a5q3jtR+4ff/4wuBuXotrDwSEsNpjHKUXQODppy+udYJMEUEZgbd94DvnNwlA7YGAEFZ7jOOK78Xp06eTTkq7sxwQhmXuf/754VXl4iSstRAQwmqt8ZLWlkHg0UcD49qYfUjXfLtMtOZ7npExJu4iqZWLl7DWQUAIq3XGSlpaAYHD77q8xwuCOSUoXw8Sl0eMux977DGzQjES3AIICGG1wCBJEysj8PXnz230XXdr5RQFMYbRvWnv6w8UhMhliyGwYghr4Pjg3oEXL34ey9zyC9tiD2ml5h47dr1LN7S6CMjz/A3PvHh1Z6UyJby5EVgRhKUe7Kz/JU0LfvrJo5f+Y3MPibSuFgQGBgasYSd9l6GDsup0WS/T/9RTp9fXmU2SNwECdQ92E7S57iaMeJnPQLK6ixkDLfjlb7546RfrLkQyNBcC3dsP6oHWMd9G+V3JgwPHh7rnm1/yLQ8CbU9Y33zp0j+nZFUMb/DHmB7+SHGY3LUKAk8cObtD00xlHDrfNge+Z2ozU3c9dvx4Yr5lSL6lR6CtCWvg6OAPw9z538ZhhZRl6XrwhW8du1KX/iNejtwvPQIDR8+vSRqJ/obU7GupjdNdh2gW0ZDypJBFR6BtB2rg2OVtuub9JcmpHIpBoK1xfffLzx4f7C0XL2HNiYDp6bs9z23Ypn1fC1Y/9PCFDc3ZW2lVHIG2JKzTp4Ok7nv/G6Q054MIvda+bNb74pEgKGtwGAdL7pcfAa8vOKEZ2kyjWuLr7uDh+/qvN6o8KWdxEWhLwroyeek/g4zuqwU6kNrhyZcu/UktaSXN8iNwuL9/RuvVXtJ9PbPQ1vhmcP6t9+47u9ByJP/SIdB2hDVw9MJHQFYfrQdCph84evFX68kjaZcPAZJWwjMXRFpJ2zr91tfuvrh8vZCa54NA2xGWrunvmg8QWCJ/N4ir7fCYDxatkOeBB7an501agXbygVdvv9IK/ZQ2FiPQdi9osGbH+zRNf7y4m9Xu9Me7N9nv0HXdr5ZS4psHgXpJC9P/wDRTx0Vn1TxjWG9LGrbaUm/Fi5meSvcrkxf/Cg/ow9XqAUk91v3qHT97r6471dJKfHMi8Oyzgx1Z03t1YAQVT2MwgsC3u+yXHzi0faQ5eyGtqgWBtpOw2Ol9+/TM+sTOn8L08MtzgQCy+tOHXr3jA0JWc6HU/HF5Scssr4jXcYqfP6V/T8iq+ceyWgvbUsKKOn38eJAYyl56TAuCEr2WYei//9Crd/5GlFb81kdASVopSFrerKRlaoZj9HR+700H10+0fg+lB21NWBxe2lhNHsUpDZr27mi4dV379R9+za4/iO7Fbx8ECknLCPTsTDJ17O33bJpqnx6u7J60PWFxeAcCbMV56dJfQKf1bkMLfuGh1+76zMoe9vbuPUnLsb2DtmOe5HSxvXsrvWtLBEhaTx29+Ma27Jx0ShAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQaEsEVoQdVluO3BJ06ptHL34b1XRjp4Ch6Rq24+kmjG4Nwwg+9uA9u/73EjRBqhAEihAoe3xwUQq5WTYEzp0b3ZnV/Ncf6O/9AvY9wlh/6dy3X7ncN512Zw9BVLXjuAP4np44vnQtkZoEgVkEhLBmsWiKqwsXpjbPBOn3gRfenwnc+7GBe+zsjclvonFDS9nA9Iy/u3x9+vAP3735VPk4CRUEFhcBIazFxbfm0k9fHD7k+v4nQFaPQIrx8Gmyx/GJ0J/t7ez7mw0b9MmaC2pQQgh0/ZSm4g5TwueWWtqLt0HuVy4CQljLPPYnB0depTn+b3t+8B4t0AdBUv93h2H9xc6da0aXs2m+r1WQsLRnl7NdUvfKRkAIa5nG//r1oGtsZvjTgev/kqYHF/TA+AXoqv4npJemOEiQU1Eo2l+G0movBK1UBBPU7s9E1+ILAkuNgKwSLjXiqO/khVtvARH8dxDBRkMzPrF/V+9/BlG5y9CUqlXinHv9mRPXtvuus88L9H3JPv2zD2yXExCqAicJBIFWRwAvv3Xqwq0/Pnn+lv/K+ZvfPH3p9p5W75O0fxaBp793ce3AwIDMWmYhafiVgNtwSMsXeHp4eNXJC8Nf0PAdRCiuf/XgrnWUqsqotcvnl9DmRkCdweX4b9N7+m/ih+mbMraLM14yJVwcXItKpT1VRve+ArC3Qqn+3gM7132jKEGZm6tXg86J7OhDfuA/iHwPUpfUZSfu2L59tXxEoQxeyxkEgjKeOnLxHb4RqC+NY5H3+2953d4XlrNN7Vq3ENYij+yZwbG9jpt9GkBPQ5H9zgP9607OVeWp87cOQtn9zwJf+xDMNFfj+jryPqXpxj8c2Nn7P+SXey70lidu4IXzb0DNB4tr9751+HV7zxSHyd1CERDCWiiCc+QPjUCnsaqmZ62O5IN7N/VUNP48ee7mAZDTf4Tt049iUG4Guv4ZfNLos9UIbo7qJWoJEHjy+bP7fNsoOcnW0A0/aacef8PdG28sQTNWTBVCWIs01OfPj66BpfqTmq732UnjgT1bei+Vq4pTv7HM8Ceg2/o1qLQug7T+FaaM3IqTLZdewpoHgYEjV9fphvOj+OShWa5V+CxvZtpzv/LwG/aNl4uXsPoRwI+4uEYjAJ2GmdG8L0FK2mYa+tsrkdXZy+P7x2ZuHdW14P+BLdank9q6Qwd3rf+ckFWjR6Tx5Q2cP58K9Jm3VCIr1ogt48lO237r3//96YofeG18y9q7RFklXITxPXV+5DchKb3ZDMy37Nu5tuxG4R9cHH6b42QfAzlds+3EPXu2rfrBIjRFilwkBIIR7SHoJDurFU89ZOd680Gke6JaWomvjoBIWNUxqivFD87fej0e0n8Fwvr0/t1rnyqX+QfnRz7g+8FX8Rv8vL3auF/IqhxKzR2WCPxXqKeq3krDTdj2ierpJEUtCIgOqxaUakwzNBR0D09yiqePHOjveyOkpxLr9VMXb73V97S/h3nDXx7Y2fdPkAYbncW1IgIDxy5vM7LZt/hgrnLtxyaBrJNxv/72N+6tuNhSLp+EVUZACKsyNnXHvHL+1qcgNf2KbSXu2bt9dcmS9qlzo/fARgcmCtpzB3b1/Vg5QiuslLowENyDWDn8cSjl98PgdBviu03N+rl9/WufLEwr18uDwLdevLTF1YK3xnVZ2HI1bUxrT7z5zTuXdRP78qCyeLUKYTUI25OXbm4JPO00TBj+6I7+db8ZL3ZwMOiYdG4dA1lN9HWte2iuI2NAVPapC8O/CGPR34Ip/AZIbIMo7yX8G9QMbcS09P+2b1vf5XgdrXaPfiYns9oeLLEd8D1/B7Dp0E1jGP042pXQj7RKf546cmGzp+tv1TRf6YQD35/QO3seP3xow5IfC9QqmM23naJ0ny9ysXwgq98BWc0kVhv/Nhalbqe8kd/Fr8MOSEr3zEVWrwyO3I29hl+E9LUHGf+nAXI6sGPdd8uV2YphIKnE5IyL6bLxk7cn3bdkHHefrpvJAExMZ1uBZmqeNzXtfzUzk/m/ens7LjV7Px+8d9e1579/44l0duZtge+Np5zEEw8c2pBu9na3YvtEwmrAqNE8IZvNHsep5//yjl3r/0O8yFOXbv0QCO05gP0JGIL+fjw+uj91YeRh/Dp/PtCDM7Zpfmjvjt6Xo7hW9ycmJjaYduf7Hdf/8HTGfa3rG9rYxLSWnsloPg7fijZV8oFM2Ja2a9t6EJd7bCztvHP7us4rrdD/r3/7ct9I99jEI4cOiQ3dIg2YEFYDgOUJDFj1e8TqX7cT4kImXuQr5279A4DeBEX8ayvprU4N3rovcALot/TH13T0fXDTJn0qXk4r3k9OTm4y7a6PzjjORzOOvn1kbEqbnEprPhRzwAKzwFLHk05hv6Yd6N+o3R6beG50aPSdr3qV6IJKkVp5ITIlXOCYn4Yexr0w/DO6YXymHFlR0e5r7tsM3fxgJbI6fW1ivTeT+SsYmr54cFff+5Cu5X+hb94Merp6/J/PusGvTE6724eGJ7RpSFOkKPCUZvBPBccoHBet3Rwe13rX9tw/PjXzZ5hKvr8SfhWKkeA2REAIa4GD6p0feRdWBnvxjv2PckVhVfBf4A29uG/X2i+Ui2eYn8n8NryuDr3jPfWSFV5k44UT137eshIP2K7/64cObbheqZ6lCp+Ydt8TBO7vTM5od1+/NR4SFVhoLpKKt410lnE8LTMzo3V2dLznxLkhYgQ9obiVjEDln7mVjEodfYcpw+MAsftg/7qSDbAnb97sCSb0Yei2fqOcbovVqKNnNO8HmAE9Cv3Wp+uoWjt27HpXNqH9WTKR+kBHKqEFbvo5y3N/avfu4g23R45f3WGa1k9ZicTd0zPTf/f6O7f8dT311Jp2fHzmgJlI/N70jPPe4bEZ6Kg4qw0lqlrLiNKBiLWerpTW25PUbkPXZViW62ecHz+4d8PXojTirzwEyhq8rTwYFtRjvpX/rlwJ+iSXugPbMuyKBOHo3geRJtuT7PujcmVUCuPJlhnL/9NUqvMD2eyM5sxMaIlE4n7XML907tyNjcxHQjty4sZv66Z1xEok/xNW5n4uZSf+8sT5m++vVO58wkEu5sR09pd9w/rWyET2vReujiqygrSopn/zKZN5qMeirotKeTyolm7p/+X06Wvr51ue5Gt9BISwFjiGsLl6N6SrvylXDNTK70D4mX071pwtF88w6Jd/DG/1E1u26NOV0pQL71y3/8PJVOcHMzPTWkcCH2YGOaTTaS2RTN6f1fQvvvDK1bdnbO2JZCr1SeRfn05Pa1PTU0gXJBKW+ecnzlxvCGndhFQ1NRP8bcY1/vjS9bF1V26MwHwsVKiXa3etYVw1TNhYJ3TDjQCO42jJVMcez7J+t9YyJF37ISCEtahjGjxkGDr2DJZ31D8h5vUQJL5RPkXlUMM07u3qSGidICvkzzuSlmlZb0olrK9hD9v9JCrPC196JoPMAolFg6CV+PPj54YeyWecx8Vk2v1Q0rSfhFT18LnBmzBRyNalp5qrSuq7kiAsh4SFa7oZ9M0wzI+cPHOjZPo9V1kS1z4ICGEt4lhiCvZrSa2jol7qzPXJPk6nIGbVbWfUvcr7hO9MP97ZVXpggOu6ajplYStj7l1XvbRMXbPAbp6HzSSBlkraNknrvfVCcPt2sHYi7f3pTDb47KUbYxuvKqkKpYBXKBnV869c3WgbDEixAck0FGFFfEzJzbIsO9C1TyrcymWWsLZGIHoW2rqTzdo5dXyykz0NC8l779i5vu4zwM+eHVntGP5jqVTq/6AkVc5NZ3wNH2lVxNWZNIukMSjiNd9z0+CHp5DXAdX4SAg203w8GB5IATtODHzdK8C15kEjhXvNS9rWA11dnfcMDY9prscss48RySakrOLWqODCoIKAgkuVgsS0urtD60haeV1YYVbbtjUn6/74HXvW/11huFy3PwKzT1r797Upe3jq4sib9u9Y+wxe+vh7W1N7jx49v6ZzbffnQD4/Cj1Pfjx54XiBls6GVuTUc9mQsOIO9mPQFdkIRlz4fy5JLm2ZMOqTcJaXIqpcqnixVe+rdbZ3dbc2OT0D0wZIibHSksmklslknvx+//q3PiKnXcTQae/b+LPQ3r1t0969cOL6G7o6E09qgZegdMJBpVQ1DbKCpyUt6oPKz/4NEJalCAuZFIuEVBJd+jgLh4rvAiFqUVGkhJZMWFp3Z0obGSu/d5gSnWmavuO6h+/cvYHSobgVgoAYjrb4QPMUiGtj1/79jBMkLBwiTlMASlYzTkhWCJyTrGAyMOFkst/BoYMmuIIyGJYcMXMMdNwHPhYN1qWS1t6ZLGaKZL8yzFXTr15BooLLMugHMBRNKgW+It8y9TEcJGt4rvcRFCCEVQbFdg0Swmrxkb0+cf2XOzq73kgdFieEXF2jdEUJKQH6SVWQrNjtZDKlpTPp38U58iUbthk/Ph7sN6zg/xudSGvD4xkq6otcnnjyF0XRRTflkyC0IIJE1JG0QbqGNpMNp5xFhRTcZDNoj66988SFm5vv3LX+WkGUXLYxAuXnCW3c4XbqGs9hwjv+a9lsuN+ahOJSCoLjNDAFvVUll0p1aNPp6adTweSflEszPO48oFn+4yOTmR+6enOshKyYhzWpf/jDuuf6x2aV/qNRaPG/1d0gUXWCA0uu7GhMmkqmerEc8KOVU0lMuyFQ+Ylut562YX9Sncmf7Ojo3BDZWbGLtMkiUVXSWTFNuMqWuYG530f7+/tnGFboxsfdd9mm8XdDo9O7rg6NFq0CFqZr5DWlK9qV0fZqGvZchSuPlevB2VmG/hOV4yWm3RAQwmrhEcW64qu4ykfJho52Vp3J8quBYQooqWDKADftBd6HD+5efyoKj/zR8ew/hWXY56/cnFh7a3RCTTGjuMX0SVB9qzu1qfQM+jO3dBW1g6uVSHv/qVNX10Vh4rc3AkJYLTy+WA/8ou9kJjo7bOh+DLVFZ64TEbCyBktxI5PJZj56R//Gx+NdH5vM4vuI+p8NXh9LjU1iw3EZhXc8TyPuuV9wDaaCfBjTM06N0hVWQmHBDzvSDZ5tvqYR7ZAymh8BIazmH6OKLbzv0KZvJEz3ZzEFnEolaEtV2XEaCLKadrIz//TQnk1/EU85NuH8th8Yf4j9gMZUOrNkZEVZCnsbtTU9KW18GqcKFyjh420sd2+j33pg3F8uTsLaDwEhrBYf04O7N/2t7/o/C2FoGnsIy/YGlvAwSfCvZzLOe+8oR1ZT3u/5uvHJC9dGtJlMrfqjslXVHwjpat2aLi2rjFFLjUSrFUjlO0juddXSSXx7ICCE1QbjiHO0/hofbPgwpnDTOR2V6hWNQqGUx34890noet5yaO+Gko3Y45PO7/uB/lvnrwxrWdha1absbgxo1FWtwplXqYSJY5Nn5lU3bLHQmGA/yko0plVSSjMjIITVzKNTR9sO7dv8RSeb/T9BWmMkKv4D+YzBXuljV7yxd+zfte6VeHGKrHTz4+cv38JWmyUmKzSGG5z7VndoE7kz3uPtq+Welvhwm39weVjOyaoFsBZPI4TV4gNY2Pw79mz8KyebeRIH+VEZTaX0sf27+v794TKmCxNTzr/2NOPj5wZBVjjdYSklq6jN69dyKuhqmWztivYob+RTSkPbe/xMdlMUJn77IiCE1W5jq+s4dYEO6mzsYAmvi/+CrH7LDYxPcBq4HGTFVcG1ULLT5orS1ULIkoSFI2cMHKG8obiXcteOCAhhtdmo6gaOh4EWWlkyYU9gvHswXfgV19d/7+LVkSWfBrItJJhObL/p7elQR8fUZnEV70XxPc01sM+xrzhU7toRgZIHuh07uZL6xA3LBaYB+Ar8rBsfz34YX1j+D5eu317QNGy2xPquSE4mDuXb2IujY2AgytNE67RiKFshzuwCR5s9ZSMlsK0QEMJqq+GkBKOF5yFzRoidK5BoFCeMjM/8mG+a//Xy0Li55KYLBRiTrGjwOQ1br4VMBQuKVJeQKVPxMLlvPwSEsNpsTEECmBLSgbHUpwD1YGwse59l2p+9fmuig4fiNZIowrqq/6Xeqm9Vh9JbjcOKvqFtACX7gV8kTVZvkaRoRQSEsFpx1OZoM2iKxxuHLtDcsZlgLzYZfv7m7XSv+r7fIm234XSP/8o5ktWqzqSyZr89PoXPYDTYkZvziw0NLluKayoEyq4iNVULpTF1IaDjHHZmoAW4aep9geN8fiLt998cGYdtVp7K6iqzXGJFUCAi7jdkuapsBJKcPBwgyP8YRyV7B04Q3dDbpY3jg6gupoMNla5U41BbUN9n0sr1ScKaHwEhrOYfo7paCAW0WiWknihhW/0Tabf/6tDtxpIVSIhGnz1dSXUkDL8fSHKi4/lWPId9Kp3Vxqegp8J/m9f14D6DQ/nmb281FwgkZ1Dj7bnSSFx7ICCE1R7jmO8FJJr8jCvjeNrIxFjDJBpKVaSlXhwDw384MyucBoLAGEfHI5ptO6n1YAq4FjorH9IWjUOnFlF3pj62aui3whbI33ZGQAir/UY3XCVEvzgdw/8NcSyGUhSlpVWQrFg2p39xp0JYLyIohaXxdZ2FGofG6yi85/QS32F0Asu8URgu1+2JgCjd22xcsVElPC85169Gaa1YTkRWJKpSqooBiQQzONvq9sRULKKxtzzAEJw1api2EFZjoW3K0oSwmnJY5tcoSD09HanEDztubnfO/IopyUWC6sUmZUpW5aSqkgwgK04DxxaZrFivacCaIdAuH9zaM1rSDgloOwSEsNpoSMenvU93dXb+EE5taFivKElRqd67qrNmsqIF+yjMF/i56MV2JqadYKxXMDXM6+4Wu04pf/kQEMJaPuwbWvPticwj4Il/NnTrdl7JrqaDC5wTUle1GmdWWVCw1+JotjA6PgnThsIdQrXknF8arkJi/+R355dbcrUaArU9ha3WqxXW3tHR9C5dN//T9eEJ3aGdUwP7T0V7F86Mr0VW4mF6o2NTS/ilaB2HDmb8wA2+08AuS1FNjIAQVhMPTi1NgwRkGKbxRxMz3uaJSRzVUkumOtLwo6Zc7aOkVdEhynN9NQ1cyuNqeEqD67mX9TXGyxXbJhFthYAQVosP58S0909czfqJqzdGODVqaG/IUbCWr2p0yukfp4FUtDfeir1yl8IPUGjPHFy/fqJyKolpJwSEsFp4NEfT6Z3YBvOp8MvMc0hAi9hHNQ1cBrJil5TUZxhfXsTuSdFNhoAQVpMNSD3NMTzzU1PZYAM/ProYkg3UV5rHT8lXmA7SwnwEq4FLLVkRI04HM+n0LdvzvlEPZpK2tREQwmrR8ZucCd7hePr7rw2N5PfxLUZXON1zHKz4kb0KnIttP6Njk8tyaimbwXPrsW/yq3v3bhoqaJZctjkCQlgtOMCYCnU4GedTI+NpQ32XbxH7QOmKG5nzdIWZJz8HNkKygqI9TmSL2JSiovGVn0A39c8WBcpN2yMghNWCQ4zPc0HRbr6GEs6chJFnmfl3knZO4/hmII1B6fiFG9br0s6qAeXPp2WUrhzHeXH/jr6n5pNf8rQuAkJYLTZ2kK7Wul7w6zeGx9DyUsZovOodOizosTg1TM9k1Wogpa7lIisOF+w48E/7E5B1Y/cgtdizsBKbK6c1tNioT6X9n3MDcyePOo7OoJqrC6S0+ZIYV+GSOHxvc18PJCxXG4ed13I727axqTp9yk9rX1jutkj9S4+ASFhLj/m8axwdDdbgELxfGsLpoZyqVXPVU1QugVJUV0dC27p+FaaBWWxknq6ceAljTNMiAf/BoUMbJpewWqmqSRAQCatJBqKWZpgJ731Zx9pJM4aK0hXe5vlKVFEbKFlxs3PvqpSSqpbzKztRm+gnEkktnU6/2GFMfa4wXK5XDgJCWC0y1iAR6/Z49iOjY7C5qkG6mk+3SFQGlEP8FFdnygrNFqBsn1OxP5+K5pGHbcBhqhT8fqu/v39mHkVIljZAQAirRQYx7Wj3Zj3tddQjVVJ4l50CMjHe8mqOTJCCvmoTyIrENXx7Uinbm4Gs2PZUqkObnp76i0N7N36tWl8kvn0RaGnCGhgILKPn3B3+xKVXDh8+nPseX3sOlpt13+P4uonv71WeDqLr1ampFB8S1JrulNaHc9rTMxltcpofOeWns0rTLkeIZUHRnpm5YibMf7kc9UudzYNAyyrd8ZLpWvfgQT8w+oyevXeo++bBtaEtQd9s1/ffRsV3I6eDJCp+nourgH04UZQnhIYfWm1o8xdUGCU8/E/bil89sH3dlQUVJplbHoGWJaxnXri2HTvd1nEEcCBS3z++MLi75UejQgcmJjL92ax/gNJPo6QekhVXAbdvXI3D+XQ1Bcxiu02zTAEjKFIdHTQS/S8Hd2/4YhQm/spFoCUJ6+mnL651gkwRQRmBt33gO+c3teNQYin/oG6aKX5rcKEukqqoWN+Ij5vy81v8UATDG0WGC21jlJ96K6wKPpWd8H8jChN/ZSPQcoR1+vTppJPS7iw3bIZl7n/++eFV5eJaOczX9Z2YvM1LPxWpocBHKv8qHHdMqSphGUqqahaThfj40ITBcbLnsDj6oXvu2bS4n96JVy73TYtASxHWo48GxrUx+5Cu+XY5RH3PMzLGxF0ktXLxrRoGNVPPfNtOolIrgElLGYH2wbZqcipdIFVFlDbfGhqfj9bskCaHHS/7gTt3r73Y+BqkxFZFoKUI6/C7Lu/Bl1jmlKB8PUhcHjHufuyxx/g5lbZw+BL7bX4EoiZqyS0T0uM0j1+82QSl+ua+bhxj7GjD2LicwWkLzaarigbKsmDJ7gcTmezMBw/t3ixntUfAiK8QaBmzhq8/f26j77pbaxo3w+jetPf1B5D2RE3pmzyR4/nH+Mti4Wx1dUrCHO0lSVGqskFUnakkpn6mhu086jgYHkWTW3Wbo4Tli6L5gqYHE47vfeDufVv+YflaIjU3KwItIWEdO3a9Szc0ElDNDqcLbHjmxas7a87QxAnX9ljfxcr+Mzs29ykpi1O8iJjoR/cm5o7dnUl89LRLW93dyWmVIip+Kp7pmlWqIvQ8Mga9Gslm3Efu3LX+K008HNK0ZUSgplnGMrZPGxgYsIKeXa/TA61jPu0w0+7xBx/cd3M+eZspD0wbDgWm+RXP13cODY/jWGKuGAb48jG+agNpilbqlKZoWDqDY2AyjtNUlupzYZlKpXgaxIVMNv0zd+/d+uxcaSVuZSPQ/IT13TN34QRvZW81n6HSDdMLUqmjh9tgd//Fi8OHEl3JL3Z2dh3MzGA7XU664llVWRz/QhLjNYmsmaWp/DjCjqIDdlaZTOZZ1/A+fGj7hjP5OLkQBMog0NSE9cSRszuswNhdpt31BRnazM3U9IuPHDrUuG+419eChqU+cvzqjp7u5P9KJpMPpqc51Zv9QntLkFQBEqZluVCw/7nhaP9i376+8YIouRQEyiLQtIQ1cPT8GjOw7vE8tyFtxBrb2MBXdh579FF99g0vC0nzB548ebNHT2l/aFmJj1BPBYyav9EFLaQ+jdPAVNL8/pZ13a8qiJLLOhAAjvrTRy/d0enbF+69d0tzHFhWR/vnk7Rple6mp+9uFFkRGF8LVj/08IUN8wGp2fIcPLh+4sCu9R+F3ucj0MLf4vaVVnChqYWmdaQS2jpY2vd0djh86Vqh7c3Yxm8dudTPxaW0lrn7yJEjZW0Tm7HdC2lT0xKW1xecgHE3FDWNcb7uDh6+r/96Y0prjlIO7ur7TOD5b3ayzt9ylY0Gl83qKFXZsCXrXdOlrV3djf2LBr556JOshLDmMWhPPXV6vav5O5jVxYLUhNl3iIbV8yiqpbI0bQcP85C2Xu0l3dczC0XUN4Pzb71339mFltOM+Q/0rzu5f2fvu1zH+QDOt3uZ0pbVRMRFouJK5qqeTkhVqyBdtdUmhGV5JI4cudrpd5kHiyp3tTU/8s6r+4rC2vCmaQmLWJO0Ep65INJK2tbpt75298U2HLuiLh3oX/95L+0/kHUyvwTieiUJHVEimVzy1UKeWMqv2pCoKEVFRNXT1aHawnBx80eAZj7TwcxdAc5Gi5fiaNnNT37nCk4xaV/X1IRF2B94YHt63qQVaCcfePX2K+07fMU9U7qtHev+xE/7r3cc70O+6w1gxuV0dHZiusgvJS/O7IskRXLs6KCxqj+B26t9a3uUREWi4plbQlTFYzXvu+7tB3EIUGel/L6e3TNw5NS8zYAqldss4YvzBC9C7559drAja3qvDoyg6pwCP+KBZaVOPPjazS1vMLpQKE9fuPnawDB+EqehPwzWuAuSl8LPg90WVxhJJPWQCUmPBAWTBEz1TFUGpqO3wYYvIPgr2az35a2b1/50V6f1e1NTlVcvEzB0xRekj67usu5FmS2/crvQcaol/zeeObfTSOj91dIq28PxiaOHDx9quy8LtQxhcZBqIS0Dhkl2l/3yA4e2j1Qb2JUUD1Iyz1waOQib0vsxKXsAFvH3wMB0JySwtZC+DBPTN5BOCEnhrI1BuKe9l6tIzsVCiD6E0DOabrwI2elZ09aP7N3aNxjheXvK+a1OENa0EFYEyYL9rz072Ju03ZpNQKj7Xd899cKhNrA9LASvZTY/s9GcHoK0XsrakLS8UklLxyl+/rj+/Qfu2367sJNyTS7SuZfneO7ffweBGScu3NwAqWgrTvTc5jjBZmw87tMCfRXYKQWOgula4OiBOQUZ7DZuhrAGdQXxV0zPuCaGnkv3VPGHOpPw7+QPR62OM5HhdNddGOeX2kmCbSnC4mDlSStVTFr4eLljdHV+702vWz9R66Cu5HS5h5hmHvz3QiOxwJTRo2BGgY06dm7OVhewYGAY6s75oD+ZDs4JPY9JyqSCQ7ABqftd5VFM3/j2Ja4mtsWpJQSq6ZXu5UZTKeJnsHpohiYPRqBn04nkS2+CQWW59BK2dAjwS0Y4IHDz2ERWG8Gnwm7iK9W3sFmbvrqGPzw6gW8eTmvTM07XmTPX28KYd7EQ3rjnvv1QFHbPt3zT9DcMPHd+13zzN1s+/hC2rKOo7NjeQdsxT5LEWrYjbdLw05eHtwWe9jl0542u62HZHZIVpalY/yIlP5X3MHYddLLZfy4fmYiBhNuB509vw+rG3tKY+kOwGHLi7W/cS91jS7v4s9TSnZHGLx8CICH9lXNDX+zpWfXuycnaBV2e3e567nAm4973qv0bzy1fD5qr5oEB7KXt0u7B3Loh7yhWVfypbOalh9+wr6U3mbfklLC5Hi1pDRE4ef7Wj+EEiZ+amqpvJT2bzWjJRLIPR3n9riA5i4DZg720DSIrlsrvHXSZ9p7ZGlrzSgirNcetqVp9/vz5FJTqj6JRejTdq6eBMzNpHP9s//QrF4bvrydfO6f1JrCX1mvcXlo98Kembjotr3wXwmrnp36J+pYNeh5JdqRem83O77gxkpxtW3bgOZ/g1HKJmt3U1Rw+3D+zrc89aunagnWzpq6PdxujLz388L4F78tdbtCEsJZ7BFq8/sHBoMPX/I9hyrGgnuDUUZzrnnz7yQu3HlxQQW2Ued++fZmJ1e5LoPB5k5ZpWCPXz+08du+99zrtAI0QVjuM4jL2YcIZeh+2+9wF49MFtYJSlgmHE0g/JlLWLJQPg7RmhtyXsJ18eja0tivsXhj6xy9ve/mRR5TRcG2ZmjyViN9NPkDN3Dz1FW5z9XM4i+s1ME1YcFNpUIrVLHzJzHnwjl0bn1twgW1UwPHjxxPXpztejR0HFTc+F3YXRwxdfdM9W08D0zrs4wtLaM5rkbCac1xaolWOvurhZIPIih0OdVm2haNTfqUlAFjCRnJP4HBn+iUqz6tVa2nGpTe/etsP2o2s2G8hrGqjL/FlEQC5GHghfplSUSMdvwaEA/9+4vjpa3c2stx2KIsfUek2dr+EuXNF2xEjSJx98w/tbFt7NiGsdniSl6EPp84O3W/Z1oPzXRms1GRKWdCJdeCIlJ+vlGYlh997r+70+EPH8NHJEtLCauCph+7bmj81ox1xEsJqx1Fdij4Zxi9AT2KSYBrtslgxhOD2gWOyz7AstFzx6zFHj1mGobYUYAgC9cHge3ddK5uhjQKFsNpoMJeqK6+8cm0X6noXiWUxHA8WxAdWNyQM45HFKL8dyiRpueM7jllmMGpnjO+1w9fNaxmXxiogaqlR0jQdAkeOBPjczrnOiQ6jw88ESSOA6KT7iQzOHEvavu1pZsLQg4QPP/DdZG9Xx/vWrOr+mfR03SvtNffdxleAQIgvTzjBT0w409Mpu2faufZy+vDhw5WPMa25dEnYqggIYbXqyNXY7i/jCyvdfmaVb5hdVsLp9LJGp43j1/1A7/RdvdMwPRzEboRnLVHe9vEvL3eXBOB4ZMta22H+TiqV2LJQ26u5u6Bju44Z3J7O/Lvp6cwPmBanOwQ4uNHRTWMK21bSvh1Mm642nTWCtKkH07rnTE72aOO0XZq7bIltVQSEsFp15HLthg5J/+aJE12m3tVjOPYq1/dW4cTjHnwMYhXOce8xDd3y/PJW6OpMdsTRVy4iK/rKMR/jwvz825VIHFzT3fkx13UW/dnhRy3GJyeeHEs7n1XNibUPFvY6vtGDw5vV9w0Vofn81qGhZfDhi3HX8SfQ/3HPMse9CWcCX0gel2OIFJIt+2fRH7qWRaYJG85NxldGzV4tGayFSLQ24+q9ULyu9gJfMU5ELTn6wUISTl03NHz1KzyiJLqmX657OLLdSJgoXTO7cBxyN172blier4YCvBsFdSNXV2dC35tKJrbzfPfFdjwvC/qs9MSMxxNRsSqmT6LhUDQHE+jUBE7UnATXTuLsrRn01K2l/x6+qItiR3TNG8V59KNB0DGSfNXGUXwJY2Gm+osNhpSvEBDCasIHgVLTt75/aQ0MnXpBNb2QgNYEntfr4wu/nBYpKQLtxtdwAh0SBX3VDe7nM/Ha5vf1Fb/CURS2bCTAWWuxR229qRsbQQQbUed61LfW14JVKKsTJ5sk8WUcHbtlNANyTOhgcmAGKH7p3m1FWpqtuZCu+LByVdKHVMjpKEQrBwIW9tnpXOIH+QTDSH/D9f0bmCLewDn1I4HmwtAypPDZ/oe9oXKf/aMPsWxSs/RR13FHrURiZE1gDR86tKHEdCDMKX+XCwEhrOVCvqBeHNaW6ui11/mWDtLQ1kEiWodXE4rwYgepAPssTPCMOjIdAk94TZ8pMZjch8HjDorGFUTUAwlkh64be0A9/ZCatiDZWtOyE7ClQmIdJICJFYhA+TRV4Fo5/QIHiUvrTEbkVRCxiJfsSBbfYk87OTExXxdazY5yUgiRKfpHQ1YSkONmAZY+gV4NIeVFfCXoLNA5h/Plb5LzWAyzF+IVXdNnvO/6GcsyhjC1vmWZ7s2pO3fdOqzriy9asnJxZREoerDLppDAhiIAEtCfO3F5rW0a6z1PX4/nf53nG5RqqrpieSnULEVh8cx4E7ugH78H8tG9eP/24oVezY+pkpA8b/abhPF8le75BqdsXUtaFeaTlTI2IByEoU1l8oq1mkokcZHElIRoWmpejMMCMyCvQXyy7JjjuUcgOl4tLCzCMpTHgFpcgkViX/dH/ax2Szf8m2Yqc/MN+1r7BM/C/rfCtRDWEozSkbMjq7NTY5t13dqE6dhG3wsSqlp+C9DDi0ifLrqmT1f6BgUaPjiHN0lJAGAfvpWcI4XjiHIMF6ocO/EjmMa9HeelQ1LT1PRpoce/sJwOTCQtc+kfGQp6Uxl+9JWtmL+jNEaJ0gKBgbsygR58B4sHfwV5aliVWg3vCHv6ymHcdG868IzrVsK6pnd71+/dsmXxbD3m3/W2ybn0T1/bQFe5I8euX+9ybuqbXMPbDA7ZCKV4uMOecyz+9OfmWvj9x9zEw6JW+JuOX298WhE6qtwLEV3TL1tb/AWj7sqwfqaro/sdmcyM+vBp2XzzDEzaBiQsNH+e+eeTjQ+ohwqnG0BYhfVzNYKrkOmpyauYYH8KvD8G6RPBszrC6Jq+ystl0ghzXEZjR5+O4+iZwTh+eG7Yqa5rq/3hGzzTSkXKn4YgIITVABjBP+ZzP7i8ydasrZCetuCHvIvFRs92SEdlpnCYE2LOQi12OA7RNf1yjrphHIyE9yOXPnfNMDg70DpdTf8DWDKs5rRvMVwChAWrUgh21HzllD0NrigqlxKVC7bKQuOOWeGiuI7OTkhb6T8C/Xw3xkel9cXxj6eIxiY3Hhx3X9dHsWJwDaa3l1+zd9Mt/F4tUk/ijWnP+/DBb8++LWqvnh0c7NDGta0pO7kl6zpb8AJzEUr91kYEFdeBRCt69Nm4+AsSl6jwjVGckY6VwPwUpLhLURx9xliWvxFHi/w+zB0SWCnLsVpxnoXesSI2ngp4zmRJXPgf/0IleGH51R6uwjeX5MR76qtITh7+8N9Cp4GF7Sm8Zl1s35pVXVomm/5c1vG+Wm284njHJeJq44/FjixUAld8w7uijW6+xo3MhW2S6+oIVHumqpewglJ87+LFtcFUcqur+1vxwPcZJqYPMOyhXw6GKI4+4/GwQpjCBhe+6XDIpFb06PM+np5hhS5eXzw9bLJ2pBLGv4Fe36BU4kA6IQGw8MUY6MJywVeqDs54Z69zrWdY7jI3G1ZtUiSV6zzDI3IqLLew/wu9jspl+yywrA1pEed5QceXPT3jBb/DLrA5ua5UHZ/4eMTbFx+fwvE3DJO8fANrjlctL7giJhRx9MrfR89R+VgJ1Y6currONuwd0FNsxwtV02mPlWGLy1TxlPHf6Hh8PH9xesvw9yRM+5PIRT2ZIgVKKZxWUY/PT8aTFPji0i3m4Ed1hDWV/7uY9bNGtiGqAyorJRWSqCgdkrQiR5KddrwPlsq8xfhG6efvx8dvtiQczDdmmPaldDBxSVYeZ3GJXxUMWzxq5d4fPz7Ym7X1HTAL2A7NqtJHEQ3qtCPjw3LoxB/v+OMZ5VVzR5aHWRuErYA+y4uu6fM+Xl9J/lh7bFvbY+vmv0bWos9tsXAWSLIiaSnyApHxJz6SbFSFuXTw8i86r5vVRW1m+6IHmUREAuI0lcREP5q2ztWPrO9/YK54xsXHI56+cePvj3qBfimZNS+J5FWMcrjptThsRd4dPX9+DcwEd5iQphwozfkCwJKaLv9ewHYKeicfSudwShcnJDBBOD3MTwGRO0cqLIj73jQTaejDBYaPHTBgJ/i5+HyYijd95sFhRzkzB7yL2IrCtGwezj9nOQVTUlfPwiicifnu5J0qHHd8mXHIG6ZD7JQqIk9kJK6QwAokMWRUhMaSeJ0vcfaiXNhs7PyuwpYV51Vh+EM/Pu2M9GckpyiOuZm2Wvtom+Y4me8xPbvIIujzPu6Wbvyt1ejL3U7Sv/v754ZHsORwaX3KGdwiJhO5pzY+Mivk/urVq52jTnIXlEc78LKu8qAMx/G8kHhyOicosz0ovM3IrIDKb15HSvDoOoqv+hMLYCOWI8ash0vmufryZVcqLz4u8fym3ov1xT/EVp4UDUTn4/iS0xW+sZTMojASmLqGp64iH4FRXJQ2TKj+lv7JVRTVxwQkm9APyaboGnGMzSVR6VR87ipsVT645ovOzi5tamb6zzB1/nqzjz+s9YetwLioZW5C8jq08K9+1IxS8yQsfF6ap1WL2BK8VOaJc6NbPcPrx7wJ++hmHQUPvOaQgMJ3ETtVlERDP0wVsQ19uPgcLQyt/Dc+p4jlL6k/1xa2qVyh5ApEzEoErm/DsPOTXV3de6anq36roFyRdYWVbVSshHJEMt98saIXfIu9koplYZL6m/hUz7kS/Jt0/PE8+Jj6X/Y6k+fv2tA1BKIvB/OC8WnGAmp5dpqx3XW36fjgYK/upXbhFd+BrRlqn16MfkrspkoC4hnirYjbUVWzs4rHx8uL3cerjwt0TA4RcBcsuX8Rn97q54okVsCKJJ9YkSvy1gJR4aOtnAr6OJP+L13d+BKBKMEzHhAfgDh6yzD+vqHjTDDvYpAxLqwEfVdbE9bpIEi6V27tdLP+LnzPrWS/XrRTnz5d4e79+LNY7r4kP+Z7Jv7z1LyPL0B4Tb+ci9cXLy+eJ54e8Rw//rqqcUR+HOrgYVprJbBl5E2w63oI64J7k8mUDZLGhmAXs19ucVkxP8gKQu4ptCxbMy2TW3KAGI4u1P207ztH3CDx/7bL+Cdse8h1Zy5ev7Dp8uHD7blJuy0J69TV8XW6l92Dl3cbLG6g98idbhDgdANcY1ZY9o2N4mpNr96GRf1Da3Wui0RW69F1bWslvp81LD2xDTOGu9DhQzBc7AcYfYlkAqo6A6ozqHNBYJTESGitTGShsp0qQSxT4AcoPJQw0LBlEPhBFakHDjoLvY+XgVIyg7WK77tG8n9pvpHXBbXL+OMBd7FN6KLu+uf27esbX9RHdIkLbxvCGhgYsDb3v2a7obt7YHakpKmYiqgE2ioqJbzIOszXcSov/DAzRRNehyJKvPx4+igv/ZLKEaCkoZxUFMYXE1I8f7Xyq/UHp9CkAlfbCF3NdlhS7IQguA0N2wiJYy1ktC5IISb1Okr5jSYruy2SGlYkIkKLSC3yy/WrUWGzSnjaTUX/QEhYQuNewLCdwBFKRkpOuAfr4sBnwwfDg6B0MHagORhBHNqHw5WxTwYav6lAt/42MBLfrYZXHO9w3Ftr/B0Hp0pY+tkD29ddAz5ln8NGjddSlNPyhHV8aKjbzAS7Dd3egRcvgRHJWyrHASw9Pyp+vlSxEluH0jWAGQF9VVZMpxHVRZ/xSKQU4PR5Xy0+/sLQZCFS9DN/XKtSeh5WrL2x+sMyZv+W67+vwz5eC7oDx12rm9pakNg639B68XL3Qh+2Bm94DySxHhg0daBHSQhiCbyyyMS9SDi8RhEHyYP1qD9qak0S4VGn5VYrSTRKEkKHWYYiHuQmCYb/YKYLqS+3H5LYckxJmz6qhSYJ5yNgzgtuclESpncBfN8Fj3lgJdCSGpHcGECoxrouMoHjzO+4evLLMB1VKxJV8Wyj8Q80Ix043jnTu32hlTdkh08Yn7UWcnio9Qs3pzZm0lN7LCOxIdIZxbuQ1+lAVFFxJB7aMeUIiPkiPRPjo2v6dPF4FVjHnxi/oQK0Az/bymf5uI7ayGLj6eM63nrbF5VNXzV7nv3HViQL3JAEaSV1z0iBNJIgJBCYkSKJYbdjEiSHw7a0BI5s6QBBbINUswMUsQ6E11UojZGccA9dcZDBdQY+TgyFTgkiEKYyIBvstAQzIRk8cBJ+A2j4gZFDFWAqjAp3V5IhQYYwwUJ57ByS0QINzMYK8FyrRxt3KNbXb2qG/UVNT5wDyCt6/A0boGbdqzPA4tD21SPquWihPy1FWHjQzYs3xnZkM95ePIZd8RccBx1xez/UPowp46I4+uVcLD9/8Plq0Gfy6Jp+uez5uqPyY+UtNN5DuVQc06drpv4bIDXsjtsMpdkOSC79QK4Xog3PzwF4IBNCBiIhpBSpoE8jioqWaM2KCRuOqwLXgIQItKIe0lCYD/lZjoqgGIo0+J++SsmMKA8eqQ21qHuUh2PfzQHN6vgG6vVK8GfmQhcbr3Yff+AEi3rtdCtNF8u/eIWD2ATXx4Mg0XH1Vr/hm7sDQw8PvyvTrriKWocEE0C6oM/kJRJHrAykgj6WGlq+JUifu6YfS6pu4/UVa6AgQcXKi78ApekhcWFBwMstEkTX9MvVHw+Lt2ex+4+Pg62CxgsHEwZbAdgWIJfA+ICkfDRYtyAwWWB7Ay8F8VT/KB0bOJ4Gx/CQfUKSwZGrJJs8iZHYgB0zMB+zk8hopQ8hEcEog2ERASIBAOL5fIrVIKLxXKtzKPZLgZUckvGf+/nH5HsK0+Uz3316zeAjj3D23Lwu90w0ZwNpiZ72UnvwfO/AXIFnXfLBxLOsHn6yiLqmr3oQ04LHX9hq6TFHI6txrlYWkHj98UT1lh8vryR/rIKq6aO204drdP8hRWF3itmLUw42QnW1CSTSA2IAIXkWOBYKLWw8wjVqNkEaFqjFwLQNJhWI4ZiFoiq6QX0SbsEo6HMoWVFCYprwjw6FP65BXCSoXJwiOwpnFK9A6yiWkQhRDwA9XAfpwLS/AqnqSKP7jwapquiznXFXMn6x8Yg/X/HySvLHKqiaPlZfvf0H6BloAM/v3tpzHkJwUx59Uxb4GE5Lfnt2ZGS16SX3+F5mq4llfegtwnaSR6J5EC8hPUV6IDaS6aDnoZ5DpYe6AtdgOr4pyhXLNPH0KKCo/DDP7N+S+mI6qHzbQr7AbdgW+iylWn0l5cf6E29ftfSN6L9lGl04x30tOtMHklmLhxpClW9BL4S1T+i2uNPRp+0FflD0AN9A9LHnmHGBBfJCE3QL9ALiguoJqiu+64gDzWGIIAlhzhaSDsMV/yjJi3BxyY9khP9BXBSzEMY/AFORGMmM1yyKZfmm+ZKuJf4uMHV1THEj+o+S864E7zYd/8Dliqp2MamvPbt9uw4dY/M4DnXTuMuXx/scK9iHLcbryzfKwvOJBSGNPl10Tb8WV0xYyMFymDdXXv46Kq+ueChJQI4WlSUqf8StOf5CNdXqr9afxe8/Gm6AoLAqGKyCGLSG350ACFzKM2FvaeOseEhFOsjItdQ2S6wYYmkOdl2+CfLBvmpIV55vYY2Qn6uAxAWC40zbhxSmWArcQj0TSIiSU37mx0kgVesgLereOSz8E5EWJa6Qzyh1hZEcO7xY4Ct9WLfNvwa+5xA2h6uGP6vMPxMsZ8WNf0Gf+cOCw9usq51a5+kNG9Sn1IjJsjoO0LI7EpVra/vxhPdFs7JyjYriohlbTAKGxO1C6oJEljseOLqmTxfPX66OucJK66OUNzuDjK7p05UIbGwX25I/vrj4BYrnD0uZ/Rtvfzz9fPsPIkgkbL0DZNMFRVEHFEY2ZCBTcwMLdfCsCCVN4SwpE9YG+ARNgD24IDHYSYB1yNCYDkLRFoC8oOUG40AKQx5IYyAmlQ6SF7dDoSof0hbJiApzqLs43aPc5UG+AvVQ/4T7nGQFQiJ5kdbAkmgH2Sz0FaWB4gLrad22v4nmuvPt/yzCc1+V4t0e4z93r8PYwDCvNANxLSthkai0jmCf5+jq6y6Y4SkjTfoKprgWufj9Dg3AozBmiK7pl3H8WDH3u0YfLY6u6c/HVS2vSvsxoygyTF2q/qNenEyjJ5NJPYGPRidME1M1/JYqwyoNq32Ihu4J0z5M+WA2DoqwEI9wfmEaEhQJzPNsKNOh0jJwrfRVJqbnNOrC6IGwQFzgHiKrpCuq2kE+FizrMXWE7IWCEKemg7hSiimOQchNIC3EchqpHlBO95TshQThkwF5TL9k+Mm/MZLGzVo3AlQdLzagDle1vCYd/wU9/5Z5ZcyZPnNow/J8ZHZZCGtsbKw3rdn7nIzTx42o0WfP1cPKuYJ6XPFs5q7p8zmKx5v8cdcxDeMPOR1fj+gh4X10TV/dukiC+nJPeLy8eH1hrtm/UVvpKxcrP2oL/dlcs1eQ9PCeo73wGcp+R2Xyvlp74vH19B9EkoA2CYKUlcQqJCQj6vkoyBjh/IurcJiy4Zxy2FMptRBO7sK3kClR0UYUZAX+wMqfC1ICiYHMYBsKSQsSFKaAUEqZLoiK00ASFsgpN0UEUWE6yOkiiArE6NmUb91OWwAAEuNJREFUszCNxA0c/uBoF04W86YOarWQAYjGmHBBEIkUiXEqib025hNmInWknv6zKo77Sh3/RvcfSx5Xl4O4yr5Y7NxiuEEQFT4uvs8yrF5VvosX28LLS185vsiRHkc9YPiJtrCbJIzHyx3gJdfpl80flZWPR6qIxJghus7xjSqj4E9UNn2VvN76Csqq6XIR+48OYEeGlcAaXhLfQwxNQcgQEI9IErOOxBUuCuDLz9Arm5iyOTaYy7Jty8hAb2VCm43ZmwnwQTbgFpAWyA4SGEKhaMdgYNpngKAcpeMCAfFjYGE4yAqco3RZ0LorUqOkxVkf6AgzvFBPFbISSsOUD+WRrWijpcwbmI4Gomj4yxAIv4bPVU+q9sfxk/EP36UlfP49N3vNWr/m9CZdX/zzjDDofAoW3XHVr9NPHdB8p2+uORl/mjFLUktMbBTtkSJbpLCRxYyD5OpJps/4+DJuvq5IIgoLqfi3pLzcRuloM7QSzKImsBSWG80LVKkxkSvOkFHaCjL5QvrPN9rwvaSVtEg2ICmQCNRQkGjwnlOpNktMxdds+GxcRFrIyCmhTQMEUJjl4qwtzPbAOVC8o0DUZroGiMmBpEUfRBZ4DvRUJC4/1GOpij1ML9XU0PJdFxIZGsOpJkkOQ0YdFh5CPodKl0WfRqQkVUhTIEf1iN4GkdJU4Rx/xsJfHkpfMv4cd+IAUJb1+YdkfSU7NXp6+/bti7qquKiEdfVq0Gl2TO2DonYzAcUTCv0slCB8FuGia/q8j7iAPl30aNIPHVKq55w+00MvjFLo05WmV8H5P9XLzydVF/H0xbGl9UGfjm226B98po2u6fO+0f3H9M7SbT1h+FoS00ybSmm+5/RZHxzbwWvVHtSvNuLRR4BKl0vPtHRhWh1SESUsNBkH0qjvNiAx4MA1JDBc4yBmTPmwJArJCFM+dA1SE5XsmFIqRTzKUrZYkMio78IUkauFoW6Mcbin1GWrOR8nqOEUEUQFmuK3ZdEw6NFg92s9j3XLp0CIsAuS8VdPkcKhCZ9/KAc81x/c3NdzFjy6KHZc0YPNh7VhDg9jYnh4co9n2dvx1nLalys7Rimx2xLGigfEJBQ0Xr149FkBVb04BQiTlPAFbTiDxRGKM1pJf5AgarPKG0sQu413N07hkCANO5m0fSebtCwziW5DqMISHTRMJCDF23inYbmsauNCHq+Vn1ta5dErzKN8psP/RiIXVpAegKJQ30Y06AQSEXdAIpdL0wbTNsLpoSIeCwRJHZYBpTusIFAIlPC0iqL5AxoCcmLPQkkLdITRCc0dSFqQD1A51g4pLOXmhZCwDMO2BpH9q6ZtDoU4oKQIy5yEynFnv+mzw+0+/q3Sf5yT4aYs89zq1alLIK7wYeQANcCpgW5AOaqIARzxcudrXrMTz+cuFAxBI1Rw06eLKz3xsnDikt+Mmr9mWBlXrbySeJAlTt8MXJImXHRNv0zx2GpWZ3r0KKqzXHlRHH26+fQf+mkbg56ADjppUuihMJl7BEhGtmnj+4Phj1lEUAzjaQcgJkzcqPPmlI/yjdJV8Trf/+hbeYyP0uMS0zSVF8SEaSELxkhR6a7IC1IVHkNMBWEkCljxYQ7YXgWKrDCHw2ohJDDKSkr5Tst3TANBp7DdgkTFKSOpxYMtV2i3hXQoJjwbBo3L4oibAajdXmSbCl01PEvi6x3PetMvwfi3cv+xHpPRk8GZvo6Oq5y5FvZlvtfqQZ5v5igfH7iRdHqrn/H24McyEb6ejCUxkCwqEATi8JDNKtWRIxI6wrLj+aOyQgIqLT/KTZ+OLYnCFGHE60PdSgzIgVmcfrbt5evjYkB97VeNyv8plx/UYoChElhYgB7KtD3PAUWRpejIVNzNAjNzyDuYRqnrMF5dIx4CkTrlAJQRps2FhZIX5lqYwfFLOygTBeSmkUhDEgNvIC7MR5ML6JhozoCpn+858G1utbH4j7BRT0Z9VlZzbTyOKJCKeCjkqYbkFBJh+DXCPVcKuXKIFURlm8WBoZSFOBCYmk6i33ioT+Kw1CegEMspcFfe+M8+rRySNum/YUwm9I7TPT04NWOBDg/nwtz16xMbEp3mPswIOuI6G7wBSlynz1pQWZEIP0smIcEEWN3QsfJDn+nj9FFSPh73wilgdE2f+eOumo4pPqWI2kI/LKu4RVXLq7H/kJopRUFhnkj4joNT9KC/BlZgAIVD1I+cwASVUBgCIsF1KEQxJLpGPKHGP5LYrAs5ikREnmJ61KF4K5cG1+REVS6HC1JauGroYYcOrLWUEp6MSF0UpoZgK5hV2dgEzeNLYbMBnRQZEUPnOwGMT6GOp57Kg/0WTCMYjnsQHpDmlJFTR5IcNt/alvV1PdF5NsKcLSpGG03L6QcjnWDpeIXqgFYb//A9wGi1+fMPDeqY7nae6uvT530KKp+JebkhHJyX6Fqz33X83tCgRr1d6gXBH+XnFtEwDmEVMBfAtbK7UvHxVTb1gGLQokbFVBZMDtUJHmT+dsPxmqSRU2nkrxkWxhfbOfEVwLov4sIaonSRr1qZy6vy8xliPbn+qPjYHxSm6mJwdB357DfaVtJ/BMLeW0/ayVQSR6TA5AB7h8kwmFeRrFBUSFYkJk7GsM+F5SuiCQmFBEriCskHYcxfEM9ozBjBS/yaKD//rBzndjD3BHswAcmqwFdhOWGugCw5owwpEt9sxMlVGWQEK4GlcAOi1XAcL6eLICfdcMFmNDnH7xdO/YTCHTkxM2B6EiSPbuXmHrZO5eJy4Iu6lfo2Gu8orFfA+PM9UMjnHpBIx9v+/Q9Wm8nMfcMTE1d7u7vP4Ec6fzy1wqOGP3xI63JHjgT2/rsy/boTbMP0pe78dVUWS5wjK0VUjIqNN3kA62ZYeIcfxofXDFNFUZBTT4W6m71mWBlXrb4yWSoEYWh0jVIUdJEmzA6o18mRDN7dCplCEkK8IiP4WRAU9OO8j5wimZB3SAhKYlJEphLkJCaSEP7PEdxsfVG5UWFxP6qPPngTlvBED6IWLN8dTPmg8ocFPPRXWBdlFWqqCEmLlhAgLRtKdLaAkpQNfRUM6DUQGOUiTimNEaT7FvRVw/F6K91XG4/mHf9KPaovvJ36jzfSS1mpc6mUdhnvhZL4a0GjZsKBKK+n0+kt0AHvztCAsIzjeeAeUKVPF1l101cBWCICxcGmcPalUeHRnyguIsJYej79fFnpKxdjrKhu+spVK69Ke+OW6SXlh7Xk/8b7D5umJKY6nUiQAEmp5ZKoD5Ay8kTFzcAsJIrL+ZREYCWAaU4ubXRNP8wfpuSuGubHMwCJhSuGPCiYJIMw5GV6xkfY0Wd+WoPiBAlEhvnzNluw3SKZYTkQHIQ5J1RQDg7Lw/QQGUIdFp4wcC9KgQ/7KkxjucEHROVmc3ZaCFfEjMxUvlPvBZ0WhT1Q1zG06hQKyGPA9qEh4bPRJuO/0p//WvoPyXpa77BPr9L1mn64QiJRT0vlP3jg1oyn0/th1dnN6VOkQyh8wVRuPpLUH9GHi+sckD4vLaj43NSHLwfv8cKjbGxdgc97JUpFpIRbpovKYHTUltkpHYkyEqNYf1gWfZU+Vn+JiMZERS4qKyTAMv1hmwoItLT/aL6OL9cn8A4mknhDkR5CUuh43ExhAXjnIQVxRQ9UwnU1JM73meHISINzlY/1Ir3jwNQBtui5IpU3K2mFZbEUEhgJiHlZhkqI8rws7hPFxBHlZ5romu1CGRSv2HyQEQiLPkwefJcSk2o0mU+F8Z46KswbKd8qvRUWiq7BsuoYlF/q+Jd839p4/KNnFHhw+Fbc819r/y3dHO7qsk9D2lLPBvEq59SLXC6CYSCq1OTk5F48g+FxLyQSvvyzhFK8taaYL1ACiYdkkSOg/HVO4irmAySLlR8+yHy5wnaWysTF7YmnRxdyecMXFDcxx3KjNCUEGUtb2r4Iixwh5qebxEG58v2Hkh0ERqlLp5kClNLkngLSyF8XExrZi089SYbFm9DRg1FCbEKyoxQE8sqFkTOgTwrDVIPCP/k8qpRcGrxMEXmxnpwjUeXbhjpgA2bBNsp0HPQWOiwNOnddw5YcNIdSFyzTlUKehEbrLDxDNn7osjCXPw5FO22qgPfKHn/pf8XxxxetvSvYlX8BxBVKCdGDmPPDhz0W+Oijjxof//jHt+Hh2oko/qKqFx4l0BJQmQIwS3RNn/fxZXqGFbq4nQzimI9tKFs+S1S1KJ9XoQkEfUQwtKg98fSzefMMwmx5F28/IqK2RLjM2b54/gX0H0v6+IiDZSVgHJogfYWNzDMUpCtsUkKg4pKIUJAsnNTlkjNWzfBCPMOhi8JAiCSqPBmyMFVQ1OdctQwLywNZ5cPCpDl80D6IhjzBASQF0sUeREpSJCyE4ceSpJXbEO2612AHepaTSRn/YrtEAD3n8xV/ntv4+S96nyGRO9gccQZmEPiBK3bRi5kPHcG+v2T32n2+53bxNY8oQyWIB0SR9OmqxMeTh5lm/8azx8srEbCQNSqTpUTX+eagwCiPqiWeQAXO/olHV2tPaYUFjWCxsQJjt7MV564K6iOB2Xj1adNGa3PqDMFl4XwSSnAQCUIibqFPlwtTwbiOkoSR+JvLx3KYv9BXaSrlLyifSegQBNMFTAWhiIeFArRZnoX+8Y2EzKhbnuNlYO9wFpZXkwoH5Kmj/6qOFTz+0n8+Y4Y/2pVIcJqY35+YJ6wjEN33ZzL9kPY3hWjx6Sv+RcByLIQAZZYQJSn2C944FRF/QkvjQ31XZDcV04GVPOGl+WdJEhVGbaNPV3d7Va7ZP83U/1ACgzTjkg4gjUFvHhGWkrPAPnnBLNeFSEKKfAbzOu9yBAUdVj6cZURpZuU3XOUILioD93x2IEnxxFGc9c6M+M93cHSNZVzHquBQDeMn4x898wQ2us7pgGvAbyU8/z5e5EupVEqtJirCgp4KHxVI7sbrQIYKHyKF3+yvIvEEX8FsQNk9qXwgBpgQwNo7p9OKrukzfdzF08+WTmYrV35YF+tU8bEpYImInGtLVH+8PkzZ8iQcVpjrawXCLOHH5uo/9JmWjbXHJMQcNhVW8bOklbsumnJw7Q+cgtVK2mJxAUNNKKncp54KHuzAwnjCE01B1UIHA1A80ik/IkdIfTj6mE8MXh2sSKZhdHUd+IcDykwFLj4eMv7Fv+il75c8/xEmeHaojD+jZ4LgbsPVVvO5iutg4oSAFCCiAqVp/jrUKRU8mzVexsube05ff3tiD0Q1wkP/ojrYgeiaftiheHsjLKL4GrudTxYvb0H9h94bpzeAwCD4cAqJf5SmlBjFH5D8ChVC1Q8KyIkrjtgbE64y4lqtINJHel5Hq4q4ZdsYzsWBWaU+rkFWtFzQbiNNnWciNbT/qD4+Hitq/FdE/3mWzmvQU+W4hZZPenQuRHRNfylcvfVjpUqz0Tj6dNE1/fm4euufTx1z5am3/hr6z6lj9A9ElneKwPJ3IYEVEpqKys0YFeUhoDBP4TV/+bjVIkfqKuu8/ixC/+tqR73111V4DYnrrb+G8a+h1tkk9dY/m7MxV7XUzwdP3ApBgCYG6Co+L6/+kcB4X0g0ERFFzwXjojBc5q8ZhqOKtWEoROmLEwSWBIHowVySyqSS5kIABEYhisRFEov8SgRWGD6K9OMgq8IwBIkTBBYXASGsxcW3pUoHgfF5iIiLPv9x+03kuLxMqaqsUj1KJL4gsFgICGEtFrJtUG6OwDhtJHHhqLOl+dBAG0AnXRAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBAFBQBAQBAQBQUAQEAQEAUFAEBAEBIGVhMD/D0fV/fpMMM+gAAAAAElFTkSuQmCC"}}},b1fa:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={noticeBar:{text:function(){return[]},direction:"row",step:!1,icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",speed:80,fontSize:14,duration:2e3,disableTouch:!0,url:"",linkType:"navigateTo"}}},b365:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={popup:{show:!1,overlay:!0,mode:"bottom",duration:300,closeable:!1,overlayStyle:function(){},closeOnClickOverlay:!0,zIndex:10075,safeAreaInsetBottom:!0,safeAreaInsetTop:!1,closeIconPos:"top-right",round:0,zoom:!0,bgColor:"",overlayOpacity:.5}}},b4cd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={radio:{name:"",shape:"",disabled:"",labelDisabled:"",activeColor:"",inactiveColor:"",iconSize:"",labelSize:"",label:"",labelColor:"",size:"",iconColor:"",placement:""}}},b4d2:function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},b635:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={computed:{value:function(){var t=this.text,n=this.mode,r=this.format,i=this.href;return"price"===n?(/^\d+(\.\d+)?$/.test(t)||e.$u.error("金额模式下,text参数需要为金额格式"),e.$u.test.func(r)?r(t):e.$u.priceFormat(t,2)):"date"===n?(!e.$u.test.date(t)&&e.$u.error("日期模式下,text参数需要为日期或时间戳格式"),e.$u.test.func(r)?r(t):r?e.$u.timeFormat(t,r):e.$u.timeFormat(t,"yyyy-mm-dd")):"phone"===n?e.$u.test.func(r)?r(t):"encrypt"===r?"".concat(t.substr(0,3),"****").concat(t.substr(7)):t:"name"===n?("string"!==typeof t&&e.$u.error("姓名模式下,text参数需要为字符串格式"),e.$u.test.func(r)?r(t):"encrypt"===r?this.formatName(t):t):"link"===n?(!e.$u.test.url(i)&&e.$u.error("超链接模式下,href参数需要为URL格式"),t):t}},methods:{formatName:function(e){var t="";if(2===e.length)t=e.substr(0,1)+"*";else if(e.length>2){for(var n="",r=0,i=e.length-2;r<i;r++)n+="*";t=e.substr(0,1)+n+e.substr(-1,1)}else t=e;return t}}};t.default=n}).call(this,n("df3c")["default"])},b669:function(e,t,n){var r,i,o=n("3b2d");!function(a,s){"object"===o(t)&&"undefined"!==typeof e?e.exports=s():(r=s,i="function"===typeof r?r.call(t,n,t,e):r,void 0===i||(e.exports=i))}(0,(function(){"use strict";var e="millisecond",t="second",n="minute",r="hour",i="day",a="week",s="month",u="quarter",l="year",c="date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},h=function(e,t,n){var r=String(e);return!r||r.length>=t?e:"".concat(Array(t+1-r.length).join(n)).concat(e)},g={s:h,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return"".concat((t<=0?"+":"-")+h(r,2,"0"),":").concat(h(i,2,"0"))},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,s),o=n-i<0,a=t.clone().add(r+(o?-1:1),s);return+(-(r+(n-i)/(o?i-a:a-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(o){return{M:s,y:l,w:a,d:i,D:c,h:r,m:n,s:t,ms:e,Q:u}[o]||String(o||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},y="en",m={};m[y]=f;var v=function(e){return e instanceof w},_=function(e,t,n){var r;if(!e)return y;if("string"===typeof e)m[e]&&(r=e),t&&(m[e]=t,r=e);else{var i=e.name;m[i]=e,r=i}return!n&&r&&(y=r),r||!n&&y},b=function(e,t){if(v(e))return e.clone();var n="object"===o(t)?t:{};return n.date=e,n.args=arguments,new w(n)},x=g;x.l=_,x.i=v,x.w=function(e,t){return b(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var w=function(){function o(e){this.$L=_(e.locale,null,!0),this.parse(e)}var f=o.prototype;return f.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(x.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"===typeof t&&!/Z$/i.test(t)){var r=t.match(d);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},f.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},f.$utils=function(){return x},f.isValid=function(){return!("Invalid Date"===this.$d.toString())},f.isSame=function(e,t){var n=b(e);return this.startOf(t)<=n&&n<=this.endOf(t)},f.isAfter=function(e,t){return b(e)<this.startOf(t)},f.isBefore=function(e,t){return this.endOf(t)<b(e)},f.$g=function(e,t,n){return x.u(e)?this[t]:this.set(n,e)},f.unix=function(){return Math.floor(this.valueOf()/1e3)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(e,o){var u=this,d=!!x.u(o)||o,p=x.p(e),f=function(e,t){var n=x.w(u.$u?Date.UTC(u.$y,t,e):new Date(u.$y,t,e),u);return d?n:n.endOf(i)},h=function(e,t){return x.w(u.toDate()[e].apply(u.toDate("s"),(d?[0,0,0,0]:[23,59,59,999]).slice(t)),u)},g=this.$W,y=this.$M,m=this.$D,v="set".concat(this.$u?"UTC":"");switch(p){case l:return d?f(1,0):f(31,11);case s:return d?f(1,y):f(0,y+1);case a:var _=this.$locale().weekStart||0,b=(g<_?g+7:g)-_;return f(d?m-b:m+(6-b),y);case i:case c:return h("".concat(v,"Hours"),0);case r:return h("".concat(v,"Minutes"),1);case n:return h("".concat(v,"Seconds"),2);case t:return h("".concat(v,"Milliseconds"),3);default:return this.clone()}},f.endOf=function(e){return this.startOf(e,!1)},f.$set=function(o,a){var u,d=x.p(o),p="set".concat(this.$u?"UTC":""),f=(u={},u[i]="".concat(p,"Date"),u[c]="".concat(p,"Date"),u[s]="".concat(p,"Month"),u[l]="".concat(p,"FullYear"),u[r]="".concat(p,"Hours"),u[n]="".concat(p,"Minutes"),u[t]="".concat(p,"Seconds"),u[e]="".concat(p,"Milliseconds"),u)[d],h=d===i?this.$D+(a-this.$W):a;if(d===s||d===l){var g=this.clone().set(c,1);g.$d[f](h),g.init(),this.$d=g.set(c,Math.min(this.$D,g.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},f.set=function(e,t){return this.clone().$set(e,t)},f.get=function(e){return this[x.p(e)]()},f.add=function(e,o){var u,c=this;e=Number(e);var d=x.p(o),p=function(t){var n=b(c);return x.w(n.date(n.date()+Math.round(t*e)),c)};if(d===s)return this.set(s,this.$M+e);if(d===l)return this.set(l,this.$y+e);if(d===i)return p(1);if(d===a)return p(7);var f=(u={},u[n]=6e4,u[r]=36e5,u[t]=1e3,u)[d]||1,h=this.$d.getTime()+e*f;return x.w(h,this)},f.subtract=function(e,t){return this.add(-1*e,t)},f.format=function(e){var t=this;if(!this.isValid())return"Invalid Date";var n=e||"YYYY-MM-DDTHH:mm:ssZ",r=x.z(this),i=this.$locale(),o=this.$H,a=this.$m,s=this.$M,u=i.weekdays,l=i.months,c=function(e,r,i,o){return e&&(e[r]||e(t,n))||i[r].substr(0,o)},d=function(e){return x.s(o%12||12,e,"0")},f=i.meridiem||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r},h={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:x.s(s+1,2,"0"),MMM:c(i.monthsShort,s,l,3),MMMM:c(l,s),D:this.$D,DD:x.s(this.$D,2,"0"),d:String(this.$W),dd:c(i.weekdaysMin,this.$W,u,2),ddd:c(i.weekdaysShort,this.$W,u,3),dddd:u[this.$W],H:String(o),HH:x.s(o,2,"0"),h:d(1),hh:d(2),a:f(o,a,!0),A:f(o,a,!1),m:String(a),mm:x.s(a,2,"0"),s:String(this.$s),ss:x.s(this.$s,2,"0"),SSS:x.s(this.$ms,3,"0"),Z:r};return n.replace(p,(function(e,t){return t||h[e]||r.replace(":","")}))},f.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},f.diff=function(e,o,c){var d,p=x.p(o),f=b(e),h=6e4*(f.utcOffset()-this.utcOffset()),g=this-f,y=x.m(this,f);return y=(d={},d[l]=y/12,d[s]=y,d[u]=y/3,d[a]=(g-h)/6048e5,d[i]=(g-h)/864e5,d[r]=g/36e5,d[n]=g/6e4,d[t]=g/1e3,d)[p]||g,c?y:x.a(y)},f.daysInMonth=function(){return this.endOf(s).$D},f.$locale=function(){return m[this.$L]},f.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=_(e,t,!0);return r&&(n.$L=r),n},f.clone=function(){return x.w(this.$d,this)},f.toDate=function(){return new Date(this.valueOf())},f.toJSON=function(){return this.isValid()?this.toISOString():null},f.toISOString=function(){return this.$d.toISOString()},f.toString=function(){return this.$d.toUTCString()},o}(),S=w.prototype;return b.prototype=S,[["$ms",e],["$s",t],["$m",n],["$H",r],["$W",i],["$M",s],["$y",l],["$D",c]].forEach((function(e){S[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),b.extend=function(e,t){return e.$i||(e(t,w,b),e.$i=!0),b},b.locale=_,b.isDayjs=v,b.unix=function(e){return b(1e3*e)},b.en=m[y],b.Ls=m,b.p={},b}))},b700:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={pages:[{path:"pages/home/home",style:{navigationBarTitleText:"彩虹体育馆",navigationBarBackgroundColor:"#fff",enablePullDownRefresh:!0,onReachBottomDistance:180}},{path:"pages/mall/mall",style:{navigationBarTitleText:"",navigationStyle:"custom",enablePullDownRefresh:!1}},{path:"pages/order/order",style:{navigationBarTitleText:"",navigationStyle:"custom",enablePullDownRefresh:!0,onReachBottomDistance:180}},{path:"pages/data/data",style:{navigationBarTitleText:"经营数据",navigationBarBackgroundColor:"#fff",enablePullDownRefresh:!1}},{path:"pages/my/my",style:{navigationBarTitleText:"",navigationStyle:"custom",enablePullDownRefresh:!1}},{path:"pages/login/login",style:{navigationBarTitleText:"",navigationStyle:"custom",enablePullDownRefresh:!1}},{path:"pages/login/index",style:{navigationBarTitleText:"用户名登录",enablePullDownRefresh:!1}},{path:"pages/register/register",style:{navigationBarTitleText:"用户注册",enablePullDownRefresh:!1}},{path:"pages/arenaComment/arenaComment",style:{navigationBarTitleText:"场地评论",enablePullDownRefresh:!1}},{path:"pages/arenaControl/lockArena",style:{navigationBarTitleText:""}}],subPackages:[{root:"pages_arenaControl",pages:[{path:"arenaControl/arenaControl",style:{navigationBarTitleText:"场地管理",navigationBarBackgroundColor:"#fff",enablePullDownRefresh:!1}},{path:"addArena/addArena",style:{navigationBarTitleText:"新建场地",navigationBarBackgroundColor:"#fff",enablePullDownRefresh:!1}},{path:"lockArena/lockArena",style:{navigationBarTitleText:"预约锁定",navigationBarBackgroundColor:"#fff",enablePullDownRefresh:!1}}]},{root:"pages_my",pages:[{path:"myWallet/myWallet",style:{navigationBarTitleText:"我的钱包",enablePullDownRefresh:!1}},{path:"editInfo/editInfo",style:{navigationBarTitleText:"编辑信息",enablePullDownRefresh:!1}},{path:"myReflect/myReflect",style:{navigationBarTitleText:"我的操作",enablePullDownRefresh:!1}},{path:"editSuccess/editSuccess",style:{navigationBarTitleText:"",enablePullDownRefresh:!1}},{path:"bankCard/bankCard",style:{navigationBarTitleText:"银行卡",enablePullDownRefresh:!1}},{path:"dataSetting/dataSetting",style:{navigationBarTitleText:"资料设置",navigationBarBackgroundColor:"#F6F7FB",enablePullDownRefresh:!1}},{path:"arenaControl/arenaControl",style:{navigationBarTitleText:"场地管理",enablePullDownRefresh:!1}},{path:"employeeControl/employeeControl",style:{navigationBarTitleText:"员工管理",navigationBarBackgroundColor:"#fff",enablePullDownRefresh:!1}},{path:"courtManage/courtManage",style:{navigationBarTitleText:"球场管理",navigationBarBackgroundColor:"#fff",enablePullDownRefresh:!1}},{path:"msgSetting/msgSetting",style:{navigationBarTitleText:"消息设置",navigationBarBackgroundColor:"#F6F7FB",enablePullDownRefresh:!1}},{path:"myVip/myVip",style:{navigationBarTitleText:""}},{path:"userInfo/userInfo",style:{navigationBarTitleText:"账号与安全",navigationBarBackgroundColor:"#F6F7FB",enablePullDownRefresh:!1}},{path:"editUserInfo/editUserInfo",style:{navigationBarTitleText:"编辑信息",navigationBarBackgroundColor:"#F6F7FB",enablePullDownRefresh:!1}},{path:"editPassword/editPassword",style:{navigationBarTitleText:"修改密码",navigationBarBackgroundColor:"#F6F7FB",enablePullDownRefresh:!1}}]},{root:"pages_data",pages:[{path:"dataDetail/dataDetail",style:{navigationBarTitleText:"数据详情",navigationBarBackgroundColor:"#fff",enablePullDownRefresh:!1}}]},{root:"pages_mall",pages:[{path:"goods/addGoods",style:{navigationBarTitleText:"新建商品",navigationBarBackgroundColor:"#fff",enablePullDownRefresh:!1}},{path:"goods/edidGoods",style:{navigationBarTitleText:"编辑商品",navigationBarBackgroundColor:"#fff",enablePullDownRefresh:!1}},{path:"goods/underGoods",style:{navigationBarTitleText:"下架商品",navigationBarBackgroundColor:"#fff",enablePullDownRefresh:!1}},{path:"goods/stockInformation",navigationBarBackgroundColor:"#fff",style:{navigationBarTitleText:"商品信息",enablePullDownRefresh:!1}},{path:"goodsDetail/goodsDetail",style:{navigationBarTitleText:"",enablePullDownRefresh:!1}}]}],preloadRule:{"pages/my/my":{network:"all",packages:["pages_my"]},"pages/mall/mall":{network:"all",packages:["pages_mall"]}},tabBar:{color:"#999",selectedColor:"#FFB336",borderStyle:"black",backgroundColor:"#ffffff",list:[{pagePath:"pages/home/home",iconPath:"static/tabbarIcon/home.png",selectedIconPath:"static/tabbarIcon/home_active.png",text:"首页"},{pagePath:"pages/mall/mall",iconPath:"static/tabbarIcon/mall.png",selectedIconPath:"static/tabbarIcon/mall_active.png",text:"商城"},{pagePath:"pages/order/order",iconPath:"static/tabbarIcon/order.png",selectedIconPath:"static/tabbarIcon/order_active.png",text:"订单"},{pagePath:"pages/data/data",iconPath:"static/tabbarIcon/data.png",selectedIconPath:"static/tabbarIcon/data_active.png",text:"数据"},{pagePath:"pages/my/my",iconPath:"static/tabbarIcon/my.png",selectedIconPath:"static/tabbarIcon/my_active.png",text:"我的"}]},globalStyle:{navigationBarBackgroundColor:"#ffffff",navigationBarTitleText:"",navigationBarTextStyle:"black",backgroundTextStyle:"dark"},uniIdRouter:{},easycom:{"^u-(.*)":"@/uni_modules/uview-ui/components/u-$1/u-$1.vue"}}},b7d4:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAABjJJREFUWEe1mG2MXGUVgJ/z3rnzsV/d3UawixNs+LBSotJitNtqXI1t+SGJJoqg/DBQVErLhyQmRBN/mJgYJLEKP2o3JmpYgWDUQNyizVY+2lXSJq0sJKUt0S5YaDvdnd352Jl73yPvnW7b2Z25M2vh/TPJ3Pec89z3fNxzXmGJS6e4CmEzsB5hNcqHEHoBRckjnECZAF4kxW5Jc2wpJqSdzTpGgjV8FdiO8Ol2ZM7tUWAc5TEO8nsZImgl2xJIp9mE8AhwXStlLZ4fwbJNenkubl9TIH2DNMv5JXDHJYIsFN/FNNslS6mR3oZAOsMHsPwFYe17DFNTpxzEsFm6ObVQ/yKgCEbZB1z9vsBcUHoUYXAhVB2QniBDDy8irHmfYeZP6gA5NshKyvP26oHy/Aq4c0kwchnIclCXUDnQd5YkDgxLzwWb54F0io0YdrelzRsC/05wv2ZFvYh9E8IxqO6E8IW21KFslmU12xFQVGfWRsXs2lgNkoX0LkhsbM9QMArlLaCTrfa/ygE+7upUDWiabyL8NlbKfAQye8Bc0Up5LZHsLGK6wP4HikOgx+PllNtkGSM1oHyUVeuaSySg4wB4H6vbEpx5hET/vQT5JzCZT2KS16DB24T5P2CLYySvGAHx0OAwFAYRU2huQhl/123rRMtcRYXX593XUCLxFcg8vehRZfIW/IFfE+Z2gH8lWj2Blv6BZD6F130zJrXqvExw+kE8/zHENKyHtX2Wq0WnuRvh0djzTD0Mye/VXBGcJpz5IxBgC3uQ9I1o5XWwU5jOm/C6v4QkLlukLpgewc4O43ftaw6l3OOAHke4NQ5Ikz9HUttrQGEucomIT1h4DtPxObRyNIIS/0pM51D0n3g99e51QPkRMMXmUMqIaJ5DQH1wLKCzsg3TtWMRc/XkfXj927DF5xHTjfgfxhb+hi29jMmswevbiniuM4HqqR+h5YM1Hc2hDrsTyiH0xZ1QaL+FdPwY4w/UbQvzT2I6PotW34oKiEnXCryGU9jCGCZzI+JnsZXjBKd/CuFbF+QbQSk5d0KuR/FiXeY9RFDsItG/rZbKS1jOxcGZhxHThy0tKJSLoawDCt0hxtmw9nZI/5Bwehiv944ovdtZtvwvwqmdeL13EbhMDN9eLFYPFTqXnUHojwUyD2KDT+B1bSY4uxPBYDq/gKRWIyZTJ+oKopYPRwHv+gyv99tYl5VhDlv+Z2Mz81BSOtteULMF1S+iOofXcxsEJ7DFcezchKsDIKb2i40KoSRXYTo+E8VPeHYYTCc6dwitHGn+3g6qczwK6pZpb/UuSG1HK8exxZfwer6GSd8A0rjhVA3R0ssE+RG8zCC4wM4/hVZb9PtSHnFAW5GoVW26rHmAsHQ5Xs8tiEkTzjyDzr2G+ANRqmO6I/dg8zXo6r8xqY9ium8GWyac/k2UDLbkvlDNl3izWyUaawxHY9O+ch1m2R6C3KOYjvWYzo0IggYn0WAy+pCiIeJ1Q2IASbjyYLGzz0bp7/V9l+DUD0ArMWZUk6ncNfNf+/1x443aJEHwEIm+72Nn/oQt7cdk1iHp6xF/JWI6ogZNtYBWjmHLh6LTcHu87i8TnPkJ6uIt9ngq+1PZ3YPzQLciPB5/Sh/E2u+Q6L/fVUDUGZ2bQKuToO6D6QI6gyRWRO6S9FqwRYLcz9C5V1pXCZm5PZXd+7uLGzT3CYmdvWx1OWF5A6brG5iOzyOJ5Q0NRS1I4a/YmT+Dnm+XY6CCI/uOlVYPDe2tNWhunRsIR1u9iqpgKwOEc6vAXItxQe1iR11TNoVW34DgZCs1Fz1XTCK/yR94PhogFzb5u9odDNWmqc4Ogu1cgvHFW1Wqu9LZ0S3zT+qB3LTaH41BbQ2Ilw5VOfiOTGzIZifPd22XPCj+/1DVo0m/MCgrXqibXuNG6dF2B8alQ1UOJP3iTQthFsXQxR6OpthluK6srcGxPShFpTT83yC8Z+XKvQ3Tr/V1TG2A/EXLmS0afWICXe2rxi8+4A+MxQ6jLYGiklC7sPo6wt0QXVg1v8apg3LjtR3HK+zYd+TvTw29FxdWCxM1Gpvm2ARsOHell333Qst19IIyhTBpbddEmF//kp96c1Quf2VJV3r/AxcctP1KlhnKAAAAAElFTkSuQmCC"},b893:function(e,t){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},b9a3:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{show:{type:Boolean,default:e.$u.props.loadingIcon.show},color:{type:String,default:e.$u.props.loadingIcon.color},textColor:{type:String,default:e.$u.props.loadingIcon.textColor},vertical:{type:Boolean,default:e.$u.props.loadingIcon.vertical},mode:{type:String,default:e.$u.props.loadingIcon.mode},size:{type:[String,Number],default:e.$u.props.loadingIcon.size},textSize:{type:[String,Number],default:e.$u.props.loadingIcon.textSize},text:{type:[String,Number],default:e.$u.props.loadingIcon.text},timingFunction:{type:String,default:e.$u.props.loadingIcon.timingFunction},duration:{type:[String,Number],default:e.$u.props.loadingIcon.duration},inactiveColor:{type:String,default:e.$u.props.loadingIcon.inactiveColor}}};t.default=n}).call(this,n("df3c")["default"])},ba1a:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={listItem:{anchor:""}}},ba37:function(e,t){
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,l=u>>1,c=-7,d=n?i-1:0,p=n?-1:1,f=e[t+d];for(d+=p,o=f&(1<<-c)-1,f>>=-c,c+=s;c>0;o=256*o+e[t+d],d+=p,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+d],d+=p,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),o-=l}return(f?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,u,l=8*o-i-1,c=(1<<l)-1,d=c>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:o-1,h=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),t+=a+d>=1?p/u:p*Math.pow(2,1-d),t*u>=2&&(a++,u/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*u-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+f]=255&s,f+=h,s/=256,i-=8);for(a=a<<i|s,l+=i;l>0;e[n+f]=255&a,f+=h,a/=256,l-=8);e[n+f-h]|=128*g}},bc90:function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("3b2d"));function o(e){return/^[\+-]?(\d+\.?\d*|\.\d+|\d\.\d+e\+\d+)$/.test(e)}function a(e){switch((0,i.default)(e)){case"undefined":return!0;case"string":if(0==e.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g,"").length)return!0;break;case"boolean":if(!e)return!0;break;case"number":if(0===e||isNaN(e))return!0;break;case"object":if(null===e||0===e.length)return!0;for(var t in e)return!1;return!0}return!1}function s(e){return"[object Object]"===Object.prototype.toString.call(e)}function u(e){return"function"===typeof e}var l={email:function(e){return/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/.test(e)},mobile:function(e){return/^1([3589]\d|4[5-9]|6[1-2,4-7]|7[0-8])\d{8}$/.test(e)},url:function(e){return/^((https|http|ftp|rtsp|mms):\/\/)(([0-9a-zA-Z_!~*'().&=+$%-]+: )?[0-9a-zA-Z_!~*'().&=+$%-]+@)?(([0-9]{1,3}.){3}[0-9]{1,3}|([0-9a-zA-Z_!~*'()-]+.)*([0-9a-zA-Z][0-9a-zA-Z-]{0,61})?[0-9a-zA-Z].[a-zA-Z]{2,6})(:[0-9]{1,4})?((\/?)|(\/[0-9a-zA-Z_!~*'().;?:@&=+$,%#-]+)+\/?)$/.test(e)},date:function(e){return!!e&&(o(e)&&(e=+e),!/Invalid|NaN/.test(new Date(e).toString()))},dateISO:function(e){return/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:o,digits:function(e){return/^\d+$/.test(e)},idCard:function(e){return/^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(e)},carNo:function(e){return 7===e.length?/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]{1}$/.test(e):8===e.length&&/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领A-Z]{1}[A-Z]{1}(([0-9]{5}[DF]$)|([DF][A-HJ-NP-Z0-9][0-9]{4}$))/.test(e)},amount:function(e){return/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0\.\d{1,2}$/.test(e)},chinese:function(e){return/^[\u4e00-\u9fa5]+$/gi.test(e)},letter:function(e){return/^[a-zA-Z]*$/.test(e)},enOrNum:function(e){return/^[0-9a-zA-Z]*$/g.test(e)},contains:function(e,t){return e.indexOf(t)>=0},range:function(e,t){return e>=t[0]&&e<=t[1]},rangeLength:function(e,t){return e.length>=t[0]&&e.length<=t[1]},empty:a,isEmpty:a,jsonString:function(e){if("string"===typeof e)try{var t=JSON.parse(e);return!("object"!==(0,i.default)(t)||!t)}catch(n){return!1}return!1},landline:function(e){return/^\d{3,4}-\d{7,8}(-\d{3,4})?$/.test(e)},object:s,array:function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},code:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;return new RegExp("^\\d{".concat(t,"}$")).test(e)},func:u,promise:function(e){return s(e)&&u(e.then)&&u(e.catch)},video:function(e){return/\.(mp4|mpg|mpeg|dat|asf|avi|rm|rmvb|mov|wmv|flv|mkv|m3u8)/i.test(e)},image:function(e){var t=e.split("?")[0];return/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i.test(t)},regExp:function(e){return e&&"[object RegExp]"===Object.prototype.toString.call(e)},string:function(e){return"string"===typeof e}};t.default=l},be6c:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{model:{type:Object,default:e.$u.props.form.model},rules:{type:[Object,Function,Array],default:e.$u.props.form.rules},errorType:{type:String,default:e.$u.props.form.errorType},borderBottom:{type:Boolean,default:e.$u.props.form.borderBottom},labelPosition:{type:String,default:e.$u.props.form.labelPosition},labelWidth:{type:[String,Number],default:e.$u.props.form.labelWidth},labelAlign:{type:String,default:e.$u.props.form.labelAlign},labelStyle:{type:Object,default:e.$u.props.form.labelStyle}}};t.default=n}).call(this,n("df3c")["default"])},c062:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{type:{type:String,default:e.$u.props.text.type},show:{type:Boolean,default:e.$u.props.text.show},text:{type:[String,Number],default:e.$u.props.text.text},prefixIcon:{type:String,default:e.$u.props.text.prefixIcon},suffixIcon:{type:String,default:e.$u.props.text.suffixIcon},mode:{type:String,default:e.$u.props.text.mode},href:{type:String,default:e.$u.props.text.href},format:{type:[String,Function],default:e.$u.props.text.format},call:{type:Boolean,default:e.$u.props.text.call},openType:{type:String,default:e.$u.props.text.openType},bold:{type:Boolean,default:e.$u.props.text.bold},block:{type:Boolean,default:e.$u.props.text.block},lines:{type:[String,Number],default:e.$u.props.text.lines},color:{type:String,default:e.$u.props.text.color},size:{type:[String,Number],default:e.$u.props.text.size},iconStyle:{type:[Object,String],default:e.$u.props.text.iconStyle},decoration:{type:String,default:e.$u.props.text.decoration},margin:{type:[Object,String,Number],default:e.$u.props.text.margin},lineHeight:{type:[String,Number],default:e.$u.props.text.lineHeight},align:{type:String,default:e.$u.props.text.align},wordWrap:{type:String,default:e.$u.props.text.wordWrap}}};t.default=n}).call(this,n("df3c")["default"])},c250:function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("8f59")),o=r(n("3240")),a=n("1f0b"),s=r(n("57e5"));o.default.use(i.default);var u=new i.default.Store({modules:{user:a.user},state:{},mutations:{},actions:{},getters:s.default}),l=u;t.default=l},c2d7:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{show:{type:Boolean,default:e.$u.props.toolbar.show},cancelText:{type:String,default:e.$u.props.toolbar.cancelText},confirmText:{type:String,default:e.$u.props.toolbar.confirmText},cancelColor:{type:String,default:e.$u.props.toolbar.cancelColor},confirmColor:{type:String,default:e.$u.props.toolbar.confirmColor},title:{type:String,default:e.$u.props.toolbar.title}}};t.default=n}).call(this,n("df3c")["default"])},c39e:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={button:{hairline:!1,type:"info",size:"normal",shape:"square",plain:!1,disabled:!1,loading:!1,loadingText:"",loadingMode:"spinner",loadingSize:15,openType:"",formType:"",appParameter:"",hoverStopPropagation:!0,lang:"en",sessionFrom:"",sendMessageTitle:"",sendMessagePath:"",sendMessageImg:"",showMessageCard:!1,dataName:"",throttleTime:0,hoverStartTime:0,hoverStayTime:200,text:"",icon:"",iconColor:"",color:""}}},c596:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={modal:{show:!1,title:"",content:"",confirmText:"确认",cancelText:"取消",showConfirmButton:!0,showCancelButton:!1,confirmColor:"#2979ff",cancelColor:"#606266",buttonReverse:!1,zoom:!0,asyncClose:!1,closeOnClickOverlay:!1,negativeTop:0,width:"650rpx",confirmButtonShape:"",duration:400}}},c5a3:function(e,t){},c616:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.USER_INFO=t.USER_ID=t.PLATFORM=t.CRGX_TOKEN=t.APP_THEME=void 0;t.CRGX_TOKEN="CrgxToken";t.USER_ID="userId";t.USER_INFO="userInfo";t.PLATFORM="platform";t.APP_THEME="appTheme"},c6dd:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{safeAreaInsetTop:{type:Boolean,default:e.$u.props.navbar.safeAreaInsetTop},placeholder:{type:Boolean,default:e.$u.props.navbar.placeholder},fixed:{type:Boolean,default:e.$u.props.navbar.fixed},border:{type:Boolean,default:e.$u.props.navbar.border},leftIcon:{type:String,default:e.$u.props.navbar.leftIcon},leftText:{type:String,default:e.$u.props.navbar.leftText},rightText:{type:String,default:e.$u.props.navbar.rightText},rightIcon:{type:String,default:e.$u.props.navbar.rightIcon},title:{type:[String,Number],default:e.$u.props.navbar.title},bgColor:{type:String,default:e.$u.props.navbar.bgColor},titleWidth:{type:[String,Number],default:e.$u.props.navbar.titleWidth},height:{type:[String,Number],default:e.$u.props.navbar.height},leftIconSize:{type:[String,Number],default:e.$u.props.navbar.leftIconSize},leftIconColor:{type:String,default:e.$u.props.navbar.leftIconColor},autoBack:{type:Boolean,default:e.$u.props.navbar.autoBack},titleStyle:{type:[String,Object],default:e.$u.props.navbar.titleStyle}}};t.default=n}).call(this,n("df3c")["default"])},c70d:function(e,t,n){var r=n("ed45"),i=n("b893"),o=n("6382"),a=n("dd3e");e.exports=function(e){return r(e)||i(e)||o(e)||a()},e.exports.__esModule=!0,e.exports["default"]=e.exports},c748:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pro_http=void 0;t.pro_http="https://ydzght.laoban888.vip"},caf6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={options:{virtualHost:!0}}},cda9:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={toast:10090,noNetwork:10080,popup:10075,mask:10070,navbar:980,topTips:975,sticky:970,indexListSticky:965}},ce5a:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{hairline:{type:Boolean,default:e.$u.props.button.hairline},type:{type:String,default:e.$u.props.button.type},size:{type:String,default:e.$u.props.button.size},shape:{type:String,default:e.$u.props.button.shape},plain:{type:Boolean,default:e.$u.props.button.plain},disabled:{type:Boolean,default:e.$u.props.button.disabled},loading:{type:Boolean,default:e.$u.props.button.loading},loadingText:{type:[String,Number],default:e.$u.props.button.loadingText},loadingMode:{type:String,default:e.$u.props.button.loadingMode},loadingSize:{type:[String,Number],default:e.$u.props.button.loadingSize},openType:{type:String,default:e.$u.props.button.openType},formType:{type:String,default:e.$u.props.button.formType},appParameter:{type:String,default:e.$u.props.button.appParameter},hoverStopPropagation:{type:Boolean,default:e.$u.props.button.hoverStopPropagation},lang:{type:String,default:e.$u.props.button.lang},sessionFrom:{type:String,default:e.$u.props.button.sessionFrom},sendMessageTitle:{type:String,default:e.$u.props.button.sendMessageTitle},sendMessagePath:{type:String,default:e.$u.props.button.sendMessagePath},sendMessageImg:{type:String,default:e.$u.props.button.sendMessageImg},showMessageCard:{type:Boolean,default:e.$u.props.button.showMessageCard},dataName:{type:String,default:e.$u.props.button.dataName},throttleTime:{type:[String,Number],default:e.$u.props.button.throttleTime},hoverStartTime:{type:[String,Number],default:e.$u.props.button.hoverStartTime},hoverStayTime:{type:[String,Number],default:e.$u.props.button.hoverStayTime},text:{type:[String,Number],default:e.$u.props.button.text},icon:{type:String,default:e.$u.props.button.icon},iconColor:{type:String,default:e.$u.props.button.icon},color:{type:String,default:e.$u.props.button.color}}};t.default=n}).call(this,n("df3c")["default"])},d0df:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={sticky:{offsetTop:0,customNavHeight:0,disabled:!1,bgColor:"transparent",zIndex:"",index:""}}},d113:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{value:{type:[String,Number,Boolean],default:e.$u.props.radioGroup.value},disabled:{type:Boolean,default:e.$u.props.radioGroup.disabled},shape:{type:String,default:e.$u.props.radioGroup.shape},activeColor:{type:String,default:e.$u.props.radioGroup.activeColor},inactiveColor:{type:String,default:e.$u.props.radioGroup.inactiveColor},name:{type:String,default:e.$u.props.radioGroup.name},size:{type:[String,Number],default:e.$u.props.radioGroup.size},placement:{type:String,default:e.$u.props.radioGroup.placement},label:{type:[String],default:e.$u.props.radioGroup.label},labelColor:{type:[String],default:e.$u.props.radioGroup.labelColor},labelSize:{type:[String,Number],default:e.$u.props.radioGroup.labelSize},labelDisabled:{type:Boolean,default:e.$u.props.radioGroup.labelDisabled},iconColor:{type:String,default:e.$u.props.radioGroup.iconColor},iconSize:{type:[String,Number],default:e.$u.props.radioGroup.iconSize},borderBottom:{type:Boolean,default:e.$u.props.radioGroup.borderBottom},iconPlacement:{type:String,default:e.$u.props.radio.iconPlacement}}};t.default=n}).call(this,n("df3c")["default"])},d241:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={calendar:{title:"日期选择",showTitle:!0,showSubtitle:!0,mode:"single",startText:"开始",endText:"结束",customList:function(){return[]},color:"#3c9cff",minDate:0,maxDate:0,defaultDate:null,maxCount:Number.MAX_SAFE_INTEGER,rowHeight:56,formatter:null,showLunar:!1,showMark:!0,confirmText:"确定",confirmDisabledText:"确定",show:!1,closeOnClickOverlay:!1,readonly:!1,showConfirm:!0,maxRange:Number.MAX_SAFE_INTEGER,rangePrompt:"",showRangePrompt:!0,allowSameDay:!1,round:0,monthNum:3}};t.default=r},d249:function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.Canvas=void 0,t.dispatch=function(e,t){var n=t.x,r=t.y,i=t.wheelDelta;this.dispatch(e,{zrX:n,zrY:r,zrDelta:i,preventDefault:function(){},stopPropagation:function(){}})},t.setCanvasCreator=function(t,n){var r=n.canvas,i=n.node;if(t&&!t.registerPreprocessor)return console.warn("echarts 版本不对或未传入echarts,vue3请使用esm格式");t.registerPreprocessor((function(e){e&&e.series&&(e.series.length>0?e.series.forEach((function(e){e.progressive=0})):"object"===(0,o.default)(e.series)&&(e.series.progressive=0))})),t.setPlatformAPI&&t.setPlatformAPI({loadImage:r.setChart?function(e,t,n){var r=null;return i&&i.createImage?(r=i.createImage(),r.onload=t.bind(r),r.onerror=n.bind(r),r.src=e,r):(r=new c,r.onload=t.bind(r),r.onerror=n.bind(r),r.src=e,r)}:null,createCanvas:function(){var t="createOffscreenCanvas";return e.canIUse(t)&&e[t]?e[t]({type:"2d"}):r}})};var i=r(n("af34")),o=r(n("3b2d")),a=r(n("67ad")),s=r(n("0bdb")),u={},l=function(){function e(){(0,a.default)(this,e),this.__events={}}return(0,s.default)(e,[{key:"on",value:function(e,t){if(e&&t){var n=this.__events[e]||[];n.push(t),this.__events[e]=n}}},{key:"emit",value:function(e,t){var n=this;if(e.constructor===Object&&(t=e,e=t&&t.type),e){var r=this.__events[e];r&&r.length&&r.forEach((function(e){e.call(n,t)}))}}},{key:"off",value:function(e,t){var n=this.__events,r=n[e];if(r&&r.length)if(t)for(var i=0,o=r.length;i<o;i++)r[i]===t&&(r.splice(i,1),i--);else delete n[e]}}]),e}(),c=function(){function t(){(0,a.default)(this,t),this.currentSrc=null,this.naturalHeight=0,this.naturalWidth=0,this.width=0,this.height=0,this.tagName="IMG"}return(0,s.default)(t,[{key:"src",get:function(){return this.currentSrc},set:function(t){var n=this;this.currentSrc=t,e.getImageInfo({src:t,success:function(e){n.naturalWidth=n.width=e.width,n.naturalHeight=n.height=e.height,n.onload()},fail:function(){n.onerror()}})}}]),t}(),d=function(){function t(e,n,r){(0,a.default)(this,t),this.tagName="canvas",this.com=n,this.canvasId=r,this.ctx=e}return(0,s.default)(t,[{key:"width",get:function(){return this.com.offscreenWidth||0},set:function(e){this.com.offscreenWidth=e}},{key:"height",get:function(){return this.com.offscreenHeight||0},set:function(e){this.com.offscreenHeight=e}},{key:"getContext",value:function(e){return this.ctx}},{key:"getImageData",value:function(){var t=this;return new Promise((function(n,r){t.com.$nextTick((function(){e.canvasGetImageData({x:0,y:0,width:t.com.offscreenWidth,height:t.com.offscreenHeight,canvasId:t.canvasId,success:function(e){n(e)},fail:function(e){r(e)}},t.com)}))}))}}]),t}(),p=function(){function t(e,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};(0,a.default)(this,t),u[n.canvasId]={ctx:e},this.canvasId=n.canvasId,this.chart=null,this.isNew=r,this.tagName="canvas",this.canvasNode=i,this.com=n,r||this._initStyle(e),this._initEvent(),this._ee=new l}return(0,s.default)(t,[{key:"getContext",value:function(e){if("2d"===e)return this.ctx}},{key:"setAttribute",value:function(e,t){"aria-label"===e&&(this.com["ariaLabel"]=t)}},{key:"setChart",value:function(e){this.chart=e}},{key:"createOffscreenCanvas",value:function(t){if(!this.children){this.com.isOffscreenCanvas=!0,this.com.offscreenWidth=t.width||300,this.com.offscreenHeight=t.height||300;var n=this.com,r=this.com.offscreenCanvasId,i=e.createCanvasContext(r,this.com);this._initStyle(i),this.children=new d(i,n,r)}return this.children}},{key:"appendChild",value:function(e){console.log("child",e)}},{key:"dispatchEvent",value:function(e,t){return"object"==(0,o.default)(e)?this._ee.emit(e.type,e):this._ee.emit(e,t),!0}},{key:"attachEvent",value:function(){}},{key:"detachEvent",value:function(){}},{key:"addEventListener",value:function(e,t){this._ee.on(e,t)}},{key:"removeEventListener",value:function(e,t){this._ee.off(e,t)}},{key:"_initCanvas",value:function(e,t){}},{key:"_initStyle",value:function(e,t){if(["fillStyle","strokeStyle","fontSize","globalAlpha","opacity","textAlign","textBaseline","shadow","lineWidth","lineCap","lineJoin","lineDash","miterLimit"].forEach((function(t){Object.defineProperty(e,t,{set:function(n){"opacity"!==t?("fillStyle"!==t&&"strokeStyle"!==t||"none"!==n&&null!==n)&&e["set"+t.charAt(0).toUpperCase()+t.slice(1)](n):e.setGlobalAlpha(n)}})})),this.isNew||t||(e.uniDrawImage=e.drawImage,e.drawImage=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];n[0]=n[0].src,e.uniDrawImage.apply(e,n)}),e.createRadialGradient||(e.createRadialGradient=function(){return e.createCircularGradient.apply(e,(0,i.default)(Array.prototype.slice.call(arguments).slice(-3)))}),e.strokeText||(e.strokeText=function(){e.fillText.apply(e,arguments)}),!e.measureText){var n=function(e){for(var t=0,n=0;n<e.length;n++)e.charCodeAt(n)>0&&e.charCodeAt(n)<128?t++:t+=2;return t};e.measureText=function(t,r){var i,o=(null===e||void 0===e||null===(i=e.state)||void 0===i?void 0:i.fontSize)||12;r&&(o=parseInt(r.match(/([\d\.]+)px/)[1])),o/=2;var a=o>=16,s=a?1.3:1;return{width:n(t)*o*s}}}}},{key:"_initEvent",value:function(e){var t=this;this.event={};[{wxName:"touchStart",ecName:"mousedown"},{wxName:"touchMove",ecName:"mousemove"},{wxName:"touchEnd",ecName:"mouseup"},{wxName:"touchEnd",ecName:"click"}].forEach((function(e){t.event[e.wxName]=function(n){var r=n.touches[0];t.chart.getZr().handler.dispatch(e.ecName,{zrX:"tap"===e.wxName?r.clientX:r.x,zrY:"tap"===e.wxName?r.clientY:r.y})}}))}},{key:"width",get:function(){return this.canvasNode.width||0},set:function(e){this.canvasNode.width=e}},{key:"height",get:function(){return this.canvasNode.height||0},set:function(e){this.canvasNode.height=e}},{key:"ctx",get:function(){return u[this.canvasId]["ctx"]||null}},{key:"chart",get:function(){return u[this.canvasId]["chart"]||null},set:function(e){u[this.canvasId]["chart"]=e}}]),t}();t.Canvas=p}).call(this,n("df3c")["default"])},d338:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{offsetTop:{type:[String,Number],default:e.$u.props.sticky.offsetTop},customNavHeight:{type:[String,Number],default:e.$u.props.sticky.customNavHeight},disabled:{type:Boolean,default:e.$u.props.sticky.disabled},bgColor:{type:String,default:e.$u.props.sticky.bgColor},zIndex:{type:[String,Number],default:e.$u.props.sticky.zIndex},index:{type:[String,Number],default:e.$u.props.sticky.index}}};t.default=n}).call(this,n("df3c")["default"])},d3b4:function(e,t,n){"use strict";(function(e,r){var i=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.LOCALE_ZH_HANT=t.LOCALE_ZH_HANS=t.LOCALE_FR=t.LOCALE_ES=t.LOCALE_EN=t.I18n=t.Formatter=void 0,t.compileI18nJsonStr=function(e,t){var n=t.locale,r=t.locales,i=t.delimiters;if(!C(e,i))return e;S||(S=new d);var o=[];Object.keys(r).forEach((function(e){e!==n&&o.push({locale:e,values:r[e]})})),o.unshift({locale:n,values:r[n]});try{return JSON.stringify(T(JSON.parse(e),o,i),null,2)}catch(a){}return e},t.hasI18nJson=function e(t,n){S||(S=new d);return I(t,(function(t,r){var i=t[r];return A(i)?!!C(i,n)||void 0:e(i,n)}))},t.initVueI18n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if("string"!==typeof e){var i=[t,e];e=i[0],t=i[1]}"string"!==typeof e&&(e=w());"string"!==typeof n&&(n="undefined"!==typeof __uniConfig&&__uniConfig.fallbackLocale||"en");var o=new b({locale:e,fallbackLocale:n,messages:t,watcher:r}),a=function(e,t){if("function"!==typeof getApp)a=function(e,t){return o.t(e,t)};else{var n=!1;a=function(e,t){var r=getApp().$vm;return r&&(r.$locale,n||(n=!0,x(r,o))),o.t(e,t)}}return a(e,t)};return{i18n:o,f:function(e,t,n){return o.f(e,t,n)},t:function(e,t){return a(e,t)},add:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return o.add(e,t,n)},watch:function(e){return o.watchLocale(e)},getLocale:function(){return o.getLocale()},setLocale:function(e){return o.setLocale(e)}}},t.isI18nStr=C,t.isString=void 0,t.normalizeLocale=_,t.parseI18nJson=function e(t,n,r){S||(S=new d);return I(t,(function(t,i){var o=t[i];A(o)?C(o,r)&&(t[i]=k(o,n,r)):e(o,n,r)})),t},t.resolveLocale=function(e){return function(t){return t?(t=_(t)||t,function(e){var t=[],n=e.split("-");while(n.length)t.push(n.join("-")),n.pop();return t}(t).find((function(t){return e.indexOf(t)>-1}))):t}};var o=i(n("34cf")),a=i(n("67ad")),s=i(n("0bdb")),u=i(n("3b2d")),l=function(e){return null!==e&&"object"===(0,u.default)(e)},c=["{","}"],d=function(){function e(){(0,a.default)(this,e),this._caches=Object.create(null)}return(0,s.default)(e,[{key:"interpolate",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c;if(!t)return[e];var r=this._caches[e];return r||(r=h(e,n),this._caches[e]=r),g(r,t)}}]),e}();t.Formatter=d;var p=/^(?:\d)+/,f=/^(?:\w)+/;function h(e,t){var n=(0,o.default)(t,2),r=n[0],i=n[1],a=[],s=0,u="";while(s<e.length){var l=e[s++];if(l===r){u&&a.push({type:"text",value:u}),u="";var c="";l=e[s++];while(void 0!==l&&l!==i)c+=l,l=e[s++];var d=l===i,h=p.test(c)?"list":d&&f.test(c)?"named":"unknown";a.push({value:c,type:h})}else u+=l}return u&&a.push({type:"text",value:u}),a}function g(e,t){var n=[],r=0,i=Array.isArray(t)?"list":l(t)?"named":"unknown";if("unknown"===i)return n;while(r<e.length){var o=e[r];switch(o.type){case"text":n.push(o.value);break;case"list":n.push(t[parseInt(o.value,10)]);break;case"named":"named"===i&&n.push(t[o.value]);break;case"unknown":0;break}r++}return n}t.LOCALE_ZH_HANS="zh-Hans";t.LOCALE_ZH_HANT="zh-Hant";t.LOCALE_EN="en";t.LOCALE_FR="fr";t.LOCALE_ES="es";var y=Object.prototype.hasOwnProperty,m=function(e,t){return y.call(e,t)},v=new d;function _(e,t){if(e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),"chinese"===e)return"zh-Hans";if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?"zh-Hans":e.indexOf("-hant")>-1||function(e,t){return!!t.find((function(t){return-1!==e.indexOf(t)}))}(e,["-tw","-hk","-mo","-cht"])?"zh-Hant":"zh-Hans";var n=["en","fr","es"];t&&Object.keys(t).length>0&&(n=Object.keys(t));var r=function(e,t){return t.find((function(t){return 0===e.indexOf(t)}))}(e,n);return r||void 0}}var b=function(){function e(t){var n=t.locale,r=t.fallbackLocale,i=t.messages,o=t.watcher,s=t.formater;(0,a.default)(this,e),this.locale="en",this.fallbackLocale="en",this.message={},this.messages={},this.watchers=[],r&&(this.fallbackLocale=r),this.formater=s||v,this.messages=i||{},this.setLocale(n||"en"),o&&this.watchLocale(o)}return(0,s.default)(e,[{key:"setLocale",value:function(e){var t=this,n=this.locale;this.locale=_(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],n!==this.locale&&this.watchers.forEach((function(e){e(t.locale,n)}))}},{key:"getLocale",value:function(){return this.locale}},{key:"watchLocale",value:function(e){var t=this,n=this.watchers.push(e)-1;return function(){t.watchers.splice(n,1)}}},{key:"add",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=this.messages[e];r?n?Object.assign(r,t):Object.keys(t).forEach((function(e){m(r,e)||(r[e]=t[e])})):this.messages[e]=t}},{key:"f",value:function(e,t,n){return this.formater.interpolate(e,t,n).join("")}},{key:"t",value:function(e,t,n){var r=this.message;return"string"===typeof t?(t=_(t,this.messages),t&&(r=this.messages[t])):n=t,m(r,e)?this.formater.interpolate(r[e],n).join(""):(console.warn("Cannot translate the value of keypath ".concat(e,". Use the value of keypath as default.")),e)}}]),e}();function x(e,t){e.$watchLocale?e.$watchLocale((function(e){t.setLocale(e)})):e.$watch((function(){return e.$locale}),(function(e){t.setLocale(e)}))}function w(){return"undefined"!==typeof e&&e.getLocale?e.getLocale():"undefined"!==typeof r&&r.getLocale?r.getLocale():"en"}t.I18n=b;var S,A=function(e){return"string"===typeof e};function C(e,t){return e.indexOf(t[0])>-1}function k(e,t,n){return S.interpolate(e,t,n).join("")}function T(e,t,n){return I(e,(function(e,r){(function(e,t,n,r){var i=e[t];if(A(i)){if(C(i,r)&&(e[t]=k(i,n[0].values,r),n.length>1)){var o=e[t+"Locales"]={};n.forEach((function(e){o[e.locale]=k(i,e.values,r)}))}}else T(i,n,r)})(e,r,t,n)})),e}function I(e,t){if(Array.isArray(e)){for(var n=0;n<e.length;n++)if(t(e,n))return!0}else if(l(e))for(var r in e)if(t(e,r))return!0;return!1}t.isString=A}).call(this,n("df3c")["default"],n("0ee4"))},d3ef:function(e,t,n){"use strict";(function(t){var r=n("c748");e.exports=function(e){t.$u.http.setConfig((function(e){return e.baseURL=r.pro_http,e})),t.$u.http.interceptors.request.use((function(n){var r;return t.showLoading({title:"玩命加载中..."}),n.data=n.data||{},null!==n&&void 0!==n&&null!==(r=n.custom)&&void 0!==r&&r.auth&&(n.header.Authorization="Bearer "+e.$store.state.user.token),n}),(function(e){return Promise.reject(e)}));var n=!1;t.$u.http.interceptors.response.use((function(e){var r,i=e.data;t.hideLoading();var o=null===(r=e.config)||void 0===r?void 0:r.custom;return 200!==i.code?401===i.code?(n||(n=!0,t.showModal({title:"温馨提示",content:"此时此刻需要您登录喔~",confirmText:"去登录",cancelText:"再逛会",success:function(e){e.confirm&&t.navigateTo({url:"/pages/login/index"}),n=!1}})),Promise.reject({statusCode:0,errMsg:i.msg,result:i})):(!1!==o.toast&&t.$u.toast(i.msg),null!==o&&void 0!==o&&o.catch?Promise.reject(i):new Promise((function(){}))):void 0===i.data?i:i.data}),(function(e){return Promise.reject(e)}))}}).call(this,n("df3c")["default"])},d3fb:function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("7eb4")),o=r(n("7ca3")),a=r(n("ee10")),s=n("c748");function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,o.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var c={data:function(){return{mainCoverList:[],detailList:[]}},onReady:function(){this.$refs.uForm.setRules(this.rules)},methods:{deletePic:function(e){"mainCover"===e.name?this.mainCoverList.splice(e.index,1):this.detailList.splice(e.index,1)},afterRead:function(e){var t=this;return(0,a.default)(i.default.mark((function n(){var r,o,a,s,u,c;return i.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:r=[].concat(e.file),o="mainCover"===e.name?t.mainCoverList:t.detailList,a=o.length,r.map((function(e){o.push(l(l({},e),{},{status:"uploading",message:"上传中"}))})),s=0;case 5:if(!(s<r.length)){n.next=15;break}return n.next=8,t.uploadFilePromise(r[s].url);case 8:u=n.sent,c=o[a],o.splice(a,1,Object.assign(c,{status:"success",message:"",url:u.fileName,fileName:u.fileName})),a++;case 12:s++,n.next=5;break;case 15:case"end":return n.stop()}}),n)})))()},uploadFilePromise:function(t){return new Promise((function(n,r){e.uploadFile({url:s.pro_http+"/common/upload",filePath:t,name:"file",formData:{user:"test"},success:function(e){setTimeout((function(){var t=JSON.parse(e.data);n(t)}),1e3)}})}))},getMapLocation:function(){var t=this;e.chooseLocation({success:function(e){t.form.address=e.address,t.form.latitude=e.latitude,t.form.longitude=e.longitude}})}}};t.default=c}).call(this,n("df3c")["default"])},d42e:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={numberBox:{name:"",value:0,min:1,max:Number.MAX_SAFE_INTEGER,step:1,integer:!1,disabled:!1,disabledInput:!1,asyncChange:!1,inputWidth:35,showMinus:!0,showPlus:!0,decimalLength:null,longPress:!0,color:"#323233",buttonSize:30,bgColor:"#EBECEE",cursorSpacing:100,disableMinus:!1,disablePlus:!1,iconStyle:""}};t.default=r},d447:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={rowNotice:{text:"",icon:"volume",mode:"",color:"#f9ae3d",bgColor:"#fdf6ec",fontSize:14,speed:80}}},d551:function(e,t,n){var r=n("3b2d")["default"],i=n("e6db");e.exports=function(e){var t=i(e,"string");return"symbol"==r(t)?t:t+""},e.exports.__esModule=!0,e.exports["default"]=e.exports},d5e5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={scrollList:{indicatorWidth:50,indicatorBarWidth:20,indicator:!0,indicatorColor:"#f2f2f2",indicatorActiveColor:"#3c9cff",indicatorStyle:""}}},d658:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{name:{type:String,default:e.$u.props.icon.name},color:{type:String,default:e.$u.props.icon.color},size:{type:[String,Number],default:e.$u.props.icon.size},bold:{type:Boolean,default:e.$u.props.icon.bold},index:{type:[String,Number],default:e.$u.props.icon.index},hoverClass:{type:String,default:e.$u.props.icon.hoverClass},customPrefix:{type:String,default:e.$u.props.icon.customPrefix},label:{type:[String,Number],default:e.$u.props.icon.label},labelPos:{type:String,default:e.$u.props.icon.labelPos},labelSize:{type:[String,Number],default:e.$u.props.icon.labelSize},labelColor:{type:String,default:e.$u.props.icon.labelColor},space:{type:[String,Number],default:e.$u.props.icon.space},imgMode:{type:String,default:e.$u.props.icon.imgMode},width:{type:[String,Number],default:e.$u.props.icon.width},height:{type:[String,Number],default:e.$u.props.icon.height},top:{type:[String,Number],default:e.$u.props.icon.top},stop:{type:Boolean,default:e.$u.props.icon.stop}}};t.default=n}).call(this,n("df3c")["default"])},d69a:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={tag:{type:"primary",disabled:!1,size:"medium",shape:"square",text:"",bgColor:"",color:"",borderColor:"",closeColor:"#C6C7CB",name:"",plainFill:!1,plain:!1,closable:!1,show:!0,icon:""}}},d91b:function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("7ca3")),o=r(n("7ac6")),a=r(n("caf6")),s=r(n("fdea")),u=r(n("fa8d")),l=r(n("2df7")),c=r(n("bc90")),d=r(n("5ebc")),p=r(n("2cb1")),f=r(n("f42e")),h=r(n("ecf9")),g=r(n("2892")),y=r(n("cda9")),m=r(n("00aa")),v=r(n("89c6"));function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var x=b(b({route:u.default,date:f.default.timeFormat,colorGradient:l.default.colorGradient,hexToRgb:l.default.hexToRgb,rgbToHex:l.default.rgbToHex,colorToRgba:l.default.colorToRgba,test:c.default,type:["primary","success","error","warning","info"],http:new s.default,config:h.default,zIndex:y.default,debounce:d.default,throttle:p.default,mixin:o.default,mpMixin:a.default,props:g.default},f.default),{},{color:m.default,platform:v.default});e.$u=x;var w={install:function(t){t.filter("timeFormat",(function(t,n){return e.$u.timeFormat(t,n)})),t.filter("date",(function(t,n){return e.$u.timeFormat(t,n)})),t.filter("timeFrom",(function(t,n){return e.$u.timeFrom(t,n)})),t.prototype.$u=x,t.mixin(o.default)}};t.default=w}).call(this,n("df3c")["default"])},da11:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={textarea:{value:"",placeholder:"",placeholderClass:"textarea-placeholder",placeholderStyle:"color: #c0c4cc",height:70,confirmType:"done",disabled:!1,count:!1,focus:!1,autoHeight:!1,fixed:!1,cursorSpacing:0,cursor:"",showConfirmBar:!0,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,disableDefaultPadding:!1,holdKeyboard:!1,maxlength:140,border:"surround",formatter:null}}},db49:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAABfVJREFUWEfNmGtsFFUUx/9nZhf62AJt+hAE0tKCpERR+WChbVL6oGD0I21R8RHFKI9+gKCJiYl+MiqoKVUSA0EjAaNfiYBgFk1taUq3ttsHj5ZWwLZQun3Ydh+zM8fc2S70sTsza/zgzX7Y7J577m/uOfec+x9CjKPYzdkSK9uYkE9ALkDLibDE0+lnZh4H0W1idIC5DrCfb66K64llCbJk7HTaitMKt0saV5OEvEhzPJ3+eT8zID6XwfSVq6vpe3ywOWi2ninQ5j+UctnGnxEo18hZJKBZ9szXg0z7WqscPxv5iQpU5OyNk1MfrZWIXjd7KvG/KdC0E4352BCNVt+pWOGN5DciUKGL0xbYg2clwgYrMLEACVtmuJgSt7ZU0NBc//OABEycXakHUY5VmFiBdChwN8OxaS7ULKCN9bfjE5My6ojo6VhgcuOB8T4FbcNaLNPETjV7poYK+l7L8oUnzgIqcQeOWc2ZsIM8B/D+ShmsAe80+FE3oMYEBeB4c4XjjXlAZW5lCwjnY/G2IRH4cKWMBVLoufwqY3+dD433Yt6pra5Kh7627qnI6bTZ0vI7CLTGKlB2HPB5loy4aZjwvEmF8eYlH66NWodioNPV2bRe1CkdqMQdfEki/s4qTIoNqFklI90euWoMTGl4+aIPI3626hIa44WWSsdp3WOpW6knwkYrsyUAH2dKWJ8ovkUfzfdUvP2bTyxkaTDzZVdl0kbSexMFb9B0+Mxmv5JOeDFNNjPT/z/aEcDxTsWSrW6k2XKopD2wWwJ9aWXW6rhQqGQy7Ti6u74pRvWvPvRPWMsnZt5Lpe2BUwTaYQYkEI6skrEmPgQTZMYZD6M8mRA/ndg+jXF2hPF8CsFGhH4f4BxU8UWTT3RZ88E4TaXuQCsRPWFmXbaYcHD57FDVDqhwSIRXM0L5dOKuhgmVsW9ZyO62F7jpBU62+9By17w+MdBGpW7FQ4RkM6BjOTJWLpwdKrH4Wz0qDmWGAA72qTiaLcMhh+x6poA7PmBwQsOnjRF76Zxl2UOlbYEgSWSYpY8nAIezbBGZfxnVUDfOekHLSyJsSX54+trGgZHpG1DtFS96x4xziRmaCJlKRIZneFeGhO2p8008CuN2ADj8l6rnyIFlYheBFDvpx71+BAgHyvlnAGe6TU+cKkI2TIQUo5B9kinhyQh1p3OKcWFUQ7ePdQCR8GVLJOQmEO4HgI6Jh167PSqOtjzooRGXY+YRS0n9dbaMzLj5R30wwLjqZdSPs74ThYsIa+MJjywgzAyXWH1gQsMhkzzSk7rMHTgNoiqjHarJkrE2YT5Qr4/ROMFom2SoDDzlIDzjICTLhNa/Z3vsG1Nx5IrxDkEc+5K2wB5JolojoAPLJJTPSNa5tt/f16BowM50SQdrHgO8c/K3sV/BD10B48Os8R4q6uAcmxa8YVR8ixYR3lsR/SAOKwyxfqqN0DUJDEVY99s2H9qGotciIU9Is60ON9cGosjyRjySaOrfrJaRFqW7Cxtm4NokcDcCzIhXw0cNXn33og0GN7gqkjbpQMXtwR0y+JTRfpYsJrw7p1KH7b0qcHUSGI+iuk60+tB+37hSM2Onq9JxMpSpTqetLDXfDaK1RlDVSyU8lxKqR2JHJlRgwA8M+nVFGHFc7A3g7E2T+sN8vbnryroHFzThqbRdKSfgnBGQoH92CSHfIcGvEYIGIVA1xk89Ci7dMi2GCGooDwvIf3XJT7cBBQ4Jj8URpDmnQYC0D6m40KfotcdsCOHYUpm0K2w3CyikVpfXWRWIotcutQOLZcJkfxCjfsatMRU+88YeDrvrHo0UzFSxEYXiQru40v4PhGJ424R6XWgPniOCZcFoVdtPH4hmpsRtlqR0GEqo2ISkjBqJ6IGIM8qHGICOD08O7Z2pVmf6Nb0cF7uVLRLxETPNZgYktBcY+8OCMNrDmQKJiUJIyqmFVQTeDUJeJIUSDUjIGwbVtHQ1/fifvLCa+yRCNhEp5aShAIR1AK0gYNFwp5+IeJRBd8QrPQb/Tmw/F+srvX8ANbCd4CZ+WFUAAAAASUVORK5CYII="},dd2c:function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("ecf9")),o=i.default.color,a={icon:{name:"",color:o["u-content-color"],size:"16px",bold:!1,index:"",hoverClass:"",customPrefix:"uicon",label:"",labelPos:"right",labelSize:"15px",labelColor:o["u-content-color"],space:"3px",imgMode:"",width:"",height:"",top:0,stop:!1}};t.default=a},dd3e:function(e,t){e.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.")},e.exports.__esModule=!0,e.exports["default"]=e.exports},dd81:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={actionSheet:{show:!1,title:"",description:"",actions:function(){return[]},index:"",cancelText:"",closeOnClickAction:!0,safeAreaInsetBottom:!0,openType:"",closeOnClickOverlay:!0,round:0}}},de96:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={tabbar:{value:null,safeAreaInsetBottom:!0,border:!0,zIndex:1,activeColor:"#1989fa",inactiveColor:"#7d7e80",fixed:!0,placeholder:!0}}},df3c:function(e,t,n){"use strict";(function(e,r){var i=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.createApp=Pt,t.createComponent=$t,t.createPage=zt,t.createPlugin=Ht,t.createSubpackageApp=Ut,t.default=void 0;var o,a=i(n("34cf")),s=i(n("7ca3")),u=i(n("931d")),l=i(n("af34")),c=i(n("3b2d")),d=n("d3b4"),p=i(n("3240"));function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,s.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",y=/^(?:[A-Za-z\d+/]{4})*?(?:[A-Za-z\d+/]{2}(?:==)?|[A-Za-z\d+/]{3}=?)?$/;function m(){var t,n=e.getStorageSync("uni_id_token")||"",r=n.split(".");if(!n||3!==r.length)return{uid:null,role:[],permission:[],tokenExpired:0};try{t=JSON.parse(function(e){return decodeURIComponent(o(e).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))}(r[1]))}catch(i){throw new Error("获取当前用户信息出错,详细错误信息为:"+i.message)}return t.tokenExpired=1e3*t.exp,delete t.exp,delete t.iat,t}o="function"!==typeof atob?function(e){if(e=String(e).replace(/[\t\n\f\r ]+/g,""),!y.test(e))throw new Error("Failed to execute 'atob' on 'Window': The string to be decoded is not correctly encoded.");var t;e+="==".slice(2-(3&e.length));for(var n,r,i="",o=0;o<e.length;)t=g.indexOf(e.charAt(o++))<<18|g.indexOf(e.charAt(o++))<<12|(n=g.indexOf(e.charAt(o++)))<<6|(r=g.indexOf(e.charAt(o++))),i+=64===n?String.fromCharCode(t>>16&255):64===r?String.fromCharCode(t>>16&255,t>>8&255):String.fromCharCode(t>>16&255,t>>8&255,255&t);return i}:atob;var v=Object.prototype.toString,_=Object.prototype.hasOwnProperty;function b(e){return"function"===typeof e}function x(e){return"string"===typeof e}function w(e){return"[object Object]"===v.call(e)}function S(e,t){return _.call(e,t)}function A(){}function C(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var k=/-(\w)/g,T=C((function(e){return e.replace(k,(function(e,t){return t?t.toUpperCase():""}))}));function I(e){var t={};return w(e)&&Object.keys(e).sort().forEach((function(n){t[n]=e[n]})),Object.keys(t)?t:e}var M=["invoke","success","fail","complete","returnValue"],O={},P={};function D(e,t){Object.keys(t).forEach((function(n){-1!==M.indexOf(n)&&b(t[n])&&(e[n]=function(e,t){var n=t?e?e.concat(t):Array.isArray(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}(e[n],t[n]))}))}function E(e,t){e&&t&&Object.keys(t).forEach((function(n){-1!==M.indexOf(n)&&b(t[n])&&function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}(e[n],t[n])}))}function B(e,t){return function(n){return e(n,t)||n}}function L(e){return!!e&&("object"===(0,c.default)(e)||"function"===typeof e)&&"function"===typeof e.then}function N(e,t,n){for(var r=!1,i=0;i<e.length;i++){var o=e[i];if(r)r=Promise.resolve(B(o,n));else{var a=o(t,n);if(L(a)&&(r=Promise.resolve(a)),!1===a)return{then:function(){}}}}return r||{then:function(e){return e(t)}}}function R(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return["success","fail","complete"].forEach((function(n){if(Array.isArray(e[n])){var r=t[n];t[n]=function(i){N(e[n],i,t).then((function(e){return b(r)&&r(e)||e}))}}})),t}function j(e,t){var n=[];Array.isArray(O.returnValue)&&n.push.apply(n,(0,l.default)(O.returnValue));var r=P[e];return r&&Array.isArray(r.returnValue)&&n.push.apply(n,(0,l.default)(r.returnValue)),n.forEach((function(e){t=e(t)||t})),t}function F(e){var t=Object.create(null);Object.keys(O).forEach((function(e){"returnValue"!==e&&(t[e]=O[e].slice())}));var n=P[e];return n&&Object.keys(n).forEach((function(e){"returnValue"!==e&&(t[e]=(t[e]||[]).concat(n[e]))})),t}function z(e,t,n){for(var r=arguments.length,i=new Array(r>3?r-3:0),o=3;o<r;o++)i[o-3]=arguments[o];var a=F(e);if(a&&Object.keys(a).length){if(Array.isArray(a.invoke)){var s=N(a.invoke,n);return s.then((function(n){return t.apply(void 0,[R(F(e),n)].concat(i))}))}return t.apply(void 0,[R(a,n)].concat(i))}return t.apply(void 0,[n].concat(i))}var $={returnValue:function(e){return L(e)?new Promise((function(t,n){e.then((function(e){e[0]?n(e[0]):t(e[1])}))})):e}},U=/^\$|Window$|WindowStyle$|sendHostEvent|sendNativeEvent|restoreGlobal|requireGlobal|getCurrentSubNVue|getMenuButtonBoundingClientRect|^report|interceptors|Interceptor$|getSubNVueById|requireNativePlugin|upx2px|hideKeyboard|canIUse|^create|Sync$|Manager$|base64ToArrayBuffer|arrayBufferToBase64|getLocale|setLocale|invokePushCallback|getWindowInfo|getDeviceInfo|getAppBaseInfo|getSystemSetting|getAppAuthorizeSetting|initUTS|requireUTS|registerUTS/,H=/^create|Manager$/,V=["createBLEConnection"],G=["createBLEConnection","createPushMessage"],W=/^on|^off/;function q(e){return H.test(e)&&-1===V.indexOf(e)}function Q(e){return U.test(e)&&-1===G.indexOf(e)}function Y(e){return e.then((function(e){return[null,e]})).catch((function(e){return[e]}))}function X(e){return!(q(e)||Q(e)||function(e){return W.test(e)&&"onPush"!==e}(e))}function K(e,t){return X(e)&&b(t)?function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return b(n.success)||b(n.fail)||b(n.complete)?j(e,z.apply(void 0,[e,t,n].concat(i))):j(e,Y(new Promise((function(r,o){z.apply(void 0,[e,t,Object.assign({},n,{success:r,fail:o})].concat(i))}))))}:t}Promise.prototype.finally||(Promise.prototype.finally=function(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){throw n}))}))});var J=!1,Z=0,ee=0;var te,ne={};te=oe(e.getSystemInfoSync().language)||"en",function(){if(function(){return"undefined"!==typeof __uniConfig&&__uniConfig.locales&&!!Object.keys(__uniConfig.locales).length}()){var e=Object.keys(__uniConfig.locales);e.length&&e.forEach((function(e){var t=ne[e],n=__uniConfig.locales[e];t?Object.assign(t,n):ne[e]=n}))}}();var re=(0,d.initVueI18n)(te,{}),ie=re.t;re.mixin={beforeCreate:function(){var e=this,t=re.i18n.watchLocale((function(){e.$forceUpdate()}));this.$once("hook:beforeDestroy",(function(){t()}))},methods:{$$t:function(e,t){return ie(e,t)}}},re.setLocale,re.getLocale;function oe(e,t){if(e){if(e=e.trim().replace(/_/g,"-"),t&&t[e])return e;if(e=e.toLowerCase(),"chinese"===e)return"zh-Hans";if(0===e.indexOf("zh"))return e.indexOf("-hans")>-1?"zh-Hans":e.indexOf("-hant")>-1||function(e,t){return!!t.find((function(t){return-1!==e.indexOf(t)}))}(e,["-tw","-hk","-mo","-cht"])?"zh-Hant":"zh-Hans";var n=function(e,t){return t.find((function(t){return 0===e.indexOf(t)}))}(e,["en","fr","es"]);return n||void 0}}function ae(){if(b(getApp)){var t=getApp({allowDefault:!0});if(t&&t.$vm)return t.$vm.$locale}return oe(e.getSystemInfoSync().language)||"en"}var se=[];"undefined"!==typeof r&&(r.getLocale=ae);var ue={promiseInterceptor:$},le=Object.freeze({__proto__:null,upx2px:function(t,n){if(0===Z&&function(){var t=e.getSystemInfoSync(),n=t.platform,r=t.pixelRatio,i=t.windowWidth;Z=i,ee=r,J="ios"===n}(),t=Number(t),0===t)return 0;var r=t/750*(n||Z);return r<0&&(r=-r),r=Math.floor(r+1e-4),0===r&&(r=1!==ee&&J?.5:1),t<0?-r:r},getLocale:ae,setLocale:function(e){var t=!!b(getApp)&&getApp();if(!t)return!1;var n=t.$vm.$locale;return n!==e&&(t.$vm.$locale=e,se.forEach((function(t){return t({locale:e})})),!0)},onLocaleChange:function(e){-1===se.indexOf(e)&&se.push(e)},addInterceptor:function(e,t){"string"===typeof e&&w(t)?D(P[e]||(P[e]={}),t):w(e)&&D(O,e)},removeInterceptor:function(e,t){"string"===typeof e?w(t)?E(P[e],t):delete P[e]:w(e)&&E(O,e)},interceptors:ue});var ce,de={name:function(e){return"back"===e.exists&&e.delta?"navigateBack":"redirectTo"},args:function(e){if("back"===e.exists&&e.url){var t=function(e){var t=getCurrentPages(),n=t.length;while(n--){var r=t[n];if(r.$page&&r.$page.fullPath===e)return n}return-1}(e.url);if(-1!==t){var n=getCurrentPages().length-1-t;n>0&&(e.delta=n)}}}},pe={args:function(e){var t=parseInt(e.current);if(!isNaN(t)){var n=e.urls;if(Array.isArray(n)){var r=n.length;if(r)return t<0?t=0:t>=r&&(t=r-1),t>0?(e.current=n[t],e.urls=n.filter((function(e,r){return!(r<t)||e!==n[t]}))):e.current=n[0],{indicator:!1,loop:!1}}}}};function fe(t){ce=ce||e.getStorageSync("__DC_STAT_UUID"),ce||(ce=Date.now()+""+Math.floor(1e7*Math.random()),e.setStorage({key:"__DC_STAT_UUID",data:ce})),t.deviceId=ce}function he(e){if(e.safeArea){var t=e.safeArea;e.safeAreaInsets={top:t.top,left:t.left,right:e.windowWidth-t.right,bottom:e.screenHeight-t.bottom}}}function ge(e,t){for(var n=e.deviceType||"phone",r={ipad:"pad",windows:"pc",mac:"pc"},i=Object.keys(r),o=t.toLocaleLowerCase(),a=0;a<i.length;a++){var s=i[a];if(-1!==o.indexOf(s)){n=r[s];break}}return n}function ye(e){var t=e;return t&&(t=e.toLocaleLowerCase()),t}function me(e){return ae?ae():e}function ve(e){var t=e.hostName||"WeChat";return e.environment?t=e.environment:e.host&&e.host.env&&(t=e.host.env),t}var _e={returnValue:function(e){fe(e),he(e),function(e){var t,n=e.brand,r=void 0===n?"":n,i=e.model,o=void 0===i?"":i,a=e.system,s=void 0===a?"":a,u=e.language,l=void 0===u?"":u,c=e.theme,d=e.version,p=(e.platform,e.fontSizeSetting),f=e.SDKVersion,h=e.pixelRatio,g=e.deviceOrientation,y="";y=s.split(" ")[0]||"",t=s.split(" ")[1]||"";var m=d,v=ge(e,o),_=ye(r),b=ve(e),x=g,w=h,S=f,A=l.replace(/_/g,"-"),C={appId:"__UNI__EFBA169",appName:"运动中国",appVersion:"1.0.0",appVersionCode:"100",appLanguage:me(A),uniCompileVersion:"4.15",uniRuntimeVersion:"4.15",uniPlatform:"mp-weixin",deviceBrand:_,deviceModel:o,deviceType:v,devicePixelRatio:w,deviceOrientation:x,osName:y.toLocaleLowerCase(),osVersion:t,hostTheme:c,hostVersion:m,hostLanguage:A,hostName:b,hostSDKVersion:S,hostFontSizeSetting:p,windowTop:0,windowBottom:0,osLanguage:void 0,osTheme:void 0,ua:void 0,hostPackageName:void 0,browserName:void 0,browserVersion:void 0};Object.assign(e,C,{})}(e)}},be={args:function(e){"object"===(0,c.default)(e)&&(e.alertText=e.title)}},xe={returnValue:function(e){var t=e,n=t.version,r=t.language,i=t.SDKVersion,o=t.theme,a=ve(e),s=r.replace("_","-");e=I(Object.assign(e,{appId:"__UNI__EFBA169",appName:"运动中国",appVersion:"1.0.0",appVersionCode:"100",appLanguage:me(s),hostVersion:n,hostLanguage:s,hostName:a,hostSDKVersion:i,hostTheme:o}))}},we={returnValue:function(e){var t=e,n=t.brand,r=t.model,i=ge(e,r),o=ye(n);fe(e),e=I(Object.assign(e,{deviceType:i,deviceBrand:o,deviceModel:r}))}},Se={returnValue:function(e){he(e),e=I(Object.assign(e,{windowTop:0,windowBottom:0}))}},Ae={redirectTo:de,previewImage:pe,getSystemInfo:_e,getSystemInfoSync:_e,showActionSheet:be,getAppBaseInfo:xe,getDeviceInfo:we,getWindowInfo:Se,getAppAuthorizeSetting:{returnValue:function(e){var t=e.locationReducedAccuracy;e.locationAccuracy="unsupported",!0===t?e.locationAccuracy="reduced":!1===t&&(e.locationAccuracy="full")}},compressImage:{args:function(e){e.compressedHeight&&!e.compressHeight&&(e.compressHeight=e.compressedHeight),e.compressedWidth&&!e.compressWidth&&(e.compressWidth=e.compressedWidth)}}},Ce=["success","fail","cancel","complete"];function ke(e,t,n){return function(r){return t(Ie(e,r,n))}}function Te(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(w(t)){var o=!0===i?t:{};for(var a in b(n)&&(n=n(t,o)||{}),t)if(S(n,a)){var s=n[a];b(s)&&(s=s(t[a],t,o)),s?x(s)?o[s]=t[a]:w(s)&&(o[s.name?s.name:a]=s.value):console.warn("The '".concat(e,"' method of platform '微信小程序' does not support option '").concat(a,"'"))}else-1!==Ce.indexOf(a)?b(t[a])&&(o[a]=ke(e,t[a],r)):i||(o[a]=t[a]);return o}return b(t)&&(t=ke(e,t,r)),t}function Ie(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return b(Ae.returnValue)&&(t=Ae.returnValue(e,t)),Te(e,t,n,{},r)}function Me(t,n){if(S(Ae,t)){var r=Ae[t];return r?function(n,i){var o=r;b(r)&&(o=r(n)),n=Te(t,n,o.args,o.returnValue);var a=[n];"undefined"!==typeof i&&a.push(i),b(o.name)?t=o.name(n):x(o.name)&&(t=o.name);var s=e[t].apply(e,a);return Q(t)?Ie(t,s,o.returnValue,q(t)):s}:function(){console.error("Platform '微信小程序' does not support '".concat(t,"'."))}}return n}var Oe=Object.create(null);["onTabBarMidButtonTap","subscribePush","unsubscribePush","onPush","offPush","share"].forEach((function(e){Oe[e]=function(e){return function(t){var n=t.fail,r=t.complete,i={errMsg:"".concat(e,":fail method '").concat(e,"' not supported")};b(n)&&n(i),b(r)&&r(i)}}(e)}));var Pe={oauth:["weixin"],share:["weixin"],payment:["wxpay"],push:["weixin"]};var De=Object.freeze({__proto__:null,getProvider:function(e){var t=e.service,n=e.success,r=e.fail,i=e.complete,o=!1;Pe[t]?(o={errMsg:"getProvider:ok",service:t,provider:Pe[t]},b(n)&&n(o)):(o={errMsg:"getProvider:fail service not found"},b(r)&&r(o)),b(i)&&i(o)}}),Ee=function(){var e;return function(){return e||(e=new p.default),e}}();function Be(e,t,n){return e[t].apply(e,n)}var Le,Ne,Re,je=Object.freeze({__proto__:null,$on:function(){return Be(Ee(),"$on",Array.prototype.slice.call(arguments))},$off:function(){return Be(Ee(),"$off",Array.prototype.slice.call(arguments))},$once:function(){return Be(Ee(),"$once",Array.prototype.slice.call(arguments))},$emit:function(){return Be(Ee(),"$emit",Array.prototype.slice.call(arguments))}});function Fe(e){return function(){try{return e.apply(e,arguments)}catch(t){console.error(t)}}}function ze(e){try{return JSON.parse(e)}catch(t){}return e}var $e=[];function Ue(e,t){$e.forEach((function(n){n(e,t)})),$e.length=0}var He=[],Ve=e.getAppBaseInfo&&e.getAppBaseInfo();Ve||(Ve=e.getSystemInfoSync());var Ge=Ve?Ve.host:null,We=Ge&&"SAAASDK"===Ge.env?e.miniapp.shareVideoMessage:e.shareVideoMessage,qe=Object.freeze({__proto__:null,shareVideoMessage:We,getPushClientId:function(e){w(e)||(e={});var t=function(e){var t={};for(var n in e){var r=e[n];b(r)&&(t[n]=Fe(r),delete e[n])}return t}(e),n=t.success,r=t.fail,i=t.complete,o=b(n),a=b(r),s=b(i);Promise.resolve().then((function(){"undefined"===typeof Re&&(Re=!1,Le="",Ne="uniPush is not enabled"),$e.push((function(e,t){var u;e?(u={errMsg:"getPushClientId:ok",cid:e},o&&n(u)):(u={errMsg:"getPushClientId:fail"+(t?" "+t:"")},a&&r(u)),s&&i(u)})),"undefined"!==typeof Le&&Ue(Le,Ne)}))},onPushMessage:function(e){-1===He.indexOf(e)&&He.push(e)},offPushMessage:function(e){if(e){var t=He.indexOf(e);t>-1&&He.splice(t,1)}else He.length=0},invokePushCallback:function(e){if("enabled"===e.type)Re=!0;else if("clientId"===e.type)Le=e.cid,Ne=e.errMsg,Ue(Le,e.errMsg);else if("pushMsg"===e.type)for(var t={type:"receive",data:ze(e.message)},n=0;n<He.length;n++){var r=He[n];if(r(t),t.stopped)break}else"click"===e.type&&He.forEach((function(t){t({type:"click",data:ze(e.message)})}))}}),Qe=["__route__","__wxExparserNodeId__","__wxWebviewId__"];function Ye(e){return Behavior(e)}function Xe(){return!!this.route}function Ke(e){this.triggerEvent("__l",e)}function Je(e){var t=e.$scope,n={};Object.defineProperty(e,"$refs",{get:function(){var e={};(function e(t,n,r){var i=t.selectAllComponents(n)||[];i.forEach((function(t){var i=t.dataset.ref;r[i]=t.$vm||tt(t),"scoped"===t.dataset.vueGeneric&&t.selectAllComponents(".scoped-ref").forEach((function(t){e(t,n,r)}))}))})(t,".vue-ref",e);var r=t.selectAllComponents(".vue-ref-in-for")||[];return r.forEach((function(t){var n=t.dataset.ref;e[n]||(e[n]=[]),e[n].push(t.$vm||tt(t))})),function(e,t){var n=(0,u.default)(Set,(0,l.default)(Object.keys(e))),r=Object.keys(t);return r.forEach((function(r){var i=e[r],o=t[r];Array.isArray(i)&&Array.isArray(o)&&i.length===o.length&&o.every((function(e){return i.includes(e)}))||(e[r]=o,n.delete(r))})),n.forEach((function(t){delete e[t]})),e}(n,e)}})}function Ze(e){var t,n=e.detail||e.value,r=n.vuePid,i=n.vueOptions;r&&(t=function e(t,n){for(var r,i=t.$children,o=i.length-1;o>=0;o--){var a=i[o];if(a.$scope._$vueId===n)return a}for(var s=i.length-1;s>=0;s--)if(r=e(i[s],n),r)return r}(this.$vm,r)),t||(t=this.$vm),i.parent=t}function et(e){return Object.defineProperty(e,"__v_isMPComponent",{configurable:!0,enumerable:!1,value:!0}),e}function tt(e){return function(e){return null!==e&&"object"===(0,c.default)(e)}(e)&&Object.isExtensible(e)&&Object.defineProperty(e,"__ob__",{configurable:!0,enumerable:!1,value:(0,s.default)({},"__v_skip",!0)}),e}var nt=/_(.*)_worklet_factory_/;var rt=Page,it=Component,ot=/:/g,at=C((function(e){return T(e.replace(ot,"-"))}));function st(e){var t=e.triggerEvent,n=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];if(this.$vm||this.dataset&&this.dataset.comType)e=at(e);else{var o=at(e);o!==e&&t.apply(this,[o].concat(r))}return t.apply(this,[e].concat(r))};try{e.triggerEvent=n}catch(r){e._triggerEvent=n}}function ut(e,t,n){var r=t[e];t[e]=function(){if(et(this),st(this),r){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.apply(this,t)}}}rt.__$wrappered||(rt.__$wrappered=!0,Page=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ut("onLoad",e),rt(e)},Page.after=rt.after,Component=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ut("created",e),it(e)});function lt(e,t,n){t.forEach((function(t){(function e(t,n){if(!n)return!0;if(p.default.options&&Array.isArray(p.default.options[t]))return!0;if(n=n.default||n,b(n))return!!b(n.extendOptions[t])||!!(n.super&&n.super.options&&Array.isArray(n.super.options[t]));if(b(n[t])||Array.isArray(n[t]))return!0;var r=n.mixins;return Array.isArray(r)?!!r.find((function(n){return e(t,n)})):void 0})(t,n)&&(e[t]=function(e){return this.$vm&&this.$vm.__call_hook(t,e)})}))}function ct(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];dt(t).forEach((function(t){return pt(e,t,n)}))}function dt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e&&Object.keys(e).forEach((function(n){0===n.indexOf("on")&&b(e[n])&&t.push(n)})),t}function pt(e,t,n){-1!==n.indexOf(t)||S(e,t)||(e[t]=function(e){return this.$vm&&this.$vm.__call_hook(t,e)})}function ft(e,t){var n;return t=t.default||t,n=b(t)?t:e.extend(t),t=n.options,[n,t]}function ht(e,t){if(Array.isArray(t)&&t.length){var n=Object.create(null);t.forEach((function(e){n[e]=!0})),e.$scopedSlots=e.$slots=n}}function gt(e,t){e=(e||"").split(",");var n=e.length;1===n?t._$vueId=e[0]:2===n&&(t._$vueId=e[0],t._$vuePid=e[1])}function yt(e,t){var n=e.data||{},r=e.methods||{};if("function"===typeof n)try{n=n.call(t)}catch(i){Object({NODE_ENV:"production",VUE_APP_DARK_MODE:"false",VUE_APP_NAME:"运动中国",VUE_APP_PLATFORM:"mp-weixin",BASE_URL:"/"}).VUE_APP_DEBUG&&console.warn("根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。",n)}else try{n=JSON.parse(JSON.stringify(n))}catch(i){}return w(n)||(n={}),Object.keys(r).forEach((function(e){-1!==t.__lifecycle_hooks__.indexOf(e)||S(n,e)||(n[e]=r[e])})),n}var mt=[String,Number,Boolean,Object,Array,null];function vt(e){return function(t,n){this.$vm&&(this.$vm[e]=t)}}function _t(e,t){var n=e.behaviors,r=e.extends,i=e.mixins,o=e.props;o||(e.props=o=[]);var a=[];return Array.isArray(n)&&n.forEach((function(e){a.push(e.replace("uni://","wx".concat("://"))),"uni://form-field"===e&&(Array.isArray(o)?(o.push("name"),o.push("value")):(o.name={type:String,default:""},o.value={type:[String,Number,Boolean,Array,Object,Date],default:""}))})),w(r)&&r.props&&a.push(t({properties:xt(r.props,!0)})),Array.isArray(i)&&i.forEach((function(e){w(e)&&e.props&&a.push(t({properties:xt(e.props,!0)}))})),a}function bt(e,t,n,r){return Array.isArray(t)&&1===t.length?t[0]:t}function xt(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>3?arguments[3]:void 0,r={};return t||(r.vueId={type:String,value:""},n.virtualHost&&(r.virtualHostStyle={type:null,value:""},r.virtualHostClass={type:null,value:""}),r.scopedSlotsCompiler={type:String,value:""},r.vueSlots={type:null,value:[],observer:function(e,t){var n=Object.create(null);e.forEach((function(e){n[e]=!0})),this.setData({$slots:n})}}),Array.isArray(e)?e.forEach((function(e){r[e]={type:null,observer:vt(e)}})):w(e)&&Object.keys(e).forEach((function(t){var n=e[t];if(w(n)){var i=n.default;b(i)&&(i=i()),n.type=bt(0,n.type),r[t]={type:-1!==mt.indexOf(n.type)?n.type:null,value:i,observer:vt(t)}}else{var o=bt(0,n);r[t]={type:-1!==mt.indexOf(o)?o:null,observer:vt(t)}}})),r}function wt(e,t,n,r){var i={};return Array.isArray(t)&&t.length&&t.forEach((function(t,o){"string"===typeof t?t?"$event"===t?i["$"+o]=n:"arguments"===t?i["$"+o]=n.detail&&n.detail.__args__||r:0===t.indexOf("$event.")?i["$"+o]=e.__get_value(t.replace("$event.",""),n):i["$"+o]=e.__get_value(t):i["$"+o]=e:i["$"+o]=function(e,t){var n=e;return t.forEach((function(t){var r=t[0],i=t[2];if(r||"undefined"!==typeof i){var o,a=t[1],s=t[3];Number.isInteger(r)?o=r:r?"string"===typeof r&&r&&(o=0===r.indexOf("#s#")?r.substr(3):e.__get_value(r,n)):o=n,Number.isInteger(o)?n=i:a?Array.isArray(o)?n=o.find((function(t){return e.__get_value(a,t)===i})):w(o)?n=Object.keys(o).find((function(t){return e.__get_value(a,o[t])===i})):console.error("v-for 暂不支持循环数据:",o):n=o[i],s&&(n=e.__get_value(s,n))}})),n}(e,t)})),i}function St(e){for(var t={},n=1;n<e.length;n++){var r=e[n];t[r[0]]=r[1]}return t}function At(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0,o=arguments.length>5?arguments[5]:void 0,a=!1,s=w(t.detail)&&t.detail.__args__||[t.detail];if(i&&(a=t.currentTarget&&t.currentTarget.dataset&&"wx"===t.currentTarget.dataset.comType,!n.length))return a?[t]:s;var u=wt(e,r,t,s),l=[];return n.forEach((function(e){"$event"===e?"__set_model"!==o||i?i&&!a?l.push(s[0]):l.push(t):l.push(t.target.value):Array.isArray(e)&&"o"===e[0]?l.push(St(e)):"string"===typeof e&&S(u,e)?l.push(u[e]):l.push(e)})),l}function Ct(e){var t=this;e=function(e){try{e.mp=JSON.parse(JSON.stringify(e))}catch(t){}return e.stopPropagation=A,e.preventDefault=A,e.target=e.target||{},S(e,"detail")||(e.detail={}),S(e,"markerId")&&(e.detail="object"===(0,c.default)(e.detail)?e.detail:{},e.detail.markerId=e.markerId),w(e.detail)&&(e.target=Object.assign({},e.target,e.detail)),e}(e);var n=(e.currentTarget||e.target).dataset;if(!n)return console.warn("事件信息不存在");var r=n.eventOpts||n["event-opts"];if(!r)return console.warn("事件信息不存在");var i=e.type,o=[];return r.forEach((function(n){var r=n[0],a=n[1],s="^"===r.charAt(0);r=s?r.slice(1):r;var u="~"===r.charAt(0);r=u?r.slice(1):r,a&&function(e,t){return e===t||"regionchange"===t&&("begin"===e||"end"===e)}(i,r)&&a.forEach((function(n){var r=n[0];if(r){var i=t.$vm;if(i.$options.generic&&(i=function(e){var t=e.$parent;while(t&&t.$parent&&(t.$options.generic||t.$parent.$options.generic||t.$scope._$vuePid))t=t.$parent;return t&&t.$parent}(i)||i),"$emit"===r)return void i.$emit.apply(i,At(t.$vm,e,n[1],n[2],s,r));var a=i[r];if(!b(a)){var l="page"===t.$vm.mpType?"Page":"Component",c=t.route||t.is;throw new Error("".concat(l,' "').concat(c,'" does not have a method "').concat(r,'"'))}if(u){if(a.once)return;a.once=!0}var d=At(t.$vm,e,n[1],n[2],s,r);d=Array.isArray(d)?d:[],/=\s*\S+\.eventParams\s*\|\|\s*\S+\[['"]event-params['"]\]/.test(a.toString())&&(d=d.concat([,,,,,,,,,,e])),o.push(a.apply(i,d))}}))})),"input"===i&&1===o.length&&"undefined"!==typeof o[0]?o[0]:void 0}var kt={};var Tt=["onShow","onHide","onError","onPageNotFound","onThemeChange","onUnhandledRejection"];function It(){p.default.prototype.getOpenerEventChannel=function(){return this.$scope.getOpenerEventChannel()};var e=p.default.prototype.__call_hook;p.default.prototype.__call_hook=function(t,n){return"onLoad"===t&&n&&n.__id__&&(this.__eventChannel__=function(e){var t=kt[e];return delete kt[e],t}(n.__id__),delete n.__id__),e.call(this,t,n)}}function Mt(t,n){var r=n.mocks,i=n.initRefs;It(),function(){var e={},t={};function n(e){var t=this.$options.propsData.vueId;if(t){var n=t.split(",")[0];e(n)}}p.default.prototype.$hasSSP=function(n){var r=e[n];return r||(t[n]=this,this.$on("hook:destroyed",(function(){delete t[n]}))),r},p.default.prototype.$getSSP=function(t,n,r){var i=e[t];if(i){var o=i[n]||[];return r?o:o[0]}},p.default.prototype.$setSSP=function(t,r){var i=0;return n.call(this,(function(n){var o=e[n],a=o[t]=o[t]||[];a.push(r),i=a.length-1})),i},p.default.prototype.$initSSP=function(){n.call(this,(function(t){e[t]={}}))},p.default.prototype.$callSSP=function(){n.call(this,(function(e){t[e]&&t[e].$forceUpdate()}))},p.default.mixin({destroyed:function(){var n=this.$options.propsData,r=n&&n.vueId;r&&(delete e[r],delete t[r])}})}(),t.$options.store&&(p.default.prototype.$store=t.$options.store),function(e){e.prototype.uniIDHasRole=function(e){var t=m(),n=t.role;return n.indexOf(e)>-1},e.prototype.uniIDHasPermission=function(e){var t=m(),n=t.permission;return this.uniIDHasRole("admin")||n.indexOf(e)>-1},e.prototype.uniIDTokenValid=function(){var e=m(),t=e.tokenExpired;return t>Date.now()}}(p.default),p.default.prototype.mpHost="mp-weixin",p.default.mixin({beforeCreate:function(){if(this.$options.mpType){if(this.mpType=this.$options.mpType,this.$mp=(0,s.default)({data:{}},this.mpType,this.$options.mpInstance),this.$scope=this.$options.mpInstance,delete this.$options.mpType,delete this.$options.mpInstance,"page"===this.mpType&&"function"===typeof getApp){var e=getApp();e.$vm&&e.$vm.$i18n&&(this._i18n=e.$vm.$i18n)}"app"!==this.mpType&&(i(this),function(e,t){var n=e.$mp[e.mpType];t.forEach((function(t){S(n,t)&&(e[t]=n[t])}))}(this,r))}}});var o={onLaunch:function(n){this.$vm||(e.canIUse&&!e.canIUse("nextTick")&&console.error("当前微信基础库版本过低,请将 微信开发者工具-详情-项目设置-调试基础库版本 更换为`2.3.0`以上"),this.$vm=t,this.$vm.$mp={app:this},this.$vm.$scope=this,this.$vm.globalData=this.globalData,this.$vm._isMounted=!0,this.$vm.__call_hook("mounted",n),this.$vm.__call_hook("onLaunch",n))}};o.globalData=t.$options.globalData||{};var a=t.$options.methods;return a&&Object.keys(a).forEach((function(e){o[e]=a[e]})),function(e,t,n){var r=e.observable({locale:n||re.getLocale()}),i=[];t.$watchLocale=function(e){i.push(e)},Object.defineProperty(t,"$locale",{get:function(){return r.locale},set:function(e){r.locale=e,i.forEach((function(t){return t(e)}))}})}(p.default,t,oe(e.getSystemInfoSync().language)||"en"),lt(o,Tt),ct(o,t.$options),o}function Ot(e){return Mt(e,{mocks:Qe,initRefs:Je})}function Pt(e){return App(Ot(e)),e}var Dt=/[!'()*]/g,Et=function(e){return"%"+e.charCodeAt(0).toString(16)},Bt=/%2C/g,Lt=function(e){return encodeURIComponent(e).replace(Dt,Et).replace(Bt,",")};function Nt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Lt,n=e?Object.keys(e).map((function(n){var r=e[n];if(void 0===r)return"";if(null===r)return t(n);if(Array.isArray(r)){var i=[];return r.forEach((function(e){void 0!==e&&(null===e?i.push(t(n)):i.push(t(n)+"="+t(e)))})),i.join("&")}return t(n)+"="+t(r)})).filter((function(e){return e.length>0})).join("&"):null;return n?"?".concat(n):""}function Rt(e,t){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isPage,r=t.initRelation,i=arguments.length>2?arguments[2]:void 0,o=ft(p.default,e),s=(0,a.default)(o,2),u=s[0],l=s[1],c=h({multipleSlots:!0,addGlobalClass:!0},l.options||{});l["mp-weixin"]&&l["mp-weixin"].options&&Object.assign(c,l["mp-weixin"].options);var d={options:c,data:yt(l,p.default.prototype),behaviors:_t(l,Ye),properties:xt(l.props,!1,l.__file,c),lifetimes:{attached:function(){var e=this.properties,t={mpType:n.call(this)?"page":"component",mpInstance:this,propsData:e};gt(e.vueId,this),r.call(this,{vuePid:this._$vuePid,vueOptions:t}),this.$vm=new u(t),ht(this.$vm,e.vueSlots),this.$vm.$mount()},ready:function(){this.$vm&&(this.$vm._isMounted=!0,this.$vm.__call_hook("mounted"),this.$vm.__call_hook("onReady"))},detached:function(){this.$vm&&this.$vm.$destroy()}},pageLifetimes:{show:function(e){this.$vm&&this.$vm.__call_hook("onPageShow",e)},hide:function(){this.$vm&&this.$vm.__call_hook("onPageHide")},resize:function(e){this.$vm&&this.$vm.__call_hook("onPageResize",e)}},methods:{__l:Ze,__e:Ct}};return l.externalClasses&&(d.externalClasses=l.externalClasses),Array.isArray(l.wxsCallMethods)&&l.wxsCallMethods.forEach((function(e){d.methods[e]=function(t){return this.$vm[e](t)}})),i?[d,l,u]:n?d:[d,u]}(e,{isPage:Xe,initRelation:Ke},t)}var jt=["onShow","onHide","onUnload"];function Ft(e){var t=Rt(e,!0),n=(0,a.default)(t,2),r=n[0],i=n[1];return lt(r.methods,jt,i),r.methods.onLoad=function(e){this.options=e;var t=Object.assign({},e);delete t.__id__,this.$page={fullPath:"/"+(this.route||this.is)+Nt(t)},this.$vm.$mp.query=e,this.$vm.__call_hook("onLoad",e)},ct(r.methods,e,["onReady"]),function(e,t){t&&Object.keys(t).forEach((function(n){var r=n.match(nt);if(r){var i=r[1];e[n]=t[n],e[i]=t[i]}}))}(r.methods,i.methods),r}function zt(e){return Component(function(e){return Ft(e)}(e))}function $t(e){return Component(Rt(e))}function Ut(t){var n=Ot(t),r=getApp({allowDefault:!0});t.$scope=r;var i=r.globalData;if(i&&Object.keys(n.globalData).forEach((function(e){S(i,e)||(i[e]=n.globalData[e])})),Object.keys(n).forEach((function(e){S(r,e)||(r[e]=n[e])})),b(n.onShow)&&e.onAppShow&&e.onAppShow((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.__call_hook("onShow",n)})),b(n.onHide)&&e.onAppHide&&e.onAppHide((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.__call_hook("onHide",n)})),b(n.onLaunch)){var o=e.getLaunchOptionsSync&&e.getLaunchOptionsSync();t.__call_hook("onLaunch",o)}return t}function Ht(t){var n=Ot(t);if(b(n.onShow)&&e.onAppShow&&e.onAppShow((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.__call_hook("onShow",n)})),b(n.onHide)&&e.onAppHide&&e.onAppHide((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.__call_hook("onHide",n)})),b(n.onLaunch)){var r=e.getLaunchOptionsSync&&e.getLaunchOptionsSync();t.__call_hook("onLaunch",r)}return t}jt.push.apply(jt,["onPullDownRefresh","onReachBottom","onAddToFavorites","onShareTimeline","onShareAppMessage","onPageScroll","onResize","onTabItemTap"]),["vibrate","preloadPage","unPreloadPage","loadSubPackage"].forEach((function(e){Ae[e]=!1})),[].forEach((function(t){var n=Ae[t]&&Ae[t].name?Ae[t].name:t;e.canIUse(n)||(Ae[t]=!1)}));var Vt={};"undefined"!==typeof Proxy?Vt=new Proxy({},{get:function(t,n){return S(t,n)?t[n]:le[n]?le[n]:qe[n]?K(n,qe[n]):De[n]?K(n,De[n]):Oe[n]?K(n,Oe[n]):je[n]?je[n]:K(n,Me(n,e[n]))},set:function(e,t,n){return e[t]=n,!0}}):(Object.keys(le).forEach((function(e){Vt[e]=le[e]})),Object.keys(Oe).forEach((function(e){Vt[e]=K(e,Oe[e])})),Object.keys(De).forEach((function(e){Vt[e]=K(e,De[e])})),Object.keys(je).forEach((function(e){Vt[e]=je[e]})),Object.keys(qe).forEach((function(e){Vt[e]=K(e,qe[e])})),Object.keys(e).forEach((function(t){(S(e,t)||S(Ae,t))&&(Vt[t]=K(t,Me(t,e[t])))}))),e.createApp=Pt,e.createPage=zt,e.createComponent=$t,e.createSubpackageApp=Ut,e.createPlugin=Ht;var Gt=Vt,Wt=Gt;t.default=Wt}).call(this,n("3223")["default"],n("0ee4"))},dfb4:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{color:{type:String,default:e.$u.props.line.color},length:{type:[String,Number],default:e.$u.props.line.length},direction:{type:String,default:e.$u.props.line.direction},hairline:{type:Boolean,default:e.$u.props.line.hairline},margin:{type:[String,Number],default:e.$u.props.line.margin},dashed:{type:Boolean,default:e.$u.props.line.dashed}}};t.default=n}).call(this,n("df3c")["default"])},e207:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={loadingPage:{loadingText:"正在加载",image:"",loadingMode:"circle",loading:!1,bgColor:"#ffffff",color:"#C8C8C8",fontSize:19,iconSize:28,loadingColor:"#C8C8C8"}}},e221:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={skeleton:{loading:!0,animate:!0,rows:0,rowsWidth:"100%",rowsHeight:18,title:!0,titleWidth:"50%",titleHeight:18,avatar:!1,avatarSize:32,avatarShape:"circle"}}},e229:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={subsection:{list:[],current:0,activeColor:"#3c9cff",inactiveColor:"#303133",mode:"button",fontSize:12,bold:!0,bgColor:"#eeeeef",keyName:"name"}}},e50d:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={tabs:{duration:300,list:function(){return[]},lineColor:"#3c9cff",activeStyle:function(){return{color:"#303133"}},inactiveStyle:function(){return{color:"#606266"}},lineWidth:20,lineHeight:3,lineBgSize:"cover",itemStyle:function(){return{height:"44px"}},scrollable:!0,current:0,keyName:"name"}}},e605:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{color:{type:String,default:e.$u.props.link.color},fontSize:{type:[String,Number],default:e.$u.props.link.fontSize},underLine:{type:Boolean,default:e.$u.props.link.underLine},href:{type:String,default:e.$u.props.link.href},mpTips:{type:String,default:e.$u.props.link.mpTips},lineColor:{type:String,default:e.$u.props.link.lineColor},text:{type:String,default:e.$u.props.link.text}}};t.default=n}).call(this,n("df3c")["default"])},e6db:function(e,t,n){var r=n("3b2d")["default"];e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports["default"]=e.exports},ead9:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.userWXLogin=t.userOpenIdLogin=t.userLogin=t.updateUserPwd=t.updateUserInfo=t.updateBusinessInfo=t.updateBank=t.recharge=t.getUserInfo=t.getUserAmout=t.getBusinessInfo=t.getBank=t.getAmount=t.deleteBank=t.cashAmout=t.businessReg=t.addBank=void 0;var n=e.$u.http;t.userLogin=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n.post("/login",e,t)};t.userWXLogin=function(e){return n.get("/weChatLogin/authorize",{params:e})};t.userOpenIdLogin=function(e){return n.get("/weChatLogin/authorize",{params:e})};t.getUserInfo=function(){return n.get("/system/user/profile",{custom:{auth:!0}})};t.updateUserInfo=function(e){return n.put("/system/user/profile",e,{custom:{auth:!0}})};t.updateUserPwd=function(e){return n.put("/system/user/profile/updatePwd",{},{params:e,custom:{auth:!0}})};t.businessReg=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n.post("/ground-business/business/register",e,t)};t.getAmount=function(e){return n.get("/ground-business/cash/cashAvaliable",{params:e,custom:{auth:!0}})};t.cashAmout=function(e){return n.post("/ground-business/cash/cashApply",e,{custom:{auth:!0}})};t.addBank=function(e){return n.post("/ground-business/account",e,{custom:{auth:!0}})};t.updateBank=function(e){return n.put("/ground-business/account",e,{custom:{auth:!0}})};t.deleteBank=function(e){return n.delete("/ground-business/account/".concat(e),{},{custom:{auth:!0}})};t.getBank=function(e){return n.get("/ground-business/account/".concat(e),{custom:{auth:!0}})};t.getUserAmout=function(){return n.get("/ground-business/wallet/balance",{custom:{auth:!0}})};t.recharge=function(e){return n.get("/ground-business/wallet/charge",{params:e,custom:{auth:!0}})};t.getBusinessInfo=function(e){return n.get("/ground-business/business/currentBusiness",{params:e,custom:{auth:!0}})};t.updateBusinessInfo=function(e){return n.put("/ground-business/business",e,{custom:{auth:!0}})}}).call(this,n("df3c")["default"])},eb39:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{icon:{type:String,default:e.$u.props.empty.icon},text:{type:String,default:e.$u.props.empty.text},textColor:{type:String,default:e.$u.props.empty.textColor},textSize:{type:[String,Number],default:e.$u.props.empty.textSize},iconColor:{type:String,default:e.$u.props.empty.iconColor},iconSize:{type:[String,Number],default:e.$u.props.empty.iconSize},mode:{type:String,default:e.$u.props.empty.mode},width:{type:[String,Number],default:e.$u.props.empty.width},height:{type:[String,Number],default:e.$u.props.empty.height},show:{type:Boolean,default:e.$u.props.empty.show},marginTop:{type:[String,Number],default:e.$u.props.empty.marginTop}}};t.default=n}).call(this,n("df3c")["default"])},ebd4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={cell:{customClass:"",title:"",label:"",value:"",icon:"",disabled:!1,border:!0,center:!1,url:"",linkType:"navigateTo",clickable:!1,isLink:!1,required:!1,arrowDirection:"",iconStyle:{},rightIconStyle:{},rightIcon:"arrow-right",titleStyle:{},size:"",stop:!0,name:""}}},ecf9:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={v:"2.0.37",version:"2.0.37",type:["primary","success","info","error","warning"],color:{"u-primary":"#2979ff","u-warning":"#ff9900","u-success":"#19be6b","u-error":"#fa3534","u-info":"#909399","u-main-color":"#303133","u-content-color":"#606266","u-tips-color":"#909399","u-light-color":"#c0c4cc"},unit:"px"};t.default=r},ed45:function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports["default"]=e.exports},ee10:function(e,t){function n(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(l){return void n(l)}s.done?t(u):Promise.resolve(u).then(r,i)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(i,o){var a=e.apply(t,r);function s(e){n(a,i,o,s,u,"next",e)}function u(e){n(a,i,o,s,u,"throw",e)}s(void 0)}))}},e.exports.__esModule=!0,e.exports["default"]=e.exports},ef5e:function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.deepMerge=function e(){var t={};function n(n,r){"object"===(0,i.default)(t[r])&&"object"===(0,i.default)(n)?t[r]=e(t[r],n):"object"===(0,i.default)(n)?t[r]=e({},n):t[r]=n}for(var r=0,o=arguments.length;r<o;r++)s(arguments[r],n);return t},t.forEach=s,t.isArray=a,t.isBoolean=function(e){return"boolean"===typeof e},t.isDate=function(e){return"[object Date]"===o.call(e)},t.isObject=function(e){return null!==e&&"object"===(0,i.default)(e)},t.isPlainObject=function(e){return"[object Object]"===Object.prototype.toString.call(e)},t.isURLSearchParams=function(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams},t.isUndefined=function(e){return"undefined"===typeof e};var i=r(n("3b2d")),o=Object.prototype.toString;function a(e){return"[object Array]"===o.call(e)}function s(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==(0,i.default)(e)&&(e=[e]),a(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}},f2b4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={avatar:{src:"",shape:"circle",size:40,mode:"scaleToFill",text:"",bgColor:"#c0c4cc",color:"#ffffff",fontSize:18,icon:"",mpAvatar:!1,randomBgColor:!1,defaultUrl:"",colorIndex:"",name:""}}},f3e9:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAdRJREFUSEvVlL1rU2EYxX/nNcVWnVwE6S62DoIf+AeYWqGCcVCkCIqTFCeVBEGIQ9toHZxa/AAHO4hiWpAWSTs4uKVF6aCL3VxcXBzMEO+RJmlrw9VbNaX0jpfnPb/nnOd5X7HBn1wqlBGHW8Yxc+rJHVnWk2cKbpl4Q0jpnLY2gE/lXuTX2OUNiWgFAGwCwB6G6DkKI6DjtWGZccK2EVy9DrpQH6BnCVEWh7NY2TWLshxRrIPPlQ5dylc8O9SHw6v6QXUpnf3omTv7wR8aYn1K56b8JN9OZ/v39QPwbSI/Q9xH4US9WT8mFe5R9Q3E5ca/aexrBJ0D5f8C0IJb8ceIWqC/yVu09RyUhh8h1V9T04boWtrLGCOLwLdEg2aexfKL2lMRJ+RSYRBxc0XIjkC31JMbShRvFHgs0480Hg+Yvrqd1N45pAPgCuIib59OsGff0s0+mggRwnQjdsUCakmVBg+iMIl8noV379lRLYJ6E8WbC0wUl/WaMj/IDODGjFZz24nJIKWaNCvYk0iV+kyj+UTA77r26OmTKLxEdKxyyepK8e6vZ/4ZUGtw9MwxAlPAbswCX74eUv5NtWWAGuThqW5+tE0Q0a+BYrnZ8X85WM/QfwJWet/JO7LVqQAAAABJRU5ErkJggg=="},f42e:function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("34cf")),o=r(n("3b2d")),a=r(n("bc90")),s=n("6edd");function u(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new WeakMap;if(null===e||"object"!==(0,o.default)(e))return e;if(n.has(e))return n.get(e);if(e instanceof Date)t=new Date(e.getTime());else if(e instanceof RegExp)t=new RegExp(e);else if(e instanceof Map)t=new Map(Array.from(e,(function(e){var t=(0,i.default)(e,2),r=t[0],o=t[1];return[r,u(o,n)]})));else if(e instanceof Set)t=new Set(Array.from(e,(function(e){return u(e,n)})));else if(Array.isArray(e))t=e.map((function(e){return u(e,n)}));else if("[object Object]"===Object.prototype.toString.call(e)){t=Object.create(Object.getPrototypeOf(e)),n.set(e,t);for(var r=0,a=Object.entries(e);r<a.length;r++){var s=(0,i.default)(a[r],2),l=s[0],c=s[1];t[l]=u(c,n)}}else t=Object.assign({},e);return n.set(e,t),t}function l(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-mm-dd";e=t?/^\d{10}$/.test(null===t||void 0===t?void 0:t.toString().trim())?new Date(1e3*t):"string"===typeof t&&/^\d+$/.test(t.trim())?new Date(Number(t)):"string"===typeof t&&t.includes("-")&&!t.includes("T")?new Date(t.replace(/-/g,"/")):new Date(t):new Date;var r={y:e.getFullYear().toString(),m:(e.getMonth()+1).toString().padStart(2,"0"),d:e.getDate().toString().padStart(2,"0"),h:e.getHours().toString().padStart(2,"0"),M:e.getMinutes().toString().padStart(2,"0"),s:e.getSeconds().toString().padStart(2,"0")};for(var o in r){var a=new RegExp("".concat(o,"+")).exec(n)||[],s=(0,i.default)(a,1),u=s[0];if(u){var l="y"===o&&2===u.length?2:0;n=n.replace(u,r[o].slice(l))}}return n}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"both";return e=String(e),"both"==t?e.replace(/^\s+|\s+$/g,""):"left"==t?e.replace(/^\s*/,""):"right"==t?e.replace(/(\s*$)/g,""):"all"==t?e.replace(/\s+/g,""):e}String.prototype.padStart||(String.prototype.padStart=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ";if("[object String]"!==Object.prototype.toString.call(t))throw new TypeError("fillString must be String");var n=this;if(n.length>=e)return String(n);var r=e-n.length,i=Math.ceil(r/t.length);while(i>>=1)t+=t,1===i&&(t+=t);return t.slice(0,r)+n});var d={range:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Math.max(e,Math.min(t,Number(n)))},getPx:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return a.default.number(t)?n?"".concat(t,"px"):Number(t):/(rpx|upx)$/.test(t)?n?"".concat(e.upx2px(parseInt(t)),"px"):Number(e.upx2px(parseInt(t))):n?"".concat(parseInt(t),"px"):parseInt(t)},sleep:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:30;return new Promise((function(t){setTimeout((function(){t()}),e)}))},os:function(){return e.getSystemInfoSync().platform.toLowerCase()},sys:function(){return e.getSystemInfoSync()},random:function(e,t){if(e>=0&&t>0&&t>=e){var n=t-e+1;return Math.floor(Math.random()*n+e)}return 0},guid:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),i=[];if(n=n||r.length,e)for(var o=0;o<e;o++)i[o]=r[0|Math.random()*n];else{var a;i[8]=i[13]=i[18]=i[23]="-",i[14]="4";for(var s=0;s<36;s++)i[s]||(a=0|16*Math.random(),i[s]=r[19==s?3&a|8:a])}return t?(i.shift(),"u".concat(i.join(""))):i.join("")},$parent:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=this.$parent;while(t){if(!t.$options||t.$options.name===e)return t;t=t.$parent}return!1},addStyle:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"object";if(a.default.empty(e)||"object"===(0,o.default)(e)&&"object"===t||"string"===t&&"string"===typeof e)return e;if("object"===t){e=c(e);for(var n=e.split(";"),r={},i=0;i<n.length;i++)if(n[i]){var s=n[i].split(":");r[c(s[0])]=c(s[1])}return r}var u="";for(var l in e){var d=l.replace(/([A-Z])/g,"-$1").toLowerCase();u+="".concat(d,":").concat(e[l],";")}return c(u)},addUnit:function(){var t,n,r,i,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auto",s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null!==(t=null===(n=e)||void 0===n||null===(r=n.$u)||void 0===r||null===(i=r.config)||void 0===i?void 0:i.unit)&&void 0!==t?t:"px";return o=String(o),a.default.number(o)?"".concat(o).concat(s):o},deepClone:u,deepMerge:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t=u(t),"object"!==(0,o.default)(t)||null===t||"object"!==(0,o.default)(n)||null===n)return t;var r=Array.isArray(t)?t.slice():Object.assign({},t);for(var i in n)if(n.hasOwnProperty(i)){var a=n[i],s=r[i];a instanceof Date?r[i]=new Date(a):a instanceof RegExp?r[i]=new RegExp(a):a instanceof Map?r[i]=new Map(a):a instanceof Set?r[i]=new Set(a):"object"===(0,o.default)(a)&&null!==a?r[i]=e(s,a):r[i]=a}return r},error:function(e){0},randomArray:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.sort((function(){return Math.random()-.5}))},timeFormat:l,timeFrom:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-mm-dd";null==e&&(e=Number(new Date)),e=parseInt(e),10==e.toString().length&&(e*=1e3);var n=(new Date).getTime()-e;n=parseInt(n/1e3);var r="";switch(!0){case n<300:r="刚刚";break;case n>=300&&n<3600:r="".concat(parseInt(n/60),"分钟前");break;case n>=3600&&n<86400:r="".concat(parseInt(n/3600),"小时前");break;case n>=86400&&n<2592e3:r="".concat(parseInt(n/86400),"天前");break;default:r=!1===t?n>=2592e3&&n<31536e3?"".concat(parseInt(n/2592e3),"个月前"):"".concat(parseInt(n/31536e3),"年前"):l(e,t)}return r},trim:c,queryParams:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"brackets",r=t?"?":"",i=[];-1==["indices","brackets","repeat","comma"].indexOf(n)&&(n="brackets");var o=function(t){var r=e[t];if(["",void 0,null].indexOf(r)>=0)return"continue";if(r.constructor===Array)switch(n){case"indices":for(var o=0;o<r.length;o++)i.push("".concat(t,"[").concat(o,"]=").concat(r[o]));break;case"brackets":r.forEach((function(e){i.push("".concat(t,"[]=").concat(e))}));break;case"repeat":r.forEach((function(e){i.push("".concat(t,"=").concat(e))}));break;case"comma":var a="";r.forEach((function(e){a+=(a?",":"")+e})),i.push("".concat(t,"=").concat(a));break;default:r.forEach((function(e){i.push("".concat(t,"[]=").concat(e))}))}else i.push("".concat(t,"=").concat(r))};for(var a in e)o(a);return i.length?r+i.join("&"):""},toast:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2e3;e.showToast({title:String(t),icon:"none",duration:n})},type2icon:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"success",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];-1==["primary","info","error","warning","success"].indexOf(e)&&(e="success");var n="";switch(e){case"primary":n="info-circle";break;case"info":n="info-circle";break;case"error":n="close-circle";break;case"warning":n="error-circle";break;case"success":n="checkmark-circle";break;default:n="checkmark-circle"}return t&&(n+="-fill"),n},priceFormat:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:",";e="".concat(e).replace(/[^0-9+-Ee.]/g,"");var i=isFinite(+e)?+e:0,o=isFinite(+t)?Math.abs(t):0,a="undefined"===typeof r?",":r,u="undefined"===typeof n?".":n,l="";l=(o?(0,s.round)(i,o)+"":"".concat(Math.round(i))).split(".");var c=/(-?\d+)(\d{3})/;while(c.test(l[0]))l[0]=l[0].replace(c,"$1".concat(a,"$2"));return(l[1]||"").length<o&&(l[1]=l[1]||"",l[1]+=new Array(o-l[1].length+1).join("0")),l.join(u)},getDuration:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=parseInt(e);return t?/s$/.test(e)?e:"".concat(e,e>30?"ms":"s"):/ms$/.test(e)?n:/s$/.test(e)?n>30?n:1e3*n:n},padZero:function(e){return"00".concat(e).slice(-2)},formValidate:function(t,n){var r=e.$u.$parent.call(t,"u-form-item"),i=e.$u.$parent.call(t,"u-form");r&&i&&i.validateField(r.prop,(function(){}),n)},getProperty:function(e,t){if(e){if("string"!==typeof t||""===t)return"";if(-1!==t.indexOf(".")){for(var n=t.split("."),r=e[n[0]]||{},i=1;i<n.length;i++)r&&(r=r[n[i]]);return r}return e[t]}},setProperty:function(e,t,n){if(e){if("string"!==typeof t||""===t);else if(-1!==t.indexOf(".")){var r=t.split(".");(function e(t,n,r){if(1!==n.length)while(n.length>1){var i=n[0];t[i]&&"object"===(0,o.default)(t[i])||(t[i]={});n.shift();e(t[i],n,r)}else t[n[0]]=r})(e,r,n)}else e[t]=n}},page:function(){var e,t,n=getCurrentPages();return"/".concat(null!==(e=null===(t=n[n.length-1])||void 0===t?void 0:t.route)&&void 0!==e?e:"")},pages:function(){var e=getCurrentPages();return e},getHistoryPage:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=getCurrentPages(),n=t.length;return t[n-1+e]},setConfig:function(t){var n=t.props,r=void 0===n?{}:n,i=t.config,o=void 0===i?{}:i,a=t.color,s=void 0===a?{}:a,u=t.zIndex,l=void 0===u?{}:u,c=e.$u.deepMerge;e.$u.config=c(e.$u.config,o),e.$u.props=c(e.$u.props,r),e.$u.color=c(e.$u.color,s),e.$u.zIndex=c(e.$u.zIndex,l)}};t.default=d}).call(this,n("df3c")["default"])},f569:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{value:{type:[String,Number],default:e.$u.props.textarea.value},placeholder:{type:[String,Number],default:e.$u.props.textarea.placeholder},placeholderClass:{type:String,default:e.$u.props.input.placeholderClass},placeholderStyle:{type:[String,Object],default:e.$u.props.input.placeholderStyle},height:{type:[String,Number],default:e.$u.props.textarea.height},confirmType:{type:String,default:e.$u.props.textarea.confirmType},disabled:{type:Boolean,default:e.$u.props.textarea.disabled},count:{type:Boolean,default:e.$u.props.textarea.count},focus:{type:Boolean,default:e.$u.props.textarea.focus},autoHeight:{type:Boolean,default:e.$u.props.textarea.autoHeight},fixed:{type:Boolean,default:e.$u.props.textarea.fixed},cursorSpacing:{type:Number,default:e.$u.props.textarea.cursorSpacing},cursor:{type:[String,Number],default:e.$u.props.textarea.cursor},showConfirmBar:{type:Boolean,default:e.$u.props.textarea.showConfirmBar},selectionStart:{type:Number,default:e.$u.props.textarea.selectionStart},selectionEnd:{type:Number,default:e.$u.props.textarea.selectionEnd},adjustPosition:{type:Boolean,default:e.$u.props.textarea.adjustPosition},disableDefaultPadding:{type:Boolean,default:e.$u.props.textarea.disableDefaultPadding},holdKeyboard:{type:Boolean,default:e.$u.props.textarea.holdKeyboard},maxlength:{type:[String,Number],default:e.$u.props.textarea.maxlength},border:{type:String,default:e.$u.props.textarea.border},formatter:{type:[Function,null],default:e.$u.props.textarea.formatter},ignoreCompositionEvent:{type:Boolean,default:!0}}};t.default=n}).call(this,n("df3c")["default"])},f867:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=n.config.validateStatus,i=n.statusCode;!i||r&&!r(i)?t(n):e(n)}},f942:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{name:{type:[String,Number,Boolean],default:e.$u.props.radio.name},shape:{type:String,default:e.$u.props.radio.shape},disabled:{type:[String,Boolean],default:e.$u.props.radio.disabled},labelDisabled:{type:[String,Boolean],default:e.$u.props.radio.labelDisabled},activeColor:{type:String,default:e.$u.props.radio.activeColor},inactiveColor:{type:String,default:e.$u.props.radio.inactiveColor},iconSize:{type:[String,Number],default:e.$u.props.radio.iconSize},labelSize:{type:[String,Number],default:e.$u.props.radio.labelSize},label:{type:[String,Number],default:e.$u.props.radio.label},size:{type:[String,Number],default:e.$u.props.radio.size},color:{type:String,default:e.$u.props.radio.color},labelColor:{type:String,default:e.$u.props.radio.labelColor}}};t.default=n}).call(this,n("df3c")["default"])},fa47:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={row:{gutter:0,justify:"start",align:"center"}}},fa8d:function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("7eb4")),o=r(n("ee10")),a=r(n("67ad")),s=r(n("0bdb")),u=function(){function t(){(0,a.default)(this,t),this.config={type:"navigateTo",url:"",delta:1,params:{},animationType:"pop-in",animationDuration:300,intercept:!1},this.route=this.route.bind(this)}return(0,s.default)(t,[{key:"addRootPath",value:function(e){return"/"===e[0]?e:"/".concat(e)}},{key:"mixinParam",value:function(t,n){t=t&&this.addRootPath(t);var r="";return/.*\/.*\?.*=.*/.test(t)?(r=e.$u.queryParams(n,!1),t+"&".concat(r)):(r=e.$u.queryParams(n),t+r)}},{key:"route",value:function(){var t=(0,o.default)(i.default.mark((function t(){var n,r,o,a,s=arguments;return i.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=s.length>0&&void 0!==s[0]?s[0]:{},r=s.length>1&&void 0!==s[1]?s[1]:{},o={},"string"===typeof n?(o.url=this.mixinParam(n,r),o.type="navigateTo"):(o=e.$u.deepMerge(this.config,n),o.url=this.mixinParam(n.url,n.params)),o.url!==e.$u.page()){t.next=6;break}return t.abrupt("return");case 6:if(r.intercept&&(this.config.intercept=r.intercept),o.params=r,o=e.$u.deepMerge(this.config,o),"function"!==typeof e.$u.routeIntercept){t.next=16;break}return t.next=12,new Promise((function(t,n){e.$u.routeIntercept(o,t)}));case 12:a=t.sent,a&&this.openPage(o),t.next=17;break;case 16:this.openPage(o);case 17:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}()},{key:"openPage",value:function(t){var n=t.url,r=(t.type,t.delta),i=t.animationType,o=t.animationDuration;"navigateTo"!=t.type&&"to"!=t.type||e.navigateTo({url:n,animationType:i,animationDuration:o}),"redirectTo"!=t.type&&"redirect"!=t.type||e.redirectTo({url:n}),"switchTab"!=t.type&&"tab"!=t.type||e.switchTab({url:n}),"reLaunch"!=t.type&&"launch"!=t.type||e.reLaunch({url:n}),"navigateBack"!=t.type&&"back"!=t.type||e.navigateBack({delta:r})}}]),t}(),l=(new u).route;t.default=l}).call(this,n("df3c")["default"])},fc07:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={input:{value:"",type:"text",fixed:!1,disabled:!1,disabledColor:"#f5f7fa",clearable:!1,password:!1,maxlength:-1,placeholder:null,placeholderClass:"input-placeholder",placeholderStyle:"color: #c0c4cc",showWordLimit:!1,confirmType:"done",confirmHold:!1,holdKeyboard:!1,focus:!1,autoBlur:!1,disableDefaultPadding:!1,cursor:-1,cursorSpacing:30,selectionStart:-1,selectionEnd:-1,adjustPosition:!0,inputAlign:"left",fontSize:"15px",color:"#303133",prefixIcon:"",prefixIconStyle:"",suffixIcon:"",suffixIconStyle:"",border:"surround",readonly:!1,shape:"square",formatter:null}}},fcda:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={notify:{top:0,type:"primary",color:"#ffffff",bgColor:"",message:"",duration:3e3,fontSize:15,safeAreaInsetTop:!1}}},fd13:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={lineProgress:{activeColor:"#19be6b",inactiveColor:"#ececec",percentage:0,showText:!0,height:12}}},fdea:function(e,t,n){"use strict";var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("8f1c")),o=i.default;t.default=o},ffcd:function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n("7ca3")),o=r(n("4736")),a=r(n("3006")),s=r(n("f867")),u=n("ef5e");function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,i.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=function(e,t){var n={};return e.forEach((function(e){(0,u.isUndefined)(t[e])||(n[e]=t[e])})),n};t.default=function(t){return new Promise((function(n,r){var i,u=(0,o.default)((0,a.default)(t.baseURL,t.url),t.params),l={url:u,header:t.header,complete:function(e){t.fullPath=u,e.config=t;try{"string"===typeof e.data&&(e.data=JSON.parse(e.data))}catch(i){}(0,s.default)(n,r,e)}};if("UPLOAD"===t.method){delete l.header["content-type"],delete l.header["Content-Type"];var p={filePath:t.filePath,name:t.name};i=e.uploadFile(c(c(c({},l),p),d(["formData"],t)))}else if("DOWNLOAD"===t.method)i=e.downloadFile(l);else{i=e.request(c(c({},l),d(["data","method","timeout","dataType","responseType"],t)))}t.getTask&&t.getTask(i,t)}))}}).call(this,n("df3c")["default"])}}]);