diff --git a/accounting/f.tgz b/accounting/f.tgz deleted file mode 100644 index b713dd9..0000000 Binary files a/accounting/f.tgz and /dev/null differ diff --git a/accounting/t/favicon.ico b/accounting/t/favicon.ico deleted file mode 100644 index 34b63ac..0000000 Binary files a/accounting/t/favicon.ico and /dev/null differ diff --git a/accounting/t/index.html b/accounting/t/index.html deleted file mode 100644 index 0ff6ca8..0000000 --- a/accounting/t/index.html +++ /dev/null @@ -1 +0,0 @@ -
0?arguments[0]:void 0,l=this,p=[];if(q(l,{type:A,entries:p,updateURL:function(){},updateSearchParams:$}),void 0!==h)if(d(h))if(e=b(h),"function"===typeof e){t=e.call(h),r=t.next;while(!(n=r.call(t)).done){if(a=y(v(n.value)),i=a.next,(s=i.call(a)).done||(u=i.call(a)).done||!i.call(a).done)throw TypeError("Expected sequence with length 2");p.push({key:s.value+"",value:u.value+""})}}else for(o in h)f(h,o)&&p.push({key:o,value:h[o]+""});else J(p,"string"===typeof h?"?"===h.charAt(0)?h.slice(1):h:h+"")},Z=z.prototype;u(Z,{append:function(e,t){M(arguments.length,2);var r=B(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){M(arguments.length,1);var t=B(this),r=t.entries,n=e+"",a=0;while(ae.key){a.splice(t,0,e);break}t===r&&a.push(e)}n.updateURL()},forEach:function(e){var t,r=B(this).entries,n=p(e,arguments.length>1?arguments[1]:void 0,3),a=0;while(a 1&&(t=arguments[1],d(t)&&(r=t.body,g(r)===A&&(n=t.headers?new L(t.headers):new L,n.has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=m(t,{body:w(0,String(r)),headers:w(0,n)}))),a.push(t)),R.apply(this,a)}}),e.exports={URLSearchParams:z,getState:B}},"9a1f":function(e,t,r){var n=r("825a"),a=r("35a1");e.exports=function(e){var t=a(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return n(t.call(e))}}}]); \ No newline at end of file diff --git a/accounting/t/static/js/chunk-9ea52b44.0cdc4fe8.js b/accounting/t/static/js/chunk-9ea52b44.0cdc4fe8.js deleted file mode 100644 index c431f09..0000000 --- a/accounting/t/static/js/chunk-9ea52b44.0cdc4fe8.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-9ea52b44"],{"03d3":function(t,e,i){},1:function(t,e){},"13a1":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"one",staticStyle:{overflow:"auto !important",height:"100%"}},[i("div",{attrs:{id:"box"}},[i("div",{staticClass:"body"},[i("div",{staticClass:"box_cord"},[t.userlist.length>=1?i("div",[i("input",{directives:[{name:"model",rawName:"v-model",value:t.allChecked,expression:"allChecked"}],staticStyle:{width:"17px",height:"17px"},attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.allChecked)?t._i(t.allChecked,null)>-1:t.allChecked},on:{change:[function(e){var i=t.allChecked,n=e.target,c=!!n.checked;if(Array.isArray(i)){var a=null,s=t._i(i,a);n.checked?s<0&&(t.allChecked=i.concat([a])):s>-1&&(t.allChecked=i.slice(0,s).concat(i.slice(s+1)))}else t.allChecked=c},t.checkAll]}}),i("span",[t._v("全选")])]):t._e()]),t.userlist.length<1?i("h2",{staticStyle:{color:"#aaa","text-align":"center"}},[t._v(" 您的购物车还没有产品哦,请去购物车购买您想要的物品吧 ")]):t._e(),t._l(t.userlist,(function(e){return i("div",{key:e.id,staticClass:"content"},[i("div",[i("div",{staticClass:"del_right",on:{click:function(i){return t.delbtn(e.id)}}},[i("i",{staticClass:"el-icon-close"})]),i("div",[i("input",{directives:[{name:"model",rawName:"v-model",value:e.checked,expression:"item.checked"}],staticStyle:{width:"17px",height:"17px"},attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.checked)?t._i(e.checked,null)>-1:e.checked},on:{click:function(i){return t.trueAllCheck(e.id)},change:function(i){var n=e.checked,c=i.target,a=!!c.checked;if(Array.isArray(n)){var s=null,o=t._i(n,s);c.checked?o<0&&t.$set(e,"checked",n.concat([s])):o>-1&&t.$set(e,"checked",n.slice(0,o).concat(n.slice(o+1)))}else t.$set(e,"checked",a)}}})]),i("div",{staticClass:"content_text"},[i("ul",{staticStyle:{width:"500px"}},[i("li",[t._v("产品名:"+t._s(e.name))]),i("li",[t._v("单价:"+t._s(e.list_price)+"元")]),i("li",[t._v("产品类型:"+t._s(e.ptype))]),i("li",[t._v("规格说明:"+t._s(e.spec_note))])]),i("ul",[i("li",[t._v("产品区域:"+t._s(e.product_area))]),i("li",[t._v("规格模板:"+t._s(e.specific_pattern))]),i("li",[t._v("产品描述:"+t._s(e.description))]),i("li",[1!=e.discount?i("span",{staticStyle:{"font-size":"20px",color:"#ff4949","font-weight":"600","text-shadow":"1px 1px 1px black"}},[t._v("折扣:"+t._s((10*e.discount).toFixed(2))+"折")]):t._e(),t._v(" 小计:¥"+t._s((e.discount*(e.list_price*e.quantity)).toFixed(2))+" ")])])]),i("div",{staticClass:"inputNumber_fu"},[t._v(" 购买数量: "),i("div",{staticClass:"inputNumber"},[i("button",{on:{click:function(i){return t.UpdatedshoppingCartjian(e.quantity,e.id)}}},[i("i",{staticClass:"el-icon-minus"})]),i("span",[t._v(" "+t._s(e.quantity)+" ")]),i("button",{on:{click:function(i){return t.UpdatedshoppingCartjia(e.quantity,e.id)}}},[i("i",{staticClass:"el-icon-plus"})])])])])])})),i("div",{staticClass:"box_cord footer"},[i("div",{staticClass:"text_right"},[i("span",{staticStyle:{"font-size":"20px",color:"#ff4949","font-weight":"600"}},[t._v(" 现价:"+t._s(t.discount_amount.toFixed(2))+" ")]),t.discount_amount!=t.origin_amount?i("del",[t._v(" 原价:"+t._s(t.origin_amount.toFixed(2))+" ")]):t._e()]),i("el-button",{attrs:{type:"danger"},on:{click:function(e){return t.purchase()}}},[t._v(" 结算 ")])],1)],2)])])},c=[],a=(i("d3b7"),i("159b"),i("b680"),i("b64b"),i("e9c4"),i("99af"),i("b775")),s=".dspy";function o(t){return Object(a["a"])({url:"/shopcart/shoppingCartSearch".concat(s,"?userid=").concat(t),method:"get"})}function r(t,e){return Object(a["a"])({url:"/shopcart/shoppingCartUpdate.dspy?quantity=".concat(t,"&id=").concat(e),method:"get"})}function u(t){return Object(a["a"])({url:"/shopcart/shoppingCartDelete.dspy",method:"get",params:t})}function l(t){return console.log(t),Object(a["a"])({url:"bz_order/customer_cartpay.dspy",method:"post",headers:{"Content-Type":"multipart/form-data"},data:t})}i("b64a"),i("a78e");var d={data:function(){return{allChecked:!1,num:{id:"",quantity:1},userlist:[],origin_amount:0,discount_amount:0,delData:{kv:"",id:"",cartid:sessionStorage.getItem("userId")},cartid:"",cartidArray:[]}},mounted:function(){this.gitShoppingCar()},watch:{userlist:{handler:function(){this.allChecked=this.userlist.every((function(t){return t.checked}))},deep:!0}},methods:{checkAll:function(){var t=this;1==this.allChecked?this.userlist.forEach((function(e){e.checked=!0,t.getamount()})):this.userlist.forEach((function(e){e.checked=!1,t.getamount()}))},trueAllCheck:function(){var t=this;this.userlist.forEach((function(e){1==e.checked?t.allChecked=!0:0==e.checked&&(t.allChecked=!1)})),this.getamount()},getamount:function(){var t=this,e=0,i=0,n=[];setTimeout((function(){t.userlist.forEach((function(c){1==c.checked&&(e+=(c.quantity*c.list_price).toFixed(2)-0,i+=(c.quantity*(c.discount*c.list_price)).toFixed(2)-0,n.push(c.id)),t.cartidArray=JSON.parse(JSON.stringify(n)),t.origin_amount=e,t.discount_amount=i}))}),100)},gitShoppingCar:function(){var t=this,e=sessionStorage.getItem("userId");o(e).then((function(e){t.cartid=e.data.cartid,e.data.cart_list.forEach((function(t){t.checked=!1,null==t.discount&&(t.discount=1)})),t.userlist=e.data.cart_list}))},delbtn:function(t){var e=this;this.$confirm("确定从购物车移除此产品?","确定?",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",center:!0}).then((function(){e.delData.id=t,e.delData.kv="1",u(e.delData).then((function(t){e.gitShoppingCar()})),e.$message({type:"success",message:"移除成功!"})})).catch((function(){e.$message({type:"info",message:"已取消删除"})}))},purchase:function(){var t=this;if(this.cartidArray.length<=0)this.open4("请选择您要购买的产品哦");else{var e={id:this.cartid,goods:JSON.stringify(this.cartidArray)};console.log(e);var i=this.getFormData(e);l(i).then((function(e){0!=e.status?t.$router.push({path:"/customer/orderManagement",params:{id:e.bz_id}}):t.open4("啊哦.出错了,请您稍后再试或联系管理员处理")}))}},delbtnAll:function(){var t=this;this.$confirm("是否全部删除",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",center:!0}).then((function(){t.delData.kv="",t.delData.id="",u(t.delData).then((function(e){t.gitShoppingCar()})),t.$message({type:"success",message:"购买成功!"})})).catch((function(){t.$message({type:"info",message:"已取消购买"})}))},UpdatedshoppingCartjia:function(t,e){var i=this;++t,r(t,e).then((function(t){console.log("增加",t),i.gitShoppingCar()})),this.origin_amount=0,this.discount_amount=0},UpdatedshoppingCartjian:function(t,e){var i=this;this.origin_amount=0,this.discount_amount=0,t<2?this.delbtn(e):(--t,r(t,e).then((function(t){console.log("减少",t),i.gitShoppingCar()})))},open4:function(t){this.$message({showClose:!0,message:t,type:"error"})},getFormData:function(t){var e=new FormData;return Object.keys(t).forEach((function(i){var n=t[i];Array.isArray(n)?n.forEach((function(t,n){e.append(i+"[".concat(n,"]"),t)})):e.append(i,t[i])})),e}}},h=d,p=(i("4bce"),i("2877")),f=Object(p["a"])(h,n,c,!1,null,"28794d08",null);e["default"]=f.exports},2:function(t,e){},"4bce":function(t,e,i){"use strict";i("03d3")}}]); \ No newline at end of file diff --git a/accounting/t/static/js/chunk-a7d75488.22082beb.js b/accounting/t/static/js/chunk-a7d75488.22082beb.js deleted file mode 100644 index 4d4ddfa..0000000 --- a/accounting/t/static/js/chunk-a7d75488.22082beb.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-a7d75488"],{3836:function(t,e,n){},"9b0a":function(t,e,n){"use strict";n.r(e);var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{"overflow-x":"scroll","background-color":"white"},attrs:{id:"box"}},[n("div",{staticClass:"myInformation"},[t._v("个人信息")]),n("div",{staticClass:"essentialInformation"},[n("p",{staticClass:"one"},[t._v("基本信息")]),n("div",{staticClass:"disp_top"},[n("div",[n("div",{staticClass:"userImg"},[t._v(t._s(t.nameText))])]),n("div",{staticClass:"disp userID"},[t._m(0),n("div",[n("div",[n("p",[t._v(" "+t._s(t.form.name)+" ")])]),n("p",[t._v(t._s(t.userId))]),n("p",[t._v(t._s(t.form.saleorgname))]),n("p",[t._v(t._s(t.form.saleMgrName))])])]),n("div",{staticClass:"disp userStatus"},[t._m(1),n("div",[n("div",[n("p",[t.form_tel?n("span",[t._v(" "+t._s(t.form.tel)+" "),n("i",{staticClass:"el-icon-edit",on:{click:function(e){t.form_tel=!1}}})]):n("span",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.tel,expression:"form.tel"}],attrs:{type:"text"},domProps:{value:t.form.tel},on:{input:function(e){e.target.composing||t.$set(t.form,"tel",e.target.value)}}}),n("button",{staticClass:"yesBtn",on:{click:function(e){return t.addZJuser(t.form.tel)}}},[t._v(" 保存 ")]),n("button",{staticClass:"yesBtn",on:{click:function(e){t.form_tel=!0}}},[t._v("取消")])])])]),n("div",[n("p",[t.form_email?n("span",[t._v(" "+t._s(t.form.email)+" "),n("i",{staticClass:"el-icon-edit",on:{click:function(e){t.form_email=!1}}})]):n("span",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.email,expression:"form.email"}],attrs:{type:"text"},domProps:{value:t.form.email},on:{input:function(e){e.target.composing||t.$set(t.form,"email",e.target.value)}}}),n("button",{staticClass:"yesBtn",on:{click:function(e){return t.addZJuser(t.form.email)}}},[t._v(" 保存 ")]),n("button",{staticClass:"yesBtn",on:{click:function(e){t.form_email=!0}}},[t._v(" 取消 ")])])])]),n("div",[n("p",[t.form_address?n("span",[t._v(" "+t._s(t.form.address)+" "),n("i",{staticClass:"el-icon-edit",on:{click:function(e){t.form_address=!1}}})]):n("span",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.address,expression:"form.address"}],attrs:{type:"text"},domProps:{value:t.form.address},on:{input:function(e){e.target.composing||t.$set(t.form,"address",e.target.value)}}}),n("button",{staticClass:"yesBtn",on:{click:function(e){return t.addZJuser(t.form.address)}}},[t._v(" 保存 ")]),n("button",{staticClass:"yesBtn",on:{click:function(e){t.form_address=!0}}},[t._v(" 取消 ")])])])])])])])]),n("el-divider"),n("div",{staticClass:"myInformation"},[t._v("账户余额: "),n("span",{staticClass:"balance-style"},[t._v(" ¥ "+t._s(t.balance))]),t._v(" "),n("el-button",{staticStyle:{"margin-left":"50px"},attrs:{type:"primary",size:"small"},on:{click:t.onffline}},[t._v("支付宝充值")])],1),n("div",{staticClass:"particular"},[n("p",[t._v("详细信息")]),n("p",[t._v("用户业务信息和个人信息配置")]),n("div",[n("div",[n("p",[t._v("财务信息")]),n("div",{staticClass:"particular_disp"},[t._m(2),n("div",[n("div",[n("p",[t.form_bankName?n("span",[t._v(" "+t._s(t.form.bankName)+" "),n("i",{staticClass:"el-icon-edit",on:{click:function(e){t.form_bankName=!1}}})]):n("span",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.bankName,expression:"form.bankName"}],attrs:{type:"text"},domProps:{value:t.form.bankName},on:{input:function(e){e.target.composing||t.$set(t.form,"bankName",e.target.value)}}}),n("button",{staticClass:"yesBtn",on:{click:function(e){return t.addZJuser(t.form.bankName)}}},[t._v(" 保存 ")]),n("button",{staticClass:"yesBtn",on:{click:function(e){t.form_bankName=!0}}},[t._v(" 取消 ")])])])]),n("div",[n("p",[t.form_bankAcc?n("span",[t._v(" "+t._s(t.form.bankAcc)+" "),n("i",{staticClass:"el-icon-edit",on:{click:function(e){t.form_bankAcc=!1}}})]):n("span",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.bankAcc,expression:"form.bankAcc"}],attrs:{type:"text"},domProps:{value:t.form.bankAcc},on:{input:function(e){e.target.composing||t.$set(t.form,"bankAcc",e.target.value)}}}),n("button",{staticClass:"yesBtn",on:{click:function(e){return t.addZJuser(t.form.bankAcc)}}},[t._v(" 保存 ")]),n("button",{staticClass:"yesBtn",on:{click:function(e){t.form_bankAcc=!0}}},[t._v(" 取消 ")])])])]),n("div",[n("p",[t.form_identityName?n("span",[t._v(" "+t._s(t.form.identityName)+" "),n("i",{staticClass:"el-icon-edit",on:{click:function(e){t.form_identityName=!1}}})]):n("span",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.identityName,expression:"form.identityName"}],attrs:{type:"text"},domProps:{value:t.form.identityName},on:{input:function(e){e.target.composing||t.$set(t.form,"identityName",e.target.value)}}}),n("button",{staticClass:"yesBtn",on:{click:function(e){return t.addZJuser(t.form.identityName)}}},[t._v(" 保存 ")]),n("button",{staticClass:"yesBtn",on:{click:function(e){t.form_identityName=!0}}},[t._v(" 取消 ")])])])]),n("div",[n("p",[t.form_taxAddress?n("span",[t._v(" "+t._s(t.form.taxAddress)+" "),n("i",{staticClass:"el-icon-edit",on:{click:function(e){t.form_taxAddress=!1}}})]):n("span",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.taxAddress,expression:"form.taxAddress"}],attrs:{type:"text"},domProps:{value:t.form.taxAddress},on:{input:function(e){e.target.composing||t.$set(t.form,"taxAddress",e.target.value)}}}),n("button",{staticClass:"yesBtn",on:{click:function(e){return t.addZJuser(t.form.taxAddress)}}},[t._v(" 保存 ")]),n("button",{staticClass:"yesBtn",on:{click:function(e){t.form_taxAddress=!0}}},[t._v(" 取消 ")])])])]),n("div",[n("p",[t.form_taxTel?n("span",[t._v(" "+t._s(t.form.taxTel)+" "),n("i",{staticClass:"el-icon-edit",on:{click:function(e){t.form_taxTel=!1}}})]):n("span",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.taxTel,expression:"form.taxTel"}],attrs:{type:"text"},domProps:{value:t.form.taxTel},on:{input:function(e){e.target.composing||t.$set(t.form,"taxTel",e.target.value)}}}),n("button",{staticClass:"yesBtn",on:{click:function(e){return t.addZJuser(t.form.taxTel)}}},[t._v(" 保存 ")]),n("button",{staticClass:"yesBtn",on:{click:function(e){t.form_taxTel=!0}}},[t._v(" 取消 ")])])])]),n("div",[n("p",[t.form_taxpayerIdentity?n("span",[t._v(" "+t._s(t.form.taxpayerIdentity)+" "),n("i",{staticClass:"el-icon-edit",on:{click:function(e){t.form_taxpayerIdentity=!1}}})]):n("span",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.taxpayerIdentity,expression:"form.taxpayerIdentity"}],attrs:{type:"text"},domProps:{value:t.form.taxpayerIdentity},on:{input:function(e){e.target.composing||t.$set(t.form,"taxpayerIdentity",e.target.value)}}}),n("button",{staticClass:"yesBtn",on:{click:function(e){return t.addZJuser(t.form.taxpayerIdentity)}}},[t._v(" 保存 ")]),n("button",{staticClass:"yesBtn",on:{click:function(e){t.form_taxpayerIdentity=!0}}},[t._v(" 取消 ")])])])]),n("div",[n("p",[t.form_orgcode?n("span",[t._v(" "+t._s(t.form.orgcode)+" "),n("i",{staticClass:"el-icon-edit",on:{click:function(e){t.form_orgcode=!1}}})]):n("span",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.orgcode,expression:"form.orgcode"}],attrs:{type:"text"},domProps:{value:t.form.orgcode},on:{input:function(e){e.target.composing||t.$set(t.form,"orgcode",e.target.value)}}}),n("button",{staticClass:"yesBtn",on:{click:function(e){return t.addZJuser(t.form.orgcode)}}},[t._v(" 保存 ")]),n("button",{staticClass:"yesBtn",on:{click:function(e){t.form_orgcode=!0}}},[t._v(" 取消 ")])])])])])])]),n("div",[n("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(e){t.showTX=!t.showTX}}},[t._v("腾讯相关业务信息")]),t.showTX?n("div",[t._m(3),n("div",{staticClass:"particular_disp"},[t._m(4),n("div",[n("div",[n("p",[t.form_ak?n("span",[t._v(" "+t._s(t.form.ak)+" "),n("i",{staticClass:"el-icon-edit",on:{click:function(e){t.form_ak=!1}}})]):n("span",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.ak,expression:"form.ak"}],attrs:{type:"text"},domProps:{value:t.form.ak},on:{input:function(e){e.target.composing||t.$set(t.form,"ak",e.target.value)}}}),n("button",{staticClass:"yesBtn",on:{click:function(e){return t.addZJuser(t.form.ak)}}},[t._v(" 保存 ")]),n("button",{staticClass:"yesBtn",on:{click:function(e){t.form_ak=!0}}},[t._v(" 取消 ")])])])]),n("div",[n("p",[t.form_sk?n("span",[t._v(" "+t._s(t.form.sk)+" "),n("i",{staticClass:"el-icon-edit",on:{click:function(e){t.form_sk=!1}}})]):n("span",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.sk,expression:"form.sk"}],attrs:{type:"text"},domProps:{value:t.form.sk},on:{input:function(e){e.target.composing||t.$set(t.form,"sk",e.target.value)}}}),n("button",{staticClass:"yesBtn",on:{click:function(e){return t.addZJuser(t.form.sk)}}},[t._v(" 保存 ")]),n("button",{staticClass:"yesBtn",on:{click:function(e){t.form_sk=!0}}},[t._v(" 取消 ")])])])]),n("div",[n("p",[t.form_thirdId?n("span",[t._v(" "+t._s(t.form.thirdId)+" "),n("i",{staticClass:"el-icon-edit",on:{click:function(e){t.form_thirdId=!1}}})]):n("span",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.thirdId,expression:"form.thirdId"}],attrs:{type:"text"},domProps:{value:t.form.thirdId},on:{input:function(e){e.target.composing||t.$set(t.form,"thirdId",e.target.value)}}}),n("button",{staticClass:"yesBtn",on:{click:function(e){return t.addZJuser(t.form.thirdId)}}},[t._v(" 保存 ")]),n("button",{staticClass:"yesBtn",on:{click:function(e){t.form_thirdId=!0}}},[t._v(" 取消 ")])])])]),n("div",[n("p",[t.form_appId?n("span",[t._v(" "+t._s(t.form.appId)+" "),n("i",{staticClass:"el-icon-edit",on:{click:function(e){t.form_appId=!1}}})]):n("span",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.appId,expression:"form.appId"}],attrs:{type:"text"},domProps:{value:t.form.appId},on:{input:function(e){e.target.composing||t.$set(t.form,"appId",e.target.value)}}}),n("button",{staticClass:"yesBtn",on:{click:function(e){return t.addZJuser(t.form.appId)}}},[t._v(" 保存 ")]),n("button",{staticClass:"yesBtn",on:{click:function(e){t.form_appId=!0}}},[t._v(" 取消 ")])])])]),n("div",[n("p",[t.form_remark?n("span",[t._v(" "+t._s(t.form.remark)+" "),n("i",{staticClass:"el-icon-edit",on:{click:function(e){t.form_remark=!1}}})]):n("span",[n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.remark,expression:"form.remark"}],attrs:{type:"text"},domProps:{value:t.form.remark},on:{input:function(e){e.target.composing||t.$set(t.form,"remark",e.target.value)}}}),n("button",{staticClass:"yesBtn",on:{click:function(e){return t.addZJuser(t.form.remark)}}},[t._v(" 保存 ")]),n("button",{staticClass:"yesBtn",on:{click:function(e){t.form_remark=!0}}},[t._v(" 取消 ")])])])]),n("div",[n("p",[t._v(t._s("渠道商id"))])])])])]):t._e()],1)])]),n("el-dialog",{attrs:{title:"请充值",visible:t.onfflineVisible,width:"40%","before-close":t.handleClose},on:{"update:visible":function(e){t.onfflineVisible=e}}},[n("el-form",{ref:"onfflineForm",attrs:{"label-width":"140px",model:t.onfflineForm}},[n("el-form-item",{attrs:{label:"请输入充值金额:",prop:"amount"}},[n("el-input",{attrs:{placeholder:"充值金额需¥1元以上哦"},model:{value:t.onfflineForm.amount,callback:function(e){t.$set(t.onfflineForm,"amount",e)},expression:"onfflineForm.amount"}})],1)],1),n("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[n("el-button",{on:{click:t.handleClose1}},[t._v("取 消")]),n("el-button",{attrs:{type:"primary"},on:{click:t.onsubmit}},[t._v("确 定")])],1)],1)],1)},s=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("p",[t._v("账号昵称")]),n("p",[t._v("账号ID")]),n("p",[t._v("所属机构")]),n("p",[t._v("销售经理名称")])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("p",[t._v("联系电话")]),n("p",[t._v("联系邮箱")]),n("p",[t._v("地址")])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("p",[t._v("开户行")]),n("p",[t._v("银行账号")]),n("p",[t._v("发票抬头")]),n("p",[t._v("发票地址")]),n("p",[t._v("发票联系电话")]),n("p",[t._v("纳税人识别号")]),n("p",[t._v("统一社会信用代码")])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("p",[t._v(" 腾讯客户信息"),n("span",{staticClass:"hint"},[t._v("提示!:有腾讯相关业务时填写")])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("p",[t._v("ak")]),n("p",[t._v("sk")]),n("p",[t._v("腾讯id")]),n("p",[t._v("腾讯appId")]),n("p",[t._v("备注")]),n("p",[t._v("渠道商Id")])])}],a=(n("b0c0"),n("d81d"),n("b64b"),n("bedf")),r=n("cb18"),i={data:function(){return{onfflineVisible:!1,onfflineForm:{amount:""},rules:{amount:[{required:!0,trigger:"blur",message:"请输入充值金额"},{pattern:/^[+]?(0|([1-9]\d*))?$/,message:"请输入数字"}]},balance:null,showTX:!1,form_name:!0,form_remark:!0,form_tel:!0,form_email:!0,form_address:!0,form_ak:!0,form_sk:!0,form_thirdId:!0,form_bankName:!0,form_appId:!0,form_bankAcc:!0,form_identityName:!0,form_taxAddress:!0,form_taxTel:!0,form_taxpayerIdentity:!0,form_orgcode:!0,userId:sessionStorage.getItem("userId"),form:{},nameText:"",url:""}},mounted:function(){this.getZJUserInfo(),this.myBalance()},methods:{onffline:function(){this.onfflineVisible=!0},onsubmit:function(){var t=this,e={amount:this.onfflineForm.amount,userid:this.userId};this.$refs.onfflineForm.validate((function(n){n?Object(r["b"])(e).then((function(e){1==e.status?(console.log(e),t.$refs.onfflineForm.resetFields(),t.onfflineVisible=!1,t.url=e.url,window.open(t.url,"_blank")):t.$message({message:e.msg,type:"error"})})):t.$message({message:"请输入充值金额",type:"error"})}))},handleClose:function(){var t=this;this.$nextTick((function(){t.$refs.onfflineForm.resetFields(),t.onfflineVisible=!1}))},handleClose1:function(){var t=this;this.$nextTick((function(){t.$refs.onfflineForm.resetFields(),t.onfflineVisible=!1}))},cancel:function(){var t=this;this.$nextTick((function(){t.$refs.onfflineForm.resetFields(),t.onfflineVisible=!1}))},getZJUserInfo:function(){var t=this,e={userid:sessionStorage.getItem("userId")};Object(a["a"])(e).then((function(e){t.form=e.data,t.nameText=t.form.name[0],Object.keys(t.form).map((function(e,n){""==t.form[e]&&(t.form[e]="未填写")}))}))},myBalance:function(){var t=this;Object(r["f"])().then((function(e){null==e.data?t.balance=0:t.balance=e.data}))},addZJuser:function(t){var e=this;if(""==t||"未填写"==t)return this.getZJUserInfo(),void this.open4();this.form_bankName=!0,this.form_name=!0,this.form_tel=!0,this.form_email=!0,this.form_address=!0,this.form_ak=!0,this.form_sk=!0,this.form_thirdId=!0,this.form_appId=!0,this.form_bankAcc=!0,this.form_identityName=!0,this.form_taxAddress=!0,this.form_taxTel=!0,this.form_taxpayerIdentity=!0,this.form_remark=!0,this.form_orgcode=!0,this.form.userid=this.userId,Object.keys(this.form).map((function(t,n){"未填写"==e.form[t]&&(e.form[t]="")})),this.form.supId=99,Object(a["c"])(this.form).then((function(t){if(1==t.status)return e.open2(),void e.getZJUserInfo();e.getZJUserInfo(),e.notFindUsers()}))},open4:function(){this.$message.error("请您填写正确的信息")},notFindUsers:function(){this.$message.error("添加失败")},open2:function(){this.$message({showClose:!0,message:"添加成功",type:"success"})}}},c=i,m=(n("a816"),n("2877")),f=Object(m["a"])(c,o,s,!1,null,"748d5ce3",null);e["default"]=f.exports},a816:function(t,e,n){"use strict";n("3836")},bedf:function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"c",(function(){return a})),n.d(e,"b",(function(){return r})),n.d(e,"d",(function(){return i}));var o=n("b775");function s(t){return Object(o["a"])({url:"zj/getUserInfo.dspy?",method:"get",params:t})}function a(t){return console.log("params:",t),Object(o["a"])({url:"/zj/saveUser.dspy",method:"get",params:t})}function r(t){return Object(o["a"])({url:"/zj/saleGetUsers.dspy",method:"get",params:t})}function i(t){return Object(o["a"])({url:"/zj/syncUser.dspy",method:"get",params:t})}},cb18:function(t,e,n){"use strict";n.d(e,"d",(function(){return a})),n.d(e,"a",(function(){return r})),n.d(e,"e",(function(){return i})),n.d(e,"c",(function(){return c})),n.d(e,"f",(function(){return m})),n.d(e,"b",(function(){return f}));var o=n("b775"),s=".dspy";function a(t){return Object(o["a"])({url:"Organization/getOrganization".concat(s),method:"get",params:t})}function r(t){return Object(o["a"])({url:"examine/ledge_examine".concat(s),method:"get",params:t})}function i(t){return Object(o["a"])({url:"account/getrechargelog".concat(s),method:"get",params:t})}function c(t){return Object(o["a"])({url:"examine/upledger_examine".concat(s),method:"get",params:t})}function m(t){return Object(o["a"])({url:"customer/mybalance".concat(s),method:"get",params:t})}function f(t){return Object(o["a"])({url:"pay/alipays".concat(s),method:"get",params:t})}}}]); \ No newline at end of file diff --git a/accounting/t/static/js/chunk-ac00ff2c.4c94e426.js b/accounting/t/static/js/chunk-ac00ff2c.4c94e426.js deleted file mode 100644 index e69881d..0000000 --- a/accounting/t/static/js/chunk-ac00ff2c.4c94e426.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ac00ff2c"],{"242f":function(t,e,a){},"79f4":function(t,e,a){"use strict";a.r(e);var l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"all-box"},[a("div",{staticClass:"topSelect"},[a("div",{staticClass:"regionStyle itemStyle"},[a("span",{staticClass:"titltStyle"},[t._v("地域:")]),a("el-radio-group",{staticClass:"selectedUlNew",attrs:{fill:"#f2f3f8","text-color":"blue",size:"small"},on:{input:t.handleRegion},model:{value:t.typeMangementForm.region_config,callback:function(e){t.$set(t.typeMangementForm,"region_config",e)},expression:"typeMangementForm.region_config"}},[a("el-radio-button",{attrs:{label:"华北2(北京)",value:"1"}}),a("el-radio-button",{attrs:{label:"华北2(上海)",value:"2"}}),a("el-radio-button",{attrs:{label:"华北1(广州)",value:"3"}}),a("el-radio-button",{attrs:{label:"亚太东南(柔佛)",value:"4"}})],1)],1),a("div",{staticClass:"freeStyle itemStyle"},[a("span",{staticClass:"titltStyle"},[t._v("计费类型:")]),a("el-radio-group",{staticClass:"selectedUlNew",attrs:{fill:"#f2f3f8","text-color":"blue",size:"small"},model:{value:t.typeMangementForm.charge_type,callback:function(e){t.$set(t.typeMangementForm,"charge_type",e)},expression:"typeMangementForm.charge_type"}},[a("el-radio-button",{attrs:{label:"包年包月"}}),a("el-radio-button",{attrs:{label:"按量计费"}})],1)],1),a("div",{staticClass:"freeStyle itemStyle"},[a("span",{staticClass:"titltStyle"},[t._v("实例类型:")]),a("el-radio-group",{staticClass:"selectedUlNew",attrs:{fill:"#f2f3f8","text-color":"blue",size:"small"},model:{value:t.typeMangementForm.instance_type,callback:function(e){t.$set(t.typeMangementForm,"instance_type",e)},expression:"typeMangementForm.instance_type"}},[a("el-radio-button",{attrs:{label:"所有类型"}}),a("el-radio-button",{attrs:{label:"通用型"}}),a("el-radio-button",{attrs:{label:"计算型"}}),a("el-radio-button",{attrs:{label:"本地SSD型"}}),a("el-radio-button",{attrs:{label:"内存型"}}),a("el-radio-button",{attrs:{label:"大数据型"}}),a("el-radio-button",{attrs:{label:"高主频型"}}),a("el-radio-button",{attrs:{label:"突发型"}}),a("el-radio-button",{attrs:{label:"共享型"}})],1)],1)]),a("div",{staticClass:"main-box"},[a("div",{staticClass:"search"}),a("div",{staticClass:"detail"},[a("el-table",{ref:"singleTable",staticStyle:{width:"100%"},attrs:{"empty-text":"-",data:t.tableData,height:"250",border:""},on:{"current-change":t.handleCurrentChange}},[a("el-table-column",{attrs:{label:"选择",width:"50",align:"center","header-align":"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-radio",{attrs:{label:e.row.instance_type_id},nativeOn:{change:function(a){return t.handleSelectionChange(e.$index,e.row)}},model:{value:t.radio,callback:function(e){t.radio=e},expression:"radio"}},[t._v(t._s("")+" ")])]}}])}),a("el-table-column",{attrs:{type:"index",width:"50",label:"序号",align:"center","header-align":"center"}}),a("el-table-column",{attrs:{prop:"instance_type_id",label:"实例规格",align:"center","header-align":"center","min-width":"180"}}),a("el-table-column",{attrs:{label:"vCpu","min-width":"180",align:"center","header-align":"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[""===e.row.name||null===e.row.name?a("span",[t._v("-")]):a("span",[t._v(t._s(e.row.name))])]}}])}),a("el-table-column",{attrs:{label:"内存(GiB)","min-width":"180",align:"center","header-align":"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[0===e.row.baseline_credit||null===e.row.baseline_credit?a("span",[t._v("-")]):a("span",[t._v(t._s(e.row.baseline_credit))])]}}])}),a("el-table-column",{attrs:{prop:"address",label:"处理器型号","min-width":"180",align:"center","header-align":"center"}}),a("el-table-column",{attrs:{prop:"address","min-width":"180",label:"GPU型号",align:"center","header-align":"center"}}),a("el-table-column",{attrs:{prop:"address",label:"GPU显存(GB)","min-width":"180",align:"center","header-align":"center"}})],1)],1)]),a("div",{staticStyle:{"margin-top":"20px"}},[a("div",{staticClass:"nodeSpecificationsTitle"},[t._v("云盘")]),a("div",{staticClass:"regionStyle itemStyle",staticStyle:{"margin-top":"15px"}},[a("span",{staticClass:"titltStyle"},[t._v("系统盘:")]),a("el-select",{attrs:{placeholder:"请选择",size:"small"},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},[a("el-option",{attrs:{label:"item.label",value:"item.value"}}),a("el-option",{attrs:{label:"item.label",value:"item.value"}}),a("el-option",{attrs:{label:"item.label",value:"item.value"}}),a("el-option",{attrs:{label:"item.label",value:"item.value"}})],1),a("el-input-number",{staticStyle:{"margin-left":"15px"},attrs:{min:1,max:10,label:"描述文字",size:"small"},model:{value:t.num,callback:function(e){t.num=e},expression:"num"}})],1),a("div",{staticClass:"regionStyle itemStyle"},[a("span",{staticClass:"titltStyle"},[t._v("数据盘:")]),a("div",{staticClass:"addPan"},[t._l(t.addPanForm,(function(e,l){return a("div",{key:l,staticClass:"panItemStyle",staticStyle:{position:"relative"}},[a("el-select",{attrs:{placeholder:"请选择",size:"small"},model:{value:t.addPanData[l].indexValue,callback:function(e){t.$set(t.addPanData[l],"indexValue",e)},expression:"addPanData[index].indexValue"}},t._l(e.types,(function(t){return a("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1),a("el-input-number",{staticClass:"inputNumberStyle",staticStyle:{"margin-left":"15px"},attrs:{min:1,max:100,label:"描述文字",size:"small"},model:{value:t.addPanData[l].numberValue,callback:function(e){t.$set(t.addPanData[l],"numberValue",e)},expression:"addPanData[index].numberValue"}}),t.addPanData.length===l+1?a("div",{staticClass:"addIconStyle",on:{click:t.deleteDomData}},[a("i",{staticClass:"el-icon-delete",staticStyle:{"font-size":"26px",cursor:"pointer","margin-top":"5px"}})]):t._e()],1)})),a("div",[a("div",{staticClass:"addPanBtn"},[a("i",{staticClass:"el-icon-plus",staticStyle:{color:"blue"}}),a("span",{staticStyle:{cursor:"pointer",color:"#337eff"},on:{click:t.addPanDom}},[t._v("添加数据盘")]),a("span",{staticClass:"messageWords"},[t._v(" 最多添加14个")])])])],2)])]),a("div",{staticStyle:{"margin-top":"20px"}},[a("div",{staticClass:"nodeSpecificationsTitle"},[t._v("弹性公网ip")]),a("div",{staticClass:"regionStyle itemStyle",staticStyle:{"margin-top":"15px"}},[a("span",{staticClass:"titltStyle"},[t._v("创建公网IP:")]),a("el-radio-group",{staticClass:"selectedUlNew",attrs:{fill:"#f2f3f8","text-color":"blue",size:"small"},model:{value:t.typeMangementForm.isCreatePublicIP,callback:function(e){t.$set(t.typeMangementForm,"isCreatePublicIP",e)},expression:"typeMangementForm.isCreatePublicIP"}},[a("el-radio-button",{attrs:{label:"是"}}),a("el-radio-button",{attrs:{label:"否"}})],1)],1),a("div",{staticClass:"regionStyle itemStyle"},[a("span",{staticClass:"titltStyle"},[t._v("线路类型:")]),a("el-radio-group",{staticClass:"selectedUlNew",attrs:{fill:"#f2f3f8","text-color":"blue",size:"small"},model:{value:t.typeMangementForm.line_type,callback:function(e){t.$set(t.typeMangementForm,"line_type",e)},expression:"typeMangementForm.line_type"}},[a("el-radio-button",{attrs:{label:"BGP多线"}})],1)],1),a("div",{staticClass:"regionStyle itemStyle twoTypeStyle"},[a("span",{staticClass:"titltStyle",staticStyle:{"align-self":"flex-start"}},[t._v("带宽上限:")]),a("el-input-number",{attrs:{min:1,max:10,label:"描述文字",size:"small"},model:{value:t.typeMangementForm.bandwidth_limit,callback:function(e){t.$set(t.typeMangementForm,"bandwidth_limit",e)},expression:"typeMangementForm.bandwidth_limit"}}),a("span",{staticStyle:{"padding-left":"10px"}},[t._v("Mbps")])],1),a("div",{staticClass:"regionStyle itemStyle"},[a("span",{staticClass:"titltStyle"},[t._v("购买时长:")]),a("el-radio-group",{staticClass:"selectedUlNew",attrs:{fill:"#f2f3f8","text-color":"blue",size:"small"},model:{value:t.typeMangementForm.purchase_duration,callback:function(e){t.$set(t.typeMangementForm,"purchase_duration",e)},expression:"typeMangementForm.purchase_duration"}},[a("el-radio-button",{attrs:{label:"1月"}}),a("el-radio-button",{attrs:{label:"2月"}}),a("el-radio-button",{attrs:{label:"3月"}}),a("el-radio-button",{attrs:{label:"4月"}}),a("el-radio-button",{attrs:{label:"5月"}}),a("el-radio-button",{attrs:{label:"6月"}}),a("el-radio-button",{attrs:{label:"7月"}}),a("el-radio-button",{attrs:{label:"8月"}}),a("el-radio-button",{attrs:{label:"9月"}}),a("el-radio-button",{attrs:{label:"1年"}}),a("el-radio-button",{attrs:{label:"2年"}}),a("el-radio-button",{attrs:{label:"3年"}})],1)],1),a("div",{staticClass:"regionStyle itemStyle"},[a("span",{staticClass:"titltStyle"},[t._v("购买数量:")]),a("el-input-number",{attrs:{min:1,max:100,label:"描述文字",size:"small"},model:{value:t.typeMangementForm.purchase_quantity,callback:function(e){t.$set(t.typeMangementForm,"purchase_quantity",e)},expression:"typeMangementForm.purchase_quantity"}})],1)]),a("footerBuy",{staticClass:"outsideBox",attrs:{buyMangement:t.buyMangement}})],1)},n=[],i=a("5530"),s=a("c7eb"),o=a("1da1"),r=(a("99af"),a("bd4a"),a("2f62")),c=(a("9048"),a("bd7b")),u={name:"cloudServer",components:{footerBuy:c["a"]},data:function(){return{radio1:"",value:"",radio:"",tableData:[],currentRow:null,num:1,addPanForm:[],addPanData:[],typeMangementForm:{region_config:"华北2(北京)",instance_type:"所有类型",charge_type:"包年包月",isCreatePublicIP:"是",line_type:"BGP多线",bandwidth_limit:1,purchase_duration:"1月",purchase_quantity:1},currentPage:1,pageSize:10,tableContainer:""}},mounted:function(){var t=this;return Object(o["a"])(Object(s["a"])().mark((function e(){var a;return Object(s["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.dom=t.$refs.singleTable.bodyWrapper,console.log(t.dom),a=t,t.dom.addEventListener("scroll",(function(){var e=a.dom.scrollTop,l=t.dom.clientHeight,n=t.dom.scrollHeight;if(e+l>=n-1){console.log("触底了");var i=[{a:18},{a:18},{a:18},{a:18},{a:18},{a:18}];t.tableData=t.tableData.concat(i),console.log(t.tableData.length)}else console.log("newDaat",e+l,n)})),console.log(t.isScrolledToBottom),{instance_charge_type:"PostPaid"},e.next=8,t.$store.dispatch("getVlocanTableObj","PostPaid");case 8:t.tableData=t.vlocanTableObj.data.instance_types,t.$nextTick((function(){t.tableContainer=t.$refs.singleTable.$el.querySelector(".el-table__body")}));case 10:case"end":return e.stop()}}),e)})))()},methods:{handleRegion:function(t,e){var a=this;console.log("radio变化的值是",t,e),this.$store.commit("SETSHOWBUTTIP",!0),setTimeout((function(){a.$store.commit("SETSHOWBUTTIP",!1)}),1e3)},logDAta:function(){console.log("所有盘子的数据",this.addPanData)},handleSelectionChange:function(t){console.log(t)},deleteDomData:function(){this.addPanData.pop(),this.addPanForm.pop()},handleCurrentChange:function(t){console.log(t)},addPanDom:function(){this.addPanData.length,this.addPanData.length;var t={indexValue:"",numberValue:0};this.addPanData.length<=14&&(console.log("当前的数量是",this.addPanData.length),this.addPanData.push(t),this.addPanForm.push({types:[{label:"一号盘",value:"一号盘"},{label:"二号盘",value:"二号盘"},{label:"三号盘",value:"三号盘"},{label:"四号盘",value:"四号盘"}],numbuers:1}))}},computed:Object(i["a"])({},Object(r["c"])({vlocanTableObj:function(t){return t.volcanCloud.vlocanTableObj},vlcanTableSimpleList:function(t){return t.volcanCloud.vlcanTableSimpleList},buyMangement:function(t){return t.volcanCloud.buyMangement}})),beforeDestroy:function(){var t=this;this.dom.removeEventListener("scroll",(function(){var e=_that.dom.scrollTop,a=t.dom.clientHeight,l=t.dom.scrollHeight;if(e+a>=l-1){console.log("触底了");var n=[{a:18}];t.tableData=t.tableData.concat(n),console.log(t.tableData.length)}else console.log("newDaat",e+a,l)})),this.dom=null}},d=u,m=(a("c8af5"),a("2877")),b=Object(m["a"])(d,l,n,!1,null,"553369b4",null);e["default"]=b.exports},9048:function(t,e,a){},"987a":function(t,e,a){},bd7b:function(t,e,a){"use strict";var l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"mainBox"},[a("div",{staticClass:"leftContent"},[a("span",{staticClass:"leftMangementStyle"},[t._v(" 已选配置")]),t._l(t.buyMangement.mangementList,(function(e,l){return a("div",{key:l},[a("span",{staticClass:"mangementItems"},[t._v(t._s(e))])])}))],2),a("div",{staticClass:"rightContent"},[a("span",{staticClass:"freeRightStyle"},[t._v("预估费用")]),t.showBuyTip?a("span",{staticClass:"counting"},[t._v("计算中...")]):a("div",{staticStyle:{display:"flex","justify-content":"center","align-items":"center"}},[a("div",{staticClass:"moneyLast"},[t._v("¥"+t._s(this.buyMangement.lastPrice))]),a("span",{staticClass:"freeDetailStyle"},[t._v(" 费用明细")])]),a("div",{staticClass:"buyBtn"},[t._v("立即购买")]),a("div",{staticClass:"addItem"},[t._v("加入清单")])])])},n=[],i=a("5530"),s=a("2f62"),o={name:"footerBuy",props:["buyMangement"],data:function(){return{}},methods:{},computed:Object(i["a"])({},Object(s["c"])({showBuyTip:function(t){return t.volcanCloud.showBuyTip}}))},r=o,c=(a("e976"),a("2877")),u=Object(c["a"])(r,l,n,!1,null,"4ba46f42",null);e["a"]=u.exports},c8af5:function(t,e,a){"use strict";a("987a")},e976:function(t,e,a){"use strict";a("242f")}}]); \ No newline at end of file diff --git a/accounting/t/static/js/chunk-b151955e.874cd83a.js b/accounting/t/static/js/chunk-b151955e.874cd83a.js deleted file mode 100644 index 1954dce..0000000 --- a/accounting/t/static/js/chunk-b151955e.874cd83a.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b151955e"],{"124a":function(e,t,r){},4275:function(e,t,r){},"6f86":function(e,t,r){"use strict";r("124a")},"789c":function(e,t,r){"use strict";r.d(t,"r",(function(){return i})),r.d(t,"c",(function(){return o})),r.d(t,"i",(function(){return d})),r.d(t,"m",(function(){return s})),r.d(t,"n",(function(){return l})),r.d(t,"t",(function(){return u})),r.d(t,"d",(function(){return c})),r.d(t,"e",(function(){return m})),r.d(t,"v",(function(){return p})),r.d(t,"o",(function(){return f})),r.d(t,"j",(function(){return h})),r.d(t,"q",(function(){return g})),r.d(t,"u",(function(){return b})),r.d(t,"s",(function(){return v})),r.d(t,"b",(function(){return y})),r.d(t,"l",(function(){return F})),r.d(t,"h",(function(){return C})),r.d(t,"a",(function(){return k})),r.d(t,"p",(function(){return O})),r.d(t,"k",(function(){return D})),r.d(t,"g",(function(){return w})),r.d(t,"f",(function(){return j})),r.d(t,"w",(function(){return U}));var a=r("b775"),n=".dspy";function i(e){return Object(a["a"])({url:"/role/getRole".concat(n),method:"get",params:e})}function o(e){return Object(a["a"])({url:"/role/addRole".concat(n),method:"get",params:e})}function d(e){return Object(a["a"])({url:"/role/delRole".concat(n),method:"get",params:e})}function s(e){return Object(a["a"])({url:"/role/putRole".concat(n),method:"get",params:e})}function l(e){return Object(a["a"])({url:"role/addRolePermission".concat(n),method:"post",data:e,headers:{"Content-Type":"multipart/form-data"}})}function u(e){return Object(a["a"])({url:"/user/getUser".concat(n),method:"get",params:e})}function c(e){return Object(a["a"])({url:"/user/addUser".concat(n),method:"get",params:e})}function m(e){return Object(a["a"])({url:"/user/addUserrole".concat(n),method:"post",params:e})}function p(e){return Object(a["a"])({url:"/role/getuserroles".concat(n),method:"get",params:e})}function f(e){return Object(a["a"])({url:"/user/upUser".concat(n),method:"get",params:e})}function h(e){return Object(a["a"])({url:"/user/delUser".concat(n),method:"get",params:e})}function g(e){return Object(a["a"])({url:"/role/getrorgrole".concat(n),method:"get",params:e})}function b(e){return Object(a["a"])({url:"/permission/getpermission".concat(n),method:"get",params:e})}function v(e){return Object(a["a"])({url:"/permission/getRolePermission".concat(n),method:"get",params:e})}function y(e){return Object(a["a"])({url:"/permission/addpermission".concat(n),method:"get",params:e})}function F(e){return Object(a["a"])({url:"/permission/putpermission".concat(n),method:"get",params:e})}function C(e){return Object(a["a"])({url:"/permission/delpermission".concat(n),method:"get",params:e})}function k(e){return Object(a["a"])({url:"/Organization/addOrganization".concat(n),method:"post",data:e,headers:{"Content-Type":"multipart/form-data"}})}function O(e){return Object(a["a"])({url:"/Organization/getOrganization".concat(n),method:"get",params:e})}function D(e){return Object(a["a"])({url:"Organization/upOrganization".concat(n),method:"post",data:e,headers:{"Content-Type":"multipart/form-data"}})}function w(e){return Object(a["a"])({url:"Organization/delOrganization".concat(n),method:"get",params:e})}function j(e){return Object(a["a"])({url:"appcode/appCodesSearch".concat(n),method:"get",params:e})}function U(e){return Object(a["a"])({url:"Organization/myOrganization".concat(n),method:"get",params:e})}},"82d9":function(e,t,r){"use strict";var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"myTree",attrs:{id:""}},[r("el-tree",{ref:"tree",staticClass:"filter-tree",attrs:{data:e.treeData,props:e.defaultProps,"node-key":e.nodeKey,"default-expanded-keys":e.treeExpandId,"filter-node-method":e.filterNode,"default-expand-all":e.defaultExpandAll,"show-checkbox":e.showCheckbox},on:{"node-click":e.treeUpdate},scopedSlots:e._u([{key:"default",fn:function(t){var a=t.node,n=t.data;return r("span",{staticClass:"custom-tree-node"},[r("span",{staticClass:"nameVal"},[e._v(e._s(a.label))]),r("span",{staticClass:"btnGroup"},[1==a.level&&e.isAddDel?r("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"添加同级节点",placement:"bottom"}},[r("i",{staticClass:"el-icon-circle-plus-outline",on:{click:function(t){return t.stopPropagation(),function(){return e.append(a,n,"addbrother")}()}}})]):e._e(),e.isAddDel?r("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"添加子级节点",placement:"bottom"}},[r("i",{staticClass:"el-icon-circle-plus-outline",on:{click:function(t){return t.stopPropagation(),function(){return e.append(a,n,"addson")}()}}})]):e._e(),r("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"编辑",placement:"bottom"}},[e.isEdit?r("i",{staticClass:"el-icon-edit",on:{click:function(t){return t.stopPropagation(),function(){return e.update(a,n)}()}}}):e._e()]),e.isAddDel?r("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"删除",placement:"bottom"}},[r("el-popover",{ref:"popover-"+n.id,attrs:{placement:"top",width:"160"},model:{value:n.delConfirmVisible,callback:function(t){e.$set(n,"delConfirmVisible",t)},expression:"data.delConfirmVisible"}},[r("p",[e._v("确认删除该节点吗?")]),r("div",{staticStyle:{"text-align":"right",margin:"0"}},[r("el-button",{attrs:{size:"mini",type:"text"},on:{click:function(t){return e.popoverCancel(a,n)}}},[e._v("取消")]),r("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){return e.opoverSubmit(a,n)}}},[e._v("确定")])],1),r("i",{staticClass:"el-icon-delete",attrs:{slot:"reference"},on:{click:function(t){return t.stopPropagation(),function(){return e.remove(a,n)}()}},slot:"reference"})])],1):e._e()],1)])}}])}),r("el-dialog",{attrs:{title:1==e.editIndex?"创建":"编辑",visible:e.dialogFormVisible},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[r("el-form",{ref:"addForm",attrs:{model:e.addForm,rules:e.formRules,"label-width":e.labelWidth+"px"}},e._l(e.addFormArr,(function(t,a){return r("div",{key:a},[r("el-form-item",{attrs:{label:t.label,prop:t.prop}},[r("el-input",{model:{value:e.addForm[t.prop],callback:function(r){e.$set(e.addForm,t.prop,r)},expression:"addForm[item.prop]"}})],1)],1)})),0),r("div",{staticClass:"btnGroup",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:function(t){return e.resetForm("addForm")}}},[e._v("取消")]),r("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm("addForm")}}},[e._v("确定")])],1)],1)],1)},n=[],i=(r("a9e3"),r("d3b7"),r("159b"),r("b64b"),{name:"Organization",props:{id:{type:String,default:"Mytree",required:!0},nodeKey:{type:String,default:"id",required:!0},showCheckbox:{type:Boolean,default:!1},defaultExpandAll:{type:Boolean,default:!1},treeData:{type:Array,default:function(){return new Array}},defaultProps:{type:Object},isAddDel:{type:Boolean,default:!1},isEdit:{type:Boolean,default:!1},addFormArr:{type:Array,default:function(){return new Array}},addForm:{type:Object,default:function(){return{}}},labelWidth:{type:Number,default:100},formRules:{type:Object,default:function(){return{}}}},data:function(){return{popoverVisible:!1,dialogFormVisible:!1,treeExpandId:[],editIndex:1,editForm:null}},watch:{},mounted:function(){},methods:{filterNode:function(e,t){if(!e)return!0;this.$emit("filterNodeChange",{value:e,data:t})},submitForm:function(e){var t=this;this.$refs[e].validate((function(e){if(!e)return!1;t.editIndex?t.$emit("treeSubmitChange",t.addForm):(t.editForm=t.addForm,t.$emit("treeEditChange",t.editForm))}))},resetForm:function(e){this.$refs[e].resetFields(),this.dialogFormVisible=!1},append:function(e,t,r){"addson"==r&&(this.addForm.parentid=t.id),this.editIndex=1,this.dialogFormVisible=!0},update:function(e,t){var r=this;"addbrother"==type&&delete this.addForm.parentid,Object.keys(t).forEach((function(e){r.addForm[e]=t[e]})),this.editIndex=0,this.dialogFormVisible=!0},treeUpdate:function(e,t){this.$emit("treeUpdateChange",{node:e,data:t})},remove:function(e,t){},tabHandleClick:function(){},popoverCancel:function(e,t){t.delConfirmVisible=!1},opoverSubmit:function(e,t){t.delConfirmVisible=!1,this.$emit("treeDelChange",{node:e,data:t})},getCheckedKeys:function(){return this.$refs.tree.getCheckedKeys()},setCheckedNodes:function(e){this.$refs.tree.setCheckedNodes(e)}}}),o=i,d=(r("b7a4"),r("2877")),s=Object(d["a"])(o,a,n,!1,null,"6668ebda",null);t["a"]=s.exports},b7a4:function(e,t,r){"use strict";r("4275")},dd90:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"departmentManagement"},[r("el-row",{attrs:{gutter:10}},[r("el-col",{attrs:{span:8}},[r("el-card",{staticClass:"left"},[e.treeData.length==[]?r("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.addDepartment()}}},[e._v("请添加部门")]):r("Tree",{ref:"tree",attrs:{id:"tree","node-key":"id","tree-data":e.treeData,"add-form-arr":e.addFormArr,"add-form":e.addForm,"default-props":e.defaultProps,"default-expand-all":!0,"is-add-del":!0},on:{treeDelChange:e.treeDelChange,treeSubmitChange:e.treeSubmitChange,treeUpdateChange:e.treeUpdateChange,treeEditChange:e.treeEditChange}})],1)],1),r("el-col",{attrs:{span:16}},[r("el-card",{staticClass:"right"},[r("el-button",{attrs:{type:"primary",size:"small",disabled:e.isDisabled},on:{click:e.addDepartmentUser}},[e._v("编辑部门人员")]),r("el-table",{staticStyle:{width:"100%"},attrs:{data:e.departmentUserList,border:"",height:"700"}},[r("el-table-column",{attrs:{prop:"username",label:"用户名称",width:"120"}}),r("el-table-column",{attrs:{prop:"",label:"职位",width:"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{directives:[{name:"show",rawName:"v-show",value:t.row.id==e.depleaderid,expression:"scope.row.id==depleaderid"}]},[e._v("主管")]),r("div",{directives:[{name:"show",rawName:"v-show",value:t.row.id==e.depviceid,expression:"scope.row.id==depviceid"}]},[e._v("副主管")])]}}])}),r("el-table-column",{attrs:{prop:"address",label:"地址",width:"120"}}),r("el-table-column",{attrs:{prop:"mobile",label:"手机号",width:"150"}}),r("el-table-column",{attrs:{prop:"email",label:"邮箱"}}),r("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[r("div",{staticStyle:{display:"flex","flex-direction":"row"}},[r("el-button",{attrs:{size:"small",type:"primary",disabled:t.row.id==e.depleaderid||t.row.id==e.depviceid},on:{click:function(r){return e.addCharge(t.row)}}},[e._v("设置为主管")]),r("el-button",{attrs:{size:"small",type:"primary",disabled:t.row.id==e.depleaderid||t.row.id==e.depviceid},on:{click:function(r){return e.addChargeSon(t.row)}}},[e._v("设置为副主管")])],1)]}}])})],1)],1)],1)],1),r("el-dialog",{attrs:{visible:e.dialogFormVisible,width:"35%",title:"请添加部门"},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[r("el-form",{ref:"addForm",attrs:{model:e.addForm,rules:e.rules,"label-width":"110px"}},e._l(e.addFormArr,(function(t,a){return r("div",{key:a},[r("el-form-item",{attrs:{label:t.label+":",prop:t.prop}},[r("el-input",{model:{value:e.addForm[t.prop],callback:function(r){e.$set(e.addForm,t.prop,r)},expression:"addForm[item.prop]"}})],1)],1)})),0),r("div",{staticClass:"btnGroup",attrs:{slot:"footer"},slot:"footer"},[r("el-button",{attrs:{size:"small"},on:{click:function(t){return e.resetForm("addForm")}}},[e._v("取消")]),r("el-button",{attrs:{type:"primary",size:"small"},on:{click:function(t){return e.submitForm("addForm")}}},[e._v("确定")])],1)],1),r("el-dialog",{attrs:{title:"请为"+e.addUserTitle+"添加人员",visible:e.addUserDialog,width:"30%"},on:{"update:visible":function(t){e.addUserDialog=t}}},[r("Tree",{ref:"addUserTree",attrs:{"default-props":e.defaultProps1,id:"addUserid","node-key":"id",treeData:e.orgTreeDate,"default-expand-all":!0,"show-checkbox":!0}}),r("div",{staticStyle:{display:"flex","justify-content":"center"}},[r("el-button",{attrs:{size:"small"},on:{click:e.cancelAdd}},[e._v("取消添加")]),r("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.depSubmit}},[e._v("确定添加")])],1)],1)],1)},n=[],i=r("5530"),o=(r("d81d"),r("e9c4"),r("d3b7"),r("159b"),r("b64b"),r("82d9")),d=r("b775"),s=".dspy";function l(e){return Object(d["a"])({url:"/department/getdepartment".concat(s),method:"get",params:e})}function u(e){return Object(d["a"])({url:"/department/adddepartment".concat(s),method:"post",data:e,headers:{"Content-Type":"multipart/form-data"}})}function c(e){return Object(d["a"])({url:"/department/deldepartment".concat(s),method:"get",params:e})}function m(e){return Object(d["a"])({url:"/department/updepartment".concat(s),method:"get",params:e})}function p(e){return Object(d["a"])({url:"/department/adduserdepartment".concat(s),method:"post",data:e,headers:{"Content-Type":"multipart/form-data"}})}function f(e){return Object(d["a"])({url:"/department/getuserdepartment".concat(s),method:"get",params:e})}var h=r("789c"),g={name:"departmentManagement",components:{Tree:o["a"]},data:function(){return{isDisabled:!0,dialogFormVisible:!1,addUserDialog:!1,treeData:[],orgTreeDate:[],departmentUserList:[],userid:sessionStorage.getItem("userId"),departmendid:null,addUserTitle:"",addUserList:[],treeNode:null,depleaderid:null,depviceid:null,addForm:{depname:""},form:{depname:""},addFormArr:[{label:"部门名称",prop:"depname"}],rules:{depname:[{required:!0,message:"请输入部门名称",trigger:"blur"}]},defaultProps:{children:"son",label:"depname"},defaultProps1:{children:"son",label:"username"}}},created:function(){this.getDepartment()},methods:{getDepartment:function(){var e=this;l({userid:this.userid}).then((function(t){e.treeData=t.data}))},addDepartment:function(){this.dialogFormVisible=!0},treeSubmitChange:function(e){var t=this,r=Object(i["a"])(Object(i["a"])({},e),{},{userid:this.userid}),a=this.getFormData(r);u(a).then((function(e){1==e.status?(t.$message({message:"部门添加成功",type:"success"}),t.getDepartment(),t.$refs.tree.resetForm("addForm"),t.$refs.tree.dialogFormVisible=!1):t.$message({message:e.msg,type:"error"})}))},submitForm:function(e){var t=this,r={depname:this.addForm.depname,userid:this.userid},a=this.getFormData(r);this.$refs[e].validate((function(e){e&&u(a).then((function(e){1==e.status?(t.$message({message:"添加部门成功",type:"success"}),t.dialogFormVisible=!1,t.$refs.addForm.resetFields(),t.getDepartment()):t.$message({message:e.msg,type:"error"})}))}))},treeUpdateChange:function(e){this.isDisabled=!1,this.depleaderid=null,this.depviceid=null,this.departmendid=e.data.data.id,this.addUserTitle=e.data.data.depname,this.getUserDepartment()},treeEditChange:function(e){},getUserDepartment:function(){var e=this;f({depid:this.departmendid}).then((function(t){1==t.status&&(e.depleaderid=null,e.depviceid=null,e.departmentUserList=null,t.users.length&&t.users.map((function(t){t.depleaderid&&(e.depleaderid=t.depleaderid),t.depviceid&&(e.depviceid=t.depviceid)})),e.departmentUserList=t.data.map((function(e){var t={username:e.user.username,id:e.user.id,address:e.user.address,email:e.user.email,mobile:e.user.mobile};return t})))}))},addDepartmentUser:function(){var e=this;this.addUserDialog=!0,Object(h["w"])({id:this.userid}).then((function(t){1==t.status&&(e.orgTreeDate=t.users,e.$nextTick((function(){e.$refs.addUserTree.setCheckedNodes(e.departmentUserList),e.getUserDepartment()})))}))},depSubmit:function(){var e=this,t=this.$refs.addUserTree.getCheckedKeys(),r={depid:this.departmendid,userid:JSON.stringify(t)},a=this.getFormData(r);p(a).then((function(t){1==t.status?(e.$message({message:"人员添加成功",type:"success"}),e.getUserDepartment(),e.addUserDialog=!1):e.$message({message:t.msg,type:"error"})}))},addCharge:function(e){var t=this;this.$confirm("确定设置为主管?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){m({id:t.departmendid,depleaderid:e.id}).then((function(e){1==e.status&&(t.$message({message:"主管设置成功",type:"success"}),t.getUserDepartment())}))})).catch((function(){t.$message({type:"info",message:"已取消设置"})}))},addChargeSon:function(e){var t=this;this.$confirm("确定设置为副主管?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){m({id:t.departmendid,depviceid:e.id}).then((function(e){1==e.status&&(t.$message({message:"副主管设置成功",type:"success"}),t.getUserDepartment())}))})).catch((function(){t.$message({type:"info",message:"已取消设置"})}))},cancelAdd:function(){this.addUserDialog=!1},treeDelChange:function(e){var t=this;c({id:e.data.id}).then((function(e){1==e.status?(t.$message({message:"部门删除成功",type:"success"}),t.getDepartment(),t.$refs.tree.dialogFormVisible=!1):t.$message({message:e.msg,type:"error"})}))},resetForm:function(e){this.$refs[e].resetFields(),this.dialogFormVisible=!1},getFormData:function(e){var t=new FormData;return Object.keys(e).forEach((function(r){var a=e[r];Array.isArray(a)?a.forEach((function(e,a){t.append(r+"[".concat(a,"]"),e)})):t.append(r,e[r])})),t}}},b=g,v=(r("6f86"),r("2877")),y=Object(v["a"])(b,a,n,!1,null,"d58a304c",null);t["default"]=y.exports}}]); \ No newline at end of file diff --git a/accounting/t/static/js/chunk-c768005a.0246e116.js b/accounting/t/static/js/chunk-c768005a.0246e116.js deleted file mode 100644 index 7dd910e..0000000 --- a/accounting/t/static/js/chunk-c768005a.0246e116.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c768005a"],{"0fdd":function(e,t,s){"use strict";s("6112")},"2a0b":function(e,t,s){e.exports=s.p+"static/img/login-box-bg.959c4e38.svg"},"32d2":function(e,t,s){"use strict";s("7f95")},6112:function(e,t,s){},"7f95":function(e,t,s){},"87e0":function(e,t,s){},"9ed6":function(e,t,s){"use strict";s.r(t);var o=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"container"},[o("div",{staticClass:"container_box"},[o("div",{staticClass:"mainBg"},[o("div",[o("div",{staticClass:"leftLogo"},[o("div",{staticClass:"logo"},[o("div",{staticClass:"logo_img"},[e.photosUrl&&"业主机构"!=e.photosUrl.orgname?o("img",{staticStyle:{width:"90px",height:"50px"},attrs:{src:e.logoImg,alt:""}}):o("img",{staticStyle:{width:"90px",height:"50px"},attrs:{src:s("bc9f"),alt:""}})]),o("div",{staticClass:"logo_text"},[e.photosUrl&&"业主机构"==e.photosUrl.orgname?o("img",{attrs:{src:s("e11f"),alt:""}}):o("span",[e._v(e._s(e.logoText))])])]),e._m(0),o("div",{staticStyle:{width:"100%",height:"35px"}}),o("span",{staticClass:"titleHeader"},[e._v("欢迎使用"+e._s(e.logoText)+"业务支撑系统!")])])])]),o("el-row",{staticClass:"loginFromStyle",attrs:{span:24}},[o("el-col",{staticClass:"a24Style",attrs:{span:24}},[o("div",{staticClass:"login-container"},[o("div",{staticClass:"title-container"},[o("h1",{staticClass:"title",staticStyle:{color:"black"}},[e._v("登录")])]),o("el-form",{ref:"loginForm",staticClass:"login-form",attrs:{model:e.loginForm,rules:e.rules,autocomplete:"on","label-position":"left"}},[o("el-form-item",{staticStyle:{"background-color":"white",border:"1px solid #d9d9d9"},attrs:{prop:"username"}},[o("span",{staticClass:"svg-container"},[o("svg-icon",{attrs:{"icon-class":"user"}})],1),o("el-input",{ref:"username",staticClass:"userInput",staticStyle:{"background-color":"white"},attrs:{placeholder:"请输入用户名/手机号",name:"username",type:"text"},model:{value:e.loginForm.username,callback:function(t){e.$set(e.loginForm,"username",t)},expression:"loginForm.username"}})],1),o("el-tooltip",{attrs:{content:"Caps lock is On",placement:"right",manual:""},model:{value:e.capsTooltip,callback:function(t){e.capsTooltip=t},expression:"capsTooltip"}},[o("el-form-item",{staticStyle:{"background-color":"white",border:"1px solid #d9d9d9"},attrs:{prop:"password"}},[o("span",{staticClass:"svg-container"},[o("svg-icon",{attrs:{"icon-class":"password"}})],1),o("el-input",{key:e.passwordType,ref:"password",attrs:{type:e.passwordType,placeholder:"请输入密码",name:"password"},on:{blur:function(t){e.capsTooltip=!1}},nativeOn:{keyup:[function(t){return e.checkCapslock(t)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleLogin(t)}]},model:{value:e.loginForm.password,callback:function(t){e.$set(e.loginForm,"password",t)},expression:"loginForm.password"}}),o("span",{staticClass:"show-pwd",on:{click:e.showPwd}},[o("svg-icon",{attrs:{"icon-class":"password"===e.passwordType?"eye":"eye-open"}})],1)],1)],1),o("el-button",{staticStyle:{"margin-left":"20px"},attrs:{type:"text"},on:{click:function(t){return e.resetPassword()}}},[e._v("忘记密码?")]),o("el-button",{staticStyle:{width:"100%","margin-bottom":"30px","margin-left":"0px"},attrs:{loading:e.loading,type:"primary"},nativeOn:{click:function(t){return t.preventDefault(),e.handleLogin("loginForm")}}},[e._v("登录 ")]),o("el-button",{staticStyle:{width:"100%","margin-bottom":"30px","margin-left":"0px"},attrs:{loading:e.loading,type:"primary"},nativeOn:{click:function(t){return t.preventDefault(),e.handleRegister(t)}}},[e._v("注册 ")])],1)],1)])],1)],1),o("el-dialog",{staticClass:"myDialog",attrs:{title:"请重新设置密码",visible:e.dialogVisible,width:"25%"},on:{"update:visible":function(t){e.dialogVisible=t}}},[o("el-form",{ref:"form",attrs:{model:e.form,"label-width":"100px",rules:e.forms}},[o("el-form-item",{attrs:{label:"用户名:",prop:"username"}},[o("el-input",{staticClass:"name-input",staticStyle:{"background-color":"white"},attrs:{placeholder:"请先输入用户名/手机号"},model:{value:e.form.username,callback:function(t){e.$set(e.form,"username",t)},expression:"form.username"}})],1),o("el-form-item",{attrs:{label:"密码:",prop:"password"}},[o("el-input",{attrs:{placeholder:"请输入新密码"},model:{value:e.form.password,callback:function(t){e.$set(e.form,"password",t)},expression:"form.password"}})],1),o("el-form-item",{attrs:{label:"验证码:",prop:"vcode"}},[o("div",{staticStyle:{display:"flex","flex-direction":"row"}},[o("el-input",{ref:"vcode",attrs:{placeholder:"请输入验证码",name:"vcode",type:"text"},model:{value:e.form.vcode,callback:function(t){e.$set(e.form,"vcode",t)},expression:"form.vcode"}}),o("el-button",{staticStyle:{height:"40px","margin-left":"10px"},attrs:{type:"primary",size:"mini",disabled:e.isDisabled1},on:{click:e.getCode1}},[e._v(e._s(e.SendCode_text1)+" ")])],1)]),o("div",{staticClass:"dialog-footer"},[o("el-button",{attrs:{size:"small"},on:{click:e.cancelReset}},[e._v("取 消")]),o("el-button",{attrs:{type:"primary",size:"small"},on:{click:e.handleSubmit}},[e._v("确 定")])],1)],1)],1)],1)},i=[function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"windowsLogo"},[o("img",{attrs:{src:s("2a0b"),alt:""}})])}],r=(s("13d5"),s("d3b7"),s("b64b"),s("c62e")),a=s("7ded"),n={name:"Login",components:{SocialSign:r["a"]},data:function(){return{dialogVisible:!1,SendCode_text:"获取验证码",time_count:60,timer:null,SendCode_text1:"获取验证码",time_count1:60,timer1:null,form:{username:"",vcode:"",password:"",id:"",codeid:""},loginForm:{username:"",password:"",vcode:""},rules:{username:[{required:!0,message:"请输入姓名",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"}],code:[{required:!0,message:"请输入验证码",trigger:"blur"}]},forms:{username:[{required:!0,message:"请输入姓名",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"}],vcode:[{required:!0,message:"请输入验证码",trigger:"blur"}]},passwordType:"password",capsTooltip:!1,loading:!1,redirect:void 0,otherQuery:{},isDisabled:!1,isDisabled1:!1,logoImg:s("bc9f"),logoText:"开元云",photosUrl:null,url:window.location.href}},watch:{$route:{handler:function(e){var t=e.query;t&&(this.redirect=t.redirect,this.otherQuery=this.getOtherQuery(t))},immediate:!0}},created:function(){this.init()},mounted:function(){""===this.loginForm.username?this.$refs.username.focus():""===this.loginForm.password&&this.$refs.password.focus()},destroyed:function(){},methods:{init:function(){var e=this;Object(a["d"])({url_link:this.GetQueryString(this.url)}).then((function(t){1==t.status&&t.data&&t.data.length?(e.photosUrl=t.data[0],e.loginForm.domain_name=e.photosUrl.domain_name,"业主机构"!=e.photosUrl.orgname&&(e.logoImg=e.photosUrl.logo,e.logoText=e.photosUrl.orgname)):e.$message({message:t.msg,type:"error"})}))},checkCapslock:function(e){var t=e.key;this.capsTooltip=t&&1===t.length&&t>="A"&&t<="Z"},showPwd:function(){var e=this;"password"===this.passwordType?this.passwordType="":this.passwordType="password",this.$nextTick((function(){e.$refs.password.focus()}))},enter:function(){this.handleLogin()},GetQueryString:function(e){if(-1!=this.url.indexOf("#")){var t=e.split("#")[0];return t}},getCode:function(){var e=this;Object(a["c"])({username:this.loginForm.username}).then((function(t){if(1==t.status){e.loginForm.codeid=t.codeid;var s=e;s.timer||(s.timer=setInterval((function(){s.time_count>0?(e.isDisabled=!0,s.time_count--,s.SendCode_text="重新发送"+s.time_count+"s"):(s.SendCode_text="获取验证码",clearInterval(s.timer),s.timer=null,e.isDisabled=!1,s.time_count=60)}),1e3)),e.$message({message:"验证码获取成功",type:"success"})}else e.$message({message:t.msg,type:"error"}),console.log(t)}))},getCode1:function(){var e=this;Object(a["m"])({username:this.form.username}).then((function(t){if(1==t.status){e.form.id=t.userid,e.form.codeid=t.codeid;var s=e;s.timer1||(s.timer1=setInterval((function(){s.time_count1>0?(e.isDisabled1=!0,s.time_count1--,s.SendCode_text1="重新发送"+s.time_count1+"s"):(s.SendCode_text1="获取验证码",clearInterval(s.timer1),s.timer1=null,e.isDisabled1=!1,s.time_count1=60)}),1e3)),e.$message({message:"验证码获取成功",type:"success"})}else e.$message({message:t.msg,type:"error"})}))},resetPassword:function(){this.dialogVisible=!0,this.$refs.loginForm.resetFields()},handleSubmit:function(){var e=this,t={id:this.form.id,password:this.form.password,codeid:this.form.codeid,vcode:this.form.vcode};Object(a["e"])(t).then((function(t){1==t.status?(e.$message({message:"密码重置成功",type:"success"}),e.isDisabled1=!1,e.dialogVisible=!1,that.SendCode_text1="获取验证码",clearInterval(that.timer1),that.timer1=null,that.time_count1=60,e.$refs.form.resetFields()):e.$message({message:t.msg,type:"error"})}))},cancelReset:function(){this.dialogVisible=!1,this.$refs.form.resetFields()},handleLogin:function(e){var t=this;this.$refs[e].validate((function(e){if(!e)return t.$message({message:"请查看登录信息格式",type:"error"}),t.$refs.loginForm.resetFields(),!1;Object(a["i"])({username:t.loginForm.username,password:t.loginForm.password,domain_name:t.photosUrl.domain_name}).then((function(e){1==e.status?(t.loading=!0,t.$store.dispatch("user/login",t.loginForm).then((function(e){1!=e.admin&&sessionStorage.setItem("juese",e.roles[0]),1==e.status?(t.loading=!1,sessionStorage.setItem("userId",e.userId),sessionStorage.setItem("org_type",e.org_type),t.$router.push({path:"/"}),"2"!=sessionStorage.getItem("org_type")&&"3"!=sessionStorage.getItem("org_type")||t.$router.push({name:"index"}),t.$message({message:"登录成功",type:"success"})):t.$message({message:e.msg,type:"error"})})).catch((function(e){t.$message({message:e.msg,type:"error"}),t.loading=!1}))):t.$message({message:e.msg,type:"error"})}))}))},handleRegister:function(){this.$router.push({name:"registrationPage"})},getOtherQuery:function(e){return Object.keys(e).reduce((function(t,s){return"redirect"!==s&&(t[s]=e[s]),t}),{})}}},l=n,c=(s("0fdd"),s("32d2"),s("2877")),d=Object(c["a"])(l,o,i,!1,null,"ca6d3178",null);t["default"]=d.exports},bc9f:function(e,t,s){e.exports=s.p+"static/img/colorLogo.af24d249.png"},bfec:function(e,t,s){"use strict";s("87e0")},c62e:function(e,t,s){"use strict";var o=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"social-signup-container"},[s("div",{staticClass:"sign-btn",on:{click:function(t){return e.wechatHandleClick("wechat")}}},[s("span",{staticClass:"wx-svg-container"},[s("svg-icon",{staticClass:"icon",attrs:{"icon-class":"wechat"}})],1),e._v(" WeChat ")]),s("div",{staticClass:"sign-btn",on:{click:function(t){return e.tencentHandleClick("tencent")}}},[s("span",{staticClass:"qq-svg-container"},[s("svg-icon",{staticClass:"icon",attrs:{"icon-class":"qq"}})],1),e._v(" QQ ")])])},i=[],r={name:"SocialSignin",methods:{wechatHandleClick:function(e){alert("ok")},tencentHandleClick:function(e){alert("ok")}}},a=r,n=(s("bfec"),s("2877")),l=Object(n["a"])(a,o,i,!1,null,"7309fbbb",null);t["a"]=l.exports},e11f:function(e,t,s){e.exports=s.p+"static/img/kkyLogoNoWhiteText.380a5498.png"}}]); \ No newline at end of file diff --git a/accounting/t/static/js/chunk-d081c562.b9693a3e.js b/accounting/t/static/js/chunk-d081c562.b9693a3e.js deleted file mode 100644 index 33cf378..0000000 --- a/accounting/t/static/js/chunk-d081c562.b9693a3e.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d081c562"],{"36db":function(module,__webpack_exports__,__webpack_require__){"use strict";var _d_zhc_kboss_f_web_kboss_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("ade3"),core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("d3b7"),core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__),core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("159b"),core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__),core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("25f0"),core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_3__),core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("a434"),core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_4__),core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("b0c0"),core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_5__),vue__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("a026"),_api_product_product__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("b488"),_api_operation_specificationTemplateManagement__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("5383");__webpack_exports__["a"]={data:function(){var t;return t={temp:"",isShow:!1,isMoban:!0,dialogVisible:!1,isAddShopCard:!1,isDistrictShow:!1,AliVisible:!1,activeName:"customPurchase",discountProductList:[],userId:sessionStorage.getItem("userId"),route_numList:[],distanceList:[],broadbandList:[],schoolList:[],chaosuan_centerList:[],payTypeList:[{index:1,payType:"包年包月",title:"先付费后使用,价格优惠"},{index:2,payType:"按量计费",title:"先试用后付费,按需开通"},{index:3,payType:"抢占式实例",title:"较按量付费最高可省90%"}],Asia_China:[],Asia_Other:[],Europe_America:[],Middle_East:[],form:{product_area:"",ptype:""},isReset:!1,radio:"",product_area:[],ptype:[],title:"",payForm:{quantity:[{required:!0,message:"请输入购买数量",trigger:"blur"}],route_num:[{required:!0,message:"请选择路由数",trigger:"change"}],broadband:[{required:!0,message:"请选择带宽",trigger:"change"}],high_school:[{required:!0,message:"请选择高校",trigger:"change"}],chaosuan_center:[{required:!0,message:"请选择超算中心",trigger:"change"}]},productDetail:{quantity:"",route_num:"",broadband:"",distance:"",high_school:"",chaosuan_center:"",price:""}},Object(_d_zhc_kboss_f_web_kboss_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__["a"])(t,"title",""),Object(_d_zhc_kboss_f_web_kboss_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__["a"])(t,"page",1),t},components:{MyHtml:{props:["html"],render:function(t){return t("div",{domProps:{innerHTML:this.html}})}}},mounted:function(){var t=this;this.getList(),this.$nextTick((function(){t.initScroll()}))},methods:{payType:function(t){console.log(t)},changeColor:function(){},DistrictShow:function(){this.isDistrictShow=!0},render:function render(){var com=vue__WEBPACK_IMPORTED_MODULE_6__["default"].extend({template:eval("`"+this.temp+"`")});console.log(com)},searchMoney:function(){this.wlwl_parameter_search()},wlwl_parameter_search:function(){var t=this,e={};this.productDetail.route_num&&this.productDetail.broadband&&this.productDetail.high_school&&this.productDetail.chaosuan_center&&(e.route_num=this.productDetail.route_num,e.broadband=this.productDetail.broadband,e.high_school=this.productDetail.high_school,e.chaosuan_center=this.productDetail.chaosuan_center,e.discount=this.productDetail.discount),Object(_api_operation_specificationTemplateManagement__WEBPACK_IMPORTED_MODULE_8__["f"])(e).then((function(e){e.data.route_num&&(t.route_numList=e.data.route_num),e.data.broadband&&(t.broadbandList=e.data.broadband),e.data.high_school&&(t.schoolList=e.data.high_school),e.data.chaosuan_center&&(t.chaosuan_centerList=e.data.chaosuan_center),e.data.distance&&(t.distanceList=e.data.distance),t.productDetail.route_num&&t.productDetail.broadband&&t.productDetail.high_school&&t.productDetail.chaosuan_center&&e.data.distance&&(t.productDetail.distance=e.data.distance,t.productDetail.price=e.data.price,t.productDetail.discount_price=e.data.discount_price)}))},initScroll:function(){document.querySelector(".app-main").style.overflowY="hidden",document.querySelector(".productBig").style.height="calc(100vh - 264px)",document.querySelector(".productBig").style.overflowY="auto"},load:function(){this.getList()},searchProduct:function(){this.getList()},getList:function(){var t=this,e={userid:this.userId,page:this.page};this.isReset?(delete e.product_area,delete e.ptype,this.form.product_area="",this.form.ptype=""):(""!=this.form.product_area&&(e.product_area=this.form.product_area),""!=this.form.ptype&&(e.ptype=this.form.ptype)),Object(_api_product_product__WEBPACK_IMPORTED_MODULE_7__["g"])(e).then((function(e){if(1==e.status){t.discountProductList=e.data,t.discountProductList.forEach((function(e){if(e.discount){var a=10*e.discount;e.discount=a.toString().split("."),e.discount[1]?e.discount=e.discount[0]+"."+e.discount[1].substr(0,2):e.discount=e.discount[0]}e.product_area&&t.product_area.push(e.product_area),e.ptype&&t.ptype.push(e.ptype)}));for(var a=0;a =0)t[e]=0}var h=0,f=1,l=2,c=3,d=258,p=29,g=256,b=g+1+p,_=30,m=19,w=2*b+1,y=15,v=16,k=7,S=256,x=16,E=17,A=18,R=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],T=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],B=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],C=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],O=512,P=new Array(2*(b+2));u(P);var z=new Array(2*_);u(z);var L=new Array(O);u(L);var U=new Array(d-c+1);u(U);var I=new Array(p);u(I);var M,j,N,D=new Array(_);function F(t,e,r,n,i){this.static_tree=t,this.extra_bits=e,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=t&&t.length}function W(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function Y(t){return t<256?L[t]:L[256+(t>>>7)]}function Z(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function q(t,e,r){t.bi_valid>v-r?(t.bi_buf|=e< >v-t.bi_valid,t.bi_valid+=r-v):(t.bi_buf|=e< >>=1,r<<=1}while(--e>0);return r>>>1}function J(t){16===t.bi_valid?(Z(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}function X(t,e){var r,n,i,a,o,s,u=e.dyn_tree,h=e.max_code,f=e.stat_desc.static_tree,l=e.stat_desc.has_stree,c=e.stat_desc.extra_bits,d=e.stat_desc.extra_base,p=e.stat_desc.max_length,g=0;for(a=0;a<=y;a++)t.bl_count[a]=0;for(u[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;r p&&(a=p,g++),u[2*n+1]=a,n>h||(t.bl_count[a]++,o=0,n>=d&&(o=c[n-d]),s=u[2*n],t.opt_len+=s*(a+o),l&&(t.static_len+=s*(f[2*n+1]+o)));if(0!==g){do{a=p-1;while(0===t.bl_count[a])a--;t.bl_count[a]--,t.bl_count[a+1]+=2,t.bl_count[p]--,g-=2}while(g>0);for(a=p;0!==a;a--){n=t.bl_count[a];while(0!==n)i=t.heap[--r],i>h||(u[2*i+1]!==a&&(t.opt_len+=(a-u[2*i+1])*u[2*i],u[2*i+1]=a),n--)}}}function G(t,e,r){var n,i,a=new Array(y+1),o=0;for(n=1;n<=y;n++)a[n]=o=o+r[n-1]<<1;for(i=0;i<=e;i++){var s=t[2*i+1];0!==s&&(t[2*i]=K(a[s]++,s))}}function V(){var t,e,r,n,i,a=new Array(y+1);for(r=0,n=0;n >=7;n<_;n++)for(D[n]=i<<7,t=0;t<1< 8?Z(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function tt(t,e,r,i){$(t),i&&(Z(t,r),Z(t,~r)),n.arraySet(t.pending_buf,t.window,e,r,t.pending),t.pending+=r}function et(t,e,r,n){var i=2*e,a=2*r;return t[i] >1;r>=1;r--)rt(t,a,r);i=u;do{r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],rt(t,a,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,a[2*i]=a[2*r]+a[2*n],t.depth[i]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,a[2*r+1]=a[2*n+1]=i,t.heap[1]=i++,rt(t,a,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],X(t,e),G(a,h,t.bl_count)}function at(t,e,r){var n,i,a=-1,o=e[1],s=0,u=7,h=4;for(0===o&&(u=138,h=3),e[2*(r+1)+1]=65535,n=0;n<=r;n++)i=o,o=e[2*(n+1)+1],++s=3;e--)if(0!==t.bl_tree[2*C[e]+1])break;return t.opt_len+=3*(e+1)+5+5+4,e}function ut(t,e,r,n){var i;for(q(t,e-257,5),q(t,r-1,5),q(t,n-4,4),i=0;i >>=1)if(1&r&&0!==t.dyn_ltree[2*e])return a;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return o;for(e=32;e 0?(t.strm.data_type===s&&(t.strm.data_type=ht(t)),it(t,t.l_desc),it(t,t.d_desc),u=st(t),a=t.opt_len+3+7>>>3,o=t.static_len+3+7>>>3,o<=a&&(a=o)):a=o=r+5,r+4<=a&&-1!==e?ct(t,e,r,n):t.strategy===i||o===a?(q(t,(f<<1)+(n?1:0),3),nt(t,P,z)):(q(t,(l<<1)+(n?1:0),3),ut(t,t.l_desc.max_code+1,t.d_desc.max_code+1,u+1),nt(t,t.dyn_ltree,t.dyn_dtree)),Q(t),n&&$(t)}function gt(t,e,r){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(U[r]+g+1)]++,t.dyn_dtree[2*Y(e)]++),t.last_lit===t.lit_bufsize-1}e._tr_init=lt,e._tr_stored_block=ct,e._tr_flush_block=pt,e._tr_tally=gt,e._tr_align=dt},"0960":function(t,e,r){t.exports=r("b19a")},"0cb7":function(t,e,r){"use strict";var n=r("f5a6"),i=r("d8bb"),a=r("31d3"),o=r("7c50"),s=r("7abd"),u=function(t,e){var r,n="";for(r=0;r >>=8;return n},h=function(t,e){var r=t;return t||(r=e?16893:33204),(65535&r)<<16},f=function(t,e){return 63&(t||0)},l=function(t,e,r,i,l,c){var d,p,g=t["file"],b=t["compression"],_=c!==a.utf8encode,m=n.transformTo("string",c(g.name)),w=n.transformTo("string",a.utf8encode(g.name)),y=g.comment,v=n.transformTo("string",c(y)),k=n.transformTo("string",a.utf8encode(y)),S=w.length!==g.name.length,x=k.length!==y.length,E="",A="",R="",T=g.dir,B=g.date,C={crc32:0,compressedSize:0,uncompressedSize:0};e&&!r||(C.crc32=t["crc32"],C.compressedSize=t["compressedSize"],C.uncompressedSize=t["uncompressedSize"]);var O=0;e&&(O|=8),_||!S&&!x||(O|=2048);var P=0,z=0;T&&(P|=16),"UNIX"===l?(z=798,P|=h(g.unixPermissions,T)):(z=20,P|=f(g.dosPermissions,T)),d=B.getUTCHours(),d<<=6,d|=B.getUTCMinutes(),d<<=5,d|=B.getUTCSeconds()/2,p=B.getUTCFullYear()-1980,p<<=4,p|=B.getUTCMonth()+1,p<<=5,p|=B.getUTCDate(),S&&(A=u(1,1)+u(o(m),4)+w,E+="up"+u(A.length,2)+A),x&&(R=u(1,1)+u(o(v),4)+k,E+="uc"+u(R.length,2)+R);var L="";L+="\n\0",L+=u(O,2),L+=b.magic,L+=u(d,2),L+=u(p,2),L+=u(C.crc32,4),L+=u(C.compressedSize,4),L+=u(C.uncompressedSize,4),L+=u(m.length,2),L+=u(E.length,2);var U=s.LOCAL_FILE_HEADER+L+m+E,I=s.CENTRAL_FILE_HEADER+u(z,2)+L+u(v.length,2)+"\0\0\0\0"+u(P,4)+u(i,4)+m+E+v;return{fileRecord:U,dirRecord:I}},c=function(t,e,r,i,a){var o="",h=n.transformTo("string",a(i));return o=s.CENTRAL_DIRECTORY_END+"\0\0\0\0"+u(t,2)+u(t,2)+u(e,4)+u(r,4)+u(h.length,2)+h,o},d=function(t){var e="";return e=s.DATA_DESCRIPTOR+u(t["crc32"],4)+u(t["compressedSize"],4)+u(t["uncompressedSize"],4),e};function p(t,e,r,n){i.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}n.inherits(p,i),p.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,i.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-n-1))/r:100}}))},p.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t["file"].name;var e=this.streamFiles&&!t["file"].dir;if(e){var r=l(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},p.prototype.closedSource=function(t){this.accumulate=!1;var e=this.streamFiles&&!t["file"].dir,r=l(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),e)this.push({data:d(t),meta:{percent:100}});else{this.push({data:r.fileRecord,meta:{percent:0}});while(this.contentBuffer.length)this.push(this.contentBuffer.shift())}this.currentFile=null},p.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e 0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function f(t){var e=h(t),r=e[0],n=e[1];return 3*(r+n)/4-n}function l(t,e,r){return 3*(e+r)/4-r}function c(t){var e,r,n=h(t),o=n[0],s=n[1],u=new a(l(t,o,s)),f=0,c=s>0?o-4:o;for(r=0;r >16&255,u[f++]=e>>8&255,u[f++]=255&e;return 2===s&&(e=i[t.charCodeAt(r)]<<2|i[t.charCodeAt(r+1)]>>4,u[f++]=255&e),1===s&&(e=i[t.charCodeAt(r)]<<10|i[t.charCodeAt(r+1)]<<4|i[t.charCodeAt(r+2)]>>2,u[f++]=e>>8&255,u[f++]=255&e),u}function d(t){return n[t>>18&63]+n[t>>12&63]+n[t>>6&63]+n[63&t]}function p(t,e,r){for(var n,i=[],a=e;a u?u:s+o));return 1===i?(e=t[r-1],a.push(n[e>>2]+n[e<<4&63]+"==")):2===i&&(e=(t[r-2]<<8)+t[r-1],a.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"=")),a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},"219e":function(t,e,r){"use strict";var n=r("de3d");function i(){}var a={},o=["REJECTED"],s=["FULFILLED"],u=["PENDING"];function h(t){if("function"!==typeof t)throw new TypeError("resolver must be a function");this.state=u,this.queue=[],this.outcome=void 0,t!==i&&d(this,t)}function f(t,e,r){this.promise=t,"function"===typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"===typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function l(t,e,r){n((function(){var n;try{n=e(r)}catch(i){return a.reject(t,i)}n===t?a.reject(t,new TypeError("Cannot resolve promise with itself")):a.resolve(t,n)}))}function c(t){var e=t&&t.then;if(t&&("object"===typeof t||"function"===typeof t)&&"function"===typeof e)return function(){e.apply(t,arguments)}}function d(t,e){var r=!1;function n(e){r||(r=!0,a.reject(t,e))}function i(e){r||(r=!0,a.resolve(t,e))}function o(){e(i,n)}var s=p(o);"error"===s.status&&n(s.value)}function p(t,e){var r={};try{r.value=t(e),r.status="success"}catch(n){r.status="error",r.value=n}return r}function g(t){return t instanceof this?t:a.resolve(new this(i),t)}function b(t){var e=new this(i);return a.reject(e,t)}function _(t){var e=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var r=t.length,n=!1;if(!r)return this.resolve([]);var o=new Array(r),s=0,u=-1,h=new this(i);while(++u =252?6:u>=248?5:u>=240?4:u>=224?3:u>=192?2:1;s[254]=s[254]=1;var h=function(t){var e,r,n,a,o,s=t.length,u=0;for(a=0;a >>6,e[o++]=128|63&r):r<65536?(e[o++]=224|r>>>12,e[o++]=128|r>>>6&63,e[o++]=128|63&r):(e[o++]=240|r>>>18,e[o++]=128|r>>>12&63,e[o++]=128|r>>>6&63,e[o++]=128|63&r);return e},f=function(t,e){var r;e=e||t.length,e>t.length&&(e=t.length),r=e-1;while(r>=0&&128===(192&t[r]))r--;return r<0||0===r?e:r+s[t[r]]>e?r:e},l=function(t){var e,r,i,a,o=t.length,u=new Array(2*o);for(r=0,e=0;e4)u[r++]=65533,e+=a-1;else{i&=2===a?31:3===a?15:7;while(a>1&&e 1?u[r++]=65533:i<65536?u[r++]=i:(i-=65536,u[r++]=55296|i>>10&1023,u[r++]=56320|1023&i)}return u.length!==r&&(u.subarray?u=u.subarray(0,r):u.length=r),n.applyFromCharCode(u)};function c(){o.call(this,"utf-8 decode"),this.leftOver=null}function d(){o.call(this,"utf-8 encode")}e.utf8encode=function(t){return i.nodebuffer?a.newBufferFrom(t,"utf-8"):h(t)},e.utf8decode=function(t){return i.nodebuffer?n.transformTo("nodebuffer",t).toString("utf-8"):(t=n.transformTo(i.uint8array?"uint8array":"array",t),l(t))},n.inherits(c,o),c.prototype.processChunk=function(t){var r=n.transformTo(i.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var a=r;r=new Uint8Array(a.length+this.leftOver.length),r.set(this.leftOver,0),r.set(a,this.leftOver.length)}else r=this.leftOver.concat(r);this.leftOver=null}var o=f(r),s=r;o!==r.length&&(i.uint8array?(s=r.subarray(0,o),this.leftOver=r.subarray(o,r.length)):(s=r.slice(0,o),this.leftOver=r.slice(o,r.length))),this.push({data:e.utf8decode(s),meta:t.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:e.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},e.Utf8DecodeWorker=c,n.inherits(d,o),d.prototype.processChunk=function(t){this.push({data:e.utf8encode(t.data),meta:t.meta})},e.Utf8EncodeWorker=d},"322d":function(t,e,r){"use strict";(function(t){if(e.base64=!0,e.array=!0,e.string=!0,e.arraybuffer="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof Uint8Array,e.nodebuffer="undefined"!==typeof t,e.uint8array="undefined"!==typeof Uint8Array,"undefined"===typeof ArrayBuffer)e.blob=!1;else{var n=new ArrayBuffer(0);try{e.blob=0===new Blob([n],{type:"application/zip"}).size}catch(o){try{var i=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,a=new i;a.append(n),e.blob=0===a.getBlob("application/zip").size}catch(o){e.blob=!1}}}try{e.nodestream=!!r("b87d").Readable}catch(o){e.nodestream=!1}}).call(this,r("b639").Buffer)},"3a7c":function(t,e,r){function n(t){return Array.isArray?Array.isArray(t):"[object Array]"===_(t)}function i(t){return"boolean"===typeof t}function a(t){return null===t}function o(t){return null==t}function s(t){return"number"===typeof t}function u(t){return"string"===typeof t}function h(t){return"symbol"===typeof t}function f(t){return void 0===t}function l(t){return"[object RegExp]"===_(t)}function c(t){return"object"===typeof t&&null!==t}function d(t){return"[object Date]"===_(t)}function p(t){return"[object Error]"===_(t)||t instanceof Error}function g(t){return"function"===typeof t}function b(t){return null===t||"boolean"===typeof t||"number"===typeof t||"string"===typeof t||"symbol"===typeof t||"undefined"===typeof t}function _(t){return Object.prototype.toString.call(t)}e.isArray=n,e.isBoolean=i,e.isNull=a,e.isNullOrUndefined=o,e.isNumber=s,e.isString=u,e.isSymbol=h,e.isUndefined=f,e.isRegExp=l,e.isObject=c,e.isDate=d,e.isError=p,e.isFunction=g,e.isPrimitive=b,e.isBuffer=r("b639").Buffer.isBuffer},"3fb5":function(t,e){"function"===typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},4126:function(t,e,r){"use strict";var n=r("a177"),i=r("be7f"),a=r("7b27"),o=r("4dc6"),s=r("8936"),u=Object.prototype.toString,h=0,f=4,l=0,c=1,d=2,p=-1,g=0,b=8;function _(t){if(!(this instanceof _))return new _(t);this.options=i.assign({level:p,method:b,chunkSize:16384,windowBits:15,memLevel:8,strategy:g,to:""},t||{});var e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var r=n.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(r!==l)throw new Error(o[r]);if(e.header&&n.deflateSetHeader(this.strm,e.header),e.dictionary){var h;if(h="string"===typeof e.dictionary?a.string2buf(e.dictionary):"[object ArrayBuffer]"===u.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,r=n.deflateSetDictionary(this.strm,h),r!==l)throw new Error(o[r]);this._dict_set=!0}}function m(t,e){var r=new _(e);if(r.push(t,!0),r.err)throw r.msg||o[r.err];return r.result}function w(t,e){return e=e||{},e.raw=!0,m(t,e)}function y(t,e){return e=e||{},e.gzip=!0,m(t,e)}_.prototype.push=function(t,e){var r,o,s=this.strm,p=this.options.chunkSize;if(this.ended)return!1;o=e===~~e?e:!0===e?f:h,"string"===typeof t?s.input=a.string2buf(t):"[object ArrayBuffer]"===u.call(t)?s.input=new Uint8Array(t):s.input=t,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new i.Buf8(p),s.next_out=0,s.avail_out=p),r=n.deflate(s,o),r!==c&&r!==l)return this.onEnd(r),this.ended=!0,!1;0!==s.avail_out&&(0!==s.avail_in||o!==f&&o!==d)||("string"===this.options.to?this.onData(a.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((s.avail_in>0||0===s.avail_out)&&r!==c);return o===f?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===l):o!==d||(this.onEnd(l),s.avail_out=0,!0)},_.prototype.onData=function(t){this.chunks.push(t)},_.prototype.onEnd=function(t){t===l&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},e.Deflate=_,e.deflate=m,e.deflateRaw=w,e.gzip=y},"429b":function(t,e,r){t.exports=r("faa1").EventEmitter},"45fa":function(t,e,r){"use strict";(function(e){t.exports={isNode:"undefined"!==typeof e,newBufferFrom:function(t,r){if(e.from&&e.from!==Uint8Array.from)return e.from(t,r);if("number"===typeof t)throw new Error('The "data" argument must not be a number');return new e(t,r)},allocBuffer:function(t){if(e.alloc)return e.alloc(t);var r=new e(t);return r.fill(0),r},isBuffer:function(t){return e.isBuffer(t)},isStream:function(t){return t&&"function"===typeof t.on&&"function"===typeof t.pause&&"function"===typeof t.resume}}}).call(this,r("b639").Buffer)},4681:function(t,e,r){"use strict";var n=r("966d");function i(t,e){var r=this,i=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return i||a?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(o,this,t)):n.nextTick(o,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!e&&t?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,n.nextTick(o,r,t)):n.nextTick(o,r,t):e&&e(t)})),this)}function a(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function o(t,e){t.emit("error",e)}t.exports={destroy:i,undestroy:a}},"4dc6":function(t,e,r){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},5494:function(t,e,r){"use strict";var n=r("2790"),i=r("a4ce"),a=r("1b64"),o=r("e0c4");a=r("1b64");function s(t,e,r,n,i){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=n,this.compressedContent=i}s.prototype={getContentWorker:function(){var t=new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),e=this;return t.on("end",(function(){if(this.streamInfo["data_length"]!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),t},getCompressedWorker:function(){return new i(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(t,e,r){return t.pipe(new o).pipe(new a("uncompressedSize")).pipe(e.compressWorker(r)).pipe(new a("compressedSize")).withStreamInfo("compression",e)},t.exports=s},"5a03":function(t,e,r){"use strict";t.exports="function"===typeof setImmediate?setImmediate:function(){var t=[].slice.apply(arguments);t.splice(1,0,0),setTimeout.apply(null,t)}},"5e1a":function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=r("8707").Buffer,a=r(2);function o(t,e,r){t.copy(e,r)}t.exports=function(){function t(){n(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";var e=this.head,r=""+e.data;while(e=e.next)r+=t+e.data;return r},t.prototype.concat=function(t){if(0===this.length)return i.alloc(0);var e=i.allocUnsafe(t>>>0),r=this.head,n=0;while(r)o(r.data,e,n),n+=r.data.length,r=r.next;return e},t}(),a&&a.inspect&&a.inspect.custom&&(t.exports.prototype[a.inspect.custom]=function(){var t=a.inspect({length:this.length});return this.constructor.name+" "+t})},"666e":function(t,e,r){"use strict";var n=r("f5a6"),i=r("d8bb");function a(t,e){i.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(e)}n.inherits(a,i),a.prototype._bindStream=function(t){var e=this;this._stream=t,t.pause(),t.on("data",(function(t){e.push({data:t,meta:{percent:0}})})).on("error",(function(t){e.isPaused?this.generatedError=t:e.error(t)})).on("end",(function(){e.isPaused?e._upstreamEnded=!0:e.end()}))},a.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=a},6853:function(t,e,r){"use strict";var n=r("be7f"),i=15,a=852,o=592,s=0,u=1,h=2,f=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],l=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],c=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],d=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(t,e,r,p,g,b,_,m){var w,y,v,k,S,x,E,A,R,T=m.bits,B=0,C=0,O=0,P=0,z=0,L=0,U=0,I=0,M=0,j=0,N=null,D=0,F=new n.Buf16(i+1),W=new n.Buf16(i+1),Y=null,Z=0;for(B=0;B<=i;B++)F[B]=0;for(C=0;C =1;P--)if(0!==F[P])break;if(z>P&&(z=P),0===P)return g[b++]=20971520,g[b++]=20971520,m.bits=1,0;for(O=1;O
0&&(t===s||1!==P))return-1;for(W[1]=0,B=1;Ba||t===h&&M>o)return 1;for(;;){E=B-U,_[C]
x?(A=Y[Z+_[C]],R=N[D+_[C]]):(A=96,R=0),w=1< >U)+y]=E<<24|A<<16|R|0}while(0!==y);w=1< >=1;if(0!==w?(j&=w-1,j+=w):j=0,C++,0===--F[B]){if(B===P)break;B=e[r+_[C]]}if(B>z&&(j&k)!==v){0===U&&(U=z),S+=O,L=B-U,I=1< a||t===h&&M>o)return 1;v=j&k,g[v]=z<<24|L<<16|S-b|0}}return 0!==j&&(g[S+j]=B-U<<24|64<<16|0),m.bits=z,0}},"6d6b":function(t,e,r){"use strict";(function(e){var n=r("f5a6"),i=r("b02b"),a=r("d8bb"),o=r("e1bb"),s=r("322d"),u=r("2790"),h=null;if(s.nodestream)try{h=r("8aba")}catch(p){}function f(t,e,r){switch(t){case"blob":return n.newBlob(n.transformTo("arraybuffer",e),r);case"base64":return o.encode(e);default:return n.transformTo(t,e)}}function l(t,r){var n,i=0,a=null,o=0;for(n=0;n =0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0===(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,e.windowBits);if(r!==o.Z_OK)throw new Error(s[r]);if(this.header=new h,n.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"===typeof e.dictionary?e.dictionary=a.string2buf(e.dictionary):"[object ArrayBuffer]"===f.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(r=n.inflateSetDictionary(this.strm,e.dictionary),r!==o.Z_OK)))throw new Error(s[r])}function c(t,e){var r=new l(e);if(r.push(t,!0),r.err)throw r.msg||s[r.err];return r.result}function d(t,e){return e=e||{},e.raw=!0,c(t,e)}l.prototype.push=function(t,e){var r,s,u,h,l,c=this.strm,d=this.options.chunkSize,p=this.options.dictionary,g=!1;if(this.ended)return!1;s=e===~~e?e:!0===e?o.Z_FINISH:o.Z_NO_FLUSH,"string"===typeof t?c.input=a.binstring2buf(t):"[object ArrayBuffer]"===f.call(t)?c.input=new Uint8Array(t):c.input=t,c.next_in=0,c.avail_in=c.input.length;do{if(0===c.avail_out&&(c.output=new i.Buf8(d),c.next_out=0,c.avail_out=d),r=n.inflate(c,o.Z_NO_FLUSH),r===o.Z_NEED_DICT&&p&&(r=n.inflateSetDictionary(this.strm,p)),r===o.Z_BUF_ERROR&&!0===g&&(r=o.Z_OK,g=!1),r!==o.Z_STREAM_END&&r!==o.Z_OK)return this.onEnd(r),this.ended=!0,!1;c.next_out&&(0!==c.avail_out&&r!==o.Z_STREAM_END&&(0!==c.avail_in||s!==o.Z_FINISH&&s!==o.Z_SYNC_FLUSH)||("string"===this.options.to?(u=a.utf8border(c.output,c.next_out),h=c.next_out-u,l=a.buf2string(c.output,u),c.next_out=h,c.avail_out=d-h,h&&i.arraySet(c.output,c.output,u,h,0),this.onData(l)):this.onData(i.shrinkBuf(c.output,c.next_out)))),0===c.avail_in&&0===c.avail_out&&(g=!0)}while((c.avail_in>0||0===c.avail_out)&&r!==o.Z_STREAM_END);return r===o.Z_STREAM_END&&(s=o.Z_FINISH),s===o.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===o.Z_OK):s!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),c.avail_out=0,!0)},l.prototype.onData=function(t){this.chunks.push(t)},l.prototype.onEnd=function(t){t===o.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},e.Inflate=l,e.inflate=c,e.inflateRaw=d,e.ungzip=c},"780f":function(t,e,r){"use strict";t.exports=a;var n=r("27bf"),i=Object.create(r("3a7c"));function a(t){if(!(this instanceof a))return new a(t);n.call(this,t)}i.inherits=r("3fb5"),i.inherits(a,n),a.prototype._transform=function(t,e,r){r(null,t)}},"7abd":function(t,e,r){"use strict";e.LOCAL_FILE_HEADER="PK",e.CENTRAL_FILE_HEADER="PK",e.CENTRAL_DIRECTORY_END="PK",e.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",e.ZIP64_CENTRAL_DIRECTORY_END="PK",e.DATA_DESCRIPTOR="PK\b"},"7b27":function(t,e,r){"use strict";var n=r("be7f"),i=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch(h){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(h){a=!1}for(var o=new n.Buf8(256),s=0;s<256;s++)o[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;function u(t,e){if(e<65534&&(t.subarray&&a||!t.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(t,e));for(var r="",o=0;o >>6,e[o++]=128|63&r):r<65536?(e[o++]=224|r>>>12,e[o++]=128|r>>>6&63,e[o++]=128|63&r):(e[o++]=240|r>>>18,e[o++]=128|r>>>12&63,e[o++]=128|r>>>6&63,e[o++]=128|63&r);return e},e.buf2binstring=function(t){return u(t,t.length)},e.binstring2buf=function(t){for(var e=new n.Buf8(t.length),r=0,i=e.length;r4)h[n++]=65533,r+=a-1;else{i&=2===a?31:3===a?15:7;while(a>1&&r 1?h[n++]=65533:i<65536?h[n++]=i:(i-=65536,h[n++]=55296|i>>10&1023,h[n++]=56320|1023&i)}return u(h,n)},e.utf8border=function(t,e){var r;e=e||t.length,e>t.length&&(e=t.length),r=e-1;while(r>=0&&128===(192&t[r]))r--;return r<0||0===r?e:r+o[t[r]]>e?r:e}},"7c50":function(t,e,r){"use strict";var n=r("f5a6");function i(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}var a=i();function o(t,e,r,n){var i=a,o=n+r;t^=-1;for(var s=n;s>>8^i[255&(t^e[s])];return-1^t}function s(t,e,r,n){var i=a,o=n+r;t^=-1;for(var s=n;s >>8^i[255&(t^e.charCodeAt(s))];return-1^t}t.exports=function(t,e){if("undefined"===typeof t||!t.length)return 0;var r="string"!==n.getTypeOf(t);return r?o(0|e,t,t.length,0):s(0|e,t,t.length,0)}},"7d72":function(t,e,r){"use strict";var n=r("8707").Buffer,i=n.isEncoding||function(t){switch(t=""+t,t&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(t){if(!t)return"utf8";var e;while(1)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}function o(t){var e=a(t);if("string"!==typeof e&&(n.isEncoding===i||!i(t)))throw new Error("Unknown encoding: "+t);return e||t}function s(t){var e;switch(this.encoding=o(t),this.encoding){case"utf16le":this.text=p,this.end=g,e=4;break;case"utf8":this.fillLast=l,e=4;break;case"base64":this.text=b,this.end=_,e=3;break;default:return this.write=m,void(this.end=w)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(e)}function u(t){return t<=127?0:t>>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function h(t,e,r){var n=e.length-1;if(n =0?(i>0&&(t.lastNeed=i-1),i):--n =0?(i>0&&(t.lastNeed=i-2),i):--n =0?(i>0&&(2===i?i=0:t.lastNeed=i-3),i):0))}function f(t,e,r){if(128!==(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!==(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!==(192&e[2]))return t.lastNeed=2,"�"}}function l(t){var e=this.lastTotal-this.lastNeed,r=f(this,t,e);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function c(t,e){var r=h(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)}function d(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e}function p(t,e){if((t.length-e)%2===0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function g(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function b(t,e){var r=(t.length-e)%3;return 0===r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function _(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function m(t){return t.toString(this.encoding)}function w(t){return t&&t.length?this.write(t):""}e.StringDecoder=s,s.prototype.write=function(t){if(0===t.length)return"";var e,r;if(this.lastNeed){if(e=this.fillLast(t),void 0===e)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r >>24,g>>>=k,b-=k,k=v>>>16&255,0===k)T[s++]=65535&v;else{if(!(16&k)){if(0===(64&k)){v=_[(65535&v)+(g&(1< >>=k,b-=k),b<15&&(g+=R[a++]<>>24,g>>>=k,b-=k,k=v>>>16&255,!(16&k)){if(0===(64&k)){v=m[(65535&v)+(g&(1< f){t.msg="invalid distance too far back",r.mode=n;break t}if(g>>>=k,b-=k,k=s-u,x>k){if(k=x-k,k>c&&r.sane){t.msg="invalid distance too far back",r.mode=n;break t}if(E=0,A=p,0===d){if(E+=l-k,k 2)T[s++]=A[E++],T[s++]=A[E++],T[s++]=A[E++],S-=3;S&&(T[s++]=A[E++],S>1&&(T[s++]=A[E++]))}else{E=s-x;do{T[s++]=T[E++],T[s++]=T[E++],T[s++]=T[E++],S-=3}while(S>2);S&&(T[s++]=T[E++],S>1&&(T[s++]=T[E++]))}break}}break}}while(a>3,a-=S,b-=S<<3,g&=(1< */ -e.read=function(t,e,r,n,i){var a,o,s=8*i-n-1,u=(1< >1,f=-7,l=r?i-1:0,c=r?-1:1,d=t[e+l];for(l+=c,a=d&(1<<-f)-1,d>>=-f,f+=s;f>0;a=256*a+t[e+l],l+=c,f-=8);for(o=a&(1<<-f)-1,a>>=-f,f+=n;f>0;o=256*o+t[e+l],l+=c,f-=8);if(0===a)a=1-h;else{if(a===u)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,n),a-=h}return(d?-1:1)*o*Math.pow(2,a-n)},e.write=function(t,e,r,n,i,a){var o,s,u,h=8*a-i-1,f=(1<>1,c=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:a-1,p=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=f):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),e+=o+l>=1?c/u:c*Math.pow(2,1-l),e*u>=2&&(o++,u/=2),o+l>=f?(s=0,o=f):o+l>=1?(s=(e*u-1)*Math.pow(2,i),o+=l):(s=e*Math.pow(2,l-1)*Math.pow(2,i),o=0));i>=8;t[r+d]=255&s,d+=p,s/=256,i-=8);for(o=o<0;t[r+d]=255&o,d+=p,o/=256,h-=8);t[r+d-p]|=128*g}},"966d":function(t,e,r){"use strict";(function(e){function r(t,r,n,i){if("function"!==typeof t)throw new TypeError('"callback" argument must be a function');var a,o,s=arguments.length;switch(s){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick((function(){t.call(null,r)}));case 3:return e.nextTick((function(){t.call(null,r,n)}));case 4:return e.nextTick((function(){t.call(null,r,n,i)}));default:a=new Array(s-1),o=0;while(o >>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function at(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function ot(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=k,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new n.Buf32(tt),e.distcode=e.distdyn=new n.Buf32(et),e.sane=1,e.back=-1,p):_}function st(t){var e;return t&&t.state?(e=t.state,e.wsize=0,e.whave=0,e.wnext=0,ot(t)):_}function ut(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?_:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=r,n.wbits=e,st(t))):_}function ht(t,e){var r,n;return t?(n=new at,t.state=n,n.window=null,r=ut(t,e),r!==p&&(t.state=null),r):_}function ft(t){return ht(t,nt)}var lt,ct,dt=!0;function pt(t){if(dt){var e;lt=new n.Buf32(512),ct=new n.Buf32(32),e=0;while(e<144)t.lens[e++]=8;while(e<256)t.lens[e++]=9;while(e<280)t.lens[e++]=7;while(e<288)t.lens[e++]=8;s(h,t.lens,0,288,lt,0,t.work,{bits:9}),e=0;while(e<32)t.lens[e++]=5;s(f,t.lens,0,32,ct,0,t.work,{bits:5}),dt=!1}t.lencode=lt,t.lenbits=9,t.distcode=ct,t.distbits=5}function gt(t,e,r,i){var a,o=t.state;return null===o.window&&(o.wsize=1< =o.wsize?(n.arraySet(o.window,e,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(a=o.wsize-o.wnext,a>i&&(a=i),n.arraySet(o.window,e,r-i,a,o.wnext),i-=a,i?(n.arraySet(o.window,e,r-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave >>8&255,r.check=a(r.check,Rt,2,0),st=0,ut=0,r.mode=S;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&st)<<8)+(st>>8))%31){t.msg="incorrect header check",r.mode=V;break}if((15&st)!==v){t.msg="unknown compression method",r.mode=V;break}if(st>>>=4,ut-=4,kt=8+(15&st),0===r.wbits)r.wbits=kt;else if(kt>r.wbits){t.msg="invalid window size",r.mode=V;break}r.dmax=1< >8&1),512&r.flags&&(Rt[0]=255&st,Rt[1]=st>>>8&255,r.check=a(r.check,Rt,2,0)),st=0,ut=0,r.mode=x;case x:while(ut<32){if(0===at)break t;at--,st+=tt[rt++]< >>8&255,Rt[2]=st>>>16&255,Rt[3]=st>>>24&255,r.check=a(r.check,Rt,4,0)),st=0,ut=0,r.mode=E;case E:while(ut<16){if(0===at)break t;at--,st+=tt[rt++]< >8),512&r.flags&&(Rt[0]=255&st,Rt[1]=st>>>8&255,r.check=a(r.check,Rt,2,0)),st=0,ut=0,r.mode=A;case A:if(1024&r.flags){while(ut<16){if(0===at)break t;at--,st+=tt[rt++]< >>8&255,r.check=a(r.check,Rt,2,0)),st=0,ut=0}else r.head&&(r.head.extra=null);r.mode=R;case R:if(1024&r.flags&&(lt=r.length,lt>at&&(lt=at),lt&&(r.head&&(kt=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,tt,rt,lt,kt)),512&r.flags&&(r.check=a(r.check,tt,lt,rt)),at-=lt,rt+=lt,r.length-=lt),r.length))break t;r.length=0,r.mode=T;case T:if(2048&r.flags){if(0===at)break t;lt=0;do{kt=tt[rt+lt++],r.head&&kt&&r.length<65536&&(r.head.name+=String.fromCharCode(kt))}while(kt&< >9&1,r.head.done=!0),t.adler=r.check=0,r.mode=z;break;case O:while(ut<32){if(0===at)break t;at--,st+=tt[rt++]< >>=7&ut,ut-=7&ut,r.mode=J;break}while(ut<3){if(0===at)break t;at--,st+=tt[rt++]< >>=1,ut-=1,3&st){case 0:r.mode=U;break;case 1:if(pt(r),r.mode=F,e===d){st>>>=2,ut-=2;break t}break;case 2:r.mode=j;break;case 3:t.msg="invalid block type",r.mode=V}st>>>=2,ut-=2;break;case U:st>>>=7&ut,ut-=7&ut;while(ut<32){if(0===at)break t;at--,st+=tt[rt++]< >>16^65535)){t.msg="invalid stored block lengths",r.mode=V;break}if(r.length=65535&st,st=0,ut=0,r.mode=I,e===d)break t;case I:r.mode=M;case M:if(lt=r.length,lt){if(lt>at&&(lt=at),lt>ot&&(lt=ot),0===lt)break t;n.arraySet(et,tt,rt,lt,nt),at-=lt,rt+=lt,ot-=lt,nt+=lt,r.length-=lt;break}r.mode=z;break;case j:while(ut<14){if(0===at)break t;at--,st+=tt[rt++]< >>=5,ut-=5,r.ndist=1+(31&st),st>>>=5,ut-=5,r.ncode=4+(15&st),st>>>=4,ut-=4,r.nlen>286||r.ndist>30){t.msg="too many length or distance symbols",r.mode=V;break}r.have=0,r.mode=N;case N:while(r.have >>=3,ut-=3}while(r.have<19)r.lens[Tt[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,xt={bits:r.lenbits},St=s(u,r.lens,0,19,r.lencode,0,r.work,xt),r.lenbits=xt.bits,St){t.msg="invalid code lengths set",r.mode=V;break}r.have=0,r.mode=D;case D:while(r.have >>24,_t=At>>>16&255,mt=65535&At,bt<=ut)break;if(0===at)break t;at--,st+=tt[rt++]< >>=bt,ut-=bt,r.lens[r.have++]=mt;else{if(16===mt){Et=bt+2;while(ut >>=bt,ut-=bt,0===r.have){t.msg="invalid bit length repeat",r.mode=V;break}kt=r.lens[r.have-1],lt=3+(3&st),st>>>=2,ut-=2}else if(17===mt){Et=bt+3;while(ut >>=bt,ut-=bt,kt=0,lt=3+(7&st),st>>>=3,ut-=3}else{Et=bt+7;while(ut >>=bt,ut-=bt,kt=0,lt=11+(127&st),st>>>=7,ut-=7}if(r.have+lt>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=V;break}while(lt--)r.lens[r.have++]=kt}}if(r.mode===V)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=V;break}if(r.lenbits=9,xt={bits:r.lenbits},St=s(h,r.lens,0,r.nlen,r.lencode,0,r.work,xt),r.lenbits=xt.bits,St){t.msg="invalid literal/lengths set",r.mode=V;break}if(r.distbits=6,r.distcode=r.distdyn,xt={bits:r.distbits},St=s(f,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,xt),r.distbits=xt.bits,St){t.msg="invalid distances set",r.mode=V;break}if(r.mode=F,e===d)break t;case F:r.mode=W;case W:if(at>=6&&ot>=258){t.next_out=nt,t.avail_out=ot,t.next_in=rt,t.avail_in=at,r.hold=st,r.bits=ut,o(t,ft),nt=t.next_out,et=t.output,ot=t.avail_out,rt=t.next_in,tt=t.input,at=t.avail_in,st=r.hold,ut=r.bits,r.mode===z&&(r.back=-1);break}for(r.back=0;;){if(At=r.lencode[st&(1< >>24,_t=At>>>16&255,mt=65535&At,bt<=ut)break;if(0===at)break t;at--,st+=tt[rt++]< >wt)],bt=At>>>24,_t=At>>>16&255,mt=65535&At,wt+bt<=ut)break;if(0===at)break t;at--,st+=tt[rt++]< >>=wt,ut-=wt,r.back+=wt}if(st>>>=bt,ut-=bt,r.back+=bt,r.length=mt,0===_t){r.mode=K;break}if(32&_t){r.back=-1,r.mode=z;break}if(64&_t){t.msg="invalid literal/length code",r.mode=V;break}r.extra=15&_t,r.mode=Y;case Y:if(r.extra){Et=r.extra;while(ut >>=r.extra,ut-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=Z;case Z:for(;;){if(At=r.distcode[st&(1< >>24,_t=At>>>16&255,mt=65535&At,bt<=ut)break;if(0===at)break t;at--,st+=tt[rt++]< >wt)],bt=At>>>24,_t=At>>>16&255,mt=65535&At,wt+bt<=ut)break;if(0===at)break t;at--,st+=tt[rt++]< >>=wt,ut-=wt,r.back+=wt}if(st>>>=bt,ut-=bt,r.back+=bt,64&_t){t.msg="invalid distance code",r.mode=V;break}r.offset=mt,r.extra=15&_t,r.mode=q;case q:if(r.extra){Et=r.extra;while(ut >>=r.extra,ut-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=V;break}r.mode=H;case H:if(0===ot)break t;if(lt=ft-ot,r.offset>lt){if(lt=r.offset-lt,lt>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=V;break}lt>r.wnext?(lt-=r.wnext,ct=r.wsize-lt):ct=r.wnext-lt,lt>r.length&&(lt=r.length),dt=r.window}else dt=et,ct=nt-r.offset,lt=r.length;lt>ot&&(lt=ot),ot-=lt,r.length-=lt;do{et[nt++]=dt[ct++]}while(--lt);0===r.length&&(r.mode=W);break;case K:if(0===ot)break t;et[nt++]=r.length,ot--,r.mode=W;break;case J:if(r.wrap){while(ut<32){if(0===at)break t;at--,st|=tt[rt++]< 4?9:0)}function et(t){var e=t.length;while(--e>=0)t[e]=0}function rt(t){var e=t.state,r=e.pending;r>t.avail_out&&(r=t.avail_out),0!==r&&(i.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function nt(t,e){a._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,rt(t.strm)}function it(t,e){t.pending_buf[t.pending++]=e}function at(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function ot(t,e,r,n){var a=t.avail_in;return a>n&&(a=n),0===a?0:(t.avail_in-=a,i.arraySet(e,t.input,t.next_in,a,r),1===t.state.wrap?t.adler=o(t.adler,e,a,r):2===t.state.wrap&&(t.adler=s(t.adler,e,a,r)),t.next_in+=a,t.total_in+=a,a)}function st(t,e){var r,n,i=t.max_chain_length,a=t.strstart,o=t.prev_length,s=t.nice_match,u=t.strstart>t.w_size-N?t.strstart-(t.w_size-N):0,h=t.window,f=t.w_mask,l=t.prev,c=t.strstart+j,d=h[a+o-1],p=h[a+o];t.prev_length>=t.good_match&&(i>>=2),s>t.lookahead&&(s=t.lookahead);do{if(r=e,h[r+o]===p&&h[r+o-1]===d&&h[r]===h[a]&&h[++r]===h[a+1]){a+=2,r++;do{}while(h[++a]===h[++r]&&h[++a]===h[++r]&&h[++a]===h[++r]&&h[++a]===h[++r]&&h[++a]===h[++r]&&h[++a]===h[++r]&&h[++a]===h[++r]&&h[++a]===h[++r]&&a o){if(t.match_start=e,o=n,n>=s)break;d=h[a+o-1],p=h[a+o]}}}while((e=l[e&f])>u&&0!==--i);return o<=t.lookahead?o:t.lookahead}function ut(t){var e,r,n,a,o,s=t.w_size;do{if(a=t.window_size-t.lookahead-t.strstart,t.strstart>=s+(s-N)){i.arraySet(t.window,t.window,s,s,0),t.match_start-=s,t.strstart-=s,t.block_start-=s,r=t.hash_size,e=r;do{n=t.head[--e],t.head[e]=n>=s?n-s:0}while(--r);r=s,e=r;do{n=t.prev[--e],t.prev[e]=n>=s?n-s:0}while(--r);a+=s}if(0===t.strm.avail_in)break;if(r=ot(t.strm,t.window,t.strstart+t.lookahead,a),t.lookahead+=r,t.lookahead+t.insert>=M){o=t.strstart-t.insert,t.ins_h=t.window[o],t.ins_h=(t.ins_h< t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(ut(t),0===t.lookahead&&e===h)return J;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,nt(t,!1),0===t.strm.avail_out))return J;if(t.strstart-t.block_start>=t.w_size-N&&(nt(t,!1),0===t.strm.avail_out))return J}return t.insert=0,e===c?(nt(t,!0),0===t.strm.avail_out?G:V):(t.strstart>t.block_start&&(nt(t,!1),t.strm.avail_out),J)}function ft(t,e){for(var r,n;;){if(t.lookahead =M&&(t.ins_h=(t.ins_h< =M)if(n=a._tr_tally(t,t.strstart-t.match_start,t.match_length-M),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=M){t.match_length--;do{t.strstart++,t.ins_h=(t.ins_h< =M&&(t.ins_h=(t.ins_h< 4096)&&(t.match_length=M-1)),t.prev_length>=M&&t.match_length<=t.prev_length){i=t.strstart+t.lookahead-M,n=a._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-M),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=i&&(t.ins_h=(t.ins_h< =M&&t.strstart>0&&(i=t.strstart-1,n=s[i],n===s[++i]&&n===s[++i]&&n===s[++i])){o=t.strstart+j;do{}while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&i t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=M?(r=a._tr_tally(t,1,t.match_length-M),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=a._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(nt(t,!1),0===t.strm.avail_out))return J}return t.insert=0,e===c?(nt(t,!0),0===t.strm.avail_out?G:V):t.last_lit&&(nt(t,!1),0===t.strm.avail_out)?J:X}function dt(t,e){for(var r;;){if(0===t.lookahead&&(ut(t),0===t.lookahead)){if(e===h)return J;break}if(t.match_length=0,r=a._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(nt(t,!1),0===t.strm.avail_out))return J}return t.insert=0,e===c?(nt(t,!0),0===t.strm.avail_out?G:V):t.last_lit&&(nt(t,!1),0===t.strm.avail_out)?J:X}function pt(t,e,r,n,i){this.good_length=t,this.max_lazy=e,this.nice_length=r,this.max_chain=n,this.func=i}function gt(t){t.window_size=2*t.w_size,et(t.head),t.max_lazy_match=n[t.level].max_lazy,t.good_match=n[t.level].good_length,t.nice_match=n[t.level].nice_length,t.max_chain_length=n[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=M-1,t.match_available=0,t.ins_h=0}function bt(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=A,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(2*U),this.dyn_dtree=new i.Buf16(2*(2*z+1)),this.bl_tree=new i.Buf16(2*(2*L+1)),et(this.dyn_ltree),et(this.dyn_dtree),et(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(I+1),this.heap=new i.Buf16(2*P+1),et(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*P+1),et(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function _t(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=E,e=t.state,e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?F:H,t.adler=2===e.wrap?0:1,e.last_flush=h,a._tr_init(e),p):$(t,b)}function mt(t){var e=_t(t);return e===p&>(t.state),e}function wt(t,e){return t&&t.state?2!==t.state.wrap?b:(t.state.gzhead=e,p):b}function yt(t,e,r,n,a,o){if(!t)return b;var s=1;if(e===w&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),a<1||a>R||r!==A||n<8||n>15||e<0||e>9||o<0||o>S)return $(t,b);8===n&&(n=9);var u=new bt;return t.state=u,u.strm=t,u.wrap=s,u.gzhead=null,u.w_bits=n,u.w_size=1< d||e<0)return t?$(t,b):b;if(i=t.state,!t.output||!t.input&&0!==t.avail_in||i.status===K&&e!==c)return $(t,0===t.avail_out?m:b);if(i.strm=t,r=i.last_flush,i.last_flush=e,i.status===F)if(2===i.wrap)t.adler=0,it(i,31),it(i,139),it(i,8),i.gzhead?(it(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),it(i,255&i.gzhead.time),it(i,i.gzhead.time>>8&255),it(i,i.gzhead.time>>16&255),it(i,i.gzhead.time>>24&255),it(i,9===i.level?2:i.strategy>=v||i.level<2?4:0),it(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(it(i,255&i.gzhead.extra.length),it(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(t.adler=s(t.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=W):(it(i,0),it(i,0),it(i,0),it(i,0),it(i,0),it(i,9===i.level?2:i.strategy>=v||i.level<2?4:0),it(i,Q),i.status=H);else{var _=A+(i.w_bits-8<<4)<<8,w=-1;w=i.strategy>=v||i.level<2?0:i.level<6?1:6===i.level?2:3,_|=w<<6,0!==i.strstart&&(_|=D),_+=31-_%31,i.status=H,at(i,_),0!==i.strstart&&(at(i,t.adler>>>16),at(i,65535&t.adler)),t.adler=1}if(i.status===W)if(i.gzhead.extra){o=i.pending;while(i.gzindex<(65535&i.gzhead.extra.length)){if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(t.adler=s(t.adler,i.pending_buf,i.pending-o,o)),rt(t),o=i.pending,i.pending===i.pending_buf_size))break;it(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++}i.gzhead.hcrc&&i.pending>o&&(t.adler=s(t.adler,i.pending_buf,i.pending-o,o)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=Y)}else i.status=Y;if(i.status===Y)if(i.gzhead.name){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(t.adler=s(t.adler,i.pending_buf,i.pending-o,o)),rt(t),o=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindex o&&(t.adler=s(t.adler,i.pending_buf,i.pending-o,o)),0===u&&(i.gzindex=0,i.status=Z)}else i.status=Z;if(i.status===Z)if(i.gzhead.comment){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(t.adler=s(t.adler,i.pending_buf,i.pending-o,o)),rt(t),o=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindex o&&(t.adler=s(t.adler,i.pending_buf,i.pending-o,o)),0===u&&(i.status=q)}else i.status=q;if(i.status===q&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&rt(t),i.pending+2<=i.pending_buf_size&&(it(i,255&t.adler),it(i,t.adler>>8&255),t.adler=0,i.status=H)):i.status=H),0!==i.pending){if(rt(t),0===t.avail_out)return i.last_flush=-1,p}else if(0===t.avail_in&&tt(e)<=tt(r)&&e!==c)return $(t,m);if(i.status===K&&0!==t.avail_in)return $(t,m);if(0!==t.avail_in||0!==i.lookahead||e!==h&&i.status!==K){var y=i.strategy===v?dt(i,e):i.strategy===k?ct(i,e):n[i.level].func(i,e);if(y!==G&&y!==V||(i.status=K),y===J||y===G)return 0===t.avail_out&&(i.last_flush=-1),p;if(y===X&&(e===f?a._tr_align(i):e!==d&&(a._tr_stored_block(i,0,0,!1),e===l&&(et(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),rt(t),0===t.avail_out))return i.last_flush=-1,p}return e!==c?p:i.wrap<=0?g:(2===i.wrap?(it(i,255&t.adler),it(i,t.adler>>8&255),it(i,t.adler>>16&255),it(i,t.adler>>24&255),it(i,255&t.total_in),it(i,t.total_in>>8&255),it(i,t.total_in>>16&255),it(i,t.total_in>>24&255)):(at(i,t.adler>>>16),at(i,65535&t.adler)),rt(t),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?p:g)}function St(t){var e;return t&&t.state?(e=t.state.status,e!==F&&e!==W&&e!==Y&&e!==Z&&e!==q&&e!==H&&e!==K?$(t,b):(t.state=null,e===H?$(t,_):p)):b}function xt(t,e){var r,n,a,s,u,h,f,l,c=e.length;if(!t||!t.state)return b;if(r=t.state,s=r.wrap,2===s||1===s&&r.status!==F||r.lookahead)return b;1===s&&(t.adler=o(t.adler,e,c,0)),r.wrap=0,c>=r.w_size&&(0===s&&(et(r.head),r.strstart=0,r.block_start=0,r.insert=0),l=new i.Buf8(r.w_size),i.arraySet(l,e,c-r.w_size,r.w_size,0),e=l,c=r.w_size),u=t.avail_in,h=t.next_in,f=t.input,t.avail_in=c,t.next_in=0,t.input=e,ut(r);while(r.lookahead>=M){n=r.strstart,a=r.lookahead-(M-1);do{r.ins_h=(r.ins_h< =this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,r);break;case"uint8array":e=this.data.subarray(this.index,r);break;case"array":case"nodebuffer":e=this.data.slice(this.index,r);break}return this.index=r,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=o},ad71:function(t,e,r){"use strict";(function(e,n){var i=r("966d");t.exports=k;var a,o=r("e3db");k.ReadableState=v;r("faa1").EventEmitter;var s=function(t,e){return t.listeners(e).length},u=r("429b"),h=r("8707").Buffer,f=("undefined"!==typeof e?e:"undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).Uint8Array||function(){};function l(t){return h.from(t)}function c(t){return h.isBuffer(t)||t instanceof f}var d=Object.create(r("3a7c"));d.inherits=r("3fb5");var p=r(1),g=void 0;g=p&&p.debuglog?p.debuglog("stream"):function(){};var b,_=r("5e1a"),m=r("4681");d.inherits(k,u);var w=["error","close","destroy","pause","resume"];function y(t,e,r){if("function"===typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?o(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}function v(t,e){a=a||r("b19a"),t=t||{};var n=e instanceof a;this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var i=t.highWaterMark,o=t.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(o||0===o)?o:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new _,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(b||(b=r("7d72").StringDecoder),this.decoder=new b(t.encoding),this.encoding=t.encoding)}function k(t){if(a=a||r("b19a"),!(this instanceof k))return new k(t);this._readableState=new v(t,this),this.readable=!0,t&&("function"===typeof t.read&&(this._read=t.read),"function"===typeof t.destroy&&(this._destroy=t.destroy)),u.call(this)}function S(t,e,r,n,i){var a,o=t._readableState;null===e?(o.reading=!1,C(t,o)):(i||(a=E(o,e)),a?t.emit("error",a):o.objectMode||e&&e.length>0?("string"===typeof e||o.objectMode||Object.getPrototypeOf(e)===h.prototype||(e=l(e)),n?o.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):x(t,o,e,!0):o.ended?t.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!r?(e=o.decoder.write(e),o.objectMode||0!==e.length?x(t,o,e,!1):z(t,o)):x(t,o,e,!1))):n||(o.reading=!1));return A(o)}function x(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(t.emit("data",r),t.read(0)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&O(t)),z(t,e)}function E(t,e){var r;return c(e)||"string"===typeof e||void 0===e||t.objectMode||(r=new TypeError("Invalid non-string/buffer chunk")),r}function A(t){return!t.ended&&(t.needReadable||t.length =R?t=R:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}function B(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=T(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function C(t,e){if(!e.ended){if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,O(t)}}function O(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(g("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?i.nextTick(P,t):P(t))}function P(t){g("emit readable"),t.emit("readable"),N(t)}function z(t,e){e.readingMore||(e.readingMore=!0,i.nextTick(L,t,e))}function L(t,e){var r=e.length;while(!e.reading&&!e.flowing&&!e.ended&&e.length =e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):r=F(t,e.buffer,e.decoder),r);var r}function F(t,e,r){var n;return t a.length?a.length:t;if(o===a.length?i+=a:i+=a.slice(0,t),t-=o,0===t){o===a.length?(++n,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=a.slice(o));break}++n}return e.length-=n,i}function Y(t,e){var r=h.allocUnsafe(t),n=e.head,i=1;n.data.copy(r),t-=n.data.length;while(n=n.next){var a=n.data,o=t>a.length?a.length:t;if(a.copy(r,r.length-t,0,o),t-=o,0===t){o===a.length?(++i,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=a.slice(o));break}++i}return e.length-=i,r}function Z(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,i.nextTick(q,e,t))}function q(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function H(t,e){for(var r=0,n=t.length;r =e.highWaterMark||e.ended))return g("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?Z(this):O(this),null;if(t=B(t,e),0===t&&e.ended)return 0===e.length&&Z(this),null;var n,i=e.needReadable;return g("need readable",i),(0===e.length||e.length-t 0?D(t,e):null,null===n?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&Z(this)),null!==n&&this.emit("data",n),n},k.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},k.prototype.pipe=function(t,e){var r=this,a=this._readableState;switch(a.pipesCount){case 0:a.pipes=t;break;case 1:a.pipes=[a.pipes,t];break;default:a.pipes.push(t);break}a.pipesCount+=1,g("pipe count=%d opts=%j",a.pipesCount,e);var o=(!e||!1!==e.end)&&t!==n.stdout&&t!==n.stderr,u=o?f:v;function h(t,e){g("onunpipe"),t===r&&e&&!1===e.hasUnpiped&&(e.hasUnpiped=!0,d())}function f(){g("onend"),t.end()}a.endEmitted?i.nextTick(u):r.once("end",u),t.on("unpipe",h);var l=U(r);t.on("drain",l);var c=!1;function d(){g("cleanup"),t.removeListener("close",m),t.removeListener("finish",w),t.removeListener("drain",l),t.removeListener("error",_),t.removeListener("unpipe",h),r.removeListener("end",f),r.removeListener("end",v),r.removeListener("data",b),c=!0,!a.awaitDrain||t._writableState&&!t._writableState.needDrain||l()}var p=!1;function b(e){g("ondata"),p=!1;var n=t.write(e);!1!==n||p||((1===a.pipesCount&&a.pipes===t||a.pipesCount>1&&-1!==H(a.pipes,t))&&!c&&(g("false write response, pause",a.awaitDrain),a.awaitDrain++,p=!0),r.pause())}function _(e){g("onerror",e),v(),t.removeListener("error",_),0===s(t,"error")&&t.emit("error",e)}function m(){t.removeListener("finish",w),v()}function w(){g("onfinish"),t.removeListener("close",m),v()}function v(){g("unpipe"),r.unpipe(t)}return r.on("data",b),y(t,"error",_),t.once("close",m),t.once("finish",w),t.emit("pipe",r),a.flowing||(g("pipe resume"),r.resume()),t},k.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var a=0;a - * @license MIT - */ -var n=r("1fb5"),i=r("9152"),a=r("e3db");function o(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}function s(){return h.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(t,e){if(s() =s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|t}function w(t){return+t!=t&&(t=0),h.alloc(+t)}function y(t,e){if(h.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return G(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return $(t).length;default:if(n)return G(t).length;e=(""+e).toLowerCase(),n=!0}}function v(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,e>>>=0,r<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return M(this,e,r);case"utf8":case"utf-8":return P(this,e,r);case"ascii":return U(this,e,r);case"latin1":case"binary":return I(this,e,r);case"base64":return O(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function k(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function S(t,e,r,n,i){if(0===t.length)return-1;if("string"===typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"===typeof e&&(e=h.from(e,n)),h.isBuffer(e))return 0===e.length?-1:x(t,e,r,n,i);if("number"===typeof e)return e&=255,h.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):x(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function x(t,e,r,n,i){var a,o=1,s=t.length,u=e.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;o=2,s/=2,u/=2,r/=2}function h(t,e){return 1===o?t[e]:t.readUInt16BE(e*o)}if(i){var f=-1;for(a=r;a s&&(r=s-u),a=r;a>=0;a--){for(var l=!0,c=0;ci&&(n=i)):n=i;var a=e.length;if(a%2!==0)throw new TypeError("Invalid hex string");n>a/2&&(n=a/2);for(var o=0;o239?4:h>223?3:h>191?2:1;if(i+l<=r)switch(l){case 1:h<128&&(f=h);break;case 2:a=t[i+1],128===(192&a)&&(u=(31&h)<<6|63&a,u>127&&(f=u));break;case 3:a=t[i+1],o=t[i+2],128===(192&a)&&128===(192&o)&&(u=(15&h)<<12|(63&a)<<6|63&o,u>2047&&(u<55296||u>57343)&&(f=u));break;case 4:a=t[i+1],o=t[i+2],s=t[i+3],128===(192&a)&&128===(192&o)&&128===(192&s)&&(u=(15&h)<<18|(63&a)<<12|(63&o)<<6|63&s,u>65535&&u<1114112&&(f=u))}null===f?(f=65533,l=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),i+=l}return L(n)}e.Buffer=h,e.SlowBuffer=w,e.INSPECT_MAX_BYTES=50,h.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:o(),e.kMaxLength=s(),h.poolSize=8192,h._augment=function(t){return t.__proto__=h.prototype,t},h.from=function(t,e,r){return f(null,t,e,r)},h.TYPED_ARRAY_SUPPORT&&(h.prototype.__proto__=Uint8Array.prototype,h.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&h[Symbol.species]===h&&Object.defineProperty(h,Symbol.species,{value:null,configurable:!0})),h.alloc=function(t,e,r){return c(null,t,e,r)},h.allocUnsafe=function(t){return d(null,t)},h.allocUnsafeSlow=function(t){return d(null,t)},h.isBuffer=function(t){return!(null==t||!t._isBuffer)},h.compare=function(t,e){if(!h.isBuffer(t)||!h.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,i=0,a=Math.min(r,n);i0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... "))," "},h.prototype.compare=function(t,e,r,n,i){if(!h.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,i>>>=0,this===t)return 0;for(var a=i-n,o=r-e,s=Math.min(a,o),u=this.slice(n,i),f=t.slice(e,r),l=0;l i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return E(this,t,e,r);case"utf8":case"utf-8":return A(this,t,e,r);case"ascii":return R(this,t,e,r);case"latin1":case"binary":return T(this,t,e,r);case"base64":return B(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,t,e,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var z=4096;function L(t){var e=t.length;if(e<=z)return String.fromCharCode.apply(String,t);var r="",n=0;while(nn)&&(r=n);for(var i="",a=e;a r)throw new RangeError("Trying to access beyond buffer length")}function D(t,e,r,n,i,a){if(!h.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function F(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,a=Math.min(t.length-r,2);i>>8*(n?i:1-i)}function W(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,a=Math.min(t.length-r,4);i>>8*(n?i:3-i)&255}function Y(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Z(t,e,r,n,a){return a||Y(t,e,r,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,r,n,23,4),r+4}function q(t,e,r,n,a){return a||Y(t,e,r,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,r,n,52,8),r+8}h.prototype.slice=function(t,e){var r,n=this.length;if(t=~~t,e=void 0===e?n:~~e,t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e 0&&(i*=256))n+=this[t+--e]*i;return n},h.prototype.readUInt8=function(t,e){return e||N(t,1,this.length),this[t]},h.prototype.readUInt16LE=function(t,e){return e||N(t,2,this.length),this[t]|this[t+1]<<8},h.prototype.readUInt16BE=function(t,e){return e||N(t,2,this.length),this[t]<<8|this[t+1]},h.prototype.readUInt32LE=function(t,e){return e||N(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},h.prototype.readUInt32BE=function(t,e){return e||N(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},h.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||N(t,e,this.length);var n=this[t],i=1,a=0;while(++a =i&&(n-=Math.pow(2,8*e)),n},h.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||N(t,e,this.length);var n=e,i=1,a=this[t+--n];while(n>0&&(i*=256))a+=this[t+--n]*i;return i*=128,a>=i&&(a-=Math.pow(2,8*e)),a},h.prototype.readInt8=function(t,e){return e||N(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},h.prototype.readInt16LE=function(t,e){e||N(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},h.prototype.readInt16BE=function(t,e){e||N(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},h.prototype.readInt32LE=function(t,e){return e||N(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},h.prototype.readInt32BE=function(t,e){return e||N(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},h.prototype.readFloatLE=function(t,e){return e||N(t,4,this.length),i.read(this,t,!0,23,4)},h.prototype.readFloatBE=function(t,e){return e||N(t,4,this.length),i.read(this,t,!1,23,4)},h.prototype.readDoubleLE=function(t,e){return e||N(t,8,this.length),i.read(this,t,!0,52,8)},h.prototype.readDoubleBE=function(t,e){return e||N(t,8,this.length),i.read(this,t,!1,52,8)},h.prototype.writeUIntLE=function(t,e,r,n){if(t=+t,e|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;D(this,t,e,r,i,0)}var a=1,o=0;this[e]=255&t;while(++o =0&&(o*=256))this[e+a]=t/o&255;return e+r},h.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,1,255,0),h.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},h.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,65535,0),h.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):F(this,t,e,!0),e+2},h.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,65535,0),h.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):F(this,t,e,!1),e+2},h.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,4294967295,0),h.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):W(this,t,e,!0),e+4},h.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,4294967295,0),h.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):W(this,t,e,!1),e+4},h.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);D(this,t,e,r,i-1,-i)}var a=0,o=1,s=0;this[e]=255&t;while(++a >0)-s&255;return e+r},h.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);D(this,t,e,r,i-1,-i)}var a=r-1,o=1,s=0;this[e+a]=255&t;while(--a>=0&&(o*=256))t<0&&0===s&&0!==this[e+a+1]&&(s=1),this[e+a]=(t/o>>0)-s&255;return e+r},h.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,1,127,-128),h.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},h.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,32767,-32768),h.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):F(this,t,e,!0),e+2},h.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,2,32767,-32768),h.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):F(this,t,e,!1),e+2},h.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,2147483647,-2147483648),h.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):W(this,t,e,!0),e+4},h.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||D(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),h.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):W(this,t,e,!1),e+4},h.prototype.writeFloatLE=function(t,e,r){return Z(this,t,e,!0,r)},h.prototype.writeFloatBE=function(t,e,r){return Z(this,t,e,!1,r)},h.prototype.writeDoubleLE=function(t,e,r){return q(this,t,e,!0,r)},h.prototype.writeDoubleBE=function(t,e,r){return q(this,t,e,!1,r)},h.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n =this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e =0;--i)t[i+e]=this[i+r];else if(a<1e3||!h.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"===typeof t)for(a=e;a 55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function V(t){for(var e=[],r=0;r >8,i=r%256,a.push(i),a.push(n)}return a}function $(t){return n.toByteArray(K(t))}function tt(t,e,r,n){for(var i=0;i =e.length||i>=t.length)break;e[i+r]=t[i]}return i}function et(t){return t!==t}}).call(this,r("c8ba"))},b64a:function(t,e,r){"use strict";var n=r("31d3"),i=r("f5a6"),a=r("d8bb"),o=r("6d6b"),s=r("8ad2"),u=r("5494"),h=r("885c"),f=r("ffca"),l=r("45fa"),c=r("666e"),d=function(t,e,r){var n,o=i.getTypeOf(e),f=i.extend(r||{},s);f.date=f.date||new Date,null!==f.compression&&(f.compression=f.compression.toUpperCase()),"string"===typeof f.unixPermissions&&(f.unixPermissions=parseInt(f.unixPermissions,8)),f.unixPermissions&&16384&f.unixPermissions&&(f.dir=!0),f.dosPermissions&&16&f.dosPermissions&&(f.dir=!0),f.dir&&(t=g(t)),f.createFolders&&(n=p(t))&&b.call(this,n,!0);var d="string"===o&&!1===f.binary&&!1===f.base64;r&&"undefined"!==typeof r.binary||(f.binary=!d);var _=e instanceof u&&0===e.uncompressedSize;(_||f.dir||!e||0===e.length)&&(f.base64=!1,f.binary=!0,e="",f.compression="STORE",o="string");var m=null;m=e instanceof u||e instanceof a?e:l.isNode&&l.isStream(e)?new c(t,e):i.prepareContent(t,e,f.binary,f.optimizedBinaryString,f.base64);var w=new h(t,m,f);this.files[t]=w},p=function(t){"/"===t.slice(-1)&&(t=t.substring(0,t.length-1));var e=t.lastIndexOf("/");return e>0?t.substring(0,e):""},g=function(t){return"/"!==t.slice(-1)&&(t+="/"),t},b=function(t,e){return e="undefined"!==typeof e?e:s.createFolders,t=g(t),this.files[t]||d.call(this,t,null,{dir:!0,createFolders:e}),this.files[t]};function _(t){return"[object RegExp]"===Object.prototype.toString.call(t)}var m={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(t){var e,r,n;for(e in this.files)this.files.hasOwnProperty(e)&&(n=this.files[e],r=e.slice(this.root.length,e.length),r&&e.slice(0,this.root.length)===this.root&&t(r,n))},filter:function(t){var e=[];return this.forEach((function(r,n){t(r,n)&&e.push(n)})),e},file:function(t,e,r){if(1===arguments.length){if(_(t)){var n=t;return this.filter((function(t,e){return!e.dir&&n.test(t)}))}var i=this.files[this.root+t];return i&&!i.dir?i:null}return t=this.root+t,d.call(this,t,e,r),this},folder:function(t){if(!t)return this;if(_(t))return this.filter((function(e,r){return r.dir&&t.test(e)}));var e=this.root+t,r=b.call(this,e),n=this.clone();return n.root=r.name,n},remove:function(t){t=this.root+t;var e=this.files[t];if(e||("/"!==t.slice(-1)&&(t+="/"),e=this.files[t]),e&&!e.dir)delete this.files[t];else for(var r=this.filter((function(e,r){return r.name.slice(0,t.length)===t})),n=0;n >>16&65535|0,o=0;while(0!==r){o=r>2e3?2e3:r,r-=o;do{i=i+e[n++]|0,a=a+i|0}while(--o);i%=65521,a%=65521}return i|a<<16|0}t.exports=n},d17b:function(t,e,r){t.exports=r("e372").Transform},d485:function(t,e,r){t.exports=a;var n=r("faa1").EventEmitter,i=r("3fb5");function a(){n.call(this)}i(a,n),a.Readable=r("e372"),a.Writable=r("2c63"),a.Duplex=r("0960"),a.Transform=r("d17b"),a.PassThrough=r("c2ae"),a.Stream=a,a.prototype.pipe=function(t,e){var r=this;function i(e){t.writable&&!1===t.write(e)&&r.pause&&r.pause()}function a(){r.readable&&r.resume&&r.resume()}r.on("data",i),t.on("drain",a),t._isStdio||e&&!1===e.end||(r.on("end",s),r.on("close",u));var o=!1;function s(){o||(o=!0,t.end())}function u(){o||(o=!0,"function"===typeof t.destroy&&t.destroy())}function h(t){if(f(),0===n.listenerCount(this,"error"))throw t}function f(){r.removeListener("data",i),t.removeListener("drain",a),r.removeListener("end",s),r.removeListener("close",u),r.removeListener("error",h),t.removeListener("error",h),r.removeListener("end",f),r.removeListener("close",f),t.removeListener("close",f)}return r.on("error",h),t.on("error",h),r.on("end",f),r.on("close",f),t.on("close",f),t.emit("pipe",r),t}},d7ac:function(t,e,r){"use strict";var n=r("be7f").assign,i=r("4126"),a=r("717e"),o=r("2ceb"),s={};n(s,i,a,o),t.exports=s},d8bb:function(t,e,r){"use strict";function n(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r "+t:t}},t.exports=n},dc14:function(t,e,r){"use strict";(function(e,n){var i=r("966d");function a(t){var e=this;this.next=null,this.entry=null,this.finish=function(){I(e,t)}}t.exports=w;var o,s=!e.browser&&["v0.10","v0.9."].indexOf(e.version.slice(0,5))>-1?setImmediate:i.nextTick;w.WritableState=m;var u=Object.create(r("3a7c"));u.inherits=r("3fb5");var h={deprecate:r("b7d1")},f=r("429b"),l=r("8707").Buffer,c=("undefined"!==typeof n?n:"undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).Uint8Array||function(){};function d(t){return l.from(t)}function p(t){return l.isBuffer(t)||t instanceof c}var g,b=r("4681");function _(){}function m(t,e){o=o||r("b19a"),t=t||{};var n=e instanceof o;this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var i=t.highWaterMark,s=t.writableHighWaterMark,u=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(s||0===s)?s:u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var h=!1===t.decodeStrings;this.decodeStrings=!h,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){R(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function w(t){if(o=o||r("b19a"),!g.call(w,this)&&!(this instanceof o))return new w(t);this._writableState=new m(t,this),this.writable=!0,t&&("function"===typeof t.write&&(this._write=t.write),"function"===typeof t.writev&&(this._writev=t.writev),"function"===typeof t.destroy&&(this._destroy=t.destroy),"function"===typeof t.final&&(this._final=t.final)),f.call(this)}function y(t,e){var r=new Error("write after end");t.emit("error",r),i.nextTick(e,r)}function v(t,e,r,n){var a=!0,o=!1;return null===r?o=new TypeError("May not write null values to stream"):"string"===typeof r||void 0===r||e.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(t.emit("error",o),i.nextTick(n,o),a=!1),a}function k(t,e,r){return t.objectMode||!1===t.decodeStrings||"string"!==typeof e||(e=l.from(e,r)),e}function S(t,e,r,n,i,a){if(!r){var o=k(e,n,i);n!==o&&(r=!0,i="buffer",n=o)}var s=e.objectMode?1:n.length;e.length+=s;var u=e.length -1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(w.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),w.prototype._write=function(t,e,r){r(new Error("_write() is not implemented"))},w.prototype._writev=null,w.prototype.end=function(t,e,r){var n=this._writableState;"function"===typeof t?(r=t,t=null,e=null):"function"===typeof e&&(r=e,e=null),null!==t&&void 0!==t&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||U(this,n,r)},Object.defineProperty(w.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),w.prototype.destroy=b.destroy,w.prototype._undestroy=b.undestroy,w.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,r("4362"),r("c8ba"))},de3d:function(t,e,r){"use strict";(function(e){var r,n,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var a=0,o=new i(f),s=e.document.createTextNode("");o.observe(s,{characterData:!0}),r=function(){s.data=a=++a%2}}else if(e.setImmediate||"undefined"===typeof e.MessageChannel)r="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){f(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(f,0)};else{var u=new e.MessageChannel;u.port1.onmessage=f,r=function(){u.port2.postMessage(0)}}var h=[];function f(){var t,e;n=!0;var r=h.length;while(r){e=h,h=[],t=-1;while(++t >2,s=(3&e)<<4|r>>4,u=d>1?(15&r)<<2|i>>6:64,h=d>2?63&i:64,f.push(a.charAt(o)+a.charAt(s)+a.charAt(u)+a.charAt(h));return f.join("")},e.decode=function(t){var e,r,n,o,s,u,h,f=0,l=0,c="data:";if(t.substr(0,c.length)===c)throw new Error("Invalid base64 input, it looks like a data url.");t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");var d,p=3*t.length/4;if(t.charAt(t.length-1)===a.charAt(64)&&p--,t.charAt(t.length-2)===a.charAt(64)&&p--,p%1!==0)throw new Error("Invalid base64 input, bad content length.");d=i.uint8array?new Uint8Array(0|p):new Array(0|p);while(f >4,r=(15&s)<<4|u>>2,n=(3&u)<<6|h,d[l++]=e,64!==u&&(d[l++]=r),64!==h&&(d[l++]=n);return d}},e372:function(t,e,r){e=t.exports=r("ad71"),e.Stream=e,e.Readable=e,e.Writable=r("dc14"),e.Duplex=r("b19a"),e.Transform=r("27bf"),e.PassThrough=r("780f")},e3db:function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},eeda:function(t,e,r){"use strict";function n(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}var i=n();function a(t,e,r,n){var a=i,o=n+r;t^=-1;for(var s=n;s >>8^a[255&(t^e[s])];return-1^t}t.exports=a},eff0:function(t,e,r){"use strict";var n=r("d8bb");e.STORE={magic:"\0\0",compressWorker:function(t){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},e.DEFLATE=r("f81c")},f5a6:function(t,e,r){"use strict";var n=r("322d"),i=r("e1bb"),a=r("45fa"),o=r("5a03"),s=r("2790");function u(t){var e=null;return e=n.uint8array?new Uint8Array(t.length):new Array(t.length),f(t,e)}function h(t){return t}function f(t,e){for(var r=0;r 1)try{return l.stringifyByChunk(t,n,r)}catch(a){r=Math.floor(r/2)}return l.stringifyByChar(t)}function d(t,e){for(var r=0;r 0&&s.length>i&&!s.warned){s.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=t,u.type=e,u.count=s.length,o(u)}return t}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},i=d.bind(n);return i.listener=r,n.wrapFn=i,i}function g(t,e,r){var n=t._events;if(void 0===n)return[];var i=n[e];return void 0===i?[]:"function"===typeof i?r?[i.listener||i]:[i]:r?w(i):_(i,i.length)}function b(t){var e=this._events;if(void 0!==e){var r=e[t];if("function"===typeof r)return 1;if(void 0!==r)return r.length}return 0}function _(t,e){for(var r=new Array(e),n=0;n 0&&(o=e[0]),o instanceof Error)throw o;var s=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var u=i[t];if(void 0===u)return!1;if("function"===typeof u)a(u,this,e);else{var h=u.length,f=_(u,h);for(r=0;r =0;a--)if(r[a]===e||r[a].listener===e){o=r[a].listener,i=a;break}if(i<0)return this;0===i?r.shift():m(r,i),1===r.length&&(n[t]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",t,o||e)}return this},u.prototype.off=u.prototype.removeListener,u.prototype.removeAllListeners=function(t){var e,r,n;if(r=this._events,void 0===r)return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[t]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[t]),this;if(0===arguments.length){var i,a=Object.keys(r);for(n=0;n =0;n--)this.removeListener(t,e[n]);return this},u.prototype.listeners=function(t){return g(this,t,!0)},u.prototype.rawListeners=function(t){return g(this,t,!1)},u.listenerCount=function(t,e){return"function"===typeof t.listenerCount?t.listenerCount(e):b.call(t,e)},u.prototype.listenerCount=b,u.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},ffca:function(t,e,r){"use strict";var n=r("eff0"),i=r("0cb7"),a=function(t,e){var r=t||e,i=n[r];if(!i)throw new Error(r+" is not a valid compression method !");return i};e.generateWorker=function(t,e,r){var n=new i(e.streamFiles,r,e.platform,e.encodeFileName),o=0;try{t.forEach((function(t,r){o++;var i=a(r.options.compression,e.compression),s=r.options.compressionOptions||e.compressionOptions||{},u=r.dir,h=r.date;r._compressWorker(i,s).withStreamInfo("file",{name:t,dir:u,date:h,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(n)})),n.entriesCount=o}catch(s){n.error(s)}return n}}}]); \ No newline at end of file diff --git a/accounting/t/static/js/chunk-e97c3548.41898bf7.js b/accounting/t/static/js/chunk-e97c3548.41898bf7.js deleted file mode 100644 index d12d3d3..0000000 --- a/accounting/t/static/js/chunk-e97c3548.41898bf7.js +++ /dev/null @@ -1 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-e97c3548"],{"0046":function(t,e,i){var n=i("6d8b"),a=n.each,r=n.createHashMap,o=i("4f85"),s=i("3301"),l=o.extend({type:"series.parallel",dependencies:["parallel"],visualColorAccessPath:"lineStyle.color",getInitialData:function(t,e){var i=this.getSource();return u(i,this),s(i,this)},getRawIndicesByActiveState:function(t){var e=this.coordinateSystem,i=this.getData(),n=[];return e.eachActiveState(i,(function(e,a){t===e&&n.push(i.getRawIndex(a))})),n},defaultOption:{zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"}});function u(t,e){if(!t.encodeDefine){var i=e.ecModel.getComponent("parallel",e.get("parallelIndex"));if(i){var n=t.encodeDefine=r();a(i.dimensions,(function(t){var e=c(t);n.set(t,e)}))}}}function c(t){return+t.replace("dim","")}t.exports=l},"004f":function(t,e,i){var n=i("6d8b"),a=i("72b6"),r=i("2306"),o=i("a15a"),s=o.createSymbol,l=i("f934"),u=i("cbb0"),c=a.extend({type:"visualMap.piecewise",doRender:function(){var t=this.group;t.removeAll();var e=this.visualMapModel,i=e.get("textGap"),a=e.textStyleModel,o=a.getFont(),s=a.getTextColor(),u=this._getItemAlign(),c=e.itemSize,h=this._getViewData(),d=h.endsText,f=n.retrieve(e.get("showLabel",!0),!d);function p(a){var l=a.piece,h=new r.Group;h.onclick=n.bind(this._onItemClick,this,l),this._enableHoverLink(h,a.indexInModelPieceList);var d=e.getRepresentValue(l);if(this._createItemSymbol(h,d,[0,0,c[0],c[1]]),f){var p=this.visualMapModel.getValueState(d);h.add(new r.Text({style:{x:"right"===u?-i:c[0]+i,y:c[1]/2,text:l.text,textVerticalAlign:"middle",textAlign:u,textFont:o,textFill:s,opacity:"outOfRange"===p?.5:1}}))}t.add(h)}d&&this._renderEndsText(t,d[0],c,f,u),n.each(h.viewPieceList,p,this),d&&this._renderEndsText(t,d[1],c,f,u),l.box(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},_enableHoverLink:function(t,e){function i(t){var i=this.visualMapModel;i.option.hoverLink&&this.api.dispatchAction({type:t,batch:u.convertDataIndex(i.findTargetDataIndices(e))})}t.on("mouseover",n.bind(i,this,"highlight")).on("mouseout",n.bind(i,this,"downplay"))},_getItemAlign:function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return u.getItemAlign(t,this.api,t.itemSize);var i=e.align;return i&&"auto"!==i||(i="left"),i},_renderEndsText:function(t,e,i,n,a){if(e){var o=new r.Group,s=this.visualMapModel.textStyleModel;o.add(new r.Text({style:{x:n?"right"===a?i[0]:0:i[0]/2,y:i[1]/2,textVerticalAlign:"middle",textAlign:n?a:"center",text:e,textFont:s.getFont(),textFill:s.getTextColor()}})),t.add(o)}},_getViewData:function(){var t=this.visualMapModel,e=n.map(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),i=t.get("text"),a=t.get("orient"),r=t.get("inverse");return("horizontal"===a?r:!r)?e.reverse():i&&(i=i.slice().reverse()),{viewPieceList:e,endsText:i}},_createItemSymbol:function(t,e,i){t.add(s(this.getControllerVisual(e,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(e,"color")))},_onItemClick:function(t){var e=this.visualMapModel,i=e.option,a=n.clone(i.selected),r=e.getSelectedMapKey(t);"single"===i.selectedMode?(a[r]=!0,n.each(a,(function(t,e){a[e]=e===r}))):a[r]=!a[r],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:a})}}),h=c;t.exports=h},"007d":function(t,e,i){var n=i("3eba");i("cb8f"),i("a96b"),i("42f6"),n.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},(function(){})),n.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},(function(){}))},"00ba":function(t,e,i){var n=i("3eba"),a=i("e46b"),r=i("e0d3"),o=r.defaultEmphasis,s=n.extendSeriesModel({type:"series.funnel",init:function(t){s.superApply(this,"init",arguments),this.legendDataProvider=function(){return this.getRawData()},this._defaultLabelLine(t)},getInitialData:function(t,e){return a(this,["value"])},_defaultLabelLine:function(t){o(t,"labelLine",["show"]);var e=t.labelLine,i=t.emphasis.labelLine;e.show=e.show&&t.label.show,i.show=i.show&&t.emphasis.label.show},getDataParams:function(t){var e=this.getData(),i=s.superCall(this,"getDataParams",t),n=e.mapDimension("value"),a=e.getSum(n);return i.percent=a?+(e.get(n,t)/a*100).toFixed(2):0,i.$vars.push("percent"),i},defaultOption:{zlevel:0,z:2,legendHoverLink:!0,left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1,type:"solid"}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}}}}),l=s;t.exports=l},"00d8":function(t,e,i){var n=i("6d8b");function a(t,e){return e=e||[0,0],n.map([0,1],(function(i){var n=e[i],a=t[i]/2,r=[],o=[];return r[i]=n-a,o[i]=n+a,r[1-i]=o[1-i]=e[1-i],Math.abs(this.dataToPoint(r)[i]-this.dataToPoint(o)[i])}),this)}function r(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:n.bind(a,t)}}}t.exports=r},"0141":function(t,e,i){var n=i("6d8b"),a=i("9850"),r=i("6cc5"),o=i("5b87");function s(t,e,i,n){r.call(this,t),this.map=e;var a=o.load(e,i);this._nameCoordMap=a.nameCoordMap,this._regionsMap=a.regionsMap,this._invertLongitute=null==n||n,this.regions=a.regions,this._rect=a.boundingRect}function l(t,e,i,n){var a=i.geoModel,r=i.seriesModel,o=a?a.coordinateSystem:r?r.coordinateSystem||(r.getReferringComponents("geo")[0]||{}).coordinateSystem:null;return o===this?o[t](n):null}s.prototype={constructor:s,type:"geo",dimensions:["lng","lat"],containCoord:function(t){for(var e=this.regions,i=0;i =i)e|=1&t,t>>=1;return t+e}function r(t,e,i,n){var a=e+1;if(a===i)return 1;if(n(t[a++],t[e])<0){while(a=0)a++;return a-e}function o(t,e,i){i--;while(e>>1,a(o,t[r])<0?l=r:s=r+1;var u=n-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:while(u>0)t[s+u]=t[s+u-1],u--}t[s]=o}}function l(t,e,i,n,a,r){var o=0,s=0,l=1;if(r(t,e[i+a])>0){s=n-a;while(l 0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}else{s=a+1;while(ls&&(l=s);var u=o;o=a-l,l=a-u}o++;while(o>>1);r(t,e[i+c])>0?o=c+1:l=c}return l}function u(t,e,i,n,a,r){var o=0,s=0,l=1;if(r(t,e[i+a])<0){s=a+1;while(l s&&(l=s);var u=o;o=a-l,l=a-u}else{s=n-a;while(l=0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}o++;while(o>>1);r(t,e[i+c])<0?l=c:o=c+1}return l}function c(t,e){var i,a,r=n,o=0,s=0;o=t.length;var c=[];function h(t,e){i[s]=t,a[s]=e,s+=1}function d(){while(s>1){var t=s-2;if(t>=1&&a[t-1]<=a[t]+a[t+1]||t>=2&&a[t-2]<=a[t]+a[t-1])a[t-1]a[t+1])break;p(t)}}function f(){while(s>1){var t=s-2;t>0&&a[t-1]=n||m>=n);if(v)break;y<0&&(y=0),y+=2}if(r=y,r<1&&(r=1),1===a){for(h=0;h =0;h--)t[m+h]=t[g+h];if(0===a){_=!0;break}}if(t[p--]=c[f--],1===--s){_=!0;break}if(x=s-l(t[d],c,0,s,s-1,e),0!==x){for(p-=x,f-=x,s-=x,m=p+1,g=f+1,h=0;h=n||x>=n);if(_)break;v<0&&(v=0),v+=2}if(r=v,r<1&&(r=1),1===s){for(p-=a,d-=a,m=p+1,g=d+1,h=a-1;h>=0;h--)t[m+h]=t[g+h];t[p]=c[f]}else{if(0===s)throw new Error;for(g=p-(s-1),h=0;h =0;h--)t[m+h]=t[g+h];t[p]=c[f]}else for(g=p-(s-1),h=0;hd&&(f=d),s(t,n,n+f,n+u,e),u=f}h.pushRun(n,u),h.mergeRuns(),l-=u,n+=u}while(0!==l);h.forceMergeRuns()}}t.exports=h},"0655":function(t,e,i){var n=i("8728"),a=1e-8;function r(t,e){return Math.abs(t-e).5?e:t}function d(t,e,i,n,a){var r=t.length;if(1===a)for(var o=0;oa;if(r)t.length=a;else for(var o=n;o=0;i--)if(D[i]<=e)break;i=Math.min(i,b-2)}else{for(i=H;ie)break;i=Math.min(i-1,b-2)}H=i,W=e;var n=D[i+1]-D[i];if(0!==n)if(z=(e-D[i])/n,_)if(B=C[i],V=C[0===i?i:i-1],G=C[i>b-2?b-1:i+1],F=C[i>b-3?b-1:i+2],M)g(V,B,G,F,z,z*z,z*z*z,u(t,s),T);else{if(I)a=g(V,B,G,F,z,z*z,z*z*z,Z,1),a=y(Z);else{if(A)return h(B,G,z);a=m(V,B,G,F,z,z*z,z*z*z)}v(t,s,a)}else if(M)d(C[i],C[i+1],z,u(t,s),T);else{var a;if(I)d(C[i],C[i+1],z,Z,1),a=y(Z);else{if(A)return h(C[i],C[i+1],z);a=c(C[i],C[i+1],z)}v(t,s,a)}},Y=new n({target:t._target,life:w,loop:t._loop,delay:t._delay,onframe:U,ondestroy:i});return e&&"spline"!==e&&(Y.easing=e),Y}}}var b=function(t,e,i,n){this._tracks={},this._target=t,this._loop=e||!1,this._getter=i||l,this._setter=n||u,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};b.prototype={when:function(t,e){var i=this._tracks;for(var n in e)if(e.hasOwnProperty(n)){if(!i[n]){i[n]=[];var a=this._getter(this._target,n);if(null==a)continue;0!==t&&i[n].push({time:0,value:v(a)})}i[n].push({time:t,value:e[n]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;t e&&(e=n.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,i=this.children,n=i.length;e =0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(t){if(!(this.dataIndex<0)){var e,i=this.hostTree,n=i.data.getItemModel(this.dataIndex),a=this.getLevelModel();return a||0!==this.children.length&&(0===this.children.length||!1!==this.isExpand)||(e=this.getLeavesModel()),n.getModel(t,(a||e||i.hostModel).getModel(t))}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},getLeavesModel:function(){return this.hostTree.leavesModel},setVisual:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},getVisual:function(t,e){return this.hostTree.data.getItemVisual(this.dataIndex,t,e)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(t){var e=t.parentNode;while(e){if(e===this)return!0;e=e.parentNode}return!1},isDescendantOf:function(t){return t!==this&&t.isAncestorOf(this)}},u.prototype={constructor:u,type:"tree",eachNode:function(t,e,i){this.root.eachNode(t,e,i)},getNodeByDataIndex:function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,e=this._nodes,i=0,n=e.length;i 0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(t){this.option.selected=a.clone(t)},getValueState:function(t){var e=o.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries((function(i){var n=[],a=i.getData();a.each(this.getDataDimension(a),(function(e,i){var a=o.findPieceIndex(e,this._pieceList);a===t&&n.push(i)}),this),e.push({seriesId:i.id,dataIndex:n})}),this),e},getRepresentValue:function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var i=t.interval||[];e=i[0]===-1/0&&i[1]===1/0?0:(i[0]+i[1])/2}return e},getVisualMeta:function(t){if(!this.isCategory()){var e=[],i=[],n=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),o=r[r.length-1].interval[1],o!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var s=-1/0;return a.each(r,(function(t){var e=t.interval;e&&(e[0]>s&&l([s,e[0]],"outOfRange"),l(e.slice()),s=e[1])}),this),{stops:e,outerColors:i}}function l(a,r){var o=n.getRepresentValue({interval:a});r||(r=n.getValueState(o));var s=t(o,r);a[0]===-1/0?i[0]=s:a[1]===1/0?i[1]=s:e.push({value:a[0],color:s},{value:a[1],color:s})}}}),h={splitNumber:function(){var t=this.option,e=this._pieceList,i=Math.min(t.precision,20),n=this.getExtent(),r=t.splitNumber;r=Math.max(parseInt(r,10),1),t.splitNumber=r;var o=(n[1]-n[0])/r;while(+o.toFixed(i)!==o&&i<5)i++;t.precision=i,o=+o.toFixed(i);var s=0;t.minOpen&&e.push({index:s++,interval:[-1/0,n[0]],close:[0,0]});for(var l=n[0],c=s+r;s ","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,i)}),this)}};function d(t,e){var i=t.inverse;("vertical"===t.orient?!i:i)&&e.reverse()}var f=c;t.exports=f},"07d7":function(t,e,i){var n=i("6d8b"),a=i("41ef"),r=i("607d"),o=i("22d1"),s=i("eda2"),l=n.each,u=s.toCamelCase,c=["","-webkit-","-moz-","-o-"],h="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;";function d(t){var e="cubic-bezier(0.23, 1, 0.32, 1)",i="left "+t+"s "+e+",top "+t+"s "+e;return n.map(c,(function(t){return t+"transition:"+i})).join(";")}function f(t){var e=[],i=t.get("fontSize"),n=t.getTextColor();return n&&e.push("color:"+n),e.push("font:"+t.getFont()),i&&e.push("line-height:"+Math.round(3*i/2)+"px"),l(["decoration","align"],(function(i){var n=t.get(i);n&&e.push("text-"+i+":"+n)})),e.join(";")}function p(t){var e=[],i=t.get("transitionDuration"),n=t.get("backgroundColor"),r=t.getModel("textStyle"),c=t.get("padding");return i&&e.push(d(i)),n&&(o.canvasSupported?e.push("background-Color:"+n):(e.push("background-Color:#"+a.toHex(n)),e.push("filter:alpha(opacity=70)"))),l(["width","color","radius"],(function(i){var n="border-"+i,a=u(n),r=t.get(a);null!=r&&e.push(n+":"+r+("color"===i?"":"px"))})),e.push(f(r)),null!=c&&e.push("padding:"+s.normalizeCssArray(c).join("px ")+"px"),e.join(";")+";"}function g(t,e){if(o.wxa)return null;var i=document.createElement("div"),n=this._zr=e.getZr();this.el=i,this._x=e.getWidth()/2,this._y=e.getHeight()/2,t.appendChild(i),this._container=t,this._show=!1,this._hideTimeout;var a=this;i.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},i.onmousemove=function(e){if(e=e||window.event,!a._enterable){var i=n.handler;r.normalizeEvent(t,e,!0),i.dispatch("mousemove",e)}},i.onmouseleave=function(){a._enterable&&a._show&&a.hideLater(a._hideDelay),a._inContent=!1}}g.prototype={constructor:g,_enterable:!0,update:function(){var t=this._container,e=t.currentStyle||document.defaultView.getComputedStyle(t),i=t.style;"absolute"!==i.position&&"absolute"!==e.position&&(i.position="relative")},show:function(t){clearTimeout(this._hideTimeout);var e=this.el;e.style.cssText=h+p(t)+";left:"+this._x+"px;top:"+this._y+"px;"+(t.get("extraCssText")||""),e.style.display=e.innerHTML?"block":"none",e.style.pointerEvents=this._enterable?"auto":"none",this._show=!0},setContent:function(t){this.el.innerHTML=null==t?"":t},setEnterable:function(t){this._enterable=t},getSize:function(){var t=this.el;return[t.clientWidth,t.clientHeight]},moveTo:function(t,e){var i,n=this._zr;n&&n.painter&&(i=n.painter.getViewportRootOffset())&&(t+=i.offsetLeft,e+=i.offsetTop);var a=this.el.style;a.left=t+"px",a.top=e+"px",this._x=t,this._y=e},hide:function(){this.el.style.display="none",this._show=!1},hideLater:function(t){!this._show||this._inContent&&this._enterable||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(n.bind(this.hide,this),t)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var t=this.el.clientWidth,e=this.el.clientHeight;if(document.defaultView&&document.defaultView.getComputedStyle){var i=document.defaultView.getComputedStyle(this.el);i&&(t+=parseInt(i.paddingLeft,10)+parseInt(i.paddingRight,10)+parseInt(i.borderLeftWidth,10)+parseInt(i.borderRightWidth,10),e+=parseInt(i.paddingTop,10)+parseInt(i.paddingBottom,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10))}return{width:t,height:e}}};var m=g;t.exports=m},"07e6":function(t,e,i){i("4d85"),i("a753")},"0817":function(t,e,i){var n=i("3eba");i("f306"),i("0046"),i("60d7");var a=i("ab71");n.registerVisual(a)},"085d":function(t,e,i){var n=i("3eba");i("bd92"),i("19e2");var a=i("eabf"),r=i("4c99"),o=i("09b1");n.registerPreprocessor(a),n.registerVisual(r),n.registerLayout(o)},"08c3":function(t,e,i){var n=i("6d8b"),a=i("84ce"),r=function(t,e,i,n){a.call(this,t,e,i),this.type=n||"value",this.model=null};r.prototype={constructor:r,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},n.inherits(r,a);var o=r;t.exports=o},"09b1":function(t,e,i){var n=i("2306"),a=n.subPixelOptimize,r=i("cccd"),o=i("3842"),s=o.parsePercent,l=i("6d8b"),u=l.retrieve2,c="undefined"!==typeof Float32Array?Float32Array:Array,h={seriesType:"candlestick",plan:r(),reset:function(t){var e=t.coordinateSystem,i=t.getData(),n=f(t,i),r=0,o=1,s=["x","y"],l=i.mapDimension(s[r]),u=i.mapDimension(s[o],!0),h=u[0],p=u[1],g=u[2],m=u[3];if(i.setLayout({candleWidth:n,isSimpleBox:n<=1.3}),!(null==l||u.length<4))return{progress:t.pipelineContext.large?y:v};function v(t,i){var s;while(null!=(s=t.next())){var u=i.get(l,s),c=i.get(h,s),f=i.get(p,s),v=i.get(g,s),y=i.get(m,s),x=Math.min(c,f),_=Math.max(c,f),b=A(x,u),w=A(_,u),S=A(v,u),M=A(y,u),I=[];T(I,w,0),T(I,b,1),I.push(C(M),C(w),C(S),C(b)),i.setItemLayout(s,{sign:d(i,s,c,f,p),initBaseline:c>f?w[o]:b[o],ends:I,brushRect:D(v,y,u)})}function A(t,i){var n=[];return n[r]=i,n[o]=t,isNaN(i)||isNaN(t)?[NaN,NaN]:e.dataToPoint(n)}function T(t,e,i){var o=e.slice(),s=e.slice();o[r]=a(o[r]+n/2,1,!1),s[r]=a(s[r]-n/2,1,!0),i?t.push(o,s):t.push(s,o)}function D(t,e,i){var a=A(t,i),s=A(e,i);return a[r]-=n/2,s[r]-=n/2,{x:a[0],y:a[1],width:o?n:s[0]-a[0],height:o?s[1]-a[1]:n}}function C(t){return t[r]=a(t[r],1),t}}function y(t,i){var n,a,s=new c(5*t.count),u=0,f=[],v=[];while(null!=(a=t.next())){var y=i.get(l,a),x=i.get(h,a),_=i.get(p,a),b=i.get(g,a),w=i.get(m,a);isNaN(y)||isNaN(b)||isNaN(w)?(s[u++]=NaN,u+=4):(s[u++]=d(i,a,x,_,p),f[r]=y,f[o]=b,n=e.dataToPoint(f,null,v),s[u++]=n?n[0]:NaN,s[u++]=n?n[1]:NaN,f[o]=w,n=e.dataToPoint(f,null,v),s[u++]=n?n[1]:NaN)}i.setLayout("largePoints",s)}}};function d(t,e,i,n,a){var r;return r=i>n?-1:i 0?t.get(a,e-1)<=n?1:-1:1,r}function f(t,e){var i,n=t.getBaseAxis(),a="category"===n.type?n.getBandWidth():(i=n.getExtent(),Math.abs(i[1]-i[0])/e.count()),r=s(u(t.get("barMaxWidth"),a),a),o=s(u(t.get("barMinWidth"),1),a),l=t.get("barWidth");return null!=l?s(l,a):Math.max(Math.min(a/2,r),o)}t.exports=h},"0a6d":function(t,e,i){i("6932"),i("3a56"),i("7dcf"),i("3790"),i("2325"),i("a18f"),i("32a1"),i("2c17"),i("9e87")},"0b44":function(t,e,i){var n=i("607d"),a=function(){this._track=[]};function r(t){var e=t[1][0]-t[0][0],i=t[1][1]-t[0][1];return Math.sqrt(e*e+i*i)}function o(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}a.prototype={constructor:a,recognize:function(t,e,i){return this._doTrack(t,e,i),this._recognize(t)},clear:function(){return this._track.length=0,this},_doTrack:function(t,e,i){var a=t.touches;if(a){for(var r={points:[],touches:[],target:e,event:t},o=0,s=a.length;o 1&&n&&n.length>1){var s=r(n)/r(a);!isFinite(s)&&(s=1),e.pinchScale=s;var l=o(n);return e.pinchX=l[0],e.pinchY=l[1],{type:"pinch",target:t[0].target,event:e}}}}},l=a;t.exports=l},"0b4b":function(t,e,i){i("d28f"),i("f14c"),i("0ee7"),i("ebf9")},"0c12":function(t,e){function i(){}function n(t,e,i,n){for(var a=0,r=e.length,o=0,s=0;a=o&&h+1>=s){for(var d=[],f=0;f =o&&f+1>=s)return n(r,u.components,e,t);c[i]=u}else c[i]=void 0}l++}while(l<=u){var g=p();if(g)return g}},pushComponent:function(t,e,i){var n=t[t.length-1];n&&n.added===e&&n.removed===i?t[t.length-1]={count:n.count+1,added:e,removed:i}:t.push({count:1,added:e,removed:i})},extractCommon:function(t,e,i,n){var a=e.length,r=i.length,o=t.newPos,s=o-n,l=0;while(o+1=0)&&(C=t);var P=new l.Text({position:e.center.slice(),scale:[1/g[0],1/g[1]],z2:10,silent:!0});l.setLabelStyle(P.style,P.hoverStyle={},w,S,{labelFetcher:C,labelDataIndex:L,defaultText:e.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),i.add(P)}if(s)s.setItemGraphicEl(r,i);else{u=t.getRegionModel(e.name);a.eventData={componentType:"geo",componentIndex:t.componentIndex,geoIndex:t.componentIndex,name:e.name,region:u&&u.option||{}}}var k=i.__regions||(i.__regions=[]);k.push(e),l.setHoverStyle(i,m,{hoverSilentOnTouch:!!t.get("selectedMode")}),c.add(i)})),this._updateController(t,e,i),f(this,t,c,i,a),p(t,c)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&u.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(t){var e=t.map;this._mapName!==e&&n.each(u.makeGraphic(e,this.uid),(function(t){this._backgroundGroup.add(t)}),this),this._mapName=e},_updateController:function(t,e,i){var a=t.coordinateSystem,o=this._controller,l=this._controllerHost;l.zoomLimit=t.get("scaleLimit"),l.zoom=a.getZoom(),o.enable(t.get("roam")||!1);var u=t.mainType;function c(){var e={type:"geoRoam",componentType:u};return e[u+"Id"]=t.id,e}o.off("pan").on("pan",(function(t){this._mouseDownFlag=!1,r.updateViewOnPan(l,t.dx,t.dy),i.dispatchAction(n.extend(c(),{dx:t.dx,dy:t.dy}))}),this),o.off("zoom").on("zoom",(function(t){if(this._mouseDownFlag=!1,r.updateViewOnZoom(l,t.scale,t.originX,t.originY),i.dispatchAction(n.extend(c(),{zoom:t.scale,originX:t.originX,originY:t.originY})),this._updateGroup){var e=this.group.scale;this._regionsGroup.traverse((function(t){"text"===t.type&&t.attr("scale",[1/e[0],1/e[1]])}))}}),this),o.setPointerChecker((function(e,n,r){return a.getViewRectAfterRoam().contain(n,r)&&!s(e,i,t)}))}};var m=g;t.exports=m},"0cde":function(t,e,i){var n=i("1687"),a=i("401b"),r=n.identity,o=5e-5;function s(t){return t>o||t<-o}var l=function(t){t=t||{},t.position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},u=l.prototype;u.transform=null,u.needLocalTransform=function(){return s(this.rotation)||s(this.position[0])||s(this.position[1])||s(this.scale[0]-1)||s(this.scale[1]-1)};var c=[];u.updateTransform=function(){var t=this.parent,e=t&&t.transform,i=this.needLocalTransform(),a=this.transform;if(i||e){a=a||n.create(),i?this.getLocalTransform(a):r(a),e&&(i?n.mul(a,t.transform,a):n.copy(a,t.transform)),this.transform=a;var o=this.globalScaleRatio;if(null!=o&&1!==o){this.getGlobalScale(c);var s=c[0]<0?-1:1,l=c[1]<0?-1:1,u=((c[0]-s)*o+s)/c[0]||0,h=((c[1]-l)*o+l)/c[1]||0;a[0]*=u,a[1]*=u,a[2]*=h,a[3]*=h}this.invTransform=this.invTransform||n.create(),n.invert(this.invTransform,a)}else a&&r(a)},u.getLocalTransform=function(t){return l.getLocalTransform(this,t)},u.setTransform=function(t){var e=this.transform,i=t.dpr||1;e?t.setTransform(i*e[0],i*e[1],i*e[2],i*e[3],i*e[4],i*e[5]):t.setTransform(i,0,0,i,0,0)},u.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var h=[],d=n.create();u.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],i=t[2]*t[2]+t[3]*t[3],n=this.position,a=this.scale;s(e-1)&&(e=Math.sqrt(e)),s(i-1)&&(i=Math.sqrt(i)),t[0]<0&&(e=-e),t[3]<0&&(i=-i),n[0]=t[4],n[1]=t[5],a[0]=e,a[1]=i,this.rotation=Math.atan2(-t[1]/i,t[0]/e)}},u.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(n.mul(h,t.invTransform,e),e=h);var i=this.origin;i&&(i[0]||i[1])&&(d[4]=i[0],d[5]=i[1],n.mul(h,e,d),h[4]-=i[0],h[5]-=i[1],e=h),this.setLocalTransform(e)}},u.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},u.transformCoordToLocal=function(t,e){var i=[t,e],n=this.invTransform;return n&&a.applyTransform(i,i,n),i},u.transformCoordToGlobal=function(t,e){var i=[t,e],n=this.transform;return n&&a.applyTransform(i,i,n),i},l.getLocalTransform=function(t,e){e=e||[],r(e);var i=t.origin,a=t.scale||[1,1],o=t.rotation||0,s=t.position||[0,0];return i&&(e[4]-=i[0],e[5]-=i[1]),n.scale(e,e,a),o&&n.rotate(e,e,o),i&&(e[4]+=i[0],e[5]+=i[1]),e[4]+=s[0],e[5]+=s[1],e};var f=l;t.exports=f},"0da8":function(t,e,i){var n=i("19eb"),a=i("9850"),r=i("6d8b"),o=i("5e76");function s(t){n.call(this,t)}s.prototype={constructor:s,type:"image",brush:function(t,e){var i=this.style,n=i.image;i.bind(t,this,e);var a=this._image=o.createOrUpdateImage(n,this._image,this,this.onload);if(a&&o.isImageReady(a)){var r=i.x||0,s=i.y||0,l=i.width,u=i.height,c=a.width/a.height;if(null==l&&null!=u?l=u*c:null==u&&null!=l?u=l/c:null==l&&null==u&&(l=a.width,u=a.height),this.setTransform(t),i.sWidth&&i.sHeight){var h=i.sx||0,d=i.sy||0;t.drawImage(a,h,d,i.sWidth,i.sHeight,r,s,l,u)}else if(i.sx&&i.sy){h=i.sx,d=i.sy;var f=l-h,p=u-d;t.drawImage(a,h,d,f,p,r,s,l,u)}else t.drawImage(a,r,s,l,u);null!=i.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new a(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},r.inherits(s,n);var l=s;t.exports=l},"0e0f":function(t,e,i){var n=i("5f14"),a=i("6d8b");function r(t,e){t.eachSeriesByType("sankey",(function(t){var e=t.getGraph(),i=e.nodes;if(i.length){var r=1/0,o=-1/0;a.each(i,(function(t){var e=t.getLayout().value;e o&&(o=e)})),a.each(i,(function(e){var i=new n({type:"color",mappingMethod:"linear",dataExtent:[r,o],visual:t.get("color")}),a=i.mapValueToVisual(e.getLayout().value);e.setVisual("color",a);var s=e.getModel(),l=s.get("itemStyle.color");null!=l&&e.setVisual("color",l)}))}}))}t.exports=r},"0ee7":function(t,e,i){var n=i("6d8b"),a=i("2306"),r=i("f934"),o=i("5e97"),s=a.Group,l=["width","height"],u=["x","y"],c=o.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){c.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new s),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new s),this._showController},resetInner:function(){c.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(t,e,i,r){var o=this;c.superCall(this,"renderInner",t,e,i,r);var s=this._controllerGroup,l=e.get("pageIconSize",!0);n.isArray(l)||(l=[l,l]),h("pagePrev",0);var u=e.getModel("pageTextStyle");function h(t,i){var u=t+"DataIndex",c=a.createIcon(e.get("pageIcons",!0)[e.getOrient().name][i],{onclick:n.bind(o._pageGo,o,u,e,r)},{x:-l[0]/2,y:-l[1]/2,width:l[0],height:l[1]});c.name=t,s.add(c)}s.add(new a.Text({name:"pageText",style:{textFill:u.getTextColor(),font:u.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),h("pageNext",1)},layoutInner:function(t,e,i,o){var s=this.getContentGroup(),c=this._containerGroup,h=this._controllerGroup,d=t.getOrient().index,f=l[d],p=l[1-d],g=u[1-d];r.box(t.get("orient"),s,t.get("itemGap"),d?i.width:null,d?null:i.height),r.box("horizontal",h,t.get("pageButtonItemGap",!0));var m=s.getBoundingRect(),v=h.getBoundingRect(),y=this._showController=m[f]>i[f],x=[-m.x,-m.y];o||(x[d]=s.position[d]);var _=[0,0],b=[-v.x,-v.y],w=n.retrieve2(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(y){var S=t.get("pageButtonPosition",!0);"end"===S?b[d]+=i[f]-v[f]:_[d]+=v[f]+w}b[1-d]+=m[p]/2-v[p]/2,s.attr("position",x),c.attr("position",_),h.attr("position",b);var M=this.group.getBoundingRect();M={x:0,y:0};if(M[f]=y?i[f]:m[f],M[p]=Math.max(m[p],v[p]),M[g]=Math.min(0,v[g]+b[1-d]),c.__rectSize=i[f],y){var I={x:0,y:0};I[f]=Math.max(i[f]-v[f]-w,0),I[p]=M[p],c.setClipPath(new a.Rect({shape:I})),c.__rectSize=I[f]}else h.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var A=this._getPageInfo(t);return null!=A.pageIndex&&a.updateProps(s,{position:A.contentPosition},!!y&&t),this._updatePageInfoView(t,A),M},_pageGo:function(t,e,i){var n=this._getPageInfo(e)[t];null!=n&&i.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:e.id})},_updatePageInfoView:function(t,e){var i=this._controllerGroup;n.each(["pagePrev","pageNext"],(function(n){var a=null!=e[n+"DataIndex"],r=i.childOfName(n);r&&(r.setStyle("fill",a?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),r.cursor=a?"pointer":"default")}));var a=i.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,s=null!=o?o+1:0,l=e.pageCount;a&&r&&a.setStyle("text",n.isString(r)?r.replace("{current}",s).replace("{total}",l):r({current:s,total:l}))},_getPageInfo:function(t){var e=t.get("scrollDataIndex",!0),i=this.getContentGroup(),n=this._containerGroup.__rectSize,a=t.getOrient().index,r=l[a],o=u[a],s=this._findTargetItemIndex(e),c=i.children(),h=c[s],d=c.length,f=d?1:0,p={contentPosition:i.position.slice(),pageCount:f,pageIndex:f-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!h)return p;var g=_(h);p.contentPosition[a]=-g.s;for(var m=s+1,v=g,y=g,x=null;m<=d;++m)x=_(c[m]),(!x&&y.e>v.s+n||x&&!b(x,v.s))&&(v=y.i>v.i?y:x,v&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=v.i),++p.pageCount)),y=x;for(m=s-1,v=g,y=g,x=null;m>=-1;--m)x=_(c[m]),x&&b(y,x.s)||!(v.i =e&&t.s<=e+n}},_findTargetItemIndex:function(t){var e,i=this.getContentGroup();return this._showController?i.eachChild((function(i,n){i.__legendDataIndex===t&&(e=n)})):e=0,e}}),h=c;t.exports=h},"0f55":function(t,e,i){var n=i("6d8b"),a=i("84ce"),r=function(t,e,i,n,r){a.call(this,t,e,i),this.type=n||"value",this.axisIndex=r};r.prototype={constructor:r,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},n.inherits(r,a);var o=r;t.exports=o},"0f99":function(t,e,i){var n=i("4e08"),a=(n.__DEV__,i("e0d3")),r=a.makeInner,o=a.getDataItemValue,s=i("8b7f"),l=s.getCoordSysDefineBySeries,u=i("6d8b"),c=u.createHashMap,h=u.each,d=u.map,f=u.isArray,p=u.isString,g=u.isObject,m=u.isTypedArray,v=u.isArrayLike,y=u.extend,x=(u.assert,i("ec6f")),_=i("93d0"),b=_.SOURCE_FORMAT_ORIGINAL,w=_.SOURCE_FORMAT_ARRAY_ROWS,S=_.SOURCE_FORMAT_OBJECT_ROWS,M=_.SOURCE_FORMAT_KEYED_COLUMNS,I=_.SOURCE_FORMAT_UNKNOWN,A=_.SOURCE_FORMAT_TYPED_ARRAY,T=_.SERIES_LAYOUT_BY_ROW,D=r();function C(t){var e=t.option.source,i=I;if(m(e))i=A;else if(f(e)){0===e.length&&(i=w);for(var n=0,a=e.length;n0&&(s=this.getLineLength(n)/u*1e3),s!==this._period||l!==this._loop){n.stopAnimation();var d=c;h&&(d=c(i)),n.__t>0&&(d=-s*n.__t),n.__t=0;var f=n.animate("",l).when(s,{__t:1}).delay(d).during((function(){a.updateSymbolPosition(n)}));l||f.done((function(){a.remove(n)})),f.start()}this._period=s,this._loop=l}},h.getLineLength=function(t){return l.dist(t.__p1,t.__cp1)+l.dist(t.__cp1,t.__p2)},h.updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},h.updateData=function(t,e,i){this.childAt(0).updateData(t,e,i),this._updateEffectSymbol(t,e)},h.updateSymbolPosition=function(t){var e=t.__p1,i=t.__p2,n=t.__cp1,a=t.__t,r=t.position,o=u.quadraticAt,s=u.quadraticDerivativeAt;r[0]=o(e[0],n[0],i[0],a),r[1]=o(e[1],n[1],i[1],a);var l=s(e[0],n[0],i[0],a),c=s(e[1],n[1],i[1],a);t.rotation=-Math.atan2(c,l)-Math.PI/2,t.ignore=!1},h.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var i=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,i,e)},r.inherits(c,n.Group);var d=c;t.exports=d},"10cc":function(t,e,i){var n=i("3eba"),a=i("6d8b"),r=i("9850"),o=i("2b8c"),s=i("a890"),l=i("88b3"),u=i("bd9e"),c=["inBrush","outOfBrush"],h="__ecBrushSelect",d="__ecInBrushSelectEvent",f=n.PRIORITY.VISUAL.BRUSH;function p(t,e,i,n,a){if(a){var r=t.getZr();if(!r[d]){r[h]||(r[h]=g);var o=l.createOrUpdate(r,h,i,e);o(t,n)}}}function g(t,e){if(!t.isDisposed()){var i=t.getZr();i[d]=!0,t.dispatchAction({type:"brushSelect",batch:e}),i[d]=!1}}function m(t,e,i,n){for(var a=0,r=e.length;a e[0][1]&&(e[0][1]=r[0]),r[1] e[1][1]&&(e[1][1]=r[1])}return e&&b(e)}};function b(t){return new r(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}},1111:function(t,e,i){var n=i("3eba");i("67a8"),i("4784");var a=i("7f96"),r=i("87c3");n.registerVisual(a("effectScatter","circle")),n.registerLayout(r("effectScatter"))},"133d":function(t,e,i){var n=i("6d8b"),a=i("e0d3");function r(t,e){var i,r=[],o=t.seriesIndex;if(null==o||!(i=e.getSeriesByIndex(o)))return{point:[]};var s=i.getData(),l=a.queryDataIndex(s,t);if(null==l||l<0||n.isArray(l))return{point:[]};var u=s.getItemGraphicEl(l),c=i.coordinateSystem;if(i.getTooltipPosition)r=i.getTooltipPosition(l)||[];else if(c&&c.dataToPoint)r=c.dataToPoint(s.getValues(n.map(c.dimensions,(function(t){return s.mapDimension(t)})),l,!0))||[];else if(u){var h=u.getBoundingRect().clone();h.applyTransform(u.transform),r=[h.x+h.width/2,h.y+h.height/2]}return{point:r,el:u}}t.exports=r},1418:function(t,e,i){var n=i("6d8b"),a=i("a15a"),r=a.createSymbol,o=i("2306"),s=i("3842"),l=s.parsePercent,u=i("c775"),c=u.getDefaultLabel;function h(t,e,i){o.Group.call(this),this.updateData(t,e,i)}var d=h.prototype,f=h.getSymbolSize=function(t,e){var i=t.getItemVisual(e,"symbolSize");return i instanceof Array?i.slice():[+i,+i]};function p(t){return[t[0]/2,t[1]/2]}function g(t,e){this.parent.drift(t,e)}d._createSymbol=function(t,e,i,n,a){this.removeAll();var o=e.getItemVisual(i,"color"),s=r(t,-1,-1,2,2,o,a);s.attr({z2:100,culling:!0,scale:p(n)}),s.drift=g,this._symbolType=t,this.add(s)},d.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(t)},d.getSymbolPath=function(){return this.childAt(0)},d.getScale=function(){return this.childAt(0).scale},d.highlight=function(){this.childAt(0).trigger("emphasis")},d.downplay=function(){this.childAt(0).trigger("normal")},d.setZ=function(t,e){var i=this.childAt(0);i.zlevel=t,i.z=e},d.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":"pointer"},d.updateData=function(t,e,i){this.silent=!1;var n=t.getItemVisual(e,"symbol")||"circle",a=t.hostModel,r=f(t,e),s=n!==this._symbolType;if(s){var l=t.getItemVisual(e,"symbolKeepAspect");this._createSymbol(n,t,e,r,l)}else{var u=this.childAt(0);u.silent=!1,o.updateProps(u,{scale:p(r)},a,e)}if(this._updateCommon(t,e,r,i),s){u=this.childAt(0);var c=i&&i.fadeIn,h={scale:u.scale.slice()};c&&(h.style={opacity:u.style.opacity}),u.scale=[0,0],c&&(u.style.opacity=0),o.initProps(u,h,a,e)}this._seriesModel=a};var m=["itemStyle"],v=["emphasis","itemStyle"],y=["label"],x=["emphasis","label"];function _(){!o.isInEmphasis(this)&&w.call(this)}function b(){!o.isInEmphasis(this)&&S.call(this)}function w(){if(!this.incremental&&!this.useHoverLayer){var t=this.__symbolOriginalScale,e=t[1]/t[0];this.animateTo({scale:[Math.max(1.1*t[0],t[0]+3),Math.max(1.1*t[1],t[1]+3*e)]},400,"elasticOut")}}function S(){this.incremental||this.useHoverLayer||this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}d._updateCommon=function(t,e,i,a){var r=this.childAt(0),s=t.hostModel,u=t.getItemVisual(e,"color");"image"!==r.type&&r.useStyle({strokeNoScale:!0});var h=a&&a.itemStyle,d=a&&a.hoverItemStyle,f=a&&a.symbolRotate,g=a&&a.symbolOffset,M=a&&a.labelModel,I=a&&a.hoverLabelModel,A=a&&a.hoverAnimation,T=a&&a.cursorStyle;if(!a||t.hasItemOption){var D=a&&a.itemModel?a.itemModel:t.getItemModel(e);h=D.getModel(m).getItemStyle(["color"]),d=D.getModel(v).getItemStyle(),f=D.getShallow("symbolRotate"),g=D.getShallow("symbolOffset"),M=D.getModel(y),I=D.getModel(x),A=D.getShallow("hoverAnimation"),T=D.getShallow("cursor")}else d=n.extend({},d);var C=r.style;r.attr("rotation",(f||0)*Math.PI/180||0),g&&r.attr("position",[l(g[0],i[0]),l(g[1],i[1])]),T&&r.attr("cursor",T),r.setColor(u,a&&a.symbolInnerColor),r.setStyle(h);var L=t.getItemVisual(e,"opacity");null!=L&&(C.opacity=L);var P=t.getItemVisual(e,"liftZ"),k=r.__z2Origin;null!=P?null==k&&(r.__z2Origin=r.z2,r.z2+=P):null!=k&&(r.z2=k,r.__z2Origin=null);var O=a&&a.useNameLabel;function R(e,i){return O?t.getName(e):c(t,e)}o.setLabelStyle(C,d,M,I,{labelFetcher:s,labelDataIndex:e,defaultText:R,isRectText:!0,autoColor:u}),r.off("mouseover").off("mouseout").off("emphasis").off("normal"),r.hoverStyle=d,o.setHoverStyle(r),r.__symbolOriginalScale=p(i),A&&s.isAnimationEnabled()&&r.on("mouseover",_).on("mouseout",b).on("emphasis",w).on("normal",S)},d.fadeOut=function(t,e){var i=this.childAt(0);this.silent=i.silent=!0,(!e||!e.keepLabel)&&(i.style.text=null),o.updateProps(i,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,t)},n.inherits(h,o.Group);var M=h;t.exports=M},1466:function(t,e,i){var n=i("3eba"),a=i("2306"),r=i("6d8b"),o=i("a15a");function s(t){return r.isArray(t)||(t=[+t,+t]),t}var l=n.extendChartView({type:"radar",render:function(t,e,i){var n=t.coordinateSystem,l=this.group,u=t.getData(),c=this._data;function h(t,e){var i=t.getItemVisual(e,"symbol")||"circle",n=t.getItemVisual(e,"color");if("none"!==i){var a=s(t.getItemVisual(e,"symbolSize")),r=o.createSymbol(i,-1,-1,2,2,n);return r.attr({style:{strokeNoScale:!0},z2:100,scale:[a[0]/2,a[1]/2]}),r}}function d(e,i,n,r,o,s){n.removeAll();for(var l=0;l 0&&!p.min?p.min=0:null!=p.min&&p.min<0&&!p.max&&(p.max=0);var g=u;if(null!=p.color&&(g=a.defaults({color:p.color},u)),p=a.merge(a.clone(p),{boundaryGap:t,splitNumber:e,scale:i,axisLine:n,axisTick:r,axisLabel:l,name:p.text,nameLocation:"end",nameGap:d,nameTextStyle:g,triggerEvent:f},!1),c||(p.name=""),"string"===typeof h){var m=p.name;p.name=h.replace("{value}",null!=m?m:"")}else"function"===typeof h&&(p.name=h(p.name,p));var v=a.extend(new o(p,null,this.ecModel),s);return v.mainType="radar",v.componentIndex=this.componentIndex,v}),this);this.getIndicatorModels=function(){return p}},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,name:{show:!0},boundaryGap:[0,0],splitNumber:5,nameGap:15,scale:!1,shape:"polygon",axisLine:a.merge({lineStyle:{color:"#bbb"}},l.axisLine),axisLabel:u(l.axisLabel,!1),axisTick:u(l.axisTick,!1),splitLine:u(l.splitLine,!0),splitArea:u(l.splitArea,!0),indicator:[]}}),h=c;t.exports=h},1792:function(t,e){var i={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};function n(t,e){if("china"===t){var n=i[e.name];if(n){var a=e.center;a[0]+=n[0]/10.5,a[1]+=-n[1]/14}}}t.exports=n},"17b8":function(t,e,i){var n=i("3014"),a=n.extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return!!this.get("large")&&this.get("progressive")},getProgressiveThreshold:function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t}});t.exports=a},"17d6":function(t,e,i){var n=i("6d8b"),a=i("22d1"),r=i("e0d3"),o=r.makeInner,s=o(),l=n.each;function u(t,e,i){if(!a.node){var n=e.getZr();s(n).records||(s(n).records={}),c(n,e);var r=s(n).records[t]||(s(n).records[t]={});r.handler=i}}function c(t,e){function i(i,n){t.on(i,(function(i){var a=p(e);l(s(t).records,(function(t){t&&n(t,i,a.dispatchAction)})),h(a.pendings,e)}))}s(t).initialized||(s(t).initialized=!0,i("click",n.curry(f,"click")),i("mousemove",n.curry(f,"mousemove")),i("globalout",d))}function h(t,e){var i,n=t.showTip.length,a=t.hideTip.length;n?i=t.showTip[n-1]:a&&(i=t.hideTip[a-1]),i&&(i.dispatchAction=null,e.dispatchAction(i))}function d(t,e,i){t.handler("leave",null,i)}function f(t,e,i,n){e.handler(t,i,n)}function p(t){var e={showTip:[],hideTip:[]},i=function(n){var a=e[n.type];a?a.push(n):(n.dispatchAction=i,t.dispatchAction(n))};return{dispatchAction:i,pendings:e}}function g(t,e){if(!a.node){var i=e.getZr(),n=(s(i).records||{})[t];n&&(s(i).records[t]=null)}}e.register=u,e.unregister=g},"18c0":function(t,e,i){var n=i("6d8b"),a=i("e0d8"),r=i("8e43"),o=a.prototype,s=a.extend({type:"ordinal",init:function(t,e){t&&!n.isArray(t)||(t=new r({categories:t})),this._ordinalMeta=t,this._extent=e||[0,t.categories.length-1]},parse:function(t){return"string"===typeof t?this._ordinalMeta.getOrdinal(t):Math.round(t)},contain:function(t){return t=this.parse(t),o.contain.call(this,t)&&null!=this._ordinalMeta.categories[t]},normalize:function(t){return o.normalize.call(this,this.parse(t))},scale:function(t){return Math.round(o.scale.call(this,t))},getTicks:function(){var t=[],e=this._extent,i=e[0];while(i<=e[1])t.push(i),i++;return t},getLabel:function(t){if(!this.isBlank())return this._ordinalMeta.categories[t]},count:function(){return this._extent[1]-this._extent[0]+1},unionExtentFromData:function(t,e){this.unionExtent(t.getApproximateExtent(e))},getOrdinalMeta:function(){return this._ordinalMeta},niceTicks:n.noop,niceExtent:n.noop});s.create=function(){return new s};var l=s;t.exports=l},1953:function(t,e,i){var n=i("2449"),a=n.extend({type:"markLine",defaultOption:{zlevel:0,z:5,symbol:["circle","arrow"],symbolSize:[8,16],precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end"},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"}});t.exports=a},"19e2":function(t,e,i){var n=i("6d8b"),a=i("e887"),r=i("2306"),o=i("cbe5"),s=["itemStyle"],l=["emphasis","itemStyle"],u=["color","color0","borderColor","borderColor0"],c=a.extend({type:"candlestick",render:function(t,e,i){this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},incrementalPrepareRender:function(t,e,i){this._clear(),this._updateDrawMode(t)},incrementalRender:function(t,e,i,n){this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},_updateDrawMode:function(t){var e=t.pipelineContext.large;(null==this._isLargeDraw||e^this._isLargeDraw)&&(this._isLargeDraw=e,this._clear())},_renderNormal:function(t){var e=t.getData(),i=this._data,n=this.group,a=e.getLayout("isSimpleBox");this._data||n.removeAll(),e.diff(i).add((function(i){if(e.hasValue(i)){var o,s=e.getItemLayout(i);o=d(s,i,!0),r.initProps(o,{shape:{points:s.ends}},t,i),f(o,e,i,a),n.add(o),e.setItemGraphicEl(i,o)}})).update((function(o,s){var l=i.getItemGraphicEl(s);if(e.hasValue(o)){var u=e.getItemLayout(o);l?r.updateProps(l,{shape:{points:u.ends}},t,o):l=d(u,o),f(l,e,o,a),n.add(l),e.setItemGraphicEl(o,l)}else n.remove(l)})).remove((function(t){var e=i.getItemGraphicEl(t);e&&n.remove(e)})).execute(),this._data=e},_renderLarge:function(t){this._clear(),m(t,this.group)},_incrementalRenderNormal:function(t,e){var i,n=e.getData(),a=n.getLayout("isSimpleBox");while(null!=(i=t.next())){var r,o=n.getItemLayout(i);r=d(o,i),f(r,n,i,a),r.incremental=!0,this.group.add(r)}},_incrementalRenderLarge:function(t,e){m(e,this.group,!0)},remove:function(t){this._clear()},_clear:function(){this.group.removeAll(),this._data=null},dispose:n.noop}),h=o.extend({type:"normalCandlestickBox",shape:{},buildPath:function(t,e){var i=e.points;this.__simpleBox?(t.moveTo(i[4][0],i[4][1]),t.lineTo(i[6][0],i[6][1])):(t.moveTo(i[0][0],i[0][1]),t.lineTo(i[1][0],i[1][1]),t.lineTo(i[2][0],i[2][1]),t.lineTo(i[3][0],i[3][1]),t.closePath(),t.moveTo(i[4][0],i[4][1]),t.lineTo(i[5][0],i[5][1]),t.moveTo(i[6][0],i[6][1]),t.lineTo(i[7][0],i[7][1]))}});function d(t,e,i){var n=t.ends;return new h({shape:{points:i?p(n,t):n},z2:100})}function f(t,e,i,n){var a=e.getItemModel(i),o=a.getModel(s),c=e.getItemVisual(i,"color"),h=e.getItemVisual(i,"borderColor")||c,d=o.getItemStyle(u);t.useStyle(d),t.style.strokeNoScale=!0,t.style.fill=c,t.style.stroke=h,t.__simpleBox=n;var f=a.getModel(l).getItemStyle();r.setHoverStyle(t,f)}function p(t,e){return n.map(t,(function(t){return t=t.slice(),t[1]=e.initBaseline,t}))}var g=o.extend({type:"largeCandlestickBox",shape:{},buildPath:function(t,e){for(var i=e.points,n=0;n 0?"P":"N",r=n.getVisual("borderColor"+a)||n.getVisual("color"+a),o=i.getModel(s).getItemStyle(u);e.useStyle(o),e.style.fill=null,e.style.stroke=r}var y=c;t.exports=y},"19eb":function(t,e,i){var n=i("6d8b"),a=i("2b61"),r=i("d5b7"),o=i("9e2e");function s(t){for(var e in t=t||{},r.call(this,t),t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new a(t.style,this),this._rect=null,this.__clipPaths=[]}s.prototype={constructor:s,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(t){},afterBrush:function(t){},brush:function(t,e){},getBoundingRect:function(){},contain:function(t,e){return this.rectContain(t,e)},traverse:function(t,e){t.call(e,this)},rectContain:function(t,e){var i=this.transformCoordToLocal(t,e),n=this.getBoundingRect();return n.contain(i[0],i[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(t){return this.animate("style",t)},attrKV:function(t,e){"style"!==t?r.prototype.attrKV.call(this,t,e):this.style.set(e)},setStyle:function(t,e){return this.style.set(t,e),this.dirty(!1),this},useStyle:function(t){return this.style=new a(t,this),this.dirty(!1),this}},n.inherits(s,r),n.mixin(s,o);var l=s;t.exports=l},"1ab3":function(t,e,i){var n=i("6d8b"),a=i("2306"),r=i("e887");function o(t,e,i,n){var a=e.getData(),r=this.dataIndex,o=a.getName(r),l=e.get("selectedOffset");n.dispatchAction({type:"pieToggleSelect",from:t,name:o,seriesId:e.id}),a.each((function(t){s(a.getItemGraphicEl(t),a.getItemLayout(t),e.isSelected(a.getName(t)),l,i)}))}function s(t,e,i,n,a){var r=(e.startAngle+e.endAngle)/2,o=Math.cos(r),s=Math.sin(r),l=i?n:0,u=[o*l,s*l];a?t.animate().when(200,{position:u}).start("bounceOut"):t.attr("position",u)}function l(t,e){a.Group.call(this);var i=new a.Sector({z2:2}),n=new a.Polyline,r=new a.Text;function o(){n.ignore=n.hoverIgnore,r.ignore=r.hoverIgnore}function s(){n.ignore=n.normalIgnore,r.ignore=r.normalIgnore}this.add(i),this.add(n),this.add(r),this.updateData(t,e,!0),this.on("emphasis",o).on("normal",s).on("mouseover",o).on("mouseout",s)}var u=l.prototype;u.updateData=function(t,e,i){var r=this.childAt(0),o=t.hostModel,l=t.getItemModel(e),u=t.getItemLayout(e),c=n.extend({},u);if(c.label=null,i){r.setShape(c);var h=o.getShallow("animationType");"scale"===h?(r.shape.r=u.r0,a.initProps(r,{shape:{r:u.r}},o,e)):(r.shape.endAngle=u.startAngle,a.updateProps(r,{shape:{endAngle:u.endAngle}},o,e))}else a.updateProps(r,{shape:c},o,e);var d=t.getItemVisual(e,"color");r.useStyle(n.defaults({lineJoin:"bevel",fill:d},l.getModel("itemStyle").getItemStyle())),r.hoverStyle=l.getModel("emphasis.itemStyle").getItemStyle();var f=l.getShallow("cursor");function p(){r.stopAnimation(!0),r.animateTo({shape:{r:u.r+o.get("hoverOffset")}},300,"elasticOut")}function g(){r.stopAnimation(!0),r.animateTo({shape:{r:u.r}},300,"elasticOut")}f&&r.attr("cursor",f),s(this,t.getItemLayout(e),o.isSelected(null,e),o.get("selectedOffset"),o.get("animation")),r.off("mouseover").off("mouseout").off("emphasis").off("normal"),l.get("hoverAnimation")&&o.isAnimationEnabled()&&r.on("mouseover",p).on("mouseout",g).on("emphasis",p).on("normal",g),this._updateLabel(t,e),a.setHoverStyle(this)},u._updateLabel=function(t,e){var i=this.childAt(1),n=this.childAt(2),r=t.hostModel,o=t.getItemModel(e),s=t.getItemLayout(e),l=s.label,u=t.getItemVisual(e,"color");a.updateProps(i,{shape:{points:l.linePoints||[[l.x,l.y],[l.x,l.y],[l.x,l.y]]}},r,e),a.updateProps(n,{style:{x:l.x,y:l.y}},r,e),n.attr({rotation:l.rotation,origin:[l.x,l.y],z2:10});var c=o.getModel("label"),h=o.getModel("emphasis.label"),d=o.getModel("labelLine"),f=o.getModel("emphasis.labelLine");u=t.getItemVisual(e,"color");a.setLabelStyle(n.style,n.hoverStyle={},c,h,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:t.getName(e),autoColor:u,useInsideStyle:!!l.inside},{textAlign:l.textAlign,textVerticalAlign:l.verticalAlign,opacity:t.getItemVisual(e,"opacity")}),n.ignore=n.normalIgnore=!c.get("show"),n.hoverIgnore=!h.get("show"),i.ignore=i.normalIgnore=!d.get("show"),i.hoverIgnore=!f.get("show"),i.setStyle({stroke:u,opacity:t.getItemVisual(e,"opacity")}),i.setStyle(d.getModel("lineStyle").getLineStyle()),i.hoverStyle=f.getModel("lineStyle").getLineStyle();var p=d.get("smooth");p&&!0===p&&(p=.4),i.setShape({smooth:p})},n.inherits(l,a.Group);var c=r.extend({type:"pie",init:function(){var t=new a.Group;this._sectorGroup=t},render:function(t,e,i,a){if(!a||a.from!==this.uid){var r=t.getData(),s=this._data,u=this.group,c=e.get("animation"),h=!s,d=t.get("animationType"),f=n.curry(o,this.uid,t,c,i),p=t.get("selectedMode");if(r.diff(s).add((function(t){var e=new l(r,t);h&&"scale"!==d&&e.eachChild((function(t){t.stopAnimation(!0)})),p&&e.on("click",f),r.setItemGraphicEl(t,e),u.add(e)})).update((function(t,e){var i=s.getItemGraphicEl(e);i.updateData(r,t),i.off("click"),p&&i.on("click",f),u.add(i),r.setItemGraphicEl(t,i)})).remove((function(t){var e=s.getItemGraphicEl(t);u.remove(e)})).execute(),c&&h&&r.count()>0&&"scale"!==d){var g=r.getItemLayout(0),m=Math.max(i.getWidth(),i.getHeight())/2,v=n.bind(u.removeClipPath,u);u.setClipPath(this._createClipPath(g.cx,g.cy,m,g.startAngle,g.clockwise,v,t))}else u.removeClipPath();this._data=r}},dispose:function(){},_createClipPath:function(t,e,i,n,r,o,s){var l=new a.Sector({shape:{cx:t,cy:e,r0:0,r:i,startAngle:n,endAngle:n,clockwise:r}});return a.initProps(l,{shape:{endAngle:n+(r?1:-1)*Math.PI*2}},s,o),l},containPoint:function(t,e){var i=e.getData(),n=i.getItemLayout(0);if(n){var a=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(a*a+r*r);return o<=n.r&&o>=n.r0}}}),h=c;t.exports=h},"1c5f":function(t,e,i){var n=i("401b");function a(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var i=t.getGraph();i.eachNode((function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])})),r(i)}}function r(t){t.eachEdge((function(t){var e=t.getModel().get("lineStyle.curveness")||0,i=n.clone(t.node1.getLayout()),a=n.clone(t.node2.getLayout()),r=[i,a];+e&&r.push([(i[0]+a[0])/2-(i[1]-a[1])*e,(i[1]+a[1])/2-(a[0]-i[0])*e]),t.setLayout(r)}))}e.simpleLayout=a,e.simpleLayoutEdge=r},"1ccf":function(t,e,i){var n=i("4e08"),a=(n.__DEV__,i("6d8b")),r=i("fd27"),o=i("3842"),s=o.parsePercent,l=i("697e"),u=l.createScaleByModel,c=l.niceScaleExtent,h=i("2039"),d=i("ee1a"),f=d.getStackedDimension;function p(t,e,i){var n=e.get("center"),a=i.getWidth(),r=i.getHeight();t.cx=s(n[0],a),t.cy=s(n[1],r);var o=t.getRadiusAxis(),l=Math.min(a,r)/2,u=s(e.get("radius"),l);o.inverse?o.setExtent(u,0):o.setExtent(0,u)}function g(t,e){var i=this,n=i.getAngleAxis(),r=i.getRadiusAxis();if(n.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===i){var e=t.getData();a.each(e.mapDimension("radius",!0),(function(t){r.scale.unionExtentFromData(e,f(e,t))})),a.each(e.mapDimension("angle",!0),(function(t){n.scale.unionExtentFromData(e,f(e,t))}))}})),c(n.scale,n.model),c(r.scale,r.model),"category"===n.type&&!n.onBand){var o=n.getExtent(),s=360/n.scale.count();n.inverse?o[1]+=s:o[1]-=s,n.setExtent(o[0],o[1])}}function m(t,e){if(t.type=e.get("type"),t.scale=u(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),"angleAxis"===e.mainType){t.inverse^=e.get("clockwise");var i=e.get("startAngle");t.setExtent(i,i+(t.inverse?-360:360))}e.axis=t,t.model=e}i("78f0");var v={dimensions:r.prototype.dimensions,create:function(t,e){var i=[];return t.eachComponent("polar",(function(t,n){var a=new r(n);a.update=g;var o=a.getRadiusAxis(),s=a.getAngleAxis(),l=t.findAxisModel("radiusAxis"),u=t.findAxisModel("angleAxis");m(o,l),m(s,u),p(a,t,e),i.push(a),t.coordinateSystem=a,a.model=t})),t.eachSeries((function(e){if("polar"===e.get("coordinateSystem")){var i=t.queryComponents({mainType:"polar",index:e.get("polarIndex"),id:e.get("polarId")})[0];e.coordinateSystem=i.coordinateSystem}})),i}};h.register("polar",v)},"1e32":function(t,e,i){var n=i("6d8b"),a=i("3842"),r=a.parsePercent,o=i("ee1a"),s=o.isDimensionStacked;function l(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function u(t){return t.dim}function c(t,e,i){i.getWidth(),i.getHeight();var a={},r=h(n.filter(e.getSeriesByType(t),(function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type})));e.eachSeriesByType(t,(function(t){if("polar"===t.coordinateSystem.type){var e=t.getData(),i=t.coordinateSystem,n=i.getBaseAxis(),o=l(t),c=r[u(n)][o],h=c.offset,d=c.width,f=i.getOtherAxis(n),p=t.coordinateSystem.cx,g=t.coordinateSystem.cy,m=t.get("barMinHeight")||0,v=t.get("barMinAngle")||0;a[o]=a[o]||[];for(var y=e.mapDimension(f.dim),x=e.mapDimension(n.dim),_=s(e,y),b=f.getExtent()[0],w=0,S=e.count();w =0?"p":"n",P=b;if(_&&(a[o][I]||(a[o][I]={p:b,n:b}),P=a[o][I][L]),"radius"===f.dim){var k=f.dataToRadius(M)-b,O=n.dataToAngle(I);Math.abs(k)=a/3?1:2),l=e.y-n(o)*r*(r>=a/3?1:2);o=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+i(o)*r,e.y+n(o)*r),t.lineTo(e.x+i(e.angle)*a,e.y+n(e.angle)*a),t.lineTo(e.x-i(o)*r,e.y-n(o)*r),t.lineTo(s,l)}});t.exports=a},"1f1a":function(t,e,i){var n=i("6d8b"),a=i("e0d3"),r=i("6cb7"),o=i("4319"),s=i("7023"),l=i("eeea"),u=r.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(t){r.prototype.init.apply(this,arguments),a.defaultEmphasis(t,"label",["show"])},optionUpdated:function(){var t=this.option,e=this;t.regions=l.getFilledRegions(t.regions,t.map,t.nameMap),this._optionModelMap=n.reduce(t.regions||[],(function(t,i){return i.name&&t.set(i.name,new o(i,e)),t}),n.createHashMap()),this.updateSelectedMap(t.regions)},defaultOption:{zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",color:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},getRegionModel:function(t){return this._optionModelMap.get(t)||new o(null,this,this.ecModel)},getFormattedLabel:function(t,e){var i=this.getRegionModel(t),n=i.get("label."+e+".formatter"),a={name:t};return"function"===typeof n?(a.status=e,n(a)):"string"===typeof n?n.replace("{a}",null!=t?t:""):void 0},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t}});n.mixin(u,s);var c=u;t.exports=c},"1fab":function(t,e){var i=Array.prototype.slice,n=function(t){this._$handlers={},this._$eventProcessor=t};function a(t,e){var i=t._$eventProcessor;return null!=e&&i&&i.normalizeQuery&&(e=i.normalizeQuery(e)),e}function r(t,e,i,n,r,o){var s=t._$handlers;if("function"===typeof i&&(r=n,n=i,i=null),!n||!e)return t;i=a(t,i),s[e]||(s[e]=[]);for(var l=0;l 3&&(a=i.call(a,1));for(var o=e.length,s=0;s4&&(a=i.call(a,1,a.length-1));for(var o=a[a.length-1],s=e.length,l=0;l this._ux||x(e-this._yi)>this._uy||this._len<5;return this.addData(u.L,t,e),this._ctx&&i&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),i&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,i,n,a,r){return this.addData(u.C,t,e,i,n,a,r),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,i,n,a,r):this._ctx.bezierCurveTo(t,e,i,n,a,r)),this._xi=a,this._yi=r,this},quadraticCurveTo:function(t,e,i,n){return this.addData(u.Q,t,e,i,n),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,i,n):this._ctx.quadraticCurveTo(t,e,i,n)),this._xi=i,this._yi=n,this},arc:function(t,e,i,n,a,r){return this.addData(u.A,t,e,i,i,n,a-n,0,r?0:1),this._ctx&&this._ctx.arc(t,e,i,n,a,r),this._xi=m(a)*i+t,this._yi=v(a)*i+e,this},arcTo:function(t,e,i,n,a){return this._ctx&&this._ctx.arcTo(t,e,i,n,a),this},rect:function(t,e,i,n){return this._ctx&&this._ctx.rect(t,e,i,n),this.addData(u.R,t,e,i,n),this},closePath:function(){this.addData(u.Z);var t=this._ctx,e=this._x0,i=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,i),t.closePath()),this._xi=e,this._yi=i,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,i=0;ie.length&&(this._expandData(),e=this.data);for(var i=0;i 0&&f<=t||c<0&&f>=t||0===c&&(h>0&&m<=e||h<0&&m>=e))n=this._dashIdx,i=o[n],f+=c*i,m+=h*i,this._dashIdx=(n+1)%v,c>0&&f l||h>0&&mu||s[n%2?"moveTo":"lineTo"](c>=0?p(f,t):g(f,t),h>=0?p(m,e):g(m,e));c=f-t,h=m-e,this._dashOffset=-y(c*c+h*h)},_dashedBezierTo:function(t,e,i,a,r,o){var s,l,u,c,h,d=this._dashSum,f=this._dashOffset,p=this._lineDash,g=this._ctx,m=this._xi,v=this._yi,x=n.cubicAt,_=0,b=this._dashIdx,w=p.length,S=0;for(f<0&&(f=d+f),f%=d,s=0;s<1;s+=.1)l=x(m,t,i,r,s+.1)-x(m,t,i,r,s),u=x(v,e,a,o,s+.1)-x(v,e,a,o,s),_+=y(l*l+u*u);for(;b f)break;s=(S-f)/_;while(s<=1)c=x(m,t,i,r,s),h=x(v,e,a,o,s),b%2?g.moveTo(c,h):g.lineTo(c,h),s+=p[b]/_,b=(b+1)%w;b%2!==0&&g.lineTo(r,o),l=r-c,u=o-h,this._dashOffset=-y(l*l+u*u)},_dashedQuadraticTo:function(t,e,i,n){var a=i,r=n;i=(i+2*t)/3,n=(n+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,i,n,a,r)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,_&&(this.data=new Float32Array(t)))},getBoundingRect:function(){c[0]=c[1]=d[0]=d[1]=Number.MAX_VALUE,h[0]=h[1]=f[0]=f[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,i=0,n=0,s=0,l=0;l l||x(o-a)>c||d===h-1)&&(t.lineTo(r,o),n=r,a=o);break;case u.C:t.bezierCurveTo(s[d++],s[d++],s[d++],s[d++],s[d++],s[d++]),n=s[d-2],a=s[d-1];break;case u.Q:t.quadraticCurveTo(s[d++],s[d++],s[d++],s[d++]),n=s[d-2],a=s[d-1];break;case u.A:var p=s[d++],g=s[d++],y=s[d++],_=s[d++],b=s[d++],w=s[d++],S=s[d++],M=s[d++],I=y>_?y:_,A=y>_?1:y/_,T=y>_?_/y:1,D=Math.abs(y-_)>.001,C=b+w;D?(t.translate(p,g),t.rotate(S),t.scale(A,T),t.arc(0,0,I,b,C,1-M),t.scale(1/A,1/T),t.rotate(-S),t.translate(-p,-g)):t.arc(p,g,I,b,C,1-M),1===d&&(e=m(b)*y+p,i=v(b)*_+g),n=m(C)*y+p,a=v(C)*_+g;break;case u.R:e=n=s[d],i=a=s[d+1],t.rect(s[d++],s[d++],s[d++],s[d++]);break;case u.Z:t.closePath(),n=e,a=i}}}},b.CMD=u;var w=b;t.exports=w},2145:function(t,e){var i={};function n(t,e){i[t]=e}function a(t){return i[t]}e.register=n,e.get=a},2163:function(t,e,i){var n=i("4f85"),a=i("06c7"),r=i("eda2"),o=r.encodeHTML,s=n.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(t){var e={name:t.name,children:t.data},i=t.leaves||{},n={};n.leaves=i;var r=a.createTree(e,this,n),o=0;r.eachNode("preorder",(function(t){t.depth>o&&(o=t.depth)}));var s=t.expandAndCollapse,l=s&&t.initialTreeDepth>=0?t.initialTreeDepth:o;return r.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=l})),r.data},getOrient:function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},formatTooltip:function(t){var e=this.getData().tree,i=e.root.children[0],n=e.getNodeByDataIndex(t),a=n.getValue(),r=n.name;while(n&&n!==i)r=n.parentNode.name+"."+r,n=n.parentNode;return o(r+(isNaN(a)||null==a?"":" : "+a))},defaultOption:{zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderColor:"#c23531",borderWidth:1.5},label:{show:!0,color:"#555"},leaves:{label:{show:!0}},animationEasing:"linear",animationDuration:700,animationDurationUpdate:1e3}});t.exports=s},"216a":function(t,e,i){var n=i("6d8b"),a=i("3842"),r=i("eda2"),o=i("944e"),s=i("89e3"),l=s.prototype,u=Math.ceil,c=Math.floor,h=1e3,d=60*h,f=60*d,p=24*f,g=function(t,e,i,n){while(i >>1;t[a][1] i&&(s=i);var l=v.length,h=g(v,s,0,l),d=v[Math.min(h,l-1)],f=d[1];if("year"===d[0]){var p=r/f,m=a.nice(p/t,!0);f*=m}var y=this.getSetting("useUTC")?0:60*new Date(+n[0]||+n[1]).getTimezoneOffset()*1e3,x=[Math.round(u((n[0]-y)/f)*f+y),Math.round(c((n[1]-y)/f)*f+y)];o.fixExtent(x,n),this._stepLvl=d,this._interval=f,this._niceExtent=x},parse:function(t){return+a.parseDate(t)}});n.each(["contain","normalize"],(function(t){m.prototype[t]=function(e){return l[t].call(this,this.parse(e))}}));var v=[["hh:mm:ss",h],["hh:mm:ss",5*h],["hh:mm:ss",10*h],["hh:mm:ss",15*h],["hh:mm:ss",30*h],["hh:mm\nMM-dd",d],["hh:mm\nMM-dd",5*d],["hh:mm\nMM-dd",10*d],["hh:mm\nMM-dd",15*d],["hh:mm\nMM-dd",30*d],["hh:mm\nMM-dd",f],["hh:mm\nMM-dd",2*f],["hh:mm\nMM-dd",6*f],["hh:mm\nMM-dd",12*f],["MM-dd\nyyyy",p],["MM-dd\nyyyy",2*p],["MM-dd\nyyyy",3*p],["MM-dd\nyyyy",4*p],["MM-dd\nyyyy",5*p],["MM-dd\nyyyy",6*p],["week",7*p],["MM-dd\nyyyy",10*p],["week",14*p],["week",21*p],["month",31*p],["week",42*p],["month",62*p],["week",70*p],["quarter",95*p],["month",31*p*4],["month",31*p*5],["half-year",380*p/2],["month",31*p*8],["month",31*p*10],["year",380*p]];m.create=function(t){return new m({useUTC:t.ecModel.get("useUTC")})};var y=m;t.exports=y},"217b":function(t,e,i){var n=i("4e08"),a=(n.__DEV__,i("3301")),r=i("4f85"),o=r.extend({type:"series.line",dependencies:["grid","polar"],getInitialData:function(t,e){return a(this.getSource(),this)},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,hoverAnimation:!0,clipOverflow:!0,label:{position:"top"},lineStyle:{width:2,type:"solid"},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}});t.exports=o},"217c":function(t,e,i){var n=i("6d8b"),a=i("6cb7");i("df3a");var r=a.extend({type:"parallel",dependencies:["parallelAxis"],coordinateSystem:null,dimensions:null,parallelAxisIndex:null,layoutMode:"box",defaultOption:{zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},init:function(){a.prototype.init.apply(this,arguments),this.mergeOption({})},mergeOption:function(t){var e=this.option;t&&n.merge(e,t,!0),this._initDimensions()},contains:function(t,e){var i=t.get("parallelIndex");return null!=i&&e.getComponent("parallel",i)===this},setAxisExpand:function(t){n.each(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},_initDimensions:function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[],i=n.filter(this.dependentModels.parallelAxis,(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this);n.each(i,(function(i){t.push("dim"+i.get("dim")),e.push(i.componentIndex)}))}});t.exports=r},"22d1":function(t,e){var i={};i="object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?{browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:"undefined"===typeof document&&"undefined"!==typeof self?{browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:"undefined"===typeof navigator?{browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:a(navigator.userAgent);var n=i;function a(t){var e={},i={},n=t.match(/Firefox\/([\d.]+)/),a=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),r=t.match(/Edge\/([\d.]+)/),o=/micromessenger/i.test(t);return n&&(i.firefox=!0,i.version=n[1]),a&&(i.ie=!0,i.version=a[1]),r&&(i.edge=!0,i.version=r[1]),o&&(i.weChat=!0),{browser:i,os:e,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:"undefined"!==typeof SVGRect,touchEventsSupported:"ontouchstart"in window&&!i.ie&&!i.edge,pointerEventsSupported:"onpointerdown"in window&&(i.edge||i.ie&&i.version>=11),domSupported:"undefined"!==typeof document}}t.exports=n},"22da":function(t,e,i){var n=i("f934");function a(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};var e,i,n=[t];while(e=n.pop())if(i=e.children,e.isExpand&&i.length)for(var a=i.length,r=a-1;r>=0;r--){var o=i[r];o.hierNode={defaultAncestor:null,ancestor:o,prelim:0,modifier:0,change:0,shift:0,i:r,thread:null},n.push(o)}}function r(t,e){var i=t.isExpand?t.children:[],n=t.parentNode.children,a=t.hierNode.i?n[t.hierNode.i-1]:null;if(i.length){c(t);var r=(i[0].hierNode.prelim+i[i.length-1].hierNode.prelim)/2;a?(t.hierNode.prelim=a.hierNode.prelim+e(t,a),t.hierNode.modifier=t.hierNode.prelim-r):t.hierNode.prelim=r}else a&&(t.hierNode.prelim=a.hierNode.prelim+e(t,a));t.parentNode.hierNode.defaultAncestor=h(t,a,t.parentNode.hierNode.defaultAncestor||n[0],e)}function o(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function s(t){return arguments.length?t:m}function l(t,e){var i={};return t-=Math.PI/2,i.x=e*Math.cos(t),i.y=e*Math.sin(t),i}function u(t,e){return n.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function c(t){var e=t.children,i=e.length,n=0,a=0;while(--i>=0){var r=e[i];r.hierNode.prelim+=n,r.hierNode.modifier+=n,a+=r.hierNode.change,n+=r.hierNode.shift+a}}function h(t,e,i,n){if(e){var a=t,r=t,o=r.parentNode.children[0],s=e,l=a.hierNode.modifier,u=r.hierNode.modifier,c=o.hierNode.modifier,h=s.hierNode.modifier;while(s=d(s),r=f(r),s&&r){a=d(a),o=f(o),a.hierNode.ancestor=t;var m=s.hierNode.prelim+h-r.hierNode.prelim-u+n(s,r);m>0&&(g(p(s,t,i),t,m),u+=m,l+=m),h+=s.hierNode.modifier,u+=r.hierNode.modifier,l+=a.hierNode.modifier,c+=o.hierNode.modifier}s&&!d(a)&&(a.hierNode.thread=s,a.hierNode.modifier+=h-l),r&&!f(o)&&(o.hierNode.thread=r,o.hierNode.modifier+=u-c,i=t)}return i}function d(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function f(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function p(t,e,i){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:i}function g(t,e,i){var n=i/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=n,e.hierNode.shift+=i,e.hierNode.modifier+=i,e.hierNode.prelim+=i,t.hierNode.change+=n}function m(t,e){return t.parentNode===e.parentNode?1:2}e.init=a,e.firstWalk=r,e.secondWalk=o,e.separation=s,e.radialCoordinate=l,e.getViewRect=u},2306:function(t,e,i){var n=i("6d8b"),a=i("342d"),r=i("41ef"),o=i("1687"),s=i("401b"),l=i("cbe5"),u=i("0cde"),c=i("0da8");e.Image=c;var h=i("e1fc");e.Group=h;var d=i("76a5");e.Text=d;var f=i("d9fc");e.Circle=f;var p=i("4aa2");e.Sector=p;var g=i("4573");e.Ring=g;var m=i("87b1");e.Polygon=m;var v=i("d498");e.Polyline=v;var y=i("c7a2");e.Rect=y;var x=i("cb11");e.Line=x;var _=i("ac0f");e.BezierCurve=_;var b=i("8d32");e.Arc=b;var w=i("d4c6");e.CompoundPath=w;var S=i("48a9");e.LinearGradient=S;var M=i("dded");e.RadialGradient=M;var I=i("9850");e.BoundingRect=I;var A=i("392f");e.IncrementalDisplayable=A;var T=Math.round,D=Math.max,C=Math.min,L={},P=1;function k(t){return l.extend(t)}function O(t,e){return a.extendFromString(t,e)}function R(t,e,i,n){var r=a.createFromString(t,e);return i&&("center"===n&&(i=N(i,r.getBoundingRect())),V(r,i)),r}function E(t,e,i){var n=new c({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===i){var a={width:t.width,height:t.height};n.setStyle(N(e,a))}}});return n}function N(t,e){var i,n=e.width/e.height,a=t.height*n;a<=t.width?i=t.height:(a=t.width,i=a/n);var r=t.x+t.width/2,o=t.y+t.height/2;return{x:r-a/2,y:o-i/2,width:a,height:i}}var z=a.mergePath;function V(t,e){if(t.applyTransform){var i=t.getBoundingRect(),n=i.calculateTransform(e);t.applyTransform(n)}}function B(t){var e=t.shape,i=t.style.lineWidth;return T(2*e.x1)===T(2*e.x2)&&(e.x1=e.x2=F(e.x1,i,!0)),T(2*e.y1)===T(2*e.y2)&&(e.y1=e.y2=F(e.y1,i,!0)),t}function G(t){var e=t.shape,i=t.style.lineWidth,n=e.x,a=e.y,r=e.width,o=e.height;return e.x=F(e.x,i,!0),e.y=F(e.y,i,!0),e.width=Math.max(F(n+r,i,!1)-e.x,0===r?0:1),e.height=Math.max(F(a+o,i,!1)-e.y,0===o?0:1),t}function F(t,e,i){var n=T(2*t);return(n+T(e))%2===0?n/2:(n+(i?1:-1))/2}function H(t){return null!=t&&"none"!==t}var W=n.createHashMap(),Z=0;function U(t){if("string"!==typeof t)return t;var e=W.get(t);return e||(e=r.lift(t,-.1),Z<1e4&&(W.set(t,e),Z++)),e}function Y(t){if(t.__hoverStlDirty){t.__hoverStlDirty=!1;var e=t.__hoverStl;if(e){var i=t.__cachedNormalStl={};t.__cachedNormalZ2=t.z2;var n=t.style;for(var a in e)null!=e[a]&&(i[a]=n[a]);i.fill=n.fill,i.stroke=n.stroke}else t.__cachedNormalStl=t.__cachedNormalZ2=null}}function j(t){var e=t.__hoverStl;if(e&&!t.__highlighted){var i=t.useHoverLayer;t.__highlighted=i?"layer":"plain";var n=t.__zr;if(n||!i){var a=t,r=t.style;i&&(a=n.addHover(t),r=a.style),ft(r),i||Y(a),r.extendFrom(e),X(r,e,"fill"),X(r,e,"stroke"),dt(r),i||(t.dirty(!1),t.z2+=P)}}}function X(t,e,i){!H(e[i])&&H(t[i])&&(t[i]=U(t[i]))}function q(t){var e=t.__highlighted;if(e)if(t.__highlighted=!1,"layer"===e)t.__zr&&t.__zr.removeHover(t);else if(e){var i=t.style,n=t.__cachedNormalStl;n&&(ft(i),t.setStyle(n),dt(i));var a=t.__cachedNormalZ2;null!=a&&t.z2-a===P&&(t.z2=a)}}function K(t,e){t.isGroup?t.traverse((function(t){!t.isGroup&&e(t)})):e(t)}function $(t,e){e=t.__hoverStl=!1!==e&&(e||{}),t.__hoverStlDirty=!0,t.__highlighted&&(t.__cachedNormalStl=null,q(t),j(t))}function J(t){return t&&t.__isEmphasisEntered}function Q(t){this.__hoverSilentOnTouch&&t.zrByTouch||!this.__isEmphasisEntered&&K(this,j)}function tt(t){this.__hoverSilentOnTouch&&t.zrByTouch||!this.__isEmphasisEntered&&K(this,q)}function et(){this.__isEmphasisEntered=!0,K(this,j)}function it(){this.__isEmphasisEntered=!1,K(this,q)}function nt(t,e,i){t.isGroup?t.traverse((function(t){!t.isGroup&&$(t,t.hoverStyle||e)})):$(t,t.hoverStyle||e),at(t,i)}function at(t,e){var i=!1===e;if(t.__hoverSilentOnTouch=null!=e&&e.hoverSilentOnTouch,!i||t.__hoverStyleTrigger){var n=i?"off":"on";t[n]("mouseover",Q)[n]("mouseout",tt),t[n]("emphasis",et)[n]("normal",it),t.__hoverStyleTrigger=!i}}function rt(t,e,i,a,r,o,s){r=r||L;var l,u=r.labelFetcher,c=r.labelDataIndex,h=r.labelDimIndex,d=i.getShallow("show"),f=a.getShallow("show");(d||f)&&(u&&(l=u.getFormattedLabel(c,"normal",null,h)),null==l&&(l=n.isFunction(r.defaultText)?r.defaultText(c,r):r.defaultText));var p=d?l:null,g=f?n.retrieve2(u?u.getFormattedLabel(c,"emphasis",null,h):null,l):null;null==p&&null==g||(ot(t,i,o,r),ot(e,a,s,r,!0)),t.text=p,e.text=g}function ot(t,e,i,a,r){return lt(t,e,a,r),i&&n.extend(t,i),t}function st(t,e,i){var n,a={isRectText:!0};!1===i?n=!0:a.autoColor=i,lt(t,e,a,n)}function lt(t,e,i,a){if(i=i||L,i.isRectText){var r=e.getShallow("position")||(a?null:"inside");"outside"===r&&(r="top"),t.textPosition=r,t.textOffset=e.getShallow("offset");var o=e.getShallow("rotate");null!=o&&(o*=Math.PI/180),t.textRotation=o,t.textDistance=n.retrieve2(e.getShallow("distance"),a?null:5)}var s,l=e.ecModel,u=l&&l.option.textStyle,c=ut(e);if(c)for(var h in s={},c)if(c.hasOwnProperty(h)){var d=e.getModel(["rich",h]);ct(s[h]={},d,u,i,a)}return t.rich=s,ct(t,e,u,i,a,!0),i.forceRich&&!i.textStyle&&(i.textStyle={}),t}function ut(t){var e;while(t&&t!==t.ecModel){var i=(t.option||L).rich;if(i)for(var n in e=e||{},i)i.hasOwnProperty(n)&&(e[n]=1);t=t.parentModel}return e}function ct(t,e,i,a,r,o){i=!r&&i||L,t.textFill=ht(e.getShallow("color"),a)||i.color,t.textStroke=ht(e.getShallow("textBorderColor"),a)||i.textBorderColor,t.textStrokeWidth=n.retrieve2(e.getShallow("textBorderWidth"),i.textBorderWidth),t.insideRawTextPosition=t.textPosition,r||(o&&(t.insideRollbackOpt=a,dt(t)),null==t.textFill&&(t.textFill=a.autoColor)),t.fontStyle=e.getShallow("fontStyle")||i.fontStyle,t.fontWeight=e.getShallow("fontWeight")||i.fontWeight,t.fontSize=e.getShallow("fontSize")||i.fontSize,t.fontFamily=e.getShallow("fontFamily")||i.fontFamily,t.textAlign=e.getShallow("align"),t.textVerticalAlign=e.getShallow("verticalAlign")||e.getShallow("baseline"),t.textLineHeight=e.getShallow("lineHeight"),t.textWidth=e.getShallow("width"),t.textHeight=e.getShallow("height"),t.textTag=e.getShallow("tag"),o&&a.disableBox||(t.textBackgroundColor=ht(e.getShallow("backgroundColor"),a),t.textPadding=e.getShallow("padding"),t.textBorderColor=ht(e.getShallow("borderColor"),a),t.textBorderWidth=e.getShallow("borderWidth"),t.textBorderRadius=e.getShallow("borderRadius"),t.textBoxShadowColor=e.getShallow("shadowColor"),t.textBoxShadowBlur=e.getShallow("shadowBlur"),t.textBoxShadowOffsetX=e.getShallow("shadowOffsetX"),t.textBoxShadowOffsetY=e.getShallow("shadowOffsetY")),t.textShadowColor=e.getShallow("textShadowColor")||i.textShadowColor,t.textShadowBlur=e.getShallow("textShadowBlur")||i.textShadowBlur,t.textShadowOffsetX=e.getShallow("textShadowOffsetX")||i.textShadowOffsetX,t.textShadowOffsetY=e.getShallow("textShadowOffsetY")||i.textShadowOffsetY}function ht(t,e){return"auto"!==t?t:e&&e.autoColor?e.autoColor:null}function dt(t){var e=t.insideRollbackOpt;if(e&&null==t.textFill){var i,n=e.useInsideStyle,a=t.insideRawTextPosition,r=e.autoColor;!1!==n&&(!0===n||e.isRectText&&a&&"string"===typeof a&&a.indexOf("inside")>=0)?(i={textFill:null,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth},t.textFill="#fff",null==t.textStroke&&(t.textStroke=r,null==t.textStrokeWidth&&(t.textStrokeWidth=2))):null!=r&&(i={textFill:null},t.textFill=r),i&&(t.insideRollback=i)}}function ft(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function pt(t,e){var i=e||e.getModel("textStyle");return n.trim([t.fontStyle||i&&i.getShallow("fontStyle")||"",t.fontWeight||i&&i.getShallow("fontWeight")||"",(t.fontSize||i&&i.getShallow("fontSize")||12)+"px",t.fontFamily||i&&i.getShallow("fontFamily")||"sans-serif"].join(" "))}function gt(t,e,i,n,a,r){"function"===typeof a&&(r=a,a=null);var o=n&&n.isAnimationEnabled();if(o){var s=t?"Update":"",l=n.getShallow("animationDuration"+s),u=n.getShallow("animationEasing"+s),c=n.getShallow("animationDelay"+s);"function"===typeof c&&(c=c(a,n.getAnimationDelayParams?n.getAnimationDelayParams(e,a):null)),"function"===typeof l&&(l=l(a)),l>0?e.animateTo(i,l,c||0,u,r,!!r):(e.stopAnimation(),e.attr(i),r&&r())}else e.stopAnimation(),e.attr(i),r&&r()}function mt(t,e,i,n,a){gt(!0,t,e,i,n,a)}function vt(t,e,i,n,a){gt(!1,t,e,i,n,a)}function yt(t,e){var i=o.identity([]);while(t&&t!==e)o.mul(i,t.getLocalTransform(),i),t=t.parent;return i}function xt(t,e,i){return e&&!n.isArrayLike(e)&&(e=u.getLocalTransform(e)),i&&(e=o.invert([],e)),s.applyTransform([],t,e)}function _t(t,e,i){var n=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),a=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),r=["left"===t?-n:"right"===t?n:0,"top"===t?-a:"bottom"===t?a:0];return r=xt(r,e,i),Math.abs(r[0])>Math.abs(r[1])?r[0]>0?"right":"left":r[1]>0?"bottom":"top"}function bt(t,e,i,a){if(t&&e){var r=o(t);e.traverse((function(t){if(!t.isGroup&&t.anid){var e=r[t.anid];if(e){var n=l(t);t.attr(l(e)),mt(t,n,i,t.dataIndex)}}}))}function o(t){var e={};return t.traverse((function(t){!t.isGroup&&t.anid&&(e[t.anid]=t)})),e}function l(t){var e={position:s.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=n.extend({},t.shape)),e}}function wt(t,e){return n.map(t,(function(t){var i=t[0];i=D(i,e.x),i=C(i,e.x+e.width);var n=t[1];return n=D(n,e.y),n=C(n,e.y+e.height),[i,n]}))}function St(t,e){var i=D(t.x,e.x),n=C(t.x+t.width,e.x+e.width),a=D(t.y,e.y),r=C(t.y+t.height,e.y+e.height);if(n>=i&&r>=a)return{x:i,y:a,width:n-i,height:r-a}}function Mt(t,e,i){e=n.extend({rectHover:!0},e);var a=e.style={strokeNoScale:!0};if(i=i||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(a.image=t.slice(8),n.defaults(a,i),new c(e)):R(t.replace("path://",""),e,i,"center")}e.Z2_EMPHASIS_LIFT=P,e.extendShape=k,e.extendPath=O,e.makePath=R,e.makeImage=E,e.mergePath=z,e.resizePath=V,e.subPixelOptimizeLine=B,e.subPixelOptimizeRect=G,e.subPixelOptimize=F,e.setElementHoverStyle=$,e.isInEmphasis=J,e.setHoverStyle=nt,e.setAsHoverStyleTrigger=at,e.setLabelStyle=rt,e.setTextStyle=ot,e.setText=st,e.getFont=pt,e.updateProps=mt,e.initProps=vt,e.getTransform=yt,e.applyTransform=xt,e.transformDirection=_t,e.groupTransition=bt,e.clipPointsByRect=wt,e.clipRectByRect=St,e.createIcon=Mt},2325:function(t,e,i){var n=i("6d8b"),a=i("607d"),r=i("2306"),o=i("88b3"),s=i("7dcf"),l=i("3842"),u=i("f934"),c=i("ef6a"),h=r.Rect,d=l.linearMap,f=l.asc,p=n.bind,g=n.each,m=7,v=1,y=30,x="horizontal",_="vertical",b=5,w=["line","bar","candlestick","scatter"],S=s.extend({type:"dataZoom.slider",init:function(t,e){this._displayables={},this._orient,this._range,this._handleEnds,this._size,this._handleWidth,this._handleHeight,this._location,this._dragging,this._dataShadowInfo,this.api=e},render:function(t,e,i,n){S.superApply(this,"render",arguments),o.createOrUpdate(this,"_dispatchZoomAction",this.dataZoomModel.get("throttle"),"fixRate"),this._orient=t.get("orient"),!1!==this.dataZoomModel.get("show")?(n&&"dataZoom"===n.type&&n.from===this.uid||this._buildView(),this._updateView()):this.group.removeAll()},remove:function(){S.superApply(this,"remove",arguments),o.clear(this,"_dispatchZoomAction")},dispose:function(){S.superApply(this,"dispose",arguments),o.clear(this,"_dispatchZoomAction")},_buildView:function(){var t=this.group;t.removeAll(),this._resetLocation(),this._resetInterval();var e=this._displayables.barGroup=new r.Group;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},_resetLocation:function(){var t=this.dataZoomModel,e=this.api,i=this._findCoordRect(),a={width:e.getWidth(),height:e.getHeight()},r=this._orient===x?{right:a.width-i.x-i.width,top:a.height-y-m,width:i.width,height:y}:{right:m,top:i.y,width:y,height:i.height},o=u.getLayoutParams(t.option);n.each(["right","top","width","height"],(function(t){"ph"===o[t]&&(o[t]=r[t])}));var s=u.getLayoutRect(o,a,t.padding);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===_&&this._size.reverse()},_positionGroup:function(){var t=this.group,e=this._location,i=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),a=n&&n.get("inverse"),r=this._displayables.barGroup,o=(this._dataShadowInfo||{}).otherAxisInverse;r.attr(i!==x||a?i===x&&a?{scale:o?[-1,1]:[-1,-1]}:i!==_||a?{scale:o?[-1,-1]:[-1,1],rotation:Math.PI/2}:{scale:o?[1,-1]:[1,1],rotation:Math.PI/2}:{scale:o?[1,1]:[1,-1]});var s=t.getBoundingRect([r]);t.attr("position",[e.x-s.x,e.y-s.y])},_getViewExtent:function(){return[0,this._size[0]]},_renderBackground:function(){var t=this.dataZoomModel,e=this._size,i=this._displayables.barGroup;i.add(new h({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40})),i.add(new h({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:n.bind(this._onClickPanelClick,this)}))},_renderDataShadow:function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(t){var e=this._size,i=t.series,a=i.getRawData(),o=i.getShadowDim?i.getShadowDim():t.otherDim;if(null!=o){var s=a.getDataExtent(o),l=.3*(s[1]-s[0]);s=[s[0]-l,s[1]+l];var u,c=[0,e[1]],h=[0,e[0]],f=[[e[0],0],[0,0]],p=[],g=h[1]/(a.count()-1),m=0,v=Math.round(a.count()/e[0]);a.each([o],(function(t,e){if(v>0&&e%v)m+=g;else{var i=null==t||isNaN(t)||""===t,n=i?0:d(t,s,c,!0);i&&!u&&e?(f.push([f[f.length-1][0],0]),p.push([p[p.length-1][0],0])):!i&&u&&(f.push([m,0]),p.push([m,0])),f.push([m,n]),p.push([m,n]),m+=g,u=i}}));var y=this.dataZoomModel;this._displayables.barGroup.add(new r.Polygon({shape:{points:f},style:n.defaults({fill:y.get("dataBackgroundColor")},y.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new r.Polyline({shape:{points:p},style:y.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var i,a=this.ecModel;return t.eachTargetAxis((function(r,o){var s=t.getAxisProxy(r.name,o).getTargetSeriesModels();n.each(s,(function(t){if(!i&&!(!0!==e&&n.indexOf(w,t.get("type"))<0)){var s,l=a.getComponent(r.axis,o).axis,u=M(r.name),c=t.coordinateSystem;null!=u&&c.getOtherAxis&&(s=c.getOtherAxis(l).inverse),u=t.getData().mapDimension(u),i={thisAxis:l,series:t,thisDim:r.name,otherDim:u,otherAxisInverse:s}}}),this)}),this),i}},_renderHandle:function(){var t=this._displayables,e=t.handles=[],i=t.handleLabels=[],n=this._displayables.barGroup,o=this._size,s=this.dataZoomModel;n.add(t.filler=new h({draggable:!0,cursor:I(this._orient),drift:p(this._onDragMove,this,"all"),onmousemove:function(t){a.stop(t.event)},ondragstart:p(this._showDataInfo,this,!0),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1),style:{fill:s.get("fillerColor"),textPosition:"inside"}})),n.add(new h(r.subPixelOptimizeRect({silent:!0,shape:{x:0,y:0,width:o[0],height:o[1]},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:v,fill:"rgba(0,0,0,0)"}}))),g([0,1],(function(t){var o=r.createIcon(s.get("handleIcon"),{cursor:I(this._orient),draggable:!0,drift:p(this._onDragMove,this,t),onmousemove:function(t){a.stop(t.event)},ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),u=o.getBoundingRect();this._handleHeight=l.parsePercent(s.get("handleSize"),this._size[1]),this._handleWidth=u.width/u.height*this._handleHeight,o.setStyle(s.getModel("handleStyle").getItemStyle());var c=s.get("handleColor");null!=c&&(o.style.fill=c),n.add(e[t]=o);var h=s.textStyleModel;this.group.add(i[t]=new r.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:h.getTextColor(),textFont:h.getFont()},z2:10}))}),this)},_resetInterval:function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[d(t[0],[0,100],e,!0),d(t[1],[0,100],e,!0)]},_updateInterval:function(t,e){var i=this.dataZoomModel,n=this._handleEnds,a=this._getViewExtent(),r=i.findRepresentativeAxisProxy().getMinMaxSpan(),o=[0,100];c(e,n,a,i.get("zoomLock")?"all":t,null!=r.minSpan?d(r.minSpan,o,a,!0):null,null!=r.maxSpan?d(r.maxSpan,o,a,!0):null);var s=this._range,l=this._range=f([d(n[0],a,o,!0),d(n[1],a,o,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},_updateView:function(t){var e=this._displayables,i=this._handleEnds,n=f(i.slice()),a=this._size;g([0,1],(function(t){var n=e.handles[t],r=this._handleHeight;n.attr({scale:[r/2,r/2],position:[i[t],a[1]/2-r/2]})}),this),e.filler.setShape({x:n[0],y:0,width:n[1]-n[0],height:a[1]}),this._updateDataInfo(t)},_updateDataInfo:function(t){var e=this.dataZoomModel,i=this._displayables,n=i.handleLabels,a=this._orient,o=["",""];if(e.get("showDetail")){var s=e.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,c=t?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();o=[this._formatLabel(c[0],l),this._formatLabel(c[1],l)]}}var h=f(this._handleEnds.slice());function d(t){var e=r.getTransform(i.handles[t].parent,this.group),s=r.transformDirection(0===t?"right":"left",e),l=this._handleWidth/2+b,u=r.applyTransform([h[t]+(0===t?-l:l),this._size[1]/2],e);n[t].setStyle({x:u[0],y:u[1],textVerticalAlign:a===x?"middle":s,textAlign:a===x?s:"center",text:o[t]})}d.call(this,0),d.call(this,1)},_formatLabel:function(t,e){var i=this.dataZoomModel,a=i.get("labelFormatter"),r=i.get("labelPrecision");null!=r&&"auto"!==r||(r=e.getPixelPrecision());var o=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel(Math.round(t)):t.toFixed(Math.min(r,20));return n.isFunction(a)?a(t,o):n.isString(a)?a.replace("{value}",o):o},_showDataInfo:function(t){t=this._dragging||t;var e=this._displayables.handleLabels;e[0].attr("invisible",!t),e[1].attr("invisible",!t)},_onDragMove:function(t,e,i){this._dragging=!0;var n=this._displayables.barGroup.getLocalTransform(),a=r.applyTransform([e,i],n,!0),o=this._updateInterval(t,a[0]),s=this.dataZoomModel.get("realtime");this._updateView(!s),o&&s&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1);var t=this.dataZoomModel.get("realtime");!t&&this._dispatchZoomAction()},_onClickPanelClick:function(t){var e=this._size,i=this._displayables.barGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(i[0]<0||i[0]>e[0]||i[1]<0||i[1]>e[1])){var n=this._handleEnds,a=(n[0]+n[1])/2,r=this._updateInterval("all",i[0]-a);this._updateView(),r&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:t[0],end:t[1]})},_findCoordRect:function(){var t;if(g(this.getTargetCoordInfo(),(function(e){if(!t&&e.length){var i=e[0].model.coordinateSystem;t=i.getRect&&i.getRect()}})),!t){var e=this.api.getWidth(),i=this.api.getHeight();t={x:.2*e,y:.2*i,width:.6*e,height:.6*i}}return t}});function M(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}function I(t){return"vertical"===t?"ns-resize":"ew-resize"}var A=S;t.exports=A},"237f":function(t,e,i){var n=i("6d8b"),a=i("6179"),r=i("7368"),o=i("31d9"),s=i("b1d4"),l=i("2039"),u=i("3301");function c(t,e,i,c,h){for(var d=new r(c),f=0;f "+x)),m++)}var _,b=i.get("coordinateSystem");if("cartesian2d"===b||"polar"===b)_=u(t,i);else{var w=l.get(b),S=w&&"view"!==w.type&&w.dimensions||[];n.indexOf(S,"value")<0&&S.concat(["value"]);var M=s(t,{coordDimensions:S});_=new a(M,i),_.initData(t)}var I=new a(["value"],i);return I.initData(g,p),h&&h(_,I),o({mainData:_,struct:d,structAttr:"graph",datas:{node:_,edge:I},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}t.exports=c},"23e0":function(t,e,i){var n=i("6d8b"),a=i("7887"),r=i("89e3"),o=i("3842"),s=i("697e"),l=s.getScaleExtent,u=s.niceScaleExtent,c=i("2039");function h(t,e,i){this._model=t,this.dimensions=[],this._indicatorAxes=n.map(t.getIndicatorModels(),(function(t,e){var i="indicator_"+e,n=new a(i,new r);return n.name=t.get("name"),n.model=t,t.axis=n,this.dimensions.push(i),n}),this),this.resize(t,i),this.cx,this.cy,this.r,this.r0,this.startAngle}h.prototype.getIndicatorAxes=function(){return this._indicatorAxes},h.prototype.dataToPoint=function(t,e){var i=this._indicatorAxes[e];return this.coordToPoint(i.dataToCoord(t),e)},h.prototype.coordToPoint=function(t,e){var i=this._indicatorAxes[e],n=i.angle,a=this.cx+t*Math.cos(n),r=this.cy-t*Math.sin(n);return[a,r]},h.prototype.pointToData=function(t){var e=t[0]-this.cx,i=t[1]-this.cy,n=Math.sqrt(e*e+i*i);e/=n,i/=n;for(var a,r=Math.atan2(-i,e),o=1/0,s=-1,l=0;l i[0]&&isFinite(p)&&isFinite(i[0]))}else{var g=a.getTicks().length-1;g>r&&(d=s(d));var m=Math.round((i[0]+i[1])/2/d)*d,v=Math.round(r/2);a.setExtent(o.round(m-v*d),o.round(m+(r-v)*d)),a.setInterval(d)}}))},h.dimensions=[],h.create=function(t,e){var i=[];return t.eachComponent("radar",(function(n){var a=new h(n,t,e);i.push(a),n.coordinateSystem=a})),t.eachSeriesByType("radar",(function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("radarIndex")||0])})),i},c.register("radar",h);var d=h;t.exports=d},"23ee":function(t,e,i){var n=i("3eba");i("879e"),i("9704"),i("d747");var a=i("675a"),r=i("7f96"),o=i("2943"),s=i("de6e"),l=i("d357"),u=i("adda"),c=i("5866"),h=i("7b0c");n.registerProcessor(a),n.registerVisual(r("graph","circle",null)),n.registerVisual(o),n.registerVisual(s),n.registerLayout(l),n.registerLayout(u),n.registerLayout(c),n.registerCoordinateSystem("graphView",{create:h})},2449:function(t,e,i){var n=i("4e08"),a=(n.__DEV__,i("3eba")),r=i("6d8b"),o=i("22d1"),s=i("e0d3"),l=i("eda2"),u=i("38a2"),c=l.addCommas,h=l.encodeHTML;function d(t){s.defaultEmphasis(t,"label",["show"])}var f=a.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(t,e,i,n){this.mergeDefaultAndTheme(t,i),this.mergeOption(t,i,n.createdBySelf,!0)},isAnimationEnabled:function(){if(o.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},mergeOption:function(t,e,i,n){var a=this.constructor,o=this.mainType+"Model";i||e.eachSeries((function(t){var i=t.get(this.mainType,!0),s=t[o];i&&i.data?(s?s.mergeOption(i,e,!0):(n&&d(i),r.each(i.data,(function(t){t instanceof Array?(d(t[0]),d(t[1])):d(t)})),s=new a(i,this,e),r.extend(s,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),s.__hostSeries=t),t[o]=s):t[o]=null}),this)},formatTooltip:function(t){var e=this.getData(),i=this.getRawValue(t),n=r.isArray(i)?r.map(i,c).join(", "):c(i),a=e.getName(t),o=h(this.name);return(null!=i||a)&&(o+="
"),a&&(o+=h(a),null!=i&&(o+=" : ")),null!=i&&(o+=h(n)),o},getData:function(){return this._data},setData:function(t){this._data=t}});r.mixin(f,u);var p=f;t.exports=p},"24b9":function(t,e,i){var n=i("f934"),a=i("3842"),r=a.parsePercent,o=a.linearMap;function s(t,e){return n.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function l(t,e){for(var i=t.mapDimension("value"),n=t.mapArray(i,(function(t){return t})),a=[],r="ascending"===e,o=0,s=t.count();o=0||a&&n.indexOf(a,s)<0)){var l=e.getShallow(s);null!=l&&(r[t[o][0]]=l)}}return r}}t.exports=a},"292e":function(t,e,i){var n=i("3842"),a=n.parsePercent,r=n.linearMap,o=i("bb70"),s=i("6d8b"),l=2*Math.PI,u=Math.PI/180;function c(t,e,i,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),n=e.mapDimension("value"),c=t.get("center"),h=t.get("radius");s.isArray(h)||(h=[0,h]),s.isArray(c)||(c=[c,c]);var d=i.getWidth(),f=i.getHeight(),p=Math.min(d,f),g=a(c[0],d),m=a(c[1],f),v=a(h[0],p/2),y=a(h[1],p/2),x=-t.get("startAngle")*u,_=t.get("minAngle")*u,b=0;e.each(n,(function(t){!isNaN(t)&&b++}));var w=e.getSum(n),S=Math.PI/(w||b)*2,M=t.get("clockwise"),I=t.get("roseType"),A=t.get("stillShowZeroSum"),T=e.getDataExtent(n);T[0]=0;var D=l,C=0,L=x,P=M?1:-1;if(e.each(n,(function(t,i){var n;if(isNaN(t))e.setItemLayout(i,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:M,cx:g,cy:m,r0:v,r:I?NaN:y});else{n="area"!==I?0===w&&A?S:t*S:l/b,n<_?(n=_,D-=_):C+=t;var a=L+P*n;e.setItemLayout(i,{angle:n,startAngle:L,endAngle:a,clockwise:M,cx:g,cy:m,r0:v,r:I?r(t,T,[v,y]):y}),L=a}})),D0},extendFrom:function(t,e){if(t)for(var i in t)!t.hasOwnProperty(i)||!0!==e&&(!1===e?this.hasOwnProperty(i):null==t[i])||(this[i]=t[i])},set:function(t,e){"string"===typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,i){for(var n="radial"===e.type?u:l,a=n(t,e,i),r=e.colorStops,o=0;o =4&&(u={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(u&&null!=o&&null!=l&&(c=G(u,o,l),!e.ignoreViewBox)){var f=a;a=new n,a.add(f),f.scale=c.scale.slice(),f.position=c.position.slice()}return e.ignoreRootClip||null==o||null==l||a.setClipPath(new s({shape:{x:0,y:0,width:o,height:l}})),{root:a,width:o,height:l,viewBoxRect:u,viewBoxTransform:c}},A.prototype._parseNode=function(t,e){var i,n=t.nodeName.toLowerCase();if("defs"===n?this._isDefine=!0:"text"===n&&(this._isText=!0),this._isDefine){var a=D[n];if(a){var r=a.call(this,t),o=t.getAttribute("id");o&&(this._defs[o]=r)}}else{a=T[n];a&&(i=a.call(this,t,e),e.add(i))}var s=t.firstChild;while(s)1===s.nodeType&&this._parseNode(s,i),3===s.nodeType&&this._isText&&this._parseText(s,i),s=s.nextSibling;"defs"===n?this._isDefine=!1:"text"===n&&(this._isText=!1)},A.prototype._parseText=function(t,e){if(1===t.nodeType){var i=t.getAttribute("dx")||0,n=t.getAttribute("dy")||0;this._textX+=parseFloat(i),this._textY+=parseFloat(n)}var a=new r({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});L(e,a),O(t,a,this._defs);var o=a.style.fontSize;o&&o<9&&(a.style.fontSize=9,a.scale=a.scale||[1,1],a.scale[0]*=o/9,a.scale[1]*=o/9);var s=a.getBoundingRect();return this._textX+=s.width,e.add(a),a};var T={g:function(t,e){var i=new n;return L(e,i),O(t,i,this._defs),i},rect:function(t,e){var i=new s;return L(e,i),O(t,i,this._defs),i.setShape({x:parseFloat(t.getAttribute("x")||0),y:parseFloat(t.getAttribute("y")||0),width:parseFloat(t.getAttribute("width")||0),height:parseFloat(t.getAttribute("height")||0)}),i},circle:function(t,e){var i=new o;return L(e,i),O(t,i,this._defs),i.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),r:parseFloat(t.getAttribute("r")||0)}),i},line:function(t,e){var i=new u;return L(e,i),O(t,i,this._defs),i.setShape({x1:parseFloat(t.getAttribute("x1")||0),y1:parseFloat(t.getAttribute("y1")||0),x2:parseFloat(t.getAttribute("x2")||0),y2:parseFloat(t.getAttribute("y2")||0)}),i},ellipse:function(t,e){var i=new l;return L(e,i),O(t,i,this._defs),i.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),rx:parseFloat(t.getAttribute("rx")||0),ry:parseFloat(t.getAttribute("ry")||0)}),i},polygon:function(t,e){var i=t.getAttribute("points");i&&(i=P(i));var n=new h({shape:{points:i||[]}});return L(e,n),O(t,n,this._defs),n},polyline:function(t,e){var i=new c;L(e,i),O(t,i,this._defs);var n=t.getAttribute("points");n&&(n=P(n));var a=new d({shape:{points:n||[]}});return a},image:function(t,e){var i=new a;return L(e,i),O(t,i,this._defs),i.setStyle({image:t.getAttribute("xlink:href"),x:t.getAttribute("x"),y:t.getAttribute("y"),width:t.getAttribute("width"),height:t.getAttribute("height")}),i},text:function(t,e){var i=t.getAttribute("x")||0,a=t.getAttribute("y")||0,r=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0;this._textX=parseFloat(i)+parseFloat(r),this._textY=parseFloat(a)+parseFloat(o);var s=new n;return L(e,s),O(t,s,this._defs),s},tspan:function(t,e){var i=t.getAttribute("x"),a=t.getAttribute("y");null!=i&&(this._textX=parseFloat(i)),null!=a&&(this._textY=parseFloat(a));var r=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0,s=new n;return L(e,s),O(t,s,this._defs),this._textX+=r,this._textY+=o,s},path:function(t,e){var i=t.getAttribute("d")||"",n=v(i);return L(e,n),O(t,n,this._defs),n}},D={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||0,10),i=parseInt(t.getAttribute("y1")||0,10),n=parseInt(t.getAttribute("x2")||10,10),a=parseInt(t.getAttribute("y2")||0,10),r=new f(e,i,n,a);return C(t,r),r},radialgradient:function(t){}};function C(t,e){var i=t.firstChild;while(i){if(1===i.nodeType){var n=i.getAttribute("offset");n=n.indexOf("%")>0?parseInt(n,10)/100:n?parseFloat(n):0;var a=i.getAttribute("stop-color")||"#000000";e.addColorStop(n,a)}i=i.nextSibling}}function L(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),b(e.__inheritedStyle,t.__inheritedStyle))}function P(t){for(var e=w(t).split(M),i=[],n=0;n 0;r-=2){var o=a[r],s=a[r-1];switch(n=n||g.create(),s){case"translate":o=w(o).split(M),g.translate(n,n,[parseFloat(o[0]),parseFloat(o[1]||0)]);break;case"scale":o=w(o).split(M),g.scale(n,n,[parseFloat(o[0]),parseFloat(o[1]||o[0])]);break;case"rotate":o=w(o).split(M),g.rotate(n,n,parseFloat(o[0]));break;case"skew":o=w(o).split(M),console.warn("Skew transform is not supported yet");break;case"matrix":o=w(o).split(M);n[0]=parseFloat(o[0]),n[1]=parseFloat(o[1]),n[2]=parseFloat(o[2]),n[3]=parseFloat(o[3]),n[4]=parseFloat(o[4]),n[5]=parseFloat(o[5]);break}}e.setLocalTransform(n)}}var V=/([^\s:;]+)\s*:\s*([^:;]+)/g;function B(t){var e=t.getAttribute("style"),i={};if(!e)return i;var n,a={};V.lastIndex=0;while(null!=(n=V.exec(e)))a[n[1]]=n[2];for(var r in k)k.hasOwnProperty(r)&&null!=a[r]&&(i[k[r]]=a[r]);return i}function G(t,e,i){var n=e/t.width,a=i/t.height,r=Math.min(n,a),o=[r,r],s=[-(t.x+t.width/2)*r+e/2,-(t.y+t.height/2)*r+i/2];return{scale:o,position:s}}function F(t,e){var i=new A;return i.parse(t,e)}e.parseXML=I,e.makeViewBoxTransform=G,e.parseSVG=F},"307a":function(t,e,i){var n=i("6d8b"),a=i("eaea"),r=i("3842"),o=[20,140],s=a.extend({type:"visualMap.continuous",defaultOption:{align:"auto",calculable:!1,range:null,realtime:!0,itemHeight:null,itemWidth:null,hoverLink:!0,hoverLinkDataSize:null,hoverLinkOnHandle:null},optionUpdated:function(t,e){s.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},resetItemSize:function(){s.superApply(this,"resetItemSize",arguments);var t=this.itemSize;"horizontal"===this._orient&&t.reverse(),(null==t[0]||isNaN(t[0]))&&(t[0]=o[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=o[1])},_resetRange:function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):n.isArray(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},completeVisualOption:function(){a.prototype.completeVisualOption.apply(this,arguments),n.each(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=0)}),this)},setSelected:function(t){this.option.range=t.slice(),this._resetRange()},getSelected:function(){var t=this.getExtent(),e=r.asc((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0] =i[1]||t<=e[1])?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries((function(i){var n=[],a=i.getData();a.each(this.getDataDimension(a),(function(e,i){t[0]<=e&&e<=t[1]&&n.push(i)}),this),e.push({seriesId:i.id,dataIndex:n})}),this),e},getVisualMeta:function(t){var e=l(this,"outOfRange",this.getExtent()),i=l(this,"inRange",this.option.range.slice()),n=[];function a(e,i){n.push({value:e,color:t(e,i)})}for(var r=0,o=0,s=i.length,u=e.length;o=0&&"number"===typeof u&&(u=+u.toFixed(Math.min(g,20))),f.coord[h]=p.coord[h]=u,a=[f,p,{type:s,valueIndex:a.valueIndex,value:u}]}return a=[o.dataTransform(t,a[0]),o.dataTransform(t,a[1]),n.extend({},a[2])],a[2].type=a[2].type||"",n.merge(a[2],a[0]),n.merge(a[2],a[1]),a};function c(t){return!isNaN(t)&&!isFinite(t)}function h(t,e,i,n){var a=1-t,r=n.dimensions[t];return c(e[a])&&c(i[a])&&e[t]===i[t]&&n.getAxis(r).containData(e[t])}function d(t,e){if("cartesian2d"===t.type){var i=e[0].coord,n=e[1].coord;if(i&&n&&(h(1,i,n,t)||h(0,i,n,t)))return!0}return o.dataFilter(t,e[0])&&o.dataFilter(t,e[1])}function f(t,e,i,n,a){var o,s=n.coordinateSystem,l=t.getItemModel(e),u=r.parsePercent(l.get("x"),a.getWidth()),h=r.parsePercent(l.get("y"),a.getHeight());if(isNaN(u)||isNaN(h)){if(n.getMarkerPosition)o=n.getMarkerPosition(t.getValues(t.dimensions,e));else{var d=s.dimensions,f=t.get(d[0],e),p=t.get(d[1],e);o=s.dataToPoint([f,p])}if("cartesian2d"===s.type){var g=s.getAxis("x"),m=s.getAxis("y");d=s.dimensions;c(t.get(d[0],e))?o[0]=g.toGlobalCoord(g.getExtent()[i?0:1]):c(t.get(d[1],e))&&(o[1]=m.toGlobalCoord(m.getExtent()[i?0:1]))}isNaN(u)||(o[0]=u),isNaN(h)||(o[1]=h)}else o=[u,h];t.setItemLayout(e,o)}var p=l.extend({type:"markLine",updateTransform:function(t,e,i){e.eachSeries((function(t){var e=t.markLineModel;if(e){var n=e.getData(),a=e.__from,r=e.__to;a.each((function(e){f(a,e,!0,t,i),f(r,e,!1,t,i)})),n.each((function(t){n.setItemLayout(t,[a.getItemLayout(t),r.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},renderSeries:function(t,e,i,a){var r=t.coordinateSystem,o=t.id,l=t.getData(),u=this.markerGroupMap,c=u.get(o)||u.set(o,new s);this.group.add(c.group);var h=g(r,t,e),d=h.from,p=h.to,m=h.line;e.__from=d,e.__to=p,e.setData(m);var v=e.get("symbol"),y=e.get("symbolSize");function x(e,i,n){var r=e.getItemModel(i);f(e,i,n,t,a),e.setItemVisual(i,{symbolSize:r.get("symbolSize")||y[n?0:1],symbol:r.get("symbol",!0)||v[n?0:1],color:r.get("itemStyle.color")||l.getVisual("color")})}n.isArray(v)||(v=[v,v]),"number"===typeof y&&(y=[y,y]),h.from.each((function(t){x(d,t,!0),x(p,t,!1)})),m.each((function(t){var e=m.getItemModel(t).get("lineStyle.color");m.setItemVisual(t,{color:e||d.getItemVisual(t,"color")}),m.setItemLayout(t,[d.getItemLayout(t),p.getItemLayout(t)]),m.setItemVisual(t,{fromSymbolSize:d.getItemVisual(t,"symbolSize"),fromSymbol:d.getItemVisual(t,"symbol"),toSymbolSize:p.getItemVisual(t,"symbolSize"),toSymbol:p.getItemVisual(t,"symbol")})})),c.updateData(m),h.line.eachItemGraphicEl((function(t,i){t.traverse((function(t){t.dataModel=e}))})),c.__keep=!0,c.group.silent=e.get("silent")||t.get("silent")}});function g(t,e,i){var r;r=t?n.map(t&&t.dimensions,(function(t){var i=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return n.defaults({name:t},i)})):[{name:"value",type:"float"}];var s=new a(r,i),l=new a(r,i),c=new a([],i),h=n.map(i.get("data"),n.curry(u,e,t,i));t&&(h=n.filter(h,n.curry(d,t)));var f=t?o.dimValueGetter:function(t){return t.value};return s.initData(n.map(h,(function(t){return t[0]})),null,f),l.initData(n.map(h,(function(t){return t[1]})),null,f),c.initData(n.map(h,(function(t){return t[2]}))),c.hasItemOption=!0,{from:s,to:l,line:c}}t.exports=p},"30a3":function(t,e,i){var n=i("6d8b"),a=i("607d"),r=a.Dispatcher,o=i("98b7"),s=i("06ad"),l=function(t){t=t||{},this.stage=t.stage||{},this.onframe=t.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,r.call(this)};l.prototype={constructor:l,addClip:function(t){this._clips.push(t)},addAnimator:function(t){t.animation=this;for(var e=t.getClips(),i=0;i =0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),i=0;i 0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(o[1]-o[0])+o[0],c=Math.max(1/n.scale,0);o[0]=(o[0]-u)*c+u,o[1]=(o[1]-u)*c+u;var d=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return r(0,o,[0,100],0,d.minSpan,d.maxSpan),this._range=o,a[0]!==o[0]||a[1]!==o[1]?o:void 0}},pan:c((function(t,e,i,n,a,r){var o=h[n]([r.oldX,r.oldY],[r.newX,r.newY],e,a,i);return o.signal*(t[1]-t[0])*o.pixel/o.pixelLength})),scrollMove:c((function(t,e,i,n,a,r){var o=h[n]([0,0],[r.scrollDelta,r.scrollDelta],e,a,i);return o.signal*(t[1]-t[0])*r.scrollDelta}))};function c(t){return function(e,i,n,a){var o=this._range,s=o.slice(),l=e.axisModels[0];if(l){var u=t(s,l,e,i,n,a);return r(u,s,[0,100],"all"),this._range=s,o[0]!==s[0]||o[1]!==s[1]?s:void 0}}}var h={grid:function(t,e,i,n,a){var r=i.axis,o={},s=a.model.coordinateSystem.getRect();return t=t||[0,0],"x"===r.dim?(o.pixel=e[0]-t[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=r.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=r.inverse?-1:1),o},polar:function(t,e,i,n,a){var r=i.axis,o={},s=a.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===i.mainType?(o.pixel=e[0]-t[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=r.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=r.inverse?-1:1),o},singleAxis:function(t,e,i,n,a){var r=i.axis,o=a.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===r.orient?(s.pixel=e[0]-t[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=r.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=r.inverse?-1:1),s}},d=l;t.exports=d},3301:function(t,e,i){var n=i("6d8b"),a=i("6179"),r=i("b1d4"),o=i("93d0"),s=o.SOURCE_FORMAT_ORIGINAL,l=i("2f45"),u=l.getDimensionTypeByAxis,c=i("e0d3"),h=c.getDataItemValue,d=i("2039"),f=i("8b7f"),p=f.getCoordSysDefineBySeries,g=i("ec6f"),m=i("ee1a"),v=m.enableDataStack;function y(t,e,i){i=i||{},g.isInstance(t)||(t=g.seriesDataToSource(t));var o,s=e.get("coordinateSystem"),l=d.get(s),c=p(e);c&&(o=n.map(c.coordSysDims,(function(t){var e={name:t},i=c.axisMap.get(t);if(i){var n=i.get("type");e.type=u(n)}return e}))),o||(o=l&&(l.getDimensionsInfo?l.getDimensionsInfo():l.dimensions.slice())||["x","y"]);var h,f,m=r(t,{coordDimensions:o,generateCoord:i.generateCoord});c&&n.each(m,(function(t,e){var i=t.coordDim,n=c.categoryAxisMap.get(i);n&&(null==h&&(h=e),t.ordinalMeta=n.getOrdinalMeta()),null!=t.otherDims.itemName&&(f=!0)})),f||null==h||(m[h].otherDims.itemName=0);var y=v(e,m),_=new a(m,e);_.setCalculationInfo(y);var b=null!=h&&x(t)?function(t,e,i,n){return n===h?i:this.defaultDimValueGetter(t,e,i,n)}:null;return _.hasItemOption=!1,_.initData(t,null,b),_}function x(t){if(t.sourceFormat===s){var e=_(t.data||[]);return null!=e&&!n.isArray(h(e))}}function _(t){var e=0;while(e 0?1:o<0?-1:0}function x(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function _(t,e,i,n,r,o,s,l,c,h){var d=c.valueDim,f=c.categoryDim,p=Math.abs(i[f.wh]),g=t.getItemVisual(e,"symbolSize");a.isArray(g)?g=g.slice():(null==g&&(g="100%"),g=[g,g]),g[f.index]=u(g[f.index],p),g[d.index]=u(g[d.index],n?p:Math.abs(o)),h.symbolSize=g;var m=h.symbolScale=[g[0]/l,g[1]/l];m[d.index]*=(c.isHorizontal?-1:1)*s}function b(t,e,i,n,a){var r=t.get(f)||0;r&&(g.attr({scale:e.slice(),rotation:i}),g.updateTransform(),r/=g.getLineScale(),r*=e[n.valueDim.index]),a.valueLineWidth=r}function w(t,e,i,n,r,o,s,l,h,d,f,p){var g=f.categoryDim,m=f.valueDim,v=p.pxSign,y=Math.max(e[m.index]+l,0),x=y;if(n){var _=Math.abs(h),b=a.retrieve(t.get("symbolMargin"),"15%")+"",w=!1;b.lastIndexOf("!")===b.length-1&&(w=!0,b=b.slice(0,b.length-1)),b=u(b,e[m.index]);var S=Math.max(y+2*b,0),M=w?0:2*b,I=c(n),A=I?n:B((_+M)/S),T=_-A*y;b=T/2/(w?A:A-1),S=y+2*b,M=w?0:2*b,I||"fixed"===n||(A=d?B((Math.abs(d)+M)/S):0),x=A*S-M,p.repeatTimes=A,p.symbolMargin=b}var D=v*(x/2),C=p.pathPosition=[];C[g.index]=i[g.wh]/2,C[m.index]="start"===s?D:"end"===s?h-D:h/2,o&&(C[0]+=o[0],C[1]+=o[1]);var L=p.bundlePosition=[];L[g.index]=i[g.xy],L[m.index]=i[m.xy];var P=p.barRectShape=a.extend({},i);P[m.wh]=v*Math.max(Math.abs(i[m.wh]),Math.abs(C[m.index]+D)),P[g.wh]=i[g.wh];var k=p.clipShape={};k[g.xy]=-i[g.xy],k[g.wh]=f.ecSize[g.wh],k[m.xy]=0,k[m.wh]=i[m.wh]}function S(t){var e=t.symbolPatternSize,i=s(t.symbolType,-e/2,-e/2,e,e,t.color);return i.attr({culling:!0}),"image"!==i.type&&i.setStyle({strokeNoScale:!0}),i}function M(t,e,i,n){var a=t.__pictorialBundle,r=i.symbolSize,o=i.valueLineWidth,s=i.pathPosition,l=e.valueDim,u=i.repeatTimes||0,c=0,h=r[e.valueDim.index]+o+2*i.symbolMargin;for(N(t,(function(t){t.__pictorialAnimationIndex=c,t.__pictorialRepeatTimes=u,c0:n<0)&&(a=u-1-t),e[l.index]=h*(a-u/2+.5)+s[l.index],{position:e,scale:i.symbolScale.slice(),rotation:i.rotation}}function g(){N(t,(function(t){t.trigger("emphasis")}))}function m(){N(t,(function(t){t.trigger("normal")}))}}function I(t,e,i,n){var a=t.__pictorialBundle,r=t.__pictorialMainPath;function o(){this.trigger("emphasis")}function s(){this.trigger("normal")}r?z(r,null,{position:i.pathPosition.slice(),scale:i.symbolScale.slice(),rotation:i.rotation},i,n):(r=t.__pictorialMainPath=S(i),a.add(r),z(r,{position:i.pathPosition.slice(),scale:[0,0],rotation:i.rotation},{scale:i.symbolScale.slice()},i,n),r.on("mouseover",o).on("mouseout",s)),P(r,i)}function A(t,e,i){var n=a.extend({},e.barRectShape),o=t.__pictorialBarRect;o?z(o,null,{shape:n},e,i):(o=t.__pictorialBarRect=new r.Rect({z2:2,shape:n,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),t.add(o))}function T(t,e,i,n){if(i.symbolClip){var o=t.__pictorialClipPath,s=a.extend({},i.clipShape),l=e.valueDim,u=i.animationModel,c=i.dataIndex;if(o)r.updateProps(o,{shape:s},u,c);else{s[l.wh]=0,o=new r.Rect({shape:s}),t.__pictorialBundle.setClipPath(o),t.__pictorialClipPath=o;var h={};h[l.wh]=i.clipShape[l.wh],r[n?"updateProps":"initProps"](o,{shape:h},u,c)}}}function D(t,e){var i=t.getItemModel(e);return i.getAnimationDelayParams=C,i.isAnimationEnabled=L,i}function C(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function L(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function P(t,e){t.off("emphasis").off("normal");var i=e.symbolScale.slice();e.hoverAnimation&&t.on("emphasis",(function(){this.animateTo({scale:[1.1*i[0],1.1*i[1]]},400,"elasticOut")})).on("normal",(function(){this.animateTo({scale:i.slice()},400,"elasticOut")}))}function k(t,e,i,n){var a=new r.Group,o=new r.Group;return a.add(o),a.__pictorialBundle=o,o.attr("position",i.bundlePosition.slice()),i.symbolRepeat?M(a,e,i):I(a,e,i),A(a,i,n),T(a,e,i,n),a.__pictorialShapeStr=E(t,i),a.__pictorialSymbolMeta=i,a}function O(t,e,i){var n=i.animationModel,a=i.dataIndex,o=t.__pictorialBundle;r.updateProps(o,{position:i.bundlePosition.slice()},n,a),i.symbolRepeat?M(t,e,i,!0):I(t,e,i,!0),A(t,i,!0),T(t,e,i,!0)}function R(t,e,i,n){var o=n.__pictorialBarRect;o&&(o.style.text=null);var s=[];N(n,(function(t){s.push(t)})),n.__pictorialMainPath&&s.push(n.__pictorialMainPath),n.__pictorialClipPath&&(i=null),a.each(s,(function(t){r.updateProps(t,{scale:[0,0]},i,e,(function(){n.parent&&n.parent.remove(n)}))})),t.setItemGraphicEl(e,null)}function E(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function N(t,e,i){a.each(t.__pictorialBundle.children(),(function(n){n!==t.__pictorialBarRect&&e.call(i,n)}))}function z(t,e,i,n,a,o){e&&t.attr(e),n.symbolClip&&!a?i&&t.attr(i):i&&r[a?"updateProps":"initProps"](t,i,n.animationModel,n.dataIndex,o)}function V(t,e,i){var n=i.color,o=i.dataIndex,s=i.itemModel,l=s.getModel("itemStyle").getItemStyle(["color"]),u=s.getModel("emphasis.itemStyle").getItemStyle(),c=s.getShallow("cursor");N(t,(function(t){t.setColor(n),t.setStyle(a.defaults({fill:n,opacity:i.opacity},l)),r.setHoverStyle(t,u),c&&(t.cursor=c),t.z2=i.z2}));var h={},f=e.valueDim.posDesc[+(i.boundingLength>0)],p=t.__pictorialBarRect;d(p.style,h,s,n,e.seriesModel,o,f),r.setHoverStyle(p,h)}function B(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var G=m;t.exports=G},"340d":function(t,e,i){var n=i("6d8b"),a=i("e887"),r=i("4e47"),o=i("80f0"),s="sunburstRootToNode",l=a.extend({type:"sunburst",init:function(){},render:function(t,e,i,a){var s=this;this.seriesModel=t,this.api=i,this.ecModel=e;var l=t.getData(),u=l.tree.root,c=t.getViewRoot(),h=this.group,d=t.get("renderLabelForZeroData"),f=[];c.eachNode((function(t){f.push(t)}));var p=this._oldChildren||[];if(v(f,p),_(u,c),a&&a.highlight&&a.highlight.piece){var g=t.getShallow("highlightPolicy");a.highlight.piece.onEmphasis(g)}else if(a&&a.unhighlight){var m=this.virtualPiece;!m&&u.children.length&&(m=u.children[0].piece),m&&m.onNormal()}function v(t,e){function i(t){return t.getId()}function a(i,n){var a=null==i?null:t[i],r=null==n?null:e[n];y(a,r)}0===t.length&&0===e.length||new o(e,t,i,i).add(a).update(a).remove(n.curry(a,null)).execute()}function y(i,n){if(d||!i||i.getValue()||(i=null),i!==u&&n!==u)if(n&&n.piece)i?(n.piece.updateData(!1,i,"normal",t,e),l.setItemGraphicEl(i.dataIndex,n.piece)):x(n);else if(i){var a=new r(i,t,e);h.add(a),l.setItemGraphicEl(i.dataIndex,a)}}function x(t){t&&t.piece&&(h.remove(t.piece),t.piece=null)}function _(i,n){if(n.depth>0){s.virtualPiece?s.virtualPiece.updateData(!1,i,"normal",t,e):(s.virtualPiece=new r(i,t,e),h.add(s.virtualPiece)),n.piece._onclickEvent&&n.piece.off("click",n.piece._onclickEvent);var a=function(t){s._rootToNode(n.parentNode)};n.piece._onclickEvent=a,s.virtualPiece.on("click",a)}else s.virtualPiece&&(h.remove(s.virtualPiece),s.virtualPiece=null)}this._initEvents(),this._oldChildren=f},dispose:function(){},_initEvents:function(){var t=this,e=function(e){var i=!1,n=t.seriesModel.getViewRoot();n.eachNode((function(n){if(!i&&n.piece&&n.piece.childAt(0)===e.target){var a=n.getModel().get("nodeClick");if("rootToNode"===a)t._rootToNode(n);else if("link"===a){var r=n.getModel(),o=r.get("link");if(o){var s=r.get("target",!0)||"_blank";window.open(o,s)}}i=!0}}))};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",e),this.group._onclickEvent=e},_rootToNode:function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:s,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},containPoint:function(t,e){var i=e.getData(),n=i.getItemLayout(0);if(n){var a=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(a*a+r*r);return o<=n.r&&o>=n.r0}}}),u=l;t.exports=u},"342d":function(t,e,i){var n=i("cbe5"),a=i("20c8"),r=i("ee84"),o=Math.sqrt,s=Math.sin,l=Math.cos,u=Math.PI,c=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},h=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(c(t)*c(e))},d=function(t,e){return(t[0]*e[1] 1&&(c*=o(_),f*=o(_));var b=(a===r?-1:1)*o((c*c*(f*f)-c*c*(x*x)-f*f*(y*y))/(c*c*(x*x)+f*f*(y*y)))||0,w=b*c*x/f,S=b*-f*y/c,M=(t+i)/2+l(v)*w-s(v)*S,I=(e+n)/2+s(v)*w+l(v)*S,A=d([1,0],[(y-w)/c,(x-S)/f]),T=[(y-w)/c,(x-S)/f],D=[(-1*y-w)/c,(-1*x-S)/f],C=d(T,D);h(T,D)<=-1&&(C=u),h(T,D)>=1&&(C=0),0===r&&C>0&&(C-=2*u),1===r&&C<0&&(C+=2*u),m.addData(g,M,I,c,f,A,C,v,r)}var p=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,g=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function m(t){if(!t)return new a;for(var e,i=0,n=0,r=i,o=n,s=new a,l=a.CMD,u=t.match(p),c=0;c =0||"+"===i?"left":"right"},c={horizontal:i>=0||"+"===i?"top":"bottom",vertical:"middle"},h={horizontal:0,vertical:y/2},d="vertical"===n?a.height:a.width,f=t.getModel("controlStyle"),p=f.get("show",!0),g=p?f.get("itemSize"):0,m=p?f.get("itemGap"):0,v=g+m,x=t.get("label.rotate")||0;x=x*y/180;var b=f.get("position",!0),w=p&&f.get("showPlayBtn",!0),S=p&&f.get("showPrevBtn",!0),M=p&&f.get("showNextBtn",!0),I=0,A=d;return"left"===b||"bottom"===b?(w&&(r=[0,0],I+=v),S&&(o=[I,0],I+=v),M&&(s=[A-g,0],A-=v)):(w&&(r=[A-g,0],A-=v),S&&(o=[0,0],I+=v),M&&(s=[A-g,0],A-=v)),l=[I,A],t.get("inverse")&&l.reverse(),{viewRect:a,mainLength:d,orient:n,rotation:h[n],labelRotation:x,labelPosOpt:i,labelAlign:t.get("label.align")||u[n],labelBaseline:t.get("label.verticalAlign")||t.get("label.baseline")||c[n],playPosition:r,prevBtnPosition:o,nextBtnPosition:s,axisExtent:l,controlSize:g,controlGap:m}},_position:function(t,e){var i=this._mainGroup,n=this._labelGroup,a=t.viewRect;if("vertical"===t.orient){var o=r.create(),s=a.x,l=a.y+a.height;r.translate(o,o,[-s,-l]),r.rotate(o,o,-y/2),r.translate(o,o,[s,l]),a=a.clone(),a.applyTransform(o)}var u=v(a),c=v(i.getBoundingRect()),h=v(n.getBoundingRect()),d=i.position,f=n.position;f[0]=d[0]=u[0][0];var p=t.labelPosOpt;if(isNaN(p)){var g="+"===p?0:1;x(d,c,u,1,g),x(f,h,u,1,1-g)}else{g=p>=0?0:1;x(d,c,u,1,g),f[1]=d[1]+p}function m(t){var e=t.position;t.origin=[u[0][0]-e[0],u[1][0]-e[1]]}function v(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function x(t,e,i,n,a){t[n]+=i[n][a]-e[n][a]}i.attr("position",d),n.attr("position",f),i.rotation=n.rotation=t.rotation,m(i),m(n)},_createAxis:function(t,e){var i=e.getData(),n=e.get("axisType"),a=d.createScaleByModel(e,n);a.getTicks=function(){return i.mapArray(["value"],(function(t){return t}))};var r=i.getDataExtent("value");a.setExtent(r[0],r[1]),a.niceTicks();var o=new u("value",a,t.axisExtent,n);return o.model=e,o},_createGroup:function(t){var e=this["_"+t]=new o.Group;return this.group.add(e),e},_renderAxisLine:function(t,e,i,a){var r=i.getExtent();a.get("lineStyle.show")&&e.add(new o.Line({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:n.extend({lineCap:"round"},a.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(t,e,i,n){var a=n.getData(),r=i.scale.getTicks();v(r,(function(t){var r=i.dataToCoord(t),s=a.getItemModel(t),l=s.getModel("itemStyle"),u=s.getModel("emphasis.itemStyle"),c={position:[r,0],onclick:m(this._changeTimeline,this,t)},h=w(s,l,e,c);o.setHoverStyle(h,u.getItemStyle()),s.get("tooltip")?(h.dataIndex=t,h.dataModel=n):h.dataIndex=h.dataModel=null}),this)},_renderAxisLabel:function(t,e,i,n){var a=i.getLabelModel();if(a.get("show")){var r=n.getData(),s=i.getViewLabels();v(s,(function(n){var a=n.tickValue,s=r.getItemModel(a),l=s.getModel("label"),u=s.getModel("emphasis.label"),c=i.dataToCoord(n.tickValue),h=new o.Text({position:[c,0],rotation:t.labelRotation-t.rotation,onclick:m(this._changeTimeline,this,a),silent:!1});o.setTextStyle(h.style,l,{text:n.formattedLabel,textAlign:t.labelAlign,textVerticalAlign:t.labelBaseline}),e.add(h),o.setHoverStyle(h,o.setTextStyle({},u))}),this)}},_renderControl:function(t,e,i,n){var a=t.controlSize,r=t.rotation,s=n.getModel("controlStyle").getItemStyle(),l=n.getModel("emphasis.controlStyle").getItemStyle(),u=[0,-a/2,a,a],c=n.getPlayState(),h=n.get("inverse",!0);function d(t,i,c,h){if(t){var d={position:t,origin:[a/2,0],rotation:h?-r:0,rectHover:!0,style:s,onclick:c},f=b(n,i,u,d);e.add(f),o.setHoverStyle(f,l)}}d(t.nextBtnPosition,"controlStyle.nextIcon",m(this._changeTimeline,this,h?"-":"+")),d(t.prevBtnPosition,"controlStyle.prevIcon",m(this._changeTimeline,this,h?"+":"-")),d(t.playPosition,"controlStyle."+(c?"stopIcon":"playIcon"),m(this._handlePlayClick,this,!c),!0)},_renderCurrentPointer:function(t,e,i,n){var a=n.getData(),r=n.getCurrentIndex(),o=a.getItemModel(r).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=m(s._handlePointerDrag,s),t.ondragend=m(s._handlePointerDragend,s),S(t,r,i,n,!0)},onUpdate:function(t){S(t,r,i,n)}};this._currentPointer=w(o,o,this._mainGroup,{},this._currentPointer,l)},_handlePlayClick:function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},_handlePointerDrag:function(t,e,i){this._clearTimer(),this._pointerChangeTimeline([i.offsetX,i.offsetY])},_handlePointerDragend:function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},_pointerChangeTimeline:function(t,e){var i=this._toAxisCoord(t)[0],n=this._axis,a=f.asc(n.getExtent().slice());i>a[1]&&(i=a[1]),i0){if(t<=e[0])return i[0];if(t>=e[1])return i[1]}else{if(t>=e[0])return i[0];if(t<=e[1])return i[1]}else{if(t===e[0])return i[0];if(t===e[1])return i[1]}return(t-e[0])/a*r+i[0]}function s(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return"string"===typeof t?r(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function l(t,e,i){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),i?t:+t}function u(t){return t.sort((function(t,e){return t-e})),t}function c(t){if(t=+t,isNaN(t))return 0;var e=1,i=0;while(Math.round(t*e)/e!==t)e*=10,i++;return i}function h(t){var e=t.toString(),i=e.indexOf("e");if(i>0){var n=+e.slice(i+1);return n<0?-n:0}var a=e.indexOf(".");return a<0?0:e.length-1-a}function d(t,e){var i=Math.log,n=Math.LN10,a=Math.floor(i(t[1]-t[0])/n),r=Math.round(i(Math.abs(e[1]-e[0]))/n),o=Math.min(Math.max(-a+r,0),20);return isFinite(o)?o:20}function f(t,e,i){if(!t[e])return 0;var a=n.reduce(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===a)return 0;var r=Math.pow(10,i),o=n.map(t,(function(t){return(isNaN(t)?0:t)/a*r*100})),s=100*r,l=n.map(o,(function(t){return Math.floor(t)})),u=n.reduce(l,(function(t,e){return t+e}),0),c=n.map(o,(function(t,e){return t-l[e]}));while(u h&&(h=c[f],d=f);++l[d],c[d]=0,++u}return l[e]/r}var p=9007199254740991;function g(t){var e=2*Math.PI;return(t%e+e)%e}function m(t){return t>-a&&t=-20?+t.toFixed(n<0?-n:0):t}function w(t,e){var i=(t.length-1)*e+1,n=Math.floor(i),a=+t[n-1],r=i-n;return r?a+r*(t[n]-a):a}function S(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,i=1,n=0;n=0}e.linearMap=o,e.parsePercent=s,e.round=l,e.asc=u,e.getPrecision=c,e.getPrecisionSafe=h,e.getPixelPrecision=d,e.getPercentWithPrecision=f,e.MAX_SAFE_INTEGER=p,e.remRadian=g,e.isRadianAroundZero=m,e.parseDate=y,e.quantity=x,e.nice=b,e.quantile=w,e.reformIntervals=S,e.isNumeric=M},"38a2":function(t,e,i){var n=i("2b17"),a=n.retrieveRawValue,r=i("eda2"),o=r.getTooltipMarker,s=r.formatTpl,l=i("e0d3"),u=l.getTooltipRenderMode,c=/\{@(.+?)\}/g,h={getDataParams:function(t,e){var i=this.getData(e),n=this.getRawValue(t,e),a=i.getRawIndex(t),r=i.getName(t),s=i.getRawDataItem(t),l=i.getItemVisual(t,"color"),c=this.ecModel.getComponent("tooltip"),h=c&&c.get("renderMode"),d=u(h),f=this.mainType,p="series"===f;return{componentType:f,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:p?this.subType:null,seriesIndex:this.seriesIndex,seriesId:p?this.id:null,seriesName:p?this.name:null,name:r,dataIndex:a,data:s,dataType:e,value:n,color:l,marker:o({color:l,renderMode:d}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,e,i,n,r){e=e||"normal";var o=this.getData(i),l=o.getItemModel(t),u=this.getDataParams(t,i);null!=n&&u.value instanceof Array&&(u.value=u.value[n]);var h=l.get("normal"===e?[r||"label","formatter"]:[e,r||"label","formatter"]);if("function"===typeof h)return u.status=e,h(u);if("string"===typeof h){var d=s(h,u);return d.replace(c,(function(e,i){var n=i.length;return"["===i.charAt(0)&&"]"===i.charAt(n-1)&&(i=+i.slice(1,n-1)),a(o,t,i)}))}},getRawValue:function(t,e){return a(this.getData(e),t)},formatTooltip:function(){}};t.exports=h},3901:function(t,e,i){var n=i("282b"),a=n([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),r={getLineStyle:function(t){var e=a(this,t),i=this.getLineDash(e.lineWidth);return i&&(e.lineDash=i),e},getLineDash:function(t){null==t&&(t=1);var e=this.get("type"),i=Math.max(t,2),n=4*t;return"solid"===e||null==e?null:"dashed"===e?[n,n]:[i,i]}};t.exports=r},"392f":function(t,e,i){var n=i("6d8b"),a=n.inherits,r=i("19eb"),o=i("9850");function s(t){r.call(this,t),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}s.prototype.incremental=!0,s.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},s.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.dirty()},s.prototype.addDisplayables=function(t,e){e=e||!1;for(var i=0;i 0?100:20}},getFirstTargetAxisModel:function(){var t;return h((function(e){if(null==t){var i=this.get(e.axisIndex);i.length&&(t=this.dependentModels[e.axis][i[0]])}}),this),t},eachTargetAxis:function(t,e){var i=this.ecModel;h((function(n){c(this.get(n.axisIndex),(function(a){t.call(e,n,a,this,i)}),this)}),this)},getAxisProxy:function(t,e){return this._axisProxies[t+"_"+e]},getAxisModel:function(t,e){var i=this.getAxisProxy(t,e);return i&&i.getAxisModel()},setRawRange:function(t,e){var i=this.option;c([["start","startValue"],["end","endValue"]],(function(e){null==t[e[0]]&&null==t[e[1]]||(i[e[0]]=t[e[0]],i[e[1]]=t[e[1]])}),this),!e&&p(this,t)},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var i=this.findRepresentativeAxisProxy();return i?i.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var e=this._axisProxies;for(var i in e)if(e.hasOwnProperty(i)&&e[i].hostedBy(this))return e[i];for(var i in e)if(e.hasOwnProperty(i)&&!e[i].hostedBy(this))return e[i]},getRangePropMode:function(){return this._rangePropMode.slice()}});function f(t){var e={};return c(["start","end","startValue","endValue","throttle"],(function(i){t.hasOwnProperty(i)&&(e[i]=t[i])})),e}function p(t,e){var i=t._rangePropMode,n=t.get("rangeMode");c([["start","startValue"],["end","endValue"]],(function(t,a){var r=null!=e[t[0]],o=null!=e[t[1]];r&&!o?i[a]="percent":!r&&o?i[a]="value":n?i[a]=n[a]:r&&(i[a]="percent")}))}var g=d;t.exports=g},"3cd6":function(t,e,i){var n=i("6d8b"),a=i("48a9"),r=i("607d"),o=i("72b6"),s=i("2306"),l=i("3842"),u=i("ef6a"),c=i("cbb0"),h=i("e0d3"),d=l.linearMap,f=n.each,p=Math.min,g=Math.max,m=12,v=6,y=o.extend({type:"visualMap.continuous",init:function(){y.superApply(this,"init",arguments),this._shapes={},this._dataInterval=[],this._handleEnds=[],this._orient,this._useHandle,this._hoverLinkDataIndices=[],this._dragging,this._hovering},doRender:function(t,e,i,n){n&&"selectDataRange"===n.type&&n.from===this.uid||this._buildView()},_buildView:function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var i=t.get("text");this._renderEndsText(e,i,0),this._renderEndsText(e,i,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},_renderEndsText:function(t,e,i){if(e){var n=e[1-i];n=null!=n?n+"":"";var a=this.visualMapModel,r=a.get("textGap"),o=a.itemSize,l=this._shapes.barGroup,u=this._applyTransform([o[0]/2,0===i?-r:o[1]+r],l),c=this._applyTransform(0===i?"bottom":"top",l),h=this._orient,d=this.visualMapModel.textStyleModel;this.group.add(new s.Text({style:{x:u[0],y:u[1],textVerticalAlign:"horizontal"===h?"middle":c,textAlign:"horizontal"===h?c:"center",text:n,textFont:d.getFont(),textFill:d.getTextColor()}}))}},_renderBar:function(t){var e=this.visualMapModel,i=this._shapes,a=e.itemSize,r=this._orient,o=this._useHandle,s=c.getItemAlign(e,this.api,a),l=i.barGroup=this._createBarGroup(s);l.add(i.outOfRange=x()),l.add(i.inRange=x(null,o?M(this._orient):null,n.bind(this._dragHandle,this,"all",!1),n.bind(this._dragHandle,this,"all",!0)));var u=e.textStyleModel.getTextRect("国"),h=g(u.width,u.height);o&&(i.handleThumbs=[],i.handleLabels=[],i.handleLabelPoints=[],this._createHandle(l,0,a,h,r,s),this._createHandle(l,1,a,h,r,s)),this._createIndicator(l,a,h,r),t.add(l)},_createHandle:function(t,e,i,a,o){var l=n.bind(this._dragHandle,this,e,!1),u=n.bind(this._dragHandle,this,e,!0),c=x(_(e,a),M(this._orient),l,u);c.position[0]=i[0],t.add(c);var h=this.visualMapModel.textStyleModel,d=new s.Text({draggable:!0,drift:l,onmousemove:function(t){r.stop(t.event)},ondragend:u,style:{x:0,y:0,text:"",textFont:h.getFont(),textFill:h.getTextColor()}});this.group.add(d);var f=["horizontal"===o?a/2:1.5*a,"horizontal"===o?0===e?-1.5*a:1.5*a:0===e?-a/2:a/2],p=this._shapes;p.handleThumbs[e]=c,p.handleLabelPoints[e]=f,p.handleLabels[e]=d},_createIndicator:function(t,e,i,n){var a=x([[0,0]],"move");a.position[0]=e[0],a.attr({invisible:!0,silent:!0}),t.add(a);var r=this.visualMapModel.textStyleModel,o=new s.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textFont:r.getFont(),textFill:r.getTextColor()}});this.group.add(o);var l=["horizontal"===n?i/2:v+3,0],u=this._shapes;u.indicator=a,u.indicatorLabel=o,u.indicatorLabelPoint=l},_dragHandle:function(t,e,i,n){if(this._useHandle){if(this._dragging=!e,!e){var a=this._applyTransform([i,n],this._shapes.barGroup,!0);this._updateInterval(t,a[1]),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():S(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},_resetInterval:function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),i=t.getExtent(),n=[0,t.itemSize[1]];this._handleEnds=[d(e[0],i,n,!0),d(e[1],i,n,!0)]},_updateInterval:function(t,e){e=e||0;var i=this.visualMapModel,n=this._handleEnds,a=[0,i.itemSize[1]];u(e,n,a,t,0);var r=i.getExtent();this._dataInterval=[d(n[0],a,r,!0),d(n[1],a,r,!0)]},_updateView:function(t){var e=this.visualMapModel,i=e.getExtent(),n=this._shapes,a=[0,e.itemSize[1]],r=t?a:this._handleEnds,o=this._createBarVisual(this._dataInterval,i,r,"inRange"),s=this._createBarVisual(i,i,a,"outOfRange");n.inRange.setStyle({fill:o.barColor,opacity:o.opacity}).setShape("points",o.barPoints),n.outOfRange.setStyle({fill:s.barColor,opacity:s.opacity}).setShape("points",s.barPoints),this._updateHandle(r,o)},_createBarVisual:function(t,e,i,n){var r={forceState:n,convertOpacityToAlpha:!0},o=this._makeColorGradient(t,r),s=[this.getControllerVisual(t[0],"symbolSize",r),this.getControllerVisual(t[1],"symbolSize",r)],l=this._createBarPoints(i,s);return{barColor:new a(0,0,0,1,o),barPoints:l,handlesColor:[o[0].color,o[o.length-1].color]}},_makeColorGradient:function(t,e){var i=100,n=[],a=(t[1]-t[0])/i;n.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var r=1;rt[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:r/i})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},_createBarPoints:function(t,e){var i=this.visualMapModel.itemSize;return[[i[0]-e[0],t[0]],[i[0],t[0]],[i[0],t[1]],[i[0]-e[1],t[1]]]},_createBarGroup:function(t){var e=this._orient,i=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==e||i?"horizontal"===e&&i?{scale:"bottom"===t?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==e||i?{scale:"left"===t?[1,1]:[-1,1]}:{scale:"left"===t?[1,-1]:[-1,-1]}:{scale:"bottom"===t?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(t,e){if(this._useHandle){var i=this._shapes,n=this.visualMapModel,a=i.handleThumbs,r=i.handleLabels;f([0,1],(function(o){var l=a[o];l.setStyle("fill",e.handlesColor[o]),l.position[1]=t[o];var u=s.applyTransform(i.handleLabelPoints[o],s.getTransform(l,this.group));r[o].setStyle({x:u[0],y:u[1],text:n.formatValueText(this._dataInterval[o]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===o?"bottom":"top":"left",i.barGroup)})}),this)}},_showIndicator:function(t,e,i,n){var a=this.visualMapModel,r=a.getExtent(),o=a.itemSize,l=[0,o[1]],u=d(t,r,l,!0),c=this._shapes,h=c.indicator;if(h){h.position[1]=u,h.attr("invisible",!1),h.setShape("points",b(!!i,n,u,o[1]));var f={convertOpacityToAlpha:!0},p=this.getControllerVisual(t,"color",f);h.setStyle("fill",p);var g=s.applyTransform(c.indicatorLabelPoint,s.getTransform(h,this.group)),m=c.indicatorLabel;m.attr("invisible",!1);var v=this._applyTransform("left",c.barGroup),y=this._orient;m.setStyle({text:(i||"")+a.formatValueText(e),textVerticalAlign:"horizontal"===y?v:"middle",textAlign:"horizontal"===y?"center":v,x:g[0],y:g[1]})}},_enableHoverLinkToSeries:function(){var t=this;this._shapes.barGroup.on("mousemove",(function(e){if(t._hovering=!0,!t._dragging){var i=t.visualMapModel.itemSize,n=t._applyTransform([e.offsetX,e.offsetY],t._shapes.barGroup,!0,!0);n[1]=p(g(0,n[1]),i[1]),t._doHoverLinkToSeries(n[1],0<=n[0]&&n[0]<=i[0])}})).on("mouseout",(function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()}))},_enableHoverLinkFromSeries:function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(t,e){var i=this.visualMapModel,n=i.itemSize;if(i.option.hoverLink){var a=[0,n[1]],r=i.getExtent();t=p(g(a[0],t),a[1]);var o=w(i,r,a),s=[t-o,t+o],l=d(t,a,r,!0),u=[d(s[0],a,r,!0),d(s[1],a,r,!0)];s[0]a[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",o):u[1]===1/0?this._showIndicator(l,u[0],"> ",o):this._showIndicator(l,l,"≈ ",o));var f=this._hoverLinkDataIndices,m=[];(e||S(i))&&(m=this._hoverLinkDataIndices=i.findTargetDataIndices(u));var v=h.compressBatches(f,m);this._dispatchHighDown("downplay",c.convertDataIndex(v[0])),this._dispatchHighDown("highlight",c.convertDataIndex(v[1]))}},_hoverLinkFromSeriesMouseOver:function(t){var e=t.target,i=this.visualMapModel;if(e&&null!=e.dataIndex){var n=this.ecModel.getSeriesByIndex(e.seriesIndex);if(i.isTargetSeries(n)){var a=n.getData(e.dataType),r=a.get(i.getDataDimension(a),e.dataIndex,!0);isNaN(r)||this._showIndicator(r,r)}}},_hideIndicator:function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",c.convertDataIndex(t)),t.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},_applyTransform:function(t,e,i,a){var r=s.getTransform(e,a?null:this.group);return s[n.isArray(t)?"applyTransform":"transformDirection"](t,r,i)},_dispatchHighDown:function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function x(t,e,i,n){return new s.Polygon({shape:{points:t},draggable:!!i,cursor:e,drift:i,onmousemove:function(t){r.stop(t.event)},ondragend:n})}function _(t,e){return 0===t?[[0,0],[e,0],[e,-e]]:[[0,0],[e,0],[e,e]]}function b(t,e,i,n){return t?[[0,-p(e,g(i,0))],[v,0],[0,p(e,g(n-i,0))]]:[[0,0],[5,-5],[5,5]]}function w(t,e,i){var n=m/2,a=t.get("hoverLinkDataSize");return a&&(n=d(a,e,i,!0)/2),n}function S(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function M(t){return"vertical"===t?"ns-resize":"ew-resize"}var I=y;t.exports=I},"3eba":function(t,e,i){var n=i("4e08"),a=(n.__DEV__,i("697e7")),r=i("6d8b"),o=i("41ef"),s=i("22d1"),l=i("04f6"),u=i("1fab"),c=i("7e63"),h=i("843e"),d=i("2039"),f=i("ca98"),p=i("fb05"),g=i("d15d"),m=i("6cb7"),v=i("4f85"),y=i("b12f"),x=i("e887"),_=i("2306"),b=i("e0d3"),w=i("88b3"),S=w.throttle,M=i("fd63"),I=i("b809"),A=i("998c"),T=i("69ff"),D=i("c533"),C=i("f219");i("0352");var L=i("ec34"),P=r.assert,k=r.each,O=r.isFunction,R=r.isObject,E=m.parseClassType,N="4.2.1",z={zrender:"4.0.6"},V=1,B=1e3,G=5e3,F=1e3,H=2e3,W=3e3,Z=4e3,U=5e3,Y={PROCESSOR:{FILTER:B,STATISTIC:G},VISUAL:{LAYOUT:F,GLOBAL:H,CHART:W,COMPONENT:Z,BRUSH:U}},j="__flagInMainProcess",X="__optionUpdated",q=/^[a-zA-Z0-9_]+$/;function K(t){return function(e,i,n){e=e&&e.toLowerCase(),u.prototype[t].call(this,e,i,n)}}function $(){u.call(this)}function J(t,e,i){i=i||{},"string"===typeof e&&(e=Tt[e]),this.id,this.group,this._dom=t;var n="canvas",o=this._zr=a.init(t,{renderer:i.renderer||n,devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height});this._throttledZrFlush=S(r.bind(o.flush,o),17);e=r.clone(e);e&&p(e,!0),this._theme=e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new d;var s=this._api=xt(this);function c(t,e){return t.__prio-e.__prio}l(At,c),l(St,c),this._scheduler=new T(this,s,St,At),u.call(this,this._ecEventProcessor=new _t),this._messageCenter=new $,this._initEvents(),this.resize=r.bind(this.resize,this),this._pendingActions=[],o.animation.on("frame",this._onframe,this),lt(o,this),r.setAsPrimitive(this)}$.prototype.on=K("on"),$.prototype.off=K("off"),$.prototype.one=K("one"),r.mixin($,u);var Q=J.prototype;function tt(t,e,i){var n,a=this._model,r=this._coordSysMgr.getCoordinateSystems();e=b.parseFinder(a,e);for(var o=0;o 0&&t.unfinished);t.unfinished||this._zr.flush()}}},Q.getDom=function(){return this._dom},Q.getZr=function(){return this._zr},Q.setOption=function(t,e,i){var n;if(R(e)&&(i=e.lazyUpdate,n=e.silent,e=e.notMerge),this[j]=!0,!this._model||e){var a=new f(this._api),r=this._theme,o=this._model=new c(null,null,r,a);o.scheduler=this._scheduler,o.init(null,null,r,a)}this._model.setOption(t,Mt),i?(this[X]={silent:n},this[j]=!1):(it(this),et.update.call(this),this._zr.flush(),this[X]=!1,this[j]=!1,ot.call(this,n),st.call(this,n))},Q.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},Q.getModel=function(){return this._model},Q.getOption=function(){return this._model&&this._model.getOption()},Q.getWidth=function(){return this._zr.getWidth()},Q.getHeight=function(){return this._zr.getHeight()},Q.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},Q.getRenderedCanvas=function(t){if(s.canvasSupported){t=t||{},t.pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor");var e=this._zr;return e.painter.getRenderedCanvas(t)}},Q.getSvgDataUrl=function(){if(s.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return r.each(e,(function(t){t.stopAnimation(!0)})),t.painter.pathToDataUrl()}},Q.getDataURL=function(t){t=t||{};var e=t.excludeComponents,i=this._model,n=[],a=this;k(e,(function(t){i.eachComponent({mainType:t},(function(t){var e=a._componentsMap[t.__viewId];e.group.ignore||(n.push(e),e.group.ignore=!0)}))}));var r="svg"===this._zr.painter.getType()?this.getSvgDataUrl():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return k(n,(function(t){t.group.ignore=!1})),r},Q.getConnectedDataURL=function(t){if(s.canvasSupported){var e=this.group,i=Math.min,n=Math.max,o=1/0;if(Lt[e]){var l=o,u=o,c=-o,h=-o,d=[],f=t&&t.pixelRatio||1;r.each(Ct,(function(a,o){if(a.group===e){var s=a.getRenderedCanvas(r.clone(t)),f=a.getDom().getBoundingClientRect();l=i(f.left,l),u=i(f.top,u),c=n(f.right,c),h=n(f.bottom,h),d.push({dom:s,left:f.left,top:f.top})}})),l*=f,u*=f,c*=f,h*=f;var p=c-l,g=h-u,m=r.createCanvas();m.width=p,m.height=g;var v=a.init(m);return k(d,(function(t){var e=new _.Image({style:{x:t.left*f-l,y:t.top*f-u,image:t.dom}});v.add(e)})),v.refreshImmediately(),m.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},Q.convertToPixel=r.curry(tt,"convertToPixel"),Q.convertFromPixel=r.curry(tt,"convertFromPixel"),Q.containPixel=function(t,e){var i,n=this._model;return t=b.parseFinder(n,t),r.each(t,(function(t,n){n.indexOf("Models")>=0&&r.each(t,(function(t){var a=t.coordinateSystem;if(a&&a.containPoint)i|=!!a.containPoint(e);else if("seriesModels"===n){var r=this._chartsMap[t.__viewId];r&&r.containPoint&&(i|=r.containPoint(e,t))}}),this)}),this),!!i},Q.getVisual=function(t,e){var i=this._model;t=b.parseFinder(i,t,{defaultMainType:"series"});var n=t.seriesModel,a=n.getData(),r=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?a.indexOfRawIndex(t.dataIndex):null;return null!=r?a.getItemVisual(r,e):a.getVisual(e)},Q.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},Q.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var et={prepareAndUpdate:function(t){it(this),et.update.call(this,t)},update:function(t){var e=this._model,i=this._api,n=this._zr,a=this._coordSysMgr,r=this._scheduler;if(e){r.restoreData(e,t),r.performSeriesTasks(e),a.create(e,i),r.performDataProcessorTasks(e,t),at(this,e),a.update(e,i),ct(e),r.performVisualTasks(e,t),ht(this,e,i,t);var l=e.get("backgroundColor")||"transparent";if(s.canvasSupported)n.setBackgroundColor(l);else{var u=o.parse(l);l=o.stringify(u,"rgb"),0===u[3]&&(l="transparent")}pt(e,i)}},updateTransform:function(t){var e=this._model,i=this,n=this._api;if(e){var a=[];e.eachComponent((function(r,o){var s=i.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(o,e,n,t);l&&l.update&&a.push(s)}else a.push(s)}));var o=r.createHashMap();e.eachSeries((function(a){var r=i._chartsMap[a.__viewId];if(r.updateTransform){var s=r.updateTransform(a,e,n,t);s&&s.update&&o.set(a.uid,1)}else o.set(a.uid,1)})),ct(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:o}),ft(i,e,n,t,o),pt(e,this._api)}},updateView:function(t){var e=this._model;e&&(x.markUpdateMethod(t,"updateView"),ct(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),ht(this,this._model,this._api,t),pt(e,this._api))},updateVisual:function(t){et.update.call(this,t)},updateLayout:function(t){et.update.call(this,t)}};function it(t){var e=t._model,i=t._scheduler;i.restorePipelines(e),i.prepareStageTasks(),ut(t,"component",e,i),ut(t,"chart",e,i),i.plan()}function nt(t,e,i,n,a){var o=t._model;if(n){var s={};s[n+"Id"]=i[n+"Id"],s[n+"Index"]=i[n+"Index"],s[n+"Name"]=i[n+"Name"];var l={mainType:n,query:s};a&&(l.subType=a);var u=i.excludeSeriesId;null!=u&&(u=r.createHashMap(b.normalizeToArray(u))),o&&o.eachComponent(l,(function(e){u&&null!=u.get(e.id)||c(t["series"===n?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else k(t._componentsViews.concat(t._chartsViews),c);function c(n){n&&n.__alive&&n[e]&&n[e](n.__model,o,t._api,i)}}function at(t,e){var i=t._chartsMap,n=t._scheduler;e.eachSeries((function(t){n.updateStreamModes(t,i[t.__viewId])}))}function rt(t,e){var i=t.type,n=t.escapeConnect,a=bt[i],o=a.actionInfo,s=(o.update||"update").split(":"),l=s.pop();s=null!=s[0]&&E(s[0]),this[j]=!0;var u=[t],c=!1;t.batch&&(c=!0,u=r.map(t.batch,(function(e){return e=r.defaults(r.extend({},e),t),e.batch=null,e})));var h,d=[],f="highlight"===i||"downplay"===i;k(u,(function(t){h=a.action(t,this._model,this._api),h=h||r.extend({},t),h.type=o.event||h.type,d.push(h),f?nt(this,l,t,"series"):s&&nt(this,l,t,s.main,s.sub)}),this),"none"===l||f||s||(this[X]?(it(this),et.update.call(this,t),this[X]=!1):et[l].call(this,t)),h=c?{type:o.event||i,escapeConnect:n,batch:d}:d[0],this[j]=!1,!e&&this._messageCenter.trigger(h.type,h)}function ot(t){var e=this._pendingActions;while(e.length){var i=e.shift();rt.call(this,i,t)}}function st(t){!t&&this.trigger("updated")}function lt(t,e){t.on("rendered",(function(){e.trigger("rendered"),!t.animation.isFinished()||e[X]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))}function ut(t,e,i,n){for(var a="component"===e,r=a?t._componentsViews:t._chartsViews,o=a?t._componentsMap:t._chartsMap,s=t._zr,l=t._api,u=0;u e.get("hoverLayerThreshold")&&!s.node&&i.traverse((function(t){t.isGroup||(t.useHoverLayer=!0)}))}function vt(t,e){var i=t.get("blendMode")||null;e.group.traverse((function(t){t.isGroup||t.style.blend!==i&&t.setStyle("blend",i),t.eachPendingDisplayable&&t.eachPendingDisplayable((function(t){t.setStyle("blend",i)}))}))}function yt(t,e){var i=t.get("z"),n=t.get("zlevel");e.group.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=n&&(t.zlevel=n))}))}function xt(t){var e=t._coordSysMgr;return r.extend(new h(t),{getCoordinateSystems:r.bind(e.getCoordinateSystems,e),getComponentByElement:function(e){while(e){var i=e.__ecComponentInfo;if(null!=i)return t._model.getComponent(i.mainType,i.index);e=e.parent}}})}function _t(){this.eventInfo}Q._initEvents=function(){k(gt,(function(t){var e=function(e){var i,n=this.getModel(),a=e.target,o="globalout"===t;if(o)i={};else if(a&&null!=a.dataIndex){var s=a.dataModel||n.getSeriesByIndex(a.seriesIndex);i=s&&s.getDataParams(a.dataIndex,a.dataType,a)||{}}else a&&a.eventData&&(i=r.extend({},a.eventData));if(i){var l=i.componentType,u=i.componentIndex;"markLine"!==l&&"markPoint"!==l&&"markArea"!==l||(l="series",u=i.seriesIndex);var c=l&&null!=u&&n.getComponent(l,u),h=c&&this["series"===c.mainType?"_chartsMap":"_componentsMap"][c.__viewId];i.event=e,i.type=t,this._ecEventProcessor.eventInfo={targetEl:a,packedEvent:i,model:c,view:h},this.trigger(t,i)}};e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)}),this),k(wt,(function(t,e){this._messageCenter.on(e,(function(t){this.trigger(e,t)}),this)}),this)},Q.isDisposed=function(){return this._disposed},Q.clear=function(){this.setOption({series:[]},!0)},Q.dispose=function(){if(!this._disposed){this._disposed=!0,b.setAttribute(this.getDom(),Ot,"");var t=this._api,e=this._model;k(this._componentsViews,(function(i){i.dispose(e,t)})),k(this._chartsViews,(function(i){i.dispose(e,t)})),this._zr.dispose(),delete Ct[this.id]}},r.mixin(J,u),_t.prototype={constructor:_t,normalizeQuery:function(t){var e={},i={},n={};if(r.isString(t)){var a=E(t);e.mainType=a.main||null,e.subType=a.sub||null}else{var o=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};r.each(t,(function(t,a){for(var r=!1,l=0;l