var OGVDecoderVideoVP8W = (function() { var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined; if (typeof __filename !== 'undefined') _scriptDir = _scriptDir || __filename; return ( function(OGVDecoderVideoVP8W) { OGVDecoderVideoVP8W = OGVDecoderVideoVP8W || {}; var a;a||(a=typeof OGVDecoderVideoVP8W !== 'undefined' ? OGVDecoderVideoVP8W : {});var aa,n;a.ready=new Promise(function(b,c){aa=b;n=c});var ba=a,p={},r;for(r in a)a.hasOwnProperty(r)&&(p[r]=a[r]);var ca="object"===typeof window,w="function"===typeof importScripts,x="",da,A,B,C,D; if("object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node)x=w?require("path").dirname(x)+"/":__dirname+"/",da=function(b,c){C||(C=require("fs"));D||(D=require("path"));b=D.normalize(b);return C.readFileSync(b,c?null:"utf8")},B=function(b){b=da(b,!0);b.buffer||(b=new Uint8Array(b));b.buffer||E("Assertion failed: undefined");return b},A=function(b,c,e){C||(C=require("fs"));D||(D=require("path"));b=D.normalize(b);C.readFile(b,function(d,f){d?e(d):c(f.buffer)})}, 1>>=0;if(2147483648=e;e*=2){var d=c*(1+.2/e);d=Math.min(d,b+100663296);d=Math.max(b,d);0>>16);na();var f=1;break a}catch(g){}f=void 0}if(f)return!0}return!1},a:function(){return ja},d:Ja,i:Ka,j:La,h:Ma,c:Na,k:function(b,c,e,d,f,g,l,m,S,t,M,N,T,U,ea,fa){function ha(y,q,u,ia,ya,za, Ra,Sa,V){if(Oa){var h=new Float64Array(y.buffer);q=new Float64Array(Aa,q,u*ia>>3);h.set(q)}else y.set(new Uint8Array(Aa,q,u*ia));var v;for(q=v=0;q=d||(X&&a._free(X),Va=d,X=a._malloc(Va));var f=X;(new Uint8Array(H.buffer,f,d)).set(new Uint8Array(b));return a._ogv_video_decoder_process_header(f,d)});c(e)};a.B=[]; a.processFrame=function(b,c){function e(m){a._free(g);c(m)}var d=a._ogv_video_decoder_async(),f=b.byteLength,g=a._malloc(f);d&&a.B.push(e);var l=Z(function(){(new Uint8Array(H.buffer,g,f)).set(new Uint8Array(b));return a._ogv_video_decoder_process_frame(g,f)});d||e(l)};a.close=function(){};a.sync=function(){a._ogv_video_decoder_async()&&(a.B.push(function(){}),Z(function(){a._ogv_video_decoder_process_frame(0,0)}))};a.recycledFrames=[]; a.recycleFrame=function(b){var c=a.recycledFrames;c.push(b);16