@xysfe/actui
Version:
A fantastic mobile ui lib implement by Vue
1 lines • 589 kB
JavaScript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/BScroll/index.js"),require("@xysfe/actui/es/Picker/index.js"),require("@xysfe/actui/es/assets/img/redCircle.png"),require("@xysfe/actui/es/assets/img/purpleCircle.png"),require("@xysfe/actui/es/assets/img/grayCircle.png"),require("@xysfe/actui/es/assets/img/cps-orangeCircle.png"),require("@xysfe/actui/es/assets/img/cps-redCircle.png"),require("@xysfe/actui/es/assets/img/cps-grayCircle.png")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/create/index.js","@xysfe/actui/es/BScroll/index.js","@xysfe/actui/es/Picker/index.js","@xysfe/actui/es/assets/img/redCircle.png","@xysfe/actui/es/assets/img/purpleCircle.png","@xysfe/actui/es/assets/img/grayCircle.png","@xysfe/actui/es/assets/img/cps-orangeCircle.png","@xysfe/actui/es/assets/img/cps-redCircle.png","@xysfe/actui/es/assets/img/cps-grayCircle.png"],e):"object"==typeof exports?exports.GoldFinanceChart=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/BScroll/index.js"),require("@xysfe/actui/es/Picker/index.js"),require("@xysfe/actui/es/assets/img/redCircle.png"),require("@xysfe/actui/es/assets/img/purpleCircle.png"),require("@xysfe/actui/es/assets/img/grayCircle.png"),require("@xysfe/actui/es/assets/img/cps-orangeCircle.png"),require("@xysfe/actui/es/assets/img/cps-redCircle.png"),require("@xysfe/actui/es/assets/img/cps-grayCircle.png")):t.GoldFinanceChart=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/BScroll/index.js"],t["@xysfe/actui/es/Picker/index.js"],t["@xysfe/actui/es/assets/img/redCircle.png"],t["@xysfe/actui/es/assets/img/purpleCircle.png"],t["@xysfe/actui/es/assets/img/grayCircle.png"],t["@xysfe/actui/es/assets/img/cps-orangeCircle.png"],t["@xysfe/actui/es/assets/img/cps-redCircle.png"],t["@xysfe/actui/es/assets/img/cps-grayCircle.png"])}("undefined"!=typeof self?self:this,function(t,e,n,i,r,o,a,s,l){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=2087)}({0:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},1:function(t,e,n){var i=n(31)("wks"),r=n(24),o=n(0).Symbol,a="function"==typeof o;(t.exports=function(t){return i[t]||(i[t]=a&&o[t]||(a?o:r)("Symbol."+t))}).store=i},10:function(t,e,n){var i=n(4),r=n(41),o=n(38),a=Object.defineProperty;e.f=n(3)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},11:function(t,e){t.exports={}},111:function(t,e,n){t.exports={default:n(117),__esModule:!0}},117:function(t,e,n){var i=n(2),r=i.JSON||(i.JSON={stringify:JSON.stringify});t.exports=function(t){return r.stringify.apply(r,arguments)}},12:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},1236:function(t,e,n){"use strict";var i=n(146),r=n.n(i),o=n(130),a=n.n(o),s=n(552),l=n(2089),u=n(2096),h=n(2103),c=n(843),p=n.n(c);e.a={name:"ActGoldFinanceChart",data:function(){return{costTableVisible:!1,isShowChart:!0,renderData:{},agePickerData:[],selectIndex:10}},components:{benefit:u.a,GoldCostTable:h.a,goldPicker:p.a},props:{tables:{default:function(){return{}},type:Object},brandColor:{default:"#8c7fee",type:String},btnColor:{default:"#8c7fee",type:String},chartConfig:{default:function(){return[]},type:Array},isOutSideTable:{default:!1,type:Boolean},unit:{default:"周岁",type:String},note:{default:"",type:String},selectDefaultVal:{default:10,type:Number},benefitBtnShow:{type:Boolean,default:!0},tip:{default:"",type:String},percentageTypes:{type:Array,default:function(){return[]}},notShowLineTypes:{type:Array,default:function(){return[]}}},computed:{realTheme:function(){var t={brandColor:window.g_agentShowCfg&&window.g_agentShowCfg.brandcolor||"#8c7fee",btnColor:window.g_agentShowCfg&&window.g_agentShowCfg.btncolor||"#8c7fee"};return this.brandColor&&(t.brandColor=this.brandColor,t.btnColor=this.brandColor),t},isCps:function(){return"#8c7fee"!==this.brandColor}},methods:{showAgePicker:function(t){var e=this;this.agePickerData=t.agePickerData,this.$nextTick(function(){e.$refs.goldPicker.show()})},setSelectIndex:function(t){this.selectIndex=t},showCostTable:function(){this.isOutSideTable?this.$emit("showOutSideTable"):this.costTableVisible=!0},validateData:function(){if(!(this.tables&&this.tables.colsType&&this.chartConfig&&Object(s.e)(this.chartConfig)))return!1;for(var t=0,e=0,n=0,i=0;i<this.chartConfig.length;i++){var r=this.chartConfig[i];if(!r.colsType)return!1;(this.tables.colsType.includes(r.colsType)||this.tables.colsType.includes(r.colsType+""))&&(1==~~r.showType&&(t+=1),2==~~r.showType&&(e+=1),3==~~r.showType&&(n+=1))}return 1===t&&e>=1&&1===n},findTablesIndex:function(t,e){if(Object(s.e)(e))for(var n=0;n<e.length;n++)if(Number(e[n])===Number(t))return n},analysisExpression:function(t){if(!/([1-9]+)([+*/-])([1-9]+)/g.test(t))return{};var e=void 0,n=void 0,i=void 0;return t.replace(/([1-9]+)([+*/-])([1-9]+)/g,function(t,r,o,a){e=r,n=a,i=o}),{firstParamColsType:e,secondParamColsType:n,operator:i}},getExpressionData:function(t,e,n){var i=this.analysisExpression(t),r=i.firstParamColsType,o=i.secondParamColsType,a=i.operator;if(void 0!==r&&void 0!==o&&["+","-","/","*"].includes(a)){var s=void 0,l=void 0,u=[];if(s=this.findTablesIndex(r,n.colsType),l=this.findTablesIndex(o,n.colsType),void 0!==s&&void 0!==l)return n.rows.forEach(function(t,e){var n=void 0;switch(a){case"+":n=t[s]+t[l];break;case"-":n=t[s]-t[l];break;case"/":n=t[s]/t[l];break;case"*":n=t[s]*t[l]}u.push(Number(n).toFixed(1))}),u}},initConfig:function(t,e){var n=this;if(t&&e){for(var i=[],r=[],o=[],u=this.isCps?Object(s.b)(l.b):Object(s.b)(l.a),h=Object(s.b)(u.showType2),c=Object(s.b)(u.showType3),p=t,d=Array.isArray(p),f=0,p=d?p:a()(p);;){var g;if(d){if(f>=p.length)break;g=p[f++]}else{if(f=p.next(),f.done)break;g=f.value}var y=g;(function(r){var a=void 0,p=r.colsType,d=n.findTablesIndex(p,e.colsType);if(!d)return"continue";var f=Number(r.showType),g=r.name||l.c[p],y=r.titleName||r.name||l.c[p],m=n.getExpressionData(r.tipsExpression,t,e),v=r.lineStyle,_=r.boxConfig;if(!(2!==f||v&&_)){h.length||(h=Object(s.b)(u.showType2));var x=h.shift();v=x.lineStyle,_=x.boxConfig}if(3===f&&!v){c.length||(c=Object(s.b)(u.showType3));v=c.shift().lineStyle}o.push(g);var w=[],b=r.multcolType||0;if(31===b){var S=r.multValues||[],C=n.findTablesIndex(b,e.colsType);C&&S.length&&(w=S.map(function(t){var n=e.rows.findIndex(function(e){return t===Math.floor(e[C])});return-1===n?{coord:[],value:0}:{coord:[n,e.rows[n][d]],value:t}}))}var T=!0;n.notShowLineTypes.includes(p)&&(T=!1),a={showType:f,colsType:p,name:g,titleName:y,problemText:r.problemText,tableRowIndex:d,lineStyle:v,boxConfig:_,tipsText:r.tipsText,markPoint:w,displayLine:T,negativeText:r.negativeText||""},m&&(a.expressionData=m),i.push(a)})(y)}var m=e.rows.map(function(t){for(var e=[],n=i,o=Array.isArray(n),s=0,n=o?n:a()(n);;){var l;if(o){if(s>=n.length)break;l=n[s++]}else{if(s=n.next(),s.done)break;l=s.value}var u=l;1===u.showType&&r.push(t[u.tableRowIndex]),e.push(t[u.tableRowIndex])}return e});return m.unshift(o),{chartConfig:i,dataSource:m,xAxisData:r}}}},watch:{tables:{handler:function(t){if(t&&r()(t).length&&this.chartConfig){var e=this.validateData();this.selectIndex=this.selectDefaultVal,e?(this.renderData=this.initConfig(this.chartConfig,t),this.isShowChart=!0):this.isShowChart=!1}},immediate:!0}}}},1237:function(t,e,n){"use strict";var i=n(146),r=n.n(i),o=n(2098),a=n(552);e.a={name:"Benefit",data:function(){return{chartConfig:[],dataSource:[],xAxisData:[],dialog:null,agePicker:null,numFontSizeFixDebounceFunc:Object(a.a)(this.numFontSizeFix,500),preNumFontSize:"2.8rem"}},components:{chart:o.a},props:{selectIndex:{type:Number,default:10},renderData:{type:Object,default:function(){return{}}},theme:{type:Object,default:function(){return{}}},isCps:{type:Boolean,default:!1},benefitBtnShow:{type:Boolean,default:!0},unit:{default:"周岁",type:String},note:{default:"",type:String},tip:{default:"",type:String},percentageTypes:{type:Array,default:function(){return[]}}},computed:{agePickerData:function(){for(var t=[],e=0;e<this.xAxisData.length;e++)t.push({text:this.xAxisData[e],value:this.xAxisData[e]});return t},showType2Length:function(){for(var t=0,e=0;e<this.chartConfig.length;e++)2==~~this.chartConfig[e].showType&&(t+=1);return t},pureDataSource:function(){return this.dataSource.slice(1)}},methods:{getNum:function(t,e,n){var i=Math.round(100*this.pureDataSource[t][e])/100;return i<0&&n.negativeText?n.negativeText:(this.percentageTypes.includes(Number(n.colsType))&&(i+="%"),i)},showCostTable:function(){this.$emit("showCostTable")},setSelectIndex:function(t){this.$emit("update:selectIndex",t)},showAgePicker:function(){this.$emit("showAgePicker",{agePickerData:this.agePickerData})},showProblemDialog:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments[1];this.dialog?this.dialog.setData(t,e):this.dialog=this.$createGoldDialog({title:t,content:e,showConfirmButton:!1,maskClosable:!0}),this.dialog.show()},numFontSizeFix:function(){for(var t=this.$refs.num?this.$refs.num.length:0,e=0;e<t;e++){var n=this.$refs.num[e],i=this.$refs.colorBlock[e];for(n.style.fontSize=this.preNumFontSize;;){if(!(parseInt(getComputedStyle(n).width)>parseInt(getComputedStyle(i).width)+30))break;var r=parseInt(getComputedStyle(n).fontSize);if(r<=12)break;n.style.fontSize=r-1+"px"}}}},watch:{renderData:{handler:function(t){if(t&&r()(t).length){var e=t.chartConfig,n=t.dataSource,i=t.xAxisData;this.chartConfig=e,this.dataSource=n,this.xAxisData=i,this.selectIndex>this.pureDataSource.length&&(this.selectIndex=10)}},immediate:!0},selectIndex:{handler:function(){this.numFontSizeFixDebounceFunc()}}}}},1238:function(t,e,n){"use strict";var i=n(146),r=n.n(i),o=n(130),a=n.n(o),s=n(92),l=n.n(s),u=n(552),h=n(2100);e.a={data:function(){return{chart:null}},props:{index:{type:Number,default:10},dataSource:{type:Array,default:function(){return[]}},chartConfig:{type:Array,default:function(){return[]}}},methods:{setIndex:function(t){this.$emit("setIndex",t)},remToPxBased10Px:function(t){var e=window.document.documentElement||document.getElementsByTagName("html")[0],n=parseFloat(getComputedStyle(e,null).fontSize);if(n>12)return t*n;var i=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,r=i/375*10;return i?t*r:10*t},getXAxisName:function(){for(var t=0;t<this.chartConfig.length;t++)if(1===this.chartConfig[t].showType)return this.chartConfig[t].name;return""},getTooltipName:function(){for(var t=0;t<this.chartConfig.length;t++)if(3===this.chartConfig[t].showType)return this.chartConfig[t].name;return""},setEcharts:function(){for(var t=this,e=[],n=[],i=this.getXAxisName(),r=this.getTooltipName(),o=0;o<this.chartConfig.length;o++){var s=this.chartConfig[o];if([2,3].includes(s.showType)&&s.displayLine){var c={};Object(u.e)(s.lineStyle.areaStyleColor)?c.color=new h.graphic.LinearGradient(0,0,0,1,s.lineStyle.areaStyleColor):Object(u.j)(s.lineStyle.areaStyleColor)&&(c.color=s.lineStyle.areaStyleColor),e.push({name:s.name,type:"line",smooth:!0,symbol:s.lineStyle.legendImg?"image://"+s.lineStyle.legendImg:"circle",showSymbol:!1,symbolSize:this.remToPxBased10Px(1.4),silent:!0,encode:{x:i,y:s.name},lineStyle:{width:1,color:s.lineStyle.lineColor},emphasis:{lineStyle:{color:s.lineStyle.lineColor}},zlevel:s.lineStyle.zIndex,z:s.lineStyle.zIndex,areaStyle:c.color?c:void 0,markPoint:{symbol:"circle",showSymbol:!0,symbolSize:[this.remToPxBased10Px(.8),this.remToPxBased10Px(.8)],symbolOffset:["-10%","-10%"],silent:!0,data:s.markPoint.map(function(e){return l()({itemStyle:{color:"#ffab11",borderWidth:t.remToPxBased10Px(.21),borderType:"solid",borderColor:"#FFEAC3"},label:{show:!0,position:"top",formatter:"{c}倍",backgroundColor:"#FFAB11",color:"#fff",borderRadius:t.remToPxBased10Px(.21),fontSize:t.remToPxBased10Px(1),width:t.remToPxBased10Px(2.8),height:t.remToPxBased10Px(1.5),borderWidth:t.remToPxBased10Px(.11),borderType:"solid",borderColor:"#FFEAC3",lineHeight:t.remToPxBased10Px(1.5)}},e)})}}),n.push({name:s.name,icon:s.lineStyle.legendImg?"image://"+s.lineStyle.legendImg:"circle"})}}var p={dataset:{source:this.dataSource},grid:{containLabel:!1,borderColor:"red",top:"5%",right:"10%",left:"10%"},legend:{textStyle:{fontSize:this.remToPxBased10Px(1.2),opacity:1,fontWeight:400,fontFamily:"SourceHanSansSC, SourceHanSansSC-Regular",color:"#999",lineHeight:this.remToPxBased10Px(1.4)},selectedMode:!1,itemWidth:this.remToPxBased10Px(1.4),itemHeight:this.remToPxBased10Px(1.4),data:n,bottom:0},tooltip:{trigger:"axis",triggerOn:"none",backgroundColor:"rgba(255,255,255,0.8)",textStyle:{fontSize:this.remToPxBased10Px(1.2),fontFamily:"SourceHanSansSC, SourceHanSansSC-Regular",fontWeight:400,lineHeight:16,color:"#333"},extraCssText:"box-shadow: 0rem 0.2rem 1.4rem 0rem rgba(211,217,240,0.80);z-index: 2;",showContent:!0,padding:[7,10,6,10],position:function(t,e,n,i,r){return t[0]>r.viewSize[0]/2?{left:20,top:"30%"}:{right:20,top:"30%"}},axisPointer:{lineStyle:{type:"solid",color:"#EEE"},z:0},formatter:function(t){for(var e=t,n=Array.isArray(e),i=0,e=n?e:a()(e);;){var o;if(n){if(i>=e.length)break;o=e[i++]}else{if(i=e.next(),i.done)break;o=i.value}var s=o;if(s.seriesName===r){var l=s.encode.y[0],u=s.value[l];return r+"<br>"+u+"元"}}}},axixPointer:{triggerOn:"none"},xAxis:{type:"category",axisTick:{inside:!0,length:2,lineStyle:{color:"#EEE"}},axisLine:{lineStyle:{color:"#F5F5F5"}},axisLabel:{textStyle:{color:"#E2E5E7"},fontSize:this.remToPxBased10Px(1.2)},nameTextStyle:{color:"red"}},yAxis:{show:!0,axisLine:{show:!1},axisLabel:{show:!1},splitLine:{show:!0,lineStyle:{color:"#f5f5f5",width:.5}}},series:e};this.chart.setOption(p),this.chart.dispatchAction({type:"showTip",seriesIndex:0,dataIndex:this.index-1}),this.chart.dispatchAction({type:"showTip",seriesIndex:0,dataIndex:this.index})}},mounted:function(){var t=this;this.chart=h.init(this.$refs.chart,null,{renderer:"svg"}),this.setEcharts(),this.chart.getZr().on("mousemove",function(e){var n=[e.offsetX,e.offsetY],i=t.chart.convertFromPixel("grid",n);t.chart.containPixel("grid",n)&&t.index!==Math.round(i[0])&&t.setIndex(Math.round(i[0]))})},watch:{dataSource:{handler:function(t){var e=this;r()(t).length&&this.$nextTick(function(){e.setEcharts()})},immediate:!0},index:{handler:function(t){this.chart.dispatchAction({type:"showTip",seriesIndex:0,dataIndex:t})}}}}},1239:function(t,e,n){"use strict";var i=n(196),r=n.n(i);e.a={name:"ActGoldCostTable",data:function(){return{scroller:null}},props:{visible:{type:Boolean,default:!1},tables:{type:Object,default:function(){return{}}},theme:{type:Object,default:function(){return{}}}},computed:{title:function(){return this.tables.title||"现金价值表"},styleOption:function(){return this.theme&&this.theme.brandColor?{backgroundColor:this.theme.brandColor}:{}}},methods:{showCol:function(t){var e=this.tables.display||[];return void 0!==e[t]&&1==~~e[t]},cancel:function(){this.$emit("cancelCost")},preventMove:function(t){t._prevent=!0}},watch:{visible:function(t){var e=this;if(t){var n=document.querySelector(".cost-scroll");n&&this.$nextTick(function(){e.scroller?e.scroller.refresh():e.scroller=new r.a(n,{})})}}}}},13:function(t,e,n){var i=n(34),r=n(15);t.exports=function(t){return i(r(t))}},130:function(t,e,n){t.exports={default:n(144),__esModule:!0}},14:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},144:function(t,e,n){n(50),n(48),t.exports=n(145)},145:function(t,e,n){var i=n(4),r=n(56);t.exports=n(2).getIterator=function(t){var e=r(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return i(e.call(t))}},146:function(t,e,n){t.exports={default:n(175),__esModule:!0}},147:function(t,e,n){e.f=n(1)},148:function(t,e,n){var i=n(0),r=n(2),o=n(18),a=n(147),s=n(10).f;t.exports=function(t){var e=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},15:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},16:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},17:function(t,e,n){var i=n(19);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},174:function(t,e,n){var i=n(9),r=n(2),o=n(12);t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],a={};a[t]=e(n),i(i.S+i.F*o(function(){n(1)}),"Object",a)}},175:function(t,e,n){n(176),t.exports=n(2).Object.keys},176:function(t,e,n){var i=n(33),r=n(28);n(174)("keys",function(){return function(t){return r(i(t))}})},177:function(t,e,n){var i=n(42),r=n(32).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},18:function(t,e){t.exports=!0},19:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},195:function(t,e,n){var i=n(24)("meta"),r=n(6),o=n(8),a=n(10).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(12)(function(){return l(Object.preventExtensions({}))}),h=function(t){a(t,i,{value:{i:"O"+ ++s,w:{}}})},c=function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,i)){if(!l(t))return"F";if(!e)return"E";h(t)}return t[i].i},p=function(t,e){if(!o(t,i)){if(!l(t))return!0;if(!e)return!1;h(t)}return t[i].w},d=function(t){return u&&f.NEED&&l(t)&&!o(t,i)&&h(t),t},f=t.exports={KEY:i,NEED:!1,fastKey:c,getWeak:p,onFreeze:d}},196:function(t,n){t.exports=e},197:function(t,e,n){var i=n(14);t.exports=Array.isArray||function(t){return"Array"==i(t)}},2:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},20:function(t,e,n){var i=n(31)("keys"),r=n(24);t.exports=function(t){return i[t]||(i[t]=r(t))}},2087:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(26),r=n.n(i),o=n(2088);o.a.install=function(t){t.component(o.a.name,o.a),t.prototype.$createGoldFinanceChart=r()(o.a,t)},e.default=o.a},2088:function(t,e,n){"use strict";var i=n(1236),r=n(2106),o=n(7),a=Object(o.a)(i.a,r.a,r.b,!1,null,null,null);a.options.__file="src\\components\\GoldFinanceChart\\src\\index.vue",e.a=a.exports},2089:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return r}),n.d(e,"c",function(){return o});var i={showType2:[{boxConfig:{iconColor:"#E13046",titleColor:"#E13046",blockColor:"rgba(255, 90, 110, 0.1)",tipsColor:"#ff5a63"},lineStyle:{lineColor:"#ff5a6e",legendImg:n(2090),zIndex:1}},{boxConfig:{iconColor:"#7363E7",titleColor:"#7363E7",blockColor:"rgba(115,99,231,0.1)",tipsColor:"#8c7FEE"},lineStyle:{lineColor:"#8c7fee",legendImg:n(2091),areaStyleColor:[{offset:0,color:"#E7E3FF"},{offset:1,color:"#FFF"}],zIndex:2}}],showType3:[{lineStyle:{lineColor:"#E2E5E7",legendImg:n(2092),zIndex:3}}]},r={showType2:[{boxConfig:{iconColor:"#FF8D35",titleColor:"#FF8D35",blockColor:"rgba(255,141,53,0.1)",tipsColor:"#FF8D35"},lineStyle:{lineColor:"#FF8D35",legendImg:n(2093),zIndex:1}},{boxConfig:{iconColor:"#F05A4B",titleColor:"#FC7468",blockColor:"rgba(252,116,104,0.1)",tipsColor:"#F05A4B"},lineStyle:{lineColor:"#F05A4B",legendImg:n(2094),areaStyleColor:[{offset:0,color:"#FFE0DD"},{offset:1,color:"#FFF"}],zIndex:2}}],showType3:[{lineStyle:{lineColor:"#E2E5E7",legendImg:n(2095),zIndex:3}}]},o={1:"有效保额",2:"已交保费系数金额",3:"现金价值",4:"身故全残金",5:"年龄",6:"累计已交保费",7:"累计保费*给付系数(主险)",8:"当前年龄与61周岁的比值",9:"当前年龄与41周岁的比值",10:"当前年龄与18周岁的比值",11:"当前年龄的给付数值",12:"保额",13:"保单年份与缴费期间的比值",14:"保单年份",15:"长期护理保险金(元)",16:"疾病身故保险金或长期护理保险金"}},2090:function(t,e){t.exports=i},2091:function(t,e){t.exports=r},2092:function(t,e){t.exports=o},2093:function(t,e){t.exports=a},2094:function(t,e){t.exports=s},2095:function(t,e){t.exports=l},2096:function(t,e,n){"use strict";function i(t){s||n(2097)}var r=n(1237),o=n(2102),a=n(7),s=!1,l=i,u=Object(a.a)(r.a,o.a,o.b,!1,l,"data-v-8a13b6be",null);u.options.__file="src\\components\\GoldFinanceChart\\src\\components\\benefit.vue",e.a=u.exports},2097:function(t,e){},2098:function(t,e,n){"use strict";function i(t){s||n(2099)}var r=n(1238),o=n(2101),a=n(7),s=!1,l=i,u=Object(a.a)(r.a,o.a,o.b,!1,l,"data-v-5bf23e30",null);u.options.__file="src\\components\\GoldFinanceChart\\src\\components\\chart.vue",e.a=u.exports},2099:function(t,e){},2100:function(t,e,n){(function(t){!function(t,n){n(e)}(0,function(e){"use strict";function n(t,e){function n(){this.constructor=t}if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Df(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function i(t){for(var e in zf)t[e]&&(zf[e]=t[e])}function r(){return Kf++}function o(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!=typeof console&&console.error.apply(console,t)}function a(t){if(null==t||"object"!=typeof t)return t;var e=t,n=Hf.call(t);if("[object Array]"===n){if(!H(t))for(var e=[],i=0,r=t.length;i<r;i++)e[i]=a(t[i])}else if(Vf[n]){if(!H(t)){var o=t.constructor;if(o.from)e=o.from(t);else for(e=new o(t.length),i=0,r=t.length;i<r;i++)e[i]=t[i]}}else if(!Ff[n]&&!H(t)&&!k(t))for(var s in e={},t)t.hasOwnProperty(s)&&s!==Zf&&(e[s]=a(t[s]));return e}function s(t,e,n){if(!T(e)||!T(t))return n?a(e):t;for(var i in e){var r,o;e.hasOwnProperty(i)&&i!==Zf&&(r=t[i],!T(o=e[i])||!T(r)||x(o)||x(r)||k(o)||k(r)||M(o)||M(r)||H(o)||H(r)?!n&&i in t||(t[i]=a(e[i])):s(r,o,n))}return t}function l(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==Zf&&(t[n]=e[n]);return t}function u(t,e,n){for(var i=v(e),r=0;r<i.length;r++){var o=i[r];(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}return t}function h(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n}return-1}function c(t,e){function n(){}var i,r=t.prototype;for(i in n.prototype=e.prototype,t.prototype=new n,r)r.hasOwnProperty(i)&&(t.prototype[i]=r[i]);(t.prototype.constructor=t).superClass=e}function p(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(e),r=0;r<i.length;r++){var o=i[r];"constructor"!==o&&(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}else u(t,e,n)}function d(t){return!!t&&"string"!=typeof t&&"number"==typeof t.length}function f(t,e,n){if(t&&e)if(t.forEach&&t.forEach===Wf)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function g(t,e,n){if(!t)return[];if(!e)return N(t);if(t.map&&t.map===Yf)return t.map(e,n);for(var i=[],r=0,o=t.length;r<o;r++)i.push(e.call(n,t[r],r,t));return i}function y(t,e,n,i){if(t&&e){for(var r=0,o=t.length;r<o;r++)n=e.call(i,n,t[r],r,t);return n}}function m(t,e,n){if(!t)return[];if(!e)return N(t);if(t.filter&&t.filter===Uf)return t.filter(e,n);for(var i=[],r=0,o=t.length;r<o;r++)e.call(n,t[r],r,t)&&i.push(t[r]);return i}function v(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e,n=[];for(e in t)t.hasOwnProperty(e)&&n.push(e);return n}function _(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(jf.call(arguments)))}}function x(t){return Array.isArray?Array.isArray(t):"[object Array]"===Hf.call(t)}function w(t){return"function"==typeof t}function b(t){return"string"==typeof t}function S(t){return"[object String]"===Hf.call(t)}function C(t){return"number"==typeof t}function T(t){var e=typeof t;return"function"==e||!!t&&"object"==e}function M(t){return!!Ff[Hf.call(t)]}function I(t){return!!Vf[Hf.call(t)]}function k(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function D(t){return null!=t.colorStops}function A(t){return null!=t.image}function P(t){return"[object RegExp]"===Hf.call(t)}function O(t){return t!=t}function L(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,i=t.length;n<i;n++)if(null!=t[n])return t[n]}function R(t,e){return null!=t?t:e}function E(t,e,n){return null!=t?t:null!=e?e:n}function N(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return jf.apply(t,e)}function B(t){var e;return"number"==typeof t?[t,t,t,t]:2===(e=t.length)?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function z(t,e){if(!t)throw new Error(e)}function F(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}function V(t){t[Jf]=!0}function H(t){return t[Jf]}function G(){this.data={}}function W(t){function e(t,e){n?i.set(t,e):i.set(e,t)}var n=x(t),i=(this.data=new(eg?Map:tg),this);t instanceof W?t.each(e):t&&f(t,e)}function U(t){return new ng(t)}function j(t,e){for(var n=new t.constructor(t.length+e.length),i=0;i<t.length;i++)n[i]=t[i];for(var r=t.length,i=0;i<e.length;i++)n[i+r]=e[i];return n}function Y(t,e){var n,t=Object.create?Object.create(t):((n=function(){}).prototype=t,new n);return e&&l(t,e),t}function X(t){t=t.style,t.webkitUserSelect="none",t.userSelect="none",t.webkitTapHighlightColor="rgba(0,0,0,0)",t["-webkit-touch-callout"]="none"}function q(t,e){return t.hasOwnProperty(e)}function Z(){}function K(t,e){return[t=null==t?0:t,e=null==e?0:e]}function $(t){return[t[0],t[1]]}function Q(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function J(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function tt(t){return Math.sqrt(et(t))}function et(t){return t[0]*t[0]+t[1]*t[1]}function nt(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function it(t,e){var n=tt(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function rt(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}function ot(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}function at(t,e,n,i){return t[0]=e[0]+i*(n[0]-e[0]),t[1]=e[1]+i*(n[1]-e[1]),t}function st(t,e,n){var i=e[0],e=e[1];return t[0]=n[0]*i+n[2]*e+n[4],t[1]=n[1]*i+n[3]*e+n[5],t}function lt(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function ut(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}function ht(t){(this.handler=t).on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}function ct(t){t&&(this._$eventProcessor=t)}function pt(t,e,n,i,r,o){var a,s=i+"-"+r,l=t.length;if(o.hasOwnProperty(s))return o[s];if(1===e)return a=Math.round(Math.log((1<<l)-1&~r)/cg),t[n][a];for(var u=i|1<<n,h=n+1;i&1<<h;)h++;for(var c=0,p=0,d=0;p<l;p++){var f=1<<p;f&r||(c+=(d%2?-1:1)*t[n][p]*pt(t,e-1,h,u,r|f,o),d++)}return o[s]=c}function dt(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],i={},r=pt(n,8,0,0,0,i);if(0!==r){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)*pt(n,7,0===a?1:0,1<<a,1<<s,i)/r*e[a];return function(t,e,n){var i=e*o[6]+n*o[7]+1;t[0]=(e*o[0]+n*o[1]+o[2])/i,t[1]=(e*o[3]+n*o[4]+o[5])/i}}}function ft(t,e,n,i,r){if(e.getBoundingClientRect&&Pf.domSupported&&!gt(e)){var o=e[pg]||(e[pg]={}),e=function(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var h=t[u].getBoundingClientRect(),c=2*u,p=h.left,h=h.top;a.push(p,h),l=l&&o&&p===o[c]&&h===o[1+c],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&r?r:(e.srcCoords=a,e[i]=n?dt(s,a):dt(a,s))}(function(t,e){var n=e.markers;if(!n){n=e.markers=[];for(var i=["left","right"],r=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,l=o%2,u=(o>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",r[u]+":0",i[1-l]+":auto",r[1-u]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}}return n}(e,o),o,r);if(e)return e(t,n,i),!0}return!1}function gt(t){return"CANVAS"===t.nodeName.toUpperCase()}function yt(t){return null==t?"":(t+"").replace(fg,function(t,e){return gg[e]})}function mt(t,e,n,i){return n=n||{},i?vt(t,e,n):vg&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):vt(t,e,n),n}function vt(t,e,n){if(Pf.domSupported&&t.getBoundingClientRect){var i,r=e.clientX,e=e.clientY;if(gt(t))return i=t.getBoundingClientRect(),n.zrX=r-i.left,void(n.zrY=e-i.top);if(ft(mg,t,r,e))return n.zrX=mg[0],void(n.zrY=mg[1])}n.zrX=n.zrY=0}function _t(t){return t||window.event}function xt(t,e,n){var i;return null==(e=_t(e)).zrX&&((i=e.type)&&0<=i.indexOf("touch")?(i=("touchend"!==i?e.targetTouches:e.changedTouches)[0])&&mt(t,i,e,n):(mt(t,e,e,n),i=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,t=t.deltaY;return null!=n&&null!=t?3*(0!==t?Math.abs(t):Math.abs(n))*(0<t||!(t<0)&&0<n?-1:1):e}(e),e.zrDelta=i?i/120:-(e.detail||0)/3),t=e.button,null==e.which&&void 0!==t&&yg.test(e.type))&&(e.which=1&t?1:2&t?3:4&t?2:0),e}function wt(){this._track=[]}function bt(t){var e=t[1][0]-t[0][0],t=t[1][1]-t[0][1];return Math.sqrt(e*e+t*t)}function St(){return[1,0,0,1,0,0]}function Ct(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function Tt(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function Mt(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],n=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=n,t}function It(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function kt(t,e,n,i){void 0===i&&(i=[0,0]);var r=e[0],o=e[2],a=e[4],s=e[1],l=e[3],e=e[5],u=Math.sin(n),n=Math.cos(n);return t[0]=r*n+s*u,t[1]=-r*u+s*n,t[2]=o*n+l*u,t[3]=-o*u+n*l,t[4]=n*(a-i[0])+u*(e-i[1])+i[0],t[5]=n*(e-i[1])-u*(a-i[0])+i[1],t}function Dt(t,e,n){var i=n[0],n=n[1];return t[0]=e[0]*i,t[1]=e[1]*n,t[2]=e[2]*i,t[3]=e[3]*n,t[4]=e[4]*i,t[5]=e[5]*n,t}function At(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],e=e[5],s=n*a-o*i;return s?(t[0]=a*(s=1/s),t[1]=-o*s,t[2]=-i*s,t[3]=n*s,t[4]=(i*e-a*r)*s,t[5]=(o*r-n*e)*s,t):null}function Pt(t,e){this.x=t||0,this.y=e||0}function Ot(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}function Lt(){_g(this.event)}function Rt(){var t=null!==Rg&&Rg.apply(this,arguments)||this;return t.handler=null,t}function Et(t,e,n,i,r){var o=Eg.call(this)||this;return o._hovered=new Bg(0,0),o.storage=t,o.painter=e,o.painterRoot=i,o._pointerSize=r,n=n||new Ng,o.proxy=null,o.setHandlerProxy(n),o._draggingMgr=new ug(o),o}function Nt(t,e,n,i,r){for(var o=t.length-1;0<=o;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=function(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i=t,r=void 0,o=!1;i;){if(!(o=!!i.ignoreClip||o)){var a=i.getClipPath();if(a&&!a.contain(e,n))return!1}i.silent&&(r=!0),a=i.__hostTarget,i=a||i.parent}return!r||Lg}return!1}(a,n,i))&&(e.topTarget||(e.topTarget=a),s!==Lg)){e.target=a;break}}}function Bt(t,e,n){return t=t.painter,e<0||e>t.getWidth()||n<0||n>t.getHeight()}function zt(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){for(;r<n&&i(t[r],t[r-1])<0;)r++;var o=t,a=e,s=r;for(s--;a<s;){var l=o[a];o[a++]=o[s],o[s--]=l}}else for(;r<n&&0<=i(t[r],t[r-1]);)r++;return r-e}function Ft(t,e,n,i,r){for(i===e&&i++;i<n;i++){for(var o,a=t[i],s=e,l=i;s<l;)r(a,t[o=s+l>>>1])<0?l=o:s=1+o;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;0<u;)t[s+u]=t[s+u-1],u--}t[s]=a}}function Vt(t,e,n,i,r,o){var a=0,s=0,l=1;if(0<o(t,e[n+r])){for(s=i-r;l<s&&0<o(t,e[n+r+l]);)(l=1+((a=l)<<1))<=0&&(l=s);s<l&&(l=s),a+=r,l+=r}else{for(s=r+1;l<s&&o(t,e[n+r-l])<=0;)(l=1+((a=l)<<1))<=0&&(l=s);i=a,a=r-(l=s<l?s:l),l=r-i}for(a++;a<l;){var u=a+(l-a>>>1);0<o(t,e[n+u])?a=u+1:l=u}return l}function Ht(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){for(s=r+1;l<s&&o(t,e[n+r-l])<0;)(l=1+((a=l)<<1))<=0&&(l=s);var u=a,a=r-(l=s<l?s:l),l=r-u}else{for(s=i-r;l<s&&0<=o(t,e[n+r+l]);)(l=1+((a=l)<<1))<=0&&(l=s);s<l&&(l=s),a+=r,l+=r}for(a++;a<l;){var h=a+(l-a>>>1);o(t,e[n+h])<0?l=h:a=h+1}return l}function Gt(t,e){function n(n){var l=i[n],u=r[n],h=i[n+1],c=r[n+1],n=(r[n]=u+c,n===a-3&&(i[n+1]=i[n+2],r[n+1]=r[n+2]),a--,Ht(t[h],t,l,u,0,e));if(l+=n,0!=(u-=n)&&0!==(c=Vt(t[l+u-1],t,h,c,c-1,e)))if(u<=c){var p=l,d=u,n=h,f=c,g=0;for(g=0;g<d;g++)s[g]=t[p+g];var y=0,m=n,v=p;if(t[v++]=t[m++],0==--f)for(g=0;g<d;g++)t[v+g]=s[y+g];else if(1===d){for(g=0;g<f;g++)t[v+g]=t[m+g];t[v+f]=s[y]}else{for(var _,x,w,b=o;;){x=_=0,w=!1;do{if(e(t[m],s[y])<0){if(t[v++]=t[m++],x++,(_=0)==--f){w=!0;break}}else if(t[v++]=s[y++],_++,x=0,1==--d){w=!0;break}}while((_|x)<b);if(w)break;do{if(0!==(_=Ht(t[m],s,y,d,0,e))){for(g=0;g<_;g++)t[v+g]=s[y+g];if(v+=_,y+=_,(d-=_)<=1){w=!0;break}}if(t[v++]=t[m++],0==--f){w=!0;break}if(0!==(x=Vt(s[y],t,m,f,0,e))){for(g=0;g<x;g++)t[v+g]=t[m+g];if(v+=x,m+=x,0==(f-=x)){w=!0;break}}if(t[v++]=s[y++],1==--d){w=!0;break}}while(b--,Gg<=_||Gg<=x);if(w)break;b<0&&(b=0),b+=2}if((o=b)<1&&(o=1),1===d){for(g=0;g<f;g++)t[v+g]=t[m+g];t[v+f]=s[y]}else{if(0===d)throw new Error;for(g=0;g<d;g++)t[v+g]=s[y+g]}}}else{var S=l,C=u,T=h,M=c,I=0;for(I=0;I<M;I++)s[I]=t[T+I];var k=S+C-1,D=M-1,A=T+M-1,P=0,O=0;if(t[A--]=t[k--],0==--C)for(P=A-(M-1),I=0;I<M;I++)t[P+I]=s[I];else if(1===M){for(O=1+(A-=C),P=1+(k-=C),I=C-1;0<=I;I--)t[O+I]=t[P+I];t[A]=s[D]}else{for(var L=o;;){var R=0,E=0,N=!1;do{if(e(s[D],t[k])<0){if(t[A--]=t[k--],R++,(E=0)==--C){N=!0;break}}else if(t[A--]=s[D--],E++,R=0,1==--M){N=!0;break}}while((R|E)<L);if(N)break;do{if(0!=(R=C-Ht(s[D],t,S,C,C-1,e))){for(C-=R,O=1+(A-=R),P=1+(k-=R),I=R-1;0<=I;I--)t[O+I]=t[P+I];if(0===C){N=!0;break}}if(t[A--]=s[D--],1==--M){N=!0;break}if(0!=(E=M-Vt(t[k],s,0,M,M-1,e))){for(M-=E,O=1+(A-=E),P=1+(D-=E),I=0;I<E;I++)t[O+I]=s[P+I];if(M<=1){N=!0;break}}if(t[A--]=t[k--],0==--C){N=!0;break}}while(L--,Gg<=R||Gg<=E);if(N)break;L<0&&(L=0),L+=2}if((o=L)<1&&(o=1),1===M){for(O=1+(A-=C),P=1+(k-=C),I=C-1;0<=I;I--)t[O+I]=t[P+I];t[A]=s[D]}else{if(0===M)throw new Error;for(P=A-(M-1),I=0;I<M;I++)t[P+I]=s[I]}}}}var i,r,o=Gg,a=0,s=[];return i=[],r=[],{mergeRuns:function(){for(;1<a;){var t=a-2;if(1<=t&&r[t-1]<=r[t]+r[t+1]||2<=t&&r[t-2]<=r[t]+r[t-1])r[t-1]<r[t+1]&&t--;else if(r[t]>r[t+1])break;n(t)}},forceMergeRuns:function(){for(;1<a;){var t=a-2;0<t&&r[t-1]<r[t+1]&&t--,n(t)}},pushRun:function(t,e){i[a]=t,r[a]=e,a+=1}}}function Wt(t,e,n,i){var r=(i=i||t.length)-(n=n||0);if(!(r<2)){var o=0;if(r<Hg)Ft(t,n,i,n+(o=zt(t,n,i,e)),e);else{var a,s=Gt(t,e),l=function(t){for(var e=0;Hg<=t;)e|=1&t,t>>=1;return t+e}(r);do{}while((o=zt(t,n,i,e))<l&&(Ft(t,n,n+(a=l<(a=r)?l:r),n+o,e),o=a),s.pushRun(n,o),s.mergeRuns(),n+=o,0!=(r-=o));s.forceMergeRuns()}}}function Ut(){jg||(jg=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function jt(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}function Yt(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=jt}function Xt(t){return-$g<t&&t<$g}function qt(t){return $g<t||t<-$g}function Zt(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function Kt(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function $t(t,e,n,i,r,o){var a,s,i=i+3*(e-n)-t,n=3*(n-2*e+t),e=3*(e-t),t=t-r,r=n*n-3*i*e,l=n*e-9*i*t,t=e*e-3*n*t,u=0;return Xt(r)&&Xt(l)?Xt(n)?o[0]=0:0<=(a=-e/n)&&a<=1&&(o[u++]=a):Xt(e=l*l-4*r*t)?(s=-(t=l/r)/2,0<=(a=-n/i+t)&&a<=1&&(o[u++]=a),0<=s&&s<=1&&(o[u++]=s)):0<e?(e=r*n+1.5*i*(-l-(t=Kg(e))),0<=(a=(-n-((t=(t=r*n+1.5*i*(-l+t))<0?-Zg(-t,Jg):Zg(t,Jg))+(e=e<0?-Zg(-e,Jg):Zg(e,Jg))))/(3*i))&&a<=1&&(o[u++]=a)):(t=(2*r*n-3*i*l)/(2*Kg(r*r*r)),e=Math.acos(t)/3,a=(-n-2*(l=Kg(r))*(t=Math.cos(e)))/(3*i),s=(-n+l*(t+Qg*Math.sin(e)))/(3*i),r=(-n+l*(t-Qg*Math.sin(e)))/(3*i),0<=a&&a<=1&&(o[u++]=a),0<=s&&s<=1&&(o[u++]=s),0<=r&&r<=1&&(o[u++]=r)),u}function Qt(t,e,n,i,r){var o,a=6*n-12*e+6*t,i=9*e+3*i-3*t-9*n,n=3*e-3*t,e=0;return Xt(i)?qt(a)&&0<=(o=-n/a)&&o<=1&&(r[e++]=o):Xt(t=a*a-4*i*n)?r[0]=-a/(2*i):0<t&&(t=(-a-(n=Kg(t)))/(2*i),0<=(o=(-a+n)/(2*i))&&o<=1&&(r[e++]=o),0<=t)&&t<=1&&(r[e++]=t),e}function Jt(t,e,n,i,r,o){var a=(e-t)*r+t,e=(n-e)*r+e,n=(i-n)*r+n,s=(e-a)*r+a,e=(n-e)*r+e,r=(e-s)*r+s;o[0]=t,o[1]=a,o[2]=s,o[3]=r,o[4]=r,o[5]=e,o[6]=n,o[7]=i}function te(t,e,n,i,r,o,a,s,l,u,h){var c,p,d,f,g=.005,y=1/0;ty[0]=l,ty[1]=u;for(var m=0;m<1;m+=.05)ey[0]=Zt(t,n,r,a,m),ey[1]=Zt(e,i,o,s,m),(d=ag(ty,ey))<y&&(c=m,y=d);for(var y=1/0,v=0;v<32&&!(g<1e-4);v++)p=c+g,ey[0]=Zt(t,n,r,a,f=c-g),ey[1]=Zt(e,i,o,s,f),d=ag(ey,ty),0<=f&&d<y?(c=f,y=d):(ny[0]=Zt(t,n,r,a,p),ny[1]=Zt(e,i,o,s,p),f=ag(ny,ty),p<=1&&f<y?(c=p,y=f):g*=.5);return h&&(h[0]=Zt(t,n,r,a,c),h[1]=Zt(e,i,o,s,c)),Kg(y)}function ee(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function ne(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function ie(t,e,n){return n=t+n-2*e,0==n?.5:(t-e)/n}function re(t,e,n,i,r){var o=(e-t)*i+t,e=(n-e)*i+e,i=(e-o)*i+o;r[0]=t,r[1]=o,r[2]=i,r[3]=i,r[4]=e,r[5]=n}function oe(t,e,n,i,r,o,a,s,l){var u,h=.005,c=1/0;ty[0]=a,ty[1]=s;for(var p=0;p<1;p+=.05)ey[0]=ee(t,n,r,p),ey[1]=ee(e,i,o,p),(y=ag(ty,ey))<c&&(u=p,c=y);for(var c=1/0,d=0;d<32&&!(h<1e-4);d++){var f=u-h,g=u+h,y=(ey[0]=ee(t,n,r,f),ey[1]=ee(e,i,o,f),ag(ey,ty));0<=f&&y<c?(u=f,c=y):(ny[0]=ee(t,n,r,g),ny[1]=ee(e,i,o,g),f=ag(ny,ty),g<=1&&f<c?(u=g,c=f):h*=.5)}return l&&(l[0]=ee(t,n,r,u),l[1]=ee(e,i,o,u)),Kg(c)}function ae(t){if(t=t&&iy.exec(t)){var e,t=t[1].split(","),n=+F(t[0]),i=+F(t[1]),r=+F(t[2]),o=+F(t[3]);if(!isNaN(n+i+r+o))return e=[],function(t){return t<=0?0:1<=t?1:$t(0,n,r,1,t,e)&&Zt(0,i,o,1,e[0])}}}function se(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||Z,this.ondestroy=t.ondestroy||Z,this.onrestart=t.onrestart||Z,t.easing&&this.setEasing(t.easing)}function le(){this._len=0}function ue(t){this._list=new ay,this._maxSize=10,this._map={},this._maxSize=t}function he(t){return(t=Math.round(t))<0?0:255<t?255:t}function ce(t){return t<0?0:1<t?1:t}function pe(t){return he(t.length&&"%"===t.charAt(t.length-1)?parseFloat(t)/100*255:parseInt(t,10))}function de(t){return ce(t.length&&"%"===t.charAt(t.length-1)?parseFloat(t)/100:parseFloat(t))}function fe(t,e,n){return n<0?n+=1:1<n&&--n,6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function ge(t,e,n){return t+(e-t)*n}function ye(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function me(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function ve(t,e){hy&&me(hy,e),hy=uy.put(t,hy||e.slice())}function _e(t,e){if(t){e=e||[];var n=uy.get(t);if(n)return me(e,n);if((n=(t+="").replace(/ /g,"").toLowerCase())in ly)return me(e,ly[n]),ve(t,e),e;var i=n.length;if("#"===n.charAt(0))return 4===i||5===i?0<=(r=parseInt(n.slice(1,4),16))&&r<=4095?(ye(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===i?parseInt(n.slice(4),16)/15:1),ve(t,e),e):void ye(e,0,0,0,1):7===i||9===i?0<=(r=parseInt(n.slice(1,7),16))&&r<=16777215?(ye(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===i?parseInt(n.slice(7),16)/255:1),ve(t,e),e):void ye(e,0,0,0,1):void 0;var r=n.indexOf("("),o=n.indexOf(")");if(-1!==r&&o+1===i){var i=n.substr(0,r),a=n.substr(r+1,o-(r+1)).split(","),s=1;switch(i){case"rgba":if(4!==a.length)return 3===a.length?ye(e,+a[0],+a[1],+a[2],1):ye(e,0,0,0,1);s=de(a.pop());case"rgb":return 3<=a.length?(ye(e,pe(a[0]),pe(a[1]),pe(a[2]),3===a.length?s:de(a[3])),ve(t,e),e):void ye(e,0,0,0,1);case"hsla":return 4!==a.length?void ye(e,0,0,0,1):(a[3]=de(a[3]),xe(a,e),ve(t,e),e);case"hsl":return 3!==a.length?void ye(e,0,0,0,1):(xe(a,e),ve(t,e),e);default:return}}ye(e,0,0,0,1)}}function xe(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=de(t[1]),r=de(t[2]),i=r<=.5?r*(i+1):r+i-r*i,r=2*r-i;return ye(e=e||[],he(255*fe(r,i,n+1/3)),he(255*fe(r,i,n)),he(255*fe(r,i,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function we(t,e){var n=_e(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,255<n[i]?n[i]=255:n[i]<0&&(n[i]=0);return Ce(n,4===n.length?"rgba":"rgb")}}function be(t,e,n){var i,r,o;if(e&&e.length&&0<=t&&t<=1)return n=n||[],t*=e.length-1,i=Math.floor(t),o=Math.ceil(t),r=e[i],e=e[o],n[0]=he(ge(r[0],e[0],o=t-i)),n[1]=he(ge(r[1],e[1],o)),n[2]=he(ge(r[2],e[2],o)),n[3]=ce(ge(r[3],e[3],o)),n}function Se(t,e,n){var i,r,o,a;if(e&&e.length&&0<=t&&t<=1)return t*=e.length-1,i=Math.floor(t),r=Math.ceil(t),a=_e(e[i]),e=_e(e[r]),a=Ce([he(ge(a[0],e[0],o=t-i)),he(ge(a[1],e[1],o)),he(ge(a[2],e[2],o)),ce(ge(a[3],e[3],o))],"rgba"),n?{color:a,leftIndex:i,rightIndex:r,value:t}:a}function Ce(t,e){var n;if(t&&t.length)return n=t[0]+","+t[1]+","+t[2],"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}function Te(t,e){return t=_e(t),t?(.299*t[0]+.587*t[1]+.114*t[2])*t[3]/255+(1-t[3])*e:0}function Me(t){var e;return b(t)?((e=dy.get(t))||(e=we(t,-.1),dy.put(t,e)),e):D(t)?((e=l({},t)).colorStops=g(t.colorStops,function(t){return{offset:t.offset,color:we(t.color,-.1)}}),e):t}function Ie(t){var e,n;return t&&"transparent"!==t?"string"==typeof t&&-1<t.indexOf("rgba")&&(n=_e(t))&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3]):t="none",{color:t,opacity:null==e?1:e}}function ke(t){return t<1e-4&&-1e-4<t}function De(t){return fy(1e3*t)/1e3}function Ae(t){return fy(1e4*t)/1e4}function Pe(t){return t&&!!t.image}function Oe(t){return Pe(t)||(t=t)&&!!t.svgElement}function Le(t){return"linear"===t.type}function Re(t){return"radial"===t.type}function Ee(t){return t&&("linear"===t.type||"radial"===t.type)}function Ne(t){return"url(#"+t+")"}function Be(t){return t=t.getGlobalScale(),t=Math.max(t[0],t[1]),Math.max(Math.ceil(Math.log(t)/Math.log(10)),1)}function ze(t){var e=t.x||0,n=t.y||0,i=(t.rotation||0)*ig,r=R(t.scaleX,1),o=R(t.scaleY,1),a=t.skewX||0,t=t.skewY||0,s=[];return(e||n)&&s.push("translate("+e+"px,"+n+"px)"),i&&s.push("rotate("+i+")"),1===r&&1===o||s.push("scale("+r+","+o+")"),(a||t)&&s.push("skew("+fy(a*ig)+"deg, "+fy(t*ig)+"deg)"),s.join(" ")}function Fe(t,e,n){return(e-t)*n+t}function Ve(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=Fe(e[o],n[o],i);return t}function He(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=e[o]+n[o]*i;return t}function Ge(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+n[a][s]*i}return t}function We(t){if(d(t)){var e=t.length;if(d(t[0])){for(var n=[],i=0;i<e;i++)n.push(my.call(t[i]));return n}return my.call(t)}return t}function Ue(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function je(t){return 4===t||5===t}function Ye(t){return 1===t||2===t}function Xe(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}function qe(t,e,n,i){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,(this._loop=e)&&i?o("Can' use additive animation on looped animation."):(this._additiveAnimators=i,this._allowDiscrete=n)}function Ze(){return(new Date).getTime()}function Ke(t){var e=wy.call(this)||this;return e._running=!1,e._time=0,e._pausedTime=0,e._pauseStart=0,e._paused=!1,e.stage=(t=t||{}).stage||{},e}function $e(t){return"pen"===(t=t.pointerType)||"touch"===t}function Qe(t){t&&(t.zrByTouch=!0)}function Je(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}function tn(t,e){var n=e.domHandlers;Pf.pointerEventsSupported?f(Iy.pointer,function(i){nn(e,i,function(e){n[i].call(t,e)})}):(Pf.touchEventsSupported&&f(Iy.touch,function(i){nn(e,i,function(r){var o;n[i].call(t,r),(o=e).touching=!0,null!=o.touchTimer&&(clearTimeout(o.touchTimer),o.touchTimer=null),o.touchTimer=setTimeout(function(){o.touching=!1,o.touchTimer=null},700)})}),f(Iy.mouse,function(i){nn(e,i,function(r){r=_t(r),e.touching||n[i].call(t,r)})}))}function en(t,e){function n(n){nn(e,n,function(i){var r;i=_t(i),Je(t,i.target)||(r=i,i=xt(t.dom,new Py(t,r),!0),e.domHandlers[n].call(t,i))},{capture:!0})}Pf.pointerEventsSupported?f(Dy,n):Pf.touchEventsSupported||f(ky,n)}function nn(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,t.domTarget.addEventListener(e,n,i)}function rn(t){var e,n,i,r,o,a=t.mounted;for(e in a)a.hasOwnProperty(e)&&(n=t.domTarget,r=a[i=e],o=t.listenerOpts[e],n.removeEventListener(i,r,o));t.mounted={}}function on(t,e){var n=Sy.call(this)||this;return n.__pointerCapturing=!1,n.dom=t,n.painterRoot=e,n._localHandlerScope=new Ry(t,Oy),My&&(n._globalHandlerScope=new Ry(document,Ly)),tn(n,n._localHandlerScope),n}function an(t){return 5e-5<t||t<-5e-5}function sn(){}function ln(t,e){for(var n=0;n<jy.length;n++){var i=jy[n];t[i]=e[i]}}function un(t,e){var n=Yy[e=e||Nf],i=(n=n||(Yy[e]=new sy(500))).get(t);return null==i&&(i=zf.measureText(t,e).width,n.put(t,i)),i}function hn(t,e,n,i){return t=un(t,e),e=fn(e),n=pn(0,t,n),i=dn(0,e,i),new Og(n,i,t,e)}function cn(t,e,n,i){var r=((t||"")+"").split("\n");if(1===r.length)return hn(r[0],e,n,i);for(var o=new Og(0,0,0,0),a=0;a<r.length;a++){var s=hn(r[a],e,n,i);0===a?o.copy(s):o.union(s)}return o}function pn(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function dn(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function fn(t){return un("国",t)}function gn(t,e){return"string"==typeof t?0<=t.lastIndexOf("%")?parseFloat(t)/100*e:parseFloat(t):t}function yn(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,h="left",c="top";if(i instanceof Array)l+=gn(i[0],n.width),u+=gn(i[1],n.height),c=h=null;else switch(i){case"left":l-=r,u+=s,h="right",c="middle";break;case"right":l+=r+a,u+=s,c="middle";break;case"top":l+=a/2,u-=r,h="center",c="bottom";break;case"bottom":l+=a/2,u+=o+r,h="center";break;case"inside":l+=a/2,u+=s,h="center",c="middle";break;case"insideLeft":l+=r,u+=s,c="middle";break;case"insideRight":l+=a-r,u+=s,h="right",c="middle";break;case"insideTop":l+=a/2,u+=r,h="center";break;case"insideBottom":l+=a/2,u+=o-r,h="center",c="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,h="right";break;case"insideBottomLeft":l+=r,u+=o-r,c="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,h="right",c="bottom"}return(t=t||{}).x=l,t.y=u,t.align=h,t.verticalAlign=c,t}function mn(t){this.id=Kf++,this.animators=[],this.currentStates=[],this.states={},this._init(t)}function vn(t,e,n,i){function r(t,e){Object.defineProperty(e,0,{get:function(){return t[n]},set:function(e){t[n]=e}}),Object.defineProperty(e,1,{get:function(){return t[i]},set:function(e){t[i]=e}})}Object.defineProperty(Cy,t,{get:function(){var t;return this[e]||(t=this[e]=[],r(this,t)),this[e]},set:function(t){this[n]=t[0],this[i]=t[1],this[e]=t,r(this,t)}})}function _n(t,e,n,i,r){function o(){u=!0,--l<=0&&(u?c&&c():p&&p())}function a(){--l<=0&&(u?c&&c():p&&p())}var s=[],l=(function t(e,n,i,r,o,a,s,l){for(var u=v(r),c=o.duration,p=o.delay,f=o.additive,g=o.setToFinal,y=!T(a),_=e.animators,x=[],w=0;w<u.length;w++){var b=u[w],S=r[b];null!=S&&null!=i[b]&&(y||a[b])?!T(S)||d(S)||D(S)?x.push(b):n?l||(i[b]=S,e.updateDuringAnimation(n)):t(e,b,i[b],S,o,a&&a[b],s,l):l||(i[b]=S,e.updateDuringAnimation(n),x.push(b))}var C=x.length;if(!f&&C)for(var M,I=0;I<_.length;I++)(k=_[I]).targetName===n&&k.stopTracks(x)&&(M=h(_,k),_.splice(M,1));if(o.force||(x=m(x,function(t){return!bn(r[t],i[t])}),C=x.length),0<C||o.force&&!s.length){var k,A=void 0,P=void 0,O=void 0;if(l)for(P={},g&&(A={}),I=0;I<C;I++)b=x[I],P[b]=i[b],g?A[b]=r[b]:i[b]=r[b];else if(g)for(O={},I=0;I<C;I++)b=x[I],O[b]=We(i[b]),wn(i,r,b);(k=new xy(i,!1,!1,f?m(_,function(t){return t.targetName===n}):null)).targetName=n,o.scope&&(k.scope=o.scope),g&&A&&k.whenWithKeys(0,A,x),O&&k.whenWithKeys(0,O,x),k.whenWithKeys(null==c?500:c,l?P:r,x).delay(p||0),e.addAnimator(k,n),s.push(k)}}(t,"",t,e,n=n||{},i,s,r),s.length),u=!1,c=n.done,p=n.aborted;l||c&&c(),0<s.length&&n.during&&s[0].during(function(t,e){n.during(e)});for(var f=0;f<s.length;f++){var g=s[f];g.done(o),g.aborted(a),n.force&&g.duration(n.duration),g.start(n.easing)}return s}function xn(t,e,n){for(var i=0;i<n;i++)t[i]=e[i]}function wn(t,e,n){if(d(e[n]))if(d(t[n])||(t[n]=[]),I(e[n])){var i=e[n].length;t[n].length!==i&&(t[n]=new e[n].constructor(i),xn(t[n],e[n],i))}else{var r=e[n],o=t[n],a=r.length;if(d(r[0]))for(var s=r[0].length,l=0;l<a;l++)o[l]?xn(o[l],r[l],s):o[l]=Array.prototype.slice.call(r[l]);else xn(o,r,a);o.length=r.length}else t[n]=e[n]}function bn(t,e){return t===e||d(t)&&d(e)&&function(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}(t,e)}function Sn(t){var e=Qy.call(this)||this;return e.isGroup=!0,e._children=[],e.attr(t),e}function Cn(t,e,n){var i,r=this,o=(this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t,new Yg),a=n.renderer||"canvas",a=(tm[a]||(a=v(tm)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect,new tm[a](e,o,n,t)),e=n.ssr||a.ssrOnly,t=(this.storage=o,this.painter=a,Pf.node||Pf.worker||e?null:new Ey(a.getViewportRoot(),a.root)),s=n.useCoarsePointer;(null==s||"auto"===s?Pf.touchEventsSupported:!!s)&