var Module=typeof globalThis.__pyodide_module!=="undefined"?globalThis.__pyodide_module:{};if(!Module.expectedDataFileDownloads){Module.expectedDataFileDownloads=0}Module.expectedDataFileDownloads++;(function(){var loadPackage=function(metadata){var PACKAGE_PATH="";if(typeof window==="object"){PACKAGE_PATH=window["encodeURIComponent"](window.location.pathname.toString().substring(0,window.location.pathname.toString().lastIndexOf("/"))+"/")}else if(typeof process==="undefined"&&typeof location!=="undefined"){PACKAGE_PATH=encodeURIComponent(location.pathname.toString().substring(0,location.pathname.toString().lastIndexOf("/"))+"/")}var PACKAGE_NAME="autograd.data";var REMOTE_PACKAGE_BASE="autograd.data";if(typeof Module["locateFilePackage"]==="function"&&!Module["locateFile"]){Module["locateFile"]=Module["locateFilePackage"];err("warning: you defined Module.locateFilePackage, that has been renamed to Module.locateFile (using your locateFilePackage for now)")}var REMOTE_PACKAGE_NAME=Module["locateFile"]?Module["locateFile"](REMOTE_PACKAGE_BASE,""):REMOTE_PACKAGE_BASE;var REMOTE_PACKAGE_SIZE=metadata["remote_package_size"];var PACKAGE_UUID=metadata["package_uuid"];function fetchRemotePackage(packageName,packageSize,callback,errback){if(typeof process==="object"){require("fs").readFile(packageName,(function(err,contents){if(err){errback(err)}else{callback(contents.buffer)}}));return}var xhr=new XMLHttpRequest;xhr.open("GET",packageName,true);xhr.responseType="arraybuffer";xhr.onprogress=function(event){var url=packageName;var size=packageSize;if(event.total)size=event.total;if(event.loaded){if(!xhr.addedTotal){xhr.addedTotal=true;if(!Module.dataFileDownloads)Module.dataFileDownloads={};Module.dataFileDownloads[url]={loaded:event.loaded,total:size}}else{Module.dataFileDownloads[url].loaded=event.loaded}var total=0;var loaded=0;var num=0;for(var download in Module.dataFileDownloads){var data=Module.dataFileDownloads[download];total+=data.total;loaded+=data.loaded;num++}total=Math.ceil(total*Module.expectedDataFileDownloads/num);if(Module["setStatus"])Module["setStatus"]("Downloading data... ("+loaded+"/"+total+")")}else if(!Module.dataFileDownloads){if(Module["setStatus"])Module["setStatus"]("Downloading data...")}};xhr.onerror=function(event){throw new Error("NetworkError for: "+packageName)};xhr.onload=function(event){if(xhr.status==200||xhr.status==304||xhr.status==206||xhr.status==0&&xhr.response){var packageData=xhr.response;callback(packageData)}else{throw new Error(xhr.statusText+" : "+xhr.responseURL)}};xhr.send(null)}function handleError(error){console.error("package error:",error)}var fetchedCallback=null;var fetched=Module["getPreloadedPackage"]?Module["getPreloadedPackage"](REMOTE_PACKAGE_NAME,REMOTE_PACKAGE_SIZE):null;if(!fetched)fetchRemotePackage(REMOTE_PACKAGE_NAME,REMOTE_PACKAGE_SIZE,(function(data){if(fetchedCallback){fetchedCallback(data);fetchedCallback=null}else{fetched=data}}),handleError);function runWithFS(){function assert(check,msg){if(!check)throw msg+(new Error).stack}Module["FS_createPath"]("/","lib",true,true);Module["FS_createPath"]("/lib","python3.9",true,true);Module["FS_createPath"]("/lib/python3.9","site-packages",true,true);Module["FS_createPath"]("/lib/python3.9/site-packages","autograd",true,true);Module["FS_createPath"]("/lib/python3.9/site-packages/autograd","numpy",true,true);Module["FS_createPath"]("/lib/python3.9/site-packages/autograd","scipy",true,true);Module["FS_createPath"]("/lib/python3.9/site-packages/autograd/scipy","stats",true,true);Module["FS_createPath"]("/lib/python3.9/site-packages/autograd","misc",true,true);Module["FS_createPath"]("/lib/python3.9/site-packages","autograd-1.3-py3.9.egg-info",true,true);function processPackageData(arrayBuffer){assert(arrayBuffer,"Loading data file failed.");assert(arrayBuffer instanceof ArrayBuffer,"bad input to processPackageData");var byteArray=new Uint8Array(arrayBuffer);var curr;var compressedData={data:null,cachedOffset:73813,cachedIndexes:[-1,-1],cachedChunks:[null,null],offsets:[0,1233,2471,3820,5120,6360,7403,8482,9465,10399,11365,12424,13388,14403,15671,16832,18080,19372,20641,21740,23084,23922,24736,25436,26159,26954,28003,29214,30544,31368,32518,33601,34516,35418,36586,37744,38799,40125,41265,42056,43214,44562,45843,47192,48036,49258,49848,50696,51604,52477,53713,54800,55731,56682,57959,59262,60572,61603,62806,63574,64260,65112,65867,66796,67968,69220,70480,71872,73026],sizes:[1233,1238,1349,1300,1240,1043,1079,983,934,966,1059,964,1015,1268,1161,1248,1292,1269,1099,1344,838,814,700,723,795,1049,1211,1330,824,1150,1083,915,902,1168,1158,1055,1326,1140,791,1158,1348,1281,1349,844,1222,590,848,908,873,1236,1087,931,951,1277,1303,1310,1031,1203,768,686,852,755,929,1172,1252,1260,1392,1154,787],successes:[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]};compressedData["data"]=byteArray;assert(typeof Module.LZ4==="object","LZ4 not present - was your app build with -s LZ4=1 ?");Module.LZ4.loadPackage({metadata:metadata,compressedData:compressedData},true);Module["removeRunDependency"]("datafile_autograd.data")}Module["addRunDependency"]("datafile_autograd.data");if(!Module.preloadResults)Module.preloadResults={};Module.preloadResults[PACKAGE_NAME]={fromCache:false};if(fetched){processPackageData(fetched);fetched=null}else{fetchedCallback=processPackageData}}if(Module["calledRun"]){runWithFS()}else{if(!Module["preRun"])Module["preRun"]=[];Module["preRun"].push(runWithFS)}};loadPackage({files:[{filename:"/lib/python3.9/site-packages/autograd/differential_operators.py",start:0,end:8392,audio:0},{filename:"/lib/python3.9/site-packages/autograd/core.py",start:8392,end:20627,audio:0},{filename:"/lib/python3.9/site-packages/autograd/builtins.py",start:20627,end:26737,audio:0},{filename:"/lib/python3.9/site-packages/autograd/util.py",start:26737,end:28219,audio:0},{filename:"/lib/python3.9/site-packages/autograd/tracer.py",start:28219,end:32170,audio:0},{filename:"/lib/python3.9/site-packages/autograd/wrap_util.py",start:32170,end:33751,audio:0},{filename:"/lib/python3.9/site-packages/autograd/__init__.py",start:33751,end:34255,audio:0},{filename:"/lib/python3.9/site-packages/autograd/extend.py",start:34255,end:34559,audio:0},{filename:"/lib/python3.9/site-packages/autograd/numpy/linalg.py",start:34559,end:42482,audio:0},{filename:"/lib/python3.9/site-packages/autograd/numpy/numpy_vjps.py",start:42482,end:75051,audio:0},{filename:"/lib/python3.9/site-packages/autograd/numpy/random.py",start:75051,end:75200,audio:0},{filename:"/lib/python3.9/site-packages/autograd/numpy/numpy_vspaces.py",start:75200,end:77204,audio:0},{filename:"/lib/python3.9/site-packages/autograd/numpy/fft.py",start:77204,end:82454,audio:0},{filename:"/lib/python3.9/site-packages/autograd/numpy/numpy_wrapper.py",start:82454,end:87922,audio:0},{filename:"/lib/python3.9/site-packages/autograd/numpy/__init__.py",start:87922,end:88154,audio:0},{filename:"/lib/python3.9/site-packages/autograd/numpy/numpy_boxes.py",start:88154,end:91278,audio:0},{filename:"/lib/python3.9/site-packages/autograd/numpy/numpy_jvps.py",start:91278,end:102047,audio:0},{filename:"/lib/python3.9/site-packages/autograd/scipy/misc.py",start:102047,end:102215,audio:0},{filename:"/lib/python3.9/site-packages/autograd/scipy/linalg.py",start:102215,end:104578,audio:0},{filename:"/lib/python3.9/site-packages/autograd/scipy/special.py",start:104578,end:109713,audio:0},{filename:"/lib/python3.9/site-packages/autograd/scipy/integrate.py",start:109713,end:112580,audio:0},{filename:"/lib/python3.9/site-packages/autograd/scipy/signal.py",start:112580,end:118504,audio:0},{filename:"/lib/python3.9/site-packages/autograd/scipy/__init__.py",start:118504,end:118687,audio:0},{filename:"/lib/python3.9/site-packages/autograd/scipy/stats/chi2.py",start:118687,end:119496,audio:0},{filename:"/lib/python3.9/site-packages/autograd/scipy/stats/norm.py",start:119496,end:122254,audio:0},{filename:"/lib/python3.9/site-packages/autograd/scipy/stats/poisson.py",start:122254,end:122969,audio:0},{filename:"/lib/python3.9/site-packages/autograd/scipy/stats/t.py",start:122969,end:125639,audio:0},{filename:"/lib/python3.9/site-packages/autograd/scipy/stats/beta.py",start:125639,end:126971,audio:0},{filename:"/lib/python3.9/site-packages/autograd/scipy/stats/dirichlet.py",start:126971,end:127743,audio:0},{filename:"/lib/python3.9/site-packages/autograd/scipy/stats/__init__.py",start:127743,end:128134,audio:0},{filename:"/lib/python3.9/site-packages/autograd/scipy/stats/gamma.py",start:128134,end:129121,audio:0},{filename:"/lib/python3.9/site-packages/autograd/scipy/stats/multivariate_normal.py",start:129121,end:131630,audio:0},{filename:"/lib/python3.9/site-packages/autograd/misc/fixed_points.py",start:131630,end:132401,audio:0},{filename:"/lib/python3.9/site-packages/autograd/misc/flatten.py",start:132401,end:133521,audio:0},{filename:"/lib/python3.9/site-packages/autograd/misc/tracers.py",start:133521,end:135721,audio:0},{filename:"/lib/python3.9/site-packages/autograd/misc/optimizers.py",start:135721,end:138478,audio:0},{filename:"/lib/python3.9/site-packages/autograd/misc/__init__.py",start:138478,end:138540,audio:0},{filename:"/lib/python3.9/site-packages/autograd-1.3-py3.9.egg-info/dependency_links.txt",start:138540,end:138541,audio:0},{filename:"/lib/python3.9/site-packages/autograd-1.3-py3.9.egg-info/SOURCES.txt",start:138541,end:139758,audio:0},{filename:"/lib/python3.9/site-packages/autograd-1.3-py3.9.egg-info/PKG-INFO",start:139758,end:140426,audio:0},{filename:"/lib/python3.9/site-packages/autograd-1.3-py3.9.egg-info/requires.txt",start:140426,end:140453,audio:0},{filename:"/lib/python3.9/site-packages/autograd-1.3-py3.9.egg-info/top_level.txt",start:140453,end:140462,audio:0}],remote_package_size:77909,package_uuid:"888acad2-eab5-4cab-ba58-a181920e660c"})})();