2 lines
98 KiB
JavaScript
2 lines
98 KiB
JavaScript
var Yt=(function(){var X,te,G,Be,Ke,ct,dt,Je,Re,ft,Mt,yt,It,pe="leader-line",Oe=1,Me=2,Pe=3,Le=4,$e={top:Oe,right:Me,bottom:Pe,left:Le},Ct=1,Lt=2,mt=3,St=4,At=5,Vt={straight:Ct,arc:Lt,fluid:mt,magnet:St,grid:At},Ie="behind",Xt=pe+"-defs",qt='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" id="leader-line-defs"><style><![CDATA[.leader-line{position:absolute;overflow:visible!important;pointer-events:none!important;font-size:16px}#leader-line-defs{width:0;height:0;position:absolute;left:0;top:0}.leader-line-line-path{fill:none}.leader-line-mask-bg-rect{fill:#fff}.leader-line-caps-mask-anchor,.leader-line-caps-mask-marker-shape{fill:#000}.leader-line-caps-mask-anchor{stroke:#000}.leader-line-caps-mask-line,.leader-line-plugs-face{stroke:transparent}.leader-line-line-mask-shape{stroke:#fff}.leader-line-line-outline-mask-shape{stroke:#000}.leader-line-plug-mask-shape{fill:#fff;stroke:#000}.leader-line-plug-outline-mask-shape{fill:#000;stroke:#fff}.leader-line-areaAnchor{position:absolute;overflow:visible!important}]]></style><defs><circle id="leader-line-disc" cx="0" cy="0" r="5"/><rect id="leader-line-square" x="-5" y="-5" width="10" height="10"/><polygon id="leader-line-arrow1" points="-8,-8 8,0 -8,8 -5,0"/><polygon id="leader-line-arrow2" points="-4,-8 4,0 -4,8 -7,5 -2,0 -7,-5"/><polygon id="leader-line-arrow3" points="-4,-5 8,0 -4,5"/><g id="leader-line-hand"><path style="fill: #fcfcfc" d="M9.19 11.14h4.75c1.38 0 2.49-1.11 2.49-2.49 0-.51-.15-.98-.41-1.37h1.3c1.38 0 2.49-1.11 2.49-2.49s-1.11-2.53-2.49-2.53h1.02c1.38 0 2.49-1.11 2.49-2.49s-1.11-2.49-2.49-2.49h14.96c1.37 0 2.49-1.11 2.49-2.49s-1.11-2.49-2.49-2.49H16.58C16-9.86 14.28-11.14 9.7-11.14c-4.79 0-6.55 3.42-7.87 4.73H-2.14v13.23h3.68C3.29 9.97 5.47 11.14 9.19 11.14L9.19 11.14Z"/><path style="fill: black" d="M13.95 12c1.85 0 3.35-1.5 3.35-3.35 0-.17-.02-.34-.04-.51h.07c1.85 0 3.35-1.5 3.35-3.35 0-.79-.27-1.51-.72-2.08 1.03-.57 1.74-1.67 1.74-2.93 0-.59-.16-1.15-.43-1.63h12.04c1.85 0 3.35-1.5 3.35-3.35 0-1.85-1.5-3.35-3.35-3.35H17.2C16.26-10.93 13.91-12 9.7-12 5.36-12 3.22-9.4 1.94-7.84c0 0-.29.33-.5.57-.63 0-3.58 0-3.58 0C-2.61-7.27-3-6.88-3-6.41v13.23c0 .47.39.86.86.86 0 0 2.48 0 3.2 0C2.9 10.73 5.29 12 9.19 12L13.95 12ZM9.19 10.28c-3.46 0-5.33-1.05-6.9-3.87-.15-.27-.44-.44-.75-.44 0 0-1.81 0-2.82 0V-5.55c1.06 0 3.11 0 3.11 0 .25 0 .44-.06.61-.25l.83-.95c1.23-1.49 2.91-3.53 6.43-3.53 3.45 0 4.9.74 5.57 1.72h-4.3c-.48 0-.86.38-.86.86s.39.86.86.86h22.34c.9 0 1.63.73 1.63 1.63 0 .9-.73 1.63-1.63 1.63H15.83c-.48 0-.86.38-.86.86 0 .47.39.86.86.86h2.52c.9 0 1.63.73 1.63 1.63s-.73 1.63-1.63 1.63h-3.12c-.48 0-.86.38-.86.86 0 .47.39.86.86.86h2.11c.88 0 1.63.76 1.63 1.67 0 .9-.73 1.63-1.63 1.63h-3.2c-.48 0-.86.39-.86.86 0 .47.39.86.86.86h1.36c.05.16.09.34.09.51 0 .9-.73 1.63-1.63 1.63C13.95 10.28 9.19 10.28 9.19 10.28Z"/></g><g id="leader-line-crosshair"><path d="M0-78.97c-43.54 0-78.97 35.43-78.97 78.97 0 43.54 35.43 78.97 78.97 78.97s78.97-35.43 78.97-78.97C78.97-43.54 43.55-78.97 0-78.97ZM76.51-1.21h-9.91v-9.11h-2.43v9.11h-11.45c-.64-28.12-23.38-50.86-51.5-51.5V-64.17h9.11V-66.6h-9.11v-9.91C42.46-75.86 75.86-42.45 76.51-1.21ZM-1.21-30.76h-9.11v2.43h9.11V-4.2c-1.44.42-2.57 1.54-2.98 2.98H-28.33v-9.11h-2.43v9.11H-50.29C-49.65-28-27.99-49.65-1.21-50.29V-30.76ZM-30.76 1.21v9.11h2.43v-9.11H-4.2c.42 1.44 1.54 2.57 2.98 2.98v24.13h-9.11v2.43h9.11v19.53C-27.99 49.65-49.65 28-50.29 1.21H-30.76ZM1.22 30.75h9.11v-2.43h-9.11V4.2c1.44-.42 2.56-1.54 2.98-2.98h24.13v9.11h2.43v-9.11h19.53C49.65 28 28 49.65 1.22 50.29V30.75ZM30.76-1.21v-9.11h-2.43v9.11H4.2c-.42-1.44-1.54-2.56-2.98-2.98V-28.33h9.11v-2.43h-9.11V-50.29C28-49.65 49.65-28 50.29-1.21H30.76ZM-1.21-76.51v9.91h-9.11v2.43h9.11v11.45c-28.12.64-50.86 23.38-51.5 51.5H-64.17v-9.11H-66.6v9.11h-9.91C-75.86-42.45-42.45-75.86-1.21-76.51ZM-76.51 1.21h9.91v9.11h2.43v-9.11h11.45c.64 28.12 23.38 50.86 51.5 51.5v11.45h-9.11v2.43h9.11v9.91C-42.45 75.86-75.86 42.45-76.51 1.21ZM1.22 76.51v-9.91h9.11v-2.43h-9.11v-11.45c28.12-.64 50.86-23.38 51.5-51.5h11.45v9.11h2.43v-9.11h9.91C75.86 42.45 42.45 75.86 1.22 76.51Z"/><path d="M0 83.58-7.1 96 7.1 96Z"/><path d="M0-83.58 7.1-96-7.1-96"/><path d="M83.58 0 96 7.1 96-7.1Z"/><path d="M-83.58 0-96-7.1-96 7.1Z"/></g></defs></svg>',et={disc:{elmId:"leader-line-disc",noRotate:!0,bBox:{left:-5,top:-5,width:10,height:10,right:5,bottom:5},widthR:2.5,heightR:2.5,bCircle:5,sideLen:5,backLen:5,overhead:0,outlineBase:1,outlineMax:4},square:{elmId:"leader-line-square",noRotate:!0,bBox:{left:-5,top:-5,width:10,height:10,right:5,bottom:5},widthR:2.5,heightR:2.5,bCircle:5,sideLen:5,backLen:5,overhead:0,outlineBase:1,outlineMax:4},arrow1:{elmId:"leader-line-arrow1",bBox:{left:-8,top:-8,width:16,height:16,right:8,bottom:8},widthR:4,heightR:4,bCircle:8,sideLen:8,backLen:8,overhead:8,outlineBase:2,outlineMax:1.5},arrow2:{elmId:"leader-line-arrow2",bBox:{left:-7,top:-8,width:11,height:16,right:4,bottom:8},widthR:2.75,heightR:4,bCircle:8,sideLen:8,backLen:7,overhead:4,outlineBase:1,outlineMax:1.75},arrow3:{elmId:"leader-line-arrow3",bBox:{left:-4,top:-5,width:12,height:10,right:8,bottom:5},widthR:3,heightR:2.5,bCircle:8,sideLen:5,backLen:4,overhead:8,outlineBase:1,outlineMax:2.5},hand:{elmId:"leader-line-hand",bBox:{left:-3,top:-12,width:40,height:24,right:37,bottom:12},widthR:10,heightR:6,bCircle:37,sideLen:12,backLen:3,overhead:37},crosshair:{elmId:"leader-line-crosshair",noRotate:!0,bBox:{left:-96,top:-96,width:192,height:192,right:96,bottom:96},widthR:48,heightR:48,bCircle:96,sideLen:96,backLen:96,overhead:0}},gt={behind:Ie,disc:"disc",square:"square",arrow1:"arrow1",arrow2:"arrow2",arrow3:"arrow3",hand:"hand",crosshair:"crosshair"},tt={disc:"disc",square:"square",arrow1:"arrow1",arrow2:"arrow2",arrow3:"arrow3",hand:"hand",crosshair:"crosshair"},_t=[Oe,Me,Pe,Le],Ne="auto",Pt={x:"left",y:"top",width:"width",height:"height"},Qt=80,Nt=4,Kt=5,Jt=120,Tt=8,$t=3.75,Fe=10,ke=30,nt=.5522847,en=.25*Math.PI,Wt=/^\s*(\-?[\d\.]+)\s*(\%)?\s*$/,D="http://www.w3.org/2000/svg",at="-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style&&!window.navigator.msPointerEnabled,_e=!at&&!!document.uniqueID,Ge="MozAppearance"in document.documentElement.style,it=!(at||Ge||!window.chrome||!window.CSS),le=!at&&!_e&&!Ge&&!it&&!window.chrome&&"WebkitAppearance"in document.documentElement.style,Bt=_e||at?.2:.1,ge={path:mt,lineColor:"coral",lineSize:4,plugSE:[Ie,"arrow1"],plugSizeSE:[1,1],lineOutlineEnabled:!1,lineOutlineColor:"indianred",lineOutlineSize:.25,plugOutlineEnabledSE:[!1,!1],plugOutlineSizeSE:[1,1]},Ae=(Mt={}.toString,yt={}.hasOwnProperty.toString,It=yt.call(Object),function(e){var t,n;return e&&Mt.call(e)==="[object Object]"&&(!(t=Object.getPrototypeOf(e))||(n=t.hasOwnProperty("constructor")&&t.constructor)&&typeof n=="function"&&yt.call(n)===It)}),Se=Number.isFinite||function(e){return typeof e=="number"&&window.isFinite(e)},he=(function(){var e,t={ease:[.25,.1,.25,1],linear:[0,0,1,1],"ease-in":[.42,0,1,1],"ease-out":[0,0,.58,1],"ease-in-out":[.42,0,.58,1]},n=1e3/60/2,a=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(p){setTimeout(p,n)},i=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||function(p){clearTimeout(p)},o=Number.isFinite||function(p){return typeof p=="number"&&window.isFinite(p)},g=[],d=0;function S(){var p=Date.now(),x=!1;e&&(i.call(window,e),e=null),g.forEach(function(s){var u,h,m;if(s.framesStart){if((u=p-s.framesStart)>=s.duration&&s.count&&s.loopsLeft<=1)return m=s.frames[s.lastFrame=s.reverse?0:s.frames.length-1],s.frameCallback(m.value,!0,m.timeRatio,m.outputRatio),void(s.framesStart=null);if(u>s.duration){if(h=Math.floor(u/s.duration),s.count){if(h>=s.loopsLeft)return m=s.frames[s.lastFrame=s.reverse?0:s.frames.length-1],s.frameCallback(m.value,!0,m.timeRatio,m.outputRatio),void(s.framesStart=null);s.loopsLeft-=h}s.framesStart+=s.duration*h,u=p-s.framesStart}s.reverse&&(u=s.duration-u),m=s.frames[s.lastFrame=Math.round(u/n)],s.frameCallback(m.value,!1,m.timeRatio,m.outputRatio)!==!1?x=!0:s.framesStart=null}}),x&&(e=a.call(window,S))}function r(p,x){p.framesStart=Date.now(),x!=null&&(p.framesStart-=p.duration*(p.reverse?1-x:x)),p.loopsLeft=p.count,p.lastFrame=null,S()}return{add:function(p,x,s,u,h,m,E){var w,M,O,v,c,y,f,L,P,C,l,k,I,W=++d;function R(V,_){return{value:p(_),timeRatio:V,outputRatio:_}}if(typeof h=="string"&&(h=t[h]),p=p||function(){},s<n)M=[R(0,0),R(1,1)];else{if(O=n/s,M=[R(0,0)],h[0]===0&&h[1]===0&&h[2]===1&&h[3]===1)for(c=O;c<=1;c+=O)M.push(R(c,c));else for(y=v=(c=O)/10;y<=1;y+=v)C=(P=(L=y)*L)*L,I=3*(l=1-L)*P,c<=(f={x:(k=3*(l*l)*L)*h[0]+I*h[2]+C,y:k*h[1]+I*h[3]+C}).x&&(M.push(R(f.x,f.y)),c+=O);M.push(R(1,1))}return w={animId:W,frameCallback:x,duration:s,count:u,frames:M,reverse:!!m},g.push(w),E!==!1&&r(w,E),W},remove:function(p){var x;g.some(function(s,u){return s.animId===p&&(x=u,!(s.framesStart=null))})&&g.splice(x,1)},start:function(p,x,s){g.some(function(u){return u.animId===p&&(u.reverse=!!x,r(u,s),!0)})},stop:function(p,x){var s;return g.some(function(u){return u.animId===p&&(x?u.lastFrame!=null&&(s=u.frames[u.lastFrame].timeRatio):(s=(Date.now()-u.framesStart)/u.duration,u.reverse&&(s=1-s),s<0?s=0:1<s&&(s=1)),!(u.framesStart=null))}),s},validTiming:function(p){return typeof p=="string"?t[p]:Array.isArray(p)&&[0,1,2,3].every(function(x){return o(p[x])&&0<=p[x]&&p[x]<=1})?[p[0],p[1],p[2],p[3]]:null}}})(),tn=function(e){e.SVGPathElement.prototype.getPathData&&e.SVGPathElement.prototype.setPathData||(function(){var t={Z:"Z",M:"M",L:"L",C:"C",Q:"Q",A:"A",H:"H",V:"V",S:"S",T:"T",z:"Z",m:"m",l:"l",c:"c",q:"q",a:"a",h:"h",v:"v",s:"s",t:"t"},n=function(s){this._string=s,this._currentIndex=0,this._endIndex=this._string.length,this._prevCommand=null,this._skipOptionalSpaces()},a=e.navigator.userAgent.indexOf("MSIE ")!==-1;n.prototype={parseSegment:function(){var s=this._string[this._currentIndex],u=t[s]?t[s]:null;if(u===null){if(this._prevCommand===null||(u=(s==="+"||s==="-"||s==="."||"0"<=s&&s<="9")&&this._prevCommand!=="Z"?this._prevCommand==="M"?"L":this._prevCommand==="m"?"l":this._prevCommand:null)===null)return null}else this._currentIndex+=1;var h=null,m=(this._prevCommand=u).toUpperCase();return m==="H"||m==="V"?h=[this._parseNumber()]:m==="M"||m==="L"||m==="T"?h=[this._parseNumber(),this._parseNumber()]:m==="S"||m==="Q"?h=[this._parseNumber(),this._parseNumber(),this._parseNumber(),this._parseNumber()]:m==="C"?h=[this._parseNumber(),this._parseNumber(),this._parseNumber(),this._parseNumber(),this._parseNumber(),this._parseNumber()]:m==="A"?h=[this._parseNumber(),this._parseNumber(),this._parseNumber(),this._parseArcFlag(),this._parseArcFlag(),this._parseNumber(),this._parseNumber()]:m==="Z"&&(this._skipOptionalSpaces(),h=[]),h===null||0<=h.indexOf(null)?null:{type:u,values:h}},hasMoreData:function(){return this._currentIndex<this._endIndex},peekSegmentType:function(){var s=this._string[this._currentIndex];return t[s]?t[s]:null},initialCommandIsMoveTo:function(){if(!this.hasMoreData())return!0;var s=this.peekSegmentType();return s==="M"||s==="m"},_isCurrentSpace:function(){var s=this._string[this._currentIndex];return s<=" "&&(s===" "||s==="\n"||s===" "||s==="\r"||s==="\f")},_skipOptionalSpaces:function(){for(;this._currentIndex<this._endIndex&&this._isCurrentSpace();)this._currentIndex+=1;return this._currentIndex<this._endIndex},_skipOptionalSpacesOrDelimiter:function(){return!(this._currentIndex<this._endIndex&&!this._isCurrentSpace()&&this._string[this._currentIndex]!==",")&&(this._skipOptionalSpaces()&&this._currentIndex<this._endIndex&&this._string[this._currentIndex]===","&&(this._currentIndex+=1,this._skipOptionalSpaces()),this._currentIndex<this._endIndex)},_parseNumber:function(){var s=0,u=0,h=1,m=0,E=1,w=1,M=this._currentIndex;if(this._skipOptionalSpaces(),this._currentIndex<this._endIndex&&this._string[this._currentIndex]==="+"?this._currentIndex+=1:this._currentIndex<this._endIndex&&this._string[this._currentIndex]==="-"&&(this._currentIndex+=1,E=-1),this._currentIndex===this._endIndex||(this._string[this._currentIndex]<"0"||"9"<this._string[this._currentIndex])&&this._string[this._currentIndex]!==".")return null;for(var O=this._currentIndex;this._currentIndex<this._endIndex&&"0"<=this._string[this._currentIndex]&&this._string[this._currentIndex]<="9";)this._currentIndex+=1;if(this._currentIndex!==O)for(var v=this._currentIndex-1,c=1;O<=v;)u+=c*(this._string[v]-"0"),v-=1,c*=10;if(this._currentIndex<this._endIndex&&this._string[this._currentIndex]==="."){if(this._currentIndex+=1,this._currentIndex>=this._endIndex||this._string[this._currentIndex]<"0"||"9"<this._string[this._currentIndex])return null;for(;this._currentIndex<this._endIndex&&"0"<=this._string[this._currentIndex]&&this._string[this._currentIndex]<="9";)h*=10,m+=(this._string.charAt(this._currentIndex)-"0")/h,this._currentIndex+=1}if(this._currentIndex!==M&&this._currentIndex+1<this._endIndex&&(this._string[this._currentIndex]==="e"||this._string[this._currentIndex]==="E")&&this._string[this._currentIndex+1]!=="x"&&this._string[this._currentIndex+1]!=="m"){if(this._currentIndex+=1,this._string[this._currentIndex]==="+"?this._currentIndex+=1:this._string[this._currentIndex]==="-"&&(this._currentIndex+=1,w=-1),this._currentIndex>=this._endIndex||this._string[this._currentIndex]<"0"||"9"<this._string[this._currentIndex])return null;for(;this._currentIndex<this._endIndex&&"0"<=this._string[this._currentIndex]&&this._string[this._currentIndex]<="9";)s*=10,s+=this._string[this._currentIndex]-"0",this._currentIndex+=1}var y=u+m;return y*=E,s&&(y*=Math.pow(10,w*s)),M===this._currentIndex?null:(this._skipOptionalSpacesOrDelimiter(),y)},_parseArcFlag:function(){if(this._currentIndex>=this._endIndex)return null;var s=null,u=this._string[this._currentIndex];if(this._currentIndex+=1,u==="0")s=0;else{if(u!=="1")return null;s=1}return this._skipOptionalSpacesOrDelimiter(),s}};var i=function(s){if(!s||s.length===0)return[];var u=new n(s),h=[];if(u.initialCommandIsMoveTo())for(;u.hasMoreData();){var m=u.parseSegment();if(m===null)break;h.push(m)}return h},o=e.SVGPathElement.prototype.setAttribute,g=e.SVGPathElement.prototype.removeAttribute,d=e.Symbol?e.Symbol():"__cachedPathData",S=e.Symbol?e.Symbol():"__cachedNormalizedPathData",r=function(s,u,h,m,E,w,M,O,v,c){var y,f,L,P,C,l=function(ee,q,oe){return{x:ee*Math.cos(oe)-q*Math.sin(oe),y:ee*Math.sin(oe)+q*Math.cos(oe)}},k=(y=M,Math.PI*y/180),I=[];if(c)f=c[0],L=c[1],P=c[2],C=c[3];else{var W=l(s,u,-k);s=W.x,u=W.y;var R=l(h,m,-k),V=(s-(h=R.x))/2,_=(u-(m=R.y))/2,z=V*V/(E*E)+_*_/(w*w);1<z&&(E*=z=Math.sqrt(z),w*=z);var Q=E*E,F=w*w,H=Q*F-Q*_*_-F*V*V,ne=Q*_*_+F*V*V,ae=(O===v?-1:1)*Math.sqrt(Math.abs(H/ne));P=ae*E*_/w+(s+h)/2,C=ae*-w*V/E+(u+m)/2,f=Math.asin(parseFloat(((u-C)/w).toFixed(9))),L=Math.asin(parseFloat(((m-C)/w).toFixed(9))),s<P&&(f=Math.PI-f),h<P&&(L=Math.PI-L),f<0&&(f=2*Math.PI+f),L<0&&(L=2*Math.PI+L),v&&L<f&&(f-=2*Math.PI),!v&&f<L&&(L-=2*Math.PI)}var K=L-f;if(Math.abs(K)>120*Math.PI/180){var ye=L,He=h,U=m;L=v&&f<L?f+120*Math.PI/180*1:f+120*Math.PI/180*-1,h=P+E*Math.cos(L),m=C+w*Math.sin(L),I=r(h,m,He,U,E,w,M,0,v,[L,ye,P,C])}K=L-f;var B=Math.cos(f),N=Math.sin(f),Z=Math.cos(L),T=Math.sin(L),Y=Math.tan(K/4),re=4/3*E*Y,$=4/3*w*Y,xe=[s,u],be=[s+re*N,u-$*B],Ve=[h+re*T,m-$*Z],J=[h,m];if(be[0]=2*xe[0]-be[0],be[1]=2*xe[1]-be[1],c)return[be,Ve,J].concat(I);I=[be,Ve,J].concat(I).join().split(",");var b=[],j=[];return I.forEach(function(ee,q){q%2?j.push(l(I[q-1],I[q],k).y):j.push(l(I[q],I[q+1],k).x),j.length===6&&(b.push(j),j=[])}),b},p=function(s){return s.map(function(u){return{type:u.type,values:Array.prototype.slice.call(u.values)}})},x=function(s){var u=[],h=null,m=null,E=null,w=null,M=null,O=null,v=null;return s.forEach(function(c){if(c.type==="M"){var y=c.values[0],f=c.values[1];u.push({type:"M",values:[y,f]}),w=O=y,M=v=f}else if(c.type==="C"){var L=c.values[0],P=c.values[1],C=c.values[2],l=c.values[3];y=c.values[4],f=c.values[5],u.push({type:"C",values:[L,P,C,l,y,f]}),m=C,E=l,w=y,M=f}else if(c.type==="L")y=c.values[0],f=c.values[1],u.push({type:"L",values:[y,f]}),w=y,M=f;else if(c.type==="H")y=c.values[0],u.push({type:"L",values:[y,M]}),w=y;else if(c.type==="V")f=c.values[0],u.push({type:"L",values:[w,f]}),M=f;else if(c.type==="S")C=c.values[0],l=c.values[1],y=c.values[2],f=c.values[3],h==="C"||h==="S"?(k=w+(w-m),I=M+(M-E)):(k=w,I=M),u.push({type:"C",values:[k,I,C,l,y,f]}),m=C,E=l,w=y,M=f;else if(c.type==="T"){y=c.values[0],f=c.values[1],h==="Q"||h==="T"?(L=w+(w-m),P=M+(M-E)):(L=w,P=M);var k=w+2*(L-w)/3,I=M+2*(P-M)/3,W=y+2*(L-y)/3,R=f+2*(P-f)/3;u.push({type:"C",values:[k,I,W,R,y,f]}),m=L,E=P,w=y,M=f}else if(c.type==="Q")L=c.values[0],P=c.values[1],y=c.values[2],f=c.values[3],k=w+2*(L-w)/3,I=M+2*(P-M)/3,W=y+2*(L-y)/3,R=f+2*(P-f)/3,u.push({type:"C",values:[k,I,W,R,y,f]}),m=L,E=P,w=y,M=f;else if(c.type==="A"){var V=c.values[0],_=c.values[1],z=c.values[2],Q=c.values[3],F=c.values[4];y=c.values[5],f=c.values[6],V===0||_===0?(u.push({type:"C",values:[w,M,y,f,y,f]}),w=y,M=f):(w!==y||M!==f)&&r(w,M,y,f,V,_,z,Q,F).forEach(function(H){u.push({type:"C",values:H}),w=y,M=f})}else c.type==="Z"&&(u.push(c),w=O,M=v);h=c.type}),u};e.SVGPathElement.prototype.setAttribute=function(s,u){s==="d"&&(this[d]=null,this[S]=null),o.call(this,s,u)},e.SVGPathElement.prototype.removeAttribute=function(s,u){s==="d"&&(this[d]=null,this[S]=null),g.call(this,s)},e.SVGPathElement.prototype.getPathData=function(s){if(s&&s.normalize){if(this[S])return p(this[S]);this[d]?O=p(this[d]):(O=i(this.getAttribute("d")||""),this[d]=p(O));var u=x((h=[],M=w=E=m=null,O.forEach(function(v){var c=v.type;if(c==="M"){var y=v.values[0],f=v.values[1];h.push({type:"M",values:[y,f]}),m=w=y,E=M=f}else if(c==="m")y=m+v.values[0],f=E+v.values[1],h.push({type:"M",values:[y,f]}),m=w=y,E=M=f;else if(c==="L")y=v.values[0],f=v.values[1],h.push({type:"L",values:[y,f]}),m=y,E=f;else if(c==="l")y=m+v.values[0],f=E+v.values[1],h.push({type:"L",values:[y,f]}),m=y,E=f;else if(c==="C"){var L=v.values[0],P=v.values[1],C=v.values[2],l=v.values[3];y=v.values[4],f=v.values[5],h.push({type:"C",values:[L,P,C,l,y,f]}),m=y,E=f}else c==="c"?(L=m+v.values[0],P=E+v.values[1],C=m+v.values[2],l=E+v.values[3],y=m+v.values[4],f=E+v.values[5],h.push({type:"C",values:[L,P,C,l,y,f]}),m=y,E=f):c==="Q"?(L=v.values[0],P=v.values[1],y=v.values[2],f=v.values[3],h.push({type:"Q",values:[L,P,y,f]}),m=y,E=f):c==="q"?(L=m+v.values[0],P=E+v.values[1],y=m+v.values[2],f=E+v.values[3],h.push({type:"Q",values:[L,P,y,f]}),m=y,E=f):c==="A"?(y=v.values[5],f=v.values[6],h.push({type:"A",values:[v.values[0],v.values[1],v.values[2],v.values[3],v.values[4],y,f]}),m=y,E=f):c==="a"?(y=m+v.values[5],f=E+v.values[6],h.push({type:"A",values:[v.values[0],v.values[1],v.values[2],v.values[3],v.values[4],y,f]}),m=y,E=f):c==="H"?(y=v.values[0],h.push({type:"H",values:[y]}),m=y):c==="h"?(y=m+v.values[0],h.push({type:"H",values:[y]}),m=y):c==="V"?(f=v.values[0],h.push({type:"V",values:[f]}),E=f):c==="v"?(f=E+v.values[0],h.push({type:"V",values:[f]}),E=f):c==="S"?(C=v.values[0],l=v.values[1],y=v.values[2],f=v.values[3],h.push({type:"S",values:[C,l,y,f]}),m=y,E=f):c==="s"?(C=m+v.values[0],l=E+v.values[1],y=m+v.values[2],f=E+v.values[3],h.push({type:"S",values:[C,l,y,f]}),m=y,E=f):c==="T"?(y=v.values[0],f=v.values[1],h.push({type:"T",values:[y,f]}),m=y,E=f):c==="t"?(y=m+v.values[0],f=E+v.values[1],h.push({type:"T",values:[y,f]}),m=y,E=f):c!=="Z"&&c!=="z"||(h.push({type:"Z",values:[]}),m=w,E=M)}),h));return this[S]=p(u),u}if(this[d])return p(this[d]);var h,m,E,w,M,O=i(this.getAttribute("d")||"");return this[d]=p(O),O},e.SVGPathElement.prototype.setPathData=function(s){if(s.length===0)a?this.setAttribute("d",""):this.removeAttribute("d");else{for(var u="",h=0,m=s.length;h<m;h+=1){var E=s[h];0<h&&(u+=" "),u+=E.type,E.values&&0<E.values.length&&(u+=" "+E.values.join(" "))}this.setAttribute("d",u)}},e.SVGRectElement.prototype.getPathData=function(s){var u=this.x.baseVal.value,h=this.y.baseVal.value,m=this.width.baseVal.value,E=this.height.baseVal.value,w=this.hasAttribute("rx")?this.rx.baseVal.value:this.ry.baseVal.value,M=this.hasAttribute("ry")?this.ry.baseVal.value:this.rx.baseVal.value;m/2<w&&(w=m/2),E/2<M&&(M=E/2);var O=[{type:"M",values:[u+w,h]},{type:"H",values:[u+m-w]},{type:"A",values:[w,M,0,0,1,u+m,h+M]},{type:"V",values:[h+E-M]},{type:"A",values:[w,M,0,0,1,u+m-w,h+E]},{type:"H",values:[u+w]},{type:"A",values:[w,M,0,0,1,u,h+E-M]},{type:"V",values:[h+M]},{type:"A",values:[w,M,0,0,1,u+w,h]},{type:"Z",values:[]}];return O=O.filter(function(v){return v.type!=="A"||v.values[0]!==0&&v.values[1]!==0}),s&&s.normalize===!0&&(O=x(O)),O},e.SVGCircleElement.prototype.getPathData=function(s){var u=this.cx.baseVal.value,h=this.cy.baseVal.value,m=this.r.baseVal.value,E=[{type:"M",values:[u+m,h]},{type:"A",values:[m,m,0,0,1,u,h+m]},{type:"A",values:[m,m,0,0,1,u-m,h]},{type:"A",values:[m,m,0,0,1,u,h-m]},{type:"A",values:[m,m,0,0,1,u+m,h]},{type:"Z",values:[]}];return s&&s.normalize===!0&&(E=x(E)),E},e.SVGEllipseElement.prototype.getPathData=function(s){var u=this.cx.baseVal.value,h=this.cy.baseVal.value,m=this.rx.baseVal.value,E=this.ry.baseVal.value,w=[{type:"M",values:[u+m,h]},{type:"A",values:[m,E,0,0,1,u,h+E]},{type:"A",values:[m,E,0,0,1,u-m,h]},{type:"A",values:[m,E,0,0,1,u,h-E]},{type:"A",values:[m,E,0,0,1,u+m,h]},{type:"Z",values:[]}];return s&&s.normalize===!0&&(w=x(w)),w},e.SVGLineElement.prototype.getPathData=function(){return[{type:"M",values:[this.x1.baseVal.value,this.y1.baseVal.value]},{type:"L",values:[this.x2.baseVal.value,this.y2.baseVal.value]}]},e.SVGPolylineElement.prototype.getPathData=function(){for(var s=[],u=0;u<this.points.numberOfItems;u+=1){var h=this.points.getItem(u);s.push({type:u===0?"M":"L",values:[h.x,h.y]})}return s},e.SVGPolygonElement.prototype.getPathData=function(){for(var s=[],u=0;u<this.points.numberOfItems;u+=1){var h=this.points.getItem(u);s.push({type:u===0?"M":"L",values:[h.x,h.y]})}return s.push({type:"Z",values:[]}),s}})()},nn=(function(e){var t={};function n(a){if(t[a])return t[a].exports;var i=t[a]={i:a,l:!1,exports:{}};return e[a].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(a,i,o){n.o(a,i)||Object.defineProperty(a,i,{configurable:!1,enumerable:!0,get:o})},n.r=function(a){Object.defineProperty(a,"__esModule",{value:!0})},n.n=function(a){var i=a&&a.__esModule?function(){return a.default}:function(){return a};return n.d(i,"a",i),i},n.o=function(a,i){return Object.prototype.hasOwnProperty.call(a,i)},n.p="",n(n.s=0)})([function(e,t,n){n.r(t);var a=500,i=[],o=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||function(s){return setTimeout(s,1e3/60)},g=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||function(s){return clearTimeout(s)},d=void 0,S=Date.now();function r(){var s=void 0,u=void 0;d&&(g.call(window,d),d=null),i.forEach(function(h){h.event&&(h.listener(h.event),h.event=null,s=!0)}),s?(S=Date.now(),u=!0):Date.now()-S<a&&(u=!0),u&&(d=o.call(window,r))}function p(s){var u=-1;return i.some(function(h,m){return h.listener===s&&(u=m,!0)}),u}var x={add:function(s){var u=void 0;return p(s)===-1?(i.push(u={listener:s}),function(h){u.event=h,d||r()}):null},remove:function(s){var u;-1<(u=p(s))&&(i.splice(u,1),!i.length&&d&&(g.call(window,d),d=null))}};t.default=x}]).default,vt={line_altColor:{iniValue:!1},line_color:{},line_colorTra:{iniValue:!1},line_strokeWidth:{},plug_enabled:{iniValue:!1},plug_enabledSE:{hasSE:!0,iniValue:!1},plug_plugSE:{hasSE:!0,iniValue:Ie},plug_colorSE:{hasSE:!0},plug_colorTraSE:{hasSE:!0,iniValue:!1},plug_markerWidthSE:{hasSE:!0},plug_markerHeightSE:{hasSE:!0},lineOutline_enabled:{iniValue:!1},lineOutline_color:{},lineOutline_colorTra:{iniValue:!1},lineOutline_strokeWidth:{},lineOutline_inStrokeWidth:{},plugOutline_enabledSE:{hasSE:!0,iniValue:!1},plugOutline_plugSE:{hasSE:!0,iniValue:Ie},plugOutline_colorSE:{hasSE:!0},plugOutline_colorTraSE:{hasSE:!0,iniValue:!1},plugOutline_strokeWidthSE:{hasSE:!0},plugOutline_inStrokeWidthSE:{hasSE:!0},position_socketXYSE:{hasSE:!0,hasProps:!0},position_plugOverheadSE:{hasSE:!0},position_path:{},position_lineStrokeWidth:{},position_socketGravitySE:{hasSE:!0},path_pathData:{},path_edge:{hasProps:!0},viewBox_bBox:{hasProps:!0},viewBox_plugBCircleSE:{hasSE:!0},lineMask_enabled:{iniValue:!1},lineMask_outlineMode:{iniValue:!1},lineMask_x:{},lineMask_y:{},lineOutlineMask_x:{},lineOutlineMask_y:{},maskBGRect_x:{},maskBGRect_y:{},capsMaskAnchor_enabledSE:{hasSE:!0,iniValue:!1},capsMaskAnchor_pathDataSE:{hasSE:!0},capsMaskAnchor_strokeWidthSE:{hasSE:!0},capsMaskMarker_enabled:{iniValue:!1},capsMaskMarker_enabledSE:{hasSE:!0,iniValue:!1},capsMaskMarker_plugSE:{hasSE:!0,iniValue:Ie},capsMaskMarker_markerWidthSE:{hasSE:!0},capsMaskMarker_markerHeightSE:{hasSE:!0},caps_enabled:{iniValue:!1},attach_plugSideLenSE:{hasSE:!0},attach_plugBackLenSE:{hasSE:!0}},Rt={show_on:{},show_effect:{},show_animOptions:{},show_animId:{},show_inAnim:{}},Ft="fade",Et=[],fe={},an=0,ce={},on=0;function Te(e,t){var n,a;return typeof e!=typeof t||(n=Ae(e)?"obj":Array.isArray(e)?"array":"")!=(Ae(t)?"obj":Array.isArray(t)?"array":"")||(n==="obj"?Te(a=Object.keys(e).sort(),Object.keys(t).sort())||a.some(function(i){return Te(e[i],t[i])}):n==="array"?e.length!==t.length||e.some(function(i,o){return Te(i,t[o])}):e!==t)}function me(e){return e&&(Ae(e)?Object.keys(e).reduce(function(t,n){return t[n]=me(e[n]),t},{}):Array.isArray(e)?e.map(me):e)}function Ue(e){var t,n,a,i=1,o=e=(e+"").trim();function g(d){var S=1,r=Wt.exec(d);return r&&(S=parseFloat(r[1]),r[2]?S=0<=S&&S<=100?S/100:1:(S<0||1<S)&&(S=1)),S}return(t=/^(rgba|hsla|hwb|gray|device\-cmyk)\s*\(([\s\S]+)\)$/i.exec(e))?(n=t[1].toLowerCase(),a=t[2].trim().split(/\s*,\s*/),n==="rgba"&&a.length===4?(i=g(a[3]),o="rgb("+a.slice(0,3).join(", ")+")"):n==="hsla"&&a.length===4?(i=g(a[3]),o="hsl("+a.slice(0,3).join(", ")+")"):n==="hwb"&&a.length===4?(i=g(a[3]),o="hwb("+a.slice(0,3).join(", ")+")"):n==="gray"&&a.length===2?(i=g(a[1]),o="gray("+a[0]+")"):n==="device-cmyk"&&5<=a.length&&(i=g(a[4]),o="device-cmyk("+a.slice(0,4).join(", ")+")")):(t=/^\#(?:([\da-f]{6})([\da-f]{2})|([\da-f]{3})([\da-f]))$/i.exec(e))?t[1]?(i=parseInt(t[2],16)/255,o="#"+t[1]):(i=parseInt(t[4]+t[4],16)/255,o="#"+t[3]):e.toLocaleLowerCase()==="transparent"&&(i=0),[i,o]}function Ze(e){return!(!e||e.nodeType!==Node.ELEMENT_NODE||typeof e.getBoundingClientRect!="function")}function ot(e,t){var n,a,i,o,g={};if(!(i=e.ownerDocument))return console.error("Cannot get document that contains the element."),null;if(e.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_DISCONNECTED)return console.error("A disconnected element was passed."),null;for(a in n=e.getBoundingClientRect())g[a]=n[a];if(!t){if(!(o=i.defaultView))return console.error("Cannot get window that contains the element."),null;g.left+=o.pageXOffset,g.right+=o.pageXOffset,g.top+=o.pageYOffset,g.bottom+=o.pageYOffset}return g}function xt(e,t){var n,a,i=[],o=e;for(t=t||window;;){if(!(n=o.ownerDocument))return console.error("Cannot get document that contains the element."),null;if(!(a=n.defaultView))return console.error("Cannot get window that contains the element."),null;if(a===t)break;if(!(o=a.frameElement))return console.error("`baseWindow` was not found."),null;i.unshift(o)}return i}function Ye(e,t){var n,a,i=0,o=0;return(a=xt(e,t=t||window))?a.length?(a.forEach(function(g,d){var S,r,p=ot(g,0<d);i+=p.left,o+=p.top,r=(S=g).ownerDocument.defaultView.getComputedStyle(S,""),p={left:S.clientLeft+parseFloat(r.paddingLeft),top:S.clientTop+parseFloat(r.paddingTop)},i+=p.left,o+=p.top}),(n=ot(e,!0)).left+=i,n.right+=i,n.top+=o,n.bottom+=o,n):ot(e):null}function we(e,t){var n=e.x-t.x,a=e.y-t.y;return Math.sqrt(n*n+a*a)}function Xe(e,t,n){var a=t.x-e.x,i=t.y-e.y;return{x:e.x+a*n,y:e.y+i*n,angle:Math.atan2(i,a)/(Math.PI/180)}}function rt(e,t,n){var a=Math.atan2(e.y-t.y,t.x-e.x);return{x:t.x+Math.cos(a)*n,y:t.y+Math.sin(a)*n*-1}}function De(e,t,n,a,i){var o=i*i,g=o*i,d=1-i,S=d*d,r=S*d,p=r*e.x+3*S*i*t.x+3*d*o*n.x+g*a.x,x=r*e.y+3*S*i*t.y+3*d*o*n.y+g*a.y,s=e.x+2*i*(t.x-e.x)+o*(n.x-2*t.x+e.x),u=e.y+2*i*(t.y-e.y)+o*(n.y-2*t.y+e.y),h=t.x+2*i*(n.x-t.x)+o*(a.x-2*n.x+t.x),m=t.y+2*i*(n.y-t.y)+o*(a.y-2*n.y+t.y),E=d*e.x+i*t.x,w=d*e.y+i*t.y,M=d*n.x+i*a.x,O=d*n.y+i*a.y,v=90-180*Math.atan2(s-h,u-m)/Math.PI;return{x:p,y:x,fromP2:{x:s,y:u},toP1:{x:h,y:m},fromP1:{x:E,y:w},toP2:{x:M,y:O},angle:v+=180<v?-180:180}}function qe(e,t,n,a,i){function o(u,h,m,E,w){return u*(u*(-3*h+9*m-9*E+3*w)+6*h-12*m+6*E)-3*h+3*m}var g,d,S,r,p,x=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],s=0;return g=(i=i==null||1<i?1:i<0?0:i)/2,[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816].forEach(function(u,h){S=o(d=g*u+g,e.x,t.x,n.x,a.x),r=o(d,e.y,t.y,n.y,a.y),p=S*S+r*r,s+=x[h]*Math.sqrt(p)}),g*s}function bt(e,t,n,a,i){for(var o,g=.5,d=1-g;o=qe(e,t,n,a,d),!(Math.abs(o-i)<=.01);)d+=(o<i?1:-1)*(g/=2);return d}function kt(e,t){var n;return e.forEach(function(a){var i=t?a.map(function(o){var g={x:o.x,y:o.y};return t(g),g}):a;n||(n=[{type:"M",values:[i[0].x,i[0].y]}]),n.push(i.length?i.length===2?{type:"L",values:[i[1].x,i[1].y]}:{type:"C",values:[i[1].x,i[1].y,i[2].x,i[2].y,i[3].x,i[3].y]}:{type:"Z",values:[]})}),n}function Gt(e){var t=[],n=0;return e.forEach(function(a){var i=(a.length===2?we:qe).apply(null,a);t.push(i),n+=i}),{segsLen:t,lenAll:n}}function lt(e,t){return e==null||t==null||e.length!==t.length||e.some(function(n,a){var i=t[a];return n.type!==i.type||n.values.some(function(o,g){return o!==i.values[g]})})}function se(e,t,n){e.events[t]?e.events[t].indexOf(n)<0&&e.events[t].push(n):e.events[t]=[n]}function ue(e,t,n){var a;e.events[t]&&-1<(a=e.events[t].indexOf(n))&&e.events[t].splice(a,1)}function ze(e){dt&&clearTimeout(dt),Et.push(e),dt=setTimeout(function(){Et.forEach(function(t){t()}),Et=[]},0)}function ie(e,t){e.reflowTargets.indexOf(t)<0&&e.reflowTargets.push(t)}function Dt(e){e.reflowTargets.forEach(function(t){var n;n=t,setTimeout(function(){var a=n.parentNode,i=n.nextSibling;a.insertBefore(a.removeChild(n),i)},0)}),e.reflowTargets=[]}function zt(e,t,n,a,i,o,g){var d,S,r;n==="auto-start-reverse"?(typeof Je!="boolean"&&(t.setAttribute("orient","auto-start-reverse"),Je=t.orientType.baseVal===SVGMarkerElement.SVG_MARKER_ORIENT_UNKNOWN),Je?t.setAttribute("orient",n):((d=i.createSVGTransform()).setRotate(180,0,0),o.transform.baseVal.appendItem(d),t.setAttribute("orient","auto"),r=!0)):(t.setAttribute("orient",n),Je===!1&&o.transform.baseVal.clear()),S=t.viewBox.baseVal,r?(S.x=-a.right,S.y=-a.bottom):(S.x=a.left,S.y=a.top),S.width=a.width,S.height=a.height,_e&&ie(e,g)}function jt(e,t){return{prop:e?"markerEnd":"markerStart",orient:t?t.noRotate?"0":e?"auto":"auto-start-reverse":null}}function de(e,t){Object.keys(t).forEach(function(n){var a=t[n];e[n]=a.iniValue!=null?a.hasSE?[a.iniValue,a.iniValue]:a.iniValue:a.hasSE?a.hasProps?[{},{}]:[]:a.hasProps?{}:null})}function A(e,t,n,a,i){return a!==t[n]&&(t[n]=a,i&&i.forEach(function(o){o(e,a,n)}),!0)}function Ht(e){function t(g,d){return g+parseFloat(d)}var n=e.document,a=e.getComputedStyle(n.documentElement,""),i=e.getComputedStyle(n.body,""),o={x:0,y:0};return i.position!=="static"?(o.x-=[a.marginLeft,a.borderLeftWidth,a.paddingLeft,i.marginLeft,i.borderLeftWidth].reduce(t,0),o.y-=[a.marginTop,a.borderTopWidth,a.paddingTop,i.marginTop,i.borderTopWidth].reduce(t,0)):a.position!=="static"&&(o.x-=[a.marginLeft,a.borderLeftWidth].reduce(t,0),o.y-=[a.marginTop,a.borderTopWidth].reduce(t,0)),o}function Ut(e){var t,n=e.document;n.getElementById(Xt)||(t=new e.DOMParser().parseFromString(qt,"image/svg+xml"),n.body.appendChild(t.documentElement),tn(e))}function rn(e){var t,n,a,i,o,g,d,S,r,p,x,s,u,h,m,E,w,M,O,v=e.options,c=e.curStats,y=e.aplStats,f=c.position_socketXYSE,L=!1;function P(l,k){var I=k===Oe?{x:l.left+l.width/2,y:l.top}:k===Me?{x:l.right,y:l.top+l.height/2}:k===Pe?{x:l.left+l.width/2,y:l.bottom}:{x:l.left,y:l.top+l.height/2};return I.socketId=k,I}function C(l){return{x:l.x,y:l.y}}if(c.position_path=v.path,c.position_lineStrokeWidth=c.line_strokeWidth,c.position_socketGravitySE=t=me(v.socketGravitySE),n=[0,1].map(function(l){var k,I,W,R=v.anchorSE[l],V=e.optionIsAttach.anchorSE[l],_=V!==!1?ce[R._id]:null,z=V!==!1&&_.conf.getStrokeWidth?_.conf.getStrokeWidth(_,e):0,Q=V!==!1&&_.conf.getBBoxNest?_.conf.getBBoxNest(_,e,z):Ye(R,e.baseWindow);return c.capsMaskAnchor_pathDataSE[l]=V!==!1&&_.conf.getPathData?_.conf.getPathData(_,e,z):(I=(k=Q).right!=null?k.right:k.left+k.width,W=k.bottom!=null?k.bottom:k.top+k.height,[{type:"M",values:[k.left,k.top]},{type:"L",values:[I,k.top]},{type:"L",values:[I,W]},{type:"L",values:[k.left,W]},{type:"Z",values:[]}]),c.capsMaskAnchor_strokeWidthSE[l]=z,Q}),d=-1,v.socketSE[0]&&v.socketSE[1]?(f[0]=P(n[0],v.socketSE[0]),f[1]=P(n[1],v.socketSE[1])):(v.socketSE[0]||v.socketSE[1]?(v.socketSE[0]?(o=0,g=1):(o=1,g=0),f[o]=P(n[o],v.socketSE[o]),(i=_t.map(function(l){return P(n[g],l)})).forEach(function(l){var k=we(l,f[o]);(k<d||d===-1)&&(f[g]=l,d=k)})):(i=_t.map(function(l){return P(n[1],l)}),_t.map(function(l){return P(n[0],l)}).forEach(function(l){i.forEach(function(k){var I=we(l,k);(I<d||d===-1)&&(f[0]=l,f[1]=k,d=I)})})),[0,1].forEach(function(l){var k,I;v.socketSE[l]||(n[l].width||n[l].height?n[l].width||f[l].socketId!==Le&&f[l].socketId!==Me?n[l].height||f[l].socketId!==Oe&&f[l].socketId!==Pe||(f[l].socketId=0<=f[l?0:1].y-n[l].top?Pe:Oe):f[l].socketId=0<=f[l?0:1].x-n[l].left?Me:Le:(k=f[l?0:1].x-n[l].left,I=f[l?0:1].y-n[l].top,f[l].socketId=Math.abs(k)>=Math.abs(I)?0<=k?Me:Le:0<=I?Pe:Oe))})),c.position_path!==y.position_path||c.position_lineStrokeWidth!==y.position_lineStrokeWidth||[0,1].some(function(l){return c.position_plugOverheadSE[l]!==y.position_plugOverheadSE[l]||(R=f[l],V=y.position_socketXYSE[l],R.x!==V.x||R.y!==V.y||R.socketId!==V.socketId)||(k=t[l],I=y.position_socketGravitySE[l],(W=k==null?"auto":Array.isArray(k)?"array":"number")!=(I==null?"auto":Array.isArray(I)?"array":"number")||(W==="array"?k[0]!==I[0]||k[1]!==I[1]:k!==I));var k,I,W,R,V})){switch(e.pathList.baseVal=a=[],e.pathList.animVal=null,c.position_path){case Ct:a.push([C(f[0]),C(f[1])]);break;case Lt:s=typeof t[0]=="number"&&0<t[0]||typeof t[1]=="number"&&0<t[1],u=en*(s?-1:1),h=Math.atan2(f[1].y-f[0].y,f[1].x-f[0].x),m=-h+u,E=Math.PI-h-u,w=we(f[0],f[1])/Math.sqrt(2)*nt,M={x:f[0].x+Math.cos(m)*w,y:f[0].y+Math.sin(m)*w*-1},O={x:f[1].x+Math.cos(E)*w,y:f[1].y+Math.sin(E)*w*-1},a.push([C(f[0]),M,O,C(f[1])]);break;case mt:case St:r=[t[0],c.position_path===St?0:t[1]],p=[],x=[],f.forEach(function(l,k){var I,W,R,V,_,z=r[k];Array.isArray(z)?I={x:z[0],y:z[1]}:typeof z=="number"?I=l.socketId===Oe?{x:0,y:-z}:l.socketId===Me?{x:z,y:0}:l.socketId===Pe?{x:0,y:z}:{x:-z,y:0}:(W=f[k?0:1],V=0<(R=c.position_plugOverheadSE[k])?Jt+(Tt<R?(R-Tt)*$t:0):Qt+(c.position_lineStrokeWidth>Nt?(c.position_lineStrokeWidth-Nt)*Kt:0),l.socketId===Oe?((_=(l.y-W.y)/2)<V&&(_=V),I={x:0,y:-_}):l.socketId===Me?((_=(W.x-l.x)/2)<V&&(_=V),I={x:_,y:0}):l.socketId===Pe?((_=(W.y-l.y)/2)<V&&(_=V),I={x:0,y:_}):((_=(l.x-W.x)/2)<V&&(_=V),I={x:-_,y:0})),p[k]=l.x+I.x,x[k]=l.y+I.y}),a.push([C(f[0]),{x:p[0],y:x[0]},{x:p[1],y:x[1]},C(f[1])]);break;case At:(function(){var l,k=1,I=2,W=3,R=4,V=[[],[]],_=[];function z(U){return U===k?W:U===I?R:U===W?k:I}function Q(U){return U===I||U===R?"x":"y"}function F(U,B,N){var Z={x:U.x,y:U.y};if(N){if(N===z(U.dirId))throw new Error("Invalid dirId: "+N);Z.dirId=N}else Z.dirId=U.dirId;return Z.dirId===k?Z.y-=B:Z.dirId===I?Z.x+=B:Z.dirId===W?Z.y+=B:Z.x-=B,Z}function H(U,B){return B.dirId===k?U.y<=B.y:B.dirId===I?U.x>=B.x:B.dirId===W?U.y>=B.y:U.x<=B.x}function ne(U,B){return B.dirId===k||B.dirId===W?U.x===B.x:U.y===B.y}function ae(U){return U[0]?{contain:0,notContain:1}:{contain:1,notContain:0}}function K(U,B,N){return Math.abs(B[N]-U[N])}function ye(U,B,N){return N==="x"?U.x<B.x?I:R:U.y<B.y?W:k}function He(){var U,B,N,Z,T=[H(_[1],_[0]),H(_[0],_[1])],Y=[Q(_[0].dirId),Q(_[1].dirId)];if(Y[0]===Y[1]){if(T[0]&&T[1])return ne(_[1],_[0])||(_[0][Y[0]]===_[1][Y[1]]?(V[0].push(_[0]),V[1].push(_[1])):(U=_[0][Y[0]]+(_[1][Y[1]]-_[0][Y[0]])/2,V[0].push(F(_[0],Math.abs(U-_[0][Y[0]]))),V[1].push(F(_[1],Math.abs(U-_[1][Y[1]]))))),!1;T[0]!==T[1]?(B=ae(T),(N=K(_[B.notContain],_[B.contain],Y[B.notContain]))<ke&&(_[B.notContain]=F(_[B.notContain],ke-N)),V[B.notContain].push(_[B.notContain]),_[B.notContain]=F(_[B.notContain],ke,ne(_[B.contain],_[B.notContain])?Y[B.notContain]==="x"?W:I:ye(_[B.notContain],_[B.contain],Y[B.notContain]==="x"?"y":"x"))):(N=K(_[0],_[1],Y[0]==="x"?"y":"x"),V.forEach(function(re,$){var xe=$===0?1:0;re.push(_[$]),_[$]=F(_[$],ke,2*ke<=N?ye(_[$],_[xe],Y[$]==="x"?"y":"x"):Y[$]==="x"?W:I)}))}else{if(T[0]&&T[1])return ne(_[1],_[0])?V[1].push(_[1]):ne(_[0],_[1])?V[0].push(_[0]):V[0].push(Y[0]==="x"?{x:_[1].x,y:_[0].y}:{x:_[0].x,y:_[1].y}),!1;T[0]!==T[1]?(B=ae(T),V[B.notContain].push(_[B.notContain]),_[B.notContain]=F(_[B.notContain],ke,K(_[B.notContain],_[B.contain],Y[B.contain])>=ke?ye(_[B.notContain],_[B.contain],Y[B.contain]):_[B.contain].dirId)):(Z=[{x:_[0].x,y:_[0].y},{x:_[1].x,y:_[1].y}],V.forEach(function(re,$){var xe=$===0?1:0,be=K(Z[$],Z[xe],Y[$]);be<ke&&(_[$]=F(_[$],ke-be)),re.push(_[$]),_[$]=F(_[$],ke,ye(_[$],_[xe],Y[xe]))}))}return!0}for(f.forEach(function(U,B){var N,Z=C(U),T=t[B];N=Array.isArray(T)?T[0]<0?[R,-T[0]]:0<T[0]?[I,T[0]]:T[1]<0?[k,-T[1]]:0<T[1]?[W,T[1]]:[U.socketId,0]:typeof T!="number"?[U.socketId,ke]:0<=T?[U.socketId,T]:[z(U.socketId),-T],Z.dirId=N[0],T=N[1],V[B].push(Z),_[B]=F(Z,T)});He(););V[1].reverse(),V[0].concat(V[1]).forEach(function(U,B){var N={x:U.x,y:U.y};0<B&&a.push([l,N]),l=N})})()}S=[],c.position_plugOverheadSE.forEach(function(l,k){var I,W,R,V,_,z,Q,F,H,ne,ae,K=!k;0<l?(I=a[W=K?0:a.length-1]).length===2?(S[W]=S[W]||we.apply(null,I),S[W]>Fe&&(S[W]-l<Fe&&(l=S[W]-Fe),R=Xe(I[0],I[1],(K?l:S[W]-l)/S[W]),a[W]=K?[R,I[1]]:[I[0],R],S[W]-=l)):(S[W]=S[W]||qe.apply(null,I),S[W]>Fe&&(S[W]-l<Fe&&(l=S[W]-Fe),R=De(I[0],I[1],I[2],I[3],bt(I[0],I[1],I[2],I[3],K?l:S[W]-l)),K?(V=I[0],_=R.toP1):(V=I[3],_=R.fromP2),z=Math.atan2(V.y-R.y,R.x-V.x),Q=we(R,_),R.x=V.x+Math.cos(z)*l,R.y=V.y+Math.sin(z)*l*-1,_.x=R.x+Math.cos(z)*Q,_.y=R.y+Math.sin(z)*Q*-1,a[W]=K?[R,R.toP1,R.toP2,I[3]]:[I[0],R.fromP1,R.fromP2,R],S[W]=null)):l<0&&(I=a[W=K?0:a.length-1],F=f[k].socketId,H=F===Le||F===Me?"x":"y",l<(ae=-n[k][H==="x"?"width":"height"])&&(l=ae),ne=l*(F===Le||F===Oe?-1:1),I.length===2?I[K?0:I.length-1][H]+=ne:(K?[0,1]:[I.length-2,I.length-1]).forEach(function(ye){I[ye][H]+=ne}),S[W]=null)}),y.position_socketXYSE=me(f),y.position_plugOverheadSE=me(c.position_plugOverheadSE),y.position_path=c.position_path,y.position_lineStrokeWidth=c.position_lineStrokeWidth,y.position_socketGravitySE=me(t),L=!0,e.events.apl_position&&e.events.apl_position.forEach(function(l){l(e,a)})}return L}function je(e,t){t!==e.isShown&&(!!t!=!!e.isShown&&(e.svg.style.visibility=t?"":"hidden"),e.isShown=t,e.events&&e.events.svgShow&&e.events.svgShow.forEach(function(n){n(e,t)}))}function ve(e,t){var n,a,i,o,g,d,S,r,p,x,s,u,h,m,E,w,M,O,v,c,y,f,L,P,C,l,k,I,W,R,V,_,z,Q,F,H,ne,ae,K,ye,He,U,B,N,Z,T,Y,re,$,xe,be,Ve,J={};t.line&&(J.line=(a=(n=e).options,i=n.curStats,o=n.events,g=!1,g=A(n,i,"line_color",a.lineColor,o.cur_line_color)||g,g=A(n,i,"line_colorTra",Ue(i.line_color)[0]<1)||g,g=A(n,i,"line_strokeWidth",a.lineSize,o.cur_line_strokeWidth)||g)),(t.plug||J.line)&&(J.plug=(S=(d=e).options,r=d.curStats,p=d.events,x=!1,[0,1].forEach(function(b){var j,ee,q,oe,Ce,wt,Ot,We,Qe=S.plugSE[b];x=A(d,r.plug_enabledSE,b,Qe!==Ie)||x,x=A(d,r.plug_plugSE,b,Qe)||x,x=A(d,r.plug_colorSE,b,We=S.plugColorSE[b]||r.line_color,p.cur_plug_colorSE)||x,x=A(d,r.plug_colorTraSE,b,Ue(We)[0]<1)||x,Qe!==Ie&&(oe=ee=(j=et[tt[Qe]]).widthR*S.plugSizeSE[b],Ce=q=j.heightR*S.plugSizeSE[b],le&&(oe*=r.line_strokeWidth,Ce*=r.line_strokeWidth),x=A(d,r.plug_markerWidthSE,b,oe)||x,x=A(d,r.plug_markerHeightSE,b,Ce)||x,r.capsMaskMarker_markerWidthSE[b]=ee,r.capsMaskMarker_markerHeightSE[b]=q),r.plugOutline_plugSE[b]=r.capsMaskMarker_plugSE[b]=Qe,r.plug_enabledSE[b]?(We=r.line_strokeWidth/ge.lineSize*S.plugSizeSE[b],r.position_plugOverheadSE[b]=j.overhead*We,r.viewBox_plugBCircleSE[b]=j.bCircle*We,wt=j.sideLen*We,Ot=j.backLen*We):(r.position_plugOverheadSE[b]=-r.line_strokeWidth/2,r.viewBox_plugBCircleSE[b]=wt=Ot=0),A(d,r.attach_plugSideLenSE,b,wt,p.cur_attach_plugSideLenSE),A(d,r.attach_plugBackLenSE,b,Ot,p.cur_attach_plugBackLenSE),r.capsMaskAnchor_enabledSE[b]=!r.plug_enabledSE[b]}),x=A(d,r,"plug_enabled",r.plug_enabledSE[0]||r.plug_enabledSE[1])||x)),(t.lineOutline||J.line)&&(J.lineOutline=(h=(s=e).options,m=s.curStats,E=!1,E=A(s,m,"lineOutline_enabled",h.lineOutlineEnabled)||E,E=A(s,m,"lineOutline_color",h.lineOutlineColor)||E,E=A(s,m,"lineOutline_colorTra",Ue(m.lineOutline_color)[0]<1)||E,u=m.line_strokeWidth*h.lineOutlineSize,E=A(s,m,"lineOutline_strokeWidth",m.line_strokeWidth-2*u)||E,E=A(s,m,"lineOutline_inStrokeWidth",m.lineOutline_colorTra?m.lineOutline_strokeWidth+2*Bt:m.line_strokeWidth-u)||E)),(t.plugOutline||J.line||J.plug||J.lineOutline)&&(J.plugOutline=(M=(w=e).options,O=w.curStats,v=!1,[0,1].forEach(function(b){var j,ee=O.plugOutline_plugSE[b],q=ee!==Ie?et[tt[ee]]:null;v=A(w,O.plugOutline_enabledSE,b,M.plugOutlineEnabledSE[b]&&O.plug_enabled&&O.plug_enabledSE[b]&&!!q&&!!q.outlineBase)||v,v=A(w,O.plugOutline_colorSE,b,j=M.plugOutlineColorSE[b]||O.lineOutline_color)||v,v=A(w,O.plugOutline_colorTraSE,b,Ue(j)[0]<1)||v,q&&q.outlineBase&&((j=M.plugOutlineSizeSE[b])>q.outlineMax&&(j=q.outlineMax),j*=2*q.outlineBase,v=A(w,O.plugOutline_strokeWidthSE,b,j)||v,v=A(w,O.plugOutline_inStrokeWidthSE,b,O.plugOutline_colorTraSE[b]?j-Bt/(O.line_strokeWidth/ge.lineSize)/M.plugSizeSE[b]*2:j/2)||v)}),v)),(t.faces||J.line||J.plug||J.lineOutline||J.plugOutline)&&(J.faces=(f=(c=e).curStats,L=c.aplStats,P=c.events,C=!1,!f.line_altColor&&A(c,L,"line_color",y=f.line_color,P.apl_line_color)&&(c.lineFace.style.stroke=y,C=!0),A(c,L,"line_strokeWidth",y=f.line_strokeWidth,P.apl_line_strokeWidth)&&(c.lineShape.style.strokeWidth=y+"px",C=!0,(Ge||_e)&&(ie(c,c.lineShape),_e&&(ie(c,c.lineFace),ie(c,c.lineMaskCaps)))),A(c,L,"lineOutline_enabled",y=f.lineOutline_enabled,P.apl_lineOutline_enabled)&&(c.lineOutlineFace.style.display=y?"inline":"none",C=!0),f.lineOutline_enabled&&(A(c,L,"lineOutline_color",y=f.lineOutline_color,P.apl_lineOutline_color)&&(c.lineOutlineFace.style.stroke=y,C=!0),A(c,L,"lineOutline_strokeWidth",y=f.lineOutline_strokeWidth,P.apl_lineOutline_strokeWidth)&&(c.lineOutlineMaskShape.style.strokeWidth=y+"px",C=!0,_e&&(ie(c,c.lineOutlineMaskCaps),ie(c,c.lineOutlineFace))),A(c,L,"lineOutline_inStrokeWidth",y=f.lineOutline_inStrokeWidth,P.apl_lineOutline_inStrokeWidth)&&(c.lineMaskShape.style.strokeWidth=y+"px",C=!0,_e&&(ie(c,c.lineOutlineMaskCaps),ie(c,c.lineOutlineFace)))),A(c,L,"plug_enabled",y=f.plug_enabled,P.apl_plug_enabled)&&(c.plugsFace.style.display=y?"inline":"none",C=!0),f.plug_enabled&&[0,1].forEach(function(b){var j=f.plug_plugSE[b],ee=j!==Ie?et[tt[j]]:null,q=jt(b,ee);A(c,L.plug_enabledSE,b,y=f.plug_enabledSE[b],P.apl_plug_enabledSE)&&(c.plugsFace.style[q.prop]=y?"url(#"+c.plugMarkerIdSE[b]+")":"none",C=!0),f.plug_enabledSE[b]&&(A(c,L.plug_plugSE,b,j,P.apl_plug_plugSE)&&(c.plugFaceSE[b].href.baseVal="#"+ee.elmId,zt(c,c.plugMarkerSE[b],q.orient,ee.bBox,c.svg,c.plugMarkerShapeSE[b],c.plugsFace),C=!0,Ge&&ie(c,c.plugsFace)),A(c,L.plug_colorSE,b,y=f.plug_colorSE[b],P.apl_plug_colorSE)&&(c.plugFaceSE[b].style.fill=y,C=!0,(it||le||_e)&&!f.line_colorTra&&ie(c,_e?c.lineMaskCaps:c.capsMaskLine)),["markerWidth","markerHeight"].forEach(function(oe){var Ce="plug_"+oe+"SE";A(c,L[Ce],b,y=f[Ce][b],P["apl_"+Ce])&&(c.plugMarkerSE[b][oe].baseVal.value=y,C=!0)}),A(c,L.plugOutline_enabledSE,b,y=f.plugOutline_enabledSE[b],P.apl_plugOutline_enabledSE)&&(y?(c.plugFaceSE[b].style.mask="url(#"+c.plugMaskIdSE[b]+")",c.plugOutlineFaceSE[b].style.display="inline"):(c.plugFaceSE[b].style.mask="none",c.plugOutlineFaceSE[b].style.display="none"),C=!0),f.plugOutline_enabledSE[b]&&(A(c,L.plugOutline_plugSE,b,j,P.apl_plugOutline_plugSE)&&(c.plugOutlineFaceSE[b].href.baseVal=c.plugMaskShapeSE[b].href.baseVal=c.plugOutlineMaskShapeSE[b].href.baseVal="#"+ee.elmId,[c.plugMaskSE[b],c.plugOutlineMaskSE[b]].forEach(function(oe){oe.x.baseVal.value=ee.bBox.left,oe.y.baseVal.value=ee.bBox.top,oe.width.baseVal.value=ee.bBox.width,oe.height.baseVal.value=ee.bBox.height}),C=!0),A(c,L.plugOutline_colorSE,b,y=f.plugOutline_colorSE[b],P.apl_plugOutline_colorSE)&&(c.plugOutlineFaceSE[b].style.fill=y,C=!0,_e&&(ie(c,c.lineMaskCaps),ie(c,c.lineOutlineMaskCaps))),A(c,L.plugOutline_strokeWidthSE,b,y=f.plugOutline_strokeWidthSE[b],P.apl_plugOutline_strokeWidthSE)&&(c.plugOutlineMaskShapeSE[b].style.strokeWidth=y+"px",C=!0),A(c,L.plugOutline_inStrokeWidthSE,b,y=f.plugOutline_inStrokeWidthSE[b],P.apl_plugOutline_inStrokeWidthSE)&&(c.plugMaskShapeSE[b].style.strokeWidth=y+"px",C=!0)))}),C)),(t.position||J.line||J.plug)&&(J.position=rn(e)),(t.path||J.position)&&(J.path=(I=(l=e).curStats,W=l.aplStats,R=l.pathList.animVal||l.pathList.baseVal,V=I.path_edge,_=!1,R&&(V.x1=V.x2=R[0][0].x,V.y1=V.y2=R[0][0].y,I.path_pathData=k=kt(R,function(b){b.x<V.x1&&(V.x1=b.x),b.y<V.y1&&(V.y1=b.y),b.x>V.x2&&(V.x2=b.x),b.y>V.y2&&(V.y2=b.y)}),lt(k,W.path_pathData)&&(l.linePath.setPathData(k),W.path_pathData=k,_=!0,_e?(ie(l,l.plugsFace),ie(l,l.lineMaskCaps)):Ge&&ie(l,l.linePath),l.events.apl_path&&l.events.apl_path.forEach(function(b){b(l,k)}))),_)),J.viewBox=(H=(z=e).curStats,ne=z.aplStats,ae=H.path_edge,K=H.viewBox_bBox,ye=ne.viewBox_bBox,He=z.svg.viewBox.baseVal,U=z.svg.style,B=!1,Q=Math.max(H.line_strokeWidth/2,H.viewBox_plugBCircleSE[0]||0,H.viewBox_plugBCircleSE[1]||0),F={x1:ae.x1-Q,y1:ae.y1-Q,x2:ae.x2+Q,y2:ae.y2+Q},z.events.new_edge4viewBox&&z.events.new_edge4viewBox.forEach(function(b){b(z,F)}),K.x=H.lineMask_x=H.lineOutlineMask_x=H.maskBGRect_x=F.x1,K.y=H.lineMask_y=H.lineOutlineMask_y=H.maskBGRect_y=F.y1,K.width=F.x2-F.x1,K.height=F.y2-F.y1,["x","y","width","height"].forEach(function(b){var j;(j=K[b])!==ye[b]&&(He[b]=ye[b]=j,U[Pt[b]]=j+(b==="x"||b==="y"?z.bodyOffset[b]:0)+"px",B=!0)}),B),J.mask=(T=(N=e).curStats,Y=N.aplStats,re=!1,T.plug_enabled?[0,1].forEach(function(b){T.capsMaskMarker_enabledSE[b]=T.plug_enabledSE[b]&&T.plug_colorTraSE[b]||T.plugOutline_enabledSE[b]&&T.plugOutline_colorTraSE[b]}):T.capsMaskMarker_enabledSE[0]=T.capsMaskMarker_enabledSE[1]=!1,T.capsMaskMarker_enabled=T.capsMaskMarker_enabledSE[0]||T.capsMaskMarker_enabledSE[1],T.lineMask_outlineMode=T.lineOutline_enabled,T.caps_enabled=T.capsMaskMarker_enabled||T.capsMaskAnchor_enabledSE[0]||T.capsMaskAnchor_enabledSE[1],T.lineMask_enabled=T.caps_enabled||T.lineMask_outlineMode,(T.lineMask_enabled&&!T.lineMask_outlineMode||T.lineOutline_enabled)&&["x","y"].forEach(function(b){var j="maskBGRect_"+b;A(N,Y,j,Z=T[j])&&(N.maskBGRect[b].baseVal.value=Z,re=!0)}),A(N,Y,"lineMask_enabled",Z=T.lineMask_enabled)&&(N.lineFace.style.mask=Z?"url(#"+N.lineMaskId+")":"none",re=!0,le&&ie(N,N.lineMask)),T.lineMask_enabled&&(A(N,Y,"lineMask_outlineMode",Z=T.lineMask_outlineMode)&&(Z?(N.lineMaskBG.style.display="none",N.lineMaskShape.style.display="inline"):(N.lineMaskBG.style.display="inline",N.lineMaskShape.style.display="none"),re=!0),["x","y"].forEach(function(b){var j="lineMask_"+b;A(N,Y,j,Z=T[j])&&(N.lineMask[b].baseVal.value=Z,re=!0)}),A(N,Y,"caps_enabled",Z=T.caps_enabled)&&(N.lineMaskCaps.style.display=N.lineOutlineMaskCaps.style.display=Z?"inline":"none",re=!0,le&&ie(N,N.capsMaskLine)),T.caps_enabled&&([0,1].forEach(function(b){var j;A(N,Y.capsMaskAnchor_enabledSE,b,Z=T.capsMaskAnchor_enabledSE[b])&&(N.capsMaskAnchorSE[b].style.display=Z?"inline":"none",re=!0,le&&ie(N,N.lineMask)),T.capsMaskAnchor_enabledSE[b]&&(lt(j=T.capsMaskAnchor_pathDataSE[b],Y.capsMaskAnchor_pathDataSE[b])&&(N.capsMaskAnchorSE[b].setPathData(j),Y.capsMaskAnchor_pathDataSE[b]=j,re=!0),A(N,Y.capsMaskAnchor_strokeWidthSE,b,Z=T.capsMaskAnchor_strokeWidthSE[b])&&(N.capsMaskAnchorSE[b].style.strokeWidth=Z+"px",re=!0))}),A(N,Y,"capsMaskMarker_enabled",Z=T.capsMaskMarker_enabled)&&(N.capsMaskLine.style.display=Z?"inline":"none",re=!0),T.capsMaskMarker_enabled&&[0,1].forEach(function(b){var j=T.capsMaskMarker_plugSE[b],ee=j!==Ie?et[tt[j]]:null,q=jt(b,ee);A(N,Y.capsMaskMarker_enabledSE,b,Z=T.capsMaskMarker_enabledSE[b])&&(N.capsMaskLine.style[q.prop]=Z?"url(#"+N.lineMaskMarkerIdSE[b]+")":"none",re=!0),T.capsMaskMarker_enabledSE[b]&&(A(N,Y.capsMaskMarker_plugSE,b,j)&&(N.capsMaskMarkerShapeSE[b].href.baseVal="#"+ee.elmId,zt(N,N.capsMaskMarkerSE[b],q.orient,ee.bBox,N.svg,N.capsMaskMarkerShapeSE[b],N.capsMaskLine),re=!0,Ge&&(ie(N,N.capsMaskLine),ie(N,N.lineFace))),["markerWidth","markerHeight"].forEach(function(oe){var Ce="capsMaskMarker_"+oe+"SE";A(N,Y[Ce],b,Z=T[Ce][b])&&(N.capsMaskMarkerSE[b][oe].baseVal.value=Z,re=!0)}))}))),T.lineOutline_enabled&&["x","y"].forEach(function(b){var j="lineOutlineMask_"+b;A(N,Y,j,Z=T[j])&&(N.lineOutlineMask[b].baseVal.value=Z,re=!0)}),re),t.effect&&(be=($=e).curStats,Ve=$.aplStats,Object.keys(X).forEach(function(b){var j=X[b],ee=b+"_enabled",q=b+"_options",oe=be[q];A($,Ve,ee,xe=be[ee])?(xe&&(Ve[q]=me(oe)),j[xe?"init":"remove"]($)):xe&&Te(oe,Ve[q])&&(j.remove($),Ve[ee]=!0,Ve[q]=me(oe),j.init($))})),(it||le)&&J.line&&!J.path&&ie(e,e.lineShape),it&&J.plug&&!J.line&&ie(e,e.plugsFace),Dt(e)}function st(e,t){return{duration:Se(e.duration)&&0<e.duration?e.duration:t.duration,timing:he.validTiming(e.timing)?e.timing:me(t.timing)}}function ut(e,t,n,a){var i,o=e.curStats,g=e.aplStats,d={};function S(){["show_on","show_effect","show_animOptions"].forEach(function(r){g[r]=o[r]})}o.show_on=t,n&&te[n]&&(o.show_effect=n,o.show_animOptions=st(Ae(a)?a:{},te[n].defaultAnimOptions)),d.show_on=o.show_on!==g.show_on,d.show_effect=o.show_effect!==g.show_effect,d.show_animOptions=Te(o.show_animOptions,g.show_animOptions),d.show_effect||d.show_animOptions?o.show_inAnim?(i=d.show_effect?te[g.show_effect].stop(e,!0,!0):te[g.show_effect].stop(e),S(),te[g.show_effect].init(e,i)):d.show_on&&(g.show_effect&&d.show_effect&&te[g.show_effect].stop(e,!0,!0),S(),te[g.show_effect].init(e)):d.show_on&&(S(),te[g.show_effect].start(e))}function Zt(e,t,n){var a={props:e,optionName:n};return!(!(e.attachments.indexOf(t)<0)||t.conf.bind&&!t.conf.bind(t,a))&&(e.attachments.push(t),t.boundTargets.push(a),!0)}function ht(e,t,n){var a=e.attachments.indexOf(t);-1<a&&e.attachments.splice(a,1),t.boundTargets.some(function(i,o){return i.props===e&&(t.conf.unbind&&t.conf.unbind(t,i),a=o,!0)})&&(t.boundTargets.splice(a,1),n||ze(function(){t.boundTargets.length||ct(t)}))}function pt(e,t){var n,a,i=e.options,o={};function g(r,p,x,s,u){var h={};return x?s!=null?(h.container=r[x],h.key=s):(h.container=r,h.key=x):(h.container=r,h.key=p),h.default=u,h.acceptsAuto=h.default==null,h}function d(r,p,x,s,u,h,m){var E,w,M,O=g(r,x,u,h,m);return p[x]!=null&&(w=(p[x]+"").toLowerCase())&&(O.acceptsAuto&&w===Ne||(M=s[w]))&&M!==O.container[O.key]&&(O.container[O.key]=M,E=!0),O.container[O.key]!=null||O.acceptsAuto||(O.container[O.key]=O.default,E=!0),E}function S(r,p,x,s,u,h,m,E,w){var M,O,v,c,y=g(r,x,u,h,m);if(!s){if(y.default==null)throw new Error("Invalid `type`: "+x);s=typeof y.default}return p[x]!=null&&(y.acceptsAuto&&(p[x]+"").toLowerCase()===Ne||(v=O=p[x],((c=s)==="number"?Se(v):typeof v===c)&&(O=w&&s==="string"&&O?O.trim():O,1)&&(!E||E(O))))&&O!==y.container[y.key]&&(y.container[y.key]=O,M=!0),y.container[y.key]!=null||y.acceptsAuto||(y.container[y.key]=y.default,M=!0),M}if(t=t||{},["start","end"].forEach(function(r,p){var x=t[r],s=!1;if(x&&(Ze(x)||(s=Ke(x,"anchor")))&&x!==i.anchorSE[p]){if(e.optionIsAttach.anchorSE[p]!==!1&&ht(e,ce[i.anchorSE[p]._id]),s&&!Zt(e,ce[x._id],r))throw new Error("Can't bind attachment");i.anchorSE[p]=x,e.optionIsAttach.anchorSE[p]=s,a=o.position=!0}}),!i.anchorSE[0]||!i.anchorSE[1]||i.anchorSE[0]===i.anchorSE[1])throw new Error("`start` and `end` are required.");a&&(n=(function(r,p){var x,s,u;if(!(x=xt(r))||!(s=xt(p)))throw new Error("Cannot get frames.");return x.length&&s.length&&(x.reverse(),s.reverse(),x.some(function(h){return s.some(function(m){return m===h&&(u=m.contentWindow,!0)})})),u||window})(e.optionIsAttach.anchorSE[0]!==!1?ce[i.anchorSE[0]._id].element:i.anchorSE[0],e.optionIsAttach.anchorSE[1]!==!1?ce[i.anchorSE[1]._id].element:i.anchorSE[1]))!==e.baseWindow&&((function(r,p){var x,s,u,h,m,E,w,M,O,v,c=r.aplStats,y=p.document,f=pe+"-"+r._id;function L(l){var k=s.appendChild(y.createElementNS(D,"mask"));return k.id=l,k.maskUnits.baseVal=SVGUnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE,[k.x,k.y,k.width,k.height].forEach(function(I){I.baseVal.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX,0)}),k}function P(l){var k=s.appendChild(y.createElementNS(D,"marker"));return k.id=l,k.markerUnits.baseVal=SVGMarkerElement.SVG_MARKERUNITS_STROKEWIDTH,k.viewBox.baseVal||k.setAttribute("viewBox","0 0 0 0"),k}function C(l){return[l.width,l.height].forEach(function(k){k.baseVal.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PERCENTAGE,100)}),l}r.pathList={},de(c,vt),Object.keys(X).forEach(function(l){var k=l+"_enabled";c[k]&&(X[l].remove(r),c[k]=!1)}),r.baseWindow&&r.svg&&r.baseWindow.document.body.removeChild(r.svg),Ut(r.baseWindow=p),r.bodyOffset=Ht(p),r.svg=x=y.createElementNS(D,"svg"),x.className.baseVal=pe,x.viewBox.baseVal||x.setAttribute("viewBox","0 0 0 0"),r.defs=s=x.appendChild(y.createElementNS(D,"defs")),r.linePath=h=s.appendChild(y.createElementNS(D,"path")),h.id=m=f+"-line-path",h.className.baseVal=pe+"-line-path",le&&(h.style.fill="none"),r.lineShape=h=s.appendChild(y.createElementNS(D,"use")),h.id=E=f+"-line-shape",h.href.baseVal="#"+m,(u=s.appendChild(y.createElementNS(D,"g"))).id=w=f+"-caps",r.capsMaskAnchorSE=[0,1].map(function(){var l=u.appendChild(y.createElementNS(D,"path"));return l.className.baseVal=pe+"-caps-mask-anchor",l}),r.lineMaskMarkerIdSE=[f+"-caps-mask-marker-0",f+"-caps-mask-marker-1"],r.capsMaskMarkerSE=[0,1].map(function(l){return P(r.lineMaskMarkerIdSE[l])}),r.capsMaskMarkerShapeSE=[0,1].map(function(l){var k=r.capsMaskMarkerSE[l].appendChild(y.createElementNS(D,"use"));return k.className.baseVal=pe+"-caps-mask-marker-shape",k}),r.capsMaskLine=h=u.appendChild(y.createElementNS(D,"use")),h.className.baseVal=pe+"-caps-mask-line",h.href.baseVal="#"+E,r.maskBGRect=h=C(s.appendChild(y.createElementNS(D,"rect"))),h.id=M=f+"-mask-bg-rect",h.className.baseVal=pe+"-mask-bg-rect",le&&(h.style.fill="white"),r.lineMask=C(L(r.lineMaskId=f+"-line-mask")),r.lineMaskBG=h=r.lineMask.appendChild(y.createElementNS(D,"use")),h.href.baseVal="#"+M,r.lineMaskShape=h=r.lineMask.appendChild(y.createElementNS(D,"use")),h.className.baseVal=pe+"-line-mask-shape",h.href.baseVal="#"+m,h.style.display="none",r.lineMaskCaps=h=r.lineMask.appendChild(y.createElementNS(D,"use")),h.href.baseVal="#"+w,r.lineOutlineMask=C(L(O=f+"-line-outline-mask")),(h=r.lineOutlineMask.appendChild(y.createElementNS(D,"use"))).href.baseVal="#"+M,r.lineOutlineMaskShape=h=r.lineOutlineMask.appendChild(y.createElementNS(D,"use")),h.className.baseVal=pe+"-line-outline-mask-shape",h.href.baseVal="#"+m,r.lineOutlineMaskCaps=h=r.lineOutlineMask.appendChild(y.createElementNS(D,"use")),h.href.baseVal="#"+w,r.face=x.appendChild(y.createElementNS(D,"g")),r.lineFace=h=r.face.appendChild(y.createElementNS(D,"use")),h.href.baseVal="#"+E,r.lineOutlineFace=h=r.face.appendChild(y.createElementNS(D,"use")),h.href.baseVal="#"+E,h.style.mask="url(#"+O+")",h.style.display="none",r.plugMaskIdSE=[f+"-plug-mask-0",f+"-plug-mask-1"],r.plugMaskSE=[0,1].map(function(l){return L(r.plugMaskIdSE[l])}),r.plugMaskShapeSE=[0,1].map(function(l){var k=r.plugMaskSE[l].appendChild(y.createElementNS(D,"use"));return k.className.baseVal=pe+"-plug-mask-shape",k}),v=[],r.plugOutlineMaskSE=[0,1].map(function(l){return L(v[l]=f+"-plug-outline-mask-"+l)}),r.plugOutlineMaskShapeSE=[0,1].map(function(l){var k=r.plugOutlineMaskSE[l].appendChild(y.createElementNS(D,"use"));return k.className.baseVal=pe+"-plug-outline-mask-shape",k}),r.plugMarkerIdSE=[f+"-plug-marker-0",f+"-plug-marker-1"],r.plugMarkerSE=[0,1].map(function(l){var k=P(r.plugMarkerIdSE[l]);return le&&(k.markerUnits.baseVal=SVGMarkerElement.SVG_MARKERUNITS_USERSPACEONUSE),k}),r.plugMarkerShapeSE=[0,1].map(function(l){return r.plugMarkerSE[l].appendChild(y.createElementNS(D,"g"))}),r.plugFaceSE=[0,1].map(function(l){return r.plugMarkerShapeSE[l].appendChild(y.createElementNS(D,"use"))}),r.plugOutlineFaceSE=[0,1].map(function(l){var k=r.plugMarkerShapeSE[l].appendChild(y.createElementNS(D,"use"));return k.style.mask="url(#"+v[l]+")",k.style.display="none",k}),r.plugsFace=h=r.face.appendChild(y.createElementNS(D,"use")),h.className.baseVal=pe+"-plugs-face",h.href.baseVal="#"+E,h.style.display="none",r.curStats.show_inAnim?(r.isShown=1,te[c.show_effect].stop(r,!0)):r.isShown||(x.style.visibility="hidden"),y.body.appendChild(x),[0,1,2].forEach(function(l){var k,I=r.options.labelSEM[l];I&&Ke(I,"label")&&(k=ce[I._id]).conf.initSvg&&k.conf.initSvg(k,r)})})(e,n),o.line=o.plug=o.lineOutline=o.plugOutline=o.faces=o.effect=!0),o.position=d(i,t,"path",Vt,null,null,ge.path)||o.position,o.position=d(i,t,"startSocket",$e,"socketSE",0)||o.position,o.position=d(i,t,"endSocket",$e,"socketSE",1)||o.position,[t.startSocketGravity,t.endSocketGravity].forEach(function(r,p){var x,s,u=!1;r!=null&&(Array.isArray(r)?Se(r[0])&&Se(r[1])&&(u=[r[0],r[1]],Array.isArray(i.socketGravitySE[p])&&(x=u,s=i.socketGravitySE[p],x.length===s.length&&x.every(function(h,m){return h===s[m]}))&&(u=!1)):((r+"").toLowerCase()===Ne?u=null:Se(r)&&0<=r&&(u=r),u===i.socketGravitySE[p]&&(u=!1)),u!==!1&&(i.socketGravitySE[p]=u,o.position=!0))}),o.line=S(i,t,"color",null,"lineColor",null,ge.lineColor,null,!0)||o.line,o.line=S(i,t,"size",null,"lineSize",null,ge.lineSize,function(r){return 0<r})||o.line,["startPlug","endPlug"].forEach(function(r,p){o.plug=d(i,t,r,gt,"plugSE",p,ge.plugSE[p])||o.plug,o.plug=S(i,t,r+"Color","string","plugColorSE",p,null,null,!0)||o.plug,o.plug=S(i,t,r+"Size",null,"plugSizeSE",p,ge.plugSizeSE[p],function(x){return 0<x})||o.plug}),o.lineOutline=S(i,t,"outline",null,"lineOutlineEnabled",null,ge.lineOutlineEnabled)||o.lineOutline,o.lineOutline=S(i,t,"outlineColor",null,"lineOutlineColor",null,ge.lineOutlineColor,null,!0)||o.lineOutline,o.lineOutline=S(i,t,"outlineSize",null,"lineOutlineSize",null,ge.lineOutlineSize,function(r){return 0<r&&r<=.48})||o.lineOutline,["startPlugOutline","endPlugOutline"].forEach(function(r,p){o.plugOutline=S(i,t,r,null,"plugOutlineEnabledSE",p,ge.plugOutlineEnabledSE[p])||o.plugOutline,o.plugOutline=S(i,t,r+"Color","string","plugOutlineColorSE",p,null,null,!0)||o.plugOutline,o.plugOutline=S(i,t,r+"Size",null,"plugOutlineSizeSE",p,ge.plugOutlineSizeSE[p],function(x){return 1<=x})||o.plugOutline}),["startLabel","endLabel","middleLabel"].forEach(function(r,p){var x,s,u,h=t[r],m=i.labelSEM[p]&&!e.optionIsAttach.labelSEM[p]?ce[i.labelSEM[p]._id].text:i.labelSEM[p],E=!1;if((x=typeof h=="string")&&(h=h.trim()),(x||h&&(E=Ke(h,"label")))&&h!==m){if(i.labelSEM[p]&&(ht(e,ce[i.labelSEM[p]._id]),i.labelSEM[p]=""),h){if(E?(s=ce[(u=h)._id]).boundTargets.slice().forEach(function(w){s.conf.removeOption(s,w)}):u=new Be(G.captionLabel,[h]),!Zt(e,ce[u._id],r))throw new Error("Can't bind attachment");i.labelSEM[p]=u}e.optionIsAttach.labelSEM[p]=E}}),Object.keys(X).forEach(function(r){var p,x,s=X[r],u=r+"_enabled",h=r+"_options";function m(w){var M={};return s.optionsConf.forEach(function(O){var v=O[0],c=O[3];O[4]==null||M[c]||(M[c]=[]),(typeof v=="function"?v:v==="id"?d:S).apply(null,[M,w].concat(O.slice(1)))}),M}function E(w){var M,O=r+"_animOptions";return w.hasOwnProperty("animation")?Ae(w.animation)?M=e.curStats[O]=st(w.animation,s.defaultAnimOptions):(M=!!w.animation,e.curStats[O]=M?st({},s.defaultAnimOptions):null):(M=!!s.defaultEnabled,e.curStats[O]=M?st({},s.defaultAnimOptions):null),M}t.hasOwnProperty(r)&&(p=t[r],Ae(p)?(e.curStats[u]=!0,x=e.curStats[h]=m(p),s.anim&&(e.curStats[h].animation=E(p))):(x=e.curStats[u]=!!p)&&(e.curStats[h]=m({}),s.anim&&(e.curStats[h].animation=E({}))),Te(x,i[r])&&(i[r]=x,o.effect=!0))}),ve(e,o)}function Ee(e,t,n){var a={options:{anchorSE:[],socketSE:[],socketGravitySE:[],plugSE:[],plugColorSE:[],plugSizeSE:[],plugOutlineEnabledSE:[],plugOutlineColorSE:[],plugOutlineSizeSE:[],labelSEM:["","",""]},optionIsAttach:{anchorSE:[!1,!1],labelSEM:[!1,!1,!1]},curStats:{},aplStats:{},attachments:[],events:{},reflowTargets:[]};de(a.curStats,vt),de(a.aplStats,vt),Object.keys(X).forEach(function(i){var o=X[i].stats;de(a.curStats,o),de(a.aplStats,o),a.options[i]=!1}),de(a.curStats,Rt),de(a.aplStats,Rt),a.curStats.show_effect=Ft,a.curStats.show_animOptions=me(te[Ft].defaultAnimOptions),Object.defineProperty(this,"_id",{value:++an}),a._id=this._id,fe[this._id]=a,arguments.length===1&&(n=e,e=null),n=n||{},(e||t)&&(n=me(n),e&&(n.start=e),t&&(n.end=t)),a.isShown=a.aplStats.show_on=!n.hide,this.setOptions(n)}return X={dash:{stats:{dash_len:{},dash_gap:{},dash_maxOffset:{}},anim:!0,defaultAnimOptions:{duration:1e3,timing:"linear"},optionsConf:[["type","len","number",null,null,null,function(e){return 0<e}],["type","gap","number",null,null,null,function(e){return 0<e}]],init:function(e){se(e,"apl_line_strokeWidth",X.dash.update),e.lineFace.style.strokeDashoffset=0,X.dash.update(e)},remove:function(e){var t=e.curStats;ue(e,"apl_line_strokeWidth",X.dash.update),t.dash_animId&&(he.remove(t.dash_animId),t.dash_animId=null),e.lineFace.style.strokeDasharray="none",e.lineFace.style.strokeDashoffset=0,de(e.aplStats,X.dash.stats)},update:function(e){var t,n=e.curStats,a=e.aplStats,i=a.dash_options,o=!1;n.dash_len=i.len||2*a.line_strokeWidth,n.dash_gap=i.gap||a.line_strokeWidth,n.dash_maxOffset=n.dash_len+n.dash_gap,o=A(e,a,"dash_len",n.dash_len)||o,(o=A(e,a,"dash_gap",n.dash_gap)||o)&&(e.lineFace.style.strokeDasharray=a.dash_len+","+a.dash_gap),n.dash_animOptions?(o=A(e,a,"dash_maxOffset",n.dash_maxOffset),a.dash_animOptions&&(o||Te(n.dash_animOptions,a.dash_animOptions))&&(n.dash_animId&&(t=he.stop(n.dash_animId),he.remove(n.dash_animId)),a.dash_animOptions=null),a.dash_animOptions||(n.dash_animId=he.add(function(g){return(1-g)*a.dash_maxOffset+"px"},function(g){e.lineFace.style.strokeDashoffset=g},n.dash_animOptions.duration,0,n.dash_animOptions.timing,!1,t),a.dash_animOptions=me(n.dash_animOptions))):a.dash_animOptions&&(n.dash_animId&&(he.remove(n.dash_animId),n.dash_animId=null),e.lineFace.style.strokeDashoffset=0,a.dash_animOptions=null)}},gradient:{stats:{gradient_colorSE:{hasSE:!0},gradient_pointSE:{hasSE:!0,hasProps:!0}},optionsConf:[["type","startColor","string","colorSE",0,null,null,!0],["type","endColor","string","colorSE",1,null,null,!0]],init:function(e){var t,n=e.baseWindow.document,a=e.defs,i=pe+"-"+e._id+"-gradient";e.efc_gradient_gradient=t=a.appendChild(n.createElementNS(D,"linearGradient")),t.id=i,t.gradientUnits.baseVal=SVGUnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE,[t.x1,t.y1,t.x2,t.y2].forEach(function(o){o.baseVal.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX,0)}),e.efc_gradient_stopSE=[0,1].map(function(o){var g=e.efc_gradient_gradient.appendChild(n.createElementNS(D,"stop"));try{g.offset.baseVal=o}catch(d){if(d.code!==DOMException.NO_MODIFICATION_ALLOWED_ERR)throw d;g.setAttribute("offset",o)}return g}),se(e,"cur_plug_colorSE",X.gradient.update),se(e,"apl_path",X.gradient.update),e.curStats.line_altColor=!0,e.lineFace.style.stroke="url(#"+i+")",X.gradient.update(e)},remove:function(e){e.efc_gradient_gradient&&(e.defs.removeChild(e.efc_gradient_gradient),e.efc_gradient_gradient=e.efc_gradient_stopSE=null),ue(e,"cur_plug_colorSE",X.gradient.update),ue(e,"apl_path",X.gradient.update),e.curStats.line_altColor=!1,e.lineFace.style.stroke=e.curStats.line_color,de(e.aplStats,X.gradient.stats)},update:function(e){var t,n,a=e.curStats,i=e.aplStats,o=i.gradient_options,g=e.pathList.animVal||e.pathList.baseVal;[0,1].forEach(function(d){a.gradient_colorSE[d]=o.colorSE[d]||a.plug_colorSE[d]}),n=g[0][0],a.gradient_pointSE[0]={x:n.x,y:n.y},n=(t=g[g.length-1])[t.length-1],a.gradient_pointSE[1]={x:n.x,y:n.y},[0,1].forEach(function(d){var S;A(e,i.gradient_colorSE,d,S=a.gradient_colorSE[d])&&(le?(S=Ue(S),e.efc_gradient_stopSE[d].style.stopColor=S[1],e.efc_gradient_stopSE[d].style.stopOpacity=S[0]):e.efc_gradient_stopSE[d].style.stopColor=S),["x","y"].forEach(function(r){(S=a.gradient_pointSE[d][r])!==i.gradient_pointSE[d][r]&&(e.efc_gradient_gradient[r+(d+1)].baseVal.value=i.gradient_pointSE[d][r]=S)})})}},dropShadow:{stats:{dropShadow_dx:{},dropShadow_dy:{},dropShadow_blur:{},dropShadow_color:{},dropShadow_opacity:{},dropShadow_x:{},dropShadow_y:{}},optionsConf:[["type","dx",null,null,null,2],["type","dy",null,null,null,4],["type","blur",null,null,null,3,function(e){return 0<=e}],["type","color",null,null,null,"#000",null,!0],["type","opacity",null,null,null,.8,function(e){return 0<=e&&e<=1}]],init:function(e){var t,n,a,i,o,g=e.baseWindow.document,d=e.defs,S=pe+"-"+e._id+"-dropShadow",r=(t=g,n=S,o={},typeof ft!="boolean"&&(ft=!!window.SVGFEDropShadowElement&&!le),o.elmsAppend=[o.elmFilter=a=t.createElementNS(D,"filter")],a.filterUnits.baseVal=SVGUnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE,a.x.baseVal.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX,0),a.y.baseVal.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX,0),a.width.baseVal.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PERCENTAGE,100),a.height.baseVal.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PERCENTAGE,100),a.id=n,ft?(o.elmOffset=o.elmBlur=i=a.appendChild(t.createElementNS(D,"feDropShadow")),o.styleFlood=i.style):(o.elmBlur=a.appendChild(t.createElementNS(D,"feGaussianBlur")),o.elmOffset=i=a.appendChild(t.createElementNS(D,"feOffset")),i.result.baseVal="offsetblur",i=a.appendChild(t.createElementNS(D,"feFlood")),o.styleFlood=i.style,(i=a.appendChild(t.createElementNS(D,"feComposite"))).in2.baseVal="offsetblur",i.operator.baseVal=SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_IN,(i=a.appendChild(t.createElementNS(D,"feMerge"))).appendChild(t.createElementNS(D,"feMergeNode")),i.appendChild(t.createElementNS(D,"feMergeNode")).in1.baseVal="SourceGraphic"),o);["elmFilter","elmOffset","elmBlur","styleFlood","elmsAppend"].forEach(function(p){e["efc_dropShadow_"+p]=r[p]}),r.elmsAppend.forEach(function(p){d.appendChild(p)}),e.face.setAttribute("filter","url(#"+S+")"),se(e,"new_edge4viewBox",X.dropShadow.adjustEdge),X.dropShadow.update(e)},remove:function(e){var t=e.defs;e.efc_dropShadow_elmsAppend&&(e.efc_dropShadow_elmsAppend.forEach(function(n){t.removeChild(n)}),e.efc_dropShadow_elmFilter=e.efc_dropShadow_elmOffset=e.efc_dropShadow_elmBlur=e.efc_dropShadow_styleFlood=e.efc_dropShadow_elmsAppend=null),ue(e,"new_edge4viewBox",X.dropShadow.adjustEdge),ve(e,{}),e.face.removeAttribute("filter"),de(e.aplStats,X.dropShadow.stats)},update:function(e){var t,n,a=e.curStats,i=e.aplStats,o=i.dropShadow_options;a.dropShadow_dx=t=o.dx,A(e,i,"dropShadow_dx",t)&&(e.efc_dropShadow_elmOffset.dx.baseVal=t,n=!0),a.dropShadow_dy=t=o.dy,A(e,i,"dropShadow_dy",t)&&(e.efc_dropShadow_elmOffset.dy.baseVal=t,n=!0),a.dropShadow_blur=t=o.blur,A(e,i,"dropShadow_blur",t)&&(e.efc_dropShadow_elmBlur.setStdDeviation(t,t),n=!0),n&&ve(e,{}),a.dropShadow_color=t=o.color,A(e,i,"dropShadow_color",t)&&(e.efc_dropShadow_styleFlood.floodColor=t),a.dropShadow_opacity=t=o.opacity,A(e,i,"dropShadow_opacity",t)&&(e.efc_dropShadow_styleFlood.floodOpacity=t)},adjustEdge:function(e,t){var n,a,i=e.curStats,o=e.aplStats;i.dropShadow_dx!=null&&(n=3*i.dropShadow_blur,(a={x1:t.x1-n+i.dropShadow_dx,y1:t.y1-n+i.dropShadow_dy,x2:t.x2+n+i.dropShadow_dx,y2:t.y2+n+i.dropShadow_dy}).x1<t.x1&&(t.x1=a.x1),a.y1<t.y1&&(t.y1=a.y1),a.x2>t.x2&&(t.x2=a.x2),a.y2>t.y2&&(t.y2=a.y2),["x","y"].forEach(function(g){var d,S="dropShadow_"+g;i[S]=d=t[g+"1"],A(e,o,S,d)&&(e.efc_dropShadow_elmFilter[g].baseVal.value=d)}))}}},Object.keys(X).forEach(function(e){var t=X[e],n=t.stats;n[e+"_enabled"]={iniValue:!1},n[e+"_options"]={hasProps:!0},t.anim&&(n[e+"_animOptions"]={},n[e+"_animId"]={})}),te={none:{defaultAnimOptions:{},init:function(e,t){var n=e.curStats;n.show_animId&&(he.remove(n.show_animId),n.show_animId=null),te.none.start(e,t)},start:function(e,t){te.none.stop(e,!0)},stop:function(e,t,n){var a=e.curStats;return n=n!=null?n:e.aplStats.show_on,a.show_inAnim=!1,t&&je(e,n),n?1:0}},fade:{defaultAnimOptions:{duration:300,timing:"linear"},init:function(e,t){var n=e.curStats,a=e.aplStats;n.show_animId&&he.remove(n.show_animId),n.show_animId=he.add(function(i){return i},function(i,o){o?te.fade.stop(e,!0):(e.svg.style.opacity=i+"",_e&&(ie(e,e.svg),Dt(e)))},a.show_animOptions.duration,1,a.show_animOptions.timing,null,!1),te.fade.start(e,t)},start:function(e,t){var n,a=e.curStats;a.show_inAnim&&(n=he.stop(a.show_animId)),je(e,1),a.show_inAnim=!0,he.start(a.show_animId,!e.aplStats.show_on,t!=null?t:n)},stop:function(e,t,n){var a,i=e.curStats;return n=n!=null?n:e.aplStats.show_on,a=i.show_inAnim?he.stop(i.show_animId):n?1:0,i.show_inAnim=!1,t&&(e.svg.style.opacity=n?"":"0",je(e,n)),a}},draw:{defaultAnimOptions:{duration:500,timing:[.58,0,.42,1]},init:function(e,t){var n=e.curStats,a=e.aplStats,i=e.pathList.baseVal,o=Gt(i),g=o.segsLen,d=o.lenAll;n.show_animId&&he.remove(n.show_animId),n.show_animId=he.add(function(S){var r,p,x,s,u=-1;if(S===0)p=[[i[0][0],i[0][0]]];else if(S===1)p=i;else{for(r=d*S,p=[];r>=g[++u];)p.push(i[u]),r-=g[u];r&&((x=i[u]).length===2?p.push([x[0],Xe(x[0],x[1],r/g[u])]):(s=De(x[0],x[1],x[2],x[3],bt(x[0],x[1],x[2],x[3],r)),p.push([x[0],s.fromP1,s.fromP2,s])))}return p},function(S,r){r?te.draw.stop(e,!0):(e.pathList.animVal=S,ve(e,{path:!0}))},a.show_animOptions.duration,1,a.show_animOptions.timing,null,!1),te.draw.start(e,t)},start:function(e,t){var n,a=e.curStats;a.show_inAnim&&(n=he.stop(a.show_animId)),je(e,1),a.show_inAnim=!0,se(e,"apl_position",te.draw.update),he.start(a.show_animId,!e.aplStats.show_on,t!=null?t:n)},stop:function(e,t,n){var a,i=e.curStats;return n=n!=null?n:e.aplStats.show_on,a=i.show_inAnim?he.stop(i.show_animId):n?1:0,i.show_inAnim=!1,t&&(e.pathList.animVal=n?null:[[e.pathList.baseVal[0][0],e.pathList.baseVal[0][0]]],ve(e,{path:!0}),je(e,n)),a},update:function(e){ue(e,"apl_position",te.draw.update),e.curStats.show_inAnim?te.draw.init(e,te.draw.stop(e)):e.aplStats.show_animOptions={}}}},(function(){function e(t){return function(n){var a={};a[t]=n,this.setOptions(a)}}[["start","anchorSE",0],["end","anchorSE",1],["color","lineColor"],["size","lineSize"],["startSocketGravity","socketGravitySE",0],["endSocketGravity","socketGravitySE",1],["startPlugColor","plugColorSE",0],["endPlugColor","plugColorSE",1],["startPlugSize","plugSizeSE",0],["endPlugSize","plugSizeSE",1],["outline","lineOutlineEnabled"],["outlineColor","lineOutlineColor"],["outlineSize","lineOutlineSize"],["startPlugOutline","plugOutlineEnabledSE",0],["endPlugOutline","plugOutlineEnabledSE",1],["startPlugOutlineColor","plugOutlineColorSE",0],["endPlugOutlineColor","plugOutlineColorSE",1],["startPlugOutlineSize","plugOutlineSizeSE",0],["endPlugOutlineSize","plugOutlineSizeSE",1]].forEach(function(t){var n=t[0],a=t[1],i=t[2];Object.defineProperty(Ee.prototype,n,{get:function(){var o=i!=null?fe[this._id].options[a][i]:a?fe[this._id].options[a]:fe[this._id].options[n];return o==null?Ne:me(o)},set:e(n),enumerable:!0})}),[["path",Vt],["startSocket",$e,"socketSE",0],["endSocket",$e,"socketSE",1],["startPlug",gt,"plugSE",0],["endPlug",gt,"plugSE",1]].forEach(function(t){var n=t[0],a=t[1],i=t[2],o=t[3];Object.defineProperty(Ee.prototype,n,{get:function(){var g,d=o!=null?fe[this._id].options[i][o]:i?fe[this._id].options[i]:fe[this._id].options[n];return d?Object.keys(a).some(function(S){return a[S]===d&&(g=S,!0)})?g:new Error("It's broken"):Ne},set:e(n),enumerable:!0})}),Object.keys(X).forEach(function(t){var n=X[t];Object.defineProperty(Ee.prototype,t,{get:function(){var a,i,o=fe[this._id].options[t];return Ae(o)?(a=o,i=n.optionsConf.reduce(function(g,d){var S,r=d[0],p=d[1],x=d[2],s=d[3],u=d[4],h=u!=null?a[s][u]:s?a[s]:a[p];return g[p]=r==="id"?h?Object.keys(x).some(function(m){return x[m]===h&&(S=m,!0)})?S:new Error("It's broken"):Ne:h==null?Ne:me(h),g},{}),n.anim&&(i.animation=me(a.animation)),i):o},set:e(t),enumerable:!0})}),["startLabel","endLabel","middleLabel"].forEach(function(t,n){Object.defineProperty(Ee.prototype,t,{get:function(){var a=fe[this._id],i=a.options;return i.labelSEM[n]&&!a.optionIsAttach.labelSEM[n]?ce[i.labelSEM[n]._id].text:i.labelSEM[n]||""},set:e(t),enumerable:!0})})})(),Ee.prototype.setOptions=function(e){return pt(fe[this._id],e),this},Ee.prototype.position=function(){return ve(fe[this._id],{position:!0}),this},Ee.prototype.remove=function(){var e=fe[this._id],t=e.curStats;Object.keys(X).forEach(function(n){var a=n+"_animId";t[a]&&he.remove(t[a])}),t.show_animId&&he.remove(t.show_animId),e.attachments.slice().forEach(function(n){ht(e,n)}),e.baseWindow&&e.svg&&e.baseWindow.document.body.removeChild(e.svg),delete fe[this._id]},Ee.prototype.show=function(e,t){return ut(fe[this._id],!0,e,t),this},Ee.prototype.hide=function(e,t){return ut(fe[this._id],!1,e,t),this},ct=function(e){e&&ce[e._id]&&(e.boundTargets.slice().forEach(function(t){ht(t.props,e,!0)}),e.conf.remove&&e.conf.remove(e),delete ce[e._id])},Be=(function(){function e(t,n){var a,i={conf:t,curStats:{},aplStats:{},boundTargets:[]},o={};t.argOptions.every(function(g){return!(!n.length||(typeof g.type=="string"?typeof n[0]!==g.type:typeof g.type!="function"||!g.type(n[0])))&&(o[g.optionName]=n.shift(),!0)}),a=n.length&&Ae(n[0])?me(n[0]):{},Object.keys(o).forEach(function(g){a[g]=o[g]}),t.stats&&(de(i.curStats,t.stats),de(i.aplStats,t.stats)),Object.defineProperty(this,"_id",{value:++on}),Object.defineProperty(this,"isRemoved",{get:function(){return!ce[this._id]}}),i._id=this._id,t.init&&!t.init(i,a)||(ce[this._id]=i)}return e.prototype.remove=function(){var t=this,n=ce[t._id];n&&(n.boundTargets.slice().forEach(function(a){n.conf.removeOption(n,a)}),ze(function(){var a=ce[t._id];a&&(console.error("LeaderLineAttachment was not removed by removeOption"),ct(a))}))},e})(),window.LeaderLineAttachment=Be,Ke=function(e,t){return e instanceof Be&&(!(e.isRemoved||t&&ce[e._id].conf.type!==t)||null)},G={pointAnchor:{type:"anchor",argOptions:[{optionName:"element",type:Ze}],init:function(e,t){return e.element=G.pointAnchor.checkElement(t.element),e.x=G.pointAnchor.parsePercent(t.x,!0)||[.5,!0],e.y=G.pointAnchor.parsePercent(t.y,!0)||[.5,!0],!0},removeOption:function(e,t){var n=t.props,a={},i=e.element,o=n.options.anchorSE[t.optionName==="start"?1:0];i===o&&(i=o===document.body?new Be(G.pointAnchor,[i]):document.body),a[t.optionName]=i,pt(n,a)},getBBoxNest:function(e,t){var n=Ye(e.element,t.baseWindow),a=n.width,i=n.height;return n.width=n.height=0,n.left=n.right=n.left+e.x[0]*(e.x[1]?a:1),n.top=n.bottom=n.top+e.y[0]*(e.y[1]?i:1),n},parsePercent:function(e,t){var n,a,i=!1;return Se(e)?a=e:typeof e=="string"&&(n=Wt.exec(e))&&n[2]&&(i=(a=parseFloat(n[1])/100)!==0),a!=null&&(t||0<=a)?[a,i]:null},checkElement:function(e){if(e==null)e=document.body;else if(!Ze(e))throw new Error("`element` must be Element");return e}},areaAnchor:{type:"anchor",argOptions:[{optionName:"element",type:Ze},{optionName:"shape",type:"string"}],stats:{color:{},strokeWidth:{},elementWidth:{},elementHeight:{},elementLeft:{},elementTop:{},pathListRel:{},bBoxRel:{},pathData:{},viewBoxBBox:{hasProps:!0},dashLen:{},dashGap:{}},init:function(e,t){var n,a,i,o=[];return e.element=G.pointAnchor.checkElement(t.element),typeof t.color=="string"&&(e.color=t.color.trim()),typeof t.fillColor=="string"&&(e.fill=t.fillColor.trim()),Se(t.size)&&0<=t.size&&(e.size=t.size),t.dash&&(e.dash=!0,Se(t.dash.len)&&0<t.dash.len&&(e.dashLen=t.dash.len),Se(t.dash.gap)&&0<t.dash.gap&&(e.dashGap=t.dash.gap)),t.shape==="circle"?e.shape=t.shape:t.shape==="polygon"&&Array.isArray(t.points)&&3<=t.points.length&&t.points.every(function(g){var d={};return!(!(d.x=G.pointAnchor.parsePercent(g[0],!0))||!(d.y=G.pointAnchor.parsePercent(g[1],!0)))&&(o.push(d),(d.x[1]||d.y[1])&&(e.hasRatio=!0),!0)})?(e.shape=t.shape,e.points=o):(e.shape="rect",e.radius=Se(t.radius)&&0<=t.radius?t.radius:0),e.shape!=="rect"&&e.shape!=="circle"||(e.x=G.pointAnchor.parsePercent(t.x,!0)||[-.05,!0],e.y=G.pointAnchor.parsePercent(t.y,!0)||[-.05,!0],e.width=G.pointAnchor.parsePercent(t.width)||[1.1,!0],e.height=G.pointAnchor.parsePercent(t.height)||[1.1,!0],(e.x[1]||e.y[1]||e.width[1]||e.height[1])&&(e.hasRatio=!0)),n=e.element.ownerDocument,e.svg=a=n.createElementNS(D,"svg"),a.className.baseVal=pe+"-areaAnchor",a.viewBox.baseVal||a.setAttribute("viewBox","0 0 0 0"),e.path=a.appendChild(n.createElementNS(D,"path")),e.path.style.fill=e.fill||"none",e.isShown=!1,a.style.visibility="hidden",n.body.appendChild(a),Ut(i=n.defaultView),e.bodyOffset=Ht(i),e.updateColor=function(){var g,d=e.curStats,S=e.aplStats,r=e.boundTargets.length?e.boundTargets[0].props.curStats:null;d.color=g=e.color||(r?r.line_color:ge.lineColor),A(e,S,"color",g)&&(e.path.style.stroke=g)},e.updateShow=function(){je(e,e.boundTargets.some(function(g){return g.props.isShown===!0}))},!0},bind:function(e,t){var n=t.props;return e.color||se(n,"cur_line_color",e.updateColor),se(n,"svgShow",e.updateShow),ze(function(){e.updateColor(),e.updateShow()}),!0},unbind:function(e,t){var n=t.props;e.color||ue(n,"cur_line_color",e.updateColor),ue(n,"svgShow",e.updateShow),1<e.boundTargets.length&&ze(function(){e.updateColor(),e.updateShow(),G.areaAnchor.update(e)&&e.boundTargets.forEach(function(a){ve(a.props,{position:!0})})})},removeOption:function(e,t){G.pointAnchor.removeOption(e,t)},remove:function(e){e.boundTargets.length&&(console.error("LeaderLineAttachment was not unbound by remove"),e.boundTargets.forEach(function(t){G.areaAnchor.unbind(e,t)})),e.svg.parentNode.removeChild(e.svg)},getStrokeWidth:function(e,t){return G.areaAnchor.update(e)&&1<e.boundTargets.length&&ze(function(){e.boundTargets.forEach(function(n){n.props!==t&&ve(n.props,{position:!0})})}),e.curStats.strokeWidth},getPathData:function(e,t){var n=Ye(e.element,t.baseWindow);return kt(e.curStats.pathListRel,function(a){a.x+=n.left,a.y+=n.top})},getBBoxNest:function(e,t){var n=Ye(e.element,t.baseWindow),a=e.curStats.bBoxRel;return{left:a.left+n.left,top:a.top+n.top,right:a.right+n.left,bottom:a.bottom+n.top,width:a.width,height:a.height}},update:function(e){var t,n,a,i,o,g,d,S,r,p,x,s,u,h,m,E,w,M,O,v,c,y,f,L,P,C,l,k,I,W,R,V,_=e.curStats,z=e.aplStats,Q=e.boundTargets.length?e.boundTargets[0].props.curStats:null,F={};if(F.strokeWidth=A(e,_,"strokeWidth",e.size!=null?e.size:Q?Q.line_strokeWidth:ge.lineSize),t=ot(e.element),F.elementWidth=A(e,_,"elementWidth",t.width),F.elementHeight=A(e,_,"elementHeight",t.height),F.elementLeft=A(e,_,"elementLeft",t.left),F.elementTop=A(e,_,"elementTop",t.top),F.strokeWidth||e.hasRatio&&(F.elementWidth||F.elementHeight)){switch(e.shape){case"rect":(v={left:e.x[0]*(e.x[1]?t.width:1),top:e.y[0]*(e.y[1]?t.height:1),width:e.width[0]*(e.width[1]?t.width:1),height:e.height[0]*(e.height[1]?t.height:1)}).right=v.left+v.width,v.bottom=v.top+v.height,L=_.strokeWidth/2,y=(f=Math.min(v.width,v.height))?f/2*Math.SQRT2+L:0,(c=e.radius?e.radius<=y?e.radius:y:0)?(C=c-(P=(c-L)/Math.SQRT2),k=c*nt,l=[{x:v.left-C,y:v.top+P},{x:v.left+P,y:v.top-C},{x:v.right-P,y:v.top-C},{x:v.right+C,y:v.top+P},{x:v.right+C,y:v.bottom-P},{x:v.right-P,y:v.bottom+C},{x:v.left+P,y:v.bottom+C},{x:v.left-C,y:v.bottom-P}],_.pathListRel=[[l[0],{x:l[0].x,y:l[0].y-k},{x:l[1].x-k,y:l[1].y},l[1]]],l[1].x!==l[2].x&&_.pathListRel.push([l[1],l[2]]),_.pathListRel.push([l[2],{x:l[2].x+k,y:l[2].y},{x:l[3].x,y:l[3].y-k},l[3]]),l[3].y!==l[4].y&&_.pathListRel.push([l[3],l[4]]),_.pathListRel.push([l[4],{x:l[4].x,y:l[4].y+k},{x:l[5].x+k,y:l[5].y},l[5]]),l[5].x!==l[6].x&&_.pathListRel.push([l[5],l[6]]),_.pathListRel.push([l[6],{x:l[6].x-k,y:l[6].y},{x:l[7].x,y:l[7].y+k},l[7]]),l[7].y!==l[0].y&&_.pathListRel.push([l[7],l[0]]),_.pathListRel.push([]),C=c-P+_.strokeWidth/2,l=[{x:v.left-C,y:v.top-C},{x:v.right+C,y:v.bottom+C}]):(C=_.strokeWidth/2,l=[{x:v.left-C,y:v.top-C},{x:v.right+C,y:v.bottom+C}],_.pathListRel=[[l[0],{x:l[1].x,y:l[0].y}],[{x:l[1].x,y:l[0].y},l[1]],[l[1],{x:l[0].x,y:l[1].y}],[]],l=[{x:v.left-_.strokeWidth,y:v.top-_.strokeWidth},{x:v.right+_.strokeWidth,y:v.bottom+_.strokeWidth}]),_.bBoxRel={left:l[0].x,top:l[0].y,right:l[1].x,bottom:l[1].y,width:l[1].x-l[0].x,height:l[1].y-l[0].y};break;case"circle":(d={left:e.x[0]*(e.x[1]?t.width:1),top:e.y[0]*(e.y[1]?t.height:1),width:e.width[0]*(e.width[1]?t.width:1),height:e.height[0]*(e.height[1]?t.height:1)}).width||d.height||(d.width=d.height=10),d.width||(d.width=d.height),d.height||(d.height=d.width),d.right=d.left+d.width,d.bottom=d.top+d.height,S=d.left+d.width/2,r=d.top+d.height/2,h=_.strokeWidth/2,m=d.width/2,E=d.height/2,p=m*Math.SQRT2+h,x=E*Math.SQRT2+h,s=p*nt,u=x*nt,O=[{x:S-p,y:r},{x:S,y:r-x},{x:S+p,y:r},{x:S,y:r+x}],_.pathListRel=[[O[0],{x:O[0].x,y:O[0].y-u},{x:O[1].x-s,y:O[1].y},O[1]],[O[1],{x:O[1].x+s,y:O[1].y},{x:O[2].x,y:O[2].y-u},O[2]],[O[2],{x:O[2].x,y:O[2].y+u},{x:O[3].x+s,y:O[3].y},O[3]],[O[3],{x:O[3].x-s,y:O[3].y},{x:O[0].x,y:O[0].y+u},O[0]],[]],w=p-m+_.strokeWidth/2,M=x-E+_.strokeWidth/2,O=[{x:d.left-w,y:d.top-M},{x:d.right+w,y:d.bottom+M}],_.bBoxRel={left:O[0].x,top:O[0].y,right:O[1].x,bottom:O[1].y,width:O[1].x-O[0].x,height:O[1].y-O[0].y};break;case"polygon":e.points.forEach(function(H){var ne=H.x[0]*(H.x[1]?t.width:1),ae=H.y[0]*(H.y[1]?t.height:1);a?(ne<a.left&&(a.left=ne),ne>a.right&&(a.right=ne),ae<a.top&&(a.top=ae),ae>a.bottom&&(a.bottom=ae)):a={left:ne,right:ne,top:ae,bottom:ae},i?_.pathListRel.push([i,{x:ne,y:ae}]):_.pathListRel=[],i={x:ne,y:ae}}),_.pathListRel.push([]),o=_.strokeWidth/2,g=[{x:a.left-o,y:a.top-o},{x:a.right+o,y:a.bottom+o}],_.bBoxRel={left:g[0].x,top:g[0].y,right:g[1].x,bottom:g[1].y,width:g[1].x-g[0].x,height:g[1].y-g[0].y}}F.pathListRel=F.bBoxRel=!0}return(F.pathListRel||F.elementLeft||F.elementTop)&&(_.pathData=kt(_.pathListRel,function(H){H.x+=t.left,H.y+=t.top})),A(e,z,"strokeWidth",n=_.strokeWidth)&&(e.path.style.strokeWidth=n+"px"),lt(n=_.pathData,z.pathData)&&(e.path.setPathData(n),z.pathData=n,F.pathData=!0),e.dash&&(!F.pathData&&(!F.strokeWidth||e.dashLen&&e.dashGap)||(_.dashLen=e.dashLen||2*_.strokeWidth,_.dashGap=e.dashGap||_.strokeWidth),F.dash=A(e,z,"dashLen",_.dashLen)||F.dash,F.dash=A(e,z,"dashGap",_.dashGap)||F.dash,F.dash&&(e.path.style.strokeDasharray=z.dashLen+","+z.dashGap)),I=_.viewBoxBBox,W=z.viewBoxBBox,R=e.svg.viewBox.baseVal,V=e.svg.style,I.x=_.bBoxRel.left+t.left,I.y=_.bBoxRel.top+t.top,I.width=_.bBoxRel.width,I.height=_.bBoxRel.height,["x","y","width","height"].forEach(function(H){(n=I[H])!==W[H]&&(R[H]=W[H]=n,V[Pt[H]]=n+(H==="x"||H==="y"?e.bodyOffset[H]:0)+"px")}),F.strokeWidth||F.pathListRel||F.bBoxRel}},mouseHoverAnchor:{type:"anchor",argOptions:[{optionName:"element",type:Ze},{optionName:"showEffectName",type:"string"}],style:{backgroundImage:"url('data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48cG9seWdvbiBwb2ludHM9IjI0LDAgMCw4IDgsMTEgMCwxOSA1LDI0IDEzLDE2IDE2LDI0IiBmaWxsPSJjb3JhbCIvPjwvc3ZnPg==')",backgroundSize:"",backgroundRepeat:"no-repeat",backgroundColor:"#f8f881",cursor:"default"},hoverStyle:{backgroundImage:"none",backgroundColor:"#fadf8f"},padding:{top:1,right:15,bottom:1,left:2},minHeight:15,backgroundPosition:{right:2,top:2},backgroundSize:{width:12,height:12},dirKeys:[["top","Top"],["right","Right"],["bottom","Bottom"],["left","Left"]],init:function(e,t){var n,a,i,o,g,d,S,r,p,x,s,u=G.mouseHoverAnchor,h={};if(e.element=G.pointAnchor.checkElement(t.element),r=e.element,!((x=r.ownerDocument)&&(p=x.defaultView)&&p.HTMLElement&&r instanceof p.HTMLElement))throw new Error("`element` must be HTML element");return u.style.backgroundSize=u.backgroundSize.width+"px "+u.backgroundSize.height+"px",["style","hoverStyle"].forEach(function(m){var E=u[m];e[m]=Object.keys(E).reduce(function(w,M){return w[M]=E[M],w},{})}),(n=e.element.ownerDocument.defaultView.getComputedStyle(e.element,"")).display==="inline"?e.style.display="inline-block":n.display==="none"&&(e.style.display="block"),G.mouseHoverAnchor.dirKeys.forEach(function(m){var E=m[0],w="padding"+m[1];parseFloat(n[w])<u.padding[E]&&(e.style[w]=u.padding[E]+"px")}),e.style.display&&(o=e.element.style.display,e.element.style.display=e.style.display),G.mouseHoverAnchor.dirKeys.forEach(function(m){var E="padding"+m[1];e.style[E]&&(h[E]=e.element.style[E],e.element.style[E]=e.style[E])}),(i=e.element.getBoundingClientRect()).height<u.minHeight&&(_e?(s=u.minHeight,n.boxSizing==="content-box"?s-=parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth)+parseFloat(n.paddingTop)+parseFloat(n.paddingBottom):n.boxSizing==="padding-box"&&(s-=parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth)),e.style.height=s+"px"):e.style.height=parseFloat(n.height)+(u.minHeight-i.height)+"px"),e.style.backgroundPosition=le?i.width-u.backgroundSize.width-u.backgroundPosition.right+"px "+u.backgroundPosition.top+"px":"right "+u.backgroundPosition.right+"px top "+u.backgroundPosition.top+"px",e.style.display&&(e.element.style.display=o),G.mouseHoverAnchor.dirKeys.forEach(function(m){var E="padding"+m[1];e.style[E]&&(e.element.style[E]=h[E])}),["style","hoverStyle"].forEach(function(m){var E=e[m],w=t[m];Ae(w)&&Object.keys(w).forEach(function(M){typeof w[M]=="string"||Se(w[M])?E[M]=w[M]:w[M]==null&&delete E[M]})}),typeof t.onSwitch=="function"&&(S=t.onSwitch),t.showEffectName&&te[t.showEffectName]&&(e.showEffectName=g=t.showEffectName),d=t.animOptions,e.elmStyle=a=e.element.style,e.mouseenter=function(m){e.hoverStyleSave=u.getStyles(a,Object.keys(e.hoverStyle)),u.setStyles(a,e.hoverStyle),e.boundTargets.forEach(function(E){ut(E.props,!0,g,d)}),S&&S(m)},e.mouseleave=function(m){u.setStyles(a,e.hoverStyleSave),e.boundTargets.forEach(function(E){ut(E.props,!1,g,d)}),S&&S(m)},!0},bind:function(e,t){var n,a,i,o,g;return t.props.svg?G.mouseHoverAnchor.llShow(t.props,!1,e.showEffectName):ze(function(){G.mouseHoverAnchor.llShow(t.props,!1,e.showEffectName)}),e.enabled||(e.styleSave=G.mouseHoverAnchor.getStyles(e.elmStyle,Object.keys(e.style)),G.mouseHoverAnchor.setStyles(e.elmStyle,e.style),e.removeEventListener=(n=e.element,a=e.mouseenter,i=e.mouseleave,"onmouseenter"in n&&"onmouseleave"in n?(n.addEventListener("mouseenter",a,!1),n.addEventListener("mouseleave",i,!1),function(){n.removeEventListener("mouseenter",a,!1),n.removeEventListener("mouseleave",i,!1)}):(console.warn("mouseenter and mouseleave events polyfill is enabled."),o=function(d){d.relatedTarget&&(d.relatedTarget===this||this.compareDocumentPosition(d.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY)||a.apply(this,arguments)},n.addEventListener("mouseover",o),g=function(d){d.relatedTarget&&(d.relatedTarget===this||this.compareDocumentPosition(d.relatedTarget)&Node.DOCUMENT_POSITION_CONTAINED_BY)||i.apply(this,arguments)},n.addEventListener("mouseout",g),function(){n.removeEventListener("mouseover",o,!1),n.removeEventListener("mouseout",g,!1)})),e.enabled=!0),!0},unbind:function(e,t){e.enabled&&e.boundTargets.length<=1&&(e.removeEventListener(),G.mouseHoverAnchor.setStyles(e.elmStyle,e.styleSave),e.enabled=!1),G.mouseHoverAnchor.llShow(t.props,!0,e.showEffectName)},removeOption:function(e,t){G.pointAnchor.removeOption(e,t)},remove:function(e){e.boundTargets.length&&(console.error("LeaderLineAttachment was not unbound by remove"),e.boundTargets.forEach(function(t){G.mouseHoverAnchor.unbind(e,t)}))},getBBoxNest:function(e,t){return Ye(e.element,t.baseWindow)},llShow:function(e,t,n){te[n||e.curStats.show_effect].stop(e,!0,t),e.aplStats.show_on=t},getStyles:function(e,t){return t.reduce(function(n,a){return n[a]=e[a],n},{})},setStyles:function(e,t){Object.keys(t).forEach(function(n){e[n]=t[n]})}},captionLabel:{type:"label",argOptions:[{optionName:"text",type:"string"}],stats:{color:{},x:{},y:{}},textStyleProps:["fontFamily","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","kerning","letterSpacing","wordSpacing","textDecoration"],init:function(e,t){return typeof t.text=="string"&&(e.text=t.text.trim()),!!e.text&&(typeof t.color=="string"&&(e.color=t.color.trim()),e.outlineColor=typeof t.outlineColor=="string"?t.outlineColor.trim():"#fff",Array.isArray(t.offset)&&Se(t.offset[0])&&Se(t.offset[1])&&(e.offset={x:t.offset[0],y:t.offset[1]}),Se(t.lineOffset)&&(e.lineOffset=t.lineOffset),G.captionLabel.textStyleProps.forEach(function(n){t[n]!=null&&(e[n]=t[n])}),e.updateColor=function(n){G.captionLabel.updateColor(e,n)},e.updateSocketXY=function(n){var a,i,o,g,d=e.curStats,S=e.aplStats,r=n.curStats,p=r.position_socketXYSE[e.socketIndex];p.x!=null&&(e.offset?(d.x=p.x+e.offset.x,d.y=p.y+e.offset.y):(a=e.height/2,i=Math.max(r.attach_plugSideLenSE[e.socketIndex]||0,r.line_strokeWidth/2),o=r.position_socketXYSE[e.socketIndex?0:1],p.socketId===Le||p.socketId===Me?(d.x=p.socketId===Le?p.x-a-e.width:p.x+a,d.y=o.y<p.y?p.y+i+a:p.y-i-a-e.height):(d.x=o.x<p.x?p.x+i+a:p.x-i-a-e.width,d.y=p.socketId===Oe?p.y-a-e.height:p.y+a)),A(e,S,"x",g=d.x)&&(e.elmPosition.x.baseVal.getItem(0).value=g),A(e,S,"y",g=d.y)&&(e.elmPosition.y.baseVal.getItem(0).value=g+e.height))},e.updatePath=function(n){var a,i,o=e.curStats,g=e.aplStats,d=n.pathList.animVal||n.pathList.baseVal;d&&(a=G.captionLabel.getMidPoint(d,e.lineOffset),o.x=a.x-e.width/2,o.y=a.y-e.height/2,A(e,g,"x",i=o.x)&&(e.elmPosition.x.baseVal.getItem(0).value=i),A(e,g,"y",i=o.y)&&(e.elmPosition.y.baseVal.getItem(0).value=i+e.height))},e.updateShow=function(n){G.captionLabel.updateShow(e,n)},le&&(e.adjustEdge=function(n,a){var i=e.curStats;i.x!=null&&G.captionLabel.adjustEdge(a,{x:i.x,y:i.y,width:e.width,height:e.height},e.strokeWidth/2)}),!0)},updateColor:function(e,t){var n,a=e.curStats,i=e.aplStats,o=t.curStats;a.color=n=e.color||o.line_color,A(e,i,"color",n)&&(e.styleFill.fill=n)},updateShow:function(e,t){var n=t.isShown===!0;n!==e.isShown&&(e.styleShow.visibility=n?"":"hidden",e.isShown=n)},adjustEdge:function(e,t,n){var a={x1:t.x-n,y1:t.y-n,x2:t.x+t.width+n,y2:t.y+t.height+n};a.x1<e.x1&&(e.x1=a.x1),a.y1<e.y1&&(e.y1=a.y1),a.x2>e.x2&&(e.x2=a.x2),a.y2>e.y2&&(e.y2=a.y2)},newText:function(e,t,n,a,i){var o,g,d,S,r,p;return(o=t.createElementNS(D,"text")).textContent=e,[o.x,o.y].forEach(function(x){var s=n.createSVGLength();s.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX,0),x.baseVal.initialize(s)}),typeof Re!="boolean"&&(Re="paintOrder"in o.style),i&&!Re?(d=t.createElementNS(D,"defs"),o.id=a,d.appendChild(o),(r=(g=t.createElementNS(D,"g")).appendChild(t.createElementNS(D,"use"))).href.baseVal="#"+a,(S=g.appendChild(t.createElementNS(D,"use"))).href.baseVal="#"+a,(p=r.style).strokeLinejoin="round",{elmPosition:o,styleText:o.style,styleFill:S.style,styleStroke:p,styleShow:g.style,elmsAppend:[d,g]}):(p=o.style,i&&(p.strokeLinejoin="round",p.paintOrder="stroke"),{elmPosition:o,styleText:p,styleFill:p,styleStroke:i?p:null,styleShow:p,elmsAppend:[o]})},getMidPoint:function(e,t){var n,a,i,o=Gt(e),g=o.segsLen,d=o.lenAll,S=-1;if((n=d/2+(t||0))<=0)return(a=e[0]).length===2?Xe(a[0],a[1],0):De(a[0],a[1],a[2],a[3],0);if(d<=n)return(a=e[e.length-1]).length===2?Xe(a[0],a[1],1):De(a[0],a[1],a[2],a[3],1);for(i=[];n>g[++S];)i.push(e[S]),n-=g[S];return(a=e[S]).length===2?Xe(a[0],a[1],n/g[S]):De(a[0],a[1],a[2],a[3],bt(a[0],a[1],a[2],a[3],n))},initSvg:function(e,t){var n,a,i=G.captionLabel.newText(e.text,t.baseWindow.document,t.svg,pe+"-captionLabel-"+e._id,e.outlineColor);["elmPosition","styleFill","styleShow","elmsAppend"].forEach(function(o){e[o]=i[o]}),e.isShown=!1,e.styleShow.visibility="hidden",G.captionLabel.textStyleProps.forEach(function(o){e[o]!=null&&(i.styleText[o]=e[o])}),i.elmsAppend.forEach(function(o){t.svg.appendChild(o)}),n=i.elmPosition.getBBox(),e.width=n.width,e.height=n.height,e.outlineColor&&(a=10<(a=n.height/9)?10:a<2?2:a,i.styleStroke.strokeWidth=a+"px",i.styleStroke.stroke=e.outlineColor),e.strokeWidth=a||0,de(e.aplStats,G.captionLabel.stats),e.updateColor(t),e.refSocketXY?e.updateSocketXY(t):e.updatePath(t),le&&ve(t,{}),e.updateShow(t)},bind:function(e,t){var n=t.props;return e.color||se(n,"cur_line_color",e.updateColor),(e.refSocketXY=t.optionName==="startLabel"||t.optionName==="endLabel")?(e.socketIndex=t.optionName==="startLabel"?0:1,se(n,"apl_position",e.updateSocketXY),e.offset||(se(n,"cur_attach_plugSideLenSE",e.updateSocketXY),se(n,"cur_line_strokeWidth",e.updateSocketXY))):se(n,"apl_path",e.updatePath),se(n,"svgShow",e.updateShow),le&&se(n,"new_edge4viewBox",e.adjustEdge),G.captionLabel.initSvg(e,n),!0},unbind:function(e,t){var n=t.props;e.elmsAppend&&(e.elmsAppend.forEach(function(a){n.svg.removeChild(a)}),e.elmPosition=e.styleFill=e.styleShow=e.elmsAppend=null),de(e.curStats,G.captionLabel.stats),de(e.aplStats,G.captionLabel.stats),e.color||ue(n,"cur_line_color",e.updateColor),e.refSocketXY?(ue(n,"apl_position",e.updateSocketXY),e.offset||(ue(n,"cur_attach_plugSideLenSE",e.updateSocketXY),ue(n,"cur_line_strokeWidth",e.updateSocketXY))):ue(n,"apl_path",e.updatePath),ue(n,"svgShow",e.updateShow),le&&(ue(n,"new_edge4viewBox",e.adjustEdge),ve(n,{}))},removeOption:function(e,t){var n=t.props,a={};a[t.optionName]="",pt(n,a)},remove:function(e){e.boundTargets.length&&(console.error("LeaderLineAttachment was not unbound by remove"),e.boundTargets.forEach(function(t){G.captionLabel.unbind(e,t)}))}},pathLabel:{type:"label",argOptions:[{optionName:"text",type:"string"}],stats:{color:{},startOffset:{},pathData:{}},init:function(e,t){return typeof t.text=="string"&&(e.text=t.text.trim()),!!e.text&&(typeof t.color=="string"&&(e.color=t.color.trim()),e.outlineColor=typeof t.outlineColor=="string"?t.outlineColor.trim():"#fff",Se(t.lineOffset)&&(e.lineOffset=t.lineOffset),G.captionLabel.textStyleProps.forEach(function(n){t[n]!=null&&(e[n]=t[n])}),e.updateColor=function(n){G.captionLabel.updateColor(e,n)},e.updatePath=function(n){var a,i=e.curStats,o=e.aplStats,g=n.curStats,d=n.pathList.animVal||n.pathList.baseVal;d&&(i.pathData=a=G.pathLabel.getOffsetPathData(d,g.line_strokeWidth/2+e.strokeWidth/2+e.height/4,1.25*e.height),lt(a,o.pathData)&&(e.elmPath.setPathData(a),o.pathData=a,e.bBox=e.elmPosition.getBBox(),e.updateStartOffset(n)))},e.updateStartOffset=function(n){var a,i,o,g,d=e.curStats,S=e.aplStats,r=n.curStats;d.pathData&&(e.semIndex!==2||e.lineOffset)&&(a=d.pathData.reduce(function(p,x){var s,u=x.values;switch(x.type){case"M":g={x:u[0],y:u[1]};break;case"L":s={x:u[0],y:u[1]},g&&(p+=we(g,s)),g=s;break;case"C":s={x:u[4],y:u[5]},g&&(p+=qe(g,{x:u[0],y:u[1]},{x:u[2],y:u[3]},s)),g=s}return p},0),o=e.semIndex===0?0:e.semIndex===1?a:a/2,e.semIndex!==2&&(i=Math.max(r.attach_plugBackLenSE[e.semIndex]||0,r.line_strokeWidth/2)+e.strokeWidth/2+e.height/4,o=(o+=e.semIndex===0?i:-i)<0?0:a<o?a:o),e.lineOffset&&(o=(o+=e.lineOffset)<0?0:a<o?a:o),d.startOffset=o,A(e,S,"startOffset",o)&&(e.elmOffset.startOffset.baseVal.value=o))},e.updateShow=function(n){G.captionLabel.updateShow(e,n)},le&&(e.adjustEdge=function(n,a){e.bBox&&G.captionLabel.adjustEdge(a,e.bBox,e.strokeWidth/2)}),!0)},getOffsetPathData:function(e,t,n){var a,i,o=3,g=[];function d(S,r){return Math.abs(S.x-r.x)<o&&Math.abs(S.y-r.y)<o}return e.forEach(function(S){var r,p,x,s,u,h,m,E,w,M,O,v,c,y,f,L,P,C,l,k,I;S.length===2?(C=S[0],l=S[1],k=t,I=Math.atan2(C.y-l.y,l.x-C.x)+.5*Math.PI,r=[{x:C.x+Math.cos(I)*k,y:C.y+Math.sin(I)*k*-1},{x:l.x+Math.cos(I)*k,y:l.y+Math.sin(I)*k*-1}],a?(x=a.points,0<=(s=Math.atan2(x[1].y-x[0].y,x[0].x-x[1].x)-Math.atan2(S[0].y-S[1].y,S[1].x-S[0].x))&&s<=Math.PI?p={type:"line",points:r,inside:!0}:(h=rt(x[0],x[1],t),u=rt(r[1],r[0],t),E=x[0],M=u,O=r[1],v=(w=h).x-E.x,c=w.y-E.y,y=O.x-M.x,f=O.y-M.y,L=(-c*(E.x-M.x)+v*(E.y-M.y))/(-y*c+v*f),P=(y*(E.y-M.y)-f*(E.x-M.x))/(-y*c+v*f),(m=0<=L&&L<=1&&0<=P&&P<=1?{x:E.x+P*v,y:E.y+P*c}:null)?p={type:"line",points:[x[1]=m,r[1]]}:(x[1]=d(u,h)?u:h,p={type:"line",points:[u,r[1]]}),a.len=we(x[0],x[1]))):p={type:"line",points:r},p.len=we(p.points[0],p.points[1]),g.push(a=p)):(g.push({type:"cubic",points:(function(W,R,V,_,z,Q){for(var F,H,ne=qe(W,R,V,_)/Q,ae=1/(Q<z?ne*(z/Q):ne),K=[],ye=0;H=(90-(F=De(W,R,V,_,ye)).angle)*(Math.PI/180),K.push({x:F.x+Math.cos(H)*z,y:F.y+Math.sin(H)*z*-1}),!(1<=ye);)1<(ye+=ae)&&(ye=1);return K})(S[0],S[1],S[2],S[3],t,16)}),a=null)}),a=null,g.forEach(function(S){var r;S.type==="line"?(S.inside&&(a.len>t?((r=a.points)[1]=rt(r[0],r[1],-t),a.len=we(r[0],r[1])):(a.points=null,a.len=0),S.len>t+n?((r=S.points)[0]=rt(r[1],r[0],-(t+n)),S.len=we(r[0],r[1])):(S.points=null,S.len=0)),a=S):a=null}),g.reduce(function(S,r){var p=r.points;return p&&(i&&d(p[0],i)||S.push({type:"M",values:[p[0].x,p[0].y]}),r.type==="line"?S.push({type:"L",values:[p[1].x,p[1].y]}):(p.shift(),p.forEach(function(x){S.push({type:"L",values:[x.x,x.y]})})),i=p[p.length-1]),S},[])},newText:function(e,t,n,a){var i,o,g,d,S,r,p,x,s,u;return(d=(g=t.createElementNS(D,"defs")).appendChild(t.createElementNS(D,"path"))).id=i=n+"-path",(r=(S=t.createElementNS(D,"text")).appendChild(t.createElementNS(D,"textPath"))).href.baseVal="#"+i,r.startOffset.baseVal.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PX,0),r.textContent=e,typeof Re!="boolean"&&(Re="paintOrder"in S.style),a&&!Re?(S.id=o=n+"-text",g.appendChild(S),(s=(p=t.createElementNS(D,"g")).appendChild(t.createElementNS(D,"use"))).href.baseVal="#"+o,(x=p.appendChild(t.createElementNS(D,"use"))).href.baseVal="#"+o,(u=s.style).strokeLinejoin="round",{elmPosition:S,elmPath:d,elmOffset:r,styleText:S.style,styleFill:x.style,styleStroke:u,styleShow:p.style,elmsAppend:[g,p]}):(u=S.style,a&&(u.strokeLinejoin="round",u.paintOrder="stroke"),{elmPosition:S,elmPath:d,elmOffset:r,styleText:u,styleFill:u,styleStroke:a?u:null,styleShow:u,elmsAppend:[g,S]})},initSvg:function(e,t){var n,a,i=G.pathLabel.newText(e.text,t.baseWindow.document,pe+"-pathLabel-"+e._id,e.outlineColor);["elmPosition","elmPath","elmOffset","styleFill","styleShow","elmsAppend"].forEach(function(o){e[o]=i[o]}),e.isShown=!1,e.styleShow.visibility="hidden",G.captionLabel.textStyleProps.forEach(function(o){e[o]!=null&&(i.styleText[o]=e[o])}),i.elmsAppend.forEach(function(o){t.svg.appendChild(o)}),i.elmPath.setPathData([{type:"M",values:[0,100]},{type:"h",values:[100]}]),n=i.elmPosition.getBBox(),i.styleText.textAnchor=["start","end","middle"][e.semIndex],e.semIndex!==2||e.lineOffset||i.elmOffset.startOffset.baseVal.newValueSpecifiedUnits(SVGLength.SVG_LENGTHTYPE_PERCENTAGE,50),e.height=n.height,e.outlineColor&&(a=10<(a=n.height/9)?10:a<2?2:a,i.styleStroke.strokeWidth=a+"px",i.styleStroke.stroke=e.outlineColor),e.strokeWidth=a||0,de(e.aplStats,G.pathLabel.stats),e.updateColor(t),e.updatePath(t),e.updateStartOffset(t),le&&ve(t,{}),e.updateShow(t)},bind:function(e,t){var n=t.props;return e.color||se(n,"cur_line_color",e.updateColor),se(n,"cur_line_strokeWidth",e.updatePath),se(n,"apl_path",e.updatePath),e.semIndex=t.optionName==="startLabel"?0:t.optionName==="endLabel"?1:2,(e.semIndex!==2||e.lineOffset)&&se(n,"cur_attach_plugBackLenSE",e.updateStartOffset),se(n,"svgShow",e.updateShow),le&&se(n,"new_edge4viewBox",e.adjustEdge),G.pathLabel.initSvg(e,n),!0},unbind:function(e,t){var n=t.props;e.elmsAppend&&(e.elmsAppend.forEach(function(a){n.svg.removeChild(a)}),e.elmPosition=e.elmPath=e.elmOffset=e.styleFill=e.styleShow=e.elmsAppend=null),de(e.curStats,G.pathLabel.stats),de(e.aplStats,G.pathLabel.stats),e.color||ue(n,"cur_line_color",e.updateColor),ue(n,"cur_line_strokeWidth",e.updatePath),ue(n,"apl_path",e.updatePath),(e.semIndex!==2||e.lineOffset)&&ue(n,"cur_attach_plugBackLenSE",e.updateStartOffset),ue(n,"svgShow",e.updateShow),le&&(ue(n,"new_edge4viewBox",e.adjustEdge),ve(n,{}))},removeOption:function(e,t){var n=t.props,a={};a[t.optionName]="",pt(n,a)},remove:function(e){e.boundTargets.length&&(console.error("LeaderLineAttachment was not unbound by remove"),e.boundTargets.forEach(function(t){G.pathLabel.unbind(e,t)}))}}},Object.keys(G).forEach(function(e){Ee[e]=function(){return new Be(G[e],Array.prototype.slice.call(arguments))}}),Ee.positionByWindowResize=!0,window.addEventListener("resize",nn.add(function(){Ee.positionByWindowResize&&Object.keys(fe).forEach(function(e){ve(fe[e],{position:!0})})}),!1),Ee})();const ln={setLine:function(X,te,G={}){return new Yt(X,te,G)},obj:Yt};export{ln as L};
|