Language: JavaScript
Label: safe
CWE: CWE-78 \u2014 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Code:
["arrowWidth","arrowSize"],function(v){var p=Math.max(0,Math.min(1,mxUtils.getValue(this.state.style,"arrowWidth",Wa.prototype.arrowWidth))),t=Math.max(0,Math.min(c,mxUtils.getValue(this.state.style,"arrowSize",Wa.prototype.arrowSize)));return new mxPoint(v.x+(1-t)*v.width,v.y+(1-p)*v.height/2)},function(v,p){this.state.style.arrowWidth=Math.max(0,Math.min(1,Math.abs(v.y+v.height/2-p.y)/v.height*2));this.state.style.arrowSize=Math.max(0,Math.min(c,(v.x+v.width-p.x)/v.width))})]}},nb=function(c){return function(m){return[hb(m,
["size"],function(v){var p=Math.max(0,Math.min(.5*v.height,parseFloat(mxUtils.getValue(this.state.style,"size",c))));return new mxPoint(v.x,v.y+p)},function(v,p){this.state.style.size=Math.max(0,p.y-v.y)},!0)]}},ub=function(c,m,v){return function(p){var t=[hb(p,["size"],function(C){var D=Math.max(0,Math.min(C.width,Math.min(C.height,parseFloat(mxUtils.getValue(this.state.style,"size",m)))))*c;return new mxPoint(C.x+D,C.y+D)},function(C,D){this.state.style.size=Math.round(Math.max(0,Math.min(Math.min(C.width,