From be2fb82a0ef6494a1a956b19e73880047b947eab Mon Sep 17 00:00:00 2001 From: PhilippGackstatter Date: Thu, 26 Sep 2024 06:58:39 +0000 Subject: [PATCH] deploy: 54322073449a391366359f904b6e392ed5260cd9 --- asset-manifest.json | 12 ++++++------ index.html | 2 +- ...eb26e8f.chunk.js => 723.7c694dea.chunk.js} | 6 +++--- ....txt => 723.7c694dea.chunk.js.LICENSE.txt} | 0 ...chunk.js.map => 723.7c694dea.chunk.js.map} | 2 +- .../js/{main.02cd7617.js => main.25a5ee6e.js} | 6 +++--- ...CENSE.txt => main.25a5ee6e.js.LICENSE.txt} | 0 ...n.02cd7617.js.map => main.25a5ee6e.js.map} | 2 +- ...> miden_wasm_bg.193397ad55c920ebedfd.wasm} | Bin 3653407 -> 3654105 bytes 9 files changed, 15 insertions(+), 15 deletions(-) rename static/js/{723.ceb26e8f.chunk.js => 723.7c694dea.chunk.js} (93%) rename static/js/{723.ceb26e8f.chunk.js.LICENSE.txt => 723.7c694dea.chunk.js.LICENSE.txt} (100%) rename static/js/{723.ceb26e8f.chunk.js.map => 723.7c694dea.chunk.js.map} (99%) rename static/js/{main.02cd7617.js => main.25a5ee6e.js} (99%) rename static/js/{main.02cd7617.js.LICENSE.txt => main.25a5ee6e.js.LICENSE.txt} (100%) rename static/js/{main.02cd7617.js.map => main.25a5ee6e.js.map} (99%) rename static/media/{miden_wasm_bg.059bf3cbbd288f163747.wasm => miden_wasm_bg.193397ad55c920ebedfd.wasm} (69%) diff --git a/asset-manifest.json b/asset-manifest.json index 0a1f1ef0..47eefee8 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,9 +1,9 @@ { "files": { "main.css": "/examples/static/css/main.b41fdbd7.css", - "main.js": "/examples/static/js/main.02cd7617.js", - "static/js/723.ceb26e8f.chunk.js": "/examples/static/js/723.ceb26e8f.chunk.js", - "static/media/miden_wasm_bg.wasm": "/examples/static/media/miden_wasm_bg.059bf3cbbd288f163747.wasm", + "main.js": "/examples/static/js/main.25a5ee6e.js", + "static/js/723.7c694dea.chunk.js": "/examples/static/js/723.7c694dea.chunk.js", + "static/media/miden_wasm_bg.wasm": "/examples/static/media/miden_wasm_bg.193397ad55c920ebedfd.wasm", "static/media/KaTeX_AMS-Regular.ttf": "/examples/static/media/KaTeX_AMS-Regular.853be92419a6c3766b9a.ttf", "static/media/KaTeX_Main-Regular.ttf": "/examples/static/media/KaTeX_Main-Regular.9eba1d77abcf2aa6e94e.ttf", "static/media/GeistMono-Regular.woff": "/examples/static/media/GeistMono-Regular.af996326ba34a9dc0fcb.woff", @@ -74,11 +74,11 @@ "static/media/KaTeX_Size3-Regular.woff2": "/examples/static/media/KaTeX_Size3-Regular.e1951519f6f0596f7356.woff2", "index.html": "/examples/index.html", "main.b41fdbd7.css.map": "/examples/static/css/main.b41fdbd7.css.map", - "main.02cd7617.js.map": "/examples/static/js/main.02cd7617.js.map", - "723.ceb26e8f.chunk.js.map": "/examples/static/js/723.ceb26e8f.chunk.js.map" + "main.25a5ee6e.js.map": "/examples/static/js/main.25a5ee6e.js.map", + "723.7c694dea.chunk.js.map": "/examples/static/js/723.7c694dea.chunk.js.map" }, "entrypoints": [ "static/css/main.b41fdbd7.css", - "static/js/main.02cd7617.js" + "static/js/main.25a5ee6e.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index baed0b02..c88b3340 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -Miden Assembly Playground
\ No newline at end of file +Miden Assembly Playground
\ No newline at end of file diff --git a/static/js/723.ceb26e8f.chunk.js b/static/js/723.7c694dea.chunk.js similarity index 93% rename from static/js/723.ceb26e8f.chunk.js rename to static/js/723.7c694dea.chunk.js index 159f4c2d..502d9c4f 100644 --- a/static/js/723.ceb26e8f.chunk.js +++ b/static/js/723.7c694dea.chunk.js @@ -1,3 +1,3 @@ -/*! For license information please see 723.ceb26e8f.chunk.js.LICENSE.txt */ -!function(){"use strict";var t={262:function(t,e,n){t.exports=n.p+"static/media/miden_wasm_bg.059bf3cbbd288f163747.wasm"}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.m=t,n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/examples/",n.b=self.location+"/../../../",function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(){e=function(){return n};var n={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(P){f=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var o=e&&e.prototype instanceof d?e:d,a=Object.create(o.prototype),u=new S(r||[]);return i(a,"_invoke",{value:k(t,n,u)}),a}function _(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(P){return{type:"throw",arg:P}}}n.wrap=l;var p={};function d(){}function g(){}function h(){}var y={};f(y,u,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(j([])));b&&b!==r&&o.call(b,u)&&(y=b);var w=h.prototype=d.prototype=Object.create(y);function m(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function x(e,n){function r(i,a,u,c){var s=_(e[i],e,a);if("throw"!==s.type){var f=s.arg,l=f.value;return l&&"object"==t(l)&&o.call(l,"__await")?n.resolve(l.__await).then((function(t){r("next",t,u,c)}),(function(t){r("throw",t,u,c)})):n.resolve(l).then((function(t){f.value=t,u(f)}),(function(t){return r("throw",t,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(t,e){function o(){return new n((function(n,o){r(t,e,n,o)}))}return a=a?a.then(o,o):o()}})}function k(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return I()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=L(a,n);if(u){if(u===p)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=_(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function L(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,L(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var o=_(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,p;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function j(t){if(t){var e=t[u];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=o.call(i,"catchLoc"),c=o.call(i,"finallyLoc");if(u&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),O(n),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:j(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},n}function r(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(s){return void n(s)}u.done?e(c):Promise.resolve(c).then(r,o)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function u(t){r(a,o,i,u,c,"next",t)}function c(t){r(a,o,i,u,c,"throw",t)}u(void 0)}))}}function i(e){var n=function(e,n){if("object"!==t(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,n||"default");if("object"!==t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"===t(n)?n:String(n)}function a(t,e){for(var n=0;n>>=0,c.decode(f().subarray(t,t+e))}var _=new Array(128).fill(void 0);_.push(void 0,null,!0,!1);var p=_.length;var d=null;function g(){return(null===d||!0===d.buffer.detached||void 0===d.buffer.detached&&d.buffer!==u.memory.buffer)&&(d=new DataView(u.memory.buffer)),d}var h=0,y="undefined"!==typeof TextEncoder?new TextEncoder("utf-8"):{encode:function(){throw Error("TextEncoder not available")}},v="function"===typeof y.encodeInto?function(t,e){return y.encodeInto(t,e)}:function(t,e){var n=y.encode(t);return e.set(n),{read:t.length,written:n.length}};function b(t,e,n){if(void 0===n){var r=y.encode(t),o=e(r.length,1)>>>0;return f().subarray(o,o+r.length).set(r),h=r.length,o}for(var i=t.length,a=e(i,1)>>>0,u=f(),c=0;c127)break;u[a+c]=s}if(c!==i){0!==c&&(t=t.slice(c)),a=n(a,i,i=c+3*t.length,1)>>>0;var l=f().subarray(a+c,a+i);a=n(a,i,c+=v(t,l).written,1)>>>0}return h=c,a}function w(t){return void 0===t||null===t}var m=null;function x(){return null!==m&&0!==m.byteLength||(m=new BigUint64Array(u.memory.buffer)),m}function k(t,e){return t>>>=0,x().subarray(t/8,t/8+e)}function L(t,e){var n=e(8*t.length,8)>>>0;return x().set(t,n/8),h=t.length,n}function E(t){var e=function(t){return _[t]}(t);return function(t){t<132||(_[t]=p,p=t)}(t),e}function O(t,e){var n=e(1*t.length,1)>>>0;return f().set(t,n/1),h=t.length,n}function S(t,e){try{var n=u.__wbindgen_add_to_stack_pointer(-16),r=b(t,u.__wbindgen_malloc,u.__wbindgen_realloc),o=h,i=b(e,u.__wbindgen_malloc,u.__wbindgen_realloc),a=h;u.prove_program(n,r,o,i,a);var c=g().getInt32(n+0,!0),s=g().getInt32(n+4,!0);if(g().getInt32(n+8,!0))throw E(s);return I.__wrap(c)}finally{u.__wbindgen_add_to_stack_pointer(16)}}Object.freeze({PlayAll:0,0:"PlayAll",Play:1,1:"Play",RewindAll:2,2:"RewindAll",Rewind:3,3:"Rewind",PrintState:4,4:"PrintState"}),"undefined"===typeof FinalizationRegistry||new FinalizationRegistry((function(t){return u.__wbg_debugexecutor_free(t>>>0,1)})),"undefined"===typeof FinalizationRegistry||new FinalizationRegistry((function(t){return u.__wbg_debugoutput_free(t>>>0,1)}));var j="undefined"===typeof FinalizationRegistry?{register:function(){},unregister:function(){}}:new FinalizationRegistry((function(t){return u.__wbg_outputs_free(t>>>0,1)})),I=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,r;return e=t,r=[{key:"__wrap",value:function(e){e>>>=0;var n=Object.create(t.prototype);return n.__wbg_ptr=e,j.register(n,n.__wbg_ptr,n),n}}],(n=[{key:"__destroy_into_raw",value:function(){var t=this.__wbg_ptr;return this.__wbg_ptr=0,j.unregister(this),t}},{key:"free",value:function(){var t=this.__destroy_into_raw();u.__wbg_outputs_free(t,0)}},{key:"program_hash",get:function(){var t,e;try{var n=u.__wbindgen_add_to_stack_pointer(-16);u.__wbg_get_outputs_program_hash(n,this.__wbg_ptr);var r=g().getInt32(n+0,!0),o=g().getInt32(n+4,!0);return t=r,e=o,l(r,o)}finally{u.__wbindgen_add_to_stack_pointer(16),u.__wbindgen_free(t,e,1)}},set:function(t){var e=b(t,u.__wbindgen_malloc,u.__wbindgen_realloc),n=h;u.__wbg_set_outputs_program_hash(this.__wbg_ptr,e,n)}},{key:"stack_output",get:function(){try{var t=u.__wbindgen_add_to_stack_pointer(-16);u.__wbg_get_outputs_stack_output(t,this.__wbg_ptr);var e=g().getInt32(t+0,!0),n=g().getInt32(t+4,!0),r=k(e,n).slice();return u.__wbindgen_free(e,8*n,8),r}finally{u.__wbindgen_add_to_stack_pointer(16)}},set:function(t){var e=L(t,u.__wbindgen_malloc),n=h;u.__wbg_set_outputs_stack_output(this.__wbg_ptr,e,n)}},{key:"cycles",get:function(){try{var t=u.__wbindgen_add_to_stack_pointer(-16);u.__wbg_get_outputs_cycles(t,this.__wbg_ptr);var e=g().getInt32(t+0,!0),n=g().getInt32(t+4,!0);return 0===e?void 0:n>>>0}finally{u.__wbindgen_add_to_stack_pointer(16)}},set:function(t){u.__wbg_set_outputs_cycles(this.__wbg_ptr,!w(t),w(t)?0:t)}},{key:"trace_len",get:function(){try{var t=u.__wbindgen_add_to_stack_pointer(-16);u.__wbg_get_outputs_trace_len(t,this.__wbg_ptr);var e=g().getInt32(t+0,!0),n=g().getInt32(t+4,!0);return 0===e?void 0:n>>>0}finally{u.__wbindgen_add_to_stack_pointer(16)}},set:function(t){u.__wbg_set_outputs_trace_len(this.__wbg_ptr,!w(t),w(t)?0:t)}},{key:"overflow_addrs",get:function(){try{var t=u.__wbindgen_add_to_stack_pointer(-16);u.__wbg_get_outputs_overflow_addrs(t,this.__wbg_ptr);var e,n=g().getInt32(t+0,!0),r=g().getInt32(t+4,!0);return 0!==n&&(e=k(n,r).slice(),u.__wbindgen_free(n,8*r,8)),e}finally{u.__wbindgen_add_to_stack_pointer(16)}},set:function(t){var e=w(t)?0:L(t,u.__wbindgen_malloc),n=h;u.__wbg_set_outputs_overflow_addrs(this.__wbg_ptr,e,n)}},{key:"proof",get:function(){try{var t=u.__wbindgen_add_to_stack_pointer(-16);u.__wbg_get_outputs_proof(t,this.__wbg_ptr);var e,n=g().getInt32(t+0,!0),r=g().getInt32(t+4,!0);return 0!==n&&(e=(o=n,i=r,o>>>=0,f().subarray(o/1,o/1+i)).slice(),u.__wbindgen_free(n,1*r,1)),e}finally{u.__wbindgen_add_to_stack_pointer(16)}var o,i},set:function(t){var e=w(t)?0:O(t,u.__wbindgen_malloc),n=h;u.__wbg_set_outputs_proof(this.__wbg_ptr,e,n)}}])&&a(e.prototype,n),r&&a(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function P(t,e){return A.apply(this,arguments)}function A(){return(A=o(e().mark((function t(n,r){var o,i;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!("function"===typeof Response&&n instanceof Response)){t.next=23;break}if("function"!==typeof WebAssembly.instantiateStreaming){t.next=15;break}return t.prev=2,t.next=5,WebAssembly.instantiateStreaming(n,r);case 5:case 20:return t.abrupt("return",t.sent);case 8:if(t.prev=8,t.t0=t.catch(2),"application/wasm"==n.headers.get("Content-Type")){t.next=14;break}console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",t.t0),t.next=15;break;case 14:throw t.t0;case 15:return t.next=17,n.arrayBuffer();case 17:return o=t.sent,t.next=20,WebAssembly.instantiate(o,r);case 23:return t.next=25,WebAssembly.instantiate(n,r);case 25:if(!((i=t.sent)instanceof WebAssembly.Instance)){t.next=30;break}return t.abrupt("return",{instance:i,module:n});case 30:return t.abrupt("return",i);case 31:case"end":return t.stop()}}),t,null,[[2,8]])})))).apply(this,arguments)}function R(){var t={wbg:{}};return t.wbg.__wbindgen_string_new=function(t,e){return function(t){p===_.length&&_.push(_.length+1);var e=p;return p=_[e],_[e]=t,e}(l(t,e))},t.wbg.__wbindgen_throw=function(t,e){throw new Error(l(t,e))},t}function T(t,e){return u=t.exports,F.__wbindgen_wasm_module=e,m=null,d=null,s=null,u}function F(t){return N.apply(this,arguments)}function N(){return(N=o(e().mark((function t(r){var o,i,a,c;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===u){t.next=2;break}return t.abrupt("return",u);case 2:return"undefined"!==typeof r&&Object.getPrototypeOf(r)===Object.prototype?r=r.module_or_path:console.warn("using deprecated parameters for the initialization function; pass a single object instead"),"undefined"===typeof r&&(r=new URL(n(262),n.b)),o=R(),("string"===typeof r||"function"===typeof Request&&r instanceof Request||"function"===typeof URL&&r instanceof URL)&&(r=fetch(r)),t.t0=P,t.next=10,r;case 10:return t.t1=t.sent,t.t2=o,t.next=14,(0,t.t0)(t.t1,t.t2);case 14:return i=t.sent,a=i.instance,c=i.module,t.abrupt("return",T(a,c));case 18:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var z=F;onmessage=function(){var t=o(e().mark((function t(n){var r,o,i,a,u,c,s,f,l,_,p,d;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=n.data,o=r.code,i=r.inputs,t.prev=1,t.next=4,z();case 4:a=S(o,i),u=a.program_hash,c=a.cycles,s=a.stack_output,f=a.trace_len,l=a.overflow_addrs,_=a.proof,p=l?l.toString():"[]",postMessage({success:!0,result:{programInfo:{program_hash:u,cycles:c,trace_len:f},output:'{\n "stack_output" : ['.concat(s.toString(),'],\n "overflow_addrs" : [').concat(p,'],\n "trace_len" : ').concat(f,"\n }"),proof:_,stackOutput:s.toString()}}),t.next=13;break;case 9:t.prev=9,t.t0=t.catch(1),d=t.t0 instanceof Error?t.t0.message:String(t.t0),postMessage({success:!1,error:d});case 13:case"end":return t.stop()}}),t,null,[[1,9]])})));return function(e){return t.apply(this,arguments)}}()}()}(); -//# sourceMappingURL=723.ceb26e8f.chunk.js.map \ No newline at end of file +/*! For license information please see 723.7c694dea.chunk.js.LICENSE.txt */ +!function(){"use strict";var t={262:function(t,e,n){t.exports=n.p+"static/media/miden_wasm_bg.193397ad55c920ebedfd.wasm"}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.m=t,n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/examples/",n.b=self.location+"/../../../",function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(){e=function(){return n};var n={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(P){f=function(t,e,n){return t[e]=n}}function l(t,e,n,r){var o=e&&e.prototype instanceof d?e:d,a=Object.create(o.prototype),u=new S(r||[]);return i(a,"_invoke",{value:k(t,n,u)}),a}function _(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(P){return{type:"throw",arg:P}}}n.wrap=l;var p={};function d(){}function g(){}function h(){}var y={};f(y,u,(function(){return this}));var v=Object.getPrototypeOf,w=v&&v(v(j([])));w&&w!==r&&o.call(w,u)&&(y=w);var b=h.prototype=d.prototype=Object.create(y);function m(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function x(e,n){function r(i,a,u,c){var s=_(e[i],e,a);if("throw"!==s.type){var f=s.arg,l=f.value;return l&&"object"==t(l)&&o.call(l,"__await")?n.resolve(l.__await).then((function(t){r("next",t,u,c)}),(function(t){r("throw",t,u,c)})):n.resolve(l).then((function(t){f.value=t,u(f)}),(function(t){return r("throw",t,u,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(t,e){function o(){return new n((function(n,o){r(t,e,n,o)}))}return a=a?a.then(o,o):o()}})}function k(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return I()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=L(a,n);if(u){if(u===p)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=_(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function L(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,L(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var o=_(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,p;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function j(t){if(t){var e=t[u];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=o.call(i,"catchLoc"),c=o.call(i,"finallyLoc");if(u&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),O(n),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:j(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},n}function r(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(s){return void n(s)}u.done?e(c):Promise.resolve(c).then(r,o)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function u(t){r(a,o,i,u,c,"next",t)}function c(t){r(a,o,i,u,c,"throw",t)}u(void 0)}))}}function i(e){var n=function(e,n){if("object"!==t(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,n||"default");if("object"!==t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"===t(n)?n:String(n)}function a(t,e){for(var n=0;n>>=0,c.decode(f().subarray(t,t+e))}var _=new Array(128).fill(void 0);_.push(void 0,null,!0,!1);var p=_.length;var d=null;function g(){return(null===d||!0===d.buffer.detached||void 0===d.buffer.detached&&d.buffer!==u.memory.buffer)&&(d=new DataView(u.memory.buffer)),d}var h=0,y="undefined"!==typeof TextEncoder?new TextEncoder("utf-8"):{encode:function(){throw Error("TextEncoder not available")}},v="function"===typeof y.encodeInto?function(t,e){return y.encodeInto(t,e)}:function(t,e){var n=y.encode(t);return e.set(n),{read:t.length,written:n.length}};function w(t,e,n){if(void 0===n){var r=y.encode(t),o=e(r.length,1)>>>0;return f().subarray(o,o+r.length).set(r),h=r.length,o}for(var i=t.length,a=e(i,1)>>>0,u=f(),c=0;c127)break;u[a+c]=s}if(c!==i){0!==c&&(t=t.slice(c)),a=n(a,i,i=c+3*t.length,1)>>>0;var l=f().subarray(a+c,a+i);a=n(a,i,c+=v(t,l).written,1)>>>0}return h=c,a}function b(t){return void 0===t||null===t}var m=null;function x(){return null!==m&&0!==m.byteLength||(m=new BigUint64Array(u.memory.buffer)),m}function k(t,e){return t>>>=0,x().subarray(t/8,t/8+e)}function L(t,e){var n=e(8*t.length,8)>>>0;return x().set(t,n/8),h=t.length,n}function E(t){var e=function(t){return _[t]}(t);return function(t){t<132||(_[t]=p,p=t)}(t),e}function O(t,e){var n=e(1*t.length,1)>>>0;return f().set(t,n/1),h=t.length,n}function S(t,e){try{var n=u.__wbindgen_add_to_stack_pointer(-16),r=w(t,u.__wbindgen_malloc,u.__wbindgen_realloc),o=h,i=w(e,u.__wbindgen_malloc,u.__wbindgen_realloc),a=h;u.prove_program(n,r,o,i,a);var c=g().getInt32(n+0,!0),s=g().getInt32(n+4,!0);if(g().getInt32(n+8,!0))throw E(s);return I.__wrap(c)}finally{u.__wbindgen_add_to_stack_pointer(16)}}Object.freeze({PlayAll:0,0:"PlayAll",Play:1,1:"Play",RewindAll:2,2:"RewindAll",Rewind:3,3:"Rewind",PrintState:4,4:"PrintState"}),"undefined"===typeof FinalizationRegistry||new FinalizationRegistry((function(t){return u.__wbg_debugexecutor_free(t>>>0,1)})),"undefined"===typeof FinalizationRegistry||new FinalizationRegistry((function(t){return u.__wbg_debugoutput_free(t>>>0,1)}));var j="undefined"===typeof FinalizationRegistry?{register:function(){},unregister:function(){}}:new FinalizationRegistry((function(t){return u.__wbg_outputs_free(t>>>0,1)})),I=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,r;return e=t,r=[{key:"__wrap",value:function(e){e>>>=0;var n=Object.create(t.prototype);return n.__wbg_ptr=e,j.register(n,n.__wbg_ptr,n),n}}],(n=[{key:"__destroy_into_raw",value:function(){var t=this.__wbg_ptr;return this.__wbg_ptr=0,j.unregister(this),t}},{key:"free",value:function(){var t=this.__destroy_into_raw();u.__wbg_outputs_free(t,0)}},{key:"program_hash",get:function(){var t,e;try{var n=u.__wbindgen_add_to_stack_pointer(-16);u.__wbg_get_outputs_program_hash(n,this.__wbg_ptr);var r=g().getInt32(n+0,!0),o=g().getInt32(n+4,!0);return t=r,e=o,l(r,o)}finally{u.__wbindgen_add_to_stack_pointer(16),u.__wbindgen_free(t,e,1)}},set:function(t){var e=w(t,u.__wbindgen_malloc,u.__wbindgen_realloc),n=h;u.__wbg_set_outputs_program_hash(this.__wbg_ptr,e,n)}},{key:"stack_output",get:function(){try{var t=u.__wbindgen_add_to_stack_pointer(-16);u.__wbg_get_outputs_stack_output(t,this.__wbg_ptr);var e=g().getInt32(t+0,!0),n=g().getInt32(t+4,!0),r=k(e,n).slice();return u.__wbindgen_free(e,8*n,8),r}finally{u.__wbindgen_add_to_stack_pointer(16)}},set:function(t){var e=L(t,u.__wbindgen_malloc),n=h;u.__wbg_set_outputs_stack_output(this.__wbg_ptr,e,n)}},{key:"cycles",get:function(){try{var t=u.__wbindgen_add_to_stack_pointer(-16);u.__wbg_get_outputs_cycles(t,this.__wbg_ptr);var e=g().getInt32(t+0,!0),n=g().getInt32(t+4,!0);return 0===e?void 0:n>>>0}finally{u.__wbindgen_add_to_stack_pointer(16)}},set:function(t){u.__wbg_set_outputs_cycles(this.__wbg_ptr,!b(t),b(t)?0:t)}},{key:"trace_len",get:function(){try{var t=u.__wbindgen_add_to_stack_pointer(-16);u.__wbg_get_outputs_trace_len(t,this.__wbg_ptr);var e=g().getInt32(t+0,!0),n=g().getInt32(t+4,!0);return 0===e?void 0:n>>>0}finally{u.__wbindgen_add_to_stack_pointer(16)}},set:function(t){u.__wbg_set_outputs_trace_len(this.__wbg_ptr,!b(t),b(t)?0:t)}},{key:"overflow_addrs",get:function(){try{var t=u.__wbindgen_add_to_stack_pointer(-16);u.__wbg_get_outputs_overflow_addrs(t,this.__wbg_ptr);var e,n=g().getInt32(t+0,!0),r=g().getInt32(t+4,!0);return 0!==n&&(e=k(n,r).slice(),u.__wbindgen_free(n,8*r,8)),e}finally{u.__wbindgen_add_to_stack_pointer(16)}},set:function(t){var e=b(t)?0:L(t,u.__wbindgen_malloc),n=h;u.__wbg_set_outputs_overflow_addrs(this.__wbg_ptr,e,n)}},{key:"proof",get:function(){try{var t=u.__wbindgen_add_to_stack_pointer(-16);u.__wbg_get_outputs_proof(t,this.__wbg_ptr);var e,n=g().getInt32(t+0,!0),r=g().getInt32(t+4,!0);return 0!==n&&(e=(o=n,i=r,o>>>=0,f().subarray(o/1,o/1+i)).slice(),u.__wbindgen_free(n,1*r,1)),e}finally{u.__wbindgen_add_to_stack_pointer(16)}var o,i},set:function(t){var e=b(t)?0:O(t,u.__wbindgen_malloc),n=h;u.__wbg_set_outputs_proof(this.__wbg_ptr,e,n)}}])&&a(e.prototype,n),r&&a(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function P(t,e){return A.apply(this,arguments)}function A(){return(A=o(e().mark((function t(n,r){var o,i;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!("function"===typeof Response&&n instanceof Response)){t.next=23;break}if("function"!==typeof WebAssembly.instantiateStreaming){t.next=15;break}return t.prev=2,t.next=5,WebAssembly.instantiateStreaming(n,r);case 5:case 20:return t.abrupt("return",t.sent);case 8:if(t.prev=8,t.t0=t.catch(2),"application/wasm"==n.headers.get("Content-Type")){t.next=14;break}console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",t.t0),t.next=15;break;case 14:throw t.t0;case 15:return t.next=17,n.arrayBuffer();case 17:return o=t.sent,t.next=20,WebAssembly.instantiate(o,r);case 23:return t.next=25,WebAssembly.instantiate(n,r);case 25:if(!((i=t.sent)instanceof WebAssembly.Instance)){t.next=30;break}return t.abrupt("return",{instance:i,module:n});case 30:return t.abrupt("return",i);case 31:case"end":return t.stop()}}),t,null,[[2,8]])})))).apply(this,arguments)}function R(){var t={wbg:{}};return t.wbg.__wbindgen_string_new=function(t,e){return function(t){p===_.length&&_.push(_.length+1);var e=p;return p=_[e],_[e]=t,e}(l(t,e))},t.wbg.__wbindgen_throw=function(t,e){throw new Error(l(t,e))},t}function T(t,e){return u=t.exports,F.__wbindgen_wasm_module=e,m=null,d=null,s=null,u}function F(t){return N.apply(this,arguments)}function N(){return(N=o(e().mark((function t(r){var o,i,a,c;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===u){t.next=2;break}return t.abrupt("return",u);case 2:return"undefined"!==typeof r&&Object.getPrototypeOf(r)===Object.prototype?r=r.module_or_path:console.warn("using deprecated parameters for the initialization function; pass a single object instead"),"undefined"===typeof r&&(r=new URL(n(262),n.b)),o=R(),("string"===typeof r||"function"===typeof Request&&r instanceof Request||"function"===typeof URL&&r instanceof URL)&&(r=fetch(r)),t.t0=P,t.next=10,r;case 10:return t.t1=t.sent,t.t2=o,t.next=14,(0,t.t0)(t.t1,t.t2);case 14:return i=t.sent,a=i.instance,c=i.module,t.abrupt("return",T(a,c));case 18:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var z=F;onmessage=function(){var t=o(e().mark((function t(n){var r,o,i,a,u,c,s,f,l,_,p,d;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=n.data,o=r.code,i=r.inputs,t.prev=1,t.next=4,z();case 4:a=S(o,i),u=a.program_hash,c=a.cycles,s=a.stack_output,f=a.trace_len,l=a.overflow_addrs,_=a.proof,p=l?l.toString():"[]",postMessage({success:!0,result:{programInfo:{program_hash:u,cycles:c,trace_len:f},output:'{\n "stack_output" : ['.concat(s.toString(),'],\n "overflow_addrs" : [').concat(p,'],\n "trace_len" : ').concat(f,"\n }"),proof:_,stackOutput:s.toString()}}),t.next=13;break;case 9:t.prev=9,t.t0=t.catch(1),d=t.t0 instanceof Error?t.t0.message:String(t.t0),postMessage({success:!1,error:d});case 13:case"end":return t.stop()}}),t,null,[[1,9]])})));return function(e){return t.apply(this,arguments)}}()}()}(); +//# sourceMappingURL=723.7c694dea.chunk.js.map \ No newline at end of file diff --git a/static/js/723.ceb26e8f.chunk.js.LICENSE.txt b/static/js/723.7c694dea.chunk.js.LICENSE.txt similarity index 100% rename from static/js/723.ceb26e8f.chunk.js.LICENSE.txt rename to static/js/723.7c694dea.chunk.js.LICENSE.txt diff --git a/static/js/723.ceb26e8f.chunk.js.map b/static/js/723.7c694dea.chunk.js.map similarity index 99% rename from static/js/723.ceb26e8f.chunk.js.map rename to static/js/723.7c694dea.chunk.js.map index 6765a929..65d090c9 100644 --- a/static/js/723.ceb26e8f.chunk.js.map +++ b/static/js/723.7c694dea.chunk.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/723.ceb26e8f.chunk.js","mappings":";2HACIA,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaE,QAGrB,IAAIC,EAASN,EAAyBE,GAAY,CAGjDG,QAAS,CAAC,GAOX,OAHAE,EAAoBL,GAAUI,EAAQA,EAAOD,QAASJ,GAG/CK,EAAOD,OACf,CAGAJ,EAAoBO,EAAID,ECzBxBN,EAAoBQ,EAAI,SAASC,EAAKC,GAAQ,OAAOC,OAAOC,UAAUC,eAAeC,KAAKL,EAAKC,EAAO,ECAtGV,EAAoBe,EAAI,aCAxBf,EAAoBgB,EAAIC,KAAKC,SAAW,wBCAzB,SAASC,EAAQV,GAG9B,OAAOU,EAAU,mBAAqBC,QAAU,iBAAmBA,OAAOC,SAAW,SAAUZ,GAC7F,cAAcA,CAChB,EAAI,SAAUA,GACZ,OAAOA,GAAO,mBAAqBW,QAAUX,EAAIa,cAAgBF,QAAUX,IAAQW,OAAOR,UAAY,g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AAjK,MAAA,KAAAD,UAAA,EApCQ","sources":["../webpack/bootstrap","../webpack/runtime/hasOwnProperty shorthand","../webpack/runtime/publicPath","../webpack/runtime/importScripts chunk loading","../node_modules/@babel/runtime/helpers/esm/typeof.js","../node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js","../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","../node_modules/@babel/runtime/helpers/esm/createClass.js","../miden-wasm/pkg/miden_wasm.js","../node_modules/@babel/runtime/helpers/esm/classCallCheck.js","pages/proveWorker.js"],"sourcesContent":["// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","__webpack_require__.p = \"/examples/\";","__webpack_require__.b = self.location + \"/../../../\";\n\n// object to store loaded chunks\n// \"1\" means \"already loaded\"\nvar installedChunks = {\n\t723: 1\n};\n\n// no chunk install function needed\n// no chunk loading\n\n// no HMR\n\n// no HMR manifest","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}","import _typeof from \"./typeof.js\";\nexport default function _regeneratorRuntime() {\n \"use strict\"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */\n _regeneratorRuntime = function _regeneratorRuntime() {\n return exports;\n };\n var exports = {},\n Op = Object.prototype,\n hasOwn = Op.hasOwnProperty,\n defineProperty = Object.defineProperty || function (obj, key, desc) {\n obj[key] = desc.value;\n },\n $Symbol = \"function\" == typeof Symbol ? Symbol : {},\n iteratorSymbol = $Symbol.iterator || \"@@iterator\",\n asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\",\n toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n function define(obj, key, value) {\n return Object.defineProperty(obj, key, {\n value: value,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }), obj[key];\n }\n try {\n define({}, \"\");\n } catch (err) {\n define = function define(obj, key, value) {\n return obj[key] = value;\n };\n }\n function wrap(innerFn, outerFn, self, tryLocsList) {\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,\n generator = Object.create(protoGenerator.prototype),\n context = new Context(tryLocsList || []);\n return defineProperty(generator, \"_invoke\", {\n value: makeInvokeMethod(innerFn, self, context)\n }), generator;\n }\n function tryCatch(fn, obj, arg) {\n try {\n return {\n type: \"normal\",\n arg: fn.call(obj, arg)\n };\n } catch (err) {\n return {\n type: \"throw\",\n arg: err\n };\n }\n }\n exports.wrap = wrap;\n var ContinueSentinel = {};\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n var getProto = Object.getPrototypeOf,\n NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);\n var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function (method) {\n define(prototype, method, function (arg) {\n return this._invoke(method, arg);\n });\n });\n }\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (\"throw\" !== record.type) {\n var result = record.arg,\n value = result.value;\n return value && \"object\" == _typeof(value) && hasOwn.call(value, \"__await\") ? PromiseImpl.resolve(value.__await).then(function (value) {\n invoke(\"next\", value, resolve, reject);\n }, function (err) {\n invoke(\"throw\", err, resolve, reject);\n }) : PromiseImpl.resolve(value).then(function (unwrapped) {\n result.value = unwrapped, resolve(result);\n }, function (error) {\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n reject(record.arg);\n }\n var previousPromise;\n defineProperty(this, \"_invoke\", {\n value: function value(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function (resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();\n }\n });\n }\n function makeInvokeMethod(innerFn, self, context) {\n var state = \"suspendedStart\";\n return function (method, arg) {\n if (\"executing\" === state) throw new Error(\"Generator is already running\");\n if (\"completed\" === state) {\n if (\"throw\" === method) throw arg;\n return doneResult();\n }\n for (context.method = method, context.arg = arg;;) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n if (\"next\" === context.method) context.sent = context._sent = context.arg;else if (\"throw\" === context.method) {\n if (\"suspendedStart\" === state) throw state = \"completed\", context.arg;\n context.dispatchException(context.arg);\n } else \"return\" === context.method && context.abrupt(\"return\", context.arg);\n state = \"executing\";\n var record = tryCatch(innerFn, self, context);\n if (\"normal\" === record.type) {\n if (state = context.done ? \"completed\" : \"suspendedYield\", record.arg === ContinueSentinel) continue;\n return {\n value: record.arg,\n done: context.done\n };\n }\n \"throw\" === record.type && (state = \"completed\", context.method = \"throw\", context.arg = record.arg);\n }\n };\n }\n function maybeInvokeDelegate(delegate, context) {\n var methodName = context.method,\n method = delegate.iterator[methodName];\n if (undefined === method) return context.delegate = null, \"throw\" === methodName && delegate.iterator[\"return\"] && (context.method = \"return\", context.arg = undefined, maybeInvokeDelegate(delegate, context), \"throw\" === context.method) || \"return\" !== methodName && (context.method = \"throw\", context.arg = new TypeError(\"The iterator does not provide a '\" + methodName + \"' method\")), ContinueSentinel;\n var record = tryCatch(method, delegate.iterator, context.arg);\n if (\"throw\" === record.type) return context.method = \"throw\", context.arg = record.arg, context.delegate = null, ContinueSentinel;\n var info = record.arg;\n return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, \"return\" !== context.method && (context.method = \"next\", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = \"throw\", context.arg = new TypeError(\"iterator result is not an object\"), context.delegate = null, ContinueSentinel);\n }\n function pushTryEntry(locs) {\n var entry = {\n tryLoc: locs[0]\n };\n 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);\n }\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\", delete record.arg, entry.completion = record;\n }\n function Context(tryLocsList) {\n this.tryEntries = [{\n tryLoc: \"root\"\n }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);\n }\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) return iteratorMethod.call(iterable);\n if (\"function\" == typeof iterable.next) return iterable;\n if (!isNaN(iterable.length)) {\n var i = -1,\n next = function next() {\n for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;\n return next.value = undefined, next.done = !0, next;\n };\n return next.next = next;\n }\n }\n return {\n next: doneResult\n };\n }\n function doneResult() {\n return {\n value: undefined,\n done: !0\n };\n }\n return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, \"constructor\", {\n value: GeneratorFunctionPrototype,\n configurable: !0\n }), defineProperty(GeneratorFunctionPrototype, \"constructor\", {\n value: GeneratorFunction,\n configurable: !0\n }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, \"GeneratorFunction\"), exports.isGeneratorFunction = function (genFun) {\n var ctor = \"function\" == typeof genFun && genFun.constructor;\n return !!ctor && (ctor === GeneratorFunction || \"GeneratorFunction\" === (ctor.displayName || ctor.name));\n }, exports.mark = function (genFun) {\n return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, \"GeneratorFunction\")), genFun.prototype = Object.create(Gp), genFun;\n }, exports.awrap = function (arg) {\n return {\n __await: arg\n };\n }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n void 0 === PromiseImpl && (PromiseImpl = Promise);\n var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);\n return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {\n return result.done ? result.value : iter.next();\n });\n }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, \"Generator\"), define(Gp, iteratorSymbol, function () {\n return this;\n }), define(Gp, \"toString\", function () {\n return \"[object Generator]\";\n }), exports.keys = function (val) {\n var object = Object(val),\n keys = [];\n for (var key in object) keys.push(key);\n return keys.reverse(), function next() {\n for (; keys.length;) {\n var key = keys.pop();\n if (key in object) return next.value = key, next.done = !1, next;\n }\n return next.done = !0, next;\n };\n }, exports.values = values, Context.prototype = {\n constructor: Context,\n reset: function reset(skipTempReset) {\n if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = \"next\", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) \"t\" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);\n },\n stop: function stop() {\n this.done = !0;\n var rootRecord = this.tryEntries[0].completion;\n if (\"throw\" === rootRecord.type) throw rootRecord.arg;\n return this.rval;\n },\n dispatchException: function dispatchException(exception) {\n if (this.done) throw exception;\n var context = this;\n function handle(loc, caught) {\n return record.type = \"throw\", record.arg = exception, context.next = loc, caught && (context.method = \"next\", context.arg = undefined), !!caught;\n }\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i],\n record = entry.completion;\n if (\"root\" === entry.tryLoc) return handle(\"end\");\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\"),\n hasFinally = hasOwn.call(entry, \"finallyLoc\");\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);\n if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);\n } else {\n if (!hasFinally) throw new Error(\"try statement without catch or finally\");\n if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);\n }\n }\n }\n },\n abrupt: function abrupt(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev && hasOwn.call(entry, \"finallyLoc\") && this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n finallyEntry && (\"break\" === type || \"continue\" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);\n var record = finallyEntry ? finallyEntry.completion : {};\n return record.type = type, record.arg = arg, finallyEntry ? (this.method = \"next\", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);\n },\n complete: function complete(record, afterLoc) {\n if (\"throw\" === record.type) throw record.arg;\n return \"break\" === record.type || \"continue\" === record.type ? this.next = record.arg : \"return\" === record.type ? (this.rval = this.arg = record.arg, this.method = \"return\", this.next = \"end\") : \"normal\" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;\n },\n finish: function finish(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;\n }\n },\n \"catch\": function _catch(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (\"throw\" === record.type) {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n throw new Error(\"illegal catch attempt\");\n },\n delegateYield: function delegateYield(iterable, resultName, nextLoc) {\n return this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n }, \"next\" === this.method && (this.arg = undefined), ContinueSentinel;\n }\n }, exports;\n}","function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n _next(undefined);\n });\n };\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function _toPropertyKey(arg) {\n var key = toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}","import _typeof from \"./typeof.js\";\nexport default function _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}","import toPropertyKey from \"./toPropertyKey.js\";\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);\n }\n}\nexport default function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}","let wasm;\n\nconst cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );\n\nif (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };\n\nlet cachedUint8ArrayMemory0 = null;\n\nfunction getUint8ArrayMemory0() {\n if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {\n cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);\n }\n return cachedUint8ArrayMemory0;\n}\n\nfunction getStringFromWasm0(ptr, len) {\n ptr = ptr >>> 0;\n return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));\n}\n\nconst heap = new Array(128).fill(undefined);\n\nheap.push(undefined, null, true, false);\n\nlet heap_next = heap.length;\n\nfunction addHeapObject(obj) {\n if (heap_next === heap.length) heap.push(heap.length + 1);\n const idx = heap_next;\n heap_next = heap[idx];\n\n heap[idx] = obj;\n return idx;\n}\n\nlet cachedDataViewMemory0 = null;\n\nfunction getDataViewMemory0() {\n if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {\n cachedDataViewMemory0 = new DataView(wasm.memory.buffer);\n }\n return cachedDataViewMemory0;\n}\n\nlet WASM_VECTOR_LEN = 0;\n\nconst cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );\n\nconst encodeString = (typeof cachedTextEncoder.encodeInto === 'function'\n ? function (arg, view) {\n return cachedTextEncoder.encodeInto(arg, view);\n}\n : function (arg, view) {\n const buf = cachedTextEncoder.encode(arg);\n view.set(buf);\n return {\n read: arg.length,\n written: buf.length\n };\n});\n\nfunction passStringToWasm0(arg, malloc, realloc) {\n\n if (realloc === undefined) {\n const buf = cachedTextEncoder.encode(arg);\n const ptr = malloc(buf.length, 1) >>> 0;\n getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);\n WASM_VECTOR_LEN = buf.length;\n return ptr;\n }\n\n let len = arg.length;\n let ptr = malloc(len, 1) >>> 0;\n\n const mem = getUint8ArrayMemory0();\n\n let offset = 0;\n\n for (; offset < len; offset++) {\n const code = arg.charCodeAt(offset);\n if (code > 0x7F) break;\n mem[ptr + offset] = code;\n }\n\n if (offset !== len) {\n if (offset !== 0) {\n arg = arg.slice(offset);\n }\n ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;\n const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);\n const ret = encodeString(arg, view);\n\n offset += ret.written;\n ptr = realloc(ptr, len, offset, 1) >>> 0;\n }\n\n WASM_VECTOR_LEN = offset;\n return ptr;\n}\n\nfunction isLikeNone(x) {\n return x === undefined || x === null;\n}\n\nlet cachedBigUint64ArrayMemory0 = null;\n\nfunction getBigUint64ArrayMemory0() {\n if (cachedBigUint64ArrayMemory0 === null || cachedBigUint64ArrayMemory0.byteLength === 0) {\n cachedBigUint64ArrayMemory0 = new BigUint64Array(wasm.memory.buffer);\n }\n return cachedBigUint64ArrayMemory0;\n}\n\nfunction getArrayU64FromWasm0(ptr, len) {\n ptr = ptr >>> 0;\n return getBigUint64ArrayMemory0().subarray(ptr / 8, ptr / 8 + len);\n}\n\nfunction passArray64ToWasm0(arg, malloc) {\n const ptr = malloc(arg.length * 8, 8) >>> 0;\n getBigUint64ArrayMemory0().set(arg, ptr / 8);\n WASM_VECTOR_LEN = arg.length;\n return ptr;\n}\n\nfunction getObject(idx) { return heap[idx]; }\n\nfunction dropObject(idx) {\n if (idx < 132) return;\n heap[idx] = heap_next;\n heap_next = idx;\n}\n\nfunction takeObject(idx) {\n const ret = getObject(idx);\n dropObject(idx);\n return ret;\n}\n\nfunction getArrayU8FromWasm0(ptr, len) {\n ptr = ptr >>> 0;\n return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);\n}\n\nfunction passArray8ToWasm0(arg, malloc) {\n const ptr = malloc(arg.length * 1, 1) >>> 0;\n getUint8ArrayMemory0().set(arg, ptr / 1);\n WASM_VECTOR_LEN = arg.length;\n return ptr;\n}\n/**\n* Runs the Miden VM with the given inputs\n* @param {string} code_frontend\n* @param {string} inputs_frontend\n* @returns {Outputs}\n*/\nexport function run_program(code_frontend, inputs_frontend) {\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n const ptr0 = passStringToWasm0(code_frontend, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n const len0 = WASM_VECTOR_LEN;\n const ptr1 = passStringToWasm0(inputs_frontend, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n const len1 = WASM_VECTOR_LEN;\n wasm.run_program(retptr, ptr0, len0, ptr1, len1);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);\n if (r2) {\n throw takeObject(r1);\n }\n return Outputs.__wrap(r0);\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n }\n}\n\n/**\n* Proves the program with the given inputs\n* @param {string} code_frontend\n* @param {string} inputs_frontend\n* @returns {Outputs}\n*/\nexport function prove_program(code_frontend, inputs_frontend) {\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n const ptr0 = passStringToWasm0(code_frontend, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n const len0 = WASM_VECTOR_LEN;\n const ptr1 = passStringToWasm0(inputs_frontend, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n const len1 = WASM_VECTOR_LEN;\n wasm.prove_program(retptr, ptr0, len0, ptr1, len1);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);\n if (r2) {\n throw takeObject(r1);\n }\n return Outputs.__wrap(r0);\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n }\n}\n\n/**\n* Verifies the proof with the given inputs\n* @param {string} code_frontend\n* @param {string} inputs_frontend\n* @param {string} outputs_frontend\n* @param {Uint8Array} proof\n* @returns {number}\n*/\nexport function verify_program(code_frontend, inputs_frontend, outputs_frontend, proof) {\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n const ptr0 = passStringToWasm0(code_frontend, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n const len0 = WASM_VECTOR_LEN;\n const ptr1 = passStringToWasm0(inputs_frontend, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n const len1 = WASM_VECTOR_LEN;\n const ptr2 = passStringToWasm0(outputs_frontend, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n const len2 = WASM_VECTOR_LEN;\n const ptr3 = passArray8ToWasm0(proof, wasm.__wbindgen_malloc);\n const len3 = WASM_VECTOR_LEN;\n wasm.verify_program(retptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);\n if (r2) {\n throw takeObject(r1);\n }\n return r0 >>> 0;\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n }\n}\n\n/**\n*/\nexport const DebugCommand = Object.freeze({ PlayAll:0,\"0\":\"PlayAll\",Play:1,\"1\":\"Play\",RewindAll:2,\"2\":\"RewindAll\",Rewind:3,\"3\":\"Rewind\",PrintState:4,\"4\":\"PrintState\", });\n\nconst DebugExecutorFinalization = (typeof FinalizationRegistry === 'undefined')\n ? { register: () => {}, unregister: () => {} }\n : new FinalizationRegistry(ptr => wasm.__wbg_debugexecutor_free(ptr >>> 0, 1));\n/**\n*/\nexport class DebugExecutor {\n\n __destroy_into_raw() {\n const ptr = this.__wbg_ptr;\n this.__wbg_ptr = 0;\n DebugExecutorFinalization.unregister(this);\n return ptr;\n }\n\n free() {\n const ptr = this.__destroy_into_raw();\n wasm.__wbg_debugexecutor_free(ptr, 0);\n }\n /**\n * Returns a new DebugExecutor for the specified program, inputs and advice provider.\n *\n * # Errors\n * Returns an error if the command cannot be parsed.\n * @param {string} code_frontend\n * @param {string} inputs_frontend\n */\n constructor(code_frontend, inputs_frontend) {\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n const ptr0 = passStringToWasm0(code_frontend, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n const len0 = WASM_VECTOR_LEN;\n const ptr1 = passStringToWasm0(inputs_frontend, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n const len1 = WASM_VECTOR_LEN;\n wasm.debugexecutor_new(retptr, ptr0, len0, ptr1, len1);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);\n if (r2) {\n throw takeObject(r1);\n }\n this.__wbg_ptr = r0 >>> 0;\n DebugExecutorFinalization.register(this, this.__wbg_ptr, this);\n return this;\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n }\n }\n /**\n * executes a debug command against the vm in it's current state.\n * @param {DebugCommand} command\n * @param {bigint | undefined} [param]\n * @returns {DebugOutput}\n */\n execute(command, param) {\n const ret = wasm.debugexecutor_execute(this.__wbg_ptr, command, !isLikeNone(param), isLikeNone(param) ? BigInt(0) : param);\n return DebugOutput.__wrap(ret);\n }\n}\n\nconst DebugOutputFinalization = (typeof FinalizationRegistry === 'undefined')\n ? { register: () => {}, unregister: () => {} }\n : new FinalizationRegistry(ptr => wasm.__wbg_debugoutput_free(ptr >>> 0, 1));\n/**\n*/\nexport class DebugOutput {\n\n static __wrap(ptr) {\n ptr = ptr >>> 0;\n const obj = Object.create(DebugOutput.prototype);\n obj.__wbg_ptr = ptr;\n DebugOutputFinalization.register(obj, obj.__wbg_ptr, obj);\n return obj;\n }\n\n __destroy_into_raw() {\n const ptr = this.__wbg_ptr;\n this.__wbg_ptr = 0;\n DebugOutputFinalization.unregister(this);\n return ptr;\n }\n\n free() {\n const ptr = this.__destroy_into_raw();\n wasm.__wbg_debugoutput_free(ptr, 0);\n }\n /**\n * @returns {number}\n */\n get clk() {\n const ret = wasm.__wbg_get_debugoutput_clk(this.__wbg_ptr);\n return ret >>> 0;\n }\n /**\n * @param {number} arg0\n */\n set clk(arg0) {\n wasm.__wbg_set_debugoutput_clk(this.__wbg_ptr, arg0);\n }\n /**\n * @returns {string | undefined}\n */\n get op() {\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n wasm.__wbg_get_debugoutput_op(retptr, this.__wbg_ptr);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n let v1;\n if (r0 !== 0) {\n v1 = getStringFromWasm0(r0, r1).slice();\n wasm.__wbindgen_free(r0, r1 * 1, 1);\n }\n return v1;\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n }\n }\n /**\n * @param {string | undefined} [arg0]\n */\n set op(arg0) {\n var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n wasm.__wbg_set_debugoutput_op(this.__wbg_ptr, ptr0, len0);\n }\n /**\n * @returns {string | undefined}\n */\n get instruction() {\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n wasm.__wbg_get_debugoutput_instruction(retptr, this.__wbg_ptr);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n let v1;\n if (r0 !== 0) {\n v1 = getStringFromWasm0(r0, r1).slice();\n wasm.__wbindgen_free(r0, r1 * 1, 1);\n }\n return v1;\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n }\n }\n /**\n * @param {string | undefined} [arg0]\n */\n set instruction(arg0) {\n var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n wasm.__wbg_set_debugoutput_instruction(this.__wbg_ptr, ptr0, len0);\n }\n /**\n * @returns {number | undefined}\n */\n get num_of_operations() {\n const ret = wasm.__wbg_get_debugoutput_num_of_operations(this.__wbg_ptr);\n return ret === 0xFFFFFF ? undefined : ret;\n }\n /**\n * @param {number | undefined} [arg0]\n */\n set num_of_operations(arg0) {\n wasm.__wbg_set_debugoutput_num_of_operations(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0);\n }\n /**\n * @returns {number | undefined}\n */\n get operation_index() {\n const ret = wasm.__wbg_get_debugoutput_operation_index(this.__wbg_ptr);\n return ret === 0xFFFFFF ? undefined : ret;\n }\n /**\n * @param {number | undefined} [arg0]\n */\n set operation_index(arg0) {\n wasm.__wbg_set_debugoutput_operation_index(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0);\n }\n /**\n * @returns {BigUint64Array}\n */\n get stack() {\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n wasm.__wbg_get_debugoutput_stack(retptr, this.__wbg_ptr);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n var v1 = getArrayU64FromWasm0(r0, r1).slice();\n wasm.__wbindgen_free(r0, r1 * 8, 8);\n return v1;\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n }\n }\n /**\n * @param {BigUint64Array} arg0\n */\n set stack(arg0) {\n const ptr0 = passArray64ToWasm0(arg0, wasm.__wbindgen_malloc);\n const len0 = WASM_VECTOR_LEN;\n wasm.__wbg_set_debugoutput_stack(this.__wbg_ptr, ptr0, len0);\n }\n /**\n * @returns {BigUint64Array}\n */\n get memory() {\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n wasm.__wbg_get_debugoutput_memory(retptr, this.__wbg_ptr);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n var v1 = getArrayU64FromWasm0(r0, r1).slice();\n wasm.__wbindgen_free(r0, r1 * 8, 8);\n return v1;\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n }\n }\n /**\n * @param {BigUint64Array} arg0\n */\n set memory(arg0) {\n const ptr0 = passArray64ToWasm0(arg0, wasm.__wbindgen_malloc);\n const len0 = WASM_VECTOR_LEN;\n wasm.__wbg_set_debugoutput_memory(this.__wbg_ptr, ptr0, len0);\n }\n}\n\nconst OutputsFinalization = (typeof FinalizationRegistry === 'undefined')\n ? { register: () => {}, unregister: () => {} }\n : new FinalizationRegistry(ptr => wasm.__wbg_outputs_free(ptr >>> 0, 1));\n/**\n*/\nexport class Outputs {\n\n static __wrap(ptr) {\n ptr = ptr >>> 0;\n const obj = Object.create(Outputs.prototype);\n obj.__wbg_ptr = ptr;\n OutputsFinalization.register(obj, obj.__wbg_ptr, obj);\n return obj;\n }\n\n __destroy_into_raw() {\n const ptr = this.__wbg_ptr;\n this.__wbg_ptr = 0;\n OutputsFinalization.unregister(this);\n return ptr;\n }\n\n free() {\n const ptr = this.__destroy_into_raw();\n wasm.__wbg_outputs_free(ptr, 0);\n }\n /**\n * @returns {string}\n */\n get program_hash() {\n let deferred1_0;\n let deferred1_1;\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n wasm.__wbg_get_outputs_program_hash(retptr, this.__wbg_ptr);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n deferred1_0 = r0;\n deferred1_1 = r1;\n return getStringFromWasm0(r0, r1);\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);\n }\n }\n /**\n * @param {string} arg0\n */\n set program_hash(arg0) {\n const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n const len0 = WASM_VECTOR_LEN;\n wasm.__wbg_set_outputs_program_hash(this.__wbg_ptr, ptr0, len0);\n }\n /**\n * @returns {BigUint64Array}\n */\n get stack_output() {\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n wasm.__wbg_get_outputs_stack_output(retptr, this.__wbg_ptr);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n var v1 = getArrayU64FromWasm0(r0, r1).slice();\n wasm.__wbindgen_free(r0, r1 * 8, 8);\n return v1;\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n }\n }\n /**\n * @param {BigUint64Array} arg0\n */\n set stack_output(arg0) {\n const ptr0 = passArray64ToWasm0(arg0, wasm.__wbindgen_malloc);\n const len0 = WASM_VECTOR_LEN;\n wasm.__wbg_set_outputs_stack_output(this.__wbg_ptr, ptr0, len0);\n }\n /**\n * @returns {number | undefined}\n */\n get cycles() {\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n wasm.__wbg_get_outputs_cycles(retptr, this.__wbg_ptr);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n return r0 === 0 ? undefined : r1 >>> 0;\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n }\n }\n /**\n * @param {number | undefined} [arg0]\n */\n set cycles(arg0) {\n wasm.__wbg_set_outputs_cycles(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? 0 : arg0);\n }\n /**\n * @returns {number | undefined}\n */\n get trace_len() {\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n wasm.__wbg_get_outputs_trace_len(retptr, this.__wbg_ptr);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n return r0 === 0 ? undefined : r1 >>> 0;\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n }\n }\n /**\n * @param {number | undefined} [arg0]\n */\n set trace_len(arg0) {\n wasm.__wbg_set_outputs_trace_len(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? 0 : arg0);\n }\n /**\n * @returns {BigUint64Array | undefined}\n */\n get overflow_addrs() {\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n wasm.__wbg_get_outputs_overflow_addrs(retptr, this.__wbg_ptr);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n let v1;\n if (r0 !== 0) {\n v1 = getArrayU64FromWasm0(r0, r1).slice();\n wasm.__wbindgen_free(r0, r1 * 8, 8);\n }\n return v1;\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n }\n }\n /**\n * @param {BigUint64Array | undefined} [arg0]\n */\n set overflow_addrs(arg0) {\n var ptr0 = isLikeNone(arg0) ? 0 : passArray64ToWasm0(arg0, wasm.__wbindgen_malloc);\n var len0 = WASM_VECTOR_LEN;\n wasm.__wbg_set_outputs_overflow_addrs(this.__wbg_ptr, ptr0, len0);\n }\n /**\n * @returns {Uint8Array | undefined}\n */\n get proof() {\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n wasm.__wbg_get_outputs_proof(retptr, this.__wbg_ptr);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n let v1;\n if (r0 !== 0) {\n v1 = getArrayU8FromWasm0(r0, r1).slice();\n wasm.__wbindgen_free(r0, r1 * 1, 1);\n }\n return v1;\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n }\n }\n /**\n * @param {Uint8Array | undefined} [arg0]\n */\n set proof(arg0) {\n var ptr0 = isLikeNone(arg0) ? 0 : passArray8ToWasm0(arg0, wasm.__wbindgen_malloc);\n var len0 = WASM_VECTOR_LEN;\n wasm.__wbg_set_outputs_proof(this.__wbg_ptr, ptr0, len0);\n }\n}\n\nasync function __wbg_load(module, imports) {\n if (typeof Response === 'function' && module instanceof Response) {\n if (typeof WebAssembly.instantiateStreaming === 'function') {\n try {\n return await WebAssembly.instantiateStreaming(module, imports);\n\n } catch (e) {\n if (module.headers.get('Content-Type') != 'application/wasm') {\n console.warn(\"`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\\n\", e);\n\n } else {\n throw e;\n }\n }\n }\n\n const bytes = await module.arrayBuffer();\n return await WebAssembly.instantiate(bytes, imports);\n\n } else {\n const instance = await WebAssembly.instantiate(module, imports);\n\n if (instance instanceof WebAssembly.Instance) {\n return { instance, module };\n\n } else {\n return instance;\n }\n }\n}\n\nfunction __wbg_get_imports() {\n const imports = {};\n imports.wbg = {};\n imports.wbg.__wbindgen_string_new = function(arg0, arg1) {\n const ret = getStringFromWasm0(arg0, arg1);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_throw = function(arg0, arg1) {\n throw new Error(getStringFromWasm0(arg0, arg1));\n };\n\n return imports;\n}\n\nfunction __wbg_init_memory(imports, memory) {\n\n}\n\nfunction __wbg_finalize_init(instance, module) {\n wasm = instance.exports;\n __wbg_init.__wbindgen_wasm_module = module;\n cachedBigUint64ArrayMemory0 = null;\n cachedDataViewMemory0 = null;\n cachedUint8ArrayMemory0 = null;\n\n\n\n return wasm;\n}\n\nfunction initSync(module) {\n if (wasm !== undefined) return wasm;\n\n\n if (typeof module !== 'undefined' && Object.getPrototypeOf(module) === Object.prototype)\n ({module} = module)\n else\n console.warn('using deprecated parameters for `initSync()`; pass a single object instead')\n\n const imports = __wbg_get_imports();\n\n __wbg_init_memory(imports);\n\n if (!(module instanceof WebAssembly.Module)) {\n module = new WebAssembly.Module(module);\n }\n\n const instance = new WebAssembly.Instance(module, imports);\n\n return __wbg_finalize_init(instance, module);\n}\n\nasync function __wbg_init(module_or_path) {\n if (wasm !== undefined) return wasm;\n\n\n if (typeof module_or_path !== 'undefined' && Object.getPrototypeOf(module_or_path) === Object.prototype)\n ({module_or_path} = module_or_path)\n else\n console.warn('using deprecated parameters for the initialization function; pass a single object instead')\n\n if (typeof module_or_path === 'undefined') {\n module_or_path = new URL('miden_wasm_bg.wasm', import.meta.url);\n }\n const imports = __wbg_get_imports();\n\n if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) {\n module_or_path = fetch(module_or_path);\n }\n\n __wbg_init_memory(imports);\n\n const { instance, module } = await __wbg_load(await module_or_path, imports);\n\n return __wbg_finalize_init(instance, module);\n}\n\nexport { initSync };\nexport default __wbg_init;\n","export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}","import init, { prove_program } from 'miden-wasm';\n\nonmessage = async function (e) {\n const { code, inputs } = e.data;\n\n try {\n await init();\n const {\n program_hash,\n cycles,\n stack_output,\n trace_len,\n overflow_addrs,\n proof\n } = prove_program(code, inputs);\n const overflow = overflow_addrs ? overflow_addrs.toString() : '[]';\n\n postMessage({\n success: true,\n result: {\n programInfo: {\n program_hash,\n cycles,\n trace_len\n },\n output: `{\n \"stack_output\" : [${stack_output.toString()}],\n \"overflow_addrs\" : [${overflow}],\n \"trace_len\" : ${trace_len}\n }`,\n proof,\n stackOutput: stack_output.toString()\n }\n });\n } catch (error) {\n const errorMessage = error instanceof Error ? error.message : String(error);\n postMessage({ success: false, error: errorMessage });\n }\n};\n"],"names":["__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","m","o","obj","prop","Object","prototype","hasOwnProperty","call","p","b","self","location","_typeof","Symbol","iterator","constructor","_regeneratorRuntime","Op","hasOwn","defineProperty","key","desc","value","$Symbol","iteratorSymbol","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","enumerable","configurable","writable","err","wrap","innerFn","outerFn","tryLocsList","protoGenerator","Generator","generator","create","context","Context","makeInvokeMethod","tryCatch","fn","arg","type","ContinueSentinel","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","this","getProto","getPrototypeOf","NativeIteratorPrototype","values","Gp","defineIteratorMethods","forEach","method","_invoke","AsyncIterator","PromiseImpl","invoke","resolve","reject","record","result","__await","then","unwrapped","error","previousPromise","callInvokeWithMethodAndArg","state","Error","doneResult","delegate","delegateResult","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","done","methodName","TypeError","info","resultName","next","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","length","i","displayName","isGeneratorFunction","genFun","ctor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","iter","keys","val","object","reverse","pop","skipTempReset","prev","charAt","slice","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","thrown","delegateYield","asyncGeneratorStep","gen","_next","_throw","_asyncToGenerator","args","arguments","apply","_toPropertyKey","input","hint","prim","toPrimitive","res","String","Number","_defineProperties","target","props","descriptor","wasm","cachedTextDecoder","TextDecoder","ignoreBOM","fatal","decode","cachedUint8ArrayMemory0","getUint8ArrayMemory0","byteLength","Uint8Array","memory","buffer","getStringFromWasm0","ptr","len","subarray","heap","Array","fill","heap_next","cachedDataViewMemory0","getDataViewMemory0","detached","DataView","WASM_VECTOR_LEN","cachedTextEncoder","TextEncoder","encode","encodeString","encodeInto","view","buf","set","read","written","passStringToWasm0","malloc","realloc","mem","offset","code","charCodeAt","isLikeNone","x","cachedBigUint64ArrayMemory0","getBigUint64ArrayMemory0","BigUint64Array","getArrayU64FromWasm0","passArray64ToWasm0","takeObject","idx","ret","getObject","dropObject","passArray8ToWasm0","prove_program","code_frontend","inputs_frontend","retptr","__wbindgen_add_to_stack_pointer","ptr0","__wbindgen_malloc","__wbindgen_realloc","len0","ptr1","len1","r0","getInt32","r1","Outputs","__wrap","freeze","PlayAll","Play","RewindAll","Rewind","PrintState","FinalizationRegistry","__wbg_debugexecutor_free","__wbg_debugoutput_free","OutputsFinalization","register","unregister","__wbg_outputs_free","instance","Constructor","_classCallCheck","protoProps","staticProps","__wbg_ptr","__destroy_into_raw","get","deferred1_0","deferred1_1","__wbg_get_outputs_program_hash","__wbindgen_free","arg0","__wbg_set_outputs_program_hash","__wbg_get_outputs_stack_output","v1","__wbg_set_outputs_stack_output","__wbg_get_outputs_cycles","__wbg_set_outputs_cycles","__wbg_get_outputs_trace_len","__wbg_set_outputs_trace_len","__wbg_get_outputs_overflow_addrs","__wbg_set_outputs_overflow_addrs","__wbg_get_outputs_proof","__wbg_set_outputs_proof","__wbg_load","_x","_x2","_wbg_load","_callee","imports","bytes","_context","Response","WebAssembly","instantiateStreaming","t0","headers","console","warn","arrayBuffer","instantiate","Instance","__wbg_get_imports","wbg","__wbindgen_string_new","arg1","addHeapObject","__wbindgen_throw","__wbg_finalize_init","__wbg_init","__wbindgen_wasm_module","_x3","_wbg_init","_callee2","module_or_path","_yield$__wbg_load","_context2","URL","Request","fetch","t1","t2","onmessage","_ref","e","_e$data","inputs","_prove_program","program_hash","cycles","stack_output","trace_len","overflow_addrs","proof","overflow","errorMessage","data","init","toString","postMessage","success","programInfo","output","concat","stackOutput","message"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/723.7c694dea.chunk.js","mappings":";2HACIA,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaE,QAGrB,IAAIC,EAASN,EAAyBE,GAAY,CAGjDG,QAAS,CAAC,GAOX,OAHAE,EAAoBL,GAAUI,EAAQA,EAAOD,QAASJ,GAG/CK,EAAOD,OACf,CAGAJ,EAAoBO,EAAID,ECzBxBN,EAAoBQ,EAAI,SAASC,EAAKC,GAAQ,OAAOC,OAAOC,UAAUC,eAAeC,KAAKL,EAAKC,EAAO,ECAtGV,EAAoBe,EAAI,aCAxBf,EAAoBgB,EAAIC,KAAKC,SAAW,wBCAzB,SAASC,EAAQV,GAG9B,OAAOU,EAAU,mBAAqBC,QAAU,iBAAmBA,OAAOC,SAAW,SAAUZ,GAC7F,cAAcA,CAChB,EAAI,SAAUA,GACZ,OAAOA,GAAO,mBAAqBW,QAAUX,EAAIa,cAAgBF,QAAUX,IAAQW,OAAOR,UAAY,gBAAkBH,CAC1H,EAAGU,EAAQV,EACb,CCPe,SAASc,IAEtBA,EAAsB,WACpB,OAAOnB,CACT,EACA,IAAIA,EAAU,CAA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/importScripts chunk loading","../node_modules/@babel/runtime/helpers/esm/typeof.js","../node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js","../node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","../node_modules/@babel/runtime/helpers/esm/createClass.js","../miden-wasm/pkg/miden_wasm.js","../node_modules/@babel/runtime/helpers/esm/classCallCheck.js","pages/proveWorker.js"],"sourcesContent":["// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","__webpack_require__.p = \"/examples/\";","__webpack_require__.b = self.location + \"/../../../\";\n\n// object to store loaded chunks\n// \"1\" means \"already loaded\"\nvar installedChunks = {\n\t723: 1\n};\n\n// no chunk install function needed\n// no chunk loading\n\n// no HMR\n\n// no HMR manifest","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}","import _typeof from \"./typeof.js\";\nexport default function _regeneratorRuntime() {\n \"use strict\"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */\n _regeneratorRuntime = function _regeneratorRuntime() {\n return exports;\n };\n var exports = {},\n Op = Object.prototype,\n hasOwn = Op.hasOwnProperty,\n defineProperty = Object.defineProperty || function (obj, key, desc) {\n obj[key] = desc.value;\n },\n $Symbol = \"function\" == typeof Symbol ? Symbol : {},\n iteratorSymbol = $Symbol.iterator || \"@@iterator\",\n asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\",\n toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n function define(obj, key, value) {\n return Object.defineProperty(obj, key, {\n value: value,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }), obj[key];\n }\n try {\n define({}, \"\");\n } catch (err) {\n define = function define(obj, key, value) {\n return obj[key] = value;\n };\n }\n function wrap(innerFn, outerFn, self, tryLocsList) {\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,\n generator = Object.create(protoGenerator.prototype),\n context = new Context(tryLocsList || []);\n return defineProperty(generator, \"_invoke\", {\n value: makeInvokeMethod(innerFn, self, context)\n }), generator;\n }\n function tryCatch(fn, obj, arg) {\n try {\n return {\n type: \"normal\",\n arg: fn.call(obj, arg)\n };\n } catch (err) {\n return {\n type: \"throw\",\n arg: err\n };\n }\n }\n exports.wrap = wrap;\n var ContinueSentinel = {};\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n var getProto = Object.getPrototypeOf,\n NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);\n var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function (method) {\n define(prototype, method, function (arg) {\n return this._invoke(method, arg);\n });\n });\n }\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (\"throw\" !== record.type) {\n var result = record.arg,\n value = result.value;\n return value && \"object\" == _typeof(value) && hasOwn.call(value, \"__await\") ? PromiseImpl.resolve(value.__await).then(function (value) {\n invoke(\"next\", value, resolve, reject);\n }, function (err) {\n invoke(\"throw\", err, resolve, reject);\n }) : PromiseImpl.resolve(value).then(function (unwrapped) {\n result.value = unwrapped, resolve(result);\n }, function (error) {\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n reject(record.arg);\n }\n var previousPromise;\n defineProperty(this, \"_invoke\", {\n value: function value(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function (resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();\n }\n });\n }\n function makeInvokeMethod(innerFn, self, context) {\n var state = \"suspendedStart\";\n return function (method, arg) {\n if (\"executing\" === state) throw new Error(\"Generator is already running\");\n if (\"completed\" === state) {\n if (\"throw\" === method) throw arg;\n return doneResult();\n }\n for (context.method = method, context.arg = arg;;) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n if (\"next\" === context.method) context.sent = context._sent = context.arg;else if (\"throw\" === context.method) {\n if (\"suspendedStart\" === state) throw state = \"completed\", context.arg;\n context.dispatchException(context.arg);\n } else \"return\" === context.method && context.abrupt(\"return\", context.arg);\n state = \"executing\";\n var record = tryCatch(innerFn, self, context);\n if (\"normal\" === record.type) {\n if (state = context.done ? \"completed\" : \"suspendedYield\", record.arg === ContinueSentinel) continue;\n return {\n value: record.arg,\n done: context.done\n };\n }\n \"throw\" === record.type && (state = \"completed\", context.method = \"throw\", context.arg = record.arg);\n }\n };\n }\n function maybeInvokeDelegate(delegate, context) {\n var methodName = context.method,\n method = delegate.iterator[methodName];\n if (undefined === method) return context.delegate = null, \"throw\" === methodName && delegate.iterator[\"return\"] && (context.method = \"return\", context.arg = undefined, maybeInvokeDelegate(delegate, context), \"throw\" === context.method) || \"return\" !== methodName && (context.method = \"throw\", context.arg = new TypeError(\"The iterator does not provide a '\" + methodName + \"' method\")), ContinueSentinel;\n var record = tryCatch(method, delegate.iterator, context.arg);\n if (\"throw\" === record.type) return context.method = \"throw\", context.arg = record.arg, context.delegate = null, ContinueSentinel;\n var info = record.arg;\n return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, \"return\" !== context.method && (context.method = \"next\", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = \"throw\", context.arg = new TypeError(\"iterator result is not an object\"), context.delegate = null, ContinueSentinel);\n }\n function pushTryEntry(locs) {\n var entry = {\n tryLoc: locs[0]\n };\n 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);\n }\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\", delete record.arg, entry.completion = record;\n }\n function Context(tryLocsList) {\n this.tryEntries = [{\n tryLoc: \"root\"\n }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);\n }\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) return iteratorMethod.call(iterable);\n if (\"function\" == typeof iterable.next) return iterable;\n if (!isNaN(iterable.length)) {\n var i = -1,\n next = function next() {\n for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;\n return next.value = undefined, next.done = !0, next;\n };\n return next.next = next;\n }\n }\n return {\n next: doneResult\n };\n }\n function doneResult() {\n return {\n value: undefined,\n done: !0\n };\n }\n return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, \"constructor\", {\n value: GeneratorFunctionPrototype,\n configurable: !0\n }), defineProperty(GeneratorFunctionPrototype, \"constructor\", {\n value: GeneratorFunction,\n configurable: !0\n }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, \"GeneratorFunction\"), exports.isGeneratorFunction = function (genFun) {\n var ctor = \"function\" == typeof genFun && genFun.constructor;\n return !!ctor && (ctor === GeneratorFunction || \"GeneratorFunction\" === (ctor.displayName || ctor.name));\n }, exports.mark = function (genFun) {\n return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, \"GeneratorFunction\")), genFun.prototype = Object.create(Gp), genFun;\n }, exports.awrap = function (arg) {\n return {\n __await: arg\n };\n }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n void 0 === PromiseImpl && (PromiseImpl = Promise);\n var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);\n return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {\n return result.done ? result.value : iter.next();\n });\n }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, \"Generator\"), define(Gp, iteratorSymbol, function () {\n return this;\n }), define(Gp, \"toString\", function () {\n return \"[object Generator]\";\n }), exports.keys = function (val) {\n var object = Object(val),\n keys = [];\n for (var key in object) keys.push(key);\n return keys.reverse(), function next() {\n for (; keys.length;) {\n var key = keys.pop();\n if (key in object) return next.value = key, next.done = !1, next;\n }\n return next.done = !0, next;\n };\n }, exports.values = values, Context.prototype = {\n constructor: Context,\n reset: function reset(skipTempReset) {\n if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = \"next\", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) \"t\" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);\n },\n stop: function stop() {\n this.done = !0;\n var rootRecord = this.tryEntries[0].completion;\n if (\"throw\" === rootRecord.type) throw rootRecord.arg;\n return this.rval;\n },\n dispatchException: function dispatchException(exception) {\n if (this.done) throw exception;\n var context = this;\n function handle(loc, caught) {\n return record.type = \"throw\", record.arg = exception, context.next = loc, caught && (context.method = \"next\", context.arg = undefined), !!caught;\n }\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i],\n record = entry.completion;\n if (\"root\" === entry.tryLoc) return handle(\"end\");\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\"),\n hasFinally = hasOwn.call(entry, \"finallyLoc\");\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);\n if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);\n } else {\n if (!hasFinally) throw new Error(\"try statement without catch or finally\");\n if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);\n }\n }\n }\n },\n abrupt: function abrupt(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev && hasOwn.call(entry, \"finallyLoc\") && this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n finallyEntry && (\"break\" === type || \"continue\" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);\n var record = finallyEntry ? finallyEntry.completion : {};\n return record.type = type, record.arg = arg, finallyEntry ? (this.method = \"next\", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);\n },\n complete: function complete(record, afterLoc) {\n if (\"throw\" === record.type) throw record.arg;\n return \"break\" === record.type || \"continue\" === record.type ? this.next = record.arg : \"return\" === record.type ? (this.rval = this.arg = record.arg, this.method = \"return\", this.next = \"end\") : \"normal\" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;\n },\n finish: function finish(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;\n }\n },\n \"catch\": function _catch(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (\"throw\" === record.type) {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n throw new Error(\"illegal catch attempt\");\n },\n delegateYield: function delegateYield(iterable, resultName, nextLoc) {\n return this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n }, \"next\" === this.method && (this.arg = undefined), ContinueSentinel;\n }\n }, exports;\n}","function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n _next(undefined);\n });\n };\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function _toPropertyKey(arg) {\n var key = toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}","import _typeof from \"./typeof.js\";\nexport default function _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}","import toPropertyKey from \"./toPropertyKey.js\";\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);\n }\n}\nexport default function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n}","let wasm;\n\nconst cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );\n\nif (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };\n\nlet cachedUint8ArrayMemory0 = null;\n\nfunction getUint8ArrayMemory0() {\n if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {\n cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);\n }\n return cachedUint8ArrayMemory0;\n}\n\nfunction getStringFromWasm0(ptr, len) {\n ptr = ptr >>> 0;\n return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));\n}\n\nconst heap = new Array(128).fill(undefined);\n\nheap.push(undefined, null, true, false);\n\nlet heap_next = heap.length;\n\nfunction addHeapObject(obj) {\n if (heap_next === heap.length) heap.push(heap.length + 1);\n const idx = heap_next;\n heap_next = heap[idx];\n\n heap[idx] = obj;\n return idx;\n}\n\nlet cachedDataViewMemory0 = null;\n\nfunction getDataViewMemory0() {\n if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {\n cachedDataViewMemory0 = new DataView(wasm.memory.buffer);\n }\n return cachedDataViewMemory0;\n}\n\nlet WASM_VECTOR_LEN = 0;\n\nconst cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );\n\nconst encodeString = (typeof cachedTextEncoder.encodeInto === 'function'\n ? function (arg, view) {\n return cachedTextEncoder.encodeInto(arg, view);\n}\n : function (arg, view) {\n const buf = cachedTextEncoder.encode(arg);\n view.set(buf);\n return {\n read: arg.length,\n written: buf.length\n };\n});\n\nfunction passStringToWasm0(arg, malloc, realloc) {\n\n if (realloc === undefined) {\n const buf = cachedTextEncoder.encode(arg);\n const ptr = malloc(buf.length, 1) >>> 0;\n getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);\n WASM_VECTOR_LEN = buf.length;\n return ptr;\n }\n\n let len = arg.length;\n let ptr = malloc(len, 1) >>> 0;\n\n const mem = getUint8ArrayMemory0();\n\n let offset = 0;\n\n for (; offset < len; offset++) {\n const code = arg.charCodeAt(offset);\n if (code > 0x7F) break;\n mem[ptr + offset] = code;\n }\n\n if (offset !== len) {\n if (offset !== 0) {\n arg = arg.slice(offset);\n }\n ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;\n const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);\n const ret = encodeString(arg, view);\n\n offset += ret.written;\n ptr = realloc(ptr, len, offset, 1) >>> 0;\n }\n\n WASM_VECTOR_LEN = offset;\n return ptr;\n}\n\nfunction isLikeNone(x) {\n return x === undefined || x === null;\n}\n\nlet cachedBigUint64ArrayMemory0 = null;\n\nfunction getBigUint64ArrayMemory0() {\n if (cachedBigUint64ArrayMemory0 === null || cachedBigUint64ArrayMemory0.byteLength === 0) {\n cachedBigUint64ArrayMemory0 = new BigUint64Array(wasm.memory.buffer);\n }\n return cachedBigUint64ArrayMemory0;\n}\n\nfunction getArrayU64FromWasm0(ptr, len) {\n ptr = ptr >>> 0;\n return getBigUint64ArrayMemory0().subarray(ptr / 8, ptr / 8 + len);\n}\n\nfunction passArray64ToWasm0(arg, malloc) {\n const ptr = malloc(arg.length * 8, 8) >>> 0;\n getBigUint64ArrayMemory0().set(arg, ptr / 8);\n WASM_VECTOR_LEN = arg.length;\n return ptr;\n}\n\nfunction getObject(idx) { return heap[idx]; }\n\nfunction dropObject(idx) {\n if (idx < 132) return;\n heap[idx] = heap_next;\n heap_next = idx;\n}\n\nfunction takeObject(idx) {\n const ret = getObject(idx);\n dropObject(idx);\n return ret;\n}\n\nfunction getArrayU8FromWasm0(ptr, len) {\n ptr = ptr >>> 0;\n return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);\n}\n\nfunction passArray8ToWasm0(arg, malloc) {\n const ptr = malloc(arg.length * 1, 1) >>> 0;\n getUint8ArrayMemory0().set(arg, ptr / 1);\n WASM_VECTOR_LEN = arg.length;\n return ptr;\n}\n/**\n* Runs the Miden VM with the given inputs\n* @param {string} code_frontend\n* @param {string} inputs_frontend\n* @returns {Outputs}\n*/\nexport function run_program(code_frontend, inputs_frontend) {\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n const ptr0 = passStringToWasm0(code_frontend, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n const len0 = WASM_VECTOR_LEN;\n const ptr1 = passStringToWasm0(inputs_frontend, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n const len1 = WASM_VECTOR_LEN;\n wasm.run_program(retptr, ptr0, len0, ptr1, len1);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);\n if (r2) {\n throw takeObject(r1);\n }\n return Outputs.__wrap(r0);\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n }\n}\n\n/**\n* Proves the program with the given inputs\n* @param {string} code_frontend\n* @param {string} inputs_frontend\n* @returns {Outputs}\n*/\nexport function prove_program(code_frontend, inputs_frontend) {\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n const ptr0 = passStringToWasm0(code_frontend, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n const len0 = WASM_VECTOR_LEN;\n const ptr1 = passStringToWasm0(inputs_frontend, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n const len1 = WASM_VECTOR_LEN;\n wasm.prove_program(retptr, ptr0, len0, ptr1, len1);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);\n if (r2) {\n throw takeObject(r1);\n }\n return Outputs.__wrap(r0);\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n }\n}\n\n/**\n* Verifies the proof with the given inputs\n* @param {string} code_frontend\n* @param {string} inputs_frontend\n* @param {string} outputs_frontend\n* @param {Uint8Array} proof\n* @returns {number}\n*/\nexport function verify_program(code_frontend, inputs_frontend, outputs_frontend, proof) {\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n const ptr0 = passStringToWasm0(code_frontend, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n const len0 = WASM_VECTOR_LEN;\n const ptr1 = passStringToWasm0(inputs_frontend, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n const len1 = WASM_VECTOR_LEN;\n const ptr2 = passStringToWasm0(outputs_frontend, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n const len2 = WASM_VECTOR_LEN;\n const ptr3 = passArray8ToWasm0(proof, wasm.__wbindgen_malloc);\n const len3 = WASM_VECTOR_LEN;\n wasm.verify_program(retptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);\n if (r2) {\n throw takeObject(r1);\n }\n return r0 >>> 0;\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n }\n}\n\n/**\n*/\nexport const DebugCommand = Object.freeze({ PlayAll:0,\"0\":\"PlayAll\",Play:1,\"1\":\"Play\",RewindAll:2,\"2\":\"RewindAll\",Rewind:3,\"3\":\"Rewind\",PrintState:4,\"4\":\"PrintState\", });\n\nconst DebugExecutorFinalization = (typeof FinalizationRegistry === 'undefined')\n ? { register: () => {}, unregister: () => {} }\n : new FinalizationRegistry(ptr => wasm.__wbg_debugexecutor_free(ptr >>> 0, 1));\n/**\n*/\nexport class DebugExecutor {\n\n __destroy_into_raw() {\n const ptr = this.__wbg_ptr;\n this.__wbg_ptr = 0;\n DebugExecutorFinalization.unregister(this);\n return ptr;\n }\n\n free() {\n const ptr = this.__destroy_into_raw();\n wasm.__wbg_debugexecutor_free(ptr, 0);\n }\n /**\n * Returns a new DebugExecutor for the specified program, inputs and advice provider.\n *\n * # Errors\n * Returns an error if the command cannot be parsed.\n * @param {string} code_frontend\n * @param {string} inputs_frontend\n */\n constructor(code_frontend, inputs_frontend) {\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n const ptr0 = passStringToWasm0(code_frontend, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n const len0 = WASM_VECTOR_LEN;\n const ptr1 = passStringToWasm0(inputs_frontend, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n const len1 = WASM_VECTOR_LEN;\n wasm.debugexecutor_new(retptr, ptr0, len0, ptr1, len1);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);\n if (r2) {\n throw takeObject(r1);\n }\n this.__wbg_ptr = r0 >>> 0;\n DebugExecutorFinalization.register(this, this.__wbg_ptr, this);\n return this;\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n }\n }\n /**\n * executes a debug command against the vm in it's current state.\n * @param {DebugCommand} command\n * @param {bigint | undefined} [param]\n * @returns {DebugOutput}\n */\n execute(command, param) {\n const ret = wasm.debugexecutor_execute(this.__wbg_ptr, command, !isLikeNone(param), isLikeNone(param) ? BigInt(0) : param);\n return DebugOutput.__wrap(ret);\n }\n}\n\nconst DebugOutputFinalization = (typeof FinalizationRegistry === 'undefined')\n ? { register: () => {}, unregister: () => {} }\n : new FinalizationRegistry(ptr => wasm.__wbg_debugoutput_free(ptr >>> 0, 1));\n/**\n*/\nexport class DebugOutput {\n\n static __wrap(ptr) {\n ptr = ptr >>> 0;\n const obj = Object.create(DebugOutput.prototype);\n obj.__wbg_ptr = ptr;\n DebugOutputFinalization.register(obj, obj.__wbg_ptr, obj);\n return obj;\n }\n\n __destroy_into_raw() {\n const ptr = this.__wbg_ptr;\n this.__wbg_ptr = 0;\n DebugOutputFinalization.unregister(this);\n return ptr;\n }\n\n free() {\n const ptr = this.__destroy_into_raw();\n wasm.__wbg_debugoutput_free(ptr, 0);\n }\n /**\n * @returns {number}\n */\n get clk() {\n const ret = wasm.__wbg_get_debugoutput_clk(this.__wbg_ptr);\n return ret >>> 0;\n }\n /**\n * @param {number} arg0\n */\n set clk(arg0) {\n wasm.__wbg_set_debugoutput_clk(this.__wbg_ptr, arg0);\n }\n /**\n * @returns {string | undefined}\n */\n get op() {\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n wasm.__wbg_get_debugoutput_op(retptr, this.__wbg_ptr);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n let v1;\n if (r0 !== 0) {\n v1 = getStringFromWasm0(r0, r1).slice();\n wasm.__wbindgen_free(r0, r1 * 1, 1);\n }\n return v1;\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n }\n }\n /**\n * @param {string | undefined} [arg0]\n */\n set op(arg0) {\n var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n wasm.__wbg_set_debugoutput_op(this.__wbg_ptr, ptr0, len0);\n }\n /**\n * @returns {string | undefined}\n */\n get instruction() {\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n wasm.__wbg_get_debugoutput_instruction(retptr, this.__wbg_ptr);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n let v1;\n if (r0 !== 0) {\n v1 = getStringFromWasm0(r0, r1).slice();\n wasm.__wbindgen_free(r0, r1 * 1, 1);\n }\n return v1;\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n }\n }\n /**\n * @param {string | undefined} [arg0]\n */\n set instruction(arg0) {\n var ptr0 = isLikeNone(arg0) ? 0 : passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n var len0 = WASM_VECTOR_LEN;\n wasm.__wbg_set_debugoutput_instruction(this.__wbg_ptr, ptr0, len0);\n }\n /**\n * @returns {number | undefined}\n */\n get num_of_operations() {\n const ret = wasm.__wbg_get_debugoutput_num_of_operations(this.__wbg_ptr);\n return ret === 0xFFFFFF ? undefined : ret;\n }\n /**\n * @param {number | undefined} [arg0]\n */\n set num_of_operations(arg0) {\n wasm.__wbg_set_debugoutput_num_of_operations(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0);\n }\n /**\n * @returns {number | undefined}\n */\n get operation_index() {\n const ret = wasm.__wbg_get_debugoutput_operation_index(this.__wbg_ptr);\n return ret === 0xFFFFFF ? undefined : ret;\n }\n /**\n * @param {number | undefined} [arg0]\n */\n set operation_index(arg0) {\n wasm.__wbg_set_debugoutput_operation_index(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0);\n }\n /**\n * @returns {BigUint64Array}\n */\n get stack() {\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n wasm.__wbg_get_debugoutput_stack(retptr, this.__wbg_ptr);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n var v1 = getArrayU64FromWasm0(r0, r1).slice();\n wasm.__wbindgen_free(r0, r1 * 8, 8);\n return v1;\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n }\n }\n /**\n * @param {BigUint64Array} arg0\n */\n set stack(arg0) {\n const ptr0 = passArray64ToWasm0(arg0, wasm.__wbindgen_malloc);\n const len0 = WASM_VECTOR_LEN;\n wasm.__wbg_set_debugoutput_stack(this.__wbg_ptr, ptr0, len0);\n }\n /**\n * @returns {BigUint64Array}\n */\n get memory() {\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n wasm.__wbg_get_debugoutput_memory(retptr, this.__wbg_ptr);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n var v1 = getArrayU64FromWasm0(r0, r1).slice();\n wasm.__wbindgen_free(r0, r1 * 8, 8);\n return v1;\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n }\n }\n /**\n * @param {BigUint64Array} arg0\n */\n set memory(arg0) {\n const ptr0 = passArray64ToWasm0(arg0, wasm.__wbindgen_malloc);\n const len0 = WASM_VECTOR_LEN;\n wasm.__wbg_set_debugoutput_memory(this.__wbg_ptr, ptr0, len0);\n }\n}\n\nconst OutputsFinalization = (typeof FinalizationRegistry === 'undefined')\n ? { register: () => {}, unregister: () => {} }\n : new FinalizationRegistry(ptr => wasm.__wbg_outputs_free(ptr >>> 0, 1));\n/**\n*/\nexport class Outputs {\n\n static __wrap(ptr) {\n ptr = ptr >>> 0;\n const obj = Object.create(Outputs.prototype);\n obj.__wbg_ptr = ptr;\n OutputsFinalization.register(obj, obj.__wbg_ptr, obj);\n return obj;\n }\n\n __destroy_into_raw() {\n const ptr = this.__wbg_ptr;\n this.__wbg_ptr = 0;\n OutputsFinalization.unregister(this);\n return ptr;\n }\n\n free() {\n const ptr = this.__destroy_into_raw();\n wasm.__wbg_outputs_free(ptr, 0);\n }\n /**\n * @returns {string}\n */\n get program_hash() {\n let deferred1_0;\n let deferred1_1;\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n wasm.__wbg_get_outputs_program_hash(retptr, this.__wbg_ptr);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n deferred1_0 = r0;\n deferred1_1 = r1;\n return getStringFromWasm0(r0, r1);\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);\n }\n }\n /**\n * @param {string} arg0\n */\n set program_hash(arg0) {\n const ptr0 = passStringToWasm0(arg0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);\n const len0 = WASM_VECTOR_LEN;\n wasm.__wbg_set_outputs_program_hash(this.__wbg_ptr, ptr0, len0);\n }\n /**\n * @returns {BigUint64Array}\n */\n get stack_output() {\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n wasm.__wbg_get_outputs_stack_output(retptr, this.__wbg_ptr);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n var v1 = getArrayU64FromWasm0(r0, r1).slice();\n wasm.__wbindgen_free(r0, r1 * 8, 8);\n return v1;\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n }\n }\n /**\n * @param {BigUint64Array} arg0\n */\n set stack_output(arg0) {\n const ptr0 = passArray64ToWasm0(arg0, wasm.__wbindgen_malloc);\n const len0 = WASM_VECTOR_LEN;\n wasm.__wbg_set_outputs_stack_output(this.__wbg_ptr, ptr0, len0);\n }\n /**\n * @returns {number | undefined}\n */\n get cycles() {\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n wasm.__wbg_get_outputs_cycles(retptr, this.__wbg_ptr);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n return r0 === 0 ? undefined : r1 >>> 0;\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n }\n }\n /**\n * @param {number | undefined} [arg0]\n */\n set cycles(arg0) {\n wasm.__wbg_set_outputs_cycles(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? 0 : arg0);\n }\n /**\n * @returns {number | undefined}\n */\n get trace_len() {\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n wasm.__wbg_get_outputs_trace_len(retptr, this.__wbg_ptr);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n return r0 === 0 ? undefined : r1 >>> 0;\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n }\n }\n /**\n * @param {number | undefined} [arg0]\n */\n set trace_len(arg0) {\n wasm.__wbg_set_outputs_trace_len(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? 0 : arg0);\n }\n /**\n * @returns {BigUint64Array | undefined}\n */\n get overflow_addrs() {\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n wasm.__wbg_get_outputs_overflow_addrs(retptr, this.__wbg_ptr);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n let v1;\n if (r0 !== 0) {\n v1 = getArrayU64FromWasm0(r0, r1).slice();\n wasm.__wbindgen_free(r0, r1 * 8, 8);\n }\n return v1;\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n }\n }\n /**\n * @param {BigUint64Array | undefined} [arg0]\n */\n set overflow_addrs(arg0) {\n var ptr0 = isLikeNone(arg0) ? 0 : passArray64ToWasm0(arg0, wasm.__wbindgen_malloc);\n var len0 = WASM_VECTOR_LEN;\n wasm.__wbg_set_outputs_overflow_addrs(this.__wbg_ptr, ptr0, len0);\n }\n /**\n * @returns {Uint8Array | undefined}\n */\n get proof() {\n try {\n const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);\n wasm.__wbg_get_outputs_proof(retptr, this.__wbg_ptr);\n var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);\n var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);\n let v1;\n if (r0 !== 0) {\n v1 = getArrayU8FromWasm0(r0, r1).slice();\n wasm.__wbindgen_free(r0, r1 * 1, 1);\n }\n return v1;\n } finally {\n wasm.__wbindgen_add_to_stack_pointer(16);\n }\n }\n /**\n * @param {Uint8Array | undefined} [arg0]\n */\n set proof(arg0) {\n var ptr0 = isLikeNone(arg0) ? 0 : passArray8ToWasm0(arg0, wasm.__wbindgen_malloc);\n var len0 = WASM_VECTOR_LEN;\n wasm.__wbg_set_outputs_proof(this.__wbg_ptr, ptr0, len0);\n }\n}\n\nasync function __wbg_load(module, imports) {\n if (typeof Response === 'function' && module instanceof Response) {\n if (typeof WebAssembly.instantiateStreaming === 'function') {\n try {\n return await WebAssembly.instantiateStreaming(module, imports);\n\n } catch (e) {\n if (module.headers.get('Content-Type') != 'application/wasm') {\n console.warn(\"`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\\n\", e);\n\n } else {\n throw e;\n }\n }\n }\n\n const bytes = await module.arrayBuffer();\n return await WebAssembly.instantiate(bytes, imports);\n\n } else {\n const instance = await WebAssembly.instantiate(module, imports);\n\n if (instance instanceof WebAssembly.Instance) {\n return { instance, module };\n\n } else {\n return instance;\n }\n }\n}\n\nfunction __wbg_get_imports() {\n const imports = {};\n imports.wbg = {};\n imports.wbg.__wbindgen_string_new = function(arg0, arg1) {\n const ret = getStringFromWasm0(arg0, arg1);\n return addHeapObject(ret);\n };\n imports.wbg.__wbindgen_throw = function(arg0, arg1) {\n throw new Error(getStringFromWasm0(arg0, arg1));\n };\n\n return imports;\n}\n\nfunction __wbg_init_memory(imports, memory) {\n\n}\n\nfunction __wbg_finalize_init(instance, module) {\n wasm = instance.exports;\n __wbg_init.__wbindgen_wasm_module = module;\n cachedBigUint64ArrayMemory0 = null;\n cachedDataViewMemory0 = null;\n cachedUint8ArrayMemory0 = null;\n\n\n\n return wasm;\n}\n\nfunction initSync(module) {\n if (wasm !== undefined) return wasm;\n\n\n if (typeof module !== 'undefined' && Object.getPrototypeOf(module) === Object.prototype)\n ({module} = module)\n else\n console.warn('using deprecated parameters for `initSync()`; pass a single object instead')\n\n const imports = __wbg_get_imports();\n\n __wbg_init_memory(imports);\n\n if (!(module instanceof WebAssembly.Module)) {\n module = new WebAssembly.Module(module);\n }\n\n const instance = new WebAssembly.Instance(module, imports);\n\n return __wbg_finalize_init(instance, module);\n}\n\nasync function __wbg_init(module_or_path) {\n if (wasm !== undefined) return wasm;\n\n\n if (typeof module_or_path !== 'undefined' && Object.getPrototypeOf(module_or_path) === Object.prototype)\n ({module_or_path} = module_or_path)\n else\n console.warn('using deprecated parameters for the initialization function; pass a single object instead')\n\n if (typeof module_or_path === 'undefined') {\n module_or_path = new URL('miden_wasm_bg.wasm', import.meta.url);\n }\n const imports = __wbg_get_imports();\n\n if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) {\n module_or_path = fetch(module_or_path);\n }\n\n __wbg_init_memory(imports);\n\n const { instance, module } = await __wbg_load(await module_or_path, imports);\n\n return __wbg_finalize_init(instance, module);\n}\n\nexport { initSync };\nexport default __wbg_init;\n","export default function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}","import init, { prove_program } from 'miden-wasm';\n\nonmessage = async function (e) {\n const { code, inputs } = e.data;\n\n try {\n await init();\n const {\n program_hash,\n cycles,\n stack_output,\n trace_len,\n overflow_addrs,\n proof\n } = prove_program(code, inputs);\n const overflow = overflow_addrs ? overflow_addrs.toString() : '[]';\n\n postMessage({\n success: true,\n result: {\n programInfo: {\n program_hash,\n cycles,\n trace_len\n },\n output: `{\n \"stack_output\" : [${stack_output.toString()}],\n \"overflow_addrs\" : [${overflow}],\n \"trace_len\" : ${trace_len}\n }`,\n proof,\n stackOutput: stack_output.toString()\n }\n });\n } catch (error) {\n const errorMessage = error instanceof Error ? error.message : String(error);\n postMessage({ success: false, error: errorMessage });\n }\n};\n"],"names":["__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","m","o","obj","prop","Object","prototype","hasOwnProperty","call","p","b","self","location","_typeof","Symbol","iterator","constructor","_regeneratorRuntime","Op","hasOwn","defineProperty","key","desc","value","$Symbol","iteratorSymbol","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","define","enumerable","configurable","writable","err","wrap","innerFn","outerFn","tryLocsList","protoGenerator","Generator","generator","create","context","Context","makeInvokeMethod","tryCatch","fn","arg","type","ContinueSentinel","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","this","getProto","getPrototypeOf","NativeIteratorPrototype","values","Gp","defineIteratorMethods","forEach","method","_invoke","AsyncIterator","PromiseImpl","invoke","resolve","reject","record","result","__await","then","unwrapped","error","previousPromise","callInvokeWithMethodAndArg","state","Error","doneResult","delegate","delegateResult","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","done","methodName","TypeError","info","resultName","next","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","iterable","iteratorMethod","isNaN","length","i","displayName","isGeneratorFunction","genFun","ctor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","iter","keys","val","object","reverse","pop","skipTempReset","prev","charAt","slice","stop","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","thrown","delegateYield","asyncGeneratorStep","gen","_next","_throw","_asyncToGenerator","args","arguments","apply","_toPropertyKey","input","hint","prim","toPrimitive","res","String","Number","_defineProperties","target","props","descriptor","wasm","cachedTextDecoder","TextDecoder","ignoreBOM","fatal","decode","cachedUint8ArrayMemory0","getUint8ArrayMemory0","byteLength","Uint8Array","memory","buffer","getStringFromWasm0","ptr","len","subarray","heap","Array","fill","heap_next","cachedDataViewMemory0","getDataViewMemory0","detached","DataView","WASM_VECTOR_LEN","cachedTextEncoder","TextEncoder","encode","encodeString","encodeInto","view","buf","set","read","written","passStringToWasm0","malloc","realloc","mem","offset","code","charCodeAt","isLikeNone","x","cachedBigUint64ArrayMemory0","getBigUint64ArrayMemory0","BigUint64Array","getArrayU64FromWasm0","passArray64ToWasm0","takeObject","idx","ret","getObject","dropObject","passArray8ToWasm0","prove_program","code_frontend","inputs_frontend","retptr","__wbindgen_add_to_stack_pointer","ptr0","__wbindgen_malloc","__wbindgen_realloc","len0","ptr1","len1","r0","getInt32","r1","Outputs","__wrap","freeze","PlayAll","Play","RewindAll","Rewind","PrintState","FinalizationRegistry","__wbg_debugexecutor_free","__wbg_debugoutput_free","OutputsFinalization","register","unregister","__wbg_outputs_free","instance","Constructor","_classCallCheck","protoProps","staticProps","__wbg_ptr","__destroy_into_raw","get","deferred1_0","deferred1_1","__wbg_get_outputs_program_hash","__wbindgen_free","arg0","__wbg_set_outputs_program_hash","__wbg_get_outputs_stack_output","v1","__wbg_set_outputs_stack_output","__wbg_get_outputs_cycles","__wbg_set_outputs_cycles","__wbg_get_outputs_trace_len","__wbg_set_outputs_trace_len","__wbg_get_outputs_overflow_addrs","__wbg_set_outputs_overflow_addrs","__wbg_get_outputs_proof","__wbg_set_outputs_proof","__wbg_load","_x","_x2","_wbg_load","_callee","imports","bytes","_context","Response","WebAssembly","instantiateStreaming","t0","headers","console","warn","arrayBuffer","instantiate","Instance","__wbg_get_imports","wbg","__wbindgen_string_new","arg1","addHeapObject","__wbindgen_throw","__wbg_finalize_init","__wbg_init","__wbindgen_wasm_module","_x3","_wbg_init","_callee2","module_or_path","_yield$__wbg_load","_context2","URL","Request","fetch","t1","t2","onmessage","_ref","e","_e$data","inputs","_prove_program","program_hash","cycles","stack_output","trace_len","overflow_addrs","proof","overflow","errorMessage","data","init","toString","postMessage","success","programInfo","output","concat","stackOutput","message"],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/main.02cd7617.js b/static/js/main.25a5ee6e.js similarity index 99% rename from static/js/main.02cd7617.js rename to static/js/main.25a5ee6e.js index 068fb978..82837f25 100644 --- a/static/js/main.02cd7617.js +++ b/static/js/main.25a5ee6e.js @@ -1,3 +1,3 @@ -/*! For license information please see main.02cd7617.js.LICENSE.txt */ -!function(){var e={948:function(e){"use strict";var t=function(e){return function(e){return!!e&&"object"===typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)};var n="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function i(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function a(e,t){try{return t in e}catch(n){return!1}}function s(e,t,n){var i={};return n.isMergeableObject(e)&&o(e).forEach((function(t){i[t]=r(e[t],n)})),o(t).forEach((function(o){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(a(e,o)&&n.isMergeableObject(t[o])?i[o]=function(e,t){if(!t.customMerge)return l;var n=t.customMerge(e);return"function"===typeof n?n:l}(o,n)(e[o],t[o],n):i[o]=r(t[o],n))})),i}function l(e,n,o){(o=o||{}).arrayMerge=o.arrayMerge||i,o.isMergeableObject=o.isMergeableObject||t,o.cloneUnlessOtherwiseSpecified=r;var a=Array.isArray(n);return a===Array.isArray(e)?a?o.arrayMerge(e,n,o):s(e,n,o):r(n,o)}l.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return l(e,n,t)}),{})};var u=l;e.exports=u},132:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(r in e);return"undefined"===typeof r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,u,c,f=arguments[0],h=1,d=arguments.length,p=!1;for("boolean"===typeof f&&(p=f,f=arguments[1]||{},h=2),(null==f||"object"!==typeof f&&"function"!==typeof f)&&(f={});h1)&&!window.MSStream}(),Ce=W(),Ee=v("iPhone"),Oe=v("iPod"),Ae=function(){var e=m(),t=e&&e.userAgent.toLowerCase();return"string"===typeof t&&/electron/.test(t)}(),Me=q(),Te=U(),Ne=w.name===V,_e=w.name===H,Pe=u(b.type);e.exports={deviceDetect:function(){var e=Pe.isBrowser,t=Pe.isMobile,n=Pe.isTablet,r=Pe.isSmartTV,i=Pe.isConsole,o=Pe.isWearable;return e?c(e,y,k,w,x):r?p(r,k,w,x):i?d(i,k,w,x):t||n?f(Pe,b,w,x):o?h(o,k,w,x):void 0},isSmartTV:G,isConsole:K,isWearable:Y,isMobileSafari:Q,isChromium:X,isMobile:J,isMobileOnly:Z,isTablet:ee,isBrowser:te,isAndroid:ne,isWinPhone:re,isIOS:ie,isChrome:oe,isFirefox:ae,isSafari:se,isOpera:le,isIE:ue,osVersion:ce,osName:fe,fullBrowserVersion:he,browserVersion:de,browserName:pe,mobileVendor:me,mobileModel:ve,engineName:ge,engineVersion:ye,getUA:be,isEdge:ke,isYandex:we,deviceType:xe,isIOS13:Se,isIPad13:Ce,isIPhone13:Ee,isIPod13:Oe,isElectron:Ae,isEdgeChromium:Me,isLegacyEdge:Te,isWindows:Ne,isMacOs:_e}},function(e,t,n){var r;!function(i,o){"use strict";var a="function",s="undefined",l="object",u="model",c="name",f="type",h="vendor",d="version",p="architecture",m="console",v="mobile",g="tablet",y="smarttv",b="wearable",k={extend:function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2===0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},has:function(e,t){return"string"===typeof e&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return"string"===typeof e?e.replace(/[^\d\.]/g,"").split(".")[0]:o},trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},w={rgx:function(e,t){for(var n,r,i,s,u,c,f=0;f0?2==s.length?typeof s[1]==a?this[s[0]]=s[1].call(this,c):this[s[0]]=s[1]:3==s.length?typeof s[1]!==a||s[1].exec&&s[1].test?this[s[0]]=c?c.replace(s[1],s[2]):o:this[s[0]]=c?s[1].call(this,c,s[2]):o:4==s.length&&(this[s[0]]=c?s[3].call(this,c.replace(s[1],s[2])):o):this[s]=c||o;f+=2}},str:function(e,t){for(var n in t)if(typeof t[n]===l&&t[n].length>0){for(var r=0;r1&&!window.MSStream)};e.exports={checkType:function(e){switch(e){case o.MOBILE:return{isMobile:!0};case o.TABLET:return{isTablet:!0};case o.SMART_TV:return{isSmartTV:!0};case o.CONSOLE:return{isConsole:!0};case o.WEARABLE:return{isWearable:!0};case o.BROWSER:return{isBrowser:!0};default:return a}},broPayload:function(e,t,n,r,i){return{isBrowser:e,browserMajorVersion:t.major,browserFullVersion:t.version,browserName:t.name,engineName:n.name||!1,engineVersion:n.version,osName:r.name,osVersion:r.version,userAgent:i}},mobilePayload:function(e,t,n,i){return r({},e,{vendor:t.vendor,model:t.model,os:n.name,osVersion:n.version,ua:i})},stvPayload:function(e,t,n,r){return{isSmartTV:e,engineName:t.name,engineVersion:t.version,osName:n.name,osVersion:n.version,userAgent:r}},consolePayload:function(e,t,n,r){return{isConsole:e,engineName:t.name,engineVersion:t.version,osName:n.name,osVersion:n.version,userAgent:r}},wearPayload:function(e,t,n,r){return{isWearable:e,engineName:t.name,engineVersion:t.version,osName:n.name,osVersion:n.version,userAgent:r}},getNavigatorInstance:s,isIOS13Check:l}}])},888:function(e,t,n){"use strict";var r=n(47);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},7:function(e,t,n){e.exports=n(888)()},47:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},758:function(e){"use strict";function t(e){this._maxSize=e,this.clear()}t.prototype.clear=function(){this._size=0,this._values=Object.create(null)},t.prototype.get=function(e){return this._values[e]},t.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var n=/[^.^\]^[]+|(?=\[\]|\.\.)/g,r=/^\d+$/,i=/^\d/,o=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,a=/^\s*(['"]?)(.*?)(\1)\s*$/,s=new t(512),l=new t(512),u=new t(512);function c(e){return s.get(e)||s.set(e,f(e).map((function(e){return e.replace(a,"$2")})))}function f(e){return e.match(n)||[""]}function h(e){return"string"===typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}function d(e){return!h(e)&&(function(e){return e.match(i)&&!e.match(r)}(e)||function(e){return o.test(e)}(e))}e.exports={Cache:t,split:f,normalizePath:c,setter:function(e){var t=c(e);return l.get(e)||l.set(e,(function(e,n){for(var r=0,i=t.length,o=e;r