voting_schemes-electionguard 0.24.0 → 0.24.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +91 -92
- data/lib/voting_schemes/electionguard/version.rb +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/electionguard.data +0 -0
- 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.data +0 -0
- data/public/assets/electionguard/hypothesis.js +1 -1
- data/public/assets/electionguard/jsons.data +0 -0
- data/public/assets/electionguard/jsons.js +1 -1
- data/public/assets/electionguard/packages.json +1 -1
- data/public/assets/electionguard/pyasn1.data +0 -0
- data/public/assets/electionguard/pyasn1.js +1 -1
- data/public/assets/electionguard/pyodide.asm.data +0 -0
- data/public/assets/electionguard/pyodide.asm.data.js +1 -1
- data/public/assets/electionguard/rsa.data +0 -0
- data/public/assets/electionguard/rsa.js +1 -1
- data/public/assets/electionguard/sortedcontainers.data +0 -0
- data/public/assets/electionguard/sortedcontainers.js +1 -1
- data/public/assets/electionguard/test.data +0 -0
- data/public/assets/electionguard/test.js +1 -1
- data/public/assets/electionguard/typish.data +0 -0
- data/public/assets/electionguard/typish.js +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23558ed19d797ddc8ce0067e9d065135bd301e0e53c78fb65359635724c22e6e
|
4
|
+
data.tar.gz: 675f6c290a85e5bf6ae753e536a4002eeac149a88b15ec7689bd49d31e68f5fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fb06405e052525c2f814a262a1377238416353317c80e014271839ed8e08631352c07ca04bf670577ae19c4ace57aa6afcd9806bd7f5f1599e5e354cc253edd
|
7
|
+
data.tar.gz: 73566146d2f0b5d35b081290c2a1a8f4eb904ed8a92c321a1ec2dd2ad2f99c1df8e74d9399943c63b7ffda3c305bf2dd50216361ad27febd0640ec6a00236b06
|
data/Gemfile.lock
CHANGED
@@ -1,73 +1,73 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
voting_schemes-electionguard (0.24.
|
4
|
+
voting_schemes-electionguard (0.24.2)
|
5
5
|
rails (>= 5.0.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actioncable (7.0.
|
11
|
-
actionpack (= 7.0.
|
12
|
-
activesupport (= 7.0.
|
10
|
+
actioncable (7.0.8)
|
11
|
+
actionpack (= 7.0.8)
|
12
|
+
activesupport (= 7.0.8)
|
13
13
|
nio4r (~> 2.0)
|
14
14
|
websocket-driver (>= 0.6.1)
|
15
|
-
actionmailbox (7.0.
|
16
|
-
actionpack (= 7.0.
|
17
|
-
activejob (= 7.0.
|
18
|
-
activerecord (= 7.0.
|
19
|
-
activestorage (= 7.0.
|
20
|
-
activesupport (= 7.0.
|
15
|
+
actionmailbox (7.0.8)
|
16
|
+
actionpack (= 7.0.8)
|
17
|
+
activejob (= 7.0.8)
|
18
|
+
activerecord (= 7.0.8)
|
19
|
+
activestorage (= 7.0.8)
|
20
|
+
activesupport (= 7.0.8)
|
21
21
|
mail (>= 2.7.1)
|
22
22
|
net-imap
|
23
23
|
net-pop
|
24
24
|
net-smtp
|
25
|
-
actionmailer (7.0.
|
26
|
-
actionpack (= 7.0.
|
27
|
-
actionview (= 7.0.
|
28
|
-
activejob (= 7.0.
|
29
|
-
activesupport (= 7.0.
|
25
|
+
actionmailer (7.0.8)
|
26
|
+
actionpack (= 7.0.8)
|
27
|
+
actionview (= 7.0.8)
|
28
|
+
activejob (= 7.0.8)
|
29
|
+
activesupport (= 7.0.8)
|
30
30
|
mail (~> 2.5, >= 2.5.4)
|
31
31
|
net-imap
|
32
32
|
net-pop
|
33
33
|
net-smtp
|
34
34
|
rails-dom-testing (~> 2.0)
|
35
|
-
actionpack (7.0.
|
36
|
-
actionview (= 7.0.
|
37
|
-
activesupport (= 7.0.
|
38
|
-
rack (~> 2.0, >= 2.2.
|
35
|
+
actionpack (7.0.8)
|
36
|
+
actionview (= 7.0.8)
|
37
|
+
activesupport (= 7.0.8)
|
38
|
+
rack (~> 2.0, >= 2.2.4)
|
39
39
|
rack-test (>= 0.6.3)
|
40
40
|
rails-dom-testing (~> 2.0)
|
41
41
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
42
|
-
actiontext (7.0.
|
43
|
-
actionpack (= 7.0.
|
44
|
-
activerecord (= 7.0.
|
45
|
-
activestorage (= 7.0.
|
46
|
-
activesupport (= 7.0.
|
42
|
+
actiontext (7.0.8)
|
43
|
+
actionpack (= 7.0.8)
|
44
|
+
activerecord (= 7.0.8)
|
45
|
+
activestorage (= 7.0.8)
|
46
|
+
activesupport (= 7.0.8)
|
47
47
|
globalid (>= 0.6.0)
|
48
48
|
nokogiri (>= 1.8.5)
|
49
|
-
actionview (7.0.
|
50
|
-
activesupport (= 7.0.
|
49
|
+
actionview (7.0.8)
|
50
|
+
activesupport (= 7.0.8)
|
51
51
|
builder (~> 3.1)
|
52
52
|
erubi (~> 1.4)
|
53
53
|
rails-dom-testing (~> 2.0)
|
54
54
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
55
|
-
activejob (7.0.
|
56
|
-
activesupport (= 7.0.
|
55
|
+
activejob (7.0.8)
|
56
|
+
activesupport (= 7.0.8)
|
57
57
|
globalid (>= 0.3.6)
|
58
|
-
activemodel (7.0.
|
59
|
-
activesupport (= 7.0.
|
60
|
-
activerecord (7.0.
|
61
|
-
activemodel (= 7.0.
|
62
|
-
activesupport (= 7.0.
|
63
|
-
activestorage (7.0.
|
64
|
-
actionpack (= 7.0.
|
65
|
-
activejob (= 7.0.
|
66
|
-
activerecord (= 7.0.
|
67
|
-
activesupport (= 7.0.
|
58
|
+
activemodel (7.0.8)
|
59
|
+
activesupport (= 7.0.8)
|
60
|
+
activerecord (7.0.8)
|
61
|
+
activemodel (= 7.0.8)
|
62
|
+
activesupport (= 7.0.8)
|
63
|
+
activestorage (7.0.8)
|
64
|
+
actionpack (= 7.0.8)
|
65
|
+
activejob (= 7.0.8)
|
66
|
+
activerecord (= 7.0.8)
|
67
|
+
activesupport (= 7.0.8)
|
68
68
|
marcel (~> 1.0)
|
69
69
|
mini_mime (>= 1.1.0)
|
70
|
-
activesupport (7.0.
|
70
|
+
activesupport (7.0.8)
|
71
71
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
72
72
|
i18n (>= 1.6, < 2)
|
73
73
|
minitest (>= 5.1)
|
@@ -76,74 +76,74 @@ GEM
|
|
76
76
|
builder (3.2.4)
|
77
77
|
concurrent-ruby (1.1.10)
|
78
78
|
crass (1.0.6)
|
79
|
+
date (3.3.3)
|
79
80
|
diff-lcs (1.5.0)
|
80
|
-
|
81
|
-
erubi (1.11.0)
|
81
|
+
erubi (1.12.0)
|
82
82
|
faker (2.22.0)
|
83
83
|
i18n (>= 1.8.11, < 2)
|
84
|
-
globalid (1.
|
85
|
-
activesupport (>=
|
84
|
+
globalid (1.2.1)
|
85
|
+
activesupport (>= 6.1)
|
86
86
|
i18n (1.12.0)
|
87
87
|
concurrent-ruby (~> 1.0)
|
88
|
-
loofah (2.
|
88
|
+
loofah (2.21.3)
|
89
89
|
crass (~> 1.0.2)
|
90
|
-
nokogiri (>= 1.
|
91
|
-
mail (2.
|
90
|
+
nokogiri (>= 1.12.0)
|
91
|
+
mail (2.8.1)
|
92
92
|
mini_mime (>= 0.1.1)
|
93
|
+
net-imap
|
94
|
+
net-pop
|
95
|
+
net-smtp
|
93
96
|
marcel (1.0.2)
|
94
97
|
method_source (1.0.0)
|
95
|
-
mini_mime (1.1.
|
96
|
-
mini_portile2 (2.8.
|
97
|
-
minitest (5.
|
98
|
-
net-imap (0.
|
99
|
-
|
98
|
+
mini_mime (1.1.5)
|
99
|
+
mini_portile2 (2.8.4)
|
100
|
+
minitest (5.20.0)
|
101
|
+
net-imap (0.3.7)
|
102
|
+
date
|
100
103
|
net-protocol
|
101
|
-
|
102
|
-
net-pop (0.1.1)
|
103
|
-
digest
|
104
|
+
net-pop (0.1.2)
|
104
105
|
net-protocol
|
106
|
+
net-protocol (0.2.1)
|
105
107
|
timeout
|
106
|
-
net-
|
107
|
-
timeout
|
108
|
-
net-smtp (0.3.1)
|
109
|
-
digest
|
108
|
+
net-smtp (0.4.0)
|
110
109
|
net-protocol
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
mini_portile2 (~> 2.8.0)
|
110
|
+
nio4r (2.5.9)
|
111
|
+
nokogiri (1.15.4)
|
112
|
+
mini_portile2 (~> 2.8.2)
|
115
113
|
racc (~> 1.4)
|
116
|
-
nokogiri (1.
|
114
|
+
nokogiri (1.15.4-x86_64-linux)
|
117
115
|
racc (~> 1.4)
|
118
116
|
parallel (1.22.1)
|
119
117
|
parser (3.1.2.1)
|
120
118
|
ast (~> 2.4.1)
|
121
|
-
racc (1.
|
122
|
-
rack (2.2.
|
123
|
-
rack-test (2.0
|
119
|
+
racc (1.7.1)
|
120
|
+
rack (2.2.8)
|
121
|
+
rack-test (2.1.0)
|
124
122
|
rack (>= 1.3)
|
125
|
-
rails (7.0.
|
126
|
-
actioncable (= 7.0.
|
127
|
-
actionmailbox (= 7.0.
|
128
|
-
actionmailer (= 7.0.
|
129
|
-
actionpack (= 7.0.
|
130
|
-
actiontext (= 7.0.
|
131
|
-
actionview (= 7.0.
|
132
|
-
activejob (= 7.0.
|
133
|
-
activemodel (= 7.0.
|
134
|
-
activerecord (= 7.0.
|
135
|
-
activestorage (= 7.0.
|
136
|
-
activesupport (= 7.0.
|
123
|
+
rails (7.0.8)
|
124
|
+
actioncable (= 7.0.8)
|
125
|
+
actionmailbox (= 7.0.8)
|
126
|
+
actionmailer (= 7.0.8)
|
127
|
+
actionpack (= 7.0.8)
|
128
|
+
actiontext (= 7.0.8)
|
129
|
+
actionview (= 7.0.8)
|
130
|
+
activejob (= 7.0.8)
|
131
|
+
activemodel (= 7.0.8)
|
132
|
+
activerecord (= 7.0.8)
|
133
|
+
activestorage (= 7.0.8)
|
134
|
+
activesupport (= 7.0.8)
|
137
135
|
bundler (>= 1.15.0)
|
138
|
-
railties (= 7.0.
|
139
|
-
rails-dom-testing (2.0
|
140
|
-
activesupport (>=
|
136
|
+
railties (= 7.0.8)
|
137
|
+
rails-dom-testing (2.2.0)
|
138
|
+
activesupport (>= 5.0.0)
|
139
|
+
minitest
|
141
140
|
nokogiri (>= 1.6)
|
142
|
-
rails-html-sanitizer (1.
|
143
|
-
loofah (~> 2.
|
144
|
-
|
145
|
-
|
146
|
-
|
141
|
+
rails-html-sanitizer (1.6.0)
|
142
|
+
loofah (~> 2.21)
|
143
|
+
nokogiri (~> 1.14)
|
144
|
+
railties (7.0.8)
|
145
|
+
actionpack (= 7.0.8)
|
146
|
+
activesupport (= 7.0.8)
|
147
147
|
method_source
|
148
148
|
rake (>= 12.2)
|
149
149
|
thor (~> 1.0)
|
@@ -182,16 +182,15 @@ GEM
|
|
182
182
|
rubocop-rspec (2.11.1)
|
183
183
|
rubocop (~> 1.19)
|
184
184
|
ruby-progressbar (1.11.0)
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
tzinfo (2.0.5)
|
185
|
+
thor (1.2.2)
|
186
|
+
timeout (0.4.0)
|
187
|
+
tzinfo (2.0.6)
|
189
188
|
concurrent-ruby (~> 1.0)
|
190
189
|
unicode-display_width (2.2.0)
|
191
|
-
websocket-driver (0.7.
|
190
|
+
websocket-driver (0.7.6)
|
192
191
|
websocket-extensions (>= 0.1.0)
|
193
192
|
websocket-extensions (0.1.5)
|
194
|
-
zeitwerk (2.6.
|
193
|
+
zeitwerk (2.6.12)
|
195
194
|
|
196
195
|
PLATFORMS
|
197
196
|
ruby
|
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="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","
|
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="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 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:26156,cachedIndexes:[-1,-1],cachedChunks:[null,null],offsets:[0,1095,2240,3331,4392,5333,6164,6869,8005,8933,9999,10859,11755,12688,13704,14695,15660,16850,17959,18866,19952,20932,22016,22917,23708,24633,25648],sizes:[1095,1145,1091,1061,941,831,705,1136,928,1066,860,896,933,1016,991,965,1190,1109,907,1086,980,1084,901,791,925,1015,508],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});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:5656,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/tally_decryptor.py",start:5656,end:14739,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/utils.py",start:14739,end:15972,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/messages.py",start:15972,end:17684,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/trustee.py",start:17684,end:33664,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/serializable.py",start:33664,end:36422,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/dummy_scheduler.py",start:36422,end:36793,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/voter.py",start:36793,end:40645,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/election.py",start:40645,end:44742,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/bulletin_board.py",start:44742,end:54246,audio:0},{filename:"/lib/python3.8/site-packages/bulletin_board/electionguard/__init__.py",start:54246,end:54246,audio:0}],remote_package_size:30252,package_uuid:"79ea91ed-d688-4d20-bd74-ae7583971709"})})();
|
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="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.1-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:182431,cachedIndexes:[-1,-1],cachedChunks:[null,null],offsets:[0,1087,2397,3740,4981,6170,7302,8539,9490,10781,11877,12885,13963,15142,16370,17558,18617,19815,20950,22085,23345,24256,25257,26382,27640,29011,30071,30788,31851,33127,34087,34968,35789,36737,37692,38627,39760,40917,41987,43226,44368,45691,46754,47797,49150,50274,51458,52586,53663,54749,55791,56906,57932,59655,61583,62489,63404,64224,64958,65720,66842,67782,68871,70053,70898,71717,72864,74044,75257,76412,77709,78938,80184,81291,82115,82524,83244,83783,84183,84652,85185,85851,86387,86713,87476,88892,90140,91038,91996,93377,94393,95451,96437,97433,98523,99511,100210,101386,102134,103323,104246,105248,106422,107654,108410,109517,110256,111320,112580,113514,114826,115675,116549,117429,118734,119763,120818,121776,122704,123579,124388,125541,126516,127434,128400,129387,130432,131427,132515,133647,134799,135713,136697,137877,139050,140071,141079,142273,143392,144509,145633,146656,147771,148913,149929,150883,151928,152850,153786,154809,155926,156992,157959,159163,160440,161402,162548,163549,164605,165506,166437,167253,168130,169007,170065,170977,171937,172947,174173,175515,176597,178076,179399,180619,181485,182352],sizes:[1087,1310,1343,1241,1189,1132,1237,951,1291,1096,1008,1078,1179,1228,1188,1059,1198,1135,1135,1260,911,1001,1125,1258,1371,1060,717,1063,1276,960,881,821,948,955,935,1133,1157,1070,1239,1142,1323,1063,1043,1353,1124,1184,1128,1077,1086,1042,1115,1026,1723,1928,906,915,820,734,762,1122,940,1089,1182,845,819,1147,1180,1213,1155,1297,1229,1246,1107,824,409,720,539,400,469,533,666,536,326,763,1416,1248,898,958,1381,1016,1058,986,996,1090,988,699,1176,748,1189,923,1002,1174,1232,756,1107,739,1064,1260,934,1312,849,874,880,1305,1029,1055,958,928,875,809,1153,975,918,966,987,1045,995,1088,1132,1152,914,984,1180,1173,1021,1008,1194,1119,1117,1124,1023,1115,1142,1016,954,1045,922,936,1023,1117,1066,967,1204,1277,962,1146,1001,1056,901,931,816,877,877,1058,912,960,1010,1226,1342,1082,1479,1323,1220,866,867,79],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/election_builder.py",start:0,end:2623,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/types.py",start:2623,end:2711,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/ballot.py",start:2711,end:38805,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/manifest.py",start:38805,end:72509,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/singleton.py",start:72509,end:72925,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/encrypt.py",start:72925,end:92616,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/tally.py",start:92616,end:107240,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/group.py",start:107240,end:121126,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/publish.py",start:121126,end:125359,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/decryption_share.py",start:125359,end:134439,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/ballot_code.py",start:134439,end:135380,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/rsa.py",start:135380,end:137275,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/election_object_base.py",start:137275,end:137549,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/elgamal.py",start:137549,end:142592,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/schnorr.py",start:142592,end:144852,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/election_polynomial.py",start:144852,end:149674,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/election_description_schema.json",start:149674,end:171624,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/hash.py",start:171624,end:174956,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/ballot_compact.py",start:174956,end:180606,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/dlog.py",start:180606,end:182421,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/key_ceremony.py",start:182421,end:192178,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/chaum_pedersen.py",start:192178,end:210115,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/ballot_validator.py",start:210115,end:214331,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/logs.py",start:214331,end:219364,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/proof.py",start:219364,end:220017,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/election.py",start:220017,end:224441,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/serializable.py",start:224441,end:232231,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/scheduler.py",start:232231,end:232687,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/schema.py",start:232687,end:233629,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/key_ceremony_mediator.py",start:233629,end:245836,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/decryption.py",start:245836,end:270950,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/data_store.py",start:270950,end:273701,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/ballot_box.py",start:273701,end:276692,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/auxiliary.py",start:276692,end:278634,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/__init__.py",start:278634,end:278634,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/decrypt_with_secrets.py",start:278634,end:292768,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/decryption_mediator.py",start:292768,end:306800,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/decrypt_with_shares.py",start:306800,end:313385,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/py.typed",start:313385,end:313385,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/scheduler.py.orig",start:313385,end:317243,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/guardian.py",start:317243,end:340260,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/utils.py",start:340260,end:343459,audio:0},{filename:"/lib/python3.8/site-packages/electionguard/nonces.py",start:343459,end:345839,audio:0},{filename:"/lib/python3.8/site-packages/electionguard-1.2.1-py3.8.egg-info/PKG-INFO",start:345839,end:356793,audio:0},{filename:"/lib/python3.8/site-packages/electionguard-1.2.1-py3.8.egg-info/requires.txt",start:356793,end:356881,audio:0},{filename:"/lib/python3.8/site-packages/electionguard-1.2.1-py3.8.egg-info/top_level.txt",start:356881,end:356895,audio:0},{filename:"/lib/python3.8/site-packages/electionguard-1.2.1-py3.8.egg-info/SOURCES.txt",start:356895,end:358530,audio:0},{filename:"/lib/python3.8/site-packages/electionguard-1.2.1-py3.8.egg-info/dependency_links.txt",start:358530,end:358531,audio:0}],remote_package_size:186527,package_uuid:"6413b255-219c-474c-81b8-b7c11d1cd708"})})();
|
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"})})();
|
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:
|
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"})})();
|
Binary file
|