From 8695cf883e6a60b8c4424be6089f354586149f42 Mon Sep 17 00:00:00 2001 From: BorysLevytskyi Date: Fri, 5 May 2023 11:56:54 +0200 Subject: [PATCH] Release --- asset-manifest.json | 6 +++--- index.html | 2 +- static/js/main.12b63e10.js | 3 +++ ...ccae6a84.js.LICENSE.txt => main.12b63e10.js.LICENSE.txt} | 0 static/js/main.12b63e10.js.map | 1 + static/js/main.ccae6a84.js | 3 --- static/js/main.ccae6a84.js.map | 1 - 7 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 static/js/main.12b63e10.js rename static/js/{main.ccae6a84.js.LICENSE.txt => main.12b63e10.js.LICENSE.txt} (100%) create mode 100644 static/js/main.12b63e10.js.map delete mode 100644 static/js/main.ccae6a84.js delete mode 100644 static/js/main.ccae6a84.js.map diff --git a/asset-manifest.json b/asset-manifest.json index d4c41ef..91b7ae9 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,13 +1,13 @@ { "files": { "main.css": "/static/css/main.99a35fa3.css", - "main.js": "/static/js/main.ccae6a84.js", + "main.js": "/static/js/main.12b63e10.js", "index.html": "/index.html", "main.99a35fa3.css.map": "/static/css/main.99a35fa3.css.map", - "main.ccae6a84.js.map": "/static/js/main.ccae6a84.js.map" + "main.12b63e10.js.map": "/static/js/main.12b63e10.js.map" }, "entrypoints": [ "static/css/main.99a35fa3.css", - "static/js/main.ccae6a84.js" + "static/js/main.12b63e10.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 57d44c2..f5cc697 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -BitwiseCmd
\ No newline at end of file +BitwiseCmd
\ No newline at end of file diff --git a/static/js/main.12b63e10.js b/static/js/main.12b63e10.js new file mode 100644 index 0000000..7f41c8f --- /dev/null +++ b/static/js/main.12b63e10.js @@ -0,0 +1,3 @@ +/*! For license information please see main.12b63e10.js.LICENSE.txt */ +(function(){var __webpack_modules__={468:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Z:function(){return ExpressionOperand}});var C_git_rnd_git_BitwiseCmd_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(671),C_git_rnd_git_BitwiseCmd_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(466),_NumericOperand__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(875),ExpressionOperand=function(){function ExpressionOperand(e,t,n){(0,C_git_rnd_git_BitwiseCmd_node_modules_babel_runtime_helpers_esm_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__.Z)(this,ExpressionOperand),this.expressionString=void 0,this.operand=void 0,this.sign=void 0,this.isExpression=void 0,this.isShiftExpression=void 0,this.isNotExpression=void 0,this.expressionString=e,this.operand=t,this.sign=n,this.isExpression=!0,this.isShiftExpression=this.sign.indexOf("<")>=0||this.sign.indexOf(">")>=0,this.isNotExpression="~"===this.sign}return(0,C_git_rnd_git_BitwiseCmd_node_modules_babel_runtime_helpers_esm_createClass_js__WEBPACK_IMPORTED_MODULE_2__.Z)(ExpressionOperand,[{key:"evaluate",value:function evaluate(operand){if(operand instanceof ExpressionOperand)throw new Error("value shouldnt be expression");var evaluatedOperand=this.operand.evaluate(),str="";if("~"==this.sign)str="~"+evaluatedOperand.value;else{if(null==operand)throw new Error("Other is required for expression: "+this.expressionString);str=operand.value+this.sign+evaluatedOperand.value}return _NumericOperand__WEBPACK_IMPORTED_MODULE_0__.Z.create(eval(str),evaluatedOperand.base)}},{key:"getUnderlyingOperand",value:function(){return this.operand.getUnderlyingOperand()}},{key:"toString",value:function(){return this.sign+this.operand.toString()}}]),ExpressionOperand}()},875:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(671),a=n(466),i=[{regex:/^-?\d+$/,radix:10,base:"dec",prefix:"^$"},{regex:/^-?0x[0-9,a-f]+$/i,radix:16,base:"hex",prefix:/0x/i},{regex:/^-?0b[0-1]+$/i,radix:2,base:"bin",prefix:/0b/i}],o=new(function(){function e(t){(0,r.Z)(this,e),this.parsers=void 0,this.parsers=t}return(0,a.Z)(e,[{key:"parse",value:function(e){var t=this;return this.parsers.map((function(n){return t.applyParser(n,e)})).reduce((function(e,t){return e||t}))}},{key:"parseOperator",value:function(e){var t=e.match(e);return null==t||0==t.length?null:t[0]}},{key:"applyParser",value:function(e,t){return e.regex.test(t)?{value:parseInt(t.replace(e.prefix,""),e.radix),base:e.base,input:t}:null}}]),e}())(i),l=1,s=function(){function e(t,n){if((0,r.Z)(this,e),this.id=void 0,this.value=void 0,this.base=void 0,this.lengthInBits=void 0,this.isExpression=void 0,this.id=l++,this.value=t,this.base=n||"dec",this.lengthInBits=e.getBitLength(this.value),this.isExpression=!1,t<0&&!e.is32Bit(t))throw new Error("BitwiseCmd currently doesn't support 64 bit negative numbers such as "+t)}return(0,a.Z)(e,[{key:"getLengthInBits",value:function(){return this.value<0?32:Math.floor(Math.log(this.value)/Math.log(2))+1}},{key:"getOtherBase",value:function(e){switch(e||this.base){case"dec":case"bin":return"hex";case"hex":return"dec";default:throw new Error(e+" kind doesn't have opposite kind")}}},{key:"toString",value:function(t){return e.toBaseString(this.value,t||this.base)}},{key:"toOtherKindString",value:function(){return this.toString(this.getOtherBase())}},{key:"toDecimalString",value:function(){return this.toString("dec")}},{key:"toHexString",value:function(){return this.toString("hex")}},{key:"toBinaryString",value:function(){return this.toString("bin")}},{key:"setValue",value:function(t){this.value=t,this.lengthInBits=e.getBitLength(t)}},{key:"evaluate",value:function(){return this}},{key:"getUnderlyingOperand",value:function(){return this}}],[{key:"getBitLength",value:function(e){return Math.floor(Math.log(e)/Math.log(2))+1}},{key:"getBase",value:function(e){switch(e){case"bin":return 2;case"hex":return 16;case"dec":return 10}}},{key:"create",value:function(t,n){return new e(t,n||"dec")}},{key:"parse",value:function(t){var n=o.parse(t);if(!n)throw new Error(t+" is not a valid number");return new e(n.value,n.base)}},{key:"toBaseString",value:function(t,n){switch(n){case"hex":var r=Math.abs(t).toString(16);return t>=0?"0x"+r:"-0x"+r;case"bin":return(e.is32Bit(t)&&t<0?t>>>0:t).toString(2);case"dec":return t.toString(10);default:throw new Error("Unexpected kind: "+n)}}},{key:"toHexString",value:function(e){return 0===e.indexOf("-")?"-0x"+e.substr(1):"0x"+e}},{key:"is32Bit",value:function(e){return Math.abs(e)<=2147483647}}]),e}()},895:function(e,t,n){var r,a;!function(i,o){"use strict";r=function(){var e=function(){},t="undefined",n=typeof window!==t&&typeof window.navigator!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent),r=["trace","debug","info","warn","error"];function a(e,t){var n=e[t];if("function"===typeof n.bind)return n.bind(e);try{return Function.prototype.bind.call(n,e)}catch(r){return function(){return Function.prototype.apply.apply(n,[e,arguments])}}}function i(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function o(r){return"debug"===r&&(r="log"),typeof console!==t&&("trace"===r&&n?i:void 0!==console[r]?a(console,r):void 0!==console.log?a(console,"log"):e)}function l(t,n){for(var a=0;a=0&&n<=o.levels.SILENT))throw"log.setLevel() called with invalid level: "+n;if(i=n,!1!==r&&c(n),l.call(o,n,e),typeof console===t&&n