filesbox/web/dist/77914.60dc5cfe.async.js

163 lines
502 KiB
JavaScript
Raw Permalink Normal View History

2024-07-26 06:10:54 +00:00
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[77914,42270],{20532:function(N){(function(M,x){N.exports=x()})(window,function(){return function(M){var x={};function g(f){if(x[f])return x[f].exports;var p=x[f]={i:f,l:!1,exports:{}};return M[f].call(p.exports,p,p.exports,g),p.l=!0,p.exports}return g.m=M,g.c=x,g.d=function(f,p,l){g.o(f,p)||Object.defineProperty(f,p,{enumerable:!0,get:l})},g.r=function(f){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(f,"__esModule",{value:!0})},g.t=function(f,p){if(1&p&&(f=g(f)),8&p||4&p&&typeof f=="object"&&f&&f.__esModule)return f;var l=Object.create(null);if(g.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:f}),2&p&&typeof f!="string")for(var i in f)g.d(l,i,function(o){return f[o]}.bind(null,i));return l},g.n=function(f){var p=f&&f.__esModule?function(){return f.default}:function(){return f};return g.d(p,"a",p),p},g.o=function(f,p){return Object.prototype.hasOwnProperty.call(f,p)},g.p="",g(g.s=820)}([,function(M,x,g){"use strict";var f=function(Z,lt,it){Z.prototype=lt.prototype=it,it.constructor=Z};function p(z,Z){var lt=Object.create(z.prototype);for(var it in Z)lt[it]=Z[it];return lt}function l(){}var i="\\s*([+-]?\\d+)\\s*",o="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",n="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",t=/^#([0-9a-f]{3})$/,e=/^#([0-9a-f]{6})$/,r=new RegExp("^rgb\\("+[i,i,i]+"\\)$"),a=new RegExp("^rgb\\("+[n,n,n]+"\\)$"),u=new RegExp("^rgba\\("+[i,i,i,o]+"\\)$"),c=new RegExp("^rgba\\("+[n,n,n,o]+"\\)$"),s=new RegExp("^hsl\\("+[o,n,n]+"\\)$"),h=new RegExp("^hsla\\("+[o,n,n,o]+"\\)$"),d={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyb
* EventEmitter v5.1.0 - git.io/ee
* Unlicense - http://unlicense.org/
* Oliver Caldwell - http://oli.me.uk/
* @preserve
*/(function(p){"use strict";function l(){}var i=l.prototype,o=p.EventEmitter;function n(e,r){for(var a=e.length;a--;)if(e[a].listener===r)return a;return-1}function t(e){return function(){return this[e].apply(this,arguments)}}i.getListeners=function(e){var r,a,u=this._getEvents();if(e instanceof RegExp)for(a in r={},u)u.hasOwnProperty(a)&&e.test(a)&&(r[a]=u[a]);else r=u[e]||(u[e]=[]);return r},i.flattenListeners=function(e){var r,a=[];for(r=0;r<e.length;r+=1)a.push(e[r].listener);return a},i.getListenersAsObject=function(e){var r,a=this.getListeners(e);return a instanceof Array&&((r={})[e]=a),r||a},i.addListener=function(e,r){if(!function s(h){return typeof h=="function"||h instanceof RegExp||!(!h||typeof h!="object")&&s(h.listener)}(r))throw new TypeError("listener must be a function");var a,u=this.getListenersAsObject(e),c=typeof r=="object";for(a in u)u.hasOwnProperty(a)&&n(u[a],r)===-1&&u[a].push(c?r:{listener:r,once:!1});return this},i.on=t("addListener"),i.addOnceListener=function(e,r){return this.addListener(e,{listener:r,once:!0})},i.once=t("addOnceListener"),i.defineEvent=function(e){return this.getListeners(e),this},i.defineEvents=function(e){for(var r=0;r<e.length;r+=1)this.defineEvent(e[r]);return this},i.removeListener=function(e,r){var a,u,c=this.getListenersAsObject(e);for(u in c)c.hasOwnProperty(u)&&(a=n(c[u],r))!==-1&&c[u].splice(a,1);return this},i.off=t("removeListener"),i.addListeners=function(e,r){return this.manipulateListeners(!1,e,r)},i.removeListeners=function(e,r){return this.manipulateListeners(!0,e,r)},i.manipulateListeners=function(e,r,a){var u,c,s=e?this.removeListener:this.addListener,h=e?this.removeListeners:this.addListeners;if(typeof r!="object"||r instanceof RegExp)for(u=a.length;u--;)s.call(this,r,a[u]);else for(u in r)r.hasOwnProperty(u)&&(c=r[u])&&(typeof c=="function"?s.call(this,u,c):h.call(this,u,c));return this},i.removeEvent=function(e){var r,a=typeof e,u=this._getEvents();if(a==="string")delete u[e];else if(e instanceof RegExp)for(r in u)u.hasOwnProperty(r)&&e.test(r)&&delete u[r];else delete this._events;return this},i.removeAllListeners=t("removeEvent"),i.emitEvent=function(e,r){var a,u,c,s,h=this.getListenersAsObject(e);for(s in h)if(h.hasOwnProperty(s))for(a=h[s].slice(0),c=0;c<a.length;c++)(u=a[c]).once===!0&&this.removeListener(e,u.listener),u.listener.apply(this,r||[])===this._getOnceReturnValue()&&this.removeListener(e,u.listener);return this},i.trigger=t("emitEvent"),i.emit=function(e){var r=Array.prototype.slice.call(arguments,1);return this.emitEvent(e,r)},i.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},i._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},i._getEvents=function(){return this._events||(this._events={})},l.noConflict=function(){return p.EventEmitter=o,l},(f=function(){return l}.call(p,g,p,M))===void 0||(M.exports=f)})(this||{})},function(M,x,g){(function(f){var p=typeof f=="object"&&f&&f.Object===Object&&f;M.exports=p}).call(this,g(252))},function(M,x){M.exports=function(g){return g!==null&&typeof g!="function"&&isFinite(g.length)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(M,x,g){var f=g(115);M.exports=function(p){return f(p,"Number")}},function(M,x){M.exports=function(g){return g==null}},function(M,x,g){"use strict";g.r(x);var f=g(1);function p(L,D,G,U,X){var q=L*L,ut=q*L;return((1-3*L+3*q-ut)*D+(4-6*q+3*ut)*G+(1+3*L+3*q-3*ut)*U+ut*X)/6}var l=function(D){var G=D.length-1;return function(U){var X=U<=0?U=0:U>=1?(U=1,G-1):Math.floor(U*G),q=D[X],ut=D[X+1],rt=X>0?D[X-1]:2*q-ut,at=X<G-1?D[X+2]:2*ut-q;return p((U-X/G)*G,rt,q,ut,at)}},i=function(D){var G=D.length;return function(U){var X=Math.floor(((U%=1)<0?++U:U)*G),q=D[(X+G-1)%G],ut=D[X%G],rt=D[(X+1)%G],at=D[(X+2)%G];return p((U-X/G)*G,q,ut,rt,at)}},o=function(D){return function(){return D}};function n(L,D){return function(G){return L+G*D}}function t(L,D){var G=D-L;return G?n(L,G>180||G<-180?G-360*Math.round(G/360):G):o(isNaN(L)?D:L)}function e(L){re
\v\f\r \xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029`,l=new RegExp("([a-z])["+p+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+p+"]*,?["+p+"]*)+)","ig"),i=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+p+"]*,?["+p+"]*","ig"),o=function(I){if(!I)return null;if(typeof I==typeof[])return I;var R={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},F=[];return String(I).replace(l,function(j,B,H){var et=[],Q=B.toLowerCase();if(H.replace(i,function(J,K){K&&et.push(+K)}),Q==="m"&&et.length>2&&(F.push([B].concat(et.splice(0,2))),Q="l",B=B==="m"?"l":"L"),Q==="o"&&et.length===1&&F.push([B,et[0]]),Q==="r")F.push([B].concat(et));else for(;et.length>=R[Q]&&(F.push([B].concat(et.splice(0,R[Q]))),R[Q]););}),F},n=function(I,R){for(var F=[],j=0,B=I.length;B-2*!R>j;j+=2){var H=[{x:+I[j-2],y:+I[j-1]},{x:+I[j],y:+I[j+1]},{x:+I[j+2],y:+I[j+3]},{x:+I[j+4],y:+I[j+5]}];R?j?B-4===j?H[3]={x:+I[0],y:+I[1]}:B-2===j&&(H[2]={x:+I[0],y:+I[1]},H[3]={x:+I[2],y:+I[3]}):H[0]={x:+I[B-2],y:+I[B-1]}:B-4===j?H[3]=H[2]:j||(H[0]={x:+I[j],y:+I[j+1]}),F.push(["C",(-H[0].x+6*H[1].x+H[2].x)/6,(-H[0].y+6*H[1].y+H[2].y)/6,(H[1].x+6*H[2].x-H[3].x)/6,(H[1].y+6*H[2].y-H[3].y)/6,H[2].x,H[2].y])}return F},t=function(I,R,F,j,B){var H=[];if(B===null&&j===null&&(j=F),I=+I,R=+R,F=+F,j=+j,B!==null){var et=Math.PI/180,Q=I+F*Math.cos(-j*et),J=I+F*Math.cos(-B*et);H=[["M",Q,R+F*Math.sin(-j*et)],["A",F,F,0,+(B-j>180),0,J,R+F*Math.sin(-B*et)]]}else H=[["M",I,R],["m",0,-j],["a",F,j,0,1,1,0,2*j],["a",F,j,0,1,1,0,-2*j],["z"]];return H},e=function(I){if(!(I=o(I))||!I.length)return[["M",0,0]];var R,F,j=[],B=0,H=0,et=0,Q=0,J=0;I[0][0]==="M"&&(et=B=+I[0][1],Q=H=+I[0][2],J++,j[0]=["M",B,H]);for(var K,nt,st=I.length===3&&I[0][0]==="M"&&I[1][0].toUpperCase()==="R"&&I[2][0].toUpperCase()==="Z",V=J,tt=I.length;V<tt;V++){if(j.push(K=[]),(R=(nt=I[V])[0])!==R.toUpperCase())switch(K[0]=R.toUpperCase(),K[0]){case"A":K[1]=nt[1],K[2]=nt[2],K[3]=nt[3],K[4]=nt[4],K[5]=nt[5],K[6]=+nt[6]+B,K[7]=+nt[7]+H;break;case"V":K[1]=+nt[1]+H;break;case"H":K[1]=+nt[1]+B;break;case"R":for(var $=2,ot=(F=[B,H].concat(nt.slice(1))).length;$<ot;$++)F[$]=+F[$]+B,F[++$]=+F[$]+H;j.pop(),j=j.concat(n(F,st));break;case"O":j.pop(),(F=t(B,H,nt[1],nt[2])).push(F[0]),j=j.concat(F);break;case"U":j.pop(),j=j.concat(t(B,H,nt[1],nt[2],nt[3])),K=["U"].concat(j[j.length-1].slice(-2));break;case"M":et=+nt[1]+B,Q=+nt[2]+H;break;default:for(var Y=1,L=nt.length;Y<L;Y++)K[Y]=+nt[Y]+(Y%2?B:H)}else if(R==="R")F=[B,H].concat(nt.slice(1)),j.pop(),j=j.concat(n(F,st)),K=["R"].concat(nt.slice(-2));else if(R==="O")j.pop(),(F=t(B,H,nt[1],nt[2])).push(F[0]),j=j.concat(F);else if(R==="U")j.pop(),j=j.concat(t(B,H,nt[1],nt[2],nt[3])),K=["U"].concat(j[j.length-1].slice(-2));else for(var D=0,G=nt.length;D<G;D++)K[D]=nt[D];if((R=R.toUpperCase())!=="O")switch(K[0]){case"Z":B=+et,H=+Q;break;case"H":B=K[1];break;case"V":H=K[1];break;case"M":et=K[K.length-2],Q=K[K.length-1];break;default:B=K[K.length-2],H=K[K.length-1]}}return j},r=function(I,R,F,j){return[I,R,F,j,F,j]},a=function(I,R,F,j,B,H){return[1/3*I+2/3*F,1/3*R+2/3*j,1/3*B+2/3*F,1/3*H+2/3*j,B,H]},u=function(I,R){var F,j=e(I),B=R&&e(R),H={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},et={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},Q=[],J=[],K="",nt="",st=function(U,X,q){var ut,rt;if(!U)return["C",X.x,X.y,X.x,X.y,X.x,X.y];switch(!(U[0]in{T:1,Q:1})&&(X.qx=X.qy=null),U[0]){case"M":X.X=U[1],X.Y=U[2];break;case"A":U=["C"].concat(function at(pt,gt,z,Z,lt,it,dt,yt,wt,Mt){z===Z&&(z+=1);var At,xt,St,Et,Pt,Ot=120*Math.PI/180,Dt=Math.PI/180*(+lt||0),Tt=[],Nt=function(Gt,Lt,Yt){return{x:Gt*Math.cos(Yt)-Lt*Math.sin(Yt),y:Gt*Math.sin(Yt)+Lt*Math.cos(Yt)}};if(Mt)xt=Mt[0],St=Mt[1],Et=Mt[2],Pt=Mt[3];else{pt=(At=Nt(pt,gt,-Dt)).x,gt=At.y,yt=(At=Nt(yt,wt,-Dt)).x,wt=At.y,pt===yt&&gt===wt&&(yt+=1,wt+=1);var kt=(pt-yt)/2,It=(gt-wt)/2,Xt=kt*kt/(z*z)+It*It/(Z*Z);Xt>1&&(z*=Xt=Math.sqrt(Xt),Z*=Xt);var zt=z*z,Zt=Z*Z,Vt=(it===dt?-1:1)*Math.sqrt(Math.abs((zt*Zt-zt*It*It-Zt*kt*kt)/(zt*It*It+Zt*kt*kt)));Et=Vt*z*It/Z+(pt+yt)/2,Pt=Vt*-Z*kt/z+(gt+wt)/2,xt=Math.asin(((gt-Pt)/Z).toFi
`)!==-1){var e=(t=n.split(`
`)).length;o.lineCount=e}o.textArr=t},_getTextHeight:function(){var o=this._attrs,n=o.lineCount,t=1*o.fontSize;return n>1?t*n+this._getSpaceingY()*(n-1):t},isHitBox:function(){return!1},calculateBox:function(){var o=this._attrs,n=this._cfg;n.attrs&&!n.hasUpdate||(this._assembleFont(),this._setAttrText()),o.textArr||this._setAttrText();var t=o.x,e=o.y,r=this.measureText();if(!r)return{minX:t,minY:e,maxX:t,maxY:e};var a=this._getTextHeight(),u=o.textAlign,c=o.textBaseline,s=this.getHitLineWidth(),h={x:t,y:e-a};u&&(u==="end"||u==="right"?h.x-=r:u==="center"&&(h.x-=r/2)),c&&(c==="top"?h.y+=a:c==="middle"&&(h.y+=a/2)),this.set("startPoint",h);var d=s/2;return{minX:h.x-d,minY:h.y-d,maxX:h.x+r+d,maxY:h.y+a+d}},_getSpaceingY:function(){var o=this._attrs,n=o.lineHeight,t=1*o.fontSize;return n?n-t:.14*t},drawInner:function(o){var n=this._attrs,t=this._cfg;t.attrs&&!t.hasUpdate||(this._assembleFont(),this._setAttrText()),o.font=n.font;var e=n.text;if(e){var r=n.textArr,a=n.x,u=n.y;if(o.beginPath(),this.hasStroke()){var c=n.strokeOpacity;f.isNil(c)||c===1||(o.globalAlpha=c),r?this._drawTextArr(o,!1):o.strokeText(e,a,u),o.globalAlpha=1}if(this.hasFill()){var s=n.fillOpacity;f.isNil(s)||s===1||(o.globalAlpha=s),r?this._drawTextArr(o,!0):o.fillText(e,a,u)}t.hasUpdate=!1}},_drawTextArr:function(o,n){var t,e=this._attrs.textArr,r=this._attrs.textBaseline,a=1*this._attrs.fontSize,u=this._getSpaceingY(),c=this._attrs.x,s=this._attrs.y,h=this.getBBox(),d=h.maxY-h.minY;f.each(e,function(v,y){t=s+y*(u+a)-d+a,r==="middle"&&(t+=d-a-(d-a)/2),r==="top"&&(t+=d-a),n?o.fillText(v,c,t):o.strokeText(v,c,t)})},measureText:function(){var o,n=this._attrs,t=n.text,e=n.font,r=n.textArr,a=0;if(!f.isNil(t)){var u=document.createElement("canvas").getContext("2d");return u.save(),u.font=e,r?f.each(r,function(c){o=u.measureText(c).width,a<o&&(a=o),u.restore()}):(a=u.measureText(t).width,u.restore()),a}}}),M.exports=l},function(M,x,g){var f=g(19),p=g(593).parseRadius,l=g(58),i=function o(n){o.superclass.constructor.call(this,n)};i.ATTRS={x:0,y:0,width:0,height:0,radius:0,lineWidth:1},f.extend(i,l),f.augment(i,{canFill:!0,canStroke:!0,type:"rect",getDefaultAttrs:function(){return{lineWidth:1,radius:0}},calculateBox:function(){var n=this._attrs,t=n.x,e=n.y,r=n.width,a=n.height,u=this.getHitLineWidth()/2;return{minX:t-u,minY:e-u,maxX:t+r+u,maxY:e+a+u}},createPath:function(n){var t=this._attrs,e=t.x,r=t.y,a=t.width,u=t.height,c=t.radius;if((n=n||this.get("context")).beginPath(),c===0)n.rect(e,r,a,u);else{var s=p(c);n.moveTo(e+s.r1,r),n.lineTo(e+a-s.r2,r),s.r2!==0&&n.arc(e+a-s.r2,r+s.r2,s.r2,-Math.PI/2,0),n.lineTo(e+a,r+u-s.r3),s.r3!==0&&n.arc(e+a-s.r3,r+u-s.r3,s.r3,0,Math.PI/2),n.lineTo(e+s.r4,r+u),s.r4!==0&&n.arc(e+s.r4,r+u-s.r4,s.r4,Math.PI/2,Math.PI),n.lineTo(e,r+s.r1),s.r1!==0&&n.arc(e+s.r1,r+s.r1,s.r1,Math.PI,1.5*Math.PI),n.closePath()}}}),M.exports=i},function(M,x,g){var f=g(19),p=g(58),l=g(601),i=g(603),o=function n(t){n.superclass.constructor.call(this,t)};o.ATTRS={points:null,lineWidth:1,startArrow:!1,endArrow:!1,tCache:null},f.extend(o,p),f.augment(o,{canStroke:!0,type:"polyline",tCache:null,getDefaultAttrs:function(){return{lineWidth:1,startArrow:!1,endArrow:!1}},calculateBox:function(){var t=this._attrs,e=this.getHitLineWidth(),r=t.points;if(!r||r.length===0)return null;var a=1/0,u=1/0,c=-1/0,s=-1/0;f.each(r,function(d){var v=d[0],y=d[1];v<a&&(a=v),v>c&&(c=v),y<u&&(u=y),y>s&&(s=y)});var h=e/2;return{minX:a-h,minY:u-h,maxX:c+h,maxY:s+h}},_setTcache:function(){var t,e,r=this._attrs.points,a=0,u=0,c=[];r&&r.length!==0&&(f.each(r,function(s,h){r[h+1]&&(a+=i.len(s[0],s[1],r[h+1][0],r[h+1][1]))}),a<=0||(f.each(r,function(s,h){r[h+1]&&((t=[])[0]=u/a,e=i.len(s[0],s[1],r[h+1][0],r[h+1][1]),u+=e,t[1]=u/a,c.push(t))}),this.tCache=c))},createPath:function(t){var e,r,a=this._attrs.points;if(!(a.length<2)){for((t=t||this.get("context")).beginPath(),t.moveTo(a[0][0],a[0][1]),r=1,e=a.length-1;r<e;r++)t.lineTo(a[r][0],a[r][1]);t.lineTo(a[e][0],a[e][1])}},getStartTangent:function(){var t=this.__attrs.points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),
\v\f\r \xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029`,p=new RegExp("([a-z])["+f+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+f+"]*,?["+f+"]*)+)","ig"),l=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+f+"]*,?["+f+"]*","ig");M.exports=function(i){if(!i)return null;if((i===void 0?"undefined":g(i))===g([]))return i;var o={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},n=[];return String(i).replace(p,function(t,e,r){var a=[],u=e.toLowerCase();if(r.replace(l,function(c,s){s&&a.push(+s)}),u==="m"&&a.length>2&&(n.push([e].concat(a.splice(0,2))),u="l",e=e==="m"?"l":"L"),u==="o"&&a.length===1&&n.push([e,a[0]]),u==="r")n.push([e].concat(a));else for(;a.length>=o[u]&&(n.push([e].concat(a.splice(0,o[u]))),o[u]););}),n}},function(M,x,g){var f=g(659),p=g(658);function l(i,o,n,t,e){var r=[];if(e===null&&t===null&&(t=n),i=+i,o=+o,n=+n,t=+t,e!==null){var a=Math.PI/180,u=i+n*Math.cos(-t*a),c=i+n*Math.cos(-e*a);r=[["M",u,o+n*Math.sin(-t*a)],["A",n,n,0,+(e-t>180),0,c,o+n*Math.sin(-e*a)]]}else r=[["M",i,o],["m",0,-t],["a",n,t,0,1,1,0,2*t],["a",n,t,0,1,1,0,-2*t],["z"]];return r}M.exports=function(i){if(!(i=f(i))||!i.length)return[["M",0,0]];var o=[],n=0,t=0,e=0,r=0,a=0,u=void 0,c=void 0;i[0][0]==="M"&&(e=n=+i[0][1],r=t=+i[0][2],a++,o[0]=["M",n,t]);for(var s,h,d=i.length===3&&i[0][0]==="M"&&i[1][0].toUpperCase()==="R"&&i[2][0].toUpperCase()==="Z",v=a,y=i.length;v<y;v++){if(o.push(s=[]),(u=(h=i[v])[0])!==u.toUpperCase())switch(s[0]=u.toUpperCase(),s[0]){case"A":s[1]=h[1],s[2]=h[2],s[3]=h[3],s[4]=h[4],s[5]=h[5],s[6]=+h[6]+n,s[7]=+h[7]+t;break;case"V":s[1]=+h[1]+t;break;case"H":s[1]=+h[1]+n;break;case"R":for(var m=2,b=(c=[n,t].concat(h.slice(1))).length;m<b;m++)c[m]=+c[m]+n,c[++m]=+c[m]+t;o.pop(),o=o.concat(p(c,d));break;case"O":o.pop(),(c=l(n,t,h[1],h[2])).push(c[0]),o=o.concat(c);break;case"U":o.pop(),o=o.concat(l(n,t,h[1],h[2],h[3])),s=["U"].concat(o[o.length-1].slice(-2));break;case"M":e=+h[1]+n,r=+h[2]+t;break;default:for(var w=1,P=h.length;w<P;w++)s[w]=+h[w]+(w%2?n:t)}else if(u==="R")c=[n,t].concat(h.slice(1)),o.pop(),o=o.concat(p(c,d)),s=["R"].concat(h.slice(-2));else if(u==="O")o.pop(),(c=l(n,t,h[1],h[2])).push(c[0]),o=o.concat(c);else if(u==="U")o.pop(),o=o.concat(l(n,t,h[1],h[2],h[3])),s=["U"].concat(o[o.length-1].slice(-2));else for(var S=0,O=h.length;S<O;S++)s[S]=h[S];if((u=u.toUpperCase())!=="O")switch(s[0]){case"Z":n=+e,t=+r;break;case"H":n=s[1];break;case"V":t=s[1];break;case"M":e=s[s.length-2],r=s[s.length-1];break;default:n=s[s.length-2],t=s[s.length-1]}}return o}},function(M,x,g){var f=g(660),p=function(o,n,t,e){return[o,n,t,e,t,e]},l=function(o,n,t,e,r,a){return[1/3*o+2/3*t,1/3*n+2/3*e,1/3*r+2/3*t,1/3*a+2/3*e,r,a]};M.exports=function(i,o){var n=f(i),t=o&&f(o),e={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},r={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},a=[],u=[],c="",s="",h=void 0,d=function(A,E,_){var C=void 0,k=void 0;if(!A)return["C",E.x,E.y,E.x,E.y,E.x,E.y];switch(!(A[0]in{T:1,Q:1})&&(E.qx=E.qy=null),A[0]){case"M":E.X=A[1],E.Y=A[2];break;case"A":A=["C"].concat(function T(I,R,F,j,B,H,et,Q,J,K){F===j&&(F+=1);var nt=120*Math.PI/180,st=Math.PI/180*(+B||0),V=[],tt=void 0,$=void 0,ot=void 0,Y=void 0,L=void 0,D=function(Nt,kt,It){return{x:Nt*Math.cos(It)-kt*Math.sin(It),y:Nt*Math.sin(It)+kt*Math.cos(It)}};if(K)$=K[0],ot=K[1],Y=K[2],L=K[3];else{I=(tt=D(I,R,-st)).x,R=tt.y,Q=(tt=D(Q,J,-st)).x,J=tt.y,I===Q&&R===J&&(Q+=1,J+=1);var G=(I-Q)/2,U=(R-J)/2,X=G*G/(F*F)+U*U/(j*j);X>1&&(F*=X=Math.sqrt(X),j*=X);var q=F*F,ut=j*j,rt=(H===et?-1:1)*Math.sqrt(Math.abs((q*ut-q*U*U-ut*G*G)/(q*U*U+ut*G*G)));Y=rt*F*U/j+(I+Q)/2,L=rt*-j*G/F+(R+J)/2,$=Math.asin(((R-L)/j).toFixed(9)),ot=Math.asin(((J-L)/j).toFixed(9)),$=I<Y?Math.PI-$:$,ot=Q<Y?Math.PI-ot:ot,$<0&&($=2*Math.PI+$),ot<0&&(ot=2*Math.PI+ot),et&&$>ot&&($-=2*Math.PI),!et&&ot>$&&(ot-=2*Math.PI)}var at=ot-$;if(Math.abs(at)>nt){var pt=ot,gt=Q,z=J;ot=$+nt*(et&&ot>$?1:-1),V=T(Q=Y+F*Math.cos(ot),J=L+j*Math.sin(ot),F,j,B,0,et,gt,z,[ot,pt,Y,L])}at=ot-$;var Z=Math.cos($),lt=Math.sin($),it=Math.cos(ot),dt=Math.sin(ot),yt=Math.tan(at/4),wt=4/3*F*
`)})},impl:{readAll:s}};function s(){return Promise.resolve(p.asArray(document.styleSheets)).then(function(d){var v=[];return d.forEach(function(y){try{p.asArray(y.cssRules||[]).forEach(v.push.bind(v))}catch(m){console.log("Error while reading CSS rules from "+y.href,m.toString())}}),v}).then(function(d){return d.filter(function(v){return v.type===CSSRule.FONT_FACE_RULE}).filter(function(v){return l.shouldProcess(v.style.getPropertyValue("src"))})}).then(function(d){return d.map(h)});function h(d){return{resolve:function(){var y=(d.parentStyleSheet||{}).href;return l.inlineAll(d.cssText,y)},src:function(){return d.style.getPropertyValue("src")}}}}}(),o=function(){return{inlineAll:function h(d){return d instanceof Element?function(v){var y=v.style.getPropertyValue("background");return y?l.inlineAll(y).then(function(m){v.style.setProperty("background",m,v.style.getPropertyPriority("background"))}).then(function(){return v}):Promise.resolve(v)}(d).then(function(){return d instanceof HTMLImageElement?s(d).inline():Promise.all(p.asArray(d.childNodes).map(function(v){return h(v)}))}):Promise.resolve(d)},impl:{newImage:s}};function s(h){return{inline:function(v){return p.isDataUrl(h.src)?Promise.resolve():Promise.resolve(h.src).then(v||p.getAndEncode).then(function(y){return p.dataAsUrl(y,p.mimeType(h.src))}).then(function(y){return new Promise(function(m,b){h.onload=m,h.onerror=b,h.src=y})})}}}}(),n={imagePlaceholder:void 0,cacheBust:!1},t={toSvg:e,toPng:function(h,d){return r(h,d||{}).then(function(v){return v.toDataURL()})},toJpeg:function(h,d){return r(h,d=d||{}).then(function(v){return v.toDataURL("image/jpeg",d.quality||1)})},toBlob:function(h,d){return r(h,d||{}).then(p.canvasToBlob)},toPixelData:function(h,d){return r(h,d||{}).then(function(v){return v.getContext("2d").getImageData(0,0,p.width(h),p.height(h)).data})},impl:{fontFaces:i,images:o,util:p,inliner:l,options:{}}};function e(s,h){return function(d){d.imagePlaceholder===void 0?t.impl.options.imagePlaceholder=n.imagePlaceholder:t.impl.options.imagePlaceholder=d.imagePlaceholder,d.cacheBust===void 0?t.impl.options.cacheBust=n.cacheBust:t.impl.options.cacheBust=d.cacheBust}(h=h||{}),Promise.resolve(s).then(function(d){return function(v,y,m){return!m&&y&&!y(v)?Promise.resolve():Promise.resolve(v).then(function(b){return b instanceof HTMLCanvasElement?p.makeImage(b.toDataURL()):b.cloneNode(!1)}).then(function(b){return function(w,P,S){var O=w.childNodes;return O.length===0?Promise.resolve(P):function(A,E,_){var C=Promise.resolve();return E.forEach(function(k){C=C.then(function(){return a(k,_)}).then(function(T){T&&A.appendChild(T)})}),C}(P,p.asArray(O),S).then(function(){return P})}(v,b,y)}).then(function(b){return function(w,P){return P instanceof Element?Promise.resolve().then(function(){(function(S,O){S.cssText?O.cssText=S.cssText:function(A,E){p.asArray(A).forEach(function(_){E.setProperty(_,A.getPropertyValue(_),A.getPropertyPriority(_))})}(S,O)})(window.getComputedStyle(w),P.style)}).then(function(){[":before",":after"].forEach(function(S){(function(O){var A=window.getComputedStyle(w,O),E=A.getPropertyValue("content");if(E!==""&&E!=="none"){var _=p.uid();P.className=P.className+" "+_;var C=document.createElement("style");C.appendChild(function(k,T,I){var R="."+k+":"+T,F=I.cssText?function(j){var B=j.getPropertyValue("content");return j.cssText+" content: "+B+";"}(I):function(j){return p.asArray(j).map(function(B){return B+": "+j.getPropertyValue(B)+(j.getPropertyPriority(B)?" !important":"")}).join("; ")+";"}(I);return document.createTextNode(R+"{"+F+"}")}(_,O,A)),P.appendChild(C)}})(S)})}).then(function(){w instanceof HTMLTextAreaElement&&(P.innerHTML=w.value),w instanceof HTMLInputElement&&P.setAttribute("value",w.value)}).then(function(){P instanceof SVGElement&&(P.setAttribute("xmlns","http://www.w3.org/2000/svg"),P instanceof SVGRectElement&&["width","height"].forEach(function(S){var O=P.getAttribute(S);O&&P.style.setProperty(S,O)}))}).then(function(){return P}):P}(v,b)})}(d,h.filter,!0)}).then(u).then(c).then(function(d){return h.bgcolor&&(d.style.backgr
* EventEmitter v5.2.5 - git.io/ee
* Unlicense - http://unlicense.org/
* Oliver Caldwell - http://oli.me.uk/
* @preserve
*/(function(p){"use strict";function l(){}var i=l.prototype,o=p.EventEmitter;function n(e,r){for(var a=e.length;a--;)if(e[a].listener===r)return a;return-1}function t(e){return function(){return this[e].apply(this,arguments)}}i.getListeners=function(e){var r,a,u=this._getEvents();if(e instanceof RegExp)for(a in r={},u)u.hasOwnProperty(a)&&e.test(a)&&(r[a]=u[a]);else r=u[e]||(u[e]=[]);return r},i.flattenListeners=function(e){var r,a=[];for(r=0;r<e.length;r+=1)a.push(e[r].listener);return a},i.getListenersAsObject=function(e){var r,a=this.getListeners(e);return a instanceof Array&&((r={})[e]=a),r||a},i.addListener=function(e,r){if(!function s(h){return typeof h=="function"||h instanceof RegExp||!(!h||typeof h!="object")&&s(h.listener)}(r))throw new TypeError("listener must be a function");var a,u=this.getListenersAsObject(e),c=typeof r=="object";for(a in u)u.hasOwnProperty(a)&&n(u[a],r)===-1&&u[a].push(c?r:{listener:r,once:!1});return this},i.on=t("addListener"),i.addOnceListener=function(e,r){return this.addListener(e,{listener:r,once:!0})},i.once=t("addOnceListener"),i.defineEvent=function(e){return this.getListeners(e),this},i.defineEvents=function(e){for(var r=0;r<e.length;r+=1)this.defineEvent(e[r]);return this},i.removeListener=function(e,r){var a,u,c=this.getListenersAsObject(e);for(u in c)c.hasOwnProperty(u)&&(a=n(c[u],r))!==-1&&c[u].splice(a,1);return this},i.off=t("removeListener"),i.addListeners=function(e,r){return this.manipulateListeners(!1,e,r)},i.removeListeners=function(e,r){return this.manipulateListeners(!0,e,r)},i.manipulateListeners=function(e,r,a){var u,c,s=e?this.removeListener:this.addListener,h=e?this.removeListeners:this.addListeners;if(typeof r!="object"||r instanceof RegExp)for(u=a.length;u--;)s.call(this,r,a[u]);else for(u in r)r.hasOwnProperty(u)&&(c=r[u])&&(typeof c=="function"?s.call(this,u,c):h.call(this,u,c));return this},i.removeEvent=function(e){var r,a=typeof e,u=this._getEvents();if(a==="string")delete u[e];else if(e instanceof RegExp)for(r in u)u.hasOwnProperty(r)&&e.test(r)&&delete u[r];else delete this._events;return this},i.removeAllListeners=t("removeEvent"),i.emitEvent=function(e,r){var a,u,c,s,h=this.getListenersAsObject(e);for(s in h)if(h.hasOwnProperty(s))for(a=h[s].slice(0),c=0;c<a.length;c++)(u=a[c]).once===!0&&this.removeListener(e,u.listener),u.listener.apply(this,r||[])===this._getOnceReturnValue()&&this.removeListener(e,u.listener);return this},i.trigger=t("emitEvent"),i.emit=function(e){var r=Array.prototype.slice.call(arguments,1);return this.emitEvent(e,r)},i.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},i._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},i._getEvents=function(){return this._events||(this._events={})},l.noConflict=function(){return p.EventEmitter=o,l},(f=function(){return l}.call(p,g,p,M))===void 0||(M.exports=f)})(typeof window!="undefined"?window:this||{})},function(M,x,g){var f=g(26),p=function(l){(function(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,n.__proto__=t})(o,l);var i=o.prototype;function o(n){var t,e=(t=l.call(this)||this).getDefaultCfg();return t._cfg=f.mix({},e,n),t}return i.getDefaultCfg=function(){return{}},i.get=function(n){return this._cfg[n]},i.set=function(n,t){this._cfg[n]=t},i.destroy=function(){this._cfg={},this.removeAllListeners(),this.destroyed=!0},o}(g(711));M.exports=p},function(M,x,g){var f=g(26),p=g(248),l=function(){};f.augment(l,{drawInner:function(o){var n=f.clone(this.getTotalMatrix()),t=this._attrs,e=t.x,r=t.y,a=t.width,u=t.height;o.setTransform(n[0],n[1],n[3],n[4],n[6],n[7]),o.drawImage(this.domImage,e,r,a,u)}}),f.mixin(p.Dom,[l]),M.exports=l},function(M,x,g){var f=g(26),p=g(248),l=function(){};f.augment(l,{hasClass:function(o){var n=this.get("class");return!(!n||n.indexOf(o)===-1)}}),f.mixin(p.Shape,[l]),M.exports=l},function(M,x,g){var f=g(248),p=g(26),l=function(){};p.augment(l,{findByClass:function(o){var n=[];return this.deepEach(function(t){t.hasClass(o)&&n.push(t)}),n},hasClass:function(o){var n=this.get("cl
dx="`+(t.dx||0)+`"
dy="`+(t.dy||0)+`"
stdDeviation="`+(t.blur?t.blur/10:0)+`"
flood-color="`+(t.color?t.color:"#000")+`"
flood-opacity="`+(t.opacity?t.opacity:1)+`"
/>`;e.innerHTML=r},o}();M.exports=i},function(M,x,g){var f=g(19),p=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,l=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,i=/[\d.]+:(#[^\s]+|[^\)]+\))/gi;function o(t){var e=t.match(i);if(!e)return"";var r="";return e.sort(function(a,u){return a=a.split(":"),u=u.split(":"),Number(a[0])-Number(u[0])}),f.each(e,function(a){a=a.split(":"),r+='<stop offset="'+a[0]+'" stop-color="'+a[1]+'"></stop>'}),r}var n=function(){function t(e){var r=null,a=f.uniqueId("gradient_");return e.toLowerCase()[0]==="l"?function(u,c){var s,h,d=p.exec(u),v=f.mod(f.toRadian(parseFloat(d[1])),2*Math.PI),y=d[2];v>=0&&v<.5*Math.PI?(s={x:0,y:0},h={x:1,y:1}):.5*Math.PI<=v&&v<Math.PI?(s={x:1,y:0},h={x:0,y:1}):Math.PI<=v&&v<1.5*Math.PI?(s={x:1,y:1},h={x:0,y:0}):(s={x:0,y:1},h={x:1,y:0});var m=Math.tan(v),b=m*m,w=(h.x-s.x+m*(h.y-s.y))/(b+1)+s.x,P=m*(h.x-s.x+m*(h.y-s.y))/(b+1)+s.y;c.setAttribute("x1",s.x),c.setAttribute("y1",s.y),c.setAttribute("x2",w),c.setAttribute("y2",P),c.innerHTML=o(y)}(e,r=document.createElementNS("http://www.w3.org/2000/svg","linearGradient")):function(u,c){var s=l.exec(u),h=parseFloat(s[1]),d=parseFloat(s[2]),v=parseFloat(s[3]),y=s[4];c.setAttribute("cx",h),c.setAttribute("cy",d),c.setAttribute("r",v),c.innerHTML=o(y)}(e,r=document.createElementNS("http://www.w3.org/2000/svg","radialGradient")),r.setAttribute("id",a),this.el=r,this.id=a,this.cfg=e,this}return t.prototype.match=function(e,r){return this.cfg===r},t}();M.exports=n},function(M,x,g){var f=g(19),p=g(733),l=g(732),i=g(731),o=g(730),n=g(729),t=function(){function e(a){var u=document.createElementNS("http://www.w3.org/2000/svg","defs"),c=f.uniqueId("defs_");u.id=c,a.appendChild(u),this.children=[],this.defaultArrow={},this.el=u,this.canvas=a}var r=e.prototype;return r.find=function(a,u){for(var c=this.children,s=null,h=0;h<c.length;h++)if(c[h].match(a,u)){s=c[h].id;break}return s},r.findById=function(a){for(var u=this.children,c=null,s=0;s<u.length;s++)if(u[s].id===a){c=u[s];break}return c},r.add=function(a){this.children.push(a),a.canvas=this.canvas,a.parent=this},r.getDefaultArrow=function(a,u){var c=a.stroke||a.strokeStyle;if(this.defaultArrow[c])return this.defaultArrow[c].id;var s=new i(a,u);return this.defaultArrow[c]=s,this.el.appendChild(s.el),s.id},r.addGradient=function(a){var u=new p(a);return this.el.appendChild(u.el),this.add(u),u.id},r.addArrow=function(a,u){var c=new i(a,u);return this.el.appendChild(c.el),c.id},r.addShadow=function(a){var u=new l(a);return this.el.appendChild(u.el),this.add(u),u.id},r.addPattern=function(a){var u=new n(a);return this.el.appendChild(u.el),this.add(u),u.id},r.addClip=function(a){var u=new o(a);return this.el.appendChild(u.el),this.add(u),u.id},e}();M.exports=t},function(M,x,g){var f=g(19),p=g(593).parseRadius,l=g(611),i=g(734),o={rect:"path",circle:"circle",line:"line",path:"path",marker:"path",text:"text",polygon:"polygon",image:"image",ellipse:"ellipse",dom:"foreignObject",fan:"path",group:"g"},n={opacity:"opacity",fillStyle:"fill",strokeOpacity:"stroke-opacity",fillOpacity:"fill-opacity",strokeStyle:"stroke",x:"x",y:"y",r:"r",width:"width",height:"height",x1:"x1",x2:"x2",y1:"y1",y2:"y2",lineCap:"stroke-linecap",lineJoin:"stroke-linejoin",lineWidth:"stroke-width",lineDash:"stroke-dasharray",lineDashOffset:"stroke-dashoffset",miterLimit:"stroke-miterlimit",font:"font",fontSize:"font-size",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",fontFamily:"font-family",startArrow:"marker-start",endArrow:"marker-end",path:"d",class:"class",id:"id",style:"style",preserveAspectRatio:"preserveAspectRatio"},t={top:"before-edge",middle:"central",bottom:"after-edge",alphabetic:"baseline",hanging:"hanging"},e={left:"left",start:"left",center:"middle",right:"end",end:"end"},r=function(){function a(c){if(!c)return null;var s=f.uniqueId("canvas_"),h=f.createDom('<svg id="'+s+'"></svg>');return c.appendChild(h),this.type="svg",this.canvas=h,this.context=new i(h),this.toDraw=!1,this}var u=a.prototype;return u.draw=function(c){var s=this;s.animateHandler?s.toDraw=!0:fun
`)){var v=c._attrs.x,y=s.split(`
`),m=y.length-1,b="";f.each(y,function(w,P){P===0?d==="alphabetic"?b+='<tspan x="'+v+'" dy="'+-m+'em">'+w+"</tspan>":d==="top"?b+='<tspan x="'+v+'" dy="0.9em">'+w+"</tspan>":d==="middle"?b+='<tspan x="'+v+'" dy="'+-(m-1)/2+'em">'+w+"</tspan>":d==="bottom"?b+='<tspan x="'+v+'" dy="-'+(m+.3)+'em">'+w+"</tspan>":d==="hanging"&&(b+='<tspan x="'+v+'" dy="'+(-(m-1)-.3)+'em">'+w+"</tspan>"):b+='<tspan x="'+v+'" dy="1em">'+w+"</tspan>"}),h.innerHTML=b}else h.innerHTML=s;else h.innerHTML=""},u._setClip=function(c,s){var h=c._cfg.el;if(s)if(h.hasAttribute("clip-path"))s._cfg.hasUpdate&&this._updateShape(s);else{this._createDom(s),this._updateShape(s);var d=this.context.addClip(s);h.setAttribute("clip-path","url(#"+d+")")}else h.removeAttribute("clip-path")},u._setColor=function(c,s,h){var d=c._cfg.el,v=this.context;if(h)if(h=h.trim(),/^[r,R,L,l]{1}[\s]*\(/.test(h)){var y=v.find("gradient",h);y||(y=v.addGradient(h)),d.setAttribute(n[s],"url(#"+y+")")}else if(/^[p,P]{1}[\s]*\(/.test(h)){var m=v.find("pattern",h);m||(m=v.addPattern(h)),d.setAttribute(n[s],"url(#"+m+")")}else d.setAttribute(n[s],h);else d.setAttribute(n[s],"none")},u._setShadow=function(c){var s=c._cfg.el,h=c._attrs,d={dx:h.shadowOffsetX,dy:h.shadowOffsetY,blur:h.shadowBlur,color:h.shadowColor};if(d.dx||d.dy||d.blur||d.color){var v=this.context.find("filter",d);v||(v=this.context.addShadow(d,this)),s.setAttribute("filter","url(#"+v+")")}else s.removeAttribute("filter")},a}();M.exports=r},function(M,x,g){M.exports={painter:g(735),getShape:g(728)}},function(M,x,g){var f=g(19),p=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,l=/[^\s\,]+/gi,i=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,o=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,n=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,t=/[\d.]+:(#[^\s]+|[^\)]+\))/gi;function e(r,a){var u=r.match(t);f.each(u,function(c){c=c.split(":"),a.addColorStop(c[0],c[1])})}M.exports={parsePath:function(a){return a=a||[],f.isArray(a)?a:f.isString(a)?(a=a.match(p),f.each(a,function(u,c){if((u=u.match(l))[0].length>1){var s=u[0].charAt(0);u.splice(1,0,u[0].substr(1)),u[0]=s}f.each(u,function(h,d){isNaN(h)||(u[d]=+h)}),a[c]=u}),a):void 0},parseStyle:function(a,u,c){if(f.isString(a)){if(a[1]==="("||a[2]==="("){if(a[0]==="l")return function(s,h,d){var v,y,m=i.exec(s),b=f.mod(f.toRadian(parseFloat(m[1])),2*Math.PI),w=m[2],P=h.getBBox();b>=0&&b<.5*Math.PI?(v={x:P.minX,y:P.minY},y={x:P.maxX,y:P.maxY}):.5*Math.PI<=b&&b<Math.PI?(v={x:P.maxX,y:P.minY},y={x:P.minX,y:P.maxY}):Math.PI<=b&&b<1.5*Math.PI?(v={x:P.maxX,y:P.maxY},y={x:P.minX,y:P.minY}):(v={x:P.minX,y:P.maxY},y={x:P.maxX,y:P.minY});var S=Math.tan(b),O=S*S,A=(y.x-v.x+S*(y.y-v.y))/(O+1)+v.x,E=S*(y.x-v.x+S*(y.y-v.y))/(O+1)+v.y,_=d.createLinearGradient(v.x,v.y,A,E);return e(w,_),_}(a,u,c);if(a[0]==="r")return function(s,h,d){var v=o.exec(s),y=parseFloat(v[1]),m=parseFloat(v[2]),b=parseFloat(v[3]),w=v[4];if(b===0){var P=w.match(t);return P[P.length-1].split(":")[1]}var S=h.getBBox(),O=S.maxX-S.minX,A=S.maxY-S.minY,E=Math.sqrt(O*O+A*A)/2,_=d.createRadialGradient(S.minX+O*y,S.minY+A*m,b*E,S.minX+O/2,S.minY+A/2,E);return e(w,_),_}(a,u,c);if(a[0]==="p")return function(s,h,d){if(h.get("patternSource")&&h.get("patternSource")===s)return h.get("pattern");var v,y,m=n.exec(s),b=m[1],w=m[2];function P(){v=d.createPattern(y,b),h.setSilent("pattern",v),h.setSilent("patternSource",s)}switch(b){case"a":b="repeat";break;case"x":b="repeat-x";break;case"y":b="repeat-y";break;case"n":b="no-repeat";break;default:b="no-repeat"}return y=new Image,w.match(/^data:/i)||(y.crossOrigin="Anonymous"),y.src=w,y.complete?P():(y.onload=P,y.src=y.src),v}(a,u,c)}return a}}}},function(M,x,g){var f=g(19),p=g(737),l=["fillStyle","font","globalAlpha","lineCap","lineWidth","lineJoin","miterLimit","shadowBlur","shadowColor","shadowOffsetX","shadowOffsetY","strokeStyle","textAlign","textBaseline","lineDash","lineDashOffset"],i=function(){function o(t){if(!t)return null;var e=f.uniqueId("canvas_"),r=f.createDom('<canvas id="'+e+'"></canvas>');return t.appendChild(r),this.type="canvas",this.canvas=r,this.context=r.getContext("2d"),this.toDraw=!1,this}var
background: #2F3129;
color: #8F908A
}
.ace-monokai .ace_print-margin {
width: 1px;
background: #555651
}
.ace-monokai {
background-color: #272822;
color: #F8F8F2
}
.ace-monokai .ace_cursor {
color: #F8F8F0
}
.ace-monokai .ace_marker-layer .ace_selection {
background: #49483E
}
.ace-monokai.ace_multiselect .ace_selection.ace_start {
box-shadow: 0 0 3px 0px #272822;
}
.ace-monokai .ace_marker-layer .ace_step {
background: rgb(102, 82, 0)
}
.ace-monokai .ace_marker-layer .ace_bracket {
margin: -1px 0 0 -1px;
border: 1px solid #49483E
}
.ace-monokai .ace_marker-layer .ace_active-line {
background: #202020
}
.ace-monokai .ace_gutter-active-line {
background-color: #272727
}
.ace-monokai .ace_marker-layer .ace_selected-word {
border: 1px solid #49483E
}
.ace-monokai .ace_invisible {
color: #52524d
}
.ace-monokai .ace_entity.ace_name.ace_tag,
.ace-monokai .ace_keyword,
.ace-monokai .ace_meta.ace_tag,
.ace-monokai .ace_storage {
color: #F92672
}
.ace-monokai .ace_punctuation,
.ace-monokai .ace_punctuation.ace_tag {
color: #fff
}
.ace-monokai .ace_constant.ace_character,
.ace-monokai .ace_constant.ace_language,
.ace-monokai .ace_constant.ace_numeric,
.ace-monokai .ace_constant.ace_other {
color: #AE81FF
}
.ace-monokai .ace_invalid {
color: #F8F8F0;
background-color: #F92672
}
.ace-monokai .ace_invalid.ace_deprecated {
color: #F8F8F0;
background-color: #AE81FF
}
.ace-monokai .ace_support.ace_constant,
.ace-monokai .ace_support.ace_function {
color: #66D9EF
}
.ace-monokai .ace_fold {
background-color: #A6E22E;
border-color: #F8F8F2
}
.ace-monokai .ace_storage.ace_type,
.ace-monokai .ace_support.ace_class,
.ace-monokai .ace_support.ace_type {
font-style: italic;
color: #66D9EF
}
.ace-monokai .ace_entity.ace_name.ace_function,
.ace-monokai .ace_entity.ace_other,
.ace-monokai .ace_entity.ace_other.ace_attribute-name,
.ace-monokai .ace_variable {
color: #A6E22E
}
.ace-monokai .ace_variable.ace_parameter {
font-style: italic;
color: #FD971F
}
.ace-monokai .ace_string {
color: #E6DB74
}
.ace-monokai .ace_comment {
color: #75715E
}
.ace-monokai .ace_indent-guide {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWPQ0FD0ZXBzd/wPAAjVAoxeSgNeAAAAAElFTkSuQmCC) right repeat-y
}
.ace-monokai .ace_indent-guide-active {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQIW2PQ1dX9zzBz5sz/ABCcBFFentLlAAAAAElFTkSuQmCC) right repeat-y;
}
`}),ace.define("ace/theme/monokai",["require","exports","module","ace/theme/monokai.css","ace/lib/dom"],function(g,f,p){f.isDark=!0,f.cssClass="ace-monokai",f.cssText=g("./monokai.css");var l=g("../lib/dom");l.importCssString(f.cssText,f.cssClass,!1)}),function(){ace.require(["ace/theme/monokai"],function(g){N&&(N.exports=g)})}()},42328:function(N,M,x){(function(g,f){N.exports=f(x(20532))})(window,function(g){return function(f){var p={};function l(i){if(p[i])return p[i].exports;var o=p[i]={i,l:!1,exports:{}};return f[i].call(o.exports,o,o.exports,l),o.l=!0,o.exports}return l.m=f,l.c=p,l.d=function(i,o,n){l.o(i,o)||Object.defineProperty(i,o,{enumerable:!0,get:n})},l.r=function(i){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},l.t=function(i,o){if(1&o&&(i=l(i)),8&o||4&o&&typeof i=="object"&&i&&i.__esModule)return i;var n=Object.create(null);if(l.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:i}),2&o&&typeof i!="string")for(var t in i)l.d(n,t,function(e){return i[e]}.bind(null,t));return n},l.n=function(i){var o=i&&i.__esModule?function(){return i.default}:function(){return i};return l.d(o,"a",o),o},l.o=function(i,o){return Object.prototype.hasOwnProperty.call(i,o)},l.p="",l(l.s=25)}([function(f,p,l){"use strict";function i(m){for(var b=1;b<arguments.length;b++){var w=arguments[b]!=null?arguments[b]:{},P=Object.keys(w);typeof Object.getOwnPropertySymbols=="function"&&(P=P.concat(Object.getOwnPropertySymbols(w).filter(function(S){return Object.getOwnPropertyDescriptor(w,S).enumerable}))),P.forEach(function(S){o(m,S,w[S])})}return m}function o(m,b,w){return b in m?Object.defineProperty(m,b,{value:w,enumerable:!0,configurable:!0,writable:!0}):m[b]=w,m}function n(m,b,w){return m.addShape("path",{attrs:i({},w,{path:b})})}function t(m){return[{x:m.centerX,y:m.minY},{x:m.maxX,y:m.centerY},{x:m.centerX,y:m.maxY},{x:m.minX,y:m.centerY}]}function e(m,b){var w,P,S=t(b),O=1/0;return S.forEach(function(A,E){var _,C,k=(_=m,C=A,Math.sqrt(Math.pow(_.x-C.x,2)+Math.pow(_.y-C.y,2)));k<O&&(w=A,O=k,P=E)}),{point:w,index:P}}function r(m,b){return{x:(m[b].x+m[b+1].x)/2,y:(m[b].y+m[b+1].y)/2}}function a(m,b){var w=m.point,P=m.index,S=b.point,O=b.index;return w.x===S.x||w.y===S.y?[w,S]:P===2&&O===0||P===0&&O===2?[w,{x:w.x,y:(w.y+S.y)/2},{x:S.x,y:(w.y+S.y)/2},S]:P!==2&&P!==0||O!==3&&O!==1?P!==1&&P!==3||O!==2&&O!==0?[w,{x:(w.x+S.x)/2,y:w.y},{x:(w.x+S.x)/2,y:S.y},S]:[w,{x:S.x,y:w.y},S]:[w,{x:w.x,y:S.y},S]}function u(m,b){return m[b].x===m[b+1].x}function c(m,b,w){return u(b,w)?m.x===b[w].x&&(m.y-b[w].y)*(m.y-b[w+1].y)<=0:m.y===b[w].y&&(m.x-b[w].x)*(m.x-b[w+1].x)<=0}function s(m,b){for(var w,P,S,O,A,E=1/0,_=0;_<b.length-1;_++){var C=u(b,_),k=void 0;if(c(k=C?{x:b[_].x,y:m.y}:{x:m.x,y:b[_].y},b,_)){var T=(O=m,A=k,Math.pow(O.x-A.x,2)+Math.pow(O.y-A.y,2));E>T&&(E=T,w=_,P=k,S=C)}}return{verticalPoint:P,index:w,vertical:S}}function h(m,b,w){var P,S,O,A=function(k){if(!k)return{x:void 0,y:void 0};var T=k.getBBox();return{x:T.centerX,y:T.centerY}}(b),E=m.getLinkPoints(A)[0];if(w){var _=t(m.getBBox())[w];P=m.getBBox(),S=_,O={x:b.getBBox().centerX,y:b.getBBox().centerY},((P.centerX-S.x)*(P.centerX-O.x)>0||(P.centerY-S.y)*(P.centerY-O.y)>0)&&(E=_)}E=e(E,m.getBBox());var C=b.getLinkPoints(E.point)[0];return{sourcePoint:E,targetPoint:C=e(C,b.getBBox())}}function d(m,b,w){return u(b,w)?m.minX>b[w].x?1:m.maxX<b[w].x?-1:0:m.minY>b[w].y?1:m.maxY<b.y?-1:0}function v(m,b,w){return u(b,w)?{x:b[w].x,y:m.y}:{x:m.x,y:b[w].y}}function y(m){var b;switch(m){case 0:b=2;break;case 1:b=3;break;case 3:b=1;break;default:b=0}return b}l.d(p,"b",function(){return n}),l.d(p,"c",function(){return t}),l.d(p,"f",function(){return e}),l.d(p,"j",function(){return r}),l.d(p,"h",function(){return a}),l.d(p,"i",function(){return u}),l.d(p,"l",function(){return c}),l.d(p,"e",function(){return s}),l.d(p,"d",function(){return h}),l.d(p,"a",function(){return d}),l.d(p,"g",function(){return v}),l.d(p,"k",function(){return y})},function(f,p,l){function i(u){for(var c=1;c<argum
`+e.substring(c,e.length),c+=1,u=0)}return e}})},function(f,p){f.exports={orbitGap:10,nodeDefaultShape:"flow-node",edgeDefaultShape:"flow-smooth",groupDefaultShape:"flow-group",nodeActivedOutterStyle:{lineWidth:0},groupSelectedOutterStyle:{stroke:"#E0F0FF",lineWidth:2},nodeSelectedOutterStyle:{stroke:"#E0F0FF",lineWidth:2},edgeActivedStyle:{stroke:"#1890FF",strokeOpacity:.92},nodeActivedStyle:{fill:"#F3F9FF",stroke:"#1890FF"},groupActivedStyle:{stroke:"#1890FF"},edgeSelectedStyle:{lineWidth:2,strokeOpacity:.92,stroke:"#A3B1BF"},nodeSelectedStyle:{fill:"#F3F9FF",stroke:"#1890FF"},groupSelectedStyle:{stroke:"#1890FF",fillOpacity:.92},nodeStyle:{stroke:"#CED4D9",fill:"#FFFFFF",shadowOffsetX:0,shadowOffsetY:4,shadowBlur:10,shadowColor:"rgba(13, 26, 38, 0.08)",lineWidth:1,radius:4,fillOpacity:.92},edgeStyle:{stroke:"#A3B1BF",strokeOpacity:.92,lineWidth:1,lineAppendWidth:8,endArrow:!0},groupBackgroundPadding:[40,10,10,10],groupLabelOffsetX:10,groupLabelOffsetY:10,edgeLabelStyle:{fill:"#666",textAlign:"center",textBaseline:"middle"},edgeLabelRectPadding:4,edgeLabelRectStyle:{fill:"white"},nodeLabelStyle:{fill:"#666",textAlign:"center",textBaseline:"middle"},groupStyle:{stroke:"#CED4D9",radius:4},groupLabelStyle:{fill:"#666",textAlign:"left",textBaseline:"top"},multiSelectRectStyle:{fill:"#1890FF",fillOpacity:.08,stroke:"#1890FF",opacity:.1},dragNodeHoverToGroupStyle:{stroke:"#1890FF",lineWidth:2},dragNodeLeaveFromGroupStyle:{stroke:"#BAE7FF",lineWidth:2},anchorPointStyle:{radius:3.5,fill:"#fff",stroke:"#1890FF",lineAppendWidth:12},anchorHotsoptStyle:{radius:12,fill:"#1890FF",fillOpacity:.25},anchorHotsoptActivedStyle:{radius:14},anchorPointHoverStyle:{radius:4,fill:"#1890FF",fillOpacity:1,stroke:"#1890FF"},nodeControlPointStyle:{radius:4,fill:"#fff",shadowBlur:4,shadowColor:"#666"},edgeControlPointStyle:{radius:6,symbol:"square",lineAppendWidth:6,fillOpacity:0,strokeOpacity:0},nodeSelectedBoxStyle:{stroke:"#C2C2C2"},cursor:{panningCanvas:"-webkit-grabbing",beforePanCanvas:"-webkit-grab",hoverNode:"move",hoverEffectiveAnchor:"crosshair",hoverEdge:"default",hoverGroup:"move",hoverUnEffectiveAnchor:"default",hoverEdgeControllPoint:"crosshair",multiSelect:"crosshair"},zIndex:{anchorPoint:3,anchorHotsopt:2,selectedBox:1,controlPoint:4},polylineEdgeStyle:{offset:10,borderRadius:5},addToGroupDelayTime:400,outFromGroupDelayTime:400}},function(f,p,l){function i(u){for(var c=1;c<arguments.length;c++){var s=arguments[c]!=null?arguments[c]:{},h=Object.keys(s);typeof Object.getOwnPropertySymbols=="function"&&(h=h.concat(Object.getOwnPropertySymbols(s).filter(function(d){return Object.getOwnPropertyDescriptor(s,d).enumerable}))),h.forEach(function(d){o(u,d,s[d])})}return u}function o(u,c,s){return c in u?Object.defineProperty(u,c,{value:s,enumerable:!0,configurable:!0,writable:!0}):u[c]=s,u}var n=l(7),t=l(28),e=l(29),r={whitespace:{9:"Tab",13:"Enter",32:"Space"},fn:{112:"f1 ",113:"f2 ",114:"f3 ",115:"f4 ",116:"f5 ",117:"f6 ",118:"f7 ",119:"f8 ",120:"f9 ",121:"f10",122:"f11",123:"f12"},letter:{65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z"},number:{48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9"},navigation:{37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown"},symbol:{110:"decimal point",186:"semi-colon",187:"=",188:"comma",189:"-",190:"period ",191:"/",192:"grave accent",219:"open bracket ",220:"back slash ",221:"close bracket ",222:"single quote "},smallNumberKey:{96:"numpad 0 ",97:"numpad 1 ",98:"numpad 2 ",99:"numpad 3 ",100:"numpad 4 ",101:"numpad 5 ",102:"numpad 6 ",103:"numpad 7 ",104:"numpad 8 ",105:"numpad 9 "},modifierKey:{16:"Shift",17:"Ctrl ",18:"Alt",20:"caps lock"},escKey:{8:"Backspace",46:"Delete",27:"Escape"},homeKey:{91:"Windows Key / Left command",92:"right window key ",93:"Windows Menu"},computeKey:{106:"multiply ",107:"add",109:"subtract ",111:"divide "}},a=i({},n.Util,t,{getNodeSize:function(u){if(u){if(n.Util.isNumber(u))return[u,u];if(n.Util.isString(u)){if(
* EventEmitter v5.2.6 - git.io/ee
* Unlicense - http://unlicense.org/
* Oliver Caldwell - https://oli.me.uk/
* @preserve
*/(function(o){"use strict";function n(){}var t=n.prototype,e=o.EventEmitter;function r(u,c){for(var s=u.length;s--;)if(u[s].listener===c)return s;return-1}function a(u){return function(){return this[u].apply(this,arguments)}}t.getListeners=function(u){var c,s,h=this._getEvents();if(u instanceof RegExp)for(s in c={},h)h.hasOwnProperty(s)&&u.test(s)&&(c[s]=h[s]);else c=h[u]||(h[u]=[]);return c},t.flattenListeners=function(u){var c,s=[];for(c=0;c<u.length;c+=1)s.push(u[c].listener);return s},t.getListenersAsObject=function(u){var c,s=this.getListeners(u);return s instanceof Array&&((c={})[u]=s),c||s},t.addListener=function(u,c){if(!function v(y){return typeof y=="function"||y instanceof RegExp||!(!y||typeof y!="object")&&v(y.listener)}(c))throw new TypeError("listener must be a function");var s,h=this.getListenersAsObject(u),d=typeof c=="object";for(s in h)h.hasOwnProperty(s)&&r(h[s],c)===-1&&h[s].push(d?c:{listener:c,once:!1});return this},t.on=a("addListener"),t.addOnceListener=function(u,c){return this.addListener(u,{listener:c,once:!0})},t.once=a("addOnceListener"),t.defineEvent=function(u){return this.getListeners(u),this},t.defineEvents=function(u){for(var c=0;c<u.length;c+=1)this.defineEvent(u[c]);return this},t.removeListener=function(u,c){var s,h,d=this.getListenersAsObject(u);for(h in d)d.hasOwnProperty(h)&&(s=r(d[h],c))!==-1&&d[h].splice(s,1);return this},t.off=a("removeListener"),t.addListeners=function(u,c){return this.manipulateListeners(!1,u,c)},t.removeListeners=function(u,c){return this.manipulateListeners(!0,u,c)},t.manipulateListeners=function(u,c,s){var h,d,v=u?this.removeListener:this.addListener,y=u?this.removeListeners:this.addListeners;if(typeof c!="object"||c instanceof RegExp)for(h=s.length;h--;)v.call(this,c,s[h]);else for(h in c)c.hasOwnProperty(h)&&(d=c[h])&&(typeof d=="function"?v.call(this,h,d):y.call(this,h,d));return this},t.removeEvent=function(u){var c,s=typeof u,h=this._getEvents();if(s==="string")delete h[u];else if(u instanceof RegExp)for(c in h)h.hasOwnProperty(c)&&u.test(c)&&delete h[c];else delete this._events;return this},t.removeAllListeners=a("removeEvent"),t.emitEvent=function(u,c){var s,h,d,v,y=this.getListenersAsObject(u);for(v in y)if(y.hasOwnProperty(v))for(s=y[v].slice(0),d=0;d<s.length;d++)(h=s[d]).once===!0&&this.removeListener(u,h.listener),h.listener.apply(this,c||[])===this._getOnceReturnValue()&&this.removeListener(u,h.listener);return this},t.trigger=a("emitEvent"),t.emit=function(u){var c=Array.prototype.slice.call(arguments,1);return this.emitEvent(u,c)},t.setOnceReturnValue=function(u){return this._onceReturnValue=u,this},t._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},t._getEvents=function(){return this._events||(this._events={})},n.noConflict=function(){return o.EventEmitter=e,n},(i=function(){return n}.call(o,l,o,f))===void 0||(f.exports=i)})(typeof window!="undefined"?window:this||{})},function(f,p,l){var i=l(7).Util;f.exports={getGroupIconPath:function(){return"M9.75,9.60000014 L3.75,9.60000014 C3.33578644,9.60000014 3,9.2865995 3,8.90000022 C3,8.51340093 3.33578644,8.20000029 3.75,8.20000029 L9.75,8.20000029 C10.1642136,8.20000029 10.5,8.51340093 10.5,8.90000022 C10.5,9.2865995 10.1642136,9.60000014 9.75,9.60000014 M3,11.6999999 C3,11.3134006 3.33578644,11 3.75,11 L6.75,11 C7.16421356,11 7.5,11.3134006 7.5,11.6999999 C7.5,12.0865992 7.16421356,12.3999999 6.75,12.3999999 L3.75,12.3999999 C3.33578644,12.3999999 3,12.0865992 3,11.6999999 M3.75,13.7999997 L6.75,13.7999997 C7.16421356,13.7999997 7.5,14.1134004 7.5,14.4999996 C7.5,14.8865989 7.16421356,15.1999996 6.75,15.1999996 L3.75,15.1999996 C3.33578644,15.1999996 3,14.8865989 3,14.4999996 C3,14.1134004 3.33578644,13.7999997 3.75,13.7999997 M16.4985,4.00000072 L1.5015,4.00000072 C0.674533504,3.99922416 0.00289396564,4.6232696 0,5.39510058 L0,16.6048994 C0.00289396564,17.3767304 0.674533504,18.0007758 1.5015,17.9999993 L16.4985,17.9999993 C17.3254665,18.0007758 17.997106,17.3767304 18,16.6048994 L18,5.39510058 C17.997106,4.6232696 17.3254665,3.99922416 1
<div style="
width: 11px;
height: 11px;
cursor: copy;
background-image: url(https://gw.alipayobjects.com/zos/rmsportal/yWAiQOmucbYMCpwkvTBP.svg)
"></div>
`},bindEvent:function(m,b){var w=this,P=b.getGraph(),S=P.getRootGroup();return m.setAttribute("draggable","true"),[u.addEventListener(m,"dragstart",function(){var O=w.item,A=function(C){for(var k=1;k<arguments.length;k++){var T=arguments[k]!=null?arguments[k]:{},I=Object.keys(T);typeof Object.getOwnPropertySymbols=="function"&&(I=I.concat(Object.getOwnPropertySymbols(T).filter(function(R){return Object.getOwnPropertyDescriptor(T,R).enumerable}))),I.forEach(function(R){o(C,R,T[R])})}return C}({},b.get("addEdgeModel"),{source:O.id}),E=O.getBBox(),_=b.getDelegation([{isEdge:!0}],S);b.setSignal("dragEdge",!0),b.beginAdd("edge",A),b.set("addEdgeConfig",{addModel:A,delegation:_,startPoint:{x:E.centerX,y:E.centerY},sourceItem:O}),m.hide()}),u.addEventListener(m,"click",function(O){var A=O.clientX,E=O.clientY,_=b.editor,C=w.item,k=P.getPointByClient({x:A,y:E}),T=C.getBBox(),I=C.getModel(),R=[k.x-T.centerX,k.y-T.centerY],F=u.vec2.length(R);if(u.vec2.scale(R,R,160/F),_)_.executeCommand("copyAdjacent",{copyNode:C,x:k.x+R[0],y:k.y+R[1]});else{var j=u.clone(I);j.x=k.x+R[0],j.y=k.y+R[1],P.add(C.type,j)}})]}}}}])&&n(d.prototype,v),y&&n(d,y),h}();f.exports=c},function(f,p,l){var i=l(2),o=l(5),n={};function t(e){e.controlPointShapes&&i.each(e.controlPointShapes,function(r){r.remove()}),e.controlPointShapes=[],e.isControlPointShow=!1}n.INIT="_initResize",n.CFG={nodeResizeable:!1,edgeResizeable:!0},n.AUGMENT={_initResize:function(){var e=this,r=this.get("_graph"),a=this.get("nodeResizeable"),u=this.get("edgeResizeable");a&&r.on("afteritemdraw",function(c){c.item.type==="node"&&c.item.isVisible()&&e.drawControlPoints(c.item)}),u&&r.on("afteritemdraw",function(c){c.item.type==="edge"&&c.item.isVisible()&&e.drawControlPoints(c.item)}),r.on("afteritemhide",function(c){var s;c.item.isControlPointShow&&((s=c.item).controlPointShapes&&i.each(s.controlPointShapes,function(h){h.hide()}),s.isControlPointShow=!1)}),r.on("afteritemshow",function(c){var s;!c.item.isControlPointShow&&((s=c.item).controlPointShapes&&i.each(s.controlPointShapes,function(h){h.show()}),s.isControlPointShow=!0)}),r.on("beforeitemdestroy",function(c){c.item.isControlPointShow&&t(c.item)})},drawControlPoints:function(e){var r,a,u,c,s,h,d,v,y,m=this.get("_graph").getRootGroup(),b=this.get("nodeResizeable"),w=this.get("edgeResizeable");e.type==="node"?b&&function(P,S){var O=P.getBBox(),A=[{x:O.minX,y:O.minY},{x:O.maxX,y:O.minY},{x:O.minX,y:O.maxY},{x:O.maxX,y:O.maxY}];t(P);var E=S.addShape("rect",{attrs:i.mix({},o.nodeSelectedBoxStyle,{symbol:"square",x:O.minX,y:O.minY,width:O.maxX-O.minX,height:O.maxY-O.minY})});P.controlPointShapes.push(E),i.each(A,function(_){var C=S.addShape("marker",{attrs:i.mix({},o.nodeControlPointStyle,{symbol:"square",x:_.x,y:_.y}),freezePoint:{x:_.x,y:_.y},item:P});P.controlPointShapes.push(C)})}(e,m):e.type==="edge"&&w&&(a=m,u=(r=e).getKeyShape().attr("path"),c=u[0],s=c.length,h=u[u.length-1],d=h.length,v=[{x:c[s-2],y:c[s-1]},{x:h[d-2],y:h[d-1]}],y=r.getModel(),t(r),i.each(v,function(P,S){var O=a.addShape("marker",{attrs:i.mix({},o.edgeControlPointStyle,{x:P.x,y:P.y}),freezePoint:{x:P.x,y:P.y},item:r});O.eventPreFix="edgeControlPoint",O.getSourcePoint=function(){return v[0]},O.getTargetPoint=function(){return v[v.length-1]},O.getItem=function(){return r},O.isSourceEndPoint=function(){return y.source&&S===0},O.isTargetEndPoint=function(){return y.target&&S===v.length-1},r.controlPointShapes.push(O)})),e.isControlPointShow=!0}},f.exports=n},function(f,p,l){function i(e){for(var r=1;r<arguments.length;r++){var a=arguments[r]!=null?arguments[r]:{},u=Object.keys(a);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(a).filter(function(c){return Object.getOwnPropertyDescriptor(a,c).enumerable}))),u.forEach(function(c){o(e,c,a[c])})}return e}function o(e,r,a){return r in e?Object.defineProperty(e,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[r]=a,e}var n=l(2),t={};t.AUGMENT={addOutterShape:function(e,r){this.clearOutterShape(e);var a=r.lineWidth,u=e.getKeyShape(),c=e.getGraphicGroup(),s=u.attr(),h=u.g