(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6b5151a8"],{"02d7":function(t,e){t.exports="data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAMYAAADFCAYAAAAPD43zAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFuElEQVR4nO3dPXIbORAGUGlrA1/B97+HQwW6gE/gQIlDlzNtxKpd1sfVjIButqz3YnIG/PkEAQQaj6+vr68PwH/8de8GwESCAYFgQCAYEAgGBIIBgWBAIBgQ/H30gY+Pj5XteLdbv0+m9p75LXP19e5o1+pjV01t1w5vfRf0GBAIBgSCAYFgQHB48J10L8w9M5BLbbv1/PTYqoH6art2ONOGo89fvX+l90wA6DEgEAwIBAMCwYBAMCBYmpW6pWo5RWcbOpeUdF/36DW6Z8smfG8u9BgQCAYEggGBYEBQMvieYHVAe+b5q/fqXI6xw+r79RHoMSAQDAgEAwLBgEAwIPhjZ6UqloTc8ifMyPwJr2EnPQYEggGBYEAgGBCUDL4nDOQqloTcGpB37iPo3CPRPQEx4XtzoceAQDAgEAwIBAMCwYBgaVZq6qEgDw+9m2lW69FWzTSttqHqMJjJ35sLPQYEggGBYEAgGBAcHnxP+rl+t9WDVDqrjHTaMSkw9bW9RY8BgWBAIBgQCAYEggHByCohOzbIrM40nblX5wxW93VX7/XRHnuhx4BAMCAQDAgEA4KS/Ridh7bscPR+3UskqvY9rL6/VftPqrzn9eoxIBAMCAQDAsGAQDAgeHw9OGSfUJ/1zHU7666u3quqrZ3X7f4cqj9fPQYEggGBYEAgGBAsVQnpPMRkRxumnuR6ZuB65vV2DmYnLwl5Dz0GBIIBgWBAIBgQHP7l+9RFGzf8V6mabFh9bzoHuR+haMFbzz97jQs9BgSCAYFgQCAYEAgGBIeXhHTubzhz3QmzNN3X6PLRlvwo0QnFBAMCwYBAMCBoOx+japDceYLohH0EneVAJxSaOGPXZMGvX7/0GHDt5eWlpnxO57TqhL9InaaeknRLVS9dvaNUjwGBYEAgGHDl27dva1VCqtxrc0qH1TF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"04d1":function(t,e,i){var a=i("342f"),r=a.match(/firefox\/(\d+)/i);t.exports=!!r&&+r[1]},"130d":function(t,e,i){t.exports=i.p+"img/抬头1.2c2e2c26.png"},1314:function(t,e,i){},"326f":function(t,e,i){t.exports=i.p+"img/灰按钮.a67629bb.png"},4323:function(t,e,i){t.exports=i.p+"img/下边云.dca19c2b.png"},"4e82":function(t,e,i){"use strict";var a=i("23e7"),r=i("1c0b"),n=i("7b0b"),s=i("50c4"),o=i("d039"),l=i("addb"),c=i("a640"),u=i("04d1"),d=i("d998"),h=i("2d00"),g=i("512ce"),f=[],p=f.sort,v=o((function(){f.sort(void 0)})),m=o((function(){f.sort(null)})),w=c("sort"),A=!o((function(){if(h)return h<70;if(!(u&&u>3)){if(d)return!0;if(g)return g<603;var t,e,i,a,r="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:i=3;break;case 68:case 71:i=4;break;default:i=2}for(a=0;a<47;a++)f.push({k:e+a,v:i})}for(f.sort((function(t,e){return e.v-t.v})),a=0;aString(i)?1:-1}};a({target:"Array",proto:!0,forced:x},{sort:function(t){void 0!==t&&r(t);var e=n(this);if(A)return void 0===t?p.call(e):p.call(e,t);var i,a,o=[],c=s(e.length);for(a=0;a1?arguments[1]:void 0,i),l=s>2?arguments[2]:void 0,c=void 0===l?i:r(l,i);while(c>o)e[o++]=t;return e}},a640:function(t,e,i){"use strict";var a=i("d039");t.exports=function(t,e){var i=[][t];return!!i&&a((function(){i.call(null,e||function(){throw 1},1)}))}},a71e:function(t,e,i){t.exports=i.p+"img/黄按钮.a85e1406.png"},addb:function(t,e){var i=Math.floor,a=function(t,e){var s=t.length,o=i(s/2);return s<8?r(t,e):n(a(t.slice(0,o),e),a(t.slice(o),e),e)},r=function(t,e){var i,a,r=t.length,n=1;while(n0)t[a]=t[--a];a!==n++&&(t[a]=i)}return t},n=function(t,e,i){var a=t.length,r=e.length,n=0,s=0,o=[];while(n0)e.phase-=2*Math.PI;var a=e.phase/Math.PI/2*e.waveLength,r=e.cx-e.radius+a-2*e.radius;t.moveTo(r,e.waterLevel);for(var n=0,s=0;sn?(n*=2*t/r,r=2*t):(r*=2*t/n,n=2*t);var o=e?0:x-r/2,l=e?0:b-n/2;return i=s["d"].makePath(I.slice(7),{},new s["d"].BoundingRect(o,l,r,n)),e&&(i.position=[-r/2,-n/2]),i}if(y){var c=e?-t[0]:x-t[0],u=e?-t[1]:b-t[1];return s["e"].createSymbol("rect",c,u,2*t[0],2*t[1])}c=e?-t:x-t,u=e?-t:b-t;return"pin"===I?u+=t:"arrow"===I&&(u-=t),s["e"].createSymbol(I,c,u,2*t,2*t)}return new s["d"].Circle({shape:{cx:e?0:x,cy:e?0:b,r:t}})}function L(){var e=D(m);return e.style.fill=null,e.setStyle(t.getModel("outline.itemStyle").getItemStyle()),e}function G(){var e=D(l);e.setStyle(t.getModel("backgroundStyle").getItemStyle()),e.style.fill=null,e.z2=5;var i=D(l);i.setStyle(t.getModel("backgroundStyle").getItemStyle()),i.style.stroke=null;var a=new s["d"].Group;return a.add(e),a.add(i),a}function Y(e,i,a){var n=y?l[0]:l,o=y?u/2:l,c=r.getItemModel(e),h=c.getModel("itemStyle"),f=c.get("phase"),p=g(c.get("amplitude"),2*o),v=g(c.get("waveLength"),2*n),m=r.get("value",e),w=o-m*o*2;f=a?a.shape.phase:"auto"===f?e*Math.PI/4:f;var A=h.getItemStyle();if(!A.fill){var I=t.get("color"),C=e%I.length;A.fill=I[C]}var B=2*n,S=new d({shape:{waveLength:v,radius:n,radiusY:o,cx:B,cy:0,waterLevel:w,amplitude:p,phase:f,inverse:i},style:A,position:[x,b]});S.shape._waterLevel=w;var M=c.getModel("emphasis.itemStyle").getItemStyle();M.lineWidth=0,S.ensureState("emphasis").style=M,s["e"].enableHoverEmphasis(S);var E=D(l,!0);return E.setStyle({fill:"white"}),S.setClipPath(E),S}function _(t,e,i){var a=r.getItemModel(t),n=a.get("period"),s=a.get("direction"),o=r.get("value",t),l=a.get("phase");l=i?i.shape.phase:"auto"===l?t*Math.PI/4:l;var c=function(e){var i=r.count();return 0===i?e:e*(.2+(i-t)/i*.8)},u=0;u="auto"===n?c(5e3):"function"===typeof n?n(o,t):n;var d=0;"right"===s||null==s?d=Math.PI:"left"===s?d=-Math.PI:"none"===s?d=0:console.error("Illegal direction value for liquid fill."),"none"!==s&&a.get("waveAnimation")&&e.animate("shape",!0).when(0,{phase:l}).when(u/2,{phase:d+l}).when(u,{phase:2*d+l}).during((function(){M&&M.dirty(!0)})).start()}function q(e){var i=n.getModel("label");function a(){var e=t.getFormattedLabel(0,"normal"),i=100*r.get("value",0),a=r.getName(0)||t.name;return isNaN(i)||(a=i.toFixed(0)+"%"),null==e?a:e}var o={z2:10,shape:{x:B,y:S,width:2*(y?l[0]:l),height:2*(y?l[1]:l)},style:{fill:"transparent"},textConfig:{position:i.get("position")||"inside"},silent:!0},c={style:{text:a(),textAlign:i.get("align"),textVerticalAlign:i.get("baseline")}};Object.assign(c.style,s["e"].createTextStyle(i));var u=new s["d"].Rect(o),d=new s["d"].Rect(o);d.disableLabelAnimation=!0,u.disableLabelAnimation=!0;var h=new s["d"].Text(c),g=new s["d"].Text(c);u.setTextContent(h),d.setTextContent(g);var f=i.get("insideColor");g.style.fill=f;var p=new s["d"].Group;p.add(u),p.add(d);var v=D(l,!0);return M=new s["d"].CompoundPath({shape:{paths:e},position:[x,b]}),M.setClipPath(v),d.setClipPath(M),p}r.diff(E).add((function(e){var i=Y(e,!1),n=i.shape.waterLevel;i.shape.waterLevel=y?u/2:l,s["d"].initProps(i,{shape:{waterLevel:n}},t),i.z2=2,_(e,i,null),a.add(i),r.setItemGraphicEl(e,i),P.push(i)})).update((function(e,i){for(var n=E.getItemGraphicEl(i),o=Y(e,!1,n),l={},c=["amplitude","cx","cy","phase","radius","radiusY","waterLevel","waveLength"],d=0;d.5?-1:1}))},swap:function(t,e,i){var a=[t[i],t[e]];t[e]=a[0],t[i]=a[1]},isTestSuccess:function(t){return t.every((function(t,e){return t.index===e}))},convertCanvasToImage:function(t,e){var i=new Image;return i.src=t.toDataURL("image/png",e),i},drawLiquidfill:function(t){var e=n["a"](document.getElementById("hygrometer"));e.setOption({tooltip:{show:!0},series:[{name:"puzzle",type:"liquidFill",radius:"80px",data:[this.jindu],label:{normal:{color:"#ff7900",insideColor:"#ff7900",textStyle:{fontSize:20,fontWeight:"bold"}}},backgroundStyle:{color:"#fff"},color:[{type:"linear",x:0,y:1,x2:0,y2:0,colorStops:[{offset:1,color:["#ffff00"]},{offset:0,color:["#ffff00"]}],global:!1}],outline:{show:!0,borderDistance:0,itemStyle:{borderColor:"#fdd35d",borderWidth:3}}}]})},upresult:function(t){var e=String(180-this.dealtime),i=String(t);this.$http.post("http://ningdongyunying.nxjiewei.com:8011/api/jigsawPuzzle/completeJigsawPuzzle",{completion_time:e,picture_id:i}).then((function(t){console.log(t)})),this.getxinxi(this.$route.query.id),this.reload()},onClickLeft:function(){window.history.back()},getpuzzle:function(t){var e=this;this.$http.post("http://ningdongyunying.nxjiewei.com:8011/api/jigsawPuzzle/pictureList",{special_id:t}).then((function(t){console.log(t),e.imgArr=t.data.data.data}))},getxinxi:function(t){var e=this;this.$http.post("http://ningdongyunying.nxjiewei.com:8011/api/jigsawPuzzle/getPercentCompleteData",{special_id:t}).then((function(t){var i=t.data.data.percent_complete/100;e.no_complete_num=t.data.data.no_complete_num,e.complete_num=t.data.data.complete_num,e.jindu=i,sessionStorage.setItem("myjindu",e.jindu),e.drawLiquidfill(e.jiudu)}))}},created:function(){this.getxinxi(this.$route.query.id)},mounted:function(){document.body.style.backgroundColor="#39f",this.token=Object(f["a"])(window.location.href).token,this.drawLiquidfill(),this.getpuzzle(this.$route.query.id),console.log(this.shows)}},v=p,m=(i("6f9a"),i("2877")),w=Object(m["a"])(v,a,r,!1,null,"23bbf300",null);e["default"]=w.exports},d998:function(t,e,i){var a=i("342f");t.exports=/MSIE|Trident/.test(a)},e16c:function(t,e,i){"use strict";i.d(e,"a",(function(){return a}));i("ac1f"),i("1276"),i("fb6a"),i("841c"),i("5319");var a=function(t){var e=t?t.split("?")[1]:window.location.search.slice(1),i={};if(e){e=e.split("#")[0];for(var a=e.split("&"),r=0;r