Language: JavaScript
Label: safe
CWE: CWE-400 \u2014 Uncontrolled Resource Consumption
The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.

Code:
N?c.lineTo(l-y,0):Y&&!N?c.lineTo(l,y):Y?"square"==w||"default"==w&&"square"==v?c.lineTo(l-y,y):"rounded"==w||"default"==w&&"rounded"==v||"snip"==w||"default"==w&&"snip"==v?c.lineTo(l-y,J+.5*y):c.lineTo(l-y,J+y):c.lineTo(l-y,0):c.lineTo(l,0)};Fa.prototype.paintLeftInner=function(c,h,q,l,p,v,w,J,y,Y,N){Y||N?!Y&&N?c.lineTo(y,p):Y&&!N?c.lineTo(0,p-y):Y?"square"==w||"default"==w&&"square"==v?c.lineTo(y,p-y):"rounded"==w||"default"==w&&"rounded"==v||"snip"==w||"default"==w&&"snip"==v?c.lineTo(y,p-J-.5*
y):c.lineTo(y,p-J-y):c.lineTo(y,p):c.lineTo(0,p)};Fa.prototype.paintSEInner=function(c,h,q,l,p,v,w,J,y){if("rounded"==w||"default"==w&&"rounded"==v)c.arcTo(J-.5*y,J-.5*y,0,0,0,l-y,p-J-.5*y);else if("invRound"==w||"default"==w&&"invRound"==v)c.arcTo(J+y,J+y,0,0,1,l-y,p-J-y);else if("snip"==w||"default"==w&&"snip"==v)c.lineTo(l-y,p-J-.5*y);else if("fold"==w||"default"==w&&"fold"==v)c.lineTo(l-J-y,p-J-y),c.lineTo(l-y,p-J-y)};Fa.prototype.paintBottomInner=function(c,h,q,l,p,v,w,J,y,Y,N){Y||N?!Y&&N?c.lineTo(l,