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:
b.container.scrollLeft)<O&&Math.abs(this.scrollTop-b.container.scrollTop)<O&&Math.abs(this.startX-N.getGraphX())<O&&Math.abs(this.startY-N.getGraphY())<O&&(0<parseFloat(g.chromelessToolbar.style.opacity||0)?k():v(30))}})}this.editor.editable||this.addChromelessClickHandler()}else if(this.editor.extendCanvas){var G=b.view.validate,ja=new mxPoint,fa=null;b.view.validate=function(){if(null!=b.container&&mxUtils.hasScrollbars(b.container)){if(null!=g.currentPage&&fa!=g.currentPage){fa=g.currentPage;var B=
b.getPageLayout(b.getBoundingBoxFromGeometry(b.model.getCells(),!0),ja,1),N=b.getDefaultTranslate(B);this.x0=B.x;this.y0=B.y;b.setScrollbarPositions(g.currentPage.viewState,N.x,N.y);if(N.x!=this.translate.x||N.y!=this.translate.y){this.setTranslate(N.x,N.y);return}}B=b.getPagePadding();N=b.getPageSize();this.translate.x=B.x-(this.x0||0)*N.width;this.translate.y=B.y-(this.y0||0)*N.height}G.apply(this,arguments)};if(!b.isViewer()){var ca=b.sizeDidChange;b.sizeDidChange=function(){if(null!=this.container&&