(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4e18c57b"],{"0b0a":function(t,e,i){"use strict";var n=i("87f3"),r=i.n(n);r.a},2348:function(t,e,i){"use strict";var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"scienceBox",staticClass:"science-box",style:t.getStyle},[i("div",{staticClass:"box-content"},[t.noHeader?t._e():i("div",{staticClass:"box-header"},[t._v(" "+t._s(t.title)+" ")]),i("div",{staticClass:"box-body"},[t._t("default")],2)]),i("div",{staticClass:"input_title"},[t._t("title")],2)])},r=[],o=(i("a9e3"),{props:{title:{type:String,default:""},top:{type:Number,default:0},left:{type:Number,default:0},cssWidth:{type:[Number,String],default:function(){return"auto"}},cssHeight:{type:[Number,String],default:"auto"},bMax:{type:Number,default:2e4},noHeader:{type:Boolean,default:!1}},data:function(){return{height:0}},computed:{getStyle:function(){var t=this.top+this.height,e=t>this.bMax-8?this.bMax-8-this.height:this.top;return{top:e+"px",left:this.left+"px",width:"number"==typeof this.cssWidth?this.cssWidth+"px":this.cssWidth,height:"number"==typeof this.cssHeight?this.cssHeight+"px":this.cssHeight}}},mounted:function(){this.height=this.$refs.scienceBox.offsetHeight},updated:function(){this.height=this.$refs.scienceBox.offsetHeight}}),s=o,a=(i("0b0a"),i("2877")),h=Object(a["a"])(s,n,r,!1,null,"7ac716c0",null);e["a"]=h.exports},2909:function(t,e,i){"use strict";function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function r(t){if(Array.isArray(t))return n(t)}i.d(e,"a",(function(){return h}));i("a4d3"),i("e01a"),i("d28b"),i("a630"),i("d3b7"),i("3ca3"),i("ddb0");function o(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}i("fb6a"),i("b0c0"),i("25f0");function s(t,e){if(t){if("string"===typeof t)return n(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?n(t,e):void 0}}function a(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h(t){return r(t)||o(t)||s(t)||a()}},"4df4":function(t,e,i){"use strict";var n=i("0366"),r=i("7b0b"),o=i("9bdd"),s=i("e95a"),a=i("50c4"),h=i("8418"),c=i("35a1");t.exports=function(t){var e,i,l,d,y,f,x=r(t),u="function"==typeof this?this:Array,b=arguments.length,p=b>1?arguments[1]:void 0,g=void 0!==p,v=c(x),P=0;if(g&&(p=n(p,b>2?arguments[2]:void 0,2)),void 0==v||u==Array&&s(v))for(e=a(x.length),i=new u(e);e>P;P++)f=g?p(x[P],P):x[P],h(i,P,f);else for(d=v.call(x),y=d.next,i=new u;!(l=y.call(d)).done;P++)f=g?o(d,p,[l.value,P],!0):l.value,h(i,P,f);return i.length=P,i}},"81d5":function(t,e,i){"use strict";var n=i("7b0b"),r=i("23cb"),o=i("50c4");t.exports=function(t){var e=n(this),i=o(e.length),s=arguments.length,a=r(s>1?arguments[1]:void 0,i),h=s>2?arguments[2]:void 0,c=void 0===h?i:r(h,i);while(c>a)e[a++]=t;return e}},"87f3":function(t,e,i){},"960b":function(t,e,i){"use strict";i("cb29"),i("4160"),i("c975"),i("b64b"),i("d3b7"),i("ac1f"),i("25f0"),i("1276"),i("159b");function n(t,e){for(var i in e)t[i]=t[i]&&"[object Object]"===t[i].toString()?n(t[i],e[i]):e[i];return t}function r(t,e){this.canvas=document.getElementById(t),this.context=this.canvas.getContext("2d"),this.timer="",this.elementList=[],this.elementObjects={},this.counterList={},this.context.lineWidth=1,this.context.strokeStyle="#fff",this.context.fillStyle="#fff",this.context.font="16px Arial",this.COUNT=e||40,this.imageData=this.context.createImageData(1,1)}function o(){var t=0;return function(){return t++}}function s(t,e){e.save(),e.strokeStyle=t.strokeStyle,e.fillStyle=t.fillStyle,e.lineWidth=t.lineWidth,e.beginPath(),e.moveTo(t.startX,t.startY),e.lineTo(t.endX,t.endY),e.closePath(),e.stroke(),e.restore()}function a(t,e){e.save(),e.strokeStyle=t.strokeStyle,e.fillStyle=t.fillStyle,e.beginPath(),e.arc(t.x,t.y,t.r,0,2*Math.PI),e.closePath(),e.fill(),e.restore()}function h(t,e,i,n,r){if(r.save(),r.lineWidth=i,n)r.beginPath(),r.arc(t.x,t.y,e,0,2*Math.PI),r.closePath(),r.stroke();else{var o=["10-40","50-80","90-120","130-160","170-200","210-240","250-280","290-320","330-360"];o.forEach((function(i,n,o){var s=i.split("-");r.beginPath(),r.arc(t.x,t.y,e,s[0]*Math.PI/180,s[1]*Math.PI/180,!1),r.closePath(),r.stroke()}))}r.restore()}function c(t,e){e.save(),e.beginPath(),e.lineWidth=t.lineWidth,e.strokeStyle=t.strokeStyle,e.strokeRect(t.startX,t.startY,t.width,t.height),e.closePath(),e.restore()}function l(t,e){e.save(),e.textAlign=t.textAlign,e.font=t.font,e.textBaseline=t.textBaseline,e.fillStyle=t.fillStyle,e.fillText(t.txt,t.x,t.y);var i=e.measureText(t.txt);return e.restore(),i}r.prototype.drawLine=function(t,e){var i="line",r={startX:0,startY:0,endX:0,endY:0,lineWidth:1,strokeStyle:this.context.strokeStyle,fillStyle:this.context.fillStyle},o=n(r,t||{});this.context.save(),s(o,this.context),this.context.restore();var a={};a=o.startY==o.endY?{tlPoint:{x:o.startX,y:o.startY-o.lineWidth/2},trPoint:{x:o.endX,y:o.endY-o.lineWidth/2},brPoint:{x:o.endX,y:o.endY+o.lineWidth/2},blPoint:{x:o.startX,y:o.startX+o.lineWidth/2}}:{tlPoint:{x:o.startX-o.lineWidth/2,y:o.startY},trPoint:{x:o.endX+o.lineWidth/2,y:o.endY},brPoint:{x:o.endX+o.lineWidth/2,y:o.endY},blPoint:{x:o.startX-o.lineWidth/2,y:o.startX}},e&&this._addToObj(i,a,o)},r.prototype.drawRect=function(t,e){var i="rect",r={startX:0,startY:0,width:100,height:40,lineWidth:1},o=n(r,t||{});o.subName&&(i+="_"+o.subName),this.context.save(),c(o,this.context),this.context.restore();var s={tlPoint:{x:o.startX,y:o.startY},trPoint:{x:o.startX+o.width,y:o.startY},brPoint:{x:o.startX+o.width,y:o.startY+o.height},blPoint:{x:o.startX,y:o.startY+o.height},top:o.startY,left:o.startX,right:o.startX+o.width,bottom:o.startY+o.height,width:o.width,height:o.height};e&&this._addToObj(i,s,o)},r.prototype.drawText=function(t,e){var i="text",r={x:0,y:0,fillStyle:"#fff",textAlign:"center",textBaseline:"middle",txt:""},o=n(r,t||{});if("start"!=o.textAlign&&"center"!=o.textAlign&&"end"!=o.textAlign||"top"!=o.textBaseline&&"middle"!=o.textBaseline&&"bottom"!=o.textBaseline)return console.error("参数错误..."),!1;this.context.save();var s=l(o,this.context);this.context.restore(),s.height=s.actualBoundingBoxAscent+s.actualBoundingBoxDescent;var a={};switch(o.textAlign+o.textBaseline){case"starttop":a.tlPoint={x:o.x,y:o.y},a.trPoint={x:o.x+s.width,y:o.y},a.brPoint={x:o.x+s.width,y:o.y+s.height},a.blPoint={x:o.x,y:o.y+s.height};break;case"startmiddle":a.tlPoint={x:o.x,y:o.y-s.height/2},a.trPoint={x:o.x+s.width,y:o.y-s.height/2},a.brPoint={x:o.x+s.width,y:o.y+s.height/2},a.blPoint={x:o.x,y:o.y+s.height/2};break;case"startbottom":a.tlPoint={x:o.x,y:o.y-s.height},a.trPoint={x:o.x+s.width,y:o.y-s.height},a.brPoint={x:o.x+s.width,y:o.y},a.blPoint={x:o.x,y:o.y};break;case"centertop":a.tlPoint={x:o.x-s.width/2,y:o.y},a.trPoint={x:o.x+s.width/2,y:o.y},a.brPoint={x:o.x+s.width/2,y:o.y+s.height},a.blPoint={x:o.x-s.width/2,y:o.y+s.height};break;case"centermiddle":a.tlPoint={x:o.x-s.width/2,y:o.y-s.height/2},a.trPoint={x:o.x+s.width/2,y:o.y-s.height/2},a.brPoint={x:o.x+s.width/2,y:o.y+s.height/2},a.blPoint={x:o.x-s.width/2,y:o.y+s.height/2};break;case"centerbottom":a.tlPoint={x:o.x-s.width/2,y:o.y-s.height},a.trPoint={x:o.x+s.width/2,y:o.y-s.height},a.brPoint={x:o.x+s.width/2,y:o.y},a.blPoint={x:o.x-s.width/2,y:o.y};break;case"endtop":a.tlPoint={x:o.x-s.width,y:o.y},a.trPoint={x:o.x,y:o.y},a.brPoint={x:o.x,y:o.y+s.height},a.blPoint={x:o.x-s.width,y:o.y+s.height};break;case"endmiddle":a.tlPoint={x:o.x-s.width,y:o.y-s.height/2},a.trPoint={x:o.x,y:o.y-s.height/2},a.brPoint={x:o.x,y:o.y+s.height/2},a.blPoint={x:o.x-s.width,y:o.y+s.height/2};break;case"endbottom":a.tlPoint={x:o.x-s.width,y:o.y-s.height},a.trPoint={x:o.x,y:o.y-s.height},a.brPoint={x:o.x,y:o.y},a.blPoint={x:o.x-s.width,y:o.y};break}e&&this._addToObj(i,a,o)},r.prototype.drawDashedLine=function(t){var e={startX:0,startY:0,endX:0,endY:0,isHor:!0,lineWidth:1,solidWidth:4,spaceWidth:2,strokeStyle:"#fff"},i=n(e,t||{}),r=Math.sqrt(Math.pow(i.startX-i.endX,2)+Math.pow(i.startY-i.endY,2)),o=i.solidWidth+i.spaceWidth,s=Math.floor(r/o),a=r%o;this.context.save();for(var h=0;h<s;h++)i.isHor?this.drawLine({startX:i.startX+o*h,startY:i.startY,endX:i.startX+o*h+i.solidWidth,endY:i.startY}):this.drawLine({startX:i.startX,startY:i.startY+o*h,endX:i.startX,endY:i.startY+o*h+i.solidWidth});a>=i.solidWidth&&(i.isHor?this.drawLine({startX:i.startX+o*s,startY:i.startY,endX:i.startX+o*s+i.solidWidth,endY:i.startY}):this.drawLine({startX:i.startX+o*s,startY:i.startY,endX:i.endX,endY:i.startY})),this.context.restore()},r.prototype.pointIsInRect=function(t,e){return!!e&&(!(t.x<e.left)&&(!(t.x>e.right)&&(!(t.y<e.top)&&!(t.y>e.bottom))))},r.prototype.clearObj=function(t){var e=this.elementObjects[t];this.clearRectBeTween2Points(e.tlPoint,e.brPoint)},r.prototype.updateCanvas=function(){this.context.save(),this.context.fillStyle="rgba(0, 0, 0, 0.85)",this.context.globalCompositeOperation="destination-in",this.context.fillRect(0,0,this.canvas.width,this.canvas.height),this.context.restore()},r.prototype.clearCanvas=function(){this.elementList=[],this.elementObjects={},this.counterList={},this.context.clearRect(0,0,this.canvas.width,this.canvas.height)},r.prototype.snapshoot=function(){this.imageData=this.context.getImageData(0,0,this.canvas.width,this.canvas.height)},r.prototype.moveBall=function(t,e){var i=t.points,n=0,r=0;switch(t.fillStyle=t.fillStyle||"#fff",t.direction){case"top":n=(i[3]-i[1])/this.COUNT,r=i[3],r-=n*e,r<i[1]&&(r=i[3]),this._drawPoint({x:i[2],y:r,fillStyle:t.fillStyle,r:6},this.context);break;case"bottom":n=(i[3]-i[1])/this.COUNT,r=i[1],r+=n*e,r>i[3]&&(r=i[1]),this._drawPoint({x:i[2],y:r,fillStyle:t.fillStyle,r:6},this.context);break;case"left":n=(i[2]-i[0])/this.COUNT,r=i[2],r-=n*e,r<i[0]&&(r=i[2]),this._drawPoint({x:r,y:i[1],fillStyle:t.fillStyle,r:6},this.context);break;case"right":n=(i[2]-i[0])/this.COUNT,r=i[0],r+=n*e,r>i[2]&&(r=i[0]),this._drawPoint({x:r,y:i[1],fillStyle:t.fillStyle,r:6},this.context);break}},r.prototype._createElementId=function(t){var e=this.counterList["counter_"+t].counter();return t+"_"+e},r.prototype._createCounter=function(t){this.counterList["counter_"+t]||(this.counterList["counter_"+t]={counter:o()})},r.prototype._addToObj=function(t,e,i){this._createCounter(t);var n=this._createElementId(t);this.elementList.push(n),Object.keys(i).forEach((function(t,n,r){t.indexOf("cbfn_")>-1&&(e[t]=i[t])})),e.id=n,e.opts=i,this.elementObjects[n]=e},r.prototype.emit=function(t,e,i){var n=this.elementObjects[t]?this.elementObjects[t]["cbfn_"+e]:void 0;n&&"function"===typeof n&&n(i,this.elementObjects[t])},r.prototype.clearRectBySize=function(t,e,i,n){this.context.clearRect(t,e,i,n)},r.prototype.clearRectBeTween2Points=function(t,e){this.context.clearRect(t.x,t.y,e.x-t.x,e.y-t.y)},r.prototype.getInfo=function(t){return this.elementObjects[t]},r.prototype._drawLine=s,r.prototype._drawPoint=a,r.prototype._drawArc=h,r.prototype._drawRect=c,e["a"]=r},a630:function(t,e,i){var n=i("23e7"),r=i("4df4"),o=i("1c7e"),s=!o((function(t){Array.from(t)}));n({target:"Array",stat:!0,forced:s},{from:r})},a9e3:function(t,e,i){"use strict";var n=i("83ab"),r=i("da84"),o=i("94ca"),s=i("6eeb"),a=i("5135"),h=i("c6b6"),c=i("7156"),l=i("c04e"),d=i("d039"),y=i("7c73"),f=i("241c").f,x=i("06cf").f,u=i("9bf2").f,b=i("58a8").trim,p="Number",g=r[p],v=g.prototype,P=h(y(v))==p,w=function(t){var e,i,n,r,o,s,a,h,c=l(t,!1);if("string"==typeof c&&c.length>2)if(c=b(c),e=c.charCodeAt(0),43===e||45===e){if(i=c.charCodeAt(2),88===i||120===i)return NaN}else if(48===e){switch(c.charCodeAt(1)){case 66:case 98:n=2,r=49;break;case 79:case 111:n=8,r=55;break;default:return+c}for(o=c.slice(2),s=o.length,a=0;a<s;a++)if(h=o.charCodeAt(a),h<48||h>r)return NaN;return parseInt(o,n)}return+c};if(o(p,!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var m,S=function(t){var e=arguments.length<1?0:t,i=this;return i instanceof S&&(P?d((function(){v.valueOf.call(i)})):h(i)!=p)?c(new g(w(e)),i,S):w(e)},X=n?f(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),Y=0;X.length>Y;Y++)a(g,m=X[Y])&&!a(S,m)&&u(S,m,x(g,m));S.prototype=v,v.constructor=S,s(r,p,S)}},cb29:function(t,e,i){var n=i("23e7"),r=i("81d5"),o=i("44d2");n({target:"Array",proto:!0},{fill:r}),o("fill")},fb6a:function(t,e,i){"use strict";var n=i("23e7"),r=i("861d"),o=i("e8b5"),s=i("23cb"),a=i("50c4"),h=i("fc6a"),c=i("8418"),l=i("b622"),d=i("1dde"),y=i("ae40"),f=d("slice"),x=y("slice",{ACCESSORS:!0,0:0,1:2}),u=l("species"),b=[].slice,p=Math.max;n({target:"Array",proto:!0,forced:!f||!x},{slice:function(t,e){var i,n,l,d=h(this),y=a(d.length),f=s(t,y),x=s(void 0===e?y:e,y);if(o(d)&&(i=d.constructor,"function"!=typeof i||i!==Array&&!o(i.prototype)?r(i)&&(i=i[u],null===i&&(i=void 0)):i=void 0,i===Array||void 0===i))return b.call(d,f,x);for(n=new(void 0===i?Array:i)(p(x-f,0)),l=0;f<x;f++,l++)f in d&&c(n,l,d[f]);return n.length=l,n}})}}]);
|