b.setSelectionCells([E])}}for(E=0;E<u.length;E++)u[E].parentNode.removeChild(u[E]);d=null;u=[];D=[]}n(!1)};b.addListener(mxEvent.FIRE_MOUSE_EVENT,mxUtils.bind(this,function(J,E){J=E.getProperty("eventName");E=E.getProperty("event");J==mxEvent.MOUSE_MOVE&&x&&(null!=E.sourceState&&E.sourceState.setCursor("crosshair"),E.consume())}));b.addMouseListener({mouseDown:mxUtils.bind(this,function(J,E){if(b.isEnabled()&&!b.isCellLocked(b.getDefaultParent())&&(J=E.getEvent(),x&&!mxEvent.isPopupTrigger(J)&&!mxEvent.isMultiTouchEvent(J))){var H=
parseFloat(b.currentVertexStyle[mxConstants.STYLE_STROKEWIDTH]||1);H=Math.max(1,H*b.view.scale);var S=B();d=document.createElementNS("http://www.w3.org/2000/svg","path");d.setAttribute("fill",M?S:"none");d.setAttribute("stroke",S);d.setAttribute("stroke-width",H);"1"==b.currentVertexStyle[mxConstants.STYLE_DASHED]&&(S=b.currentVertexStyle[mxConstants.STYLE_DASH_PATTERN]||"3 3",S=S.split(" ").map(function(U){return parseFloat(U)*H}).join(" "),d.setAttribute("stroke-dasharray",S));v=[];J=F(J);G(J);
t="M"+J.x+" "+J.y;D.push(J);c=[];d.setAttribute("d",M?PerfectFreehand.getSvgPathFromStroke([[J.x,J.y]],L):t);f.appendChild(d);E.consume()}}),mouseMove:mxUtils.bind(this,function(J,E){if(d&&b.isEnabled()&&!b.isCellLocked(b.getDefaultParent())){J=E.getEvent();J=F(J);G(J);var H=N(0);if(H)if(D.push(H),M){var S=[];for(H=0;H<D.length;H++)S.push([D[H].x,D[H].y]);c=[];for(var U=2;U<v.length;U+=2)H=N(U),S.push([H.x,H.y]),c.push(H);d.setAttribute("d",PerfectFreehand.getSvgPathFromStroke(S,L))}else{t+=" L"+
The product receives input or data, but it does
        not validate or incorrectly validates that the input has the
        properties that are required to process the data safely and
        correctly.