pleroma/priv/static/packs/ocr/tesseract-core.wasm.js

21 lines
3.0 MiB
JavaScript
Raw Permalink Normal View History

2020-01-22 10:00:23 -05:00
var TesseractCoreWASM = (function() {
var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined;
return (
function(TesseractCoreWASM) {
TesseractCoreWASM = TesseractCoreWASM || {};
2020-02-29 00:41:13 -05:00
var Module=typeof TesseractCoreWASM!=="undefined"?TesseractCoreWASM:{};if(!Module.expectedDataFileDownloads){Module.expectedDataFileDownloads=0;Module.finishedDataFileDownloads=0}Module.expectedDataFileDownloads++;(function(){var loadPackage=function(metadata){function runWithFS(){var fileData0=[];fileData0.push.apply(fileData0,[0,1,0,0,0,10,0,128,0,3,0,32,79,83,47,50,86,222,200,148,0,0,1,40,0,0,0,96,99,109,97,112,0,10,0,52,0,0,1,144,0,0,0,30,103,108,121,102,21,34,65,36,0,0,1,184,0,0,0,24,104,101,97,100,11,120,241,101,0,0,0,172,0,0,0,54,104,104,101,97,12,2,4,2,0,0,0,228,0,0,0,36,104,109,116,120,4,0,0,0,0,0,1,136,0,0,0,8,108,111,99,97,0,12,0,0,0,0,1,176,0,0,0,6,109,97,120,112,0,4,0,5,0,0,1,8,0,0,0,32,110,97,109,101,242,235,22,218,0,0,1,208,0,0,0,75,112,111,115,116,0,1,0,1,0,0,2,28,0,0,0,32,0,1,0,0,0,1,0,0,176,148,113,16,95,15,60,245,4,7,8,0,0,0,0,0,207,154,252,110,0,0,0,0,212,195,167,242,0,0,0,0,4,0,8,0,0,0,0,16,0,2,0,0,0,0,0,0,0,1,0,0,8,0,255,255,0,0,4,0,0,0,0,0,4,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,1,0,0,0,2,0,4,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,1,144,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,71,79,79,71,0,64,0,0,0,0,0,1,255,255,0,0,0,1,0,1,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,4,0,0,0,0,0,0,2,0,1,0,0,0,0,0,20,0,3,0,0,0,0,0,20,0,6,0,10,0,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,1,0,0,0,0,4,0,8,0,0,3,0,0,49,33,17,33,4,0,252,0,8,0,0,0,0,3,0,42,0,0,0,3,0,0,0,5,0,22,0,0,0,1,0,0,0,0,0,5,0,11,0,22,0,3,0,1,4,9,0,5,0,22,0,0,0,86,0,101,0,114,0,115,0,105,0,111,0,110,0,32,0,49,0,46,0,48,86,101,114,115,105,111,110,32,49,46,48,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);Module["FS_createDataFile"]("/","pdf.ttf",fileData0,true,true,false)}if(Module["calledRun"]){runWithFS()}else{if(!Module["preRun"])Module["preRun"]=[];Module["preRun"].push(runWithFS)}};loadPackage({"files":[]})})();var moduleOverrides={};var key;for(key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var arguments_=[];var thisProgram="./this.program";var quit_=function(status,toThrow){throw toThrow};var ENVIRONMENT_IS_WEB=false;var ENVIRONMENT_IS_WORKER=false;var ENVIRONMENT_IS_NODE=false;var ENVIRONMENT_HAS_NODE=false;var ENVIRONMENT_IS_SHELL=false;ENVIRONMENT_IS_WEB=typeof window==="object";ENVIRONMENT_IS_WORKER=typeof importScripts==="function";ENVIRONMENT_HAS_NODE=typeof process==="object"&&typeof process.versions==="object"&&typeof process.versions.node==="string";ENVIRONMENT_IS_NODE=ENVIRONMENT_HAS_NODE&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER;ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;var scriptDirectory="";function locateFile(path){if(Module["locateFile"]){return Module["locateFile"](path,scriptDirectory)}return scriptDirectory+path}var read_,readAsync,readBinary,setWindowTitle;if(ENVIRONMENT_IS_NODE){scriptDirectory=__dirname+"/";var nodeFS;var nodePath;read_=function shell_read(filename,binary){var ret;ret=tryParseAsDataURI(filename);if(!ret){if(!nodeFS)nodeFS=require("fs");if(!nodePath)nodePath=require("path");filename=nodePath["normalize"](filename);ret=nodeFS["readFileSync"](filename)}return binary?ret:ret.toString()};readBinary=function readBinary(filename){var ret=read_(filename,true);if(!ret.buffer){ret=new Uint8Array(ret)}assert(ret.buffer);return ret};if(process["argv"].length>1){thisProgram=process["argv"][1].replace(/\\/g,"/")}arguments_=process["argv"].slice(2);process["on"]("uncaughtException",function(ex){if(!(ex instanceof ExitStatus)){throw ex}});process["on"]("unhandledRejection",abort);quit_=function(status){process["exit"](status)};Module["inspect"]=function(){return"[Emscripten Module object]"}}else if(ENVIRONMENT_IS_SHELL){if(typeof read!="undefined"){read_=function shell_read(f){var data=tryParseAsDataURI(f);if(data){return intArrayToString(data)}return read(f)}}readBinary=function readBinary(f){var data;data=tryParseAsDataURI(f);if(data){return data}if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}data=read(f,"binary");assert(
2020-01-22 10:00:23 -05:00
2020-02-29 00:41:13 -05:00
return TesseractCoreWASM
2020-01-22 10:00:23 -05:00
}
);
})();
if (typeof exports === 'object' && typeof module === 'object')
2020-02-29 00:41:13 -05:00
module.exports = TesseractCoreWASM;
else if (typeof define === 'function' && define['amd'])
define([], function() { return TesseractCoreWASM; });
else if (typeof exports === 'object')
exports["TesseractCoreWASM"] = TesseractCoreWASM;