4x/irrigation-monitoring-platf.../public/decoder-pro-simd.js

2 lines
158 KiB
JavaScript
Raw Normal View History

2024-12-26 19:24:07 +08:00
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("path"),require("fs"),require("crypto")):"function"==typeof define&&define.amd?define(["path","fs","crypto"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).path,e.fs,e.crypto$1)}(this,function(e,m,y){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var Tt=t(e),Bt=t(m),At=t(y);function g(e,t){return e(t={exports:{}},t.exports),t.exports}var w=g(function(I){var t,m,M,N,$,G,a,y=void 0!==y?y:{},O=Object.assign({},y),j="./this.program",V="object"==typeof window,d="function"==typeof importScripts,z="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,e="",W=(z?(e=d?Tt.default.dirname(e)+"/":__dirname+"/",G=()=>{$||(N=Bt.default,$=Tt.default)},t=function(e,t){return G(),e=$.normalize(e),N.readFileSync(e,t?void 0:"utf8")},M=e=>{e=t(e,!0);return e=e.buffer?e:new Uint8Array(e)},m=(e,r,n)=>{G(),e=$.normalize(e),N.readFile(e,function(e,t){e?n(e):r(t.buffer)})},1<process.argv.length&&(j=process.argv[1].replace(/\\/g,"/")),process.argv.slice(2),I.exports=y,process.on("uncaughtException",function(e){throw e}),process.on("unhandledRejection",function(e){throw e}),y.inspect=function(){return"[Emscripten Module object]"}):(V||d)&&(d?e=self.location.href:"undefined"!=typeof document&&document.currentScript&&(e=document.currentScript.src),e=0!==e.indexOf("blob:")?e.substr(0,e.replace(/[?#].*/,"").lastIndexOf("/")+1):"",t=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},d&&(M=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),m=(e,t,r)=>{var n=new XMLHttpRequest;n.open("GET",e,!0),n.responseType="arraybuffer",n.onload=()=>{200==n.status||0==n.status&&n.response?t(n.response):r()},n.onerror=r,n.send(null)}),y.print||console.log.bind(console)),s=y.printErr||console.warn.bind(console),H=(Object.assign(y,O),y.arguments&&y.arguments,y.thisProgram&&(j=y.thisProgram),y.quit&&y.quit,y.wasmBinary&&(a=y.wasmBinary),y.noExitRuntime,"object"!=typeof WebAssembly&&v("no native wasm support detected"),!1);function X(e,t){e||v(t)}var q,c,f,l,K,u,p,Y,J,Z,Q="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function i(e,t,r){for(var n=t+r,o=t;e[o]&&!(n<=o);)++o;if(16<o-t&&e.buffer&&Q)return Q.decode(e.subarray(t,o));for(var a="";t<o;){var i,s,l=e[t++];128&l?(i=63&e[t++],192!=(224&l)?(s=63&e[t++],(l=224==(240&l)?(15&l)<<12|i<<6|s:(7&l)<<18|i<<12|s<<6|63&e[t++])<65536?a+=String.fromCharCode(l):(s=l-65536,a+=String.fromCharCode(55296|s>>10,56320|1023&s))):a+=String.fromCharCode((31&l)<<6|i)):a+=String.fromCharCode(l)}return a}function ee(e,t){return e?i(f,e,t):""}function te(e,t,r,n){if(!(0<n))return 0;for(var o=r,a=r+n-1,i=0;i<e.length;++i){var s=e.charCodeAt(i);if((s=55296<=s&&s<=57343?65536+((1023&s)<<10)|1023&e.charCodeAt(++i):s)<=127){if(a<=r)break;t[r++]=s}else{if(s<=2047){if(a<=r+1)break;t[r++]=192|s>>6}else{if(s<=65535){if(a<=r+2)break;t[r++]=224|s>>12}else{if(a<=r+3)break;t[r++]=240|s>>18,t[r++]=128|s>>12&63}t[r++]=128|s>>6&63}t[r++]=128|63&s}}return t[r]=0,r-o}function re(e){for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);n<=127?t++:n<=2047?t+=2:55296<=n&&n<=57343?(t+=4,++r):t+=3}return t}y.INITIAL_MEMORY;var h,g,w,ne=[],oe=[],ae=[],r=0,n=null;function ie(){r++,y.monitorRunDependencies&&y.monitorRunDependencies(r)}function se(){var e;r--,y.monitorRunDependencies&&y.monitorRunDependencies(r),0==r&&n&&(e=n,n=null,e())}function v(e){throw y.onAbort&&y.onAbort(e),s(e="Aborted("+e+")"),H=!0,e+=". Build with -sASSERTIONS for more info.",new WebAssembly.RuntimeError(e)}function le(e){return e.startsWith("data:application/octet-stream;base64,")}function ue(e){return e.startsWith("file://")}function de(e){try{if(e==h&&a)return new Uint8Array(a);if(M)return M(e);throw"both async and sync fetching of the wasm failed"}catch(e){v(e)}}function ce(e){for(;0<e.length;)e.shift()(y)}function fe(e){this.excPtr=e,this.ptr=e-24,this.set_type=function(e){p[this.ptr+4>>2]=e},thi