|
|
/** * Minified by jsDelivr using Terser v5.48.0. * Original file: /npm/@techstark/opencv-js@5.0.0-release.1/dist/opencv.js * * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
*/(function(A,j){if(typeof define==="function"&&define.amd){define(function(){return A.cv=j()})}else if(typeof module==="object"&&module.exports){module.exports=j()}else if(typeof window==="object"){A.cv=j()}else if(typeof importScripts==="function"){A.cv=j()}else{A.cv=j()}})(globalThis,function(){var A=(()=>{var A=globalThis.document?.currentScript?.src;return async function(j={}){var v;var r=j;var t=!!globalThis.window;var b=!!globalThis.WorkerGlobalScope;var f=globalThis.process?.versions?.node&&globalThis.process?.type!="renderer";var n=[];var E="./this.program";var x=(A,j)=>{throw j};if(typeof __filename!="undefined"){A=__filename}else if(b){A=self.location.href}var _="";var l,k;if(f){var e=require("fs");_=__dirname+"/";k=A=>{A=I(A)?new URL(A):A;var j=e.readFileSync(A);return j};l=async(A,j=true)=>{A=I(A)?new URL(A):A;var v=e.readFileSync(A,j?undefined:"utf8");return v};if(process.argv.length>1){E=process.argv[1].replace(/\\/g,"/")}n=process.argv.slice(2);x=(A,j)=>{process.exitCode=A;throw j}}else if(t||b){try{_=new URL(".",A).href}catch{}{if(b){k=A=>{var j=new XMLHttpRequest;j.open("GET",A,false);j.responseType="arraybuffer";j.send(null);return new Uint8Array(j.response)}}l=async A=>{if(I(A)){return new Promise((j,v)=>{var r=new XMLHttpRequest;r.open("GET",A,true);r.responseType="arraybuffer";r.onload=()=>{if(r.status==200||r.status==0&&r.response){j(r.response);return}v(r.status)};r.onerror=v;r.send(null)})}var j=await fetch(A,{credentials:"same-origin"});if(j.ok){return j.arrayBuffer()}throw new Error(j.status+" : "+j.url)}}}else{}var G=console.log.bind(console);var a=console.error.bind(console);var N;var B=false;var S;var I=A=>A.startsWith("file://");function i(A){for(var j=0,v=A.length,r=new Uint8Array(v),t;j<v;++j){t=A.charCodeAt(j);r[j]=~t>>8&t}return r}var o,s;var q,H,p,c,$,L,d,F;var m,u;var D=false;function O(){var A=Ur.buffer;q=new Int8Array(A);p=new Int16Array(A);H=new Uint8Array(A);c=new Uint16Array(A);$=new Int32Array(A);L=new Uint32Array(A);d=new Float32Array(A);F=new Float64Array(A);m=new BigInt64Array(A);u=new BigUint64Array(A)}function K(){if(r["preRun"]){if(typeof r["preRun"]=="function")r["preRun"]=[r["preRun"]];while(r["preRun"].length){lA(r["preRun"].shift())}}nA(_A)}function R(){D=true;if(!r["noFSInit"]&&!UA.initialized)UA.init();mA.init();Yr["Z"]();UA.ignorePermissions=false}function C(){if(r["postRun"]){if(typeof r["postRun"]=="function")r["postRun"]=[r["postRun"]];while(r["postRun"].length){xA(r["postRun"].shift())}}nA(EA)}function J(A){r["onAbort"]?.(A);A="Aborted("+A+")";a(A);B=true;A+=". Build with -sASSERTIONS for more info.";var j=new WebAssembly.RuntimeError(A);s?.(j);throw j}var h;function y(){return i('\0asm\0\0\0ÙÒ``\0`\0``\0`\0``\0`\b\0`\0``\0``\t\0``|`\n\0`\0`|\0`|\0`~`}\0`\b`|`}`|\0`}`|``}\0`\0\0`}}`|\0`~`|\0`|\0`|\0`|`||`}\0`\v\0`||\0`}\0`|\0`||\0`||\0`|\0`\f\0`\t`|\0`}\0`|\0`||\0`\b|\0`|`}`|`}}}\0`||\0`|`\b|\0`||\0`\n`}\0`|\0`~\0`||\0`|`~\0`\v||\0`~~~~\0`|`~~`|`}}\0`}`}\0`}`}\0`\r||\0`\n||\0`~`}}}`~~\0`}\0`\b|\0`~\0`~\0`}\0`\0`~`~`|||`~\0`||\0`\t||\0`||\0`}`\b||\0`\n}\0`||`~`|`|||||\0`~`}}}}\0`}\0`||||\0`\f|`}\0`}}\0`\b||\0`|\0`~`|||`\b||\0`|||\0`|}`\n||||\0`||\0`\b|\0`\f}|`\t||\0`||\0`||`|||\0`\n||||||\0`\v|\0`\t}}\0`\t||||\0`\n|||\0`~\0`|\0`||||\0`\v`\b|`\t}`||\0`|||\0`|||\0`\v
//# sourceMappingURL=26135642c47363fed2a2e12ec518cfc1837de5e92ffb6e767f074cb9a3e3865a.map
|