forgeplus/public/react/build/static/js/141.8e50d943.chunk.js

2 lines
26 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! For license information please see 141.8e50d943.chunk.js.LICENSE.txt */
(this.webpackJsonp=this.webpackJsonp||[]).push([[141],{"5j6D":function(t,e,i){var n;n=function(){return function(t){var e={};function i(n){if(e[n])return e[n].exports;var a=e[n]={exports:{},id:n,loaded:!1};return t[n].call(a.exports,a,a.exports,i),a.loaded=!0,a.exports}return i.m=t,i.c=e,i.p="",i(0)}([function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),a=i(1),o=(i(2),i(6).default),r='<div class="__wc_loading_wrapper__"><div style="padding-left: 60px;" class="__wc_loading_wrapper_item__"><div class="__wc_loading_wrapper_item_inner__">',s=e.Js2WordCloud=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._container=e,this._wrapper=null,this._canvas=null,this._maskCanvas=null,this._dataMask=null,this._tooltip=null,this._wordcloud2=null,this._option=null,this._init()}return n(t,[{key:"setOption",value:function(t){var e=this;this._option=o.copy(t,!0);var i=this._option.hover;this._option.fontFamily=this._option.fontFamily||"Microsoft YaHei,Helvetica,Times,serif",this._fixWeightFactor(this._option),this._maskCanvas=null,t.tooltip&&!0===t.tooltip.show&&(this._tooltip||(this._tooltip=window.document.createElement("div"),this._tooltip.className="__wc_tooltip__",this._tooltip.style.backgroundColor=t.tooltip.backgroundColor||"rgba(0, 0, 0, 0.701961)",this._tooltip.style.color="#fff",this._tooltip.style.padding="5px",this._tooltip.style.borderRadius="5px",this._tooltip.style.fontSize="12px",this._tooltip.style.fontFamily=t.fontFamily||this._option.fontFamily,this._tooltip.style.lineHeight=1.4,this._tooltip.style.webkitTransition="left 0.2s, top 0.2s",this._tooltip.style.mozTransition="left 0.2s, top 0.2s",this._tooltip.style.transition="left 0.2s, top 0.2s",this._tooltip.style.position="absolute",this._tooltip.style.whiteSpace="nowrap",this._tooltip.style.zIndex=999,this._tooltip.style.display="none",this._wrapper.appendChild(this._tooltip),this._container.onmouseout=function(){e._tooltip.style.display="none"}),this._option.hover=function(t,n,a){if(t){var o=t[0]+": "+t[1];"function"==typeof e._option.tooltip.formatter&&(o=e._option.tooltip.formatter(t)),e._tooltip.innerHTML=o,e._tooltip.style.top=a.offsetY+10+"px",e._tooltip.style.left=a.offsetX+15+"px",e._tooltip.style.display="block",e._wrapper.style.cursor="pointer"}else e._tooltip.style.display="none",e._wrapper.style.cursor="default";i&&i(t,n,a)}),function(t){t.list&&t.list.sort((function(t,e){return e[1]-t[1]}))}(this._option),this._option&&/\.(jpg|png)$/.test(this._option.imageShape)?c.call(this,this._option):"circle"===this._option.shape?d.call(this,this._option):l.call(this,this._option)}},{key:"on",value:function(){}},{key:"showLoading",value:function(t){var e,i='<div class="__wc_loading__"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>';if(t)if(t.backgroundColor&&(this._dataMask.style.backgroundColor=t.backgroundColor),e=void 0===t.text?"正在加载...":t.text,"spin"===t.effect){this._showMask(r+i+e+"</div></div></div>");var n=this._dataMask.childNodes[0].childNodes[0],a=n.style.paddingLeft;n.style.paddingLeft=parseInt(a)+45+"px"}else this._showMask(r+e+"</div></div></div>");else this._showMask(r+i+"正在加载...</div></div></div>")}},{key:"hideLoading",value:function(){this._dataMask&&(this._dataMask.style.display="none")}},{key:"resize",value:function(){this._canvas.width=this._container.clientWidth,this._canvas.height=this._container.clientHeight,l.call(this,this._option)}},{key:"_init",value:function(){var t=this._container.clientWidth,e=this._container.clientHeight;this._container.innerHTML="",this._wrapper=window.document.createElement("div"),this._wrapper.style.position="relative",this._wrapper.style.width="100%",this._wrapper.style.height="inherit",this._dataMask=window.document.createElement("div"),this._dataMask.height="inherit",this._dataMask.style.textAlign="center",this._dataMask.style.color="#888",this._dataMask.style.fontSize="14px",this._dataMask.style.position="absolute",this._dataMask.style.left="0",this._dataMask.style.right="0",this._dataMask.style.top="0",this._dataMask.style.bottom="0",this._dataMask.style.display="none",this._wrapper.appendChild(this._dataMask),this._container.appendChild(this._wrapper),this._canvas=window.document.createElement("canvas"),this._canvas.width=t,this._canvas.height=e,this._wrapper.appendChild(this._canvas)}},{key:"_fixWeightFactor",value:function(t){if(t.maxFontSize="number"==typeof t.maxFontSize?t.maxFontSize:60,t.minFontSize="number"==typeof t.minFontSize?t.minFontSize:12,t.list&&t.list.length>0){for(var e=t.list[0][1],i=0,n=0,a=t.list.length;n<a;n++)e>t.list[n][1]&&(e=t.list[n][1]),i<t.list[n][1]&&(i=t.list[n][1]);if(i>e){var o="number"==typeof t.fontSizeFactor?t.fontSizeFactor:.1,r=(t.maxFontSize-t.minFontSize)/(Math.pow(i,o)-Math.pow(e,o)),s=t.maxFontSize-r*Math.pow(i,o);t.weightFactor=function(t){return Math.ceil(r*Math.pow(t,o)+s)}}else t.weightFactor=function(e){return t.minFontSize}}}},{key:"_showMask",value:function(t){this._dataMask&&(this._dataMask.innerHTML=t,this._dataMask.style.display=""===t?"none":"block")}},{key:"_dataEmpty",value:function(){return!this._option||!this._option.list||this._option.list.length<=0}}]),t}();function l(t){if(this._maskCanvas){t.clearCanvas=!1;var e=window.document.createElement("canvas").getContext("2d");e.fillStyle=t.backgroundColor||"#fff",e.fillRect(0,0,1,1);var i=e.getImageData(0,0,1,1).data,n=window.document.createElement("canvas");n.width=this._canvas.width,n.height=this._canvas.height;var o=n.getContext("2d");o.drawImage(this._maskCanvas,0,0,this._maskCanvas.width,this._maskCanvas.height,0,0,n.width,n.height);for(var s=o.getImageData(0,0,n.width,n.height),l=o.createImageData(s),d=0;d<s.data.length;d+=4)s.data[d+3]>128?(l.data[d]=i[0],l.data[d+1]=i[1],l.data[d+2]=i[2],l.data[d+3]=i[3]):(l.data[d]=i[0],l.data[d+1]=i[1],l.data[d+2]=i[2],l.data[d+3]=i[3]?i[3]-1:1);o.putImageData(l,0,0),(o=this._canvas.getContext("2d")).clearRect(0,0,this._canvas.width,this._canvas.height),o.drawImage(n,0,0)}if(this._dataEmpty()&&t&&t.noDataLoadingOption){var c="";t.noDataLoadingOption.textStyle&&("string"==typeof t.noDataLoadingOption.textStyle.color&&(c+="color: "+t.noDataLoadingOption.textStyle.color+";"),"number"==typeof t.noDataLoadingOption.textStyle.fontSize&&(c+="font-size: "+t.noDataLoadingOption.textStyle.fontSize+"px;")),"string"==typeof t.noDataLoadingOption.backgroundColor&&(this._dataMask.style.backgroundColor=t.noDataLoadingOption.backgroundColor);var h=t.noDataLoadingOption.text||"";this._showMask(r+'<span class="__wc_no_data_text__" style="'+c+'">'+h+"</span></div></div></div>")}else this._showMask(""),this._wordcloud2=a(this._canvas,t)}function d(t){this._maskCanvas=window.document.createElement("canvas"),this._maskCanvas.width=500,this._maskCanvas.height=500;var e=this._maskCanvas.getContext("2d");e.fillStyle="#000000",e.beginPath(),e.arc(250,250,240,0,2*Math.PI,!0),e.closePath(),e.fill();for(var i=e.getImageData(0,0,this._maskCanvas.width,this._maskCanvas.height),n=e.createImageData(i),a=0;a<i.data.length;a+=4){var o=i.data[a]+i.data[a+1]+i.data[a+2];i.data[a+3]<128||o>384?(n.data[a]=n.data[a+1]=n.data[a+2]=255,n.data[a+3]=0):(n.data[a]=n.data[a+1]=n.data[a+2]=0,n.data[a+3]=255)}e.putImageData(n,0,0),l.call(this,t)}function c(t){var e=this,i=window.document.createElement("img");i.crossOrigin="Anonymous",i.onload=function(){e._maskCanvas=window.document.createElement("canvas"),e._maskCanvas.width=i.width,e._maskCanvas.height=i.height;var n=e._maskCanvas.getContext("2d");n.drawImage(i,0,0,i.width,i.height);for(var a=n.getImageData(0,0,e._maskCanvas.width,e._maskCanvas.height),o=n.createImageData(a),r=0;r<a.data.length;r+=4){var s=a.data[r]+a.data[r+1]+a.data[r+2];a.data[r+3]<128||s>384?(o.data[r]=o.data[r+1]=o.data[r+2]=255,o.data[r+3]=0):(o.data[r]=o.data[r+1]=o.data[r+2]=0,o.data[r+3]=255)}n.putImageData(o,0,0),l.call(e,t)},i.onerror=function(){l.call(this,t)},i.src=t.imageShape}t.exports=s},function(t,e,i){var n;(function(){"use strict";var i,a,o,r,s;window.setImmediate||(window.setImmediate=window.msSetImmediate||window.webkitSetImmediate||window.mozSetImmediate||window.oSetImmediate||function(){if(!window.postMessage||!window.addEventListener)return null;var t=[void 0],e="zero-timeout-message";return window.addEventListener("message",(function(i){if("string"==typeof i.data&&i.data.substr(0,e.length)===e){i.stopImmediatePropagation();var n=parseInt(i.data.substr(e.length),36);t[n]&&(t[n](),t[n]=void 0)}}),!0),window.clearImmediate=function(e){t[e]&&(t[e]=void 0)},function(i){var n=t.length;return t.push(i),window.postMessage(e+n.toString(36),"*"),n}}()||function(t){window.setTimeout(t,0)}),window.clearImmediate||(window.clearImmediate=window.msClearImmediate||window.webkitClearImmediate||window.mozClearImmediate||window.oClearImmediate||function(t){window.clearTimeout(t)}),i=this,a=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)}(),o=function(){if(a){for(var t,e,i=document.createElement("canvas").getContext("2d"),n=20;n;){if(i.font=n.toString(10)+"px sans-serif",i.measureText("").width===t&&i.measureText("m").width===e)return n+1;t=i.measureText("").width,e=i.measureText("m").width,n--}return 0}}(),r=function(t){for(var e,i,n=t.length;n;e=Math.floor(Math.random()*n),i=t[--n],t[n]=t[e],t[e]=i);return t},(s=function(t,e){if(a){Array.isArray(t)||(t=[t]),t.forEach((function(e,i){if("string"==typeof e){if(t[i]=document.getElementById(e),!t[i])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 i={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,wait:0,abortThreshold:0,abort:function(){},minRotation:-Math.PI/2,maxRotation:Math.PI/2,shuffle:!0,rotateRatio:.1,shape:"circle",ellipticity:.65,classes:null,hover:null,click:null};if(e)for(var n in e)n in i&&(i[n]=e[n]);if("function"!=typeof i.weightFactor){var s=i.weightFactor;i.weightFactor=function(t){return t*s}}if("function"!=typeof i.shape)switch(i.shape){case"circle":default:i.shape="circle";break;case"cardioid":i.shape=function(t){return 1-Math.sin(t)};break;case"diamond":case"square":i.shape=function(t){var e=t%(2*Math.PI/4);return 1/(Math.cos(e)+Math.sin(e))};break;case"triangle-forward":i.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":i.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":i.shape=function(t){var e=(t+.955)%(2*Math.PI/5);return 1/(Math.cos(e)+.726543*Math.sin(e))};break;case"star":i.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))}}i.gridSize=Math.max(Math.floor(i.gridSize),4);var l,d,c,h,f,u,p,_=i.gridSize,m=_-i.maskGapWidth,v=Math.abs(i.maxRotation-i.minRotation),g=Math.min(i.maxRotation,i.minRotation);switch(i.color){case"random-dark":p=function(){return F(10,50)};break;case"random-light":p=function(){return F(50,90)};break;default:"function"==typeof i.color&&(p=i.color)}var w=null;"function"==typeof i.classes&&(w=i.classes);var y,b=!1,x=[],k=function(t){var e,i,n=t.currentTarget,a=n.getBoundingClientRect();t.touches?(e=t.touches[0].clientX,i=t.touches[0].clientY):(e=t.clientX,i=t.clientY);var o=e-a.left,r=i-a.top,s=Math.floor(o*(n.width/a.width||1)/_),l=Math.floor(r*(n.height/a.height||1)/_);return x[s][l]},M=function(t){var e=k(t);y!==e&&(y=e,e?i.hover(e.item,e.dimension,t):i.hover(void 0,void 0,t))},C=function(t){var e=k(t);e&&(i.click(e.item,e.dimension,t),t.preventDefault())},S=[],I=function(t){if(S[t])return S[t];var e=8*t,n=e,a=[];for(0===t&&a.push([h[0],h[1],0]);n--;){var o=1;"circle"!==i.shape&&(o=i.shape(n/e*2*Math.PI)),a.push([h[0]+t*o*Math.cos(-n/e*2*Math.PI),h[1]+t*o*Math.sin(-n/e*2*Math.PI)*i.ellipticity,n/e*2*Math.PI])}return S[t]=a,a},T=function(){return i.abortThreshold>0&&(new Date).getTime()-u>i.abortThreshold},E=function(e,i,n,a,o){e>=d||i>=c||e<0||i<0||(l[e][i]=!1,n&&t[0].getContext("2d").fillRect(e*_,i*_,m,m),b&&(x[e][i]={item:o,dimension:a}))},L=function(e){var n,a,s;Array.isArray(e)?(n=e[0],a=e[1]):(n=e.word,a=e.weight,s=e.attributes);var h=0===i.rotateRatio||Math.random()>i.rotateRatio?0:0===v?g:g+Math.random()*v,u=function(t,e,n){var a=i.weightFactor(e);if(a<=i.minSize)return!1;var r=1;a<o&&(r=function(){for(var t=2;t*a<o;)t+=2;return t}());var s=document.createElement("canvas"),l=s.getContext("2d",{willReadFrequently:!0});l.font=i.fontWeight+" "+(a*r).toString(10)+"px "+i.fontFamily;var d=l.measureText(t).width/r,c=Math.max(a*r,l.measureText("m").width,l.measureText("").width)/r,h=d+2*c,f=3*c,u=Math.ceil(h/_),p=Math.ceil(f/_);h=u*_,f=p*_;var m=-d/2,v=.4*-c,g=Math.ceil((h*Math.abs(Math.sin(n))+f*Math.abs(Math.cos(n)))/_),w=Math.ceil((h*Math.abs(Math.cos(n))+f*Math.abs(Math.sin(n)))/_),y=w*_,b=g*_;s.setAttribute("width",y),s.setAttribute("height",b),l.scale(1/r,1/r),l.translate(y*r/2,b*r/2),l.rotate(-n),l.font=i.fontWeight+" "+(a*r).toString(10)+"px "+i.fontFamily,l.fillStyle="#000",l.textBaseline="middle",l.fillText(t,m*r,(v+.5*a)*r);var x=l.getImageData(0,0,y,b).data;if(T())return!1;for(var k,M,C,S=[],I=w,E=[g/2,w/2,g/2,w/2];I--;)for(k=g;k--;){C=_;t:for(;C--;)for(M=_;M--;)if(x[4*((k*_+C)*y+(I*_+M))+3]){S.push([I,k]),I<E[3]&&(E[3]=I),I>E[1]&&(E[1]=I),k<E[0]&&(E[0]=k),k>E[2]&&(E[2]=k);break t}}return{mu:r,occupied:S,bounds:E,gw:w,gh:g,fillTextOffsetX:m,fillTextOffsetY:v,fillTextWidth:d,fillTextHeight:c,fontSize:a}}(n,a,h);if(!u)return!1;if(T())return!1;if(!i.drawOutOfBound){var m=u.bounds;if(m[1]-m[3]+1>d||m[2]-m[0]+1>c)return!1}for(var y=f+1,x=function(o){var r=Math.floor(o[0]-u.gw/2),m=Math.floor(o[1]-u.gh/2);return u.gw,u.gh,!!function(t,e,n,a,o){for(var r=o.length;r--;){var s=t+o[r][0],h=e+o[r][1];if(s>=d||h>=c||s<0||h<0){if(!i.drawOutOfBound)return!1}else if(!l[s][h])return!1}return!0}(r,m,0,0,u.occupied)&&(function(e,n,a,o,r,s,l,d,c){var h,f,u=a.fontSize;h=p?p(o,r,u,s,l):i.color,f=w?w(o,r,u,s,l):i.classes;var m=a.bounds;m[3],m[0],m[1],m[3],m[2],m[0],t.forEach((function(t){if(t.getContext){var r=t.getContext("2d"),s=a.mu;r.save(),r.scale(1/s,1/s),r.font=i.fontWeight+" "+(u*s).toString(10)+"px "+i.fontFamily,r.fillStyle=h,r.translate((e+a.gw/2)*_*s,(n+a.gh/2)*_*s),0!==d&&r.rotate(-d),r.textBaseline="middle",r.fillText(o,a.fillTextOffsetX*s,(a.fillTextOffsetY+.5*u)*s),r.restore()}else{var l=document.createElement("span"),p="";p="rotate("+-d/Math.PI*180+"deg) ",1!==a.mu&&(p+="translateX(-"+a.fillTextWidth/4+"px) scale("+1/a.mu+")");var m={position:"absolute",display:"block",font:i.fontWeight+" "+u*a.mu+"px "+i.fontFamily,left:(e+a.gw/2)*_+a.fillTextOffsetX+"px",top:(n+a.gh/2)*_+a.fillTextOffsetY+"px",width:a.fillTextWidth+"px",height:a.fillTextHeight+"px",lineHeight:u+"px",whiteSpace:"nowrap",transform:p,webkitTransform:p,msTransform:p,transformOrigin:"50% 40%",webkitTransformOrigin:"50% 40%",msTransformOrigin:"50% 40%"};for(var v in h&&(m.color=h),l.textContent=o,m)l.style[v]=m[v];if(c)for(var g in c)l.setAttribute(g,c[g]);f&&(l.className+=f),t.appendChild(l)}}))}(r,m,u,n,a,f-y,o[2],h,s),function(e,n,a,o,r,s){var l,h,f=r.occupied,u=i.drawMask;if(u&&((l=t[0].getContext("2d")).save(),l.fillStyle=i.maskColor),b){var p=r.bounds;h={x:(e+p[3])*_,y:(n+p[0])*_,w:(p[1]-p[3]+1)*_,h:(p[2]-p[0]+1)*_}}for(var m=f.length;m--;){var v=e+f[m][0],g=n+f[m][1];v>=d||g>=c||v<0||g<0||E(v,g,u,h,s)}u&&l.restore()}(r,m,0,0,u,e),!0)};y--;){var k=I(f-y);if(i.shuffle&&(k=[].concat(k),r(k)),k.some(x))return!0}return!1},O=function(e,i,n){if(i)return!t.some((function(t){var a=document.createEvent("CustomEvent");return a.initCustomEvent(e,!0,i,n||{}),!t.dispatchEvent(a)}),this);t.forEach((function(t){var a=document.createEvent("CustomEvent");a.initCustomEvent(e,!0,i,n||{}),t.dispatchEvent(a)}),this)};!function(){var e=t[0];if(e.getContext)d=Math.ceil(e.width/_),c=Math.ceil(e.height/_);else{var n=e.getBoundingClientRect();d=Math.ceil(n.width/_),c=Math.ceil(n.height/_)}if(O("wordcloudstart",!0)){var a,o,r,s,p;if(h=i.origin?[i.origin[0]/_,i.origin[1]/_]:[d/2,c/2],f=Math.floor(Math.sqrt(d*d+c*c)),l=[],!e.getContext||i.clearCanvas)for(t.forEach((function(t){if(t.getContext){var e=t.getContext("2d");e.fillStyle=i.backgroundColor,e.clearRect(0,0,d*(_+1),c*(_+1)),e.fillRect(0,0,d*(_+1),c*(_+1))}else t.textContent="",t.style.backgroundColor=i.backgroundColor,t.style.position="relative"})),a=d;a--;)for(l[a]=[],o=c;o--;)l[a][o]=!0;else{var m=document.createElement("canvas").getContext("2d");m.fillStyle=i.backgroundColor,m.fillRect(0,0,1,1);var v,g,w=m.getImageData(0,0,1,1).data,k=e.getContext("2d").getImageData(0,0,d*_,c*_).data;for(a=d;a--;)for(l[a]=[],o=c;o--;){g=_;t:for(;g--;)for(v=_;v--;)for(r=4;r--;)if(k[4*((o*_+g)*d*_+(a*_+v))+r]!==w[r]){l[a][o]=!1;break t}!1!==l[a][o]&&(l[a][o]=!0)}k=m=w=void 0}if(i.hover||i.click){for(b=!0,a=d+1;a--;)x[a]=[];i.hover&&e.addEventListener("mousemove",M),i.click&&(e.addEventListener("click",C),e.addEventListener("touchstart",C),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",M),e.removeEventListener("click",C),y=void 0}))}r=0,0!==i.wait?(s=window.setTimeout,p=window.clearTimeout):(s=window.setImmediate,p=window.clearImmediate);var S=function(e,i){t.forEach((function(t){t.removeEventListener(e,i)}),this)},I=function t(){S("wordcloudstart",t),p(E)};!function(e,i){t.forEach((function(t){t.addEventListener(e,i)}),this)}("wordcloudstart",I);var E=s((function t(){if(r>=i.list.length)return p(E),O("wordcloudstop",!1),void S("wordcloudstart",I);u=(new Date).getTime();var e=L(i.list[r]),n=!O("wordclouddrawn",!0,{item:i.list[r],drawn:e});if(T()||n)return p(E),i.abort(),O("wordcloudabort",!1),O("wordcloudstop",!1),void S("wordcloudstart",I);r++,E=s(t,i.wait)}),i.wait)}}()}function F(t,e){return"hsl("+(360*Math.random()).toFixed()+","+(30*Math.random()+70).toFixed()+"%,"+(Math.random()*(e-t)+t).toFixed()+"%)"}}).isSupported=a,s.minFontSize=o,i.WordCloud=s,void 0===(n=function(){return s}.apply(e,[]))||(t.exports=n)}).call(window)},function(t,e,i){var n=i(3);"string"==typeof n&&(n=[[t.id,n,""]]),i(5)(n,{}),n.locals&&(t.exports=n.locals)},function(t,e,i){(t.exports=i(4)()).push([t.id,"@-webkit-keyframes __wc_loading_animation__ {\r\n 50% {\r\n opacity: 0.3;\r\n -webkit-transform: scale(0.4);\r\n transform: scale(0.4); }\r\n\r\n 100% {\r\n opacity: 1;\r\n -webkit-transform: scale(1);\r\n transform: scale(1); } }\r\n\r\n@keyframes __wc_loading_animation__ {\r\n 50% {\r\n opacity: 0.3;\r\n -webkit-transform: scale(0.4);\r\n transform: scale(0.4); }\r\n\r\n 100% {\r\n opacity: 1;\r\n -webkit-transform: scale(1);\r\n transform: scale(1); } }\r\n\r\n.__wc_loading_wrapper__ {\r\n display: table;\r\n height: 100%;\r\n width: 100%;\r\n}\r\n\r\n.__wc_loading_wrapper_item__ {\r\n display: table-cell;\r\n vertical-align: middle;\r\n text-align: center;\r\n position: relative;\r\n padding-right: 60px;\r\n line-height: 1.4;\r\n}\r\n.__wc_loading_wrapper_item_inner__ {\r\n position: relative;\r\n text-align: left;\r\n display: inline-block;\r\n}\r\n\r\n.__wc_loading__ {\r\n position: absolute;\r\n top: 50%;\r\n left: -40px;\r\n margin-top: -6px;\r\n}\r\n\r\n .__wc_loading__ > div:nth-child(1) {\r\n top: 15px;\r\n left: 0;\r\n -webkit-animation: __wc_loading_animation__ 1s 0s infinite linear;\r\n animation: __wc_loading_animation__ 1s 0s infinite linear; }\r\n .__wc_loading__ > div:nth-child(2) {\r\n top: 10.22726px;\r\n left: 10.22726px;\r\n -webkit-animation: __wc_loading_animation__ 1s 0.12s infinite linear;\r\n animation: __wc_loading_animation__ 1s 0.12s infinite linear; }\r\n .__wc_loading__ > div:nth-child(3) {\r\n top: 0;\r\n left: 15px;\r\n -webkit-animation: __wc_loading_animation__ 1s 0.24s infinite linear;\r\n animation: __wc_loading_animation__ 1s 0.24s infinite linear; }\r\n .__wc_loading__ > div:nth-child(4) {\r\n top: -10.22726px;\r\n left: 10.22726px;\r\n -webkit-animation: __wc_loading_animation__ 1s 0.36s infinite linear;\r\n animation: __wc_loading_animation__ 1s 0.36s infinite linear; }\r\n .__wc_loading__ > div:nth-child(5) {\r\n top: -15px;\r\n left: 0;\r\n -webkit-animation: __wc_loading_animation__ 1s 0.48s infinite linear;\r\n animation: __wc_loading_animation__ 1s 0.48s infinite linear; }\r\n .__wc_loading__ > div:nth-child(6) {\r\n top: -10.22726px;\r\n left: -10.22726px;\r\n -webkit-animation: __wc_loading_animation__ 1s 0.6s infinite linear;\r\n animation: __wc_loading_animation__ 1s 0.6s infinite linear; }\r\n .__wc_loading__ > div:nth-child(7) {\r\n top: 0;\r\n left: -15px;\r\n -webkit-animation: __wc_loading_animation__ 1s 0.72s infinite linear;\r\n animation: __wc_loading_animation__ 1s 0.72s infinite linear; }\r\n .__wc_loading__ > div:nth-child(8) {\r\n top: 10.22726px;\r\n left: -10.22726px;\r\n -webkit-animation: __wc_loading_animation__ 1s 0.84s infinite linear;\r\n animation: __wc_loading_animation__ 1s 0.84s infinite linear; }\r\n .__wc_loading__ > div {\r\n background-color: #d3d3d3;\r\n width: 10px;\r\n height: 10px;\r\n border-radius: 100%;\r\n margin: 2px;\r\n -webkit-animation-fill-mode: both;\r\n animation-fill-mode: both;\r\n position: absolute; \r\n }",""])},function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var i=this[e];i[2]?t.push("@media "+i[2]+"{"+i[1]+"}"):t.push(i[1])}return t.join("")},t.i=function(e,i){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},a=0;a<this.length;a++){var o=this[a][0];"number"==typeof o&&(n[o]=!0)}for(a=0;a<e.length;a++){var r=e[a];"number"==typeof r[0]&&n[r[0]]||(i&&!r[2]?r[2]=i:i&&(r[2]="("+r[2]+") and ("+i+")"),t.push(r))}},t}},function(t,e,i){var n={},a=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}},o=a((function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())})),r=a((function(){return document.head||document.getElementsByTagName("head")[0]})),s=null,l=0,d=[];function c(t,e){for(var i=0;i<t.length;i++){var a=t[i],o=n[a.id];if(o){o.refs++;for(var r=0;r<o.parts.length;r++)o.parts[r](a.parts[r]);for(;r<a.parts.length;r++)o.parts.push(_(a.parts[r],e))}else{var s=[];for(r=0;r<a.parts.length;r++)s.push(_(a.parts[r],e));n[a.id]={id:a.id,refs:1,parts:s}}}}function h(t){for(var e=[],i={},n=0;n<t.length;n++){var a=t[n],o=a[0],r={css:a[1],media:a[2],sourceMap:a[3]};i[o]?i[o].parts.push(r):e.push(i[o]={id:o,parts:[r]})}return e}function f(t,e){var i=r(),n=d[d.length-1];if("top"===t.insertAt)n?n.nextSibling?i.insertBefore(e,n.nextSibling):i.appendChild(e):i.insertBefore(e,i.firstChild),d.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");i.appendChild(e)}}function u(t){t.parentNode.removeChild(t);var e=d.indexOf(t);e>=0&&d.splice(e,1)}function p(t){var e=document.createElement("style");return e.type="text/css",f(t,e),e}function _(t,e){var i,n,a;if(e.singleton){var o=l++;i=s||(s=p(e)),n=g.bind(null,i,o,!1),a=g.bind(null,i,o,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(i=function(t){var e=document.createElement("link");return e.rel="stylesheet",f(t,e),e}(e),n=y.bind(null,i),a=function(){u(i),i.href&&URL.revokeObjectURL(i.href)}):(i=p(e),n=w.bind(null,i),a=function(){u(i)});return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else a()}}t.exports=function(t,e){void 0===(e=e||{}).singleton&&(e.singleton=o()),void 0===e.insertAt&&(e.insertAt="bottom");var i=h(t);return c(i,e),function(t){for(var a=[],o=0;o<i.length;o++){var r=i[o];(s=n[r.id]).refs--,a.push(s)}for(t&&c(h(t),e),o=0;o<a.length;o++){var s;if(0===(s=a[o]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete n[s.id]}}}};var m,v=(m=[],function(t,e){return m[t]=e,m.filter(Boolean).join("\n")});function g(t,e,i,n){var a=i?"":n.css;if(t.styleSheet)t.styleSheet.cssText=v(e,a);else{var o=document.createTextNode(a),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(o,r[e]):t.appendChild(o)}}function w(t,e){var i=e.css,n=e.media;if(n&&t.setAttribute("media",n),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}function y(t,e){var i=e.css,n=e.sourceMap;n&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var a=new Blob([i],{type:"text/css"}),o=t.href;t.href=URL.createObjectURL(a),o&&URL.revokeObjectURL(o)}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});for(var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n={},a=["Null","Undefined","Number","Boolean","String","Object","Function","Array","RegExp","Date"],o=0;o<a.length;o++)n["[object "+a[o]+"]"]=a[o].toLowerCase();function r(t){return n[Object.prototype.toString.call(t)]||"Object"}e.default={copy:function(t,e){if(null===t||"object"!=(void 0===t?"undefined":i(t)))return t;var n,a,o,s=function(t,e){return r(t)===e}(t,"array")?[]:{};for(n in t)o=r(a=t[n]),s[n]=!e||"array"!==o&&"object"!==o?a:this.copy(a);return s}}}])},t.exports=n()}}]);