Language: JavaScript
Label: safe
CWE: CWE-79 \u2014 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Code:
c,I,l,x),D&&!z?I.y=n.y:z&&!D&&(I.x=n.x),n.y!=I.y&&null!=this.guideY&&null!=this.guideY.node&&(this.guideY.node.style.visibility="hidden"),n.x!=I.x&&null!=this.guideX&&null!=this.guideX.node&&(this.guideX.node.style.visibility="hidden"),I;T(!0,!0);return b.apply(this,arguments)};var e=mxGuide.prototype.setVisible;mxGuide.prototype.setVisible=function(c){e.call(this,c);var k=this.guidesArrVer,l=this.guidesArrHor;if(null!=k)for(var x=0;x<k.length;x++)k[x].node.style.visibility=c?"visible":"hidden";if(null!=
l)for(x=0;x<l.length;x++)l[x].node.style.visibility=c?"visible":"hidden"};var f=mxGuide.prototype.destroy;mxGuide.prototype.destroy=function(){f.call(this);var c=this.guidesArrVer,k=this.guidesArrHor;if(null!=c){for(var l=0;l<c.length;l++)c[l].destroy();this.guidesArrVer=null}if(null!=k){for(l=0;l<k.length;l++)k[l].destroy();this.guidesArrHor=null}}})();function mxRuler(b,e,f,c){function k(){var B=b.diagramContainer;N.style.top=B.offsetTop-E+"px";N.style.left=B.offsetLeft-E+"px";N.style.width=(f?0:B.offsetWidth)+E+"px";N.style.height=(f?B.offsetHeight:0)+E+"px"}function l(B,H,L){if(null!=x)return B;var G;return function(){var T=this,p=arguments,q=L&&!G;clearTimeout(G);G=setTimeout(function(){G=null;L||B.apply(T,p)},H);q&&B.apply(T,p)}}var x=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,