(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6811135c","chunk-44327d52","chunk-7b4dccd2","chunk-2d0e980d","chunk-2d0b6889"],{"0969":function(t,e,a){"use strict";a("cbc5")},"15a9":function(t,e,a){"use strict";a.d(e,"a",(function(){return i}));a("6b07"),a("62f9"),a("5ff7"),a("7d1c"),a("decd"),a("484a"),a("96f8");function r(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function n(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,r)}return a}function i(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=t.expectedData,a=t.actualData;this.chart.setOption({xAxis:{type:"category",data:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],boundaryGap:!1,axisTick:{show:!1}},grid:{left:10,right:10,bottom:20,top:30,containLabel:!0},tooltip:{trigger:"axis",axisPointer:{type:"cross"},padding:[5,10]},yAxis:{axisTick:{show:!1}},legend:{data:["应收款","实收款"]},series:[{name:"应收款",itemStyle:{normal:{color:"#FF005A",lineStyle:{color:"#FF005A",width:2}}},smooth:!0,type:"line",data:e,animationDuration:2800,animationEasing:"cubicInOut"},{name:"实收款",smooth:!0,type:"line",itemStyle:{normal:{color:"#3888fa",lineStyle:{color:"#3888fa",width:2},areaStyle:{color:"#f3f8ff"}}},data:a,animationDuration:2800,animationEasing:"quadraticOut"}]})}}},u=c,l=a("5d22"),d=Object(l["a"])(u,r,n,!1,null,null,null);e["default"]=d.exports},"7d1c":function(t,e,a){var r=a("4292"),n=a("bc5d"),i=a("b9dd"),o=a("016e").f,s=a("61a2"),c=n((function(){o(1)})),u=!s||c;r({target:"Object",stat:!0,forced:u,sham:!s},{getOwnPropertyDescriptor:function(t,e){return o(i(t),e)}})},"8e8b":function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{class:t.className,style:{height:t.height,width:t.width}})},n=[],i=a("4d28"),o=a.n(i),s=a("ed08");a("d8ac");var c={props:{className:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"300px"}},data:function(){return{chart:null}},mounted:function(){var t=this;this.initChart(),this.__resizeHandler=Object(s["b"])((function(){t.chart&&t.chart.resize()}),100),window.addEventListener("resize",this.__resizeHandler)},beforeDestroy:function(){this.chart&&(window.removeEventListener("resize",this.__resizeHandler),this.chart.dispose(),this.chart=null)},methods:{initChart:function(){this.chart=o.a.init(this.$el,"macarons"),this.chart.setOption({tooltip:{trigger:"item",formatter:"{a}
{b} : {c} ({d}%)"},legend:{left:"center",bottom:"10",data:["咨询类","评价类","评审类"]},calculable:!0,series:[{name:"项目类型",type:"pie",roseType:"radius",radius:[15,95],center:["50%","38%"],data:[{value:320,name:"咨询类"},{value:240,name:"评价类"},{value:149,name:"评审类"}],animationEasing:"cubicInOut",animationDuration:2600}]})}}},u=c,l=a("5d22"),d=Object(l["a"])(u,r,n,!1,null,null,null);e["default"]=d.exports},9406:function(t,e,a){"use strict";a.r(e);for(var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"dashboard-container"},[a("div",{staticClass:"dashboard-editor-container"},[a("panel-group",{attrs:{project:t.project},on:{handleSetLineChartData:t.handleSetLineChartData}}),a("el-row",{staticStyle:{background:"#fff",padding:"16px 16px 0","margin-bottom":"32px"}},[a("el-col",{attrs:{span:16}},[a("line-chart",{attrs:{"chart-data":t.lineChartData}})],1),a("el-col",{attrs:{span:8}},[a("div",{staticClass:"chart-wrapper"},[a("pie-chart")],1)])],1),a("el-row",{attrs:{gutter:15}},[a("el-col",{attrs:{xs:12,sm:12,lg:6}},[a("div",{staticClass:"grid-content"},[a("p",{staticClass:"title"},[t._v("查询条件")]),a("div",{staticClass:"content"},[a("p",{staticStyle:{margin:"7px 0px"}},[a("el-select",{attrs:{filterable:"",size:"mini",placeholder:"请选择年份"},on:{change:t.onChange},model:{value:t.form.year,callback:function(e){t.$set(t.form,"year",e)},expression:"form.year"}},t._l(t.yearList,(function(t,e){return a("el-option",{key:e,attrs:{label:t,value:t}})})),1)],1),a("p",{staticStyle:{margin:"7px 0px"}},[a("el-select",{attrs:{clearable:"",filterable:"",size:"mini",placeholder:"请选择项目类型"},on:{change:t.onChange},model:{value:t.form.type,callback:function(e){t.$set(t.form,"type",e)},expression:"form.type"}},t._l(t.typeList,(function(t,e){return a("el-option",{key:e,attrs:{label:t.label,value:t.label}})})),1)],1),"超级管理员"===t.role.name?a("p",{staticStyle:{margin:"7px 0px"}},[a("el-radio-group",{attrs:{size:"mini"},on:{change:t.onRadioChange},model:{value:t.active,callback:function(e){t.active=e},expression:"active"}},[a("el-radio-button",{attrs:{label:"用户"}}),a("el-radio-button",{attrs:{label:"部门"}})],1)],1):t._e(),"超级管理员"===t.role.name?a("p",{directives:[{name:"show",rawName:"v-show",value:0==t.show,expression:"show == 0"}],staticStyle:{margin:"7px 0px"}},[a("el-select",{attrs:{clearable:"",filterable:"",size:"mini",placeholder:"请选择用户"},on:{change:t.onChange},model:{value:t.form.user,callback:function(e){t.$set(t.form,"user",e)},expression:"form.user"}},t._l(t.users,(function(t,e){return a("el-option",{key:e,attrs:{label:t.account,value:t.uuid}})})),1)],1):t._e(),"超级管理员"===t.role.name?a("p",{directives:[{name:"show",rawName:"v-show",value:1==t.show,expression:"show == 1"}],staticStyle:{margin:"7px 0px"}},[a("el-select",{attrs:{clearable:"",filterable:"",size:"mini",placeholder:"请选择部门"},on:{change:t.onChange},model:{value:t.form.depot,callback:function(e){t.$set(t.form,"depot",e)},expression:"form.depot"}},t._l(t.depots,(function(t,e){return a("el-option",{key:e,attrs:{label:t.name,value:t.uuid}})})),1)],1):t._e()])])]),a("el-col",{attrs:{xs:12,sm:12,lg:6}},[a("div",{staticClass:"grid-content"},[a("p",{staticClass:"title"},[t._v("项目统计")]),a("div",{staticClass:"content"},[a("p",[t._v("历史项目总数:"+t._s(t.project.project_total))]),a("p",[t._v("年度项目总数:"+t._s(t.project.project_currentyear))]),a("p",[t._v("年度结案项目总数:"+t._s(t.project.project_finished))]),a("p",[t._v("年度逾期项目总数:"+t._s(t.project.project_outdate))]),a("p",[t._v("年度列入坏帐并终止项目数:"+t._s(t.project.project_stop))]),a("p",[t._v("年度项目总的毛利率:"+t._s((t.project.year_profit/t.project.year_cost).toFixed(2)))])])])]),a("el-col",{attrs:{xs:12,sm:12,lg:6}},[a("div",{staticClass:"grid-content"},[a("p",{staticClass:"title"},[t._v("项目统计")]),a("div",{staticClass:"content"},[a("p",[t._v("上一年未完成项目总数:"+t._s(t.project.project_unfinished_lastyear))]),a("p",[t._v("未结案流转下年度项目总数:"+t._s(t.project.project_unfinished_nextyear))]),a("p",[t._v("已结案但逾期结案项目总数:"+t._s(t.project.project_unfinished_outdate))]),a("p",[t._v("年度逾期项目总数:"+t._s(t.project.project_unfinished_outdate))]),a("p",[t._v("年度项目中标总数:"+t._s(t.project.bidding))])])])]),a("el-col",{attrs:{xs:12,sm:12,lg:6}},[a("div",{staticClass:"grid-content"},[a("p",{staticClass:"title"},[t._v("项目统计")]),a("div",{staticClass:"content"},[a("p",[t._v("年度项目逾期率:"+t._s(t.calculate(t.project.project_outdate,t.project.project_year))+"%")]),a("p",[t._v("年度项目结案逾期率:"+t._s(t.calculate(t.project.project_unfinished_outdate,t.project.project_year))+"%")]),a("p",[t._v("年度项目满意率:"+t._s(t.calculate(t.project.satisfaction,t.project.project_year))+"%")]),a("p",[t._v("年度调派技术现场总天数:"+t._s(t.project.days_for_dispatch_on_site)+" 天")]),a("p",[t._v("年度监督流失率:"+t._s(t.calculate(t.project.supervise_loss,t.project.project_supervise))+"%")]),a("p",[t._v("年度再认证流失率:"+t._s(t.calculate(t.project.authenticate_loss,t.project.project_authenticate))+"%")])])])])],1),a("el-row",{attrs:{gutter:15}},[a("el-col",{attrs:{xs:12,sm:12,lg:6}},[a("div",{staticClass:"grid-content"},[a("p",{staticClass:"title"},[t._v("项目统计")]),a("div",{staticClass:"content"},[a("p",[t._v("年度应收款:"+t._s(t.project.plan_amount)+" 元")]),a("p",[t._v("年度实收款:"+t._s(t.project.real_amount)+" 元")]),a("p",[t._v("年度应收款回款率:"+t._s(t.calculate(t.project.real_amount,t.project.plan_amount))+"%")]),a("p",[t._v("年度坏账总金额:"+t._s(t.project.bad_debts_amount)+" 元")]),a("p",[t._v("年度销售合同额:"+t._s(t.project.year_contract_amount)+" 元")]),a("p",[t._v("年度销售认可合同额:"+t._s(t.project.year_agree_amount)+" 元")])])])]),a("el-col",{attrs:{xs:12,sm:12,lg:6}},[a("div",{staticClass:"grid-content"},[a("p",{staticClass:"title"},[t._v("季度合同金额")]),a("div",{staticClass:"content"},[a("p",[t._v("一季度:"+t._s(t.project.quarter_contract_amount.q1))]),a("p",[t._v("二季度:"+t._s(t.project.quarter_contract_amount.q2))]),a("p",[t._v("三季度:"+t._s(t.project.quarter_contract_amount.q3))]),a("p",[t._v("四季度:"+t._s(t.project.quarter_contract_amount.q4))])])])]),a("el-col",{attrs:{xs:12,sm:12,lg:6}},[a("div",{staticClass:"grid-content"},[a("p",{staticClass:"title"},[t._v("季度认可合同金额")]),a("div",{staticClass:"content"},[a("p",[t._v("一季度:"+t._s(t.project.quarter_agree_amount.q1))]),a("p",[t._v("二季度:"+t._s(t.project.quarter_agree_amount.q2))]),a("p",[t._v("三季度:"+t._s(t.project.quarter_agree_amount.q3))]),a("p",[t._v("四季度:"+t._s(t.project.quarter_agree_amount.q4))])])])]),a("el-col",{attrs:{xs:12,sm:12,lg:6}},[a("div",{staticClass:"grid-content"},[a("p",{staticClass:"title"},[t._v("季度利润")]),a("div",{staticClass:"content"},[a("p",[t._v("一季度:"+t._s(t.project.quater_profit.q1))]),a("p",[t._v("二季度:"+t._s(t.project.quater_profit.q2))]),a("p",[t._v("三季度:"+t._s(t.project.quater_profit.q3))]),a("p",[t._v("四季度:"+t._s(t.project.quater_profit.q4))])])])])],1),a("el-row",{attrs:{gutter:15}},[a("el-col",{attrs:{xs:12,sm:12,lg:6}},[a("div",{staticClass:"grid-content"},[a("p",{staticClass:"title"},[t._v("季度项目数统计")]),a("div",{staticClass:"content"},[a("p",[t._v("一季度:"+t._s(t.project.quarter_project_count.q1))]),a("p",[t._v("二季度:"+t._s(t.project.quarter_project_count.q2))]),a("p",[t._v("三季度:"+t._s(t.project.quarter_project_count.q3))]),a("p",[t._v("四季度:"+t._s(t.project.quarter_project_count.q4))])])])]),a("el-col",{attrs:{xs:12,sm:12,lg:6}},[a("div",{staticClass:"grid-content"},[a("p",{staticClass:"title"},[t._v("季度项目回款率")]),a("div",{staticClass:"content"},[a("table",[a("tr",[a("th",[t._v("季度")]),a("th",[t._v("应收款")]),a("th",[t._v("实收款")]),a("th",[t._v("回款率")])]),a("tr",[a("td",[t._v("一季度")]),a("td",[t._v(t._s(t.project.quarter_project_collection_rate.q1[0]))]),a("td",[t._v(t._s(t.project.quarter_project_collection_rate.q1[1]))]),a("td",[t._v(" "+t._s(t.calculate(t.project.quarter_project_collection_rate.q1[1],t.project.quarter_project_collection_rate.q1[0]))+"% ")])]),a("tr",[a("td",[t._v("二季度")]),a("td",[t._v(t._s(t.project.quarter_project_collection_rate.q2[0]))]),a("td",[t._v(t._s(t.project.quarter_project_collection_rate.q2[1]))]),a("td",[t._v(" "+t._s(t.calculate(t.project.quarter_project_collection_rate.q2[1],t.project.quarter_project_collection_rate.q2[0]))+"% ")])]),a("tr",[a("td",[t._v("三季度")]),a("td",[t._v(t._s(t.project.quarter_project_collection_rate.q3[0]))]),a("td",[t._v(t._s(t.project.quarter_project_collection_rate.q3[1]))]),a("td",[t._v(" "+t._s(t.calculate(t.project.quarter_project_collection_rate.q3[1],t.project.quarter_project_collection_rate.q3[0]))+"% ")])]),a("tr",[a("td",[t._v("四季度")]),a("td",[t._v(t._s(t.project.quarter_project_collection_rate.q4[0]))]),a("td",[t._v(t._s(t.project.quarter_project_collection_rate.q4[1]))]),a("td",[t._v(" "+t._s(t.calculate(t.project.quarter_project_collection_rate.q4[1],t.project.quarter_project_collection_rate.q4[0]))+"% ")])])])])])]),a("el-col",{attrs:{xs:12,sm:12,lg:6}},[a("div",{staticClass:"grid-content"},[a("p",{staticClass:"title"},[t._v("季度项目结案率")]),a("div",{staticClass:"content"},[a("table",[a("tr",[a("th",[t._v("季度")]),a("th",[t._v("应结案")]),a("th",[t._v("实结案")]),a("th",[t._v("结案率")])]),a("tr",[a("td",[t._v("一季度")]),a("td",[t._v(t._s(t.project.quarter_project_finished_rate.q1[0]))]),a("td",[t._v(t._s(t.project.quarter_project_finished_rate.q1[1]))]),a("td",[t._v(" "+t._s(t.calculate(t.project.quarter_project_finished_rate.q1[1],t.project.quarter_project_finished_rate.q1[0]))+"% ")])]),a("tr",[a("td",[t._v("二季度")]),a("td",[t._v(t._s(t.project.quarter_project_finished_rate.q2[0]))]),a("td",[t._v(t._s(t.project.quarter_project_finished_rate.q2[1]))]),a("td",[t._v(" "+t._s(t.calculate(t.project.quarter_project_finished_rate.q2[1],t.project.quarter_project_finished_rate.q2[0]))+"% ")])]),a("tr",[a("td",[t._v("三季度")]),a("td",[t._v(t._s(t.project.quarter_project_finished_rate.q3[0]))]),a("td",[t._v(t._s(t.project.quarter_project_finished_rate.q3[1]))]),a("td",[t._v(" "+t._s(t.calculate(t.project.quarter_project_finished_rate.q3[1],t.project.quarter_project_finished_rate.q3[0]))+"% ")])]),a("tr",[a("td",[t._v("四季度")]),a("td",[t._v(t._s(t.project.quarter_project_finished_rate.q4[0]))]),a("td",[t._v(t._s(t.project.quarter_project_finished_rate.q4[1]))]),a("td",[t._v(" "+t._s(t.calculate(t.project.quarter_project_finished_rate.q4[1],t.project.quarter_project_finished_rate.q4[0]))+"% ")])])])])])])],1)],1)])},n=[],i=(a("6ddf"),a("15a9")),o=a("7736"),s=a("ed08"),c=a("365c"),u=a("3e3b"),l=a("79cf"),d=a("8e8b"),p=new Date,_=[],f=2020;f<=p.getFullYear();f++)_.push(f);var h={name:"Dashboard",components:{PanelGroup:u["default"],LineChart:l["default"],PieChart:d["default"]},filter:{isZero:function(t){return t||1}},computed:Object(i["a"])(Object(i["a"])({},Object(o["c"])("user",["role"])),{},{calculate:function(){return function(t,e){return 0==e?(t/1*100).toFixed(2):(t/e*100).toFixed(2)}}}),data:function(){return{yearList:_,active:"用户",show:0,form:{year:p.getFullYear(),depot:null,type:null,user:null},users:[],depots:[],typeList:[],project:{project_total:0,project_year:0,project_finished:0,project_unfinished_nextyear:0,project_unfinished_outdate:0,project_unfinished_lastyear:0,project_currentyear:0,consult_projects:0,review_evaluate_projects:0,authenticate_projects:0,pieList:[],year_contract_amount:0,year_agree_amount:0,year_profit:0,year_cost:0,quarter_project_count:{q1:0,q2:0,q3:0,q4:0},quarter_project_collection_rate:{q1:[1,0],q2:[1,0],q3:[1,0],q4:[1,0]},quarter_project_finished_rate:{q1:[1,0],q2:[1,0],q3:[1,0],q4:[1,0]},quarter_contract_amount:{q1:0,q2:0,q3:0,q4:0},quarter_agree_amount:{q1:0,q2:0,q3:0,q4:0},quater_profit:{q1:0,q2:0,q3:0,q4:0}},lineChartData:{expectedData:[100,120,161,134,105,160,165,134,105,160,165,140],actualData:[120,82,91,154,162,140,145,154,162,140,145,130]}}},methods:{handleSetLineChartData:function(t){console.log(t)},onChange:function(){this.fetchData()},onRadioChange:function(t){this.show="部门"==t?1:0},getDepotList:function(){var t=this;Object(c["D"])({scope_type:"list"}).then((function(e){t.depots=e.data})).catch((function(t){console.log(t.message)}))},getUserList:function(){var t=this;Object(c["P"])({scope_type:"list"}).then((function(e){t.users=e.data})).catch((function(t){console.log(t.message)}))},getDictList:function(){var t=this;Object(c["E"])({scope_type:"list",category:["project-type"]}).then((function(e){t.typeList=e.data})).catch((function(t){console.log(t.message)}))},fetchData:function(){var t=this;Object(c["Q"])(Object(s["e"])(this.form)).then((function(e){t.project=e.data,e.data.plan_moneys.shift(),t.lineChartData.expectedData=e.data.plan_moneys,e.data.real_moneys.shift(),t.lineChartData.actualData=e.data.real_moneys,t.project.pieList=[{value:t.project.consult_projects,name:"咨询类"},{value:t.project.authenticate_projects,name:"认证类"},{value:t.project.review_evaluate_projects,name:"评审评价类"}]})).catch((function(t){console.log(t)}))}},created:function(){this.fetchData(),this.getDepotList(),this.getUserList(),this.getDictList(),this.role&&""!=this.role||(this.$store.dispatch("user/removeRole"),this.$store.dispatch("user/removeToken"),this.$router.push("/login"))}},m=h,v=(a("0969"),a("5d22")),j=Object(v["a"])(m,r,n,!1,null,"be22dad2",null);e["default"]=j.exports},"9e2e":function(t,e,a){!function(e,a){t.exports=a()}(0,(function(){return function(t){function e(r){if(a[r])return a[r].exports;var n=a[r]={i:r,l:!1,exports:{}};return t[r].call(n.exports,n,n.exports,e),n.l=!0,n.exports}var a={};return e.m=t,e.c=a,e.i=function(t){return t},e.d=function(t,a,r){e.o(t,a)||Object.defineProperty(t,a,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var a=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(a,"a",a),a},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=2)}([function(t,e,a){var r=a(4)(a(1),a(5),null,null);t.exports=r.exports},function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(3);e.default={props:{startVal:{type:Number,required:!1,default:0},endVal:{type:Number,required:!1,default:2017},duration:{type:Number,required:!1,default:3e3},autoplay:{type:Boolean,required:!1,default:!0},decimals:{type:Number,required:!1,default:0,validator:function(t){return t>=0}},decimal:{type:String,required:!1,default:"."},separator:{type:String,required:!1,default:","},prefix:{type:String,required:!1,default:""},suffix:{type:String,required:!1,default:""},useEasing:{type:Boolean,required:!1,default:!0},easingFn:{type:Function,default:function(t,e,a,r){return a*(1-Math.pow(2,-10*t/r))*1024/1023+e}}},data:function(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:this.duration,startTime:null,timestamp:null,remaining:null,rAF:null}},computed:{countDown:function(){return this.startVal>this.endVal}},watch:{startVal:function(){this.autoplay&&this.start()},endVal:function(){this.autoplay&&this.start()}},mounted:function(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start:function(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=(0,r.requestAnimationFrame)(this.count)},pauseResume:function(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause:function(){(0,r.cancelAnimationFrame)(this.rAF)},resume:function(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,(0,r.requestAnimationFrame)(this.count)},reset:function(){this.startTime=null,(0,r.cancelAnimationFrame)(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count:function(t){this.startTime||(this.startTime=t),this.timestamp=t;var e=t-this.startTime;this.remaining=this.localDuration-e,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(e,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(e,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(e/this.localDuration):this.printVal=this.localStartVal+(this.localStartVal-this.startVal)*(e/this.localDuration),this.countDown?this.printVal=this.printValthis.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),e1?this.decimal+e[1]:"",n=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))for(;n.test(a);)a=a.replace(n,"$1"+this.separator+"$2");return this.prefix+a+r+this.suffix}},destroyed:function(){(0,r.cancelAnimationFrame)(this.rAF)}}},function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(0),n=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=n.default,"undefined"!=typeof window&&window.Vue&&window.Vue.component("count-to",n.default)},function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=0,n="webkit moz ms o".split(" "),i=void 0,o=void 0;if("undefined"==typeof window)e.requestAnimationFrame=i=function(){},e.cancelAnimationFrame=o=function(){};else{e.requestAnimationFrame=i=window.requestAnimationFrame,e.cancelAnimationFrame=o=window.cancelAnimationFrame;for(var s=void 0,c=0;cd)a=n(r,e=u[d++]),void 0!==a&&c(l,e,a);return l}})}}]);