{"size": 5373, "ext": "js", "max_stars_repo_path": "build/jsep.min.js", "max_stars_repo_name": "nechutny/jsep", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "build/jsep.min.js", "max_issues_repo_name": "nechutny/jsep", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "build/jsep.min.js", "max_forks_repo_name": "nechutny/jsep", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 1791.0, "max_line_length": 5295, "alphanum_fraction": 0.58831193}
/* jsep v0.3.4 (http://jsep.from.so/) */
!function(e){"use strict";var U="Compound",w="MemberExpression",O="Literal",k=function(e,r){var t=new Error(e+" at character "+r);throw t.index=r,t.description=e,t},j={"-":!0,"!":!0,"~":!0,"+":!0},S={"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":10,"/":10,"%":10},r=function(e){var r,t=0;for(var n in e)(r=n.length)>t&&e.hasOwnProperty(n)&&(t=r);return t},A=r(j),P=r(S),L={true:!0,false:!1,null:null},B=function(e){return S[e]||0},M=function(e,r,t){return{type:"||"===e||"&&"===e?"LogicalExpression":"BinaryExpression",operator:e,left:r,right:t}},q=function(e){return 48<=e&&e<=57},J=function(e){return 36===e||95===e||65<=e&&e<=90||97<=e&&e<=122||128<=e&&!S[String.fromCharCode(e)]},F=function(e){return 36===e||95===e||65<=e&&e<=90||97<=e&&e<=122||48<=e&&e<=57||128<=e&&!S[String.fromCharCode(e)]},t=function(n){for(var e,r,p=0,t=n.charAt,o=n.charCodeAt,i=function(e){return t.call(n,e)},a=function(e){return o.call(n,e)},s=n.length,f=function(){for(var e=a(p);32===e||9===e||10===e||13===e;)e=a(++p)},c=function(){var e,r,t=u();return f(),63!==a(p)?t:(p++,(e=c())||k("Expected expression",p),f(),58===a(p)?(p++,(r=c())||k("Expected expression",p),{type:"ConditionalExpression",test:t,consequent:e,alternate:r}):void k("Expected :",p))},l=function(){f();for(var e=n.substr(p,P),r=e.length;0<r;){if(S.hasOwnProperty(e)&&(!J(a(p))||p+e.length<n.length&&!F(a(p+e.length))))return p+=r,e;e=e.substr(0,--r)}return!1},u=function(){var e,r,t,n,o,i,u,a,s;if(i=h(),!(r=l()))return i;for(o={value:r,prec:B(r)},(u=h())||k("Expected expression after "+r,p),n=[i,o,u];(r=l())&&0!==(t=B(r));){for(o={value:r,prec:t},s=r;2<n.length&&t<=n[n.length-2].prec;)u=n.pop(),r=n.pop().value,i=n.pop(),e=M(r,i,u),n.push(e);(e=h())||k("Expected expression after "+s,p),n.push(o,e)}for(e=n[a=n.length-1];1<a;)e=M(n[a-1].value,n[a-2],e),a-=2;return e},h=function(){var e,r,t;if(f(),e=a(p),q(e)||46===e)return d();if(39===e||34===e||96==e)return v();if(91===e)return b();if(123===e)return E();for(t=(r=n.substr(p,A)).length;0<t;){if(j.hasOwnProperty(r)&&(!J(a(p))||p+r.length<n.length&&!F(a(p+r.length))))return p+=t,{type:"UnaryExpression",operator:r,argument:h(),prefix:!0};r=r.substr(0,--t)}return!(!J(e)&&40!==e)&&m()},d=function(){for(var e,r,t="";q(a(p));)t+=i(p++);if(46===a(p))for(t+=i(p++);q(a(p));)t+=i(p++);if("e"===(e=i(p))||"E"===e){for(t+=i(p++),"+"!==(e=i(p))&&"-"!==e||(t+=i(p++));q(a(p));)t+=i(p++);q(a(p-1))||k("Expected exponent ("+t+i(p)+")",p)}return r=a(p),J(r)?k("Variable names cannot start with a number ("+t+i(p)+")",p):46===r&&k("Unexpected period",p),{type:O,value:parseFloat(t),raw:t}},v=function(){for(var e,r="",t=i(p++),n=!1;p<s;){if((e=i(p++))===t){n=!0;break}if("\\"===e)switch(e=i(p++)){case"n":r+="\n";break;case"r":r+="\r";break;case"t":r+="\t";break;case"b":r+="\b";break;case"f":r+="\f";break;case"v":r+="\v";break;default:r+=e}else r+=e}return n||k('Unclosed quote after "'+r+'"',p),{type:O,value:r,raw:t+r+t}},x=function(){var e,r=a(p),t=p;for(J(r)?p++:k("Unexpected "+i(p),p);p<s&&(r=a(p),F(r));)p++;return e=n.slice(t,p),L.hasOwnProperty(e)?{type:O,value:L[e],raw:e}:"this"===e?{type:"ThisExpression"}:{type:"Identifier",name:e}},y=function(e){for(var r,t,n=[],o=!1,i=0;p<s;){if(f(),(r=a(p))===e){o=!0,p++,41===e&&i&&i>=n.length&&k("Unexpected token "+String.fromCharCode(e),p);break}if(44===r){if(p++,++i!==n.length)if(41===e)k("Unexpected token ,",p);else if(93===e)for(var u=n.length;u<i;u++)n.push(null)}else(t=c())&&t.type!==U||k("Expected comma",p),n.push(t)}return o||k("Expected "+String.fromCharCode(e),p),n},m=function(){var e,r;for(r=40===(e=a(p))?g():x(),f(),e=a(p);46===e||91===e||40===e;)p++,46===e?(f(),r={type:w,computed:!1,object:r,property:x()}):91===e?(r={type:w,computed:!0,object:r,property:c()},f(),93!==(e=a(p))&&k("Unclosed [",p),p++):40===e&&(r={type:"CallExpression",arguments:y(41),callee:r}),f(),e=a(p);return r},g=function(){p++;var e=c();if(f(),41===a(p))return p++,e;k("Unclosed (",p)},E=function(){p++;var e,r,t={type:"ObjectExpression",items:[]};for(f();125!==a(p);)e=39===a(p)||34===a(p)?v().value:x().name,f(),58!==a(p)&&k("Expected :",p),p++,r=c(),t.items.push({name:e,value:r}),f(),44===a(p)&&p++,f();return p++,t},b=function(){return p++,{type:"ArrayExpression",elements:y(93)}},C=[];p<s;)59===(e=a(p))||44===e?p++:(r=c())?C.push(r):p<s&&k('Unexpected "'+i(p)+'"',p);return 1===C.length?C[0]:{type:U,body:C}};if(t.version="0.3.4",t.toString=function(){return"JavaScript Expression Parser (JSEP) v"+t.version},t.addUnaryOp=function(e){return A=Math.max(e.length,A),j[e]=!0,this},t.addBinaryOp=function(e,r){return P=Math.max(e.length,P),S[e]=r,this},t.addLiteral=function(e,r){return L[e]=r,this},t.removeUnaryOp=function(e){return delete j[e],e.length===A&&(A=r(j)),this},t.removeAllUnaryOps=function(){return j={},A=0,this},t.removeBinaryOp=function(e){return delete S[e],e.length===P&&(P=r(S)),this},t.removeAllBinaryOps=function(){return S={},P=0,this},t.removeLiteral=function(e){return delete L[e],this},t.removeAllLiterals=function(){return L={},this},"undefined"==typeof exports){var n=e.jsep;(e.jsep=t).noConflict=function(){return e.jsep===t&&(e.jsep=n),t}}else"undefined"!=typeof module&&module.exports?exports=module.exports=t:exports.parse=t}(this);
//# sourceMappingURL=jsep.min.js.map