voting_schemes-electionguard 0.24.2 → 0.24.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/Gemfile.lock +1 -1
- data/app/assets/javascripts/voting_schemes/electionguard/electionguard.js +1 -1
- data/lib/voting_schemes/electionguard/version.rb +1 -1
- data/public/assets/electionguard/attrs.data +0 -0
- data/public/assets/electionguard/attrs.js +1 -1
- data/public/assets/electionguard/bulletin_board-electionguard.data +0 -0
- data/public/assets/electionguard/bulletin_board-electionguard.js +1 -1
- data/public/assets/electionguard/console.html +89 -61
- data/public/assets/electionguard/electionguard.js +1 -1
- data/public/assets/electionguard/gmpy2.data +0 -0
- data/public/assets/electionguard/gmpy2.js +1 -1
- data/public/assets/electionguard/hypothesis.js +1 -1
- data/public/assets/electionguard/jsons.js +1 -1
- data/public/assets/electionguard/micropip.data +0 -0
- data/public/assets/electionguard/micropip.js +1 -1
- data/public/assets/electionguard/packages.json +1 -1
- data/public/assets/electionguard/packaging.data +0 -0
- data/public/assets/electionguard/packaging.js +1 -0
- data/public/assets/electionguard/pyasn1.js +1 -1
- data/public/assets/electionguard/pyodide.asm.data +0 -0
- data/public/assets/electionguard/pyodide.asm.js +11 -11
- data/public/assets/electionguard/pyodide.asm.wasm +0 -0
- data/public/assets/electionguard/pyodide.js +781 -333
- data/public/assets/electionguard/pyparsing.data +0 -0
- data/public/assets/electionguard/pyparsing.js +1 -0
- data/public/assets/electionguard/rsa.js +1 -1
- data/public/assets/electionguard/six.data +0 -0
- data/public/assets/electionguard/six.js +1 -0
- data/public/assets/electionguard/sortedcontainers.js +1 -1
- data/public/assets/electionguard/test.data +0 -0
- data/public/assets/electionguard/test.html +21 -24
- data/public/assets/electionguard/test.js +1 -1
- data/public/assets/electionguard/typish.js +1 -1
- data/public/assets/electionguard/webworker.js +29 -21
- data/public/assets/electionguard/webworker_dev.js +14 -14
- metadata +8 -6
- data/public/assets/electionguard/distlib.data +0 -0
- data/public/assets/electionguard/distlib.js +0 -1
- data/public/assets/electionguard/pyodide.asm.data.js +0 -1
- data/public/assets/electionguard/renderedhtml.css +0 -209
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 133827bbdd7b9b0c9b885d7c194577527e4b7c0a256ab347483d577468948b72
|
4
|
+
data.tar.gz: 63b2e8d727374ee769918619b1b4130a2ceb98fe70ea5959fa0f9ab54ce10580
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff706b029ced40fca15b3d5fc7763032e8e4f15bdd139066ca54516aea6222d457c33d9302afa4adb6e8101a99316412d8de29f442fe7139a454a19510eec7ee
|
7
|
+
data.tar.gz: 21fc706d03691c93303cefc3db90c3198797bca8a8982cc631b32534386e2ad94cc919e20d2d3ae8959ead32a1caaf1630350d1be3f4ab5c5d4e288f5df59525
|
data/.rubocop.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1 +1 @@
|
|
1
|
-
(()=>{"use strict";var e={d:(t,r)=>{for(var o in r)e.o(r,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:r[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{TrusteeWrapperAdapter:()=>o,VoterWrapperAdapter:()=>s});class r{processPythonCodeOnWorker(e,t){return new Promise(((r,o)=>{this.worker.onmessage=e=>{r(e.data.results)},this.worker.onerror=e=>{console.error(e),o(e)},this.worker.postMessage({python:e,...t})}))}}class o extends r{constructor({trusteeId:e,workerUrl:t}){super(),this.trusteeId=e,this.worker=new Worker(t)}setup(){return this.processPythonCodeOnWorker("\n from js import trustee_id\n from bulletin_board.electionguard.trustee import Trustee\n trustee = Trustee(trustee_id)\n ",{trustee_id:this.trusteeId})}async processMessage(e,t){const r=await this.processPythonCodeOnWorker("\n
|
1
|
+
(()=>{"use strict";var e={d:(t,r)=>{for(var o in r)e.o(r,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:r[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{TrusteeWrapperAdapter:()=>o,VoterWrapperAdapter:()=>s});class r{async processPythonCodeOnWorker(e,t){return new Promise(((r,o)=>{this.worker.onmessage=e=>{r(e.data.results)},this.worker.onerror=e=>{console.error("Error in worker",e),o(e)},this.worker.postMessage({python:e,...t})}))}}class o extends r{constructor({trusteeId:e,workerUrl:t}){super(),this.trusteeId=e,this.worker=new Worker(t)}async setup(){return await this.processPythonCodeOnWorker("\n from js import trustee_id\n from bulletin_board.electionguard.trustee import Trustee\n trustee = Trustee(trustee_id)\n ",{trustee_id:this.trusteeId})}async processMessage(e,t){const r=await this.processPythonCodeOnWorker("\n from js import message_type, decoded_data\n import json\n trustee.process_message(\n message_type,\n json.loads(decoded_data)\n )\n ",{message_type:e,decoded_data:JSON.stringify(t)});if(r&&r.length>0){const{message_type:e,content:t}=r[0]instanceof Map?Object.fromEntries(r[0]):r[0];return{messageType:e,content:t}}}isFresh(){return this.processPythonCodeOnWorker("\n trustee.is_fresh()\n ")}backup(){return this.processPythonCodeOnWorker("\n trustee.backup().hex()\n ")}restore(e){return this.processPythonCodeOnWorker("\n from js import state\n trustee = Trustee.restore(bytes.fromhex(state))\n True\n ",{state:e})}isKeyCeremonyDone(){return this.processPythonCodeOnWorker("\n trustee.is_key_ceremony_done()\n ")}isTallyDone(){return this.processPythonCodeOnWorker("\n trustee.is_tally_done()\n ")}}class s extends r{constructor({voterId:e,workerUrl:t}){super(),this.voterId=e,this.worker=new Worker(t)}async setup(){return await this.processPythonCodeOnWorker("\n from js import voter_id\n from bulletin_board.electionguard.voter import Voter\n voter = Voter(voter_id)\n ",{voter_id:this.voterId})}async processMessage(e,t){const r=await this.processPythonCodeOnWorker("\n from js import message_type, decoded_data\n import json\n voter.process_message(message_type, json.loads(decoded_data))\n ",{message_type:e,decoded_data:JSON.stringify(t)});if(r&&r.length>0){const{message_type:e,content:t}=r[0]instanceof Map?Object.fromEntries(r[0]):r[0];return{messageType:e,content:t}}}async encrypt(e,t){const[r,o]=await this.processPythonCodeOnWorker("\n from js import plain_vote, ballot_style\n voter.encrypt(plain_vote.to_py(), ballot_style)\n ",{plain_vote:e,ballot_style:t});return{auditableData:r,encryptedData:o}}}window.electionGuardVotingScheme=t})();
|
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
var Module=typeof pyodide._module!=="undefined"?pyodide._module:{};
|
1
|
+
var Module=typeof pyodide._module!=="undefined"?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 location!=="undefined"){PACKAGE_PATH=encodeURIComponent(location.pathname.toString().substring(0,location.pathname.toString().lastIndexOf("/"))+"/")}else{throw"using preloaded data can only be done on a web page or in a web worker"}var PACKAGE_NAME="attrs.data";var REMOTE_PACKAGE_BASE="attrs.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){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.8",true,true);Module["FS_createPath"]("/lib/python3.8","site-packages",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages","attr",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages","attrs-20.3.0-py3.8.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:92978,cachedIndexes:[-1,-1],cachedChunks:[null,null],offsets:[0,1227,2006,3370,4474,5719,6922,7675,8936,9546,10717,12163,13627,14972,16280,17692,18936,20230,21408,22516,23639,24615,25769,26939,28145,29078,30174,31513,32982,34363,35793,37242,38685,39939,41019,42071,43329,44497,45703,46714,48039,49397,50538,51657,52710,53556,54223,55090,56433,57526,58752,59851,60878,62233,63549,64809,66043,67255,68514,69558,70665,71889,73220,74419,75617,76697,77673,78932,80211,80726,81351,81808,82902,84052,85128,86160,87398,88782,90168,91468,92514],sizes:[1227,779,1364,1104,1245,1203,753,1261,610,1171,1446,1464,1345,1308,1412,1244,1294,1178,1108,1123,976,1154,1170,1206,933,1096,1339,1469,1381,1430,1449,1443,1254,1080,1052,1258,1168,1206,1011,1325,1358,1141,1119,1053,846,667,867,1343,1093,1226,1099,1027,1355,1316,1260,1234,1212,1259,1044,1107,1224,1331,1199,1198,1080,976,1259,1279,515,625,457,1094,1150,1076,1032,1238,1384,1386,1300,1046,464],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,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_attrs.data")}Module["addRunDependency"]("datafile_attrs.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.8/site-packages/attr/__init__.py",start:0,end:1568,audio:0},{filename:"/lib/python3.8/site-packages/attr/_compat.py",start:1568,end:8876,audio:0},{filename:"/lib/python3.8/site-packages/attr/_config.py",start:8876,end:9390,audio:0},{filename:"/lib/python3.8/site-packages/attr/_funcs.py",start:9390,end:22471,audio:0},{filename:"/lib/python3.8/site-packages/attr/_make.py",start:22471,end:110784,audio:0},{filename:"/lib/python3.8/site-packages/attr/_next_gen.py",start:110784,end:114922,audio:0},{filename:"/lib/python3.8/site-packages/attr/_version_info.py",start:114922,end:117084,audio:0},{filename:"/lib/python3.8/site-packages/attr/converters.py",start:117084,end:119298,audio:0},{filename:"/lib/python3.8/site-packages/attr/exceptions.py",start:119298,end:121248,audio:0},{filename:"/lib/python3.8/site-packages/attr/filters.py",start:121248,end:122346,audio:0},{filename:"/lib/python3.8/site-packages/attr/setters.py",start:122346,end:123780,audio:0},{filename:"/lib/python3.8/site-packages/attr/validators.py",start:123780,end:135277,audio:0},{filename:"/lib/python3.8/site-packages/attr/__init__.pyi",start:135277,end:148263,audio:0},{filename:"/lib/python3.8/site-packages/attr/_version_info.pyi",start:148263,end:148472,audio:0},{filename:"/lib/python3.8/site-packages/attr/converters.pyi",start:148472,end:148852,audio:0},{filename:"/lib/python3.8/site-packages/attr/exceptions.pyi",start:148852,end:149391,audio:0},{filename:"/lib/python3.8/site-packages/attr/filters.pyi",start:149391,end:149605,audio:0},{filename:"/lib/python3.8/site-packages/attr/py.typed",start:149605,end:149605,audio:0},{filename:"/lib/python3.8/site-packages/attr/setters.pyi",start:149605,end:150172,audio:0},{filename:"/lib/python3.8/site-packages/attr/validators.pyi",start:150172,end:152040,audio:0},{filename:"/lib/python3.8/site-packages/attrs-20.3.0-py3.8.egg-info/PKG-INFO",start:152040,end:162595,audio:0},{filename:"/lib/python3.8/site-packages/attrs-20.3.0-py3.8.egg-info/SOURCES.txt",start:162595,end:164440,audio:0},{filename:"/lib/python3.8/site-packages/attrs-20.3.0-py3.8.egg-info/dependency_links.txt",start:164440,end:164441,audio:0},{filename:"/lib/python3.8/site-packages/attrs-20.3.0-py3.8.egg-info/not-zip-safe",start:164441,end:164442,audio:0},{filename:"/lib/python3.8/site-packages/attrs-20.3.0-py3.8.egg-info/requires.txt",start:164442,end:164755,audio:0},{filename:"/lib/python3.8/site-packages/attrs-20.3.0-py3.8.egg-info/top_level.txt",start:164755,end:164760,audio:0}],remote_package_size:97074,package_uuid:"f0be090d-5cb6-4ce9-a045-0253e15d3955"})})();
|
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
var Module=typeof pyodide._module!=="undefined"?pyodide._module:{};
|
1
|
+
var Module=typeof pyodide._module!=="undefined"?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 location!=="undefined"){PACKAGE_PATH=encodeURIComponent(location.pathname.toString().substring(0,location.pathname.toString().lastIndexOf("/"))+"/")}else{throw"using preloaded data can only be done on a web page or in a web worker"}var PACKAGE_NAME="bulletin_board-electionguard.data";var REMOTE_PACKAGE_BASE="bulletin_board-electionguard.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){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.8",true,true);Module["FS_createPath"]("/lib/python3.8","site-packages",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages","bulletin_board_electionguard-0.1.1-py3.8.egg-info",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages","bulletin_board",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/bulletin_board","electionguard",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:26805,cachedIndexes:[-1,-1],cachedChunks:[null,null],offsets:[0,1088,2277,3305,4361,5364,6209,6987,8084,9014,10138,11001,11858,12803,13829,14793,15728,16809,17905,18957,20050,21188,22192,23353,24125,25098,26019],sizes:[1088,1189,1028,1056,1003,845,778,1097,930,1124,863,857,945,1026,964,935,1081,1096,1052,1093,1138,1004,1161,772,973,921,786],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]};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_bulletin_board-electionguard.data")}Module["addRunDependency"]("datafile_bulletin_board-electionguard.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.8/site-packages/bulletin_board_electionguard-0.1.1-py3.8.egg-info/PKG-INFO",start:0,end:348,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board_electionguard-0.1.1-py3.8.egg-info/SOURCES.txt",start:348,end:1253,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board_electionguard-0.1.1-py3.8.egg-info/requires.txt",start:1253,end:1285,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board_electionguard-0.1.1-py3.8.egg-info/dependency_links.txt",start:1285,end:1443,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board_electionguard-0.1.1-py3.8.egg-info/top_level.txt",start:1443,end:1458,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/__init__.py",start:1458,end:1458,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/common.py",start:1458,end:6073,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/tally_decryptor.py",start:6073,end:15156,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/utils.py",start:15156,end:16389,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/messages.py",start:16389,end:18101,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/trustee.py",start:18101,end:34144,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/serializable.py",start:34144,end:36902,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/dummy_scheduler.py",start:36902,end:37273,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/voter.py",start:37273,end:41172,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/election.py",start:41172,end:45269,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/bulletin_board.py",start:45269,end:54785,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/__init__.py",start:54785,end:54785,audio:0}],remote_package_size:30901,package_uuid:"7bc125a9-1257-44c4-aaa9-e2890bb3679c"})})();
|
@@ -2,83 +2,111 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<meta charset="UTF-8">
|
5
|
-
<script src="https://
|
6
|
-
<script src="https://cdn.jsdelivr.net/npm/jquery.terminal/js/jquery.terminal.min.js"></script>
|
7
|
-
<link href="https://cdn.jsdelivr.net/npm/jquery.terminal/css/jquery.terminal.min.css" rel="stylesheet"/>
|
8
|
-
<link href="renderedhtml.css" rel="stylesheet"/>
|
9
|
-
<script type="text/javascript">
|
10
|
-
// set the pyodide files URL (packages.json, pyodide.asm.data etc)
|
11
|
-
window.languagePluginUrl = './';
|
12
|
-
</script>
|
5
|
+
<script src="https://cdn.jsdelivr.net/npm/jquery"></script>
|
6
|
+
<script src="https://cdn.jsdelivr.net/npm/jquery.terminal@2.23.0/js/jquery.terminal.min.js"></script>
|
7
|
+
<link href="https://cdn.jsdelivr.net/npm/jquery.terminal@2.23.0/css/jquery.terminal.min.css" rel="stylesheet"/>
|
13
8
|
<script src="./pyodide.js"></script>
|
9
|
+
<style>
|
10
|
+
.terminal { --size: 1.5; }
|
11
|
+
</style>
|
14
12
|
</head>
|
15
13
|
<body>
|
16
14
|
<script>
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
15
|
+
function sleep(s){
|
16
|
+
return new Promise(resolve => setTimeout(resolve, s));
|
17
|
+
}
|
18
|
+
async function main() {
|
19
|
+
await loadPyodide({ indexURL : './' });
|
20
|
+
let namespace = pyodide.globals.get("dict")();
|
21
|
+
pyodide.runPython(`
|
22
|
+
import sys
|
23
|
+
import js
|
24
|
+
from pyodide import console
|
25
|
+
import __main__
|
21
26
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
);
|
27
|
+
class PyConsole(console._InteractiveConsole):
|
28
|
+
def __init__(self):
|
29
|
+
super().__init__(
|
30
|
+
__main__.__dict__,
|
31
|
+
persistent_stream_redirection=False,
|
32
|
+
)
|
29
33
|
|
30
|
-
|
31
|
-
|
32
|
-
import io, code, sys
|
33
|
-
from js import term, pyodide
|
34
|
+
def banner(self):
|
35
|
+
return f"Welcome to the Pyodide terminal emulator 🐍\\n{super().banner()}"
|
34
36
|
|
35
|
-
class Console(code.InteractiveConsole):
|
36
|
-
def runcode(self, code):
|
37
|
-
sys.stdout = io.StringIO()
|
38
|
-
sys.stderr = io.StringIO()
|
39
|
-
term.runPython("\\n".join(self.buffer))
|
40
|
-
_c = Console(locals=globals())
|
41
|
-
`)
|
42
37
|
|
43
|
-
|
38
|
+
js.pyconsole = PyConsole()
|
39
|
+
`, namespace);
|
40
|
+
namespace.destroy();
|
44
41
|
|
45
|
-
|
46
|
-
if (result) {
|
47
|
-
term.set_prompt('[[;gray;]... ]')
|
48
|
-
} else {
|
49
|
-
term.set_prompt('[[;red;]>>> ]')
|
50
|
-
var stderr = pyodide.runPython("sys.stderr.getvalue()").trim()
|
51
|
-
if (stderr) {
|
52
|
-
term.echo(`[[;red;]${stderr}]`)
|
53
|
-
} else {
|
54
|
-
var stdout = pyodide.runPython("sys.stdout.getvalue()")
|
55
|
-
if (stdout) {
|
56
|
-
term.echo(stdout.trim())
|
57
|
-
}
|
58
|
-
}
|
59
|
-
}
|
60
|
-
}
|
42
|
+
let ps1 = '>>> ', ps2 = '... ';
|
61
43
|
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
)
|
44
|
+
async function lock(){
|
45
|
+
let resolve;
|
46
|
+
let ready = term.ready;
|
47
|
+
term.ready = new Promise(res => resolve = res);
|
48
|
+
await ready;
|
49
|
+
return resolve;
|
66
50
|
}
|
67
51
|
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
52
|
+
async function interpreter(command) {
|
53
|
+
let unlock = await lock();
|
54
|
+
try {
|
55
|
+
term.pause();
|
56
|
+
// multiline should be splitted (useful when pasting)
|
57
|
+
for( const c of command.split('\n') ) {
|
58
|
+
let run_complete = pyconsole.run_complete;
|
59
|
+
try {
|
60
|
+
const incomplete = pyconsole.push(c);
|
61
|
+
term.set_prompt(incomplete ? ps2 : ps1);
|
62
|
+
let r = await run_complete;
|
63
|
+
if(pyodide.isPyProxy(r)){
|
64
|
+
r.destroy();
|
65
|
+
}
|
66
|
+
} catch(e){
|
67
|
+
if(e.name !== "PythonError"){
|
68
|
+
term.error(e);
|
69
|
+
throw e;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
run_complete.destroy();
|
73
|
+
}
|
74
|
+
} finally {
|
75
|
+
term.resume();
|
76
|
+
await sleep(10);
|
77
|
+
unlock();
|
75
78
|
}
|
76
79
|
}
|
77
80
|
|
78
|
-
term
|
79
|
-
|
81
|
+
let term = $('body').terminal(
|
82
|
+
interpreter,
|
83
|
+
{
|
84
|
+
greetings: pyconsole.banner(),
|
85
|
+
prompt: ps1,
|
86
|
+
completionEscape: false,
|
87
|
+
completion: function(command, callback) {
|
88
|
+
callback(pyconsole.complete(command).toJs()[0]);
|
89
|
+
}
|
90
|
+
}
|
91
|
+
);
|
92
|
+
window.term = term;
|
93
|
+
pyconsole.stdout_callback = s => term.echo(s, {newline : false});
|
94
|
+
pyconsole.stderr_callback = s => {
|
95
|
+
term.error(s.trimEnd());
|
80
96
|
}
|
81
|
-
|
97
|
+
term.ready = Promise.resolve();
|
98
|
+
pyodide._module.on_fatal = async (e) => {
|
99
|
+
term.error("Pyodide has suffered a fatal error. Please report this to the Pyodide maintainers.");
|
100
|
+
term.error("The cause of the fatal error was:");
|
101
|
+
term.error(e);
|
102
|
+
term.error("Look in the browser console for more details.");
|
103
|
+
await term.ready;
|
104
|
+
term.pause();
|
105
|
+
await sleep(15);
|
106
|
+
term.pause();
|
107
|
+
};
|
108
|
+
}
|
109
|
+
window.console_ready = main();
|
82
110
|
</script>
|
83
111
|
</body>
|
84
112
|
</html>
|
@@ -1 +1 @@
|
|
1
|
-
var Module=typeof pyodide._module!=="undefined"?pyodide._module:{};Module.checkABI(1);if(!Module.expectedDataFileDownloads){Module.expectedDataFileDownloads=0;Module.finishedDataFileDownloads=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 location!=="undefined"){PACKAGE_PATH=encodeURIComponent(location.pathname.toString().substring(0,location.pathname.toString().lastIndexOf("/"))+"/")}else{throw"using preloaded data can only be done on a web page or in a web worker"}var PACKAGE_NAME="electionguard.data";var REMOTE_PACKAGE_BASE="electionguard.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){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.8",true,true);Module["FS_createPath"]("/lib/python3.8","site-packages",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages","electionguard",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages","electionguard-1.2.3-py3.8.egg-info",true,true);function DataRequest(start,end,audio){this.start=start;this.end=end;this.audio=audio}DataRequest.prototype={requests:{},open:function(mode,name){this.name=name;this.requests[name]=this;Module["addRunDependency"]("fp "+this.name)},send:function(){},onload:function(){var byteArray=this.byteArray.subarray(this.start,this.end);this.finish(byteArray)},finish:function(byteArray){var that=this;Module["FS_createPreloadedFile"](this.name,null,byteArray,true,true,function(){Module["removeRunDependency"]("fp "+that.name)},function(){if(that.audio){Module["removeRunDependency"]("fp "+that.name)}else{err("Preloading file "+that.name+" failed")}},false,true);this.requests[this.name]=null}};function processPackageData(arrayBuffer){Module.finishedDataFileDownloads++;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:183386,cachedIndexes:[-1,-1],cachedChunks:[null,null],offsets:[0,1137,2260,3346,4496,5541,6643,7814,9148,10294,11044,12165,12921,14042,14922,15865,16986,18131,19211,20266,21414,22386,23367,24425,25555,26598,27799,28975,29746,30552,31632,32871,33950,35280,36546,37788,38869,40078,41264,42240,43548,44732,45674,46801,47948,49163,50405,51394,52629,53704,54897,55864,57177,57962,58992,60281,61478,62614,63744,64859,65955,66937,67917,68857,69999,70981,71899,72880,73865,74923,75935,77038,78211,79219,80132,81077,82327,83397,84572,85629,86566,87718,88734,89731,90711,91617,92602,93663,94889,96054,97201,98520,99497,100487,101617,102867,104375,105450,106216,107244,108498,109495,110363,111168,112089,113049,113943,115121,116502,117645,118740,119752,120623,121614,122532,123438,124437,125346,126301,127289,128085,129243,130128,131234,132461,133689,134873,135995,137194,138285,139565,140697,141806,143120,144303,145422,146232,147373,149313,150707,151656,152547,153392,154135,154983,156141,157338,158455,159065,159675,160301,160676,161197,161738,162267,162843,163292,163786,164805,165709,166721,167666,168682,169624,170498,171412,172266,173266,174358,175411,176624,177701,179179,180487,181678,182515],sizes:[1137,1123,1086,1150,1045,1102,1171,1334,1146,750,1121,756,1121,880,943,1121,1145,1080,1055,1148,972,981,1058,1130,1043,1201,1176,771,806,1080,1239,1079,1330,1266,1242,1081,1209,1186,976,1308,1184,942,1127,1147,1215,1242,989,1235,1075,1193,967,1313,785,1030,1289,1197,1136,1130,1115,1096,982,980,940,1142,982,918,981,985,1058,1012,1103,1173,1008,913,945,1250,1070,1175,1057,937,1152,1016,997,980,906,985,1061,1226,1165,1147,1319,977,990,1130,1250,1508,1075,766,1028,1254,997,868,805,921,960,894,1178,1381,1143,1095,1012,871,991,918,906,999,909,955,988,796,1158,885,1106,1227,1228,1184,1122,1199,1091,1280,1132,1109,1314,1183,1119,810,1141,1940,1394,949,891,845,743,848,1158,1197,1117,610,610,626,375,521,541,529,576,449,494,1019,904,1012,945,1016,942,874,914,854,1e3,1092,1053,1213,1077,1478,1308,1191,837,871],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,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,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});Module["removeRunDependency"]("datafile_electionguard.data")}Module["addRunDependency"]("datafile_electionguard.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.8/site-packages/electionguard/decrypt_with_secrets.py",start:0,end:14134,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/nonces.py",start:14134,end:16514,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/chaum_pedersen.py",start:16514,end:34451,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/tally.py",start:34451,end:49074,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/data_store.py",start:49074,end:51825,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/decryption_share.py",start:51825,end:60904,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/type.py",start:60904,end:60992,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/schnorr.py",start:60992,end:63252,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/election_builder.py",start:63252,end:65875,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/ballot.py",start:65875,end:101969,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/utils.py",start:101969,end:105168,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/decrypt_with_shares.py",start:105168,end:111773,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/election_object_base.py",start:111773,end:112047,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/scheduler.py.orig",start:112047,end:115905,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/discrete_log.py",start:115905,end:119300,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/key_ceremony.py",start:119300,end:129056,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/decryption.py",start:129056,end:153866,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/schema.py",start:153866,end:154808,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/ballot_box.py",start:154808,end:157798,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/serializable.py",start:157798,end:165659,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/decryption_mediator.py",start:165659,end:179264,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/py.typed",start:179264,end:179264,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/proof.py",start:179264,end:179917,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/election.py",start:179917,end:184143,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/scheduler.py",start:184143,end:184599,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/manifest.py",start:184599,end:218303,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/hash.py",start:218303,end:221816,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/auxiliary.py",start:221816,end:223757,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/guardian.py",start:223757,end:246750,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/__init__.py",start:246750,end:246750,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/publish.py",start:246750,end:250983,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/election_polynomial.py",start:250983,end:255805,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/encrypt.py",start:255805,end:275496,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/singleton.py",start:275496,end:275912,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/ballot_validator.py",start:275912,end:280128,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/group.py",start:280128,end:294992,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/elgamal.py",start:294992,end:300056,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/election_description_schema.json",start:300056,end:322006,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/ballot_compact.py",start:322006,end:327656,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/key_ceremony_mediator.py",start:327656,end:339862,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/logs.py",start:339862,end:344895,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/rsa.py",start:344895,end:346790,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/ballot_code.py",start:346790,end:347731,audio:0},{filename:"/lib/python3.8/site-packages/electionguard-1.2.3-py3.8.egg-info/PKG-INFO",start:347731,end:358685,audio:0},{filename:"/lib/python3.8/site-packages/electionguard-1.2.3-py3.8.egg-info/SOURCES.txt",start:358685,end:360327,audio:0},{filename:"/lib/python3.8/site-packages/electionguard-1.2.3-py3.8.egg-info/requires.txt",start:360327,end:360401,audio:0},{filename:"/lib/python3.8/site-packages/electionguard-1.2.3-py3.8.egg-info/dependency_links.txt",start:360401,end:360402,audio:0},{filename:"/lib/python3.8/site-packages/electionguard-1.2.3-py3.8.egg-info/top_level.txt",start:360402,end:360416,audio:0}],remote_package_size:187482,package_uuid:"9ac04858-a12e-461c-a16c-230c2869f81e"})})();
|
1
|
+
var Module=typeof pyodide._module!=="undefined"?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 location!=="undefined"){PACKAGE_PATH=encodeURIComponent(location.pathname.toString().substring(0,location.pathname.toString().lastIndexOf("/"))+"/")}else{throw"using preloaded data can only be done on a web page or in a web worker"}var PACKAGE_NAME="electionguard.data";var REMOTE_PACKAGE_BASE="electionguard.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){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.8",true,true);Module["FS_createPath"]("/lib/python3.8","site-packages",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages","electionguard",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages","electionguard-1.2.3-py3.8.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:183386,cachedIndexes:[-1,-1],cachedChunks:[null,null],offsets:[0,1137,2260,3346,4496,5541,6643,7814,9148,10294,11044,12165,12921,14042,14922,15865,16986,18131,19211,20266,21414,22386,23367,24425,25555,26598,27799,28975,29746,30552,31632,32871,33950,35280,36546,37788,38869,40078,41264,42240,43548,44732,45674,46801,47948,49163,50405,51394,52629,53704,54897,55864,57177,57962,58992,60281,61478,62614,63744,64859,65955,66937,67917,68857,69999,70981,71899,72880,73865,74923,75935,77038,78211,79219,80132,81077,82327,83397,84572,85629,86566,87718,88734,89731,90711,91617,92602,93663,94889,96054,97201,98520,99497,100487,101617,102867,104375,105450,106216,107244,108498,109495,110363,111168,112089,113049,113943,115121,116502,117645,118740,119752,120623,121614,122532,123438,124437,125346,126301,127289,128085,129243,130128,131234,132461,133689,134873,135995,137194,138285,139565,140697,141806,143120,144303,145422,146232,147373,149313,150707,151656,152547,153392,154135,154983,156141,157338,158455,159065,159675,160301,160676,161197,161738,162267,162843,163292,163786,164805,165709,166721,167666,168682,169624,170498,171412,172266,173266,174358,175411,176624,177701,179179,180487,181678,182515],sizes:[1137,1123,1086,1150,1045,1102,1171,1334,1146,750,1121,756,1121,880,943,1121,1145,1080,1055,1148,972,981,1058,1130,1043,1201,1176,771,806,1080,1239,1079,1330,1266,1242,1081,1209,1186,976,1308,1184,942,1127,1147,1215,1242,989,1235,1075,1193,967,1313,785,1030,1289,1197,1136,1130,1115,1096,982,980,940,1142,982,918,981,985,1058,1012,1103,1173,1008,913,945,1250,1070,1175,1057,937,1152,1016,997,980,906,985,1061,1226,1165,1147,1319,977,990,1130,1250,1508,1075,766,1028,1254,997,868,805,921,960,894,1178,1381,1143,1095,1012,871,991,918,906,999,909,955,988,796,1158,885,1106,1227,1228,1184,1122,1199,1091,1280,1132,1109,1314,1183,1119,810,1141,1940,1394,949,891,845,743,848,1158,1197,1117,610,610,626,375,521,541,529,576,449,494,1019,904,1012,945,1016,942,874,914,854,1e3,1092,1053,1213,1077,1478,1308,1191,837,871],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,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,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_electionguard.data")}Module["addRunDependency"]("datafile_electionguard.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.8/site-packages/electionguard/decrypt_with_secrets.py",start:0,end:14134,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/nonces.py",start:14134,end:16514,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/chaum_pedersen.py",start:16514,end:34451,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/tally.py",start:34451,end:49074,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/data_store.py",start:49074,end:51825,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/decryption_share.py",start:51825,end:60904,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/type.py",start:60904,end:60992,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/schnorr.py",start:60992,end:63252,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/election_builder.py",start:63252,end:65875,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/ballot.py",start:65875,end:101969,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/utils.py",start:101969,end:105168,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/decrypt_with_shares.py",start:105168,end:111773,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/election_object_base.py",start:111773,end:112047,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/scheduler.py.orig",start:112047,end:115905,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/discrete_log.py",start:115905,end:119300,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/key_ceremony.py",start:119300,end:129056,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/decryption.py",start:129056,end:153866,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/schema.py",start:153866,end:154808,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/ballot_box.py",start:154808,end:157798,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/serializable.py",start:157798,end:165659,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/decryption_mediator.py",start:165659,end:179264,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/py.typed",start:179264,end:179264,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/proof.py",start:179264,end:179917,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/election.py",start:179917,end:184143,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/scheduler.py",start:184143,end:184599,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/manifest.py",start:184599,end:218303,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/hash.py",start:218303,end:221816,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/auxiliary.py",start:221816,end:223757,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/guardian.py",start:223757,end:246750,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/__init__.py",start:246750,end:246750,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/publish.py",start:246750,end:250983,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/election_polynomial.py",start:250983,end:255805,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/encrypt.py",start:255805,end:275496,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/singleton.py",start:275496,end:275912,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/ballot_validator.py",start:275912,end:280128,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/group.py",start:280128,end:294992,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/elgamal.py",start:294992,end:300056,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/election_description_schema.json",start:300056,end:322006,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/ballot_compact.py",start:322006,end:327656,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/key_ceremony_mediator.py",start:327656,end:339862,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/logs.py",start:339862,end:344895,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/rsa.py",start:344895,end:346790,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/ballot_code.py",start:346790,end:347731,audio:0},{filename:"/lib/python3.8/site-packages/electionguard-1.2.3-py3.8.egg-info/PKG-INFO",start:347731,end:358685,audio:0},{filename:"/lib/python3.8/site-packages/electionguard-1.2.3-py3.8.egg-info/SOURCES.txt",start:358685,end:360327,audio:0},{filename:"/lib/python3.8/site-packages/electionguard-1.2.3-py3.8.egg-info/requires.txt",start:360327,end:360401,audio:0},{filename:"/lib/python3.8/site-packages/electionguard-1.2.3-py3.8.egg-info/dependency_links.txt",start:360401,end:360402,audio:0},{filename:"/lib/python3.8/site-packages/electionguard-1.2.3-py3.8.egg-info/top_level.txt",start:360402,end:360416,audio:0}],remote_package_size:187482,package_uuid:"13edd883-2ea6-4431-b954-3e29426c8f4b"})})();
|
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
var Module=typeof pyodide._module!=="undefined"?pyodide._module:{};Module.checkABI(1);if(!Module.expectedDataFileDownloads){Module.expectedDataFileDownloads=0;Module.finishedDataFileDownloads=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 location!=="undefined"){PACKAGE_PATH=encodeURIComponent(location.pathname.toString().substring(0,location.pathname.toString().lastIndexOf("/"))+"/")}else{throw"using preloaded data can only be done on a web page or in a web worker"}var PACKAGE_NAME="gmpy2.data";var REMOTE_PACKAGE_BASE="gmpy2.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){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.8",true,true);Module["FS_createPath"]("/lib/python3.8","site-packages",true,true);function DataRequest(start,end,audio){this.start=start;this.end=end;this.audio=audio}DataRequest.prototype={requests:{},open:function(mode,name){this.name=name;this.requests[name]=this;Module["addRunDependency"]("fp "+this.name)},send:function(){},onload:function(){var byteArray=this.byteArray.subarray(this.start,this.end);this.finish(byteArray)},finish:function(byteArray){var that=this;Module["FS_createPreloadedFile"](this.name,null,byteArray,true,true,function(){Module["removeRunDependency"]("fp "+that.name)},function(){if(that.audio){Module["removeRunDependency"]("fp "+that.name)}else{err("Preloading file "+that.name+" failed")}},false,true);this.requests[this.name]=null}};function processPackageData(arrayBuffer){Module.finishedDataFileDownloads++;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:430699,cachedIndexes:[-1,-1],cachedChunks:[null,null],offsets:[0,1296,2599,3563,4978,6355,7592,8802,10015,11169,12250,13306,14325,15439,16757,17962,19002,2e4,21031,21991,22928,23861,24776,25727,26806,28600,29982,31268,32585,34022,34881,36030,37175,38350,39435,40605,41845,43041,44299,45316,46133,46892,47937,49030,50239,51512,52524,53614,54894,56079,57084,58259,59444,60394,61506,62215,63067,64543,65670,66781,67910,69003,70096,71401,72538,73560,74615,75915,76918,78031,79104,80014,81389,82536,83783,84715,86092,87560,88785,90174,91343,92552,93703,94908,96119,97432,98746,99740,101049,102425,103686,104735,105921,107101,108290,109359,110568,112004,113288,114505,115587,116538,118092,119258,120904,122088,123231,124735,125954,127538,129069,130574,132135,133713,134931,136434,137777,139232,140689,142036,143454,144749,145999,147538,148908,150336,151879,153288,154636,156140,157734,159125,160675,162153,163716,165105,166294,167776,169185,170622,171971,173577,175135,176679,178278,179682,181337,182413,183900,185350,186992,188539,189999,191526,192807,194130,195077,196527,197844,199366,200552,201982,203241,204533,205884,207475,209202,210909,212579,214127,215651,217043,218568,219921,221553,223112,224607,226089,227526,229121,230548,231587,233270,234885,236515,238220,239821,241409,243070,244477,246120,247779,249192,250839,252375,253825,254898,256469,257742,259087,260456,262107,263775,265134,266622,268069,269275,270820,272445,274043,275631,277056,278646,280210,281658,283284,284682,285989,287346,288898,290437,291878,292954,294149,295079,296071,297604,298915,300169,301482,302765,304040,305187,306568,307929,309323,310898,312383,313953,315548,317124,318802,320444,322097,323700,325318,326865,328463,330016,331320,332950,334416,336e3,337324,338565,340183,341843,342947,344513,346021,347616,349191,350120,351378,352287,353302,354167,354757,355731,356763,357447,358022,358721,359760,361114,362137,363328,364564,365611,366659,367708,368848,369907,370128,370551,371246,372092,372928,373624,374277,374915,376109,377180,378323,379055,380021,381090,382179,383242,384406,385422,386827,388007,389215,391051,393084,395089,396949,398992,401035,403069,405111,407145,409184,411219,413263,415311,417359,419407,421304,423352,423862,425040,426375,427150,427866,428853,430052],sizes:[1296,1303,964,1415,1377,1237,1210,1213,1154,1081,1056,1019,1114,1318,1205,1040,998,1031,960,937,933,915,951,1079,1794,1382,1286,1317,1437,859,1149,1145,1175,1085,1170,1240,1196,1258,1017,817,759,1045,1093,1209,1273,1012,1090,1280,1185,1005,1175,1185,950,1112,709,852,1476,1127,1111,1129,1093,1093,1305,1137,1022,1055,1300,1003,1113,1073,910,1375,1147,1247,932,1377,1468,1225,1389,1169,1209,1151,1205,1211,1313,1314,994,1309,1376,1261,1049,1186,1180,1189,1069,1209,1436,1284,1217,1082,951,1554,1166,1646,1184,1143,1504,1219,1584,1531,1505,1561,1578,1218,1503,1343,1455,1457,1347,1418,1295,1250,1539,1370,1428,1543,1409,1348,1504,1594,1391,1550,1478,1563,1389,1189,1482,1409,1437,1349,1606,1558,1544,1599,1404,1655,1076,1487,1450,1642,1547,1460,1527,1281,1323,947,1450,1317,1522,1186,1430,1259,1292,1351,1591,1727,1707,1670,1548,1524,1392,1525,1353,1632,1559,1495,1482,1437,1595,1427,1039,1683,1615,1630,1705,1601,1588,1661,1407,1643,1659,1413,1647,1536,1450,1073,1571,1273,1345,1369,1651,1668,1359,1488,1447,1206,1545,1625,1598,1588,1425,1590,1564,1448,1626,1398,1307,1357,1552,1539,1441,1076,1195,930,992,1533,1311,1254,1313,1283,1275,1147,1381,1361,1394,1575,1485,1570,1595,1576,1678,1642,1653,1603,1618,1547,1598,1553,1304,1630,1466,1584,1324,1241,1618,1660,1104,1566,1508,1595,1575,929,1258,909,1015,865,590,974,1032,684,575,699,1039,1354,1023,1191,1236,1047,1048,1049,1140,1059,221,423,695,846,836,696,653,638,1194,1071,1143,732,966,1069,1089,1063,1164,1016,1405,1180,1208,1836,2033,2005,1860,2043,2043,2034,2042,2034,2039,2035,2044,2048,2048,2048,1897,2048,510,1178,1335,775,716,987,1199,647],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,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,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,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,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,0,0,0,1,0,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});Module["removeRunDependency"]("datafile_gmpy2.data")}Module["addRunDependency"]("datafile_gmpy2.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.8/site-packages/gmpy2-2.0.8-py3.8.egg-info",start:0,end:1018,audio:0},{filename:"/lib/python3.8/site-packages/gmpy2.so",start:1018,end:670499,audio:0}],remote_package_size:434795,package_uuid:"c019654b-eeaa-4ad6-b743-b5478ea0a9a5"})})();
|
1
|
+
var Module=typeof pyodide._module!=="undefined"?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 location!=="undefined"){PACKAGE_PATH=encodeURIComponent(location.pathname.toString().substring(0,location.pathname.toString().lastIndexOf("/"))+"/")}else{throw"using preloaded data can only be done on a web page or in a web worker"}var PACKAGE_NAME="gmpy2.data";var REMOTE_PACKAGE_BASE="gmpy2.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){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.8",true,true);Module["FS_createPath"]("/lib/python3.8","site-packages",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:515635,cachedIndexes:[-1,-1],cachedChunks:[null,null],offsets:[0,1363,2654,3699,5021,6360,7625,8850,9964,11066,11707,12345,12961,13572,14191,14982,15796,16656,17608,18529,19483,20426,21341,22235,23198,24611,25754,26970,28171,29352,30785,32243,33581,35063,36400,37357,38384,39386,40269,41226,42276,43388,44685,46023,46962,47704,48321,49248,50251,51451,52898,54130,55143,56489,57416,58574,59450,60293,61692,63028,63948,65115,66254,67589,68771,69687,70900,72047,73183,74353,75409,76703,77994,79056,80142,80958,82253,83570,84720,85752,86816,87905,88961,90086,91279,92696,93980,95154,96560,97795,98886,100127,101343,102550,103693,105111,106267,107206,108525,109806,111051,112261,113283,114534,115687,116783,117650,118864,120238,121530,122612,124014,125145,126299,127317,128413,129697,131003,132287,133458,134626,135963,137282,138288,139580,140830,142105,143319,144683,145882,146938,147969,149132,150439,151664,152871,153866,155144,156519,157885,159078,160292,161576,162934,164105,165419,166668,167805,168980,170238,171565,172822,174066,175369,176622,177827,179011,180299,181453,182823,184116,185397,186468,187733,189031,190341,191695,192865,194088,195292,196493,197700,199066,200125,201496,202514,203687,205011,206374,207750,209006,210241,211471,212681,213969,215094,216167,216973,218194,219416,220641,221957,223122,224069,225364,226553,227419,228521,229913,231317,232552,233751,234939,236126,237340,238513,239830,241174,242477,243764,245077,246298,247638,248935,250208,251386,252691,253923,255220,256400,257586,258749,260042,260987,261921,263131,264522,265777,266893,268235,269393,270547,271829,272891,274098,275142,276350,277647,278846,280265,281634,282848,283943,285368,286587,287901,289333,290394,291402,292716,294124,295574,296987,298286,299480,300785,301840,303039,304130,305094,306312,307486,308550,309632,310753,311828,312886,314017,315348,316380,317564,318610,319811,321064,321983,323221,324515,325635,326872,327936,329106,330317,331607,332770,333990,335092,336321,337571,338743,340023,341062,342166,343160,344134,345135,346231,347246,348190,349319,350257,351297,352125,352661,353070,353797,354704,355141,355582,356005,356638,357018,357372,358471,359380,360345,361289,362509,363525,364634,365658,366762,367720,368617,369560,370551,371392,372492,373613,374695,375817,377036,378290,379470,380636,381909,383147,384429,385620,386937,388134,389452,390777,392056,393269,394456,395691,396986,398199,399390,400666,401854,402972,404134,405208,406411,407657,408844,409964,411084,412382,413553,414593,415497,416753,417550,418727,419973,421320,422655,424031,425234,426459,427429,428746,430083,431388,432614,433812,434959,436332,437280,438128,438975,440148,440919,442076,442974,443749,444381,445346,446507,447276,447789,448587,449732,451025,451938,453021,453905,454738,455495,456155,456901,457601,458666,459981,461175,462423,463698,464771,465831,466878,467991,468975,470260,471673,472777,473714,474463,475394,476340,477867,479898,481933,483813,485818,487866,489914,491962,493992,496038,498075,500109,502146,504179,506219,508257,510262,512194,513175,514684],sizes:[1363,1291,1045,1322,1339,1265,1225,1114,1102,641,638,616,611,619,791,814,860,952,921,954,943,915,894,963,1413,1143,1216,1201,1181,1433,1458,1338,1482,1337,957,1027,1002,883,957,1050,1112,1297,1338,939,742,617,927,1003,1200,1447,1232,1013,1346,927,1158,876,843,1399,1336,920,1167,1139,1335,1182,916,1213,1147,1136,1170,1056,1294,1291,1062,1086,816,1295,1317,1150,1032,1064,1089,1056,1125,1193,1417,1284,1174,1406,1235,1091,1241,1216,1207,1143,1418,1156,939,1319,1281,1245,1210,1022,1251,1153,1096,867,1214,1374,1292,1082,1402,1131,1154,1018,1096,1284,1306,1284,1171,1168,1337,1319,1006,1292,1250,1275,1214,1364,1199,1056,1031,1163,1307,1225,1207,995,1278,1375,1366,1193,1214,1284,1358,1171,1314,1249,1137,1175,1258,1327,1257,1244,1303,1253,1205,1184,1288,1154,1370,1293,1281,1071,1265,1298,1310,1354,1170,1223,1204,1201,1207,1366,1059,1371,1018,1173,1324,1363,1376,1256,1235,1230,1210,1288,1125,1073,806,1221,1222,1225,1316,1165,947,1295,1189,866,1102,1392,1404,1235,1199,1188,1187,1214,1173,1317,1344,1303,1287,1313,1221,1340,1297,1273,1178,1305,1232,1297,1180,1186,1163,1293,945,934,1210,1391,1255,1116,1342,1158,1154,1282,1062,1207,1044,1208,1297,1199,1419,1369,1214,1095,1425,1219,1314,1432,1061,1008,1314,1408,1450,1413,1299,1194,1305,1055,1199,1091,964,1218,1174,1064,1082,1121,1075,1058,1131,1331,1032,1184,1046,1201,1253,919,1238,1294,1120,1237,1064,1170,1211,1290,1163,1220,1102,1229,1250,1172,1280,1039,1104,994,974,1001,1096,1015,944,1129,938,1040,828,536,409,727,907,437,441,423,633,380,354,1099,909,965,944,1220,1016,1109,1024,1104,958,897,943,991,841,1100,1121,1082,1122,1219,1254,1180,1166,1273,1238,1282,1191,1317,1197,1318,1325,1279,1213,1187,1235,1295,1213,1191,1276,1188,1118,1162,1074,1203,1246,1187,1120,1120,1298,1171,1040,904,1256,797,1177,1246,1347,1335,1376,1203,1225,970,1317,1337,1305,1226,1198,1147,1373,948,848,847,1173,771,1157,898,775,632,965,1161,769,513,798,1145,1293,913,1083,884,833,757,660,746,700,1065,1315,1194,1248,1275,1073,1060,1047,1113,984,1285,1413,1104,937,749,931,946,1527,2031,2035,1880,2005,2048,2048,2048,2030,2046,2037,2034,2037,2033,2040,2038,2005,1932,981,1509,951],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,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,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,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,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,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,1,1,1,1,1,1,1,1,1,1,1,0,0,0,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_gmpy2.data")}Module["addRunDependency"]("datafile_gmpy2.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.8/site-packages/gmpy2-2.0.8-py3.8.egg-info",start:0,end:1018,audio:0},{filename:"/lib/python3.8/site-packages/gmpy2.so",start:1018,end:902657,audio:0}],remote_package_size:519731,package_uuid:"e8db1d02-cf54-4615-8bcf-86a7dddbb410"})})();
|
@@ -1 +1 @@
|
|
1
|
-
var Module=typeof pyodide._module!=="undefined"?pyodide._module:{};Module.checkABI(1);if(!Module.expectedDataFileDownloads){Module.expectedDataFileDownloads=0;Module.finishedDataFileDownloads=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 location!=="undefined"){PACKAGE_PATH=encodeURIComponent(location.pathname.toString().substring(0,location.pathname.toString().lastIndexOf("/"))+"/")}else{throw"using preloaded data can only be done on a web page or in a web worker"}var PACKAGE_NAME="hypothesis.data";var REMOTE_PACKAGE_BASE="hypothesis.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){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"]("/","bin",true,true);Module["FS_createPath"]("/","lib",true,true);Module["FS_createPath"]("/lib","python3.8",true,true);Module["FS_createPath"]("/lib/python3.8","site-packages",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages","hypothesis-5.36.0-py3.8.egg-info",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages","hypothesis",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/hypothesis","internal",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/hypothesis/internal","conjecture",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/hypothesis/internal/conjecture","shrinking",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/hypothesis/internal/conjecture","dfa",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/hypothesis","extra",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/hypothesis/extra","django",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/hypothesis/extra","pandas",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/hypothesis","vendor",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/hypothesis","strategies",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/hypothesis/strategies","_internal",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/hypothesis","utils",true,true);function DataRequest(start,end,audio){this.start=start;this.end=end;this.audio=audio}DataRequest.prototype={requests:{},open:function(mode,name){this.name=name;this.requests[name]=this;Module["addRunDependency"]("fp "+this.name)},send:function(){},onload:function(){var byteArray=this.byteArray.subarray(this.start,this.end);this.finish(byteArray)},finish:function(byteArray){var that=this;Module["FS_createPreloadedFile"](this.name,null,byteArray,true,true,function(){Module["removeRunDependency"]("fp "+that.name)},function(){if(that.audio){Module["removeRunDependency"]("fp "+that.name)}else{err("Preloading file "+that.name+" failed")}},false,true);this.requests[this.name]=null}};function processPackageData(arrayBuffer){Module.finishedDataFileDownloads++;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:614039,cachedIndexes:[-1,-1],cachedChunks:[null,null],offsets:[0,1397,2575,3423,3969,5226,6665,8049,9561,10838,12035,13063,14244,15317,16059,17366,18427,19821,21106,22132,23263,24373,25723,26844,28180,29364,30583,32015,33277,34667,35927,37163,38400,39533,40906,42106,43308,44151,45081,46250,47485,48603,49886,51184,52636,53826,54968,56022,57155,58213,59462,60566,61927,63431,64661,66297,67708,69085,70485,71639,73208,74416,75712,77076,78547,79732,80997,82126,83281,84426,85658,87146,88535,89872,91179,92348,93576,94963,96339,97759,99286,100708,102012,103091,104442,105831,106943,108158,109541,110624,112096,113422,114882,116398,117574,119157,120439,121845,123154,124439,125543,126965,128336,129737,130824,132090,133240,134643,135918,137091,138132,139502,140885,142403,143532,144924,146429,147832,149277,150744,151906,153390,154387,155479,156964,158380,159833,161383,162931,164360,165633,166926,168318,169184,170358,171533,172689,173914,175202,176338,177433,178764,180056,181417,182670,184044,185195,186487,187693,189063,190461,191754,193166,194463,195812,197161,198377,199343,200648,201670,202691,203910,205148,206342,207688,209110,210369,211539,212819,213934,215037,216354,217528,218713,220243,221653,223036,223940,225348,226397,227819,229293,230682,231909,232870,234049,235131,236132,237568,238918,240026,241344,242825,244085,245546,246840,248382,249641,250586,251968,253204,254758,255954,257045,258417,259835,261084,262378,263425,264703,265743,266670,268135,269322,270554,271867,273091,274288,275474,276732,278084,279223,280676,281897,283031,284549,285923,287176,288499,289890,291007,292543,293742,295081,296569,298073,299414,300649,302050,303261,304558,305603,306640,307814,309114,310351,311648,312916,314192,315134,316767,318434,319848,321132,322325,323655,324864,326015,327254,328627,330233,331792,332947,334120,335666,337248,338581,340011,341397,342788,344236,345714,347001,348500,349810,351094,352440,353723,355055,356516,357685,358973,360326,361666,363223,364508,365900,367341,368623,369890,371217,372356,373496,374751,376168,377628,378790,380006,381106,382043,383415,384752,386032,387115,388392,389614,390775,392196,393430,394651,395931,397091,398184,399474,400883,402245,403669,404814,406433,407919,409181,410332,411596,412768,414237,415603,416932,418370,419789,420895,422003,423384,424633,425859,426727,427961,429076,430263,431542,432603,433897,435282,436545,437701,438829,439718,440753,442171,443497,444599,445736,447066,448164,449308,450470,451497,452541,453795,454998,455925,457533,459361,461256,463125,464842,466440,467709,469072,470303,471744,473041,474466,475818,476955,477914,479190,480364,481714,483011,484193,485731,486996,488393,489908,490921,492153,493386,494675,495841,496840,498177,499056,500124,501236,502611,503949,505108,506272,507524,508583,509746,510948,512287,513786,515143,516645,517977,519435,520856,522128,523418,524740,525769,526950,528312,529537,530901,532269,533589,534619,536009,537314,538644,539865,541300,542772,544209,545588,546935,548268,549547,551055,552548,553781,555166,556600,557709,558685,559742,560813,561768,562750,563621,564994,566051,567129,568036,569491,570895,572166,573466,574915,576313,577394,578562,579749,580985,582151,583394,584603,585594,587041,588192,589312,590309,591285,592598,593623,594676,595836,597212,598315,599684,600776,601950,602936,603795,604844,605892,607464,608843,610207,611255,612379,613522],sizes:[1397,1178,848,546,1257,1439,1384,1512,1277,1197,1028,1181,1073,742,1307,1061,1394,1285,1026,1131,1110,1350,1121,1336,1184,1219,1432,1262,1390,1260,1236,1237,1133,1373,1200,1202,843,930,1169,1235,1118,1283,1298,1452,1190,1142,1054,1133,1058,1249,1104,1361,1504,1230,1636,1411,1377,1400,1154,1569,1208,1296,1364,1471,1185,1265,1129,1155,1145,1232,1488,1389,1337,1307,1169,1228,1387,1376,1420,1527,1422,1304,1079,1351,1389,1112,1215,1383,1083,1472,1326,1460,1516,1176,1583,1282,1406,1309,1285,1104,1422,1371,1401,1087,1266,1150,1403,1275,1173,1041,1370,1383,1518,1129,1392,1505,1403,1445,1467,1162,1484,997,1092,1485,1416,1453,1550,1548,1429,1273,1293,1392,866,1174,1175,1156,1225,1288,1136,1095,1331,1292,1361,1253,1374,1151,1292,1206,1370,1398,1293,1412,1297,1349,1349,1216,966,1305,1022,1021,1219,1238,1194,1346,1422,1259,1170,1280,1115,1103,1317,1174,1185,1530,1410,1383,904,1408,1049,1422,1474,1389,1227,961,1179,1082,1001,1436,1350,1108,1318,1481,1260,1461,1294,1542,1259,945,1382,1236,1554,1196,1091,1372,1418,1249,1294,1047,1278,1040,927,1465,1187,1232,1313,1224,1197,1186,1258,1352,1139,1453,1221,1134,1518,1374,1253,1323,1391,1117,1536,1199,1339,1488,1504,1341,1235,1401,1211,1297,1045,1037,1174,1300,1237,1297,1268,1276,942,1633,1667,1414,1284,1193,1330,1209,1151,1239,1373,1606,1559,1155,1173,1546,1582,1333,1430,1386,1391,1448,1478,1287,1499,1310,1284,1346,1283,1332,1461,1169,1288,1353,1340,1557,1285,1392,1441,1282,1267,1327,1139,1140,1255,1417,1460,1162,1216,1100,937,1372,1337,1280,1083,1277,1222,1161,1421,1234,1221,1280,1160,1093,1290,1409,1362,1424,1145,1619,1486,1262,1151,1264,1172,1469,1366,1329,1438,1419,1106,1108,1381,1249,1226,868,1234,1115,1187,1279,1061,1294,1385,1263,1156,1128,889,1035,1418,1326,1102,1137,1330,1098,1144,1162,1027,1044,1254,1203,927,1608,1828,1895,1869,1717,1598,1269,1363,1231,1441,1297,1425,1352,1137,959,1276,1174,1350,1297,1182,1538,1265,1397,1515,1013,1232,1233,1289,1166,999,1337,879,1068,1112,1375,1338,1159,1164,1252,1059,1163,1202,1339,1499,1357,1502,1332,1458,1421,1272,1290,1322,1029,1181,1362,1225,1364,1368,1320,1030,1390,1305,1330,1221,1435,1472,1437,1379,1347,1333,1279,1508,1493,1233,1385,1434,1109,976,1057,1071,955,982,871,1373,1057,1078,907,1455,1404,1271,1300,1449,1398,1081,1168,1187,1236,1166,1243,1209,991,1447,1151,1120,997,976,1313,1025,1053,1160,1376,1103,1369,1092,1174,986,859,1049,1048,1572,1379,1364,1048,1124,1143,517],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,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,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,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,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,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,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,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});Module["removeRunDependency"]("datafile_hypothesis.data")}Module["addRunDependency"]("datafile_hypothesis.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:"/bin/hypothesis",start:0,end:406,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis-5.36.0-py3.8.egg-info/not-zip-safe",start:406,end:407,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis-5.36.0-py3.8.egg-info/PKG-INFO",start:407,end:4791,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis-5.36.0-py3.8.egg-info/SOURCES.txt",start:4791,end:8850,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis-5.36.0-py3.8.egg-info/requires.txt",start:8850,end:9326,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis-5.36.0-py3.8.egg-info/dependency_links.txt",start:9326,end:9327,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis-5.36.0-py3.8.egg-info/top_level.txt",start:9327,end:9338,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis-5.36.0-py3.8.egg-info/entry_points.txt",start:9338,end:9457,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/errors.py",start:9457,end:15218,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/stateful.py",start:15218,end:45072,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/_error_if_old.py",start:45072,end:46074,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/database.py",start:46074,end:53645,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/core.py",start:53645,end:105272,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/configuration.py",start:105272,end:106598,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/control.py",start:106598,end:113463,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/py.typed",start:113463,end:113463,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/executors.py",start:113463,end:115499,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/statistics.py",start:115499,end:120803,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/provisional.py",start:120803,end:128313,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/__init__.py",start:128313,end:129950,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/_settings.py",start:129950,end:152056,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/version.py",start:152056,end:152756,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/entry_points.py",start:152756,end:153775,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/reporting.py",start:153775,end:155529,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/compat.py",start:155529,end:162866,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/healthcheck.py",start:162866,end:164176,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/intervalsets.py",start:164176,end:166649,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/validation.py",start:166649,end:171145,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/cache.py",start:171145,end:180724,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/detection.py",start:180724,end:181544,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/coverage.py",start:181544,end:185110,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/lazyformat.py",start:185110,end:186347,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/escalation.py",start:186347,end:189704,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/floats.py",start:189704,end:192597,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/charmap.py",start:192597,end:205688,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/reflection.py",start:205688,end:229065,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/cathetus.py",start:229065,end:231507,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/__init__.py",start:231507,end:232125,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/entropy.py",start:232125,end:235900,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/utils.py",start:235900,end:251895,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/shrinker.py",start:251895,end:310279,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/engine.py",start:310279,end:355164,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/floats.py",start:355164,end:362982,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/choicetree.py",start:362982,end:367501,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/datatree.py",start:367501,end:384356,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/junkdrawer.py",start:384356,end:394272,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/__init__.py",start:394272,end:394890,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/pareto.py",start:394890,end:409438,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/optimiser.py",start:409438,end:416934,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/data.py",start:416934,end:453476,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/shrinking/common.py",start:453476,end:459124,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/shrinking/dfas.py",start:459124,end:471206,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/shrinking/ordering.py",start:471206,end:474950,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/shrinking/lexical.py",start:474950,end:477004,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/shrinking/floats.py",start:477004,end:480355,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/shrinking/integer.py",start:480355,end:482769,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/shrinking/learned_dfas.py",start:482769,end:484820,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/shrinking/__init__.py",start:484820,end:485769,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/dfa/__init__.py",start:485769,end:509997,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/dfa/lstar.py",start:509997,end:529512,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/pytz.py",start:529512,end:531540,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/lark.py",start:531540,end:540287,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/ghostwriter.py",start:540287,end:579328,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/cli.py",start:579328,end:584903,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/numpy.py",start:584903,end:647228,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/__init__.py",start:647228,end:647846,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/dateutil.py",start:647846,end:650221,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/dpcontracts.py",start:650221,end:652257,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/pytestplugin.py",start:652257,end:661909,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/django/_impl.py",start:661909,end:671049,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/django/_fields.py",start:671049,end:681763,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/django/__init__.py",start:681763,end:682720,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/pandas/__init__.py",start:682720,end:683556,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/pandas/impl.py",start:683556,end:708222,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/vendor/pretty.py",start:708222,end:735689,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/vendor/__init__.py",start:735689,end:736307,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/vendor/tlds-alpha-by-domain.txt",start:736307,end:746616,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/__init__.py",start:746616,end:749324,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/types.py",start:749324,end:772100,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/recursive.py",start:772100,end:775965,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/attrs.py",start:775965,end:782741,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/core.py",start:782741,end:871454,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/flatmapped.py",start:871454,end:873182,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/misc.py",start:873182,end:874647,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/functions.py",start:874647,end:876760,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/ipaddress.py",start:876760,end:881115,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/datetime.py",start:881115,end:894896,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/shared.py",start:894896,end:896370,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/collections.py",start:896370,end:905897,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/deferred.py",start:905897,end:909524,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/__init__.py",start:909524,end:910347,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/strings.py",start:910347,end:914603,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/strategies.py",start:914603,end:943654,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/regex.py",start:943654,end:960333,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/numbers.py",start:960333,end:965899,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/random.py",start:965899,end:978954,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/featureflags.py",start:978954,end:983598,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/lazy.py",start:983598,end:988843,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/utils/conventions.py",start:988843,end:989853,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/utils/dynamicvariables.py",start:989853,end:991035,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/utils/__init__.py",start:991035,end:991796,audio:0}],remote_package_size:618135,package_uuid:"ccb78b79-c0d5-44fd-832c-3ecaa2e8e37a"})})();
|
1
|
+
var Module=typeof pyodide._module!=="undefined"?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 location!=="undefined"){PACKAGE_PATH=encodeURIComponent(location.pathname.toString().substring(0,location.pathname.toString().lastIndexOf("/"))+"/")}else{throw"using preloaded data can only be done on a web page or in a web worker"}var PACKAGE_NAME="hypothesis.data";var REMOTE_PACKAGE_BASE="hypothesis.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){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"]("/","bin",true,true);Module["FS_createPath"]("/","lib",true,true);Module["FS_createPath"]("/lib","python3.8",true,true);Module["FS_createPath"]("/lib/python3.8","site-packages",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages","hypothesis-5.36.0-py3.8.egg-info",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages","hypothesis",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/hypothesis","internal",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/hypothesis/internal","conjecture",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/hypothesis/internal/conjecture","shrinking",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/hypothesis/internal/conjecture","dfa",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/hypothesis","extra",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/hypothesis/extra","django",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/hypothesis/extra","pandas",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/hypothesis","vendor",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/hypothesis","strategies",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/hypothesis/strategies","_internal",true,true);Module["FS_createPath"]("/lib/python3.8/site-packages/hypothesis","utils",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:614039,cachedIndexes:[-1,-1],cachedChunks:[null,null],offsets:[0,1397,2575,3423,3969,5226,6665,8049,9561,10838,12035,13063,14244,15317,16059,17366,18427,19821,21106,22132,23263,24373,25723,26844,28180,29364,30583,32015,33277,34667,35927,37163,38400,39533,40906,42106,43308,44151,45081,46250,47485,48603,49886,51184,52636,53826,54968,56022,57155,58213,59462,60566,61927,63431,64661,66297,67708,69085,70485,71639,73208,74416,75712,77076,78547,79732,80997,82126,83281,84426,85658,87146,88535,89872,91179,92348,93576,94963,96339,97759,99286,100708,102012,103091,104442,105831,106943,108158,109541,110624,112096,113422,114882,116398,117574,119157,120439,121845,123154,124439,125543,126965,128336,129737,130824,132090,133240,134643,135918,137091,138132,139502,140885,142403,143532,144924,146429,147832,149277,150744,151906,153390,154387,155479,156964,158380,159833,161383,162931,164360,165633,166926,168318,169184,170358,171533,172689,173914,175202,176338,177433,178764,180056,181417,182670,184044,185195,186487,187693,189063,190461,191754,193166,194463,195812,197161,198377,199343,200648,201670,202691,203910,205148,206342,207688,209110,210369,211539,212819,213934,215037,216354,217528,218713,220243,221653,223036,223940,225348,226397,227819,229293,230682,231909,232870,234049,235131,236132,237568,238918,240026,241344,242825,244085,245546,246840,248382,249641,250586,251968,253204,254758,255954,257045,258417,259835,261084,262378,263425,264703,265743,266670,268135,269322,270554,271867,273091,274288,275474,276732,278084,279223,280676,281897,283031,284549,285923,287176,288499,289890,291007,292543,293742,295081,296569,298073,299414,300649,302050,303261,304558,305603,306640,307814,309114,310351,311648,312916,314192,315134,316767,318434,319848,321132,322325,323655,324864,326015,327254,328627,330233,331792,332947,334120,335666,337248,338581,340011,341397,342788,344236,345714,347001,348500,349810,351094,352440,353723,355055,356516,357685,358973,360326,361666,363223,364508,365900,367341,368623,369890,371217,372356,373496,374751,376168,377628,378790,380006,381106,382043,383415,384752,386032,387115,388392,389614,390775,392196,393430,394651,395931,397091,398184,399474,400883,402245,403669,404814,406433,407919,409181,410332,411596,412768,414237,415603,416932,418370,419789,420895,422003,423384,424633,425859,426727,427961,429076,430263,431542,432603,433897,435282,436545,437701,438829,439718,440753,442171,443497,444599,445736,447066,448164,449308,450470,451497,452541,453795,454998,455925,457533,459361,461256,463125,464842,466440,467709,469072,470303,471744,473041,474466,475818,476955,477914,479190,480364,481714,483011,484193,485731,486996,488393,489908,490921,492153,493386,494675,495841,496840,498177,499056,500124,501236,502611,503949,505108,506272,507524,508583,509746,510948,512287,513786,515143,516645,517977,519435,520856,522128,523418,524740,525769,526950,528312,529537,530901,532269,533589,534619,536009,537314,538644,539865,541300,542772,544209,545588,546935,548268,549547,551055,552548,553781,555166,556600,557709,558685,559742,560813,561768,562750,563621,564994,566051,567129,568036,569491,570895,572166,573466,574915,576313,577394,578562,579749,580985,582151,583394,584603,585594,587041,588192,589312,590309,591285,592598,593623,594676,595836,597212,598315,599684,600776,601950,602936,603795,604844,605892,607464,608843,610207,611255,612379,613522],sizes:[1397,1178,848,546,1257,1439,1384,1512,1277,1197,1028,1181,1073,742,1307,1061,1394,1285,1026,1131,1110,1350,1121,1336,1184,1219,1432,1262,1390,1260,1236,1237,1133,1373,1200,1202,843,930,1169,1235,1118,1283,1298,1452,1190,1142,1054,1133,1058,1249,1104,1361,1504,1230,1636,1411,1377,1400,1154,1569,1208,1296,1364,1471,1185,1265,1129,1155,1145,1232,1488,1389,1337,1307,1169,1228,1387,1376,1420,1527,1422,1304,1079,1351,1389,1112,1215,1383,1083,1472,1326,1460,1516,1176,1583,1282,1406,1309,1285,1104,1422,1371,1401,1087,1266,1150,1403,1275,1173,1041,1370,1383,1518,1129,1392,1505,1403,1445,1467,1162,1484,997,1092,1485,1416,1453,1550,1548,1429,1273,1293,1392,866,1174,1175,1156,1225,1288,1136,1095,1331,1292,1361,1253,1374,1151,1292,1206,1370,1398,1293,1412,1297,1349,1349,1216,966,1305,1022,1021,1219,1238,1194,1346,1422,1259,1170,1280,1115,1103,1317,1174,1185,1530,1410,1383,904,1408,1049,1422,1474,1389,1227,961,1179,1082,1001,1436,1350,1108,1318,1481,1260,1461,1294,1542,1259,945,1382,1236,1554,1196,1091,1372,1418,1249,1294,1047,1278,1040,927,1465,1187,1232,1313,1224,1197,1186,1258,1352,1139,1453,1221,1134,1518,1374,1253,1323,1391,1117,1536,1199,1339,1488,1504,1341,1235,1401,1211,1297,1045,1037,1174,1300,1237,1297,1268,1276,942,1633,1667,1414,1284,1193,1330,1209,1151,1239,1373,1606,1559,1155,1173,1546,1582,1333,1430,1386,1391,1448,1478,1287,1499,1310,1284,1346,1283,1332,1461,1169,1288,1353,1340,1557,1285,1392,1441,1282,1267,1327,1139,1140,1255,1417,1460,1162,1216,1100,937,1372,1337,1280,1083,1277,1222,1161,1421,1234,1221,1280,1160,1093,1290,1409,1362,1424,1145,1619,1486,1262,1151,1264,1172,1469,1366,1329,1438,1419,1106,1108,1381,1249,1226,868,1234,1115,1187,1279,1061,1294,1385,1263,1156,1128,889,1035,1418,1326,1102,1137,1330,1098,1144,1162,1027,1044,1254,1203,927,1608,1828,1895,1869,1717,1598,1269,1363,1231,1441,1297,1425,1352,1137,959,1276,1174,1350,1297,1182,1538,1265,1397,1515,1013,1232,1233,1289,1166,999,1337,879,1068,1112,1375,1338,1159,1164,1252,1059,1163,1202,1339,1499,1357,1502,1332,1458,1421,1272,1290,1322,1029,1181,1362,1225,1364,1368,1320,1030,1390,1305,1330,1221,1435,1472,1437,1379,1347,1333,1279,1508,1493,1233,1385,1434,1109,976,1057,1071,955,982,871,1373,1057,1078,907,1455,1404,1271,1300,1449,1398,1081,1168,1187,1236,1166,1243,1209,991,1447,1151,1120,997,976,1313,1025,1053,1160,1376,1103,1369,1092,1174,986,859,1049,1048,1572,1379,1364,1048,1124,1143,517],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,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,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,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,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,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,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,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_hypothesis.data")}Module["addRunDependency"]("datafile_hypothesis.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:"/bin/hypothesis",start:0,end:406,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis-5.36.0-py3.8.egg-info/not-zip-safe",start:406,end:407,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis-5.36.0-py3.8.egg-info/PKG-INFO",start:407,end:4791,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis-5.36.0-py3.8.egg-info/SOURCES.txt",start:4791,end:8850,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis-5.36.0-py3.8.egg-info/requires.txt",start:8850,end:9326,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis-5.36.0-py3.8.egg-info/dependency_links.txt",start:9326,end:9327,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis-5.36.0-py3.8.egg-info/top_level.txt",start:9327,end:9338,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis-5.36.0-py3.8.egg-info/entry_points.txt",start:9338,end:9457,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/errors.py",start:9457,end:15218,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/stateful.py",start:15218,end:45072,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/_error_if_old.py",start:45072,end:46074,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/database.py",start:46074,end:53645,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/core.py",start:53645,end:105272,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/configuration.py",start:105272,end:106598,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/control.py",start:106598,end:113463,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/py.typed",start:113463,end:113463,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/executors.py",start:113463,end:115499,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/statistics.py",start:115499,end:120803,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/provisional.py",start:120803,end:128313,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/__init__.py",start:128313,end:129950,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/_settings.py",start:129950,end:152056,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/version.py",start:152056,end:152756,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/entry_points.py",start:152756,end:153775,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/reporting.py",start:153775,end:155529,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/compat.py",start:155529,end:162866,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/healthcheck.py",start:162866,end:164176,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/intervalsets.py",start:164176,end:166649,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/validation.py",start:166649,end:171145,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/cache.py",start:171145,end:180724,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/detection.py",start:180724,end:181544,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/coverage.py",start:181544,end:185110,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/lazyformat.py",start:185110,end:186347,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/escalation.py",start:186347,end:189704,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/floats.py",start:189704,end:192597,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/charmap.py",start:192597,end:205688,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/reflection.py",start:205688,end:229065,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/cathetus.py",start:229065,end:231507,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/__init__.py",start:231507,end:232125,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/entropy.py",start:232125,end:235900,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/utils.py",start:235900,end:251895,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/shrinker.py",start:251895,end:310279,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/engine.py",start:310279,end:355164,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/floats.py",start:355164,end:362982,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/choicetree.py",start:362982,end:367501,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/datatree.py",start:367501,end:384356,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/junkdrawer.py",start:384356,end:394272,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/__init__.py",start:394272,end:394890,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/pareto.py",start:394890,end:409438,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/optimiser.py",start:409438,end:416934,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/data.py",start:416934,end:453476,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/shrinking/common.py",start:453476,end:459124,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/shrinking/dfas.py",start:459124,end:471206,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/shrinking/ordering.py",start:471206,end:474950,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/shrinking/lexical.py",start:474950,end:477004,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/shrinking/floats.py",start:477004,end:480355,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/shrinking/integer.py",start:480355,end:482769,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/shrinking/learned_dfas.py",start:482769,end:484820,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/shrinking/__init__.py",start:484820,end:485769,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/dfa/__init__.py",start:485769,end:509997,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/internal/conjecture/dfa/lstar.py",start:509997,end:529512,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/pytz.py",start:529512,end:531540,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/lark.py",start:531540,end:540287,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/ghostwriter.py",start:540287,end:579328,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/cli.py",start:579328,end:584903,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/numpy.py",start:584903,end:647228,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/__init__.py",start:647228,end:647846,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/dateutil.py",start:647846,end:650221,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/dpcontracts.py",start:650221,end:652257,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/pytestplugin.py",start:652257,end:661909,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/django/_impl.py",start:661909,end:671049,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/django/_fields.py",start:671049,end:681763,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/django/__init__.py",start:681763,end:682720,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/pandas/__init__.py",start:682720,end:683556,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/extra/pandas/impl.py",start:683556,end:708222,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/vendor/pretty.py",start:708222,end:735689,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/vendor/__init__.py",start:735689,end:736307,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/vendor/tlds-alpha-by-domain.txt",start:736307,end:746616,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/__init__.py",start:746616,end:749324,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/types.py",start:749324,end:772100,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/recursive.py",start:772100,end:775965,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/attrs.py",start:775965,end:782741,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/core.py",start:782741,end:871454,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/flatmapped.py",start:871454,end:873182,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/misc.py",start:873182,end:874647,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/functions.py",start:874647,end:876760,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/ipaddress.py",start:876760,end:881115,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/datetime.py",start:881115,end:894896,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/shared.py",start:894896,end:896370,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/collections.py",start:896370,end:905897,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/deferred.py",start:905897,end:909524,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/__init__.py",start:909524,end:910347,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/strings.py",start:910347,end:914603,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/strategies.py",start:914603,end:943654,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/regex.py",start:943654,end:960333,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/numbers.py",start:960333,end:965899,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/random.py",start:965899,end:978954,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/featureflags.py",start:978954,end:983598,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/strategies/_internal/lazy.py",start:983598,end:988843,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/utils/conventions.py",start:988843,end:989853,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/utils/dynamicvariables.py",start:989853,end:991035,audio:0},{filename:"/lib/python3.8/site-packages/hypothesis/utils/__init__.py",start:991035,end:991796,audio:0}],remote_package_size:618135,package_uuid:"55d50617-0b36-4ec9-aed1-15581fc03931"})})();
|