1"use strict";(self["webpackChunkele_admin_template"]=self["webpackChunkele_admin_template"]||[]).push([[5745],{53145:function(t,e,a){a.r(e),a.d(e,{default:function(){return I}});var r=function(){var t=this,e=t._self._c;return e("el-card",{attrs:{shadow:"never",header:"çé¨æç´¢"}},[e("v-chart",{ref:"hotSearchChart",staticStyle:{height:"303px"},attrs:{option:t.hotSearchChartOption}})],1)},n=[],i=a(68023),o=a(91416),s=a(82739),l=a(59634),d=a(97516),c=(a(30454),a(27240)),h=a(6378);(0,i.D)([o.N,c.N]);(0,i.D)(h.T),d.Zr({type:"series.wordCloud",visualStyleAccessPath:"textStyle",visualStyleMapper:function(t){return{fill:t.get("color")}},visualDrawType:"fill",optionUpdated:function(){var t=this.option;t.gridSize=Math.max(Math.floor(t.gridSize),4)},getInitialData:function(t,e){var a=d._y.createDimensions(t.data,{coordDimensions:["value"]}),r=new d.aV(a,this);return r.initData(t.data),r},defaultOption:{maskImage:null,shape:"circle",left:"center",top:"center",width:"70%",height:"80%",sizeRange:[12,60],rotationRange:[-90,90],rotationStep:45,gridSize:8,drawOutOfBound:!1,textStyle:{fontWeight:"normal"}}}),d.Zy({type:"wordCloud",render:function(t,e,a){var r=this.group;r.removeAll();var n=t.getData(),i=t.get("gridSize");t.layoutInstance.ondraw=function(e,a,o,s){var l=n.getItemModel(o),c=l.getModel("textStyle"),h=new d.Q.xv({style:d._y.createTextStyle(c),scaleX:1/s.info.mu,scaleY:1/s.info.mu,x:(s.gx+s.info.gw/2)*i,y:(s.gy+s.info.gh/2)*i,rotation:s.rot});h.setStyle({x:s.info.fillTextOffsetX,y:s.info.fillTextOffsetY+.5*a,text:e,verticalAlign:"middle",fill:n.getItemVisual(o,"style").fill,fontSize:a}),r.add(h),n.setItemGraphicEl(o,h),h.ensureState("emphasis").style=d._y.createTextStyle(l.getModel(["emphasis","textStyle"]),{state:"emphasis"}),h.ensureState("blur").style=d._y.createTextStyle(l.getModel(["blur","textStyle"]),{state:"blur"}
1),d._y.enableHoverEmphasis(h,l.get(["emphasis","focus"]),l.get(["emphasis","blurScope"])),h.stateTransition={duration:t.get("animation")?t.get(["stateAnimation","duration"]):0,easing:t.get(["stateAnimation","easing"])},h.__highDownDispatcher=!0},this._model=t},remove:function(){this.group.removeAll(),this._model.layoutInstance.dispose()},dispose:function(){this._model.layoutInstance.dispose()}}), 2/*! 3 * wordcloud2.js 4 * http://timdream.org/wordcloud2.js/ 5 * 6 * Copyright 2011 - 2013 Tim Chien 7 * Released under the MIT license 8 */ 9window.setImmediate||(window.setImmediate=function(){return window.msSetImmediate||window.webkitSetImmediate||window.mozSetImmediate||window.oSetImmediate||function(){if(!window.postMessage||!window.addEventListener)return null;var t=[void 0],e="zero-timeout-message",a=function(a){var r=t.length;return t.push(a),window.postMessage(e+r.toString(36),"*"),r};return window.addEventListener("message",(function(a){if("string"===typeof a.data&&a.data.substr(0,e.length)===e){a.stopImmediatePropagation();var r=parseInt(a.data.substr(e.length),36);t[r]&&(t[r](),t[r]=void 0)}}),!0),window.clearImmediate=function(e){t[e]&&(t[e]=void 0)},a}()||function(t){window.setTimeout(t,0)}}()),window.clearImmediate||(window.clearImmediate=function(){return window.msClearImmediate||window.webkitClearImmediate||window.mozClearImmediate||window.oClearImmediate||function(t){window.clearTimeout(t)}}());var u=function(){var t=document.createElement("canvas");if(!t||!t.getContext)return!1;var e=t.getContext("2d");return!!e.getImageData&&(!!e.fillText&&(!!Array.prototype.some&&!!Array.prototype.push))}(),f=function(){if(u){var t,e,a=document.createElement("canvas").getContext("2d"),r=20;while(r){if(a.font=r.toString(10)+"px sans-serif",a.measureText("ï¼·").width===t&&a.measureText("m").width===e)return r+1;t=a.measureText("ï¼·").width,e=a.measureText("m").width,r--}return 0}}(),m=function(t){for(var e,a,r=t.length;r;e=Math.floor(Math.random()*r),a=t[--r],t[r]=t[e],t[e]=a);return t},g=function(t,e){if(u){Array.isArray(t)||(t=[t]),t.forEach((function(e,a){if("string"===typeof e){if(t[a]=document.getElementById(e),!t[a])throw"The element id specified is not found."}else if(!e.tagName&&!e.appendChild)throw"You must pass valid HTML elements, or ID of the element."}));var a={list:[],fontFamily:'"Trebuchet MS", "Heiti TC", "å¾®è»æ£é»é«", "Arial Unicode MS", "Droid Fallback Sans", sans-serif',fontWeight:"normal",color:"random-dark",minSize:0,weightFactor:1,clearCanvas:!0,backgroundColor:"#fff",gridSize:8,drawOutOfBound:!1,origin:null,drawMask:!1,maskColor:"rgba(255,0,0,0.3)",maskGapWidth:.3,layoutAnimation:!0,wait:0,abortThreshold:0,abort:function(){},minRotation:-Math.PI/2,maxRotation:Math.PI/2,rotationStep:.1,shuffle:!0,rotateRatio:.1,shape:"circle",ellipticity:.65,classes:null,hover:null,click:null};if(e)for(var r in e)r in a&&(a[r]=e[r]);if("function"!==typeof a.weightFactor){var n=a.weightFactor;a.weightFactor=function(t){return t*n}}if("function"!==typeof a.shape)switch(a.shape){case"circle":default:a.shape="circle";break;case"cardioid":a.shape=function(t){return 1-Math.sin(t)};break;case"diamond":case"square":a.shape=function(t){var e=t%(2*Math.PI/4);return 1/(Math.cos(e)+Math.sin(e))};break;case"triangle-forward":a.shape=function(t){var e=t%(2*Math.PI/3);return 1/(Math.cos(e)+Math.sqrt(3)*Math.sin(e))};break;case"triangle":case"triangle-upright":a.shape=function(t){var e=(t+3*Math.PI/2)%(2*Math.PI/3);return 1/(Math.cos(e)+Math.sqrt(3)*Math.sin(e))};break;case"pentagon":a.shape=function(t){var e=(t+.955)%(2*Math.PI/5);return 1/(Math.cos(e)+.726543*Math.sin(e))};break;case"star":a.shape=function(t){var e=(t+.955)%(2*Math.PI/10);return(t+.955)%(2*Math.PI/5)-2*Math.PI/10>=0?1/(Math.cos(2*Math.PI/10-e)+3.07768*Math.sin(2*Math.PI/10-e)):1/(Math.cos(e)+3.07768*Math.sin(e))};break}a.gridSize=Math.max(Math.floor(a.gridSize),4);var i,o,s,l,d,c,h,g=a.gridSize,v=g-a.maskGapWidth,w=Math.abs(a.maxRotation-a.minRotation),y=Math.min(a.maxRotation,a.minRotation),p=a.rotationStep;switch(a.color){case"random-dark":h=function(){return W(10,50)};break;case"random-light":h=function(){return W(50,90)};break;default:"function"===typeof a.color&&(h=a.color);break}var x=null;"function"===typeof a.classes&&(x=a.classes);var M,b=!1,S=[],C=function(t){var e,a,r=t.currentTarget,n=r.getBoundingClientRect();t.touches?(e=t.touches[0].clientX,a=t.touches[0].clientY):(e=t.clientX,a=t.clientY);var i=e-n.left,o=a-n.top,s=Math.floor(i*(r.width/n.width||1)/g),l=Math.floor(o*(r.height/n.height||1)/g);return S[s][l]},I=function(t){var e=C(t);M!==e&&(M=e,e?a.hover(e.item,e.dimension,t):a.hover(void 0,void 0,t))},T=function(t){var e=C(t);e&&(a.click(e.item,e.dimension,t),t.preventDefault())},k=[],A=function(t){if(k[t])return k[t];var e=8*t,r=e,n=[];0===t&&n.push([l[0],l[1],0]);while(r--){var i=1;"circle"!==a.shape&&(i=a.shape(r/e*2*Math.PI)),n.push([l[0]+t*i*Math.cos(-r/e*2*Math.PI),l[1]+t*i*Math.sin(-r/e*2*Math.PI)*a.ellipticity,r/e*2*Math.PI])}return k[t]=n,n},E=function(){return a.abortThreshold>0&&(new Date).getTime()-c>a.abortThreshold},D=function(){return 0===a.rotateRatio||Math.random()>a.rotateRatio?0:0===w?y:y+Math.round(Math.random()*w/p)*p},P=function(t,e,r){var n=!1,i=a.weightFactor(e);
9if(i<=a.minSize)return!1;var o=1;i<f&&(o=function(){var t=2;while(t*i<f)t+=2;return t}());var s=document.createElement("canvas"),l=s.getContext("2d",{willReadFrequently:!0});l.font=a.fontWeight+" "+(i*o).toString(10)+"px "+a.fontFamily;var d=l.measureText(t).width/o,c=Math.max(i*o,l.measureText("m").width,l.measureText("ï¼·").width)/o,h=d+2*c,u=3*c,m=Math.ceil(h/g),v=Math.ceil(u/g);h=m*g,u=v*g;var w=-d/2,y=.4*-c,p=Math.ceil((h*Math.abs(Math.sin(r))+u*Math.abs(Math.cos(r)))/g),x=Math.ceil((h*Math.abs(Math.cos(r))+u*Math.abs(Math.sin(r)))/g),M=x*g,b=p*g;s.setAttribute("width",M),s.setAttribute("height",b),n&&(document.body.appendChild(s),l.save()),l.scale(1/o,1/o),l.translate(M*o/2,b*o/2),l.rotate(-r),l.font=a.fontWeight+" "+(i*o).toString(10)+"px "+a.fontFamily,l.fillStyle="#000",l.textBaseline="middle",l.fillText(t,w*o,(y+.5*i)*o);var S=l.getImageData(0,0,M,b).data;if(E())return!1;n&&(l.strokeRect(w*o,y,d*o,c*o),l.restore());var C,I,T,k=[],A=x,D=[p/2,x/2,p/2,x/2];while(A--){C=p;while(C--){T=g;t:{while(T--){I=g;while(I--)if(S[4*((C*g+T)*M+(A*g+I))+3]){k.push([A,C]),A<D[3]&&(D[3]=A),A>D[1]&&(D[1]=A),C<D[0]&&(D[0]=C),C>D[2]&&(D[2]=C),n&&(l.fillStyle="rgba(255, 0, 0, 0.5)",l.fillRect(A*g,C*g,g-.5,g-.5));break t}}n&&(l.fillStyle="rgba(0, 0, 255, 0.5)",l.fillRect(A*g,C*g,g-.5,g-.5))}}}return n&&(l.fillStyle="rgba(0, 255, 0, 0.5)",l.fillRect(D[3]*g,D[0]*g,(D[1]-D[3]+1)*g,(D[2]-D[0]+1)*g)),{mu:o,occupied:k,bounds:D,gw:x,gh:p,fillTextOffsetX:w,fillTextOffsetY:y,fillTextWidth:d,fillTextHeight:c,fontSize:i}},R=function(t,e,r,n,l){var d=l.length;while(d--){var c=t+l[d][0],h=e+l[d][1];if(c>=o||h>=s||c<0||h<0){if(!a.drawOutOfBound)return!1}else if(!i[c][h])return!1}return!0},F=function(e,r,n,i,o,s,l,d,c){var u,f,m=n.fontSize;u=h?h(i,o,m,s,l):a.color,f=x?x(i,o,m,s,l):a.classes;var v=n.bounds;v[3],v[0],v[1],v[3],v[2],v[0],t.forEach((function(t){if(t.getContext){var o=t.getContext("2d"),s=n.mu;
9o.save(),o.scale(1/s,1/s),o.font=a.fontWeight+" "+(m*s).toString(10)+"px "+a.fontFamily,o.fillStyle=u,o.translate((e+n.gw/2)*g*s,(r+n.gh/2)*g*s),0!==d&&o.rotate(-d),o.textBaseline="middle",o.fillText(i,n.fillTextOffsetX*s,(n.fillTextOffsetY+.5*m)*s),o.restore()}else{var l=document.createElement("span"),h="";h="rotate("+-d/Math.PI*180+"deg) ",1!==n.mu&&(h+="translateX(-"+n.fillTextWidth/4+"px) scale("+1/n.mu+")");var v={position:"absolute",display:"block",font:a.fontWeight+" "+m*n.mu+"px "+a.fontFamily,left:(e+n.gw/2)*g+n.fillTextOffsetX+"px",top:(r+n.gh/2)*g+n.fillTextOffsetY+"px",width:n.fillTextWidth+"px",height:n.fillTextHeight+"px",lineHeight:m+"px",whiteSpace:"nowrap",transform:h,webkitTransform:h,msTransform:h,transformOrigin:"50% 40%",webkitTransformOrigin:"50% 40%",msTransformOrigin:"50% 40%"};for(var w in u&&(v.color=u),l.textContent=i,v)l.style[w]=v[w];if(c)for(var y in c)l.setAttribute(y,c[y]);f&&(l.className+=f),t.appendChild(l)}}))},L=function(e,a,r,n,l){if(!(e>=o||a>=s||e<0||a<0)){if(i[e][a]=!1,r){var d=t[0].getContext("2d");d.fillRect(e*g,a*g,v,v)}b&&(S[e][a]={item:l,dimension:n})}},O=function(e,r,n,i,l,d){var c,h,u=l.occupied,f=a.drawMask;if(f&&(c=t[0].getContext("2d"),c.save(),c.fillStyle=a.maskColor),b){var m=l.bounds;h={x:(e+m[3])*g,y:(r+m[0])*g,w:(m[1]-m[3]+1)*g,h:(m[2]-m[0]+1)*g}}var v=u.length;while(v--){var w=e+u[v][0],y=r+u[v][1];w>=o||y>=s||w<0||y<0||L(w,y,f,h,d)}f&&c.restore()},Z=function(t){var e,r,n;Array.isArray(t)?(e=t[0],r=t[1]):(e=t.word,r=t.weight,n=t.attributes);var i=D(),l=P(e,r,i);if(!l)return!1;if(E())return!1;if(!a.drawOutOfBound){var c=l.bounds;if(c[1]-c[3]+1>o||c[2]-c[0]+1>s)return!1}var h=d+1,u=function(a){var o=Math.floor(a[0]-l.gw/2),s=Math.floor(a[1]-l.gh/2),c=l.gw,u=l.gh;return!!R(o,s,c,u,l.occupied)&&(F(o,s,l,e,r,d-h,a[2],i,n),O(o,s,c,u,l,t),{gx:o,gy:s,rot:i,info:l})};while(h--){var f=A(d-h);a.shuffle&&(f=[].concat(f),m(f));for(var g=0;g<f.length;g++){var v=u(f[g]);if(v)return v}}return null},B=function(e,a,r){if(a)return!t.some((function(t){var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,!0,a,r||{}),!t.dispatchEvent(n)}),this);t.forEach((function(t){var n=document.createEvent("CustomEvent");n.initCustomEvent(e,!0,a,r||{}),t.dispatchEvent(n)}),this)},z=function(){var e=t[0];if(e.getContext)o=Math.ceil(e.width/g),s=Math.ceil(e.height/g);else{var r=e.getBoundingClientRect();o=Math.ceil(r.width/g),s=Math.ceil(r.height/g)}if(B("wordcloudstart",!0)){var n,h,u,f,m;if(l=a.origin?[a.origin[0]/g,a.origin[1]/g]:[o/2,s/2],d=Math.floor(Math.sqrt(o*o+s*s)),i=[],!e.getContext||a.clearCanvas){t.forEach((function(t){if(t.getContext){var e=t.getContext("2d");e.fillStyle=a.backgroundColor,e.clearRect(0,0,o*(g+1),s*(g+1)),e.fillRect(0,0,o*(g+1),s*(g+1))}else t.textContent="",t.style.backgroundColor=a.backgroundColor,t.style.position="relative"})),n=o;while(n--){i[n]=[],h=s;while(h--)i[n][h]=!0}}else{var v=document.createElement("canvas").getContext("2d");v.fillStyle=a.backgroundColor,v.fillRect(0,0,1,1);var w,y,p=v.getImageData(0,0,1,1).data,x=e.getContext("2d").getImageData(0,0,o*g,s*g).data;n=o;while(n--){i[n]=[],h=s;while(h--){y=g;t:while(y--){w=g;while(w--){u=4;while(u--)if(x[4*((h*g+y)*o*g+(n*g+w))+u]!==p[u]){i[n][h]=!1;break t}}}!1!==i[n][h]&&(i[n][h]=!0)}}x=v=p=void 0}if(a.hover||a.click){b=!0,n=o+1;while(n--)S[n]=[];a.hover&&e.addEventListener("mousemove",I),a.click&&(e.addEventListener("click",T),e.addEventListener("touchstart",T),e.addEventListener("touchend",(function(t){t.preventDefault()})),e.style.webkitTapHighlightColor="rgba(0, 0, 0, 0)"),e.addEventListener("wordcloudstart",(function t(){e.removeEventListener("wordcloudstart",t),e.removeEventListener("mousemove",I),e.removeEventListener("click",T),M=void 0}))}u=0;var C=!0;a.layoutAnimation?0!==a.wait?(f=window.setTimeout,m=window.clearTimeout):(f=window.setImmediate,m=window.clearImmediate):(f=function(t){t()},m=function(){C=!1});var k=function(e,a){t.forEach((function(t){t.addEventListener(e,a)}),this)},A=function(e,a){t.forEach((function(t){t.removeEventListener(e,a)}),this)},D=function t(){A("wordcloudstart",t),m(P)};k("wordcloudstart",D);var P=(a.layoutAnimation?f:setTimeout)((function t(){if(C){if(u>=a.list.length)return m(P),B("wordcloudstop",!1),void A("wordcloudstart",D);c=(new Date).getTime();var e=Z(a.list[u]),r=!B("wordclouddrawn",!0,{item:a.list[u],drawn:e});if(E()||r)return m(P),a.abort(),B("wordcloudabort",!1),B("wordcloudstop",!1),void A("wordcloudstart",D);u++,P=f(t,a.wait)}}),a.wait)}};z()}function W(t,e){return"hsl("+(360*Math.random()).toFixed()+","+(30*Math.random()+70).toFixed()+"%,"+(Math.random()*(e-t)+t).toFixed()+"%)"}};g.isSupported=u,g.minFontSize=f;var v=g;if(!v.isSupported)throw new Error("Sorry your browser not support wordCloud");function w(t){for(var e=t.getContext("2d"),a=e.getImageData(0,0,t.width,t.height),r=e.createImageData(a),n=0,i=0,o=0;o<a.data.length;o+=4){var s=a.data[o+3];if(s>128){var l=a.data[o]+a.data[o+1]+a.data[o+2];n+=l,++i}}var d=n/i;for(o=0;o<a.data.length;o+=4){l=a.data[o]+a.data[o+1]+a.data[o+2],s=a.data[o+3];s<128||l>d?(r.data[o]=0,r.data[o+1]=0,r.data[o+2]=0,r.data[o+3]=0):(r.data[o]=255,r.data[o+1]=255,r.data[o+2]=255,r.data[o+3]=255)}e.putImageData(r,0,0)}function y(){const t=["#025DF4","#DB6BCF","#2498D1","#BBBDE6","#4045B2","#21A97A","#FF745A","#007E99","#FFA8A8","#2391FF","#FFC328","#A0DC2C","#946DFF","#626681","#EB4185","#CD8150","#36BCCB","#327039","#803488","#83BC99"];return t[Math.floor(Math.random()*(0-t.length)+t.length)]}d.qR((function(t,e){t.eachSeriesByType("wordCloud",(function(a){var r=d._y.getLayoutRect(a.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),n=a.getData(),i=document.createElement("canvas");i.width=r.width,i.height=r.height;var o=i.getContext("2d"),s=a.get("maskImage");if(s)try{o.drawImage(s,0,0,i.width,i.height),w(i)}catch(g){console.error("Invalid mask image"),console.error(g.toString())}var l=a.get("sizeRange"),c=a.get("rotationRange"),h=n.getDataExtent("value"),u=Math.PI/180,f=a.get("gridSize");function m(t){var e=t.detail.item;t.detail.drawn&&a.layoutInstance.ondraw&&(t.detail.drawn.gx+=r.x/f,t.detail.drawn.gy+=r.y/f,a.layoutInstance.ondraw(e[0],e[1],e[2],t.detail.drawn))}v(i,{list:n.mapArray("value",(function(t,e){var a=n.getItemModel(e);return[n.getName(e),a.get("textStyle.fontSize",!0)||d.Rx.linearMap(t,h,l),e]})).sort((function(t,e){return e[1]-t[1]})),fontFamily:a.get("textStyle.fontFamily")||a.get("emphasis.textStyle.fontFamily")||t.get("textStyle.fontFamily"),fontWeight:a.get("textStyle.fontWeight")||a.get("emphasis.textStyle.fontWeight")||t.get("textStyle.fontWeight"),gridSize:f,ellipticity:r.height/r.width,minRotation:c[0]*u,maxRotation:c[1]*u,clearCanvas:!s,rotateRatio:1,rotationStep:a.get("rotationStep")*u,drawOutOfBound:a.get("drawOutOfBound"),layoutAnimation:a.get("layoutAnimation"),shuffle:!1,shape:a.get("shape")}),i.addEventListener("wordclouddrawn",m),a.layoutInstance&&a.layoutInstance.dispose(),a.layoutInstance={ondraw:null,dispose:function(){i.removeEventListener("wordclouddrawn",m),i.addEventListener("wordclouddrawn",(function(t){t.preventDefault()}))}}}))})),d.ds((function(t){var e=(t||{}).series;!d.D5.isArray(e)&&(e=e?[e]:[]);var a=["shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function r(t){t&&d.D5.each(a,(function(e){t.hasOwnProperty(e)&&(t["text"+d.WU.capitalFirst(e)]=t[e])}))}d.D5.each(e,(function(t){if(t&&"wordCloud"===t.type){var e=t.textStyle||{};r(e.normal),r(e.emphasis)}}))}));var p=a(51430),x=a(12544);(0,i.D)([o.N,s.N]);var M={components:{VChart:l.ZP},mixins:[(0,x.i)(["hotSearchChart"])],data(){return{hotSearchChartOption:{}}},created(){this.getWordCloudData()},methods:{getWordCloudData(){(0,p.KK)().then((t=>{this.hotSearchChartOption={tooltip:{show:!0,confine:!0,borderWidth:1},series:[{type:"wordCloud",width:"100%",height:"100%",sizeRange:[12,24],gridSize:6,textStyle:{color:y},emphasis:{textStyle:{shadowBlur:8,shadowColor:"rgba(0, 0, 0, .15)"}},data:t}]}})).catch((t=>{this.$message.error(t.message)}))}}},b=M,S=a(1001),C=(0,S.Z)(b,r,n,!1,null,null,null),I=C.exports},87377:function(t,e,a){a.d(e,{$x:function(){return Z},Iu:function(){return O},_A:function(){return R},d:function(){return A},qK:function(){return P}});var r=a(41610),n=a(8846),i=a(62514),o=a(14014),s=a(3266),l=a(18554),d=a(33051),c=a(32892),h=a(45280),u=a(26357),f=2*Math.PI,m=o.Z.CMD,g=["top","right","bottom","left"];function v(t,e,a,r,n){var i=a.width,o=a.height;switch(t){case"top":r.set(a.x+i/2,a.y-e),n.set(0,-1);break;case"bottom":r.set(a.x+i/2,a.y+o+e),n.set(0,1);break;case"left":r.set(a.x-e,a.y+o/2),n.set(-1,0);break;case"right":r.set(a.x+i+e,a.y+o/2),n.set(1,0);break}}function w(t,e,a,r,n,i,o,l,d){o-=t,l-=e;var c=Math.sqrt(o*o+l*l);o/=c,l/=c;var h=o*a+t,u=l*a+e;if(Math.abs(r-n)%f<1e-4)return d[0]=h,d[1]=u,c-a;if(i){var m=r;r=(0,s.m)(n),n=(0,s.m)(m)}else r=(0,s.m)(r),n=(0,s.m)(n);r>n&&(n+=f);var g=Math.atan2(l,o);if(g<0&&(g+=f),g>=r&&g<=n||g+f>=r&&g+f<=n)return d[0]=h,d[1]=u,c-a;var v=a*Math.cos(r)+t,w=a*Math.sin(r)+e,y=a*Math.cos(n)+t,p=a*Math.sin(n)+e,x=(v-o)*(v-o)+(w-l)*(w-l),M=(y-o)*(y-o)+(p-l)*(p-l);return x<M?(d[0]=v,d[1]=w,Math.sqrt(x)):(d[0]=y,d[1]=p,Math.sqrt(M))}function y(t,e,a,r,n,i,o,s){var l=n-t,d=i-e,c=a-t,h=r-e,u=Math.sqrt(c*c+h*h);c/=u,h/=u;var f=l*c+d*h,m=f/u;s&&(m=Math.min(Math.max(m,0),1)),m*=u;var g=o[0]=t+m*c,v=o[1]=e+m*h;return Math.sqrt((g-n)*(g-n)+(v-i)*(v-i))}function p(t,e,a,r,n,i,o){a<0&&(t+=a,a=-a),r<0&&(e+=r,r=-r);var s=t+a,l=e+r,d=o[0]=Math.min(Math.max(n,t),s),c=o[1]=Math.min(Math.max(i,e),l);return Math.sqrt((d-n)*(d-n)+(c-i)*(c-i))}var x=[];function M(t,e,a){var r=p(e.x,e.y,e.width,e.height,t.x,t.y,x);return a.set(x[0],x[1]),r}
9function b(t,e,a){for(var r,n,i=0,o=0,s=0,d=0,c=1/0,h=e.data,u=t.x,f=t.y,g=0;g<h.length;){var v=h[g++];1===g&&(i=h[g],o=h[g+1],s=i,d=o);var M=c;switch(v){case m.M:s=h[g++],d=h[g++],i=s,o=d;break;case m.L:M=y(i,o,h[g],h[g+1],u,f,x,!0),i=h[g++],o=h[g++];break;case m.C:M=(0,l.t1)(i,o,h[g++],h[g++],h[g++],h[g++],h[g],h[g+1],u,f,x),i=h[g++],o=h[g++];break;case m.Q:M=(0,l.Wr)(i,o,h[g++],h[g++],h[g],h[g+1],u,f,x),i=h[g++],o=h[g++];break;case m.A:var b=h[g++],S=h[g++],C=h[g++],I=h[g++],T=h[g++],k=h[g++];g+=1;var A=!!(1-h[g++]);r=Math.cos(T)*C+b,n=Math.sin(T)*I+S,g<=1&&(s=r,d=n);var E=(u-b)*I/C+b;M=w(b,S,I,T,T+k,A,E,f,x),i=Math.cos(T+k)*C+b,o=Math.sin(T+k)*I+S;break;case m.R:s=i=h[g++],d=o=h[g++];var D=h[g++],P=h[g++];M=p(s,d,D,P,u,f,x);break;case m.Z:M=y(i,o,s,d,u,f,x,!0),i=s,o=d;break}M<c&&(c=M,a.set(x[0],x[1]))}return c}var S=new r.Z,C=new r.Z,I=new r.Z,T=new r.Z,k=new r.Z;function A(t,e){if(t){var a=t.getTextGuideLine(),i=t.getTextContent();if(i&&a){var o=t.textGuideLineConfig||{},s=[[0,0],[0,0],[0,0]],l=o.candidates||g,d=i.getBoundingRect().clone();d.applyTransform(i.getComputedTransform());var h=1/0,u=o.anchor,f=t.getComputedTransform(),m=f&&(0,c.U_)([],f),w=e.get("length2")||0;u&&I.copy(u);for(var y=0;y<l.length;y++){var p=l[y];v(p,0,d,S,T),r.Z.scaleAndAdd(C,S,T,w),C.transform(m);var x=t.getBoundingRect(),k=u?u.distance(C):t instanceof n.ZP?b(C,t.path,I):M(C,x,I);k<h&&(h=k,C.transform(f),I.transform(f),I.toArray(s[0]),C.toArray(s[1]),S.toArray(s[2]))}P(s,e.get("minTurnAngle")),a.setShape({points:s})}}}var E=[],D=new r.Z;function P(t,e){if(e<=180&&e>0){e=e/180*Math.PI,S.fromArray(t[0]),C.fromArray(t[1]),I.fromArray(t[2]),r.Z.sub(T,S,C),r.Z.sub(k,I,C);var a=T.len(),n=k.len();if(!(a<.001||n<.001)){T.scale(1/a),k.scale(1/n);var i=T.dot(k),o=Math.cos(e);if(o<i){var s=y(C.x,C.y,I.x,I.y,S.x,S.y,E,!1);D.fromArray(E),D.scaleAndAdd(k,s/Math.tan(Math.PI-e));var l=I.x!==C.x?(D.x-C.x)/(I.x-C.x):(D.y-C.y)/(I.y-C.y);if(isNaN(l))return;l<0?r.Z.copy(D,C):l>1&&r.Z.copy(D,I),D.toArray(t[1])}}}}function R(t,e,a){if(a<=180&&a>0){a=a/180*Math.PI,S.fromArray(t[0]),C.fromArray(t[1]),I.fromArray(t[2]),r.Z.sub(T,C,S),r.Z.sub(k,I,C);var n=T.len(),i=k.len();if(!(n<.001||i<.001)){T.scale(1/n),k.scale(1/i);var o=T.dot(e),s=Math.cos(a);if(o<s){var l=y(C.x,C.y,I.x,I.y,S.x,S.y,E,!1);D.fromArray(E);var d=Math.PI/2,c=Math.acos(k.dot(e)),h=d+c-a;if(h>=d)r.Z.copy(D,I);else{D.scaleAndAdd(k,l/Math.tan(Math.PI/2-h));var u=I.x!==C.x?(D.x-C.x)/(I.x-C.x):(D.y-C.y)/(I.y-C.y);if(isNaN(u))return;u<0?r.Z.copy(D,C):u>1&&r.Z.copy(D,I)}D.toArray(t[1])}}}}function F(t,e,a,r){var n="normal"===a,i=n?t:t.ensureState(a);i.ignore=e;var o=r.get("smooth");o&&!0===o&&(o=.3),i.shape=i.shape||{},o>0&&(i.shape.smooth=o);var s=r.getModel("lineStyle").getLineStyle();n?t.useStyle(s):i.style=s}function L(t,e){var a=e.smooth,r=e.points;if(r)if(t.moveTo(r[0][0],r[0][1]),a>0&&r.length>=3){var n=h.TK(r[0],r[1]),i=h.TK(r[1],r[2]);if(!n||!i)return t.lineTo(r[1][0],r[1][1]),void t.lineTo(r[2][0],r[2][1]);var o=Math.min(n,i)*a,s=h.t7([],r[1],r[0],o/n),l=h.t7([],r[1],r[2],o/i),d=h.t7([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],d[0],d[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],r[2][0],r[2][1])}else for(var c=1;c<r.length;c++)t.lineTo(r[c][0],r[c][1])}function O(t,e,a){var r=t.getTextGuideLine(),n=t.getTextContent();if(n){for(var o=e.normal,s=o.get("show"),l=n.ignore,c=0;c<u.qc.length;c++){var h=u.qc[c],f=e[h],m="normal"===h;if(f){var g=f.get("show"),v=m?l:(0,d.pD)(n.states[h]&&n.states[h].ignore,l);if(v||!(0,d.pD)(g,s)){var w=m?r:r&&r.states[h];w&&(w.ignore=!0);continue}r||(r=new i.Z,t.setTextGuideLine(r),m||!l&&s||F(r,!0,"normal",e.normal),t.stateProxy&&(r.stateProxy=t.stateProxy)),F(r,!1,h,f)}}if(r){(0,d.ce)(r.style,a),r.style.fill=null;var y=o.get("showAbove"),p=t.textGuideLineConfig=t.textGuideLineConfig||{};p.showAbove=y||!1,r.buildPath=L}}else r&&t.removeTextGuideLine()}function Z(t,e){e=e||"labelLine";for(var a={normal:t.getModel(e)},r=0;r<u.L1.length;r++){var n=u.L1[r];a[n]=t.getModel([n,e])}return a}},51430:function(t,e,a){a.d(e,{CY:function(){return o},KK:function(){return s},Zs:function(){return i},fy:function(){return n}});a(21703);var r=a(65310);async function n(){const t=await r.Z.get("https://cdn.eleadmin.com/20200610/analysis-pay-num.json");
9return 200===t.data.code?t.data.data:Promise.reject(new Error(t.data.message))}async function i(){const t=await r.Z.get("https://cdn.eleadmin.com/20200610/analysis-saleroom.json");return 200===t.data.code?t.data.data:Promise.reject(new Error(t.data.message))}async function o(){const t=await r.Z.get("https://cdn.eleadmin.com/20200610/analysis-visits.json");return 200===t.data.code?t.data.data:Promise.reject(new Error(t.data.message))}async function s(){const t=await r.Z.get("https://cdn.eleadmin.com/20200610/analysis-hot-search.json");return 200===t.data.code?t.data.data:Promise.reject(new Error(t.data.message))}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.