├── .github └── workflows │ └── test.yml ├── .gitignore ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── circuits ├── rln.circom ├── utils.circom └── withdraw.circom ├── package-lock.json ├── package.json ├── scripts ├── build-circuits.sh └── install-circom.sh ├── test ├── configs.ts ├── rln.test.ts ├── utils.ts └── withdraw.test.ts └── tsconfig.json /.github/workflows/test.yml: -------------------------------------------------------------------------------- 1 | # This workflow test if circuits can be built and the tests pass. 2 | 3 | name: Test 4 | 5 | on: 6 | push: 7 | branches: [ "main" ] 8 | pull_request: 9 | branches: [ "main" ] 10 | 11 | jobs: 12 | test: 13 | runs-on: ubuntu-latest 14 | 15 | steps: 16 | - uses: actions/checkout@v3 17 | - uses: actions/setup-node@v3 18 | with: 19 | node-version: 18 20 | cache: 'npm' 21 | - name: Cache circom 22 | id: cache-circom 23 | uses: actions/cache@v3 24 | with: 25 | path: ~/.cargo/bin/circom 26 | # Since the version of circom is specified in `scripts/install-circom.sh`, 27 | # as long as the file doesn't change we can reuse the circom binary. 28 | key: ${{ runner.os }}-circom-${{ hashFiles('./scripts/install-circom.sh') }} 29 | - name: Install circom if not cached 30 | run: ./scripts/install-circom.sh 31 | - run: npm ci 32 | - name: Build all circuits 33 | run: npm run build 34 | - name: Run the tests 35 | run: npm test 36 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | build 3 | zkeyFiles -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 Rate-Limiting Nullifier (RLN) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

Rate-Limiting Nullifier circuits in Circom

2 |

3 | 4 |

5 | 6 |
7 | 8 | *The project was audited by Veridise, yAcademy fellows and internally.* 9 | 10 |
11 | 12 | ___ 13 | 14 | ## What's RLN? 15 | 16 | RLN is a zero-knowledge gadget that enables spam 17 | prevention in anonymous environments. 18 | 19 | The core parts of RLN are: 20 | * zk-circuits in Circom (this repo); 21 | * [registry smart-contract](https://github.com/Rate-Limiting-Nullifier/rln-contract); 22 | * set of libraries to build app with RLN ([rlnjs](https://github.com/Rate-Limiting-Nullifier/rlnjs), [zerokit](https://github.com/vacp2p/zerokit)). 23 | 24 | --- 25 | 26 | To learn more on RLN and how it works - check out [documentation](https://rate-limiting-nullifier.github.io/rln-docs/). 27 | -------------------------------------------------------------------------------- /circuits/rln.circom: -------------------------------------------------------------------------------- 1 | pragma circom 2.1.0; 2 | 3 | include "./utils.circom"; 4 | include "../node_modules/circomlib/circuits/poseidon.circom"; 5 | 6 | template RLN(DEPTH, LIMIT_BIT_SIZE) { 7 | // Private signals 8 | signal input identitySecret; 9 | signal input userMessageLimit; 10 | signal input messageId; 11 | signal input pathElements[DEPTH]; 12 | signal input identityPathIndex[DEPTH]; 13 | 14 | // Public signals 15 | signal input x; 16 | signal input externalNullifier; 17 | 18 | // Outputs 19 | signal output y; 20 | signal output root; 21 | signal output nullifier; 22 | 23 | signal identityCommitment <== Poseidon(1)([identitySecret]); 24 | signal rateCommitment <== Poseidon(2)([identityCommitment, userMessageLimit]); 25 | 26 | // Membership check 27 | root <== MerkleTreeInclusionProof(DEPTH)(rateCommitment, identityPathIndex, pathElements); 28 | 29 | // messageId range check 30 | RangeCheck(LIMIT_BIT_SIZE)(messageId, userMessageLimit); 31 | 32 | // SSS share calculations 33 | signal a1 <== Poseidon(3)([identitySecret, externalNullifier, messageId]); 34 | y <== identitySecret + a1 * x; 35 | 36 | // nullifier calculation 37 | nullifier <== Poseidon(1)([a1]); 38 | } 39 | 40 | component main { public [x, externalNullifier] } = RLN(20, 16); -------------------------------------------------------------------------------- /circuits/utils.circom: -------------------------------------------------------------------------------- 1 | pragma circom 2.1.0; 2 | 3 | include "../node_modules/circomlib/circuits/poseidon.circom"; 4 | include "../node_modules/circomlib/circuits/mux1.circom"; 5 | include "../node_modules/circomlib/circuits/bitify.circom"; 6 | include "../node_modules/circomlib/circuits/comparators.circom"; 7 | 8 | template MerkleTreeInclusionProof(DEPTH) { 9 | signal input leaf; 10 | signal input pathIndex[DEPTH]; 11 | signal input pathElements[DEPTH]; 12 | 13 | signal output root; 14 | 15 | signal mux[DEPTH][2]; 16 | signal levelHashes[DEPTH + 1]; 17 | 18 | levelHashes[0] <== leaf; 19 | for (var i = 0; i < DEPTH; i++) { 20 | pathIndex[i] * (pathIndex[i] - 1) === 0; 21 | 22 | mux[i] <== MultiMux1(2)( 23 | [ 24 | [levelHashes[i], pathElements[i]], 25 | [pathElements[i], levelHashes[i]] 26 | ], 27 | pathIndex[i] 28 | ); 29 | 30 | levelHashes[i + 1] <== Poseidon(2)([mux[i][0], mux[i][1]]); 31 | } 32 | 33 | root <== levelHashes[DEPTH]; 34 | } 35 | 36 | template RangeCheck(LIMIT_BIT_SIZE) { 37 | assert(LIMIT_BIT_SIZE < 253); 38 | 39 | signal input messageId; 40 | signal input limit; 41 | 42 | signal bitCheck[LIMIT_BIT_SIZE] <== Num2Bits(LIMIT_BIT_SIZE)(messageId); 43 | signal rangeCheck <== LessThan(LIMIT_BIT_SIZE)([messageId, limit]); 44 | rangeCheck === 1; 45 | } -------------------------------------------------------------------------------- /circuits/withdraw.circom: -------------------------------------------------------------------------------- 1 | pragma circom 2.1.0; 2 | 3 | include "../node_modules/circomlib/circuits/poseidon.circom"; 4 | 5 | template Withdraw() { 6 | signal input identitySecret; 7 | signal input address; 8 | 9 | signal output identityCommitment <== Poseidon(1)([identitySecret]); 10 | 11 | // Dummy constraint to prevent compiler optimizing it 12 | signal addressSquared <== address * address; 13 | } 14 | 15 | component main { public [address] } = Withdraw(); 16 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "circom-rln", 3 | "lockfileVersion": 2, 4 | "requires": true, 5 | "packages": { 6 | "": { 7 | "dependencies": { 8 | "circomlib": "^2.0.5" 9 | }, 10 | "devDependencies": { 11 | "@types/mocha": "^10.0.1", 12 | "@types/node": "^18.14.6", 13 | "@zk-kit/incremental-merkle-tree": "^1.0.0", 14 | "circom_tester": "^0.0.19", 15 | "mocha": "^10.2.0", 16 | "poseidon-lite": "^0.0.2", 17 | "snarkjs": "^0.7.0", 18 | "ts-mocha": "^10.0.0", 19 | "typescript": "^4.9.5" 20 | } 21 | }, 22 | "node_modules/@iden3/bigarray": { 23 | "version": "0.0.2", 24 | "resolved": "https://registry.npmjs.org/@iden3/bigarray/-/bigarray-0.0.2.tgz", 25 | "integrity": "sha512-Xzdyxqm1bOFF6pdIsiHLLl3HkSLjbhqJHVyqaTxXt3RqXBEnmsUmEW47H7VOi/ak7TdkRpNkxjyK5Zbkm+y52g==", 26 | "dev": true 27 | }, 28 | "node_modules/@iden3/binfileutils": { 29 | "version": "0.0.11", 30 | "resolved": "https://registry.npmjs.org/@iden3/binfileutils/-/binfileutils-0.0.11.tgz", 31 | "integrity": "sha512-LylnJoZ0CTdgErnKY8OxohvW4K+p6UHD3sxt+3P9AmMyBQjYR4IpoqoYZZ+9aMj89cmCQ21UvdhndAx04er3NA==", 32 | "dev": true, 33 | "dependencies": { 34 | "fastfile": "0.0.20", 35 | "ffjavascript": "^0.2.48" 36 | } 37 | }, 38 | "node_modules/@types/json5": { 39 | "version": "0.0.29", 40 | "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", 41 | "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", 42 | "dev": true, 43 | "optional": true 44 | }, 45 | "node_modules/@types/mocha": { 46 | "version": "10.0.1", 47 | "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.1.tgz", 48 | "integrity": "sha512-/fvYntiO1GeICvqbQ3doGDIP97vWmvFt83GKguJ6prmQM2iXZfFcq6YE8KteFyRtX2/h5Hf91BYvPodJKFYv5Q==", 49 | "dev": true 50 | }, 51 | "node_modules/@types/node": { 52 | "version": "18.15.10", 53 | "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.10.tgz", 54 | "integrity": "sha512-9avDaQJczATcXgfmMAW3MIWArOO7A+m90vuCFLr8AotWf8igO/mRoYukrk2cqZVtv38tHs33retzHEilM7FpeQ==", 55 | "dev": true 56 | }, 57 | "node_modules/@zk-kit/incremental-merkle-tree": { 58 | "version": "1.0.0", 59 | "resolved": "https://registry.npmjs.org/@zk-kit/incremental-merkle-tree/-/incremental-merkle-tree-1.0.0.tgz", 60 | "integrity": "sha512-2iRLZfHnZ6wKE+oZN2CnpkKYCE5f5dpv6YRIwLDCz0xwJZrIMQ81AamFBdxPesQSYMMP0GkC0iv1rm6gxAL2Ow==", 61 | "dev": true 62 | }, 63 | "node_modules/ansi-colors": { 64 | "version": "4.1.1", 65 | "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", 66 | "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", 67 | "dev": true, 68 | "engines": { 69 | "node": ">=6" 70 | } 71 | }, 72 | "node_modules/ansi-regex": { 73 | "version": "5.0.1", 74 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 75 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 76 | "dev": true, 77 | "engines": { 78 | "node": ">=8" 79 | } 80 | }, 81 | "node_modules/ansi-styles": { 82 | "version": "4.3.0", 83 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 84 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 85 | "dev": true, 86 | "dependencies": { 87 | "color-convert": "^2.0.1" 88 | }, 89 | "engines": { 90 | "node": ">=8" 91 | }, 92 | "funding": { 93 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 94 | } 95 | }, 96 | "node_modules/anymatch": { 97 | "version": "3.1.3", 98 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", 99 | "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", 100 | "dev": true, 101 | "dependencies": { 102 | "normalize-path": "^3.0.0", 103 | "picomatch": "^2.0.4" 104 | }, 105 | "engines": { 106 | "node": ">= 8" 107 | } 108 | }, 109 | "node_modules/argparse": { 110 | "version": "2.0.1", 111 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", 112 | "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", 113 | "dev": true 114 | }, 115 | "node_modules/arrify": { 116 | "version": "1.0.1", 117 | "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", 118 | "integrity": "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==", 119 | "dev": true, 120 | "engines": { 121 | "node": ">=0.10.0" 122 | } 123 | }, 124 | "node_modules/assertion-error": { 125 | "version": "1.1.0", 126 | "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", 127 | "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", 128 | "dev": true, 129 | "engines": { 130 | "node": "*" 131 | } 132 | }, 133 | "node_modules/async": { 134 | "version": "3.2.4", 135 | "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", 136 | "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==", 137 | "dev": true 138 | }, 139 | "node_modules/available-typed-arrays": { 140 | "version": "1.0.5", 141 | "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", 142 | "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", 143 | "dev": true, 144 | "engines": { 145 | "node": ">= 0.4" 146 | }, 147 | "funding": { 148 | "url": "https://github.com/sponsors/ljharb" 149 | } 150 | }, 151 | "node_modules/b4a": { 152 | "version": "1.6.1", 153 | "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.1.tgz", 154 | "integrity": "sha512-AsKjNhz72yxteo/0EtQEiwkMUgk/tGmycXlbG4g3Ard2/ULtNLUykGOkeK0egmN27h0xMAhb76jYccW+XTBExA==", 155 | "dev": true 156 | }, 157 | "node_modules/balanced-match": { 158 | "version": "1.0.2", 159 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 160 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 161 | "dev": true 162 | }, 163 | "node_modules/bfj": { 164 | "version": "7.0.2", 165 | "resolved": "https://registry.npmjs.org/bfj/-/bfj-7.0.2.tgz", 166 | "integrity": "sha512-+e/UqUzwmzJamNF50tBV6tZPTORow7gQ96iFow+8b562OdMpEK0BcJEq2OSPEDmAbSMBQ7PKZ87ubFkgxpYWgw==", 167 | "dev": true, 168 | "dependencies": { 169 | "bluebird": "^3.5.5", 170 | "check-types": "^11.1.1", 171 | "hoopy": "^0.1.4", 172 | "tryer": "^1.0.1" 173 | }, 174 | "engines": { 175 | "node": ">= 8.0.0" 176 | } 177 | }, 178 | "node_modules/binary-extensions": { 179 | "version": "2.2.0", 180 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", 181 | "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", 182 | "dev": true, 183 | "engines": { 184 | "node": ">=8" 185 | } 186 | }, 187 | "node_modules/blake2b-wasm": { 188 | "version": "2.4.0", 189 | "resolved": "https://registry.npmjs.org/blake2b-wasm/-/blake2b-wasm-2.4.0.tgz", 190 | "integrity": "sha512-S1kwmW2ZhZFFFOghcx73+ZajEfKBqhP82JMssxtLVMxlaPea1p9uoLiUZ5WYyHn0KddwbLc+0vh4wR0KBNoT5w==", 191 | "dev": true, 192 | "dependencies": { 193 | "b4a": "^1.0.1", 194 | "nanoassert": "^2.0.0" 195 | } 196 | }, 197 | "node_modules/bluebird": { 198 | "version": "3.7.2", 199 | "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", 200 | "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", 201 | "dev": true 202 | }, 203 | "node_modules/brace-expansion": { 204 | "version": "1.1.11", 205 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 206 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 207 | "dev": true, 208 | "dependencies": { 209 | "balanced-match": "^1.0.0", 210 | "concat-map": "0.0.1" 211 | } 212 | }, 213 | "node_modules/braces": { 214 | "version": "3.0.2", 215 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", 216 | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", 217 | "dev": true, 218 | "dependencies": { 219 | "fill-range": "^7.0.1" 220 | }, 221 | "engines": { 222 | "node": ">=8" 223 | } 224 | }, 225 | "node_modules/browser-stdout": { 226 | "version": "1.3.1", 227 | "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", 228 | "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", 229 | "dev": true 230 | }, 231 | "node_modules/buffer-from": { 232 | "version": "1.1.2", 233 | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", 234 | "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", 235 | "dev": true 236 | }, 237 | "node_modules/call-bind": { 238 | "version": "1.0.2", 239 | "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", 240 | "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", 241 | "dev": true, 242 | "dependencies": { 243 | "function-bind": "^1.1.1", 244 | "get-intrinsic": "^1.0.2" 245 | }, 246 | "funding": { 247 | "url": "https://github.com/sponsors/ljharb" 248 | } 249 | }, 250 | "node_modules/camelcase": { 251 | "version": "6.3.0", 252 | "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", 253 | "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", 254 | "dev": true, 255 | "engines": { 256 | "node": ">=10" 257 | }, 258 | "funding": { 259 | "url": "https://github.com/sponsors/sindresorhus" 260 | } 261 | }, 262 | "node_modules/chai": { 263 | "version": "4.3.7", 264 | "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.7.tgz", 265 | "integrity": "sha512-HLnAzZ2iupm25PlN0xFreAlBA5zaBSv3og0DdeGA4Ar6h6rJ3A0rolRUKJhSF2V10GZKDgWF/VmAEsNWjCRB+A==", 266 | "dev": true, 267 | "dependencies": { 268 | "assertion-error": "^1.1.0", 269 | "check-error": "^1.0.2", 270 | "deep-eql": "^4.1.2", 271 | "get-func-name": "^2.0.0", 272 | "loupe": "^2.3.1", 273 | "pathval": "^1.1.1", 274 | "type-detect": "^4.0.5" 275 | }, 276 | "engines": { 277 | "node": ">=4" 278 | } 279 | }, 280 | "node_modules/chalk": { 281 | "version": "4.1.2", 282 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", 283 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", 284 | "dev": true, 285 | "dependencies": { 286 | "ansi-styles": "^4.1.0", 287 | "supports-color": "^7.1.0" 288 | }, 289 | "engines": { 290 | "node": ">=10" 291 | }, 292 | "funding": { 293 | "url": "https://github.com/chalk/chalk?sponsor=1" 294 | } 295 | }, 296 | "node_modules/check-error": { 297 | "version": "1.0.2", 298 | "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", 299 | "integrity": "sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==", 300 | "dev": true, 301 | "engines": { 302 | "node": "*" 303 | } 304 | }, 305 | "node_modules/check-types": { 306 | "version": "11.2.2", 307 | "resolved": "https://registry.npmjs.org/check-types/-/check-types-11.2.2.tgz", 308 | "integrity": "sha512-HBiYvXvn9Z70Z88XKjz3AEKd4HJhBXsa3j7xFnITAzoS8+q6eIGi8qDB8FKPBAjtuxjI/zFpwuiCb8oDtKOYrA==", 309 | "dev": true 310 | }, 311 | "node_modules/child_process": { 312 | "version": "1.0.2", 313 | "resolved": "https://registry.npmjs.org/child_process/-/child_process-1.0.2.tgz", 314 | "integrity": "sha512-Wmza/JzL0SiWz7kl6MhIKT5ceIlnFPJX+lwUGj7Clhy5MMldsSoJR0+uvRzOS5Kv45Mq7t1PoE8TsOA9bzvb6g==", 315 | "dev": true 316 | }, 317 | "node_modules/chokidar": { 318 | "version": "3.5.3", 319 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", 320 | "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", 321 | "dev": true, 322 | "funding": [ 323 | { 324 | "type": "individual", 325 | "url": "https://paulmillr.com/funding/" 326 | } 327 | ], 328 | "dependencies": { 329 | "anymatch": "~3.1.2", 330 | "braces": "~3.0.2", 331 | "glob-parent": "~5.1.2", 332 | "is-binary-path": "~2.1.0", 333 | "is-glob": "~4.0.1", 334 | "normalize-path": "~3.0.0", 335 | "readdirp": "~3.6.0" 336 | }, 337 | "engines": { 338 | "node": ">= 8.10.0" 339 | }, 340 | "optionalDependencies": { 341 | "fsevents": "~2.3.2" 342 | } 343 | }, 344 | "node_modules/circom_runtime": { 345 | "version": "0.1.22", 346 | "resolved": "https://registry.npmjs.org/circom_runtime/-/circom_runtime-0.1.22.tgz", 347 | "integrity": "sha512-V/XYZWBhbZY8SotkaGH4FbiDYAZ8a1Md++MBiKPDOuWS/NIJB+Q+XIiTC8zKMgoDaa9cd2OiTvsC9J6te7twNg==", 348 | "dev": true, 349 | "dependencies": { 350 | "ffjavascript": "0.2.57" 351 | }, 352 | "bin": { 353 | "calcwit": "calcwit.js" 354 | } 355 | }, 356 | "node_modules/circom_tester": { 357 | "version": "0.0.19", 358 | "resolved": "https://registry.npmjs.org/circom_tester/-/circom_tester-0.0.19.tgz", 359 | "integrity": "sha512-SNHaBsGxcBH6XsVWfsRbRPA7NF8m8AMKJI9dtJJCFGUtOTT2+zsoIqAwi50z6XCnO4TtjyXq7AeXa1PLHqT0tw==", 360 | "dev": true, 361 | "dependencies": { 362 | "chai": "^4.3.6", 363 | "child_process": "^1.0.2", 364 | "ffjavascript": "^0.2.56", 365 | "fnv-plus": "^1.3.1", 366 | "r1csfile": "^0.0.41", 367 | "snarkjs": "0.5.0", 368 | "tmp-promise": "^3.0.3", 369 | "util": "^0.12.4" 370 | } 371 | }, 372 | "node_modules/circom_tester/node_modules/circom_runtime": { 373 | "version": "0.1.21", 374 | "resolved": "https://registry.npmjs.org/circom_runtime/-/circom_runtime-0.1.21.tgz", 375 | "integrity": "sha512-qTkud630B/GK8y76hnOaaS1aNuF6prfV0dTrkeRsiJKnlP1ryQbP2FWLgDOPqn6aKyaPlam+Z+DTbBhkEzh8dA==", 376 | "dev": true, 377 | "dependencies": { 378 | "ffjavascript": "0.2.56" 379 | }, 380 | "bin": { 381 | "calcwit": "calcwit.js" 382 | } 383 | }, 384 | "node_modules/circom_tester/node_modules/ffjavascript": { 385 | "version": "0.2.56", 386 | "resolved": "https://registry.npmjs.org/ffjavascript/-/ffjavascript-0.2.56.tgz", 387 | "integrity": "sha512-em6G5Lrj7ucIqj4TYEgyoHs/j99Urwwqa4+YxEVY2hggnpRimVj+noX5pZQTxI1pvtiekZI4rG65JBf0xraXrg==", 388 | "dev": true, 389 | "dependencies": { 390 | "wasmbuilder": "0.0.16", 391 | "wasmcurves": "0.2.0", 392 | "web-worker": "^1.2.0" 393 | } 394 | }, 395 | "node_modules/circom_tester/node_modules/snarkjs": { 396 | "version": "0.5.0", 397 | "resolved": "https://registry.npmjs.org/snarkjs/-/snarkjs-0.5.0.tgz", 398 | "integrity": "sha512-KWz8mZ2Y+6wvn6GGkQo6/ZlKwETdAGohd40Lzpwp5TUZCn6N6O4Az1SuX1rw/qREGL6Im+ycb19suCFE8/xaKA==", 399 | "dev": true, 400 | "dependencies": { 401 | "@iden3/binfileutils": "0.0.11", 402 | "bfj": "^7.0.2", 403 | "blake2b-wasm": "^2.4.0", 404 | "circom_runtime": "0.1.21", 405 | "ejs": "^3.1.6", 406 | "fastfile": "0.0.20", 407 | "ffjavascript": "0.2.56", 408 | "js-sha3": "^0.8.0", 409 | "logplease": "^1.2.15", 410 | "r1csfile": "0.0.41" 411 | }, 412 | "bin": { 413 | "snarkjs": "build/cli.cjs" 414 | } 415 | }, 416 | "node_modules/circomlib": { 417 | "version": "2.0.5", 418 | "resolved": "https://registry.npmjs.org/circomlib/-/circomlib-2.0.5.tgz", 419 | "integrity": "sha512-O7NQ8OS+J4eshBuoy36z/TwQU0YHw8W3zxZcs4hVwpEll3e4hDm3mgkIPqItN8FDeLEKZFK3YeT/+k8TiLF3/A==" 420 | }, 421 | "node_modules/cliui": { 422 | "version": "7.0.4", 423 | "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", 424 | "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", 425 | "dev": true, 426 | "dependencies": { 427 | "string-width": "^4.2.0", 428 | "strip-ansi": "^6.0.0", 429 | "wrap-ansi": "^7.0.0" 430 | } 431 | }, 432 | "node_modules/color-convert": { 433 | "version": "2.0.1", 434 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 435 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 436 | "dev": true, 437 | "dependencies": { 438 | "color-name": "~1.1.4" 439 | }, 440 | "engines": { 441 | "node": ">=7.0.0" 442 | } 443 | }, 444 | "node_modules/color-name": { 445 | "version": "1.1.4", 446 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 447 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 448 | "dev": true 449 | }, 450 | "node_modules/concat-map": { 451 | "version": "0.0.1", 452 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 453 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", 454 | "dev": true 455 | }, 456 | "node_modules/debug": { 457 | "version": "4.3.4", 458 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 459 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 460 | "dev": true, 461 | "dependencies": { 462 | "ms": "2.1.2" 463 | }, 464 | "engines": { 465 | "node": ">=6.0" 466 | }, 467 | "peerDependenciesMeta": { 468 | "supports-color": { 469 | "optional": true 470 | } 471 | } 472 | }, 473 | "node_modules/debug/node_modules/ms": { 474 | "version": "2.1.2", 475 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 476 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 477 | "dev": true 478 | }, 479 | "node_modules/decamelize": { 480 | "version": "4.0.0", 481 | "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", 482 | "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", 483 | "dev": true, 484 | "engines": { 485 | "node": ">=10" 486 | }, 487 | "funding": { 488 | "url": "https://github.com/sponsors/sindresorhus" 489 | } 490 | }, 491 | "node_modules/deep-eql": { 492 | "version": "4.1.3", 493 | "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-4.1.3.tgz", 494 | "integrity": "sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==", 495 | "dev": true, 496 | "dependencies": { 497 | "type-detect": "^4.0.0" 498 | }, 499 | "engines": { 500 | "node": ">=6" 501 | } 502 | }, 503 | "node_modules/diff": { 504 | "version": "5.0.0", 505 | "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", 506 | "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", 507 | "dev": true, 508 | "engines": { 509 | "node": ">=0.3.1" 510 | } 511 | }, 512 | "node_modules/ejs": { 513 | "version": "3.1.8", 514 | "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.8.tgz", 515 | "integrity": "sha512-/sXZeMlhS0ArkfX2Aw780gJzXSMPnKjtspYZv+f3NiKLlubezAHDU5+9xz6gd3/NhG3txQCo6xlglmTS+oTGEQ==", 516 | "dev": true, 517 | "dependencies": { 518 | "jake": "^10.8.5" 519 | }, 520 | "bin": { 521 | "ejs": "bin/cli.js" 522 | }, 523 | "engines": { 524 | "node": ">=0.10.0" 525 | } 526 | }, 527 | "node_modules/emoji-regex": { 528 | "version": "8.0.0", 529 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 530 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", 531 | "dev": true 532 | }, 533 | "node_modules/escalade": { 534 | "version": "3.1.1", 535 | "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", 536 | "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", 537 | "dev": true, 538 | "engines": { 539 | "node": ">=6" 540 | } 541 | }, 542 | "node_modules/escape-string-regexp": { 543 | "version": "4.0.0", 544 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", 545 | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", 546 | "dev": true, 547 | "engines": { 548 | "node": ">=10" 549 | }, 550 | "funding": { 551 | "url": "https://github.com/sponsors/sindresorhus" 552 | } 553 | }, 554 | "node_modules/fastfile": { 555 | "version": "0.0.20", 556 | "resolved": "https://registry.npmjs.org/fastfile/-/fastfile-0.0.20.tgz", 557 | "integrity": "sha512-r5ZDbgImvVWCP0lA/cGNgQcZqR+aYdFx3u+CtJqUE510pBUVGMn4ulL/iRTI4tACTYsNJ736uzFxEBXesPAktA==", 558 | "dev": true 559 | }, 560 | "node_modules/ffjavascript": { 561 | "version": "0.2.57", 562 | "resolved": "https://registry.npmjs.org/ffjavascript/-/ffjavascript-0.2.57.tgz", 563 | "integrity": "sha512-V+vxZ/zPNcthrWmqfe/1YGgqdkTamJeXiED0tsk7B84g40DKlrTdx47IqZuiygqAVG6zMw4qYuvXftIJWsmfKQ==", 564 | "dev": true, 565 | "dependencies": { 566 | "wasmbuilder": "0.0.16", 567 | "wasmcurves": "0.2.0", 568 | "web-worker": "^1.2.0" 569 | } 570 | }, 571 | "node_modules/filelist": { 572 | "version": "1.0.4", 573 | "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz", 574 | "integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==", 575 | "dev": true, 576 | "dependencies": { 577 | "minimatch": "^5.0.1" 578 | } 579 | }, 580 | "node_modules/filelist/node_modules/brace-expansion": { 581 | "version": "2.0.1", 582 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", 583 | "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", 584 | "dev": true, 585 | "dependencies": { 586 | "balanced-match": "^1.0.0" 587 | } 588 | }, 589 | "node_modules/filelist/node_modules/minimatch": { 590 | "version": "5.1.6", 591 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", 592 | "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", 593 | "dev": true, 594 | "dependencies": { 595 | "brace-expansion": "^2.0.1" 596 | }, 597 | "engines": { 598 | "node": ">=10" 599 | } 600 | }, 601 | "node_modules/fill-range": { 602 | "version": "7.0.1", 603 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", 604 | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", 605 | "dev": true, 606 | "dependencies": { 607 | "to-regex-range": "^5.0.1" 608 | }, 609 | "engines": { 610 | "node": ">=8" 611 | } 612 | }, 613 | "node_modules/find-up": { 614 | "version": "5.0.0", 615 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", 616 | "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", 617 | "dev": true, 618 | "dependencies": { 619 | "locate-path": "^6.0.0", 620 | "path-exists": "^4.0.0" 621 | }, 622 | "engines": { 623 | "node": ">=10" 624 | }, 625 | "funding": { 626 | "url": "https://github.com/sponsors/sindresorhus" 627 | } 628 | }, 629 | "node_modules/flat": { 630 | "version": "5.0.2", 631 | "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", 632 | "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", 633 | "dev": true, 634 | "bin": { 635 | "flat": "cli.js" 636 | } 637 | }, 638 | "node_modules/fnv-plus": { 639 | "version": "1.3.1", 640 | "resolved": "https://registry.npmjs.org/fnv-plus/-/fnv-plus-1.3.1.tgz", 641 | "integrity": "sha512-Gz1EvfOneuFfk4yG458dJ3TLJ7gV19q3OM/vVvvHf7eT02Hm1DleB4edsia6ahbKgAYxO9gvyQ1ioWZR+a00Yw==", 642 | "dev": true 643 | }, 644 | "node_modules/for-each": { 645 | "version": "0.3.3", 646 | "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", 647 | "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", 648 | "dev": true, 649 | "dependencies": { 650 | "is-callable": "^1.1.3" 651 | } 652 | }, 653 | "node_modules/fs.realpath": { 654 | "version": "1.0.0", 655 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 656 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", 657 | "dev": true 658 | }, 659 | "node_modules/fsevents": { 660 | "version": "2.3.2", 661 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", 662 | "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", 663 | "dev": true, 664 | "hasInstallScript": true, 665 | "optional": true, 666 | "os": [ 667 | "darwin" 668 | ], 669 | "engines": { 670 | "node": "^8.16.0 || ^10.6.0 || >=11.0.0" 671 | } 672 | }, 673 | "node_modules/function-bind": { 674 | "version": "1.1.1", 675 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 676 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", 677 | "dev": true 678 | }, 679 | "node_modules/get-caller-file": { 680 | "version": "2.0.5", 681 | "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", 682 | "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", 683 | "dev": true, 684 | "engines": { 685 | "node": "6.* || 8.* || >= 10.*" 686 | } 687 | }, 688 | "node_modules/get-func-name": { 689 | "version": "2.0.0", 690 | "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", 691 | "integrity": "sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==", 692 | "dev": true, 693 | "engines": { 694 | "node": "*" 695 | } 696 | }, 697 | "node_modules/get-intrinsic": { 698 | "version": "1.2.0", 699 | "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.0.tgz", 700 | "integrity": "sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==", 701 | "dev": true, 702 | "dependencies": { 703 | "function-bind": "^1.1.1", 704 | "has": "^1.0.3", 705 | "has-symbols": "^1.0.3" 706 | }, 707 | "funding": { 708 | "url": "https://github.com/sponsors/ljharb" 709 | } 710 | }, 711 | "node_modules/glob": { 712 | "version": "7.2.0", 713 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", 714 | "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", 715 | "dev": true, 716 | "dependencies": { 717 | "fs.realpath": "^1.0.0", 718 | "inflight": "^1.0.4", 719 | "inherits": "2", 720 | "minimatch": "^3.0.4", 721 | "once": "^1.3.0", 722 | "path-is-absolute": "^1.0.0" 723 | }, 724 | "engines": { 725 | "node": "*" 726 | }, 727 | "funding": { 728 | "url": "https://github.com/sponsors/isaacs" 729 | } 730 | }, 731 | "node_modules/glob-parent": { 732 | "version": "5.1.2", 733 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 734 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 735 | "dev": true, 736 | "dependencies": { 737 | "is-glob": "^4.0.1" 738 | }, 739 | "engines": { 740 | "node": ">= 6" 741 | } 742 | }, 743 | "node_modules/gopd": { 744 | "version": "1.0.1", 745 | "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", 746 | "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", 747 | "dev": true, 748 | "dependencies": { 749 | "get-intrinsic": "^1.1.3" 750 | }, 751 | "funding": { 752 | "url": "https://github.com/sponsors/ljharb" 753 | } 754 | }, 755 | "node_modules/has": { 756 | "version": "1.0.3", 757 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 758 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 759 | "dev": true, 760 | "dependencies": { 761 | "function-bind": "^1.1.1" 762 | }, 763 | "engines": { 764 | "node": ">= 0.4.0" 765 | } 766 | }, 767 | "node_modules/has-flag": { 768 | "version": "4.0.0", 769 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 770 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", 771 | "dev": true, 772 | "engines": { 773 | "node": ">=8" 774 | } 775 | }, 776 | "node_modules/has-symbols": { 777 | "version": "1.0.3", 778 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", 779 | "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", 780 | "dev": true, 781 | "engines": { 782 | "node": ">= 0.4" 783 | }, 784 | "funding": { 785 | "url": "https://github.com/sponsors/ljharb" 786 | } 787 | }, 788 | "node_modules/has-tostringtag": { 789 | "version": "1.0.0", 790 | "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", 791 | "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", 792 | "dev": true, 793 | "dependencies": { 794 | "has-symbols": "^1.0.2" 795 | }, 796 | "engines": { 797 | "node": ">= 0.4" 798 | }, 799 | "funding": { 800 | "url": "https://github.com/sponsors/ljharb" 801 | } 802 | }, 803 | "node_modules/he": { 804 | "version": "1.2.0", 805 | "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", 806 | "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", 807 | "dev": true, 808 | "bin": { 809 | "he": "bin/he" 810 | } 811 | }, 812 | "node_modules/hoopy": { 813 | "version": "0.1.4", 814 | "resolved": "https://registry.npmjs.org/hoopy/-/hoopy-0.1.4.tgz", 815 | "integrity": "sha512-HRcs+2mr52W0K+x8RzcLzuPPmVIKMSv97RGHy0Ea9y/mpcaK+xTrjICA04KAHi4GRzxliNqNJEFYWHghy3rSfQ==", 816 | "dev": true, 817 | "engines": { 818 | "node": ">= 6.0.0" 819 | } 820 | }, 821 | "node_modules/inflight": { 822 | "version": "1.0.6", 823 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 824 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", 825 | "dev": true, 826 | "dependencies": { 827 | "once": "^1.3.0", 828 | "wrappy": "1" 829 | } 830 | }, 831 | "node_modules/inherits": { 832 | "version": "2.0.4", 833 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 834 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 835 | "dev": true 836 | }, 837 | "node_modules/is-arguments": { 838 | "version": "1.1.1", 839 | "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", 840 | "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", 841 | "dev": true, 842 | "dependencies": { 843 | "call-bind": "^1.0.2", 844 | "has-tostringtag": "^1.0.0" 845 | }, 846 | "engines": { 847 | "node": ">= 0.4" 848 | }, 849 | "funding": { 850 | "url": "https://github.com/sponsors/ljharb" 851 | } 852 | }, 853 | "node_modules/is-binary-path": { 854 | "version": "2.1.0", 855 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", 856 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", 857 | "dev": true, 858 | "dependencies": { 859 | "binary-extensions": "^2.0.0" 860 | }, 861 | "engines": { 862 | "node": ">=8" 863 | } 864 | }, 865 | "node_modules/is-callable": { 866 | "version": "1.2.7", 867 | "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", 868 | "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", 869 | "dev": true, 870 | "engines": { 871 | "node": ">= 0.4" 872 | }, 873 | "funding": { 874 | "url": "https://github.com/sponsors/ljharb" 875 | } 876 | }, 877 | "node_modules/is-extglob": { 878 | "version": "2.1.1", 879 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 880 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 881 | "dev": true, 882 | "engines": { 883 | "node": ">=0.10.0" 884 | } 885 | }, 886 | "node_modules/is-fullwidth-code-point": { 887 | "version": "3.0.0", 888 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 889 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", 890 | "dev": true, 891 | "engines": { 892 | "node": ">=8" 893 | } 894 | }, 895 | "node_modules/is-generator-function": { 896 | "version": "1.0.10", 897 | "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", 898 | "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", 899 | "dev": true, 900 | "dependencies": { 901 | "has-tostringtag": "^1.0.0" 902 | }, 903 | "engines": { 904 | "node": ">= 0.4" 905 | }, 906 | "funding": { 907 | "url": "https://github.com/sponsors/ljharb" 908 | } 909 | }, 910 | "node_modules/is-glob": { 911 | "version": "4.0.3", 912 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 913 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 914 | "dev": true, 915 | "dependencies": { 916 | "is-extglob": "^2.1.1" 917 | }, 918 | "engines": { 919 | "node": ">=0.10.0" 920 | } 921 | }, 922 | "node_modules/is-number": { 923 | "version": "7.0.0", 924 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 925 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 926 | "dev": true, 927 | "engines": { 928 | "node": ">=0.12.0" 929 | } 930 | }, 931 | "node_modules/is-plain-obj": { 932 | "version": "2.1.0", 933 | "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", 934 | "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", 935 | "dev": true, 936 | "engines": { 937 | "node": ">=8" 938 | } 939 | }, 940 | "node_modules/is-typed-array": { 941 | "version": "1.1.10", 942 | "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz", 943 | "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==", 944 | "dev": true, 945 | "dependencies": { 946 | "available-typed-arrays": "^1.0.5", 947 | "call-bind": "^1.0.2", 948 | "for-each": "^0.3.3", 949 | "gopd": "^1.0.1", 950 | "has-tostringtag": "^1.0.0" 951 | }, 952 | "engines": { 953 | "node": ">= 0.4" 954 | }, 955 | "funding": { 956 | "url": "https://github.com/sponsors/ljharb" 957 | } 958 | }, 959 | "node_modules/is-unicode-supported": { 960 | "version": "0.1.0", 961 | "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", 962 | "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", 963 | "dev": true, 964 | "engines": { 965 | "node": ">=10" 966 | }, 967 | "funding": { 968 | "url": "https://github.com/sponsors/sindresorhus" 969 | } 970 | }, 971 | "node_modules/jake": { 972 | "version": "10.8.5", 973 | "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.5.tgz", 974 | "integrity": "sha512-sVpxYeuAhWt0OTWITwT98oyV0GsXyMlXCF+3L1SuafBVUIr/uILGRB+NqwkzhgXKvoJpDIpQvqkUALgdmQsQxw==", 975 | "dev": true, 976 | "dependencies": { 977 | "async": "^3.2.3", 978 | "chalk": "^4.0.2", 979 | "filelist": "^1.0.1", 980 | "minimatch": "^3.0.4" 981 | }, 982 | "bin": { 983 | "jake": "bin/cli.js" 984 | }, 985 | "engines": { 986 | "node": ">=10" 987 | } 988 | }, 989 | "node_modules/js-sha3": { 990 | "version": "0.8.0", 991 | "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", 992 | "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==", 993 | "dev": true 994 | }, 995 | "node_modules/js-yaml": { 996 | "version": "4.1.0", 997 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", 998 | "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", 999 | "dev": true, 1000 | "dependencies": { 1001 | "argparse": "^2.0.1" 1002 | }, 1003 | "bin": { 1004 | "js-yaml": "bin/js-yaml.js" 1005 | } 1006 | }, 1007 | "node_modules/json5": { 1008 | "version": "1.0.2", 1009 | "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", 1010 | "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", 1011 | "dev": true, 1012 | "optional": true, 1013 | "dependencies": { 1014 | "minimist": "^1.2.0" 1015 | }, 1016 | "bin": { 1017 | "json5": "lib/cli.js" 1018 | } 1019 | }, 1020 | "node_modules/locate-path": { 1021 | "version": "6.0.0", 1022 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", 1023 | "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", 1024 | "dev": true, 1025 | "dependencies": { 1026 | "p-locate": "^5.0.0" 1027 | }, 1028 | "engines": { 1029 | "node": ">=10" 1030 | }, 1031 | "funding": { 1032 | "url": "https://github.com/sponsors/sindresorhus" 1033 | } 1034 | }, 1035 | "node_modules/log-symbols": { 1036 | "version": "4.1.0", 1037 | "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", 1038 | "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", 1039 | "dev": true, 1040 | "dependencies": { 1041 | "chalk": "^4.1.0", 1042 | "is-unicode-supported": "^0.1.0" 1043 | }, 1044 | "engines": { 1045 | "node": ">=10" 1046 | }, 1047 | "funding": { 1048 | "url": "https://github.com/sponsors/sindresorhus" 1049 | } 1050 | }, 1051 | "node_modules/logplease": { 1052 | "version": "1.2.15", 1053 | "resolved": "https://registry.npmjs.org/logplease/-/logplease-1.2.15.tgz", 1054 | "integrity": "sha512-jLlHnlsPSJjpwUfcNyUxXCl33AYg2cHhIf9QhGL2T4iPT0XPB+xP1LRKFPgIg1M/sg9kAJvy94w9CzBNrfnstA==", 1055 | "dev": true 1056 | }, 1057 | "node_modules/loupe": { 1058 | "version": "2.3.6", 1059 | "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.6.tgz", 1060 | "integrity": "sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==", 1061 | "dev": true, 1062 | "dependencies": { 1063 | "get-func-name": "^2.0.0" 1064 | } 1065 | }, 1066 | "node_modules/make-error": { 1067 | "version": "1.3.6", 1068 | "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", 1069 | "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", 1070 | "dev": true 1071 | }, 1072 | "node_modules/minimatch": { 1073 | "version": "3.1.2", 1074 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 1075 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 1076 | "dev": true, 1077 | "dependencies": { 1078 | "brace-expansion": "^1.1.7" 1079 | }, 1080 | "engines": { 1081 | "node": "*" 1082 | } 1083 | }, 1084 | "node_modules/minimist": { 1085 | "version": "1.2.8", 1086 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", 1087 | "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", 1088 | "dev": true, 1089 | "funding": { 1090 | "url": "https://github.com/sponsors/ljharb" 1091 | } 1092 | }, 1093 | "node_modules/mkdirp": { 1094 | "version": "0.5.6", 1095 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", 1096 | "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", 1097 | "dev": true, 1098 | "dependencies": { 1099 | "minimist": "^1.2.6" 1100 | }, 1101 | "bin": { 1102 | "mkdirp": "bin/cmd.js" 1103 | } 1104 | }, 1105 | "node_modules/mocha": { 1106 | "version": "10.2.0", 1107 | "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.2.0.tgz", 1108 | "integrity": "sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg==", 1109 | "dev": true, 1110 | "dependencies": { 1111 | "ansi-colors": "4.1.1", 1112 | "browser-stdout": "1.3.1", 1113 | "chokidar": "3.5.3", 1114 | "debug": "4.3.4", 1115 | "diff": "5.0.0", 1116 | "escape-string-regexp": "4.0.0", 1117 | "find-up": "5.0.0", 1118 | "glob": "7.2.0", 1119 | "he": "1.2.0", 1120 | "js-yaml": "4.1.0", 1121 | "log-symbols": "4.1.0", 1122 | "minimatch": "5.0.1", 1123 | "ms": "2.1.3", 1124 | "nanoid": "3.3.3", 1125 | "serialize-javascript": "6.0.0", 1126 | "strip-json-comments": "3.1.1", 1127 | "supports-color": "8.1.1", 1128 | "workerpool": "6.2.1", 1129 | "yargs": "16.2.0", 1130 | "yargs-parser": "20.2.4", 1131 | "yargs-unparser": "2.0.0" 1132 | }, 1133 | "bin": { 1134 | "_mocha": "bin/_mocha", 1135 | "mocha": "bin/mocha.js" 1136 | }, 1137 | "engines": { 1138 | "node": ">= 14.0.0" 1139 | }, 1140 | "funding": { 1141 | "type": "opencollective", 1142 | "url": "https://opencollective.com/mochajs" 1143 | } 1144 | }, 1145 | "node_modules/mocha/node_modules/brace-expansion": { 1146 | "version": "2.0.1", 1147 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", 1148 | "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", 1149 | "dev": true, 1150 | "dependencies": { 1151 | "balanced-match": "^1.0.0" 1152 | } 1153 | }, 1154 | "node_modules/mocha/node_modules/minimatch": { 1155 | "version": "5.0.1", 1156 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz", 1157 | "integrity": "sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==", 1158 | "dev": true, 1159 | "dependencies": { 1160 | "brace-expansion": "^2.0.1" 1161 | }, 1162 | "engines": { 1163 | "node": ">=10" 1164 | } 1165 | }, 1166 | "node_modules/mocha/node_modules/supports-color": { 1167 | "version": "8.1.1", 1168 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", 1169 | "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", 1170 | "dev": true, 1171 | "dependencies": { 1172 | "has-flag": "^4.0.0" 1173 | }, 1174 | "engines": { 1175 | "node": ">=10" 1176 | }, 1177 | "funding": { 1178 | "url": "https://github.com/chalk/supports-color?sponsor=1" 1179 | } 1180 | }, 1181 | "node_modules/ms": { 1182 | "version": "2.1.3", 1183 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 1184 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", 1185 | "dev": true 1186 | }, 1187 | "node_modules/nanoassert": { 1188 | "version": "2.0.0", 1189 | "resolved": "https://registry.npmjs.org/nanoassert/-/nanoassert-2.0.0.tgz", 1190 | "integrity": "sha512-7vO7n28+aYO4J+8w96AzhmU8G+Y/xpPDJz/se19ICsqj/momRbb9mh9ZUtkoJ5X3nTnPdhEJyc0qnM6yAsHBaA==", 1191 | "dev": true 1192 | }, 1193 | "node_modules/nanoid": { 1194 | "version": "3.3.3", 1195 | "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", 1196 | "integrity": "sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==", 1197 | "dev": true, 1198 | "bin": { 1199 | "nanoid": "bin/nanoid.cjs" 1200 | }, 1201 | "engines": { 1202 | "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" 1203 | } 1204 | }, 1205 | "node_modules/normalize-path": { 1206 | "version": "3.0.0", 1207 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 1208 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", 1209 | "dev": true, 1210 | "engines": { 1211 | "node": ">=0.10.0" 1212 | } 1213 | }, 1214 | "node_modules/once": { 1215 | "version": "1.4.0", 1216 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 1217 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", 1218 | "dev": true, 1219 | "dependencies": { 1220 | "wrappy": "1" 1221 | } 1222 | }, 1223 | "node_modules/p-limit": { 1224 | "version": "3.1.0", 1225 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", 1226 | "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", 1227 | "dev": true, 1228 | "dependencies": { 1229 | "yocto-queue": "^0.1.0" 1230 | }, 1231 | "engines": { 1232 | "node": ">=10" 1233 | }, 1234 | "funding": { 1235 | "url": "https://github.com/sponsors/sindresorhus" 1236 | } 1237 | }, 1238 | "node_modules/p-locate": { 1239 | "version": "5.0.0", 1240 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", 1241 | "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", 1242 | "dev": true, 1243 | "dependencies": { 1244 | "p-limit": "^3.0.2" 1245 | }, 1246 | "engines": { 1247 | "node": ">=10" 1248 | }, 1249 | "funding": { 1250 | "url": "https://github.com/sponsors/sindresorhus" 1251 | } 1252 | }, 1253 | "node_modules/path-exists": { 1254 | "version": "4.0.0", 1255 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", 1256 | "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", 1257 | "dev": true, 1258 | "engines": { 1259 | "node": ">=8" 1260 | } 1261 | }, 1262 | "node_modules/path-is-absolute": { 1263 | "version": "1.0.1", 1264 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 1265 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", 1266 | "dev": true, 1267 | "engines": { 1268 | "node": ">=0.10.0" 1269 | } 1270 | }, 1271 | "node_modules/pathval": { 1272 | "version": "1.1.1", 1273 | "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", 1274 | "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", 1275 | "dev": true, 1276 | "engines": { 1277 | "node": "*" 1278 | } 1279 | }, 1280 | "node_modules/picomatch": { 1281 | "version": "2.3.1", 1282 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 1283 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 1284 | "dev": true, 1285 | "engines": { 1286 | "node": ">=8.6" 1287 | }, 1288 | "funding": { 1289 | "url": "https://github.com/sponsors/jonschlinkert" 1290 | } 1291 | }, 1292 | "node_modules/poseidon-lite": { 1293 | "version": "0.0.2", 1294 | "resolved": "https://registry.npmjs.org/poseidon-lite/-/poseidon-lite-0.0.2.tgz", 1295 | "integrity": "sha512-bGdDPTOQkJbBjbtSEWc3gY+YhqlGTxGlZ8041F8TGGg5QyGGp1Cfs4b8AEnFFjHbkPg6WdWXUgEjU1GKOKWAPw==", 1296 | "dev": true 1297 | }, 1298 | "node_modules/r1csfile": { 1299 | "version": "0.0.41", 1300 | "resolved": "https://registry.npmjs.org/r1csfile/-/r1csfile-0.0.41.tgz", 1301 | "integrity": "sha512-Q1WDF3u1vYeAwjHo4YuddkA8Aq0TulbKjmGm99+Atn13Lf5fTsMZBnBV9T741w8iSyPFG6Uh6sapQby77sREqA==", 1302 | "dev": true, 1303 | "dependencies": { 1304 | "@iden3/bigarray": "0.0.2", 1305 | "@iden3/binfileutils": "0.0.11", 1306 | "fastfile": "0.0.20", 1307 | "ffjavascript": "0.2.56" 1308 | } 1309 | }, 1310 | "node_modules/r1csfile/node_modules/ffjavascript": { 1311 | "version": "0.2.56", 1312 | "resolved": "https://registry.npmjs.org/ffjavascript/-/ffjavascript-0.2.56.tgz", 1313 | "integrity": "sha512-em6G5Lrj7ucIqj4TYEgyoHs/j99Urwwqa4+YxEVY2hggnpRimVj+noX5pZQTxI1pvtiekZI4rG65JBf0xraXrg==", 1314 | "dev": true, 1315 | "dependencies": { 1316 | "wasmbuilder": "0.0.16", 1317 | "wasmcurves": "0.2.0", 1318 | "web-worker": "^1.2.0" 1319 | } 1320 | }, 1321 | "node_modules/randombytes": { 1322 | "version": "2.1.0", 1323 | "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", 1324 | "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", 1325 | "dev": true, 1326 | "dependencies": { 1327 | "safe-buffer": "^5.1.0" 1328 | } 1329 | }, 1330 | "node_modules/readdirp": { 1331 | "version": "3.6.0", 1332 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", 1333 | "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", 1334 | "dev": true, 1335 | "dependencies": { 1336 | "picomatch": "^2.2.1" 1337 | }, 1338 | "engines": { 1339 | "node": ">=8.10.0" 1340 | } 1341 | }, 1342 | "node_modules/require-directory": { 1343 | "version": "2.1.1", 1344 | "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", 1345 | "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", 1346 | "dev": true, 1347 | "engines": { 1348 | "node": ">=0.10.0" 1349 | } 1350 | }, 1351 | "node_modules/rimraf": { 1352 | "version": "3.0.2", 1353 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", 1354 | "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", 1355 | "dev": true, 1356 | "dependencies": { 1357 | "glob": "^7.1.3" 1358 | }, 1359 | "bin": { 1360 | "rimraf": "bin.js" 1361 | }, 1362 | "funding": { 1363 | "url": "https://github.com/sponsors/isaacs" 1364 | } 1365 | }, 1366 | "node_modules/safe-buffer": { 1367 | "version": "5.2.1", 1368 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 1369 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", 1370 | "dev": true, 1371 | "funding": [ 1372 | { 1373 | "type": "github", 1374 | "url": "https://github.com/sponsors/feross" 1375 | }, 1376 | { 1377 | "type": "patreon", 1378 | "url": "https://www.patreon.com/feross" 1379 | }, 1380 | { 1381 | "type": "consulting", 1382 | "url": "https://feross.org/support" 1383 | } 1384 | ] 1385 | }, 1386 | "node_modules/serialize-javascript": { 1387 | "version": "6.0.0", 1388 | "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", 1389 | "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", 1390 | "dev": true, 1391 | "dependencies": { 1392 | "randombytes": "^2.1.0" 1393 | } 1394 | }, 1395 | "node_modules/snarkjs": { 1396 | "version": "0.7.0", 1397 | "resolved": "https://registry.npmjs.org/snarkjs/-/snarkjs-0.7.0.tgz", 1398 | "integrity": "sha512-Vu5W+0Va6X1xvlCllpZ2r3/S7MafnL6IrAv09lk/F+VNDHuHEHx3xopR9Kr70p2KpbBBJ/HB9VCDZWism8WGlA==", 1399 | "dev": true, 1400 | "dependencies": { 1401 | "@iden3/binfileutils": "0.0.11", 1402 | "bfj": "^7.0.2", 1403 | "blake2b-wasm": "^2.4.0", 1404 | "circom_runtime": "0.1.22", 1405 | "ejs": "^3.1.6", 1406 | "fastfile": "0.0.20", 1407 | "ffjavascript": "0.2.59", 1408 | "js-sha3": "^0.8.0", 1409 | "logplease": "^1.2.15", 1410 | "r1csfile": "0.0.45" 1411 | }, 1412 | "bin": { 1413 | "snarkjs": "build/cli.cjs" 1414 | } 1415 | }, 1416 | "node_modules/snarkjs/node_modules/ffjavascript": { 1417 | "version": "0.2.59", 1418 | "resolved": "https://registry.npmjs.org/ffjavascript/-/ffjavascript-0.2.59.tgz", 1419 | "integrity": "sha512-QssOEUv+wilz9Sg7Zaj6KWAm7QceOAEsFuEBTltUsDo1cjn11rA/LGYvzFBPbzNfxRlZxwgJ7uxpCQcdDlrNfw==", 1420 | "dev": true, 1421 | "dependencies": { 1422 | "wasmbuilder": "0.0.16", 1423 | "wasmcurves": "0.2.1", 1424 | "web-worker": "^1.2.0" 1425 | } 1426 | }, 1427 | "node_modules/snarkjs/node_modules/r1csfile": { 1428 | "version": "0.0.45", 1429 | "resolved": "https://registry.npmjs.org/r1csfile/-/r1csfile-0.0.45.tgz", 1430 | "integrity": "sha512-YKIp4D441aZ6OoI9y+bfAyb2j4Cl+OFq/iiX6pPWDrL4ZO968h0dq0w07i65edvrTt7/G43mTnl0qEuLXyp/Yw==", 1431 | "dev": true, 1432 | "dependencies": { 1433 | "@iden3/bigarray": "0.0.2", 1434 | "@iden3/binfileutils": "0.0.11", 1435 | "fastfile": "0.0.20", 1436 | "ffjavascript": "0.2.57" 1437 | } 1438 | }, 1439 | "node_modules/snarkjs/node_modules/r1csfile/node_modules/ffjavascript": { 1440 | "version": "0.2.57", 1441 | "resolved": "https://registry.npmjs.org/ffjavascript/-/ffjavascript-0.2.57.tgz", 1442 | "integrity": "sha512-V+vxZ/zPNcthrWmqfe/1YGgqdkTamJeXiED0tsk7B84g40DKlrTdx47IqZuiygqAVG6zMw4qYuvXftIJWsmfKQ==", 1443 | "dev": true, 1444 | "dependencies": { 1445 | "wasmbuilder": "0.0.16", 1446 | "wasmcurves": "0.2.0", 1447 | "web-worker": "^1.2.0" 1448 | } 1449 | }, 1450 | "node_modules/snarkjs/node_modules/r1csfile/node_modules/wasmcurves": { 1451 | "version": "0.2.0", 1452 | "resolved": "https://registry.npmjs.org/wasmcurves/-/wasmcurves-0.2.0.tgz", 1453 | "integrity": "sha512-3e2rbxdujOwaod657gxgmdhZNn+i1qKdHO3Y/bK+8E7bV8ttV/fu5FO4/WLBACF375cK0QDLOP+65Na63qYuWA==", 1454 | "dev": true, 1455 | "dependencies": { 1456 | "wasmbuilder": "0.0.16" 1457 | } 1458 | }, 1459 | "node_modules/snarkjs/node_modules/wasmcurves": { 1460 | "version": "0.2.1", 1461 | "resolved": "https://registry.npmjs.org/wasmcurves/-/wasmcurves-0.2.1.tgz", 1462 | "integrity": "sha512-9ciO7bUE5bgpbOcdK7IO3enrSVIKHwrQmPibok4GLJWaCA7Wyqc9PRYnu5HbiFv9NDFNqVKPtU5R6Is5KujBLg==", 1463 | "dev": true, 1464 | "dependencies": { 1465 | "wasmbuilder": "0.0.16" 1466 | } 1467 | }, 1468 | "node_modules/source-map": { 1469 | "version": "0.6.1", 1470 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", 1471 | "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", 1472 | "dev": true, 1473 | "engines": { 1474 | "node": ">=0.10.0" 1475 | } 1476 | }, 1477 | "node_modules/source-map-support": { 1478 | "version": "0.5.21", 1479 | "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", 1480 | "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", 1481 | "dev": true, 1482 | "dependencies": { 1483 | "buffer-from": "^1.0.0", 1484 | "source-map": "^0.6.0" 1485 | } 1486 | }, 1487 | "node_modules/string-width": { 1488 | "version": "4.2.3", 1489 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 1490 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 1491 | "dev": true, 1492 | "dependencies": { 1493 | "emoji-regex": "^8.0.0", 1494 | "is-fullwidth-code-point": "^3.0.0", 1495 | "strip-ansi": "^6.0.1" 1496 | }, 1497 | "engines": { 1498 | "node": ">=8" 1499 | } 1500 | }, 1501 | "node_modules/strip-ansi": { 1502 | "version": "6.0.1", 1503 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 1504 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 1505 | "dev": true, 1506 | "dependencies": { 1507 | "ansi-regex": "^5.0.1" 1508 | }, 1509 | "engines": { 1510 | "node": ">=8" 1511 | } 1512 | }, 1513 | "node_modules/strip-bom": { 1514 | "version": "3.0.0", 1515 | "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", 1516 | "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", 1517 | "dev": true, 1518 | "optional": true, 1519 | "engines": { 1520 | "node": ">=4" 1521 | } 1522 | }, 1523 | "node_modules/strip-json-comments": { 1524 | "version": "3.1.1", 1525 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", 1526 | "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", 1527 | "dev": true, 1528 | "engines": { 1529 | "node": ">=8" 1530 | }, 1531 | "funding": { 1532 | "url": "https://github.com/sponsors/sindresorhus" 1533 | } 1534 | }, 1535 | "node_modules/supports-color": { 1536 | "version": "7.2.0", 1537 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 1538 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 1539 | "dev": true, 1540 | "dependencies": { 1541 | "has-flag": "^4.0.0" 1542 | }, 1543 | "engines": { 1544 | "node": ">=8" 1545 | } 1546 | }, 1547 | "node_modules/tmp": { 1548 | "version": "0.2.1", 1549 | "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", 1550 | "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", 1551 | "dev": true, 1552 | "dependencies": { 1553 | "rimraf": "^3.0.0" 1554 | }, 1555 | "engines": { 1556 | "node": ">=8.17.0" 1557 | } 1558 | }, 1559 | "node_modules/tmp-promise": { 1560 | "version": "3.0.3", 1561 | "resolved": "https://registry.npmjs.org/tmp-promise/-/tmp-promise-3.0.3.tgz", 1562 | "integrity": "sha512-RwM7MoPojPxsOBYnyd2hy0bxtIlVrihNs9pj5SUvY8Zz1sQcQG2tG1hSr8PDxfgEB8RNKDhqbIlroIarSNDNsQ==", 1563 | "dev": true, 1564 | "dependencies": { 1565 | "tmp": "^0.2.0" 1566 | } 1567 | }, 1568 | "node_modules/to-regex-range": { 1569 | "version": "5.0.1", 1570 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 1571 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 1572 | "dev": true, 1573 | "dependencies": { 1574 | "is-number": "^7.0.0" 1575 | }, 1576 | "engines": { 1577 | "node": ">=8.0" 1578 | } 1579 | }, 1580 | "node_modules/tryer": { 1581 | "version": "1.0.1", 1582 | "resolved": "https://registry.npmjs.org/tryer/-/tryer-1.0.1.tgz", 1583 | "integrity": "sha512-c3zayb8/kWWpycWYg87P71E1S1ZL6b6IJxfb5fvsUgsf0S2MVGaDhDXXjDMpdCpfWXqptc+4mXwmiy1ypXqRAA==", 1584 | "dev": true 1585 | }, 1586 | "node_modules/ts-mocha": { 1587 | "version": "10.0.0", 1588 | "resolved": "https://registry.npmjs.org/ts-mocha/-/ts-mocha-10.0.0.tgz", 1589 | "integrity": "sha512-VRfgDO+iiuJFlNB18tzOfypJ21xn2xbuZyDvJvqpTbWgkAgD17ONGr8t+Tl8rcBtOBdjXp5e/Rk+d39f7XBHRw==", 1590 | "dev": true, 1591 | "dependencies": { 1592 | "ts-node": "7.0.1" 1593 | }, 1594 | "bin": { 1595 | "ts-mocha": "bin/ts-mocha" 1596 | }, 1597 | "engines": { 1598 | "node": ">= 6.X.X" 1599 | }, 1600 | "optionalDependencies": { 1601 | "tsconfig-paths": "^3.5.0" 1602 | }, 1603 | "peerDependencies": { 1604 | "mocha": "^3.X.X || ^4.X.X || ^5.X.X || ^6.X.X || ^7.X.X || ^8.X.X || ^9.X.X || ^10.X.X" 1605 | } 1606 | }, 1607 | "node_modules/ts-node": { 1608 | "version": "7.0.1", 1609 | "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-7.0.1.tgz", 1610 | "integrity": "sha512-BVwVbPJRspzNh2yfslyT1PSbl5uIk03EZlb493RKHN4qej/D06n1cEhjlOJG69oFsE7OT8XjpTUcYf6pKTLMhw==", 1611 | "dev": true, 1612 | "dependencies": { 1613 | "arrify": "^1.0.0", 1614 | "buffer-from": "^1.1.0", 1615 | "diff": "^3.1.0", 1616 | "make-error": "^1.1.1", 1617 | "minimist": "^1.2.0", 1618 | "mkdirp": "^0.5.1", 1619 | "source-map-support": "^0.5.6", 1620 | "yn": "^2.0.0" 1621 | }, 1622 | "bin": { 1623 | "ts-node": "dist/bin.js" 1624 | }, 1625 | "engines": { 1626 | "node": ">=4.2.0" 1627 | } 1628 | }, 1629 | "node_modules/ts-node/node_modules/diff": { 1630 | "version": "3.5.0", 1631 | "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", 1632 | "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", 1633 | "dev": true, 1634 | "engines": { 1635 | "node": ">=0.3.1" 1636 | } 1637 | }, 1638 | "node_modules/tsconfig-paths": { 1639 | "version": "3.14.2", 1640 | "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz", 1641 | "integrity": "sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g==", 1642 | "dev": true, 1643 | "optional": true, 1644 | "dependencies": { 1645 | "@types/json5": "^0.0.29", 1646 | "json5": "^1.0.2", 1647 | "minimist": "^1.2.6", 1648 | "strip-bom": "^3.0.0" 1649 | } 1650 | }, 1651 | "node_modules/type-detect": { 1652 | "version": "4.0.8", 1653 | "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", 1654 | "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", 1655 | "dev": true, 1656 | "engines": { 1657 | "node": ">=4" 1658 | } 1659 | }, 1660 | "node_modules/typescript": { 1661 | "version": "4.9.5", 1662 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", 1663 | "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", 1664 | "dev": true, 1665 | "bin": { 1666 | "tsc": "bin/tsc", 1667 | "tsserver": "bin/tsserver" 1668 | }, 1669 | "engines": { 1670 | "node": ">=4.2.0" 1671 | } 1672 | }, 1673 | "node_modules/util": { 1674 | "version": "0.12.5", 1675 | "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", 1676 | "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", 1677 | "dev": true, 1678 | "dependencies": { 1679 | "inherits": "^2.0.3", 1680 | "is-arguments": "^1.0.4", 1681 | "is-generator-function": "^1.0.7", 1682 | "is-typed-array": "^1.1.3", 1683 | "which-typed-array": "^1.1.2" 1684 | } 1685 | }, 1686 | "node_modules/wasmbuilder": { 1687 | "version": "0.0.16", 1688 | "resolved": "https://registry.npmjs.org/wasmbuilder/-/wasmbuilder-0.0.16.tgz", 1689 | "integrity": "sha512-Qx3lEFqaVvp1cEYW7Bfi+ebRJrOiwz2Ieu7ZG2l7YyeSJIok/reEQCQCuicj/Y32ITIJuGIM9xZQppGx5LrQdA==", 1690 | "dev": true 1691 | }, 1692 | "node_modules/wasmcurves": { 1693 | "version": "0.2.0", 1694 | "resolved": "https://registry.npmjs.org/wasmcurves/-/wasmcurves-0.2.0.tgz", 1695 | "integrity": "sha512-3e2rbxdujOwaod657gxgmdhZNn+i1qKdHO3Y/bK+8E7bV8ttV/fu5FO4/WLBACF375cK0QDLOP+65Na63qYuWA==", 1696 | "dev": true, 1697 | "dependencies": { 1698 | "wasmbuilder": "0.0.16" 1699 | } 1700 | }, 1701 | "node_modules/web-worker": { 1702 | "version": "1.2.0", 1703 | "resolved": "https://registry.npmjs.org/web-worker/-/web-worker-1.2.0.tgz", 1704 | "integrity": "sha512-PgF341avzqyx60neE9DD+XS26MMNMoUQRz9NOZwW32nPQrF6p77f1htcnjBSEV8BGMKZ16choqUG4hyI0Hx7mA==", 1705 | "dev": true 1706 | }, 1707 | "node_modules/which-typed-array": { 1708 | "version": "1.1.9", 1709 | "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz", 1710 | "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==", 1711 | "dev": true, 1712 | "dependencies": { 1713 | "available-typed-arrays": "^1.0.5", 1714 | "call-bind": "^1.0.2", 1715 | "for-each": "^0.3.3", 1716 | "gopd": "^1.0.1", 1717 | "has-tostringtag": "^1.0.0", 1718 | "is-typed-array": "^1.1.10" 1719 | }, 1720 | "engines": { 1721 | "node": ">= 0.4" 1722 | }, 1723 | "funding": { 1724 | "url": "https://github.com/sponsors/ljharb" 1725 | } 1726 | }, 1727 | "node_modules/workerpool": { 1728 | "version": "6.2.1", 1729 | "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz", 1730 | "integrity": "sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==", 1731 | "dev": true 1732 | }, 1733 | "node_modules/wrap-ansi": { 1734 | "version": "7.0.0", 1735 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", 1736 | "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", 1737 | "dev": true, 1738 | "dependencies": { 1739 | "ansi-styles": "^4.0.0", 1740 | "string-width": "^4.1.0", 1741 | "strip-ansi": "^6.0.0" 1742 | }, 1743 | "engines": { 1744 | "node": ">=10" 1745 | }, 1746 | "funding": { 1747 | "url": "https://github.com/chalk/wrap-ansi?sponsor=1" 1748 | } 1749 | }, 1750 | "node_modules/wrappy": { 1751 | "version": "1.0.2", 1752 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 1753 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", 1754 | "dev": true 1755 | }, 1756 | "node_modules/y18n": { 1757 | "version": "5.0.8", 1758 | "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", 1759 | "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", 1760 | "dev": true, 1761 | "engines": { 1762 | "node": ">=10" 1763 | } 1764 | }, 1765 | "node_modules/yargs": { 1766 | "version": "16.2.0", 1767 | "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", 1768 | "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", 1769 | "dev": true, 1770 | "dependencies": { 1771 | "cliui": "^7.0.2", 1772 | "escalade": "^3.1.1", 1773 | "get-caller-file": "^2.0.5", 1774 | "require-directory": "^2.1.1", 1775 | "string-width": "^4.2.0", 1776 | "y18n": "^5.0.5", 1777 | "yargs-parser": "^20.2.2" 1778 | }, 1779 | "engines": { 1780 | "node": ">=10" 1781 | } 1782 | }, 1783 | "node_modules/yargs-parser": { 1784 | "version": "20.2.4", 1785 | "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", 1786 | "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", 1787 | "dev": true, 1788 | "engines": { 1789 | "node": ">=10" 1790 | } 1791 | }, 1792 | "node_modules/yargs-unparser": { 1793 | "version": "2.0.0", 1794 | "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", 1795 | "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", 1796 | "dev": true, 1797 | "dependencies": { 1798 | "camelcase": "^6.0.0", 1799 | "decamelize": "^4.0.0", 1800 | "flat": "^5.0.2", 1801 | "is-plain-obj": "^2.1.0" 1802 | }, 1803 | "engines": { 1804 | "node": ">=10" 1805 | } 1806 | }, 1807 | "node_modules/yn": { 1808 | "version": "2.0.0", 1809 | "resolved": "https://registry.npmjs.org/yn/-/yn-2.0.0.tgz", 1810 | "integrity": "sha512-uTv8J/wiWTgUTg+9vLTi//leUl5vDQS6uii/emeTb2ssY7vl6QWf2fFbIIGjnhjvbdKlU0ed7QPgY1htTC86jQ==", 1811 | "dev": true, 1812 | "engines": { 1813 | "node": ">=4" 1814 | } 1815 | }, 1816 | "node_modules/yocto-queue": { 1817 | "version": "0.1.0", 1818 | "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", 1819 | "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", 1820 | "dev": true, 1821 | "engines": { 1822 | "node": ">=10" 1823 | }, 1824 | "funding": { 1825 | "url": "https://github.com/sponsors/sindresorhus" 1826 | } 1827 | } 1828 | }, 1829 | "dependencies": { 1830 | "@iden3/bigarray": { 1831 | "version": "0.0.2", 1832 | "resolved": "https://registry.npmjs.org/@iden3/bigarray/-/bigarray-0.0.2.tgz", 1833 | "integrity": "sha512-Xzdyxqm1bOFF6pdIsiHLLl3HkSLjbhqJHVyqaTxXt3RqXBEnmsUmEW47H7VOi/ak7TdkRpNkxjyK5Zbkm+y52g==", 1834 | "dev": true 1835 | }, 1836 | "@iden3/binfileutils": { 1837 | "version": "0.0.11", 1838 | "resolved": "https://registry.npmjs.org/@iden3/binfileutils/-/binfileutils-0.0.11.tgz", 1839 | "integrity": "sha512-LylnJoZ0CTdgErnKY8OxohvW4K+p6UHD3sxt+3P9AmMyBQjYR4IpoqoYZZ+9aMj89cmCQ21UvdhndAx04er3NA==", 1840 | "dev": true, 1841 | "requires": { 1842 | "fastfile": "0.0.20", 1843 | "ffjavascript": "^0.2.48" 1844 | } 1845 | }, 1846 | "@types/json5": { 1847 | "version": "0.0.29", 1848 | "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", 1849 | "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", 1850 | "dev": true, 1851 | "optional": true 1852 | }, 1853 | "@types/mocha": { 1854 | "version": "10.0.1", 1855 | "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.1.tgz", 1856 | "integrity": "sha512-/fvYntiO1GeICvqbQ3doGDIP97vWmvFt83GKguJ6prmQM2iXZfFcq6YE8KteFyRtX2/h5Hf91BYvPodJKFYv5Q==", 1857 | "dev": true 1858 | }, 1859 | "@types/node": { 1860 | "version": "18.15.10", 1861 | "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.10.tgz", 1862 | "integrity": "sha512-9avDaQJczATcXgfmMAW3MIWArOO7A+m90vuCFLr8AotWf8igO/mRoYukrk2cqZVtv38tHs33retzHEilM7FpeQ==", 1863 | "dev": true 1864 | }, 1865 | "@zk-kit/incremental-merkle-tree": { 1866 | "version": "1.0.0", 1867 | "resolved": "https://registry.npmjs.org/@zk-kit/incremental-merkle-tree/-/incremental-merkle-tree-1.0.0.tgz", 1868 | "integrity": "sha512-2iRLZfHnZ6wKE+oZN2CnpkKYCE5f5dpv6YRIwLDCz0xwJZrIMQ81AamFBdxPesQSYMMP0GkC0iv1rm6gxAL2Ow==", 1869 | "dev": true 1870 | }, 1871 | "ansi-colors": { 1872 | "version": "4.1.1", 1873 | "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", 1874 | "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", 1875 | "dev": true 1876 | }, 1877 | "ansi-regex": { 1878 | "version": "5.0.1", 1879 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 1880 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 1881 | "dev": true 1882 | }, 1883 | "ansi-styles": { 1884 | "version": "4.3.0", 1885 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 1886 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 1887 | "dev": true, 1888 | "requires": { 1889 | "color-convert": "^2.0.1" 1890 | } 1891 | }, 1892 | "anymatch": { 1893 | "version": "3.1.3", 1894 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", 1895 | "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", 1896 | "dev": true, 1897 | "requires": { 1898 | "normalize-path": "^3.0.0", 1899 | "picomatch": "^2.0.4" 1900 | } 1901 | }, 1902 | "argparse": { 1903 | "version": "2.0.1", 1904 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", 1905 | "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", 1906 | "dev": true 1907 | }, 1908 | "arrify": { 1909 | "version": "1.0.1", 1910 | "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", 1911 | "integrity": "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==", 1912 | "dev": true 1913 | }, 1914 | "assertion-error": { 1915 | "version": "1.1.0", 1916 | "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", 1917 | "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", 1918 | "dev": true 1919 | }, 1920 | "async": { 1921 | "version": "3.2.4", 1922 | "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", 1923 | "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==", 1924 | "dev": true 1925 | }, 1926 | "available-typed-arrays": { 1927 | "version": "1.0.5", 1928 | "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", 1929 | "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", 1930 | "dev": true 1931 | }, 1932 | "b4a": { 1933 | "version": "1.6.1", 1934 | "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.1.tgz", 1935 | "integrity": "sha512-AsKjNhz72yxteo/0EtQEiwkMUgk/tGmycXlbG4g3Ard2/ULtNLUykGOkeK0egmN27h0xMAhb76jYccW+XTBExA==", 1936 | "dev": true 1937 | }, 1938 | "balanced-match": { 1939 | "version": "1.0.2", 1940 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 1941 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 1942 | "dev": true 1943 | }, 1944 | "bfj": { 1945 | "version": "7.0.2", 1946 | "resolved": "https://registry.npmjs.org/bfj/-/bfj-7.0.2.tgz", 1947 | "integrity": "sha512-+e/UqUzwmzJamNF50tBV6tZPTORow7gQ96iFow+8b562OdMpEK0BcJEq2OSPEDmAbSMBQ7PKZ87ubFkgxpYWgw==", 1948 | "dev": true, 1949 | "requires": { 1950 | "bluebird": "^3.5.5", 1951 | "check-types": "^11.1.1", 1952 | "hoopy": "^0.1.4", 1953 | "tryer": "^1.0.1" 1954 | } 1955 | }, 1956 | "binary-extensions": { 1957 | "version": "2.2.0", 1958 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", 1959 | "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", 1960 | "dev": true 1961 | }, 1962 | "blake2b-wasm": { 1963 | "version": "2.4.0", 1964 | "resolved": "https://registry.npmjs.org/blake2b-wasm/-/blake2b-wasm-2.4.0.tgz", 1965 | "integrity": "sha512-S1kwmW2ZhZFFFOghcx73+ZajEfKBqhP82JMssxtLVMxlaPea1p9uoLiUZ5WYyHn0KddwbLc+0vh4wR0KBNoT5w==", 1966 | "dev": true, 1967 | "requires": { 1968 | "b4a": "^1.0.1", 1969 | "nanoassert": "^2.0.0" 1970 | } 1971 | }, 1972 | "bluebird": { 1973 | "version": "3.7.2", 1974 | "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", 1975 | "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", 1976 | "dev": true 1977 | }, 1978 | "brace-expansion": { 1979 | "version": "1.1.11", 1980 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 1981 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 1982 | "dev": true, 1983 | "requires": { 1984 | "balanced-match": "^1.0.0", 1985 | "concat-map": "0.0.1" 1986 | } 1987 | }, 1988 | "braces": { 1989 | "version": "3.0.2", 1990 | "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", 1991 | "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", 1992 | "dev": true, 1993 | "requires": { 1994 | "fill-range": "^7.0.1" 1995 | } 1996 | }, 1997 | "browser-stdout": { 1998 | "version": "1.3.1", 1999 | "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", 2000 | "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", 2001 | "dev": true 2002 | }, 2003 | "buffer-from": { 2004 | "version": "1.1.2", 2005 | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", 2006 | "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", 2007 | "dev": true 2008 | }, 2009 | "call-bind": { 2010 | "version": "1.0.2", 2011 | "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", 2012 | "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", 2013 | "dev": true, 2014 | "requires": { 2015 | "function-bind": "^1.1.1", 2016 | "get-intrinsic": "^1.0.2" 2017 | } 2018 | }, 2019 | "camelcase": { 2020 | "version": "6.3.0", 2021 | "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", 2022 | "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", 2023 | "dev": true 2024 | }, 2025 | "chai": { 2026 | "version": "4.3.7", 2027 | "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.7.tgz", 2028 | "integrity": "sha512-HLnAzZ2iupm25PlN0xFreAlBA5zaBSv3og0DdeGA4Ar6h6rJ3A0rolRUKJhSF2V10GZKDgWF/VmAEsNWjCRB+A==", 2029 | "dev": true, 2030 | "requires": { 2031 | "assertion-error": "^1.1.0", 2032 | "check-error": "^1.0.2", 2033 | "deep-eql": "^4.1.2", 2034 | "get-func-name": "^2.0.0", 2035 | "loupe": "^2.3.1", 2036 | "pathval": "^1.1.1", 2037 | "type-detect": "^4.0.5" 2038 | } 2039 | }, 2040 | "chalk": { 2041 | "version": "4.1.2", 2042 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", 2043 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", 2044 | "dev": true, 2045 | "requires": { 2046 | "ansi-styles": "^4.1.0", 2047 | "supports-color": "^7.1.0" 2048 | } 2049 | }, 2050 | "check-error": { 2051 | "version": "1.0.2", 2052 | "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", 2053 | "integrity": "sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==", 2054 | "dev": true 2055 | }, 2056 | "check-types": { 2057 | "version": "11.2.2", 2058 | "resolved": "https://registry.npmjs.org/check-types/-/check-types-11.2.2.tgz", 2059 | "integrity": "sha512-HBiYvXvn9Z70Z88XKjz3AEKd4HJhBXsa3j7xFnITAzoS8+q6eIGi8qDB8FKPBAjtuxjI/zFpwuiCb8oDtKOYrA==", 2060 | "dev": true 2061 | }, 2062 | "child_process": { 2063 | "version": "1.0.2", 2064 | "resolved": "https://registry.npmjs.org/child_process/-/child_process-1.0.2.tgz", 2065 | "integrity": "sha512-Wmza/JzL0SiWz7kl6MhIKT5ceIlnFPJX+lwUGj7Clhy5MMldsSoJR0+uvRzOS5Kv45Mq7t1PoE8TsOA9bzvb6g==", 2066 | "dev": true 2067 | }, 2068 | "chokidar": { 2069 | "version": "3.5.3", 2070 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", 2071 | "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", 2072 | "dev": true, 2073 | "requires": { 2074 | "anymatch": "~3.1.2", 2075 | "braces": "~3.0.2", 2076 | "fsevents": "~2.3.2", 2077 | "glob-parent": "~5.1.2", 2078 | "is-binary-path": "~2.1.0", 2079 | "is-glob": "~4.0.1", 2080 | "normalize-path": "~3.0.0", 2081 | "readdirp": "~3.6.0" 2082 | } 2083 | }, 2084 | "circom_runtime": { 2085 | "version": "0.1.22", 2086 | "resolved": "https://registry.npmjs.org/circom_runtime/-/circom_runtime-0.1.22.tgz", 2087 | "integrity": "sha512-V/XYZWBhbZY8SotkaGH4FbiDYAZ8a1Md++MBiKPDOuWS/NIJB+Q+XIiTC8zKMgoDaa9cd2OiTvsC9J6te7twNg==", 2088 | "dev": true, 2089 | "requires": { 2090 | "ffjavascript": "0.2.57" 2091 | } 2092 | }, 2093 | "circom_tester": { 2094 | "version": "0.0.19", 2095 | "resolved": "https://registry.npmjs.org/circom_tester/-/circom_tester-0.0.19.tgz", 2096 | "integrity": "sha512-SNHaBsGxcBH6XsVWfsRbRPA7NF8m8AMKJI9dtJJCFGUtOTT2+zsoIqAwi50z6XCnO4TtjyXq7AeXa1PLHqT0tw==", 2097 | "dev": true, 2098 | "requires": { 2099 | "chai": "^4.3.6", 2100 | "child_process": "^1.0.2", 2101 | "ffjavascript": "^0.2.56", 2102 | "fnv-plus": "^1.3.1", 2103 | "r1csfile": "^0.0.41", 2104 | "snarkjs": "0.5.0", 2105 | "tmp-promise": "^3.0.3", 2106 | "util": "^0.12.4" 2107 | }, 2108 | "dependencies": { 2109 | "circom_runtime": { 2110 | "version": "0.1.21", 2111 | "resolved": "https://registry.npmjs.org/circom_runtime/-/circom_runtime-0.1.21.tgz", 2112 | "integrity": "sha512-qTkud630B/GK8y76hnOaaS1aNuF6prfV0dTrkeRsiJKnlP1ryQbP2FWLgDOPqn6aKyaPlam+Z+DTbBhkEzh8dA==", 2113 | "dev": true, 2114 | "requires": { 2115 | "ffjavascript": "0.2.56" 2116 | } 2117 | }, 2118 | "ffjavascript": { 2119 | "version": "0.2.56", 2120 | "resolved": "https://registry.npmjs.org/ffjavascript/-/ffjavascript-0.2.56.tgz", 2121 | "integrity": "sha512-em6G5Lrj7ucIqj4TYEgyoHs/j99Urwwqa4+YxEVY2hggnpRimVj+noX5pZQTxI1pvtiekZI4rG65JBf0xraXrg==", 2122 | "dev": true, 2123 | "requires": { 2124 | "wasmbuilder": "0.0.16", 2125 | "wasmcurves": "0.2.0", 2126 | "web-worker": "^1.2.0" 2127 | } 2128 | }, 2129 | "snarkjs": { 2130 | "version": "0.5.0", 2131 | "resolved": "https://registry.npmjs.org/snarkjs/-/snarkjs-0.5.0.tgz", 2132 | "integrity": "sha512-KWz8mZ2Y+6wvn6GGkQo6/ZlKwETdAGohd40Lzpwp5TUZCn6N6O4Az1SuX1rw/qREGL6Im+ycb19suCFE8/xaKA==", 2133 | "dev": true, 2134 | "requires": { 2135 | "@iden3/binfileutils": "0.0.11", 2136 | "bfj": "^7.0.2", 2137 | "blake2b-wasm": "^2.4.0", 2138 | "circom_runtime": "0.1.21", 2139 | "ejs": "^3.1.6", 2140 | "fastfile": "0.0.20", 2141 | "ffjavascript": "0.2.56", 2142 | "js-sha3": "^0.8.0", 2143 | "logplease": "^1.2.15", 2144 | "r1csfile": "0.0.41" 2145 | } 2146 | } 2147 | } 2148 | }, 2149 | "circomlib": { 2150 | "version": "2.0.5", 2151 | "resolved": "https://registry.npmjs.org/circomlib/-/circomlib-2.0.5.tgz", 2152 | "integrity": "sha512-O7NQ8OS+J4eshBuoy36z/TwQU0YHw8W3zxZcs4hVwpEll3e4hDm3mgkIPqItN8FDeLEKZFK3YeT/+k8TiLF3/A==" 2153 | }, 2154 | "cliui": { 2155 | "version": "7.0.4", 2156 | "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", 2157 | "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", 2158 | "dev": true, 2159 | "requires": { 2160 | "string-width": "^4.2.0", 2161 | "strip-ansi": "^6.0.0", 2162 | "wrap-ansi": "^7.0.0" 2163 | } 2164 | }, 2165 | "color-convert": { 2166 | "version": "2.0.1", 2167 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 2168 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 2169 | "dev": true, 2170 | "requires": { 2171 | "color-name": "~1.1.4" 2172 | } 2173 | }, 2174 | "color-name": { 2175 | "version": "1.1.4", 2176 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 2177 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 2178 | "dev": true 2179 | }, 2180 | "concat-map": { 2181 | "version": "0.0.1", 2182 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 2183 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", 2184 | "dev": true 2185 | }, 2186 | "debug": { 2187 | "version": "4.3.4", 2188 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 2189 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 2190 | "dev": true, 2191 | "requires": { 2192 | "ms": "2.1.2" 2193 | }, 2194 | "dependencies": { 2195 | "ms": { 2196 | "version": "2.1.2", 2197 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 2198 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 2199 | "dev": true 2200 | } 2201 | } 2202 | }, 2203 | "decamelize": { 2204 | "version": "4.0.0", 2205 | "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", 2206 | "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", 2207 | "dev": true 2208 | }, 2209 | "deep-eql": { 2210 | "version": "4.1.3", 2211 | "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-4.1.3.tgz", 2212 | "integrity": "sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==", 2213 | "dev": true, 2214 | "requires": { 2215 | "type-detect": "^4.0.0" 2216 | } 2217 | }, 2218 | "diff": { 2219 | "version": "5.0.0", 2220 | "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", 2221 | "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", 2222 | "dev": true 2223 | }, 2224 | "ejs": { 2225 | "version": "3.1.8", 2226 | "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.8.tgz", 2227 | "integrity": "sha512-/sXZeMlhS0ArkfX2Aw780gJzXSMPnKjtspYZv+f3NiKLlubezAHDU5+9xz6gd3/NhG3txQCo6xlglmTS+oTGEQ==", 2228 | "dev": true, 2229 | "requires": { 2230 | "jake": "^10.8.5" 2231 | } 2232 | }, 2233 | "emoji-regex": { 2234 | "version": "8.0.0", 2235 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 2236 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", 2237 | "dev": true 2238 | }, 2239 | "escalade": { 2240 | "version": "3.1.1", 2241 | "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", 2242 | "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", 2243 | "dev": true 2244 | }, 2245 | "escape-string-regexp": { 2246 | "version": "4.0.0", 2247 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", 2248 | "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", 2249 | "dev": true 2250 | }, 2251 | "fastfile": { 2252 | "version": "0.0.20", 2253 | "resolved": "https://registry.npmjs.org/fastfile/-/fastfile-0.0.20.tgz", 2254 | "integrity": "sha512-r5ZDbgImvVWCP0lA/cGNgQcZqR+aYdFx3u+CtJqUE510pBUVGMn4ulL/iRTI4tACTYsNJ736uzFxEBXesPAktA==", 2255 | "dev": true 2256 | }, 2257 | "ffjavascript": { 2258 | "version": "0.2.57", 2259 | "resolved": "https://registry.npmjs.org/ffjavascript/-/ffjavascript-0.2.57.tgz", 2260 | "integrity": "sha512-V+vxZ/zPNcthrWmqfe/1YGgqdkTamJeXiED0tsk7B84g40DKlrTdx47IqZuiygqAVG6zMw4qYuvXftIJWsmfKQ==", 2261 | "dev": true, 2262 | "requires": { 2263 | "wasmbuilder": "0.0.16", 2264 | "wasmcurves": "0.2.0", 2265 | "web-worker": "^1.2.0" 2266 | } 2267 | }, 2268 | "filelist": { 2269 | "version": "1.0.4", 2270 | "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz", 2271 | "integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==", 2272 | "dev": true, 2273 | "requires": { 2274 | "minimatch": "^5.0.1" 2275 | }, 2276 | "dependencies": { 2277 | "brace-expansion": { 2278 | "version": "2.0.1", 2279 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", 2280 | "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", 2281 | "dev": true, 2282 | "requires": { 2283 | "balanced-match": "^1.0.0" 2284 | } 2285 | }, 2286 | "minimatch": { 2287 | "version": "5.1.6", 2288 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", 2289 | "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", 2290 | "dev": true, 2291 | "requires": { 2292 | "brace-expansion": "^2.0.1" 2293 | } 2294 | } 2295 | } 2296 | }, 2297 | "fill-range": { 2298 | "version": "7.0.1", 2299 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", 2300 | "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", 2301 | "dev": true, 2302 | "requires": { 2303 | "to-regex-range": "^5.0.1" 2304 | } 2305 | }, 2306 | "find-up": { 2307 | "version": "5.0.0", 2308 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", 2309 | "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", 2310 | "dev": true, 2311 | "requires": { 2312 | "locate-path": "^6.0.0", 2313 | "path-exists": "^4.0.0" 2314 | } 2315 | }, 2316 | "flat": { 2317 | "version": "5.0.2", 2318 | "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", 2319 | "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", 2320 | "dev": true 2321 | }, 2322 | "fnv-plus": { 2323 | "version": "1.3.1", 2324 | "resolved": "https://registry.npmjs.org/fnv-plus/-/fnv-plus-1.3.1.tgz", 2325 | "integrity": "sha512-Gz1EvfOneuFfk4yG458dJ3TLJ7gV19q3OM/vVvvHf7eT02Hm1DleB4edsia6ahbKgAYxO9gvyQ1ioWZR+a00Yw==", 2326 | "dev": true 2327 | }, 2328 | "for-each": { 2329 | "version": "0.3.3", 2330 | "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", 2331 | "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", 2332 | "dev": true, 2333 | "requires": { 2334 | "is-callable": "^1.1.3" 2335 | } 2336 | }, 2337 | "fs.realpath": { 2338 | "version": "1.0.0", 2339 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 2340 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", 2341 | "dev": true 2342 | }, 2343 | "fsevents": { 2344 | "version": "2.3.2", 2345 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", 2346 | "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", 2347 | "dev": true, 2348 | "optional": true 2349 | }, 2350 | "function-bind": { 2351 | "version": "1.1.1", 2352 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 2353 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", 2354 | "dev": true 2355 | }, 2356 | "get-caller-file": { 2357 | "version": "2.0.5", 2358 | "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", 2359 | "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", 2360 | "dev": true 2361 | }, 2362 | "get-func-name": { 2363 | "version": "2.0.0", 2364 | "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", 2365 | "integrity": "sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==", 2366 | "dev": true 2367 | }, 2368 | "get-intrinsic": { 2369 | "version": "1.2.0", 2370 | "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.0.tgz", 2371 | "integrity": "sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==", 2372 | "dev": true, 2373 | "requires": { 2374 | "function-bind": "^1.1.1", 2375 | "has": "^1.0.3", 2376 | "has-symbols": "^1.0.3" 2377 | } 2378 | }, 2379 | "glob": { 2380 | "version": "7.2.0", 2381 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", 2382 | "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", 2383 | "dev": true, 2384 | "requires": { 2385 | "fs.realpath": "^1.0.0", 2386 | "inflight": "^1.0.4", 2387 | "inherits": "2", 2388 | "minimatch": "^3.0.4", 2389 | "once": "^1.3.0", 2390 | "path-is-absolute": "^1.0.0" 2391 | } 2392 | }, 2393 | "glob-parent": { 2394 | "version": "5.1.2", 2395 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", 2396 | "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", 2397 | "dev": true, 2398 | "requires": { 2399 | "is-glob": "^4.0.1" 2400 | } 2401 | }, 2402 | "gopd": { 2403 | "version": "1.0.1", 2404 | "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", 2405 | "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", 2406 | "dev": true, 2407 | "requires": { 2408 | "get-intrinsic": "^1.1.3" 2409 | } 2410 | }, 2411 | "has": { 2412 | "version": "1.0.3", 2413 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 2414 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 2415 | "dev": true, 2416 | "requires": { 2417 | "function-bind": "^1.1.1" 2418 | } 2419 | }, 2420 | "has-flag": { 2421 | "version": "4.0.0", 2422 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 2423 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", 2424 | "dev": true 2425 | }, 2426 | "has-symbols": { 2427 | "version": "1.0.3", 2428 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", 2429 | "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", 2430 | "dev": true 2431 | }, 2432 | "has-tostringtag": { 2433 | "version": "1.0.0", 2434 | "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", 2435 | "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", 2436 | "dev": true, 2437 | "requires": { 2438 | "has-symbols": "^1.0.2" 2439 | } 2440 | }, 2441 | "he": { 2442 | "version": "1.2.0", 2443 | "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", 2444 | "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", 2445 | "dev": true 2446 | }, 2447 | "hoopy": { 2448 | "version": "0.1.4", 2449 | "resolved": "https://registry.npmjs.org/hoopy/-/hoopy-0.1.4.tgz", 2450 | "integrity": "sha512-HRcs+2mr52W0K+x8RzcLzuPPmVIKMSv97RGHy0Ea9y/mpcaK+xTrjICA04KAHi4GRzxliNqNJEFYWHghy3rSfQ==", 2451 | "dev": true 2452 | }, 2453 | "inflight": { 2454 | "version": "1.0.6", 2455 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 2456 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", 2457 | "dev": true, 2458 | "requires": { 2459 | "once": "^1.3.0", 2460 | "wrappy": "1" 2461 | } 2462 | }, 2463 | "inherits": { 2464 | "version": "2.0.4", 2465 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 2466 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 2467 | "dev": true 2468 | }, 2469 | "is-arguments": { 2470 | "version": "1.1.1", 2471 | "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", 2472 | "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", 2473 | "dev": true, 2474 | "requires": { 2475 | "call-bind": "^1.0.2", 2476 | "has-tostringtag": "^1.0.0" 2477 | } 2478 | }, 2479 | "is-binary-path": { 2480 | "version": "2.1.0", 2481 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", 2482 | "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", 2483 | "dev": true, 2484 | "requires": { 2485 | "binary-extensions": "^2.0.0" 2486 | } 2487 | }, 2488 | "is-callable": { 2489 | "version": "1.2.7", 2490 | "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", 2491 | "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", 2492 | "dev": true 2493 | }, 2494 | "is-extglob": { 2495 | "version": "2.1.1", 2496 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 2497 | "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", 2498 | "dev": true 2499 | }, 2500 | "is-fullwidth-code-point": { 2501 | "version": "3.0.0", 2502 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 2503 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", 2504 | "dev": true 2505 | }, 2506 | "is-generator-function": { 2507 | "version": "1.0.10", 2508 | "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", 2509 | "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", 2510 | "dev": true, 2511 | "requires": { 2512 | "has-tostringtag": "^1.0.0" 2513 | } 2514 | }, 2515 | "is-glob": { 2516 | "version": "4.0.3", 2517 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", 2518 | "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", 2519 | "dev": true, 2520 | "requires": { 2521 | "is-extglob": "^2.1.1" 2522 | } 2523 | }, 2524 | "is-number": { 2525 | "version": "7.0.0", 2526 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", 2527 | "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", 2528 | "dev": true 2529 | }, 2530 | "is-plain-obj": { 2531 | "version": "2.1.0", 2532 | "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", 2533 | "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", 2534 | "dev": true 2535 | }, 2536 | "is-typed-array": { 2537 | "version": "1.1.10", 2538 | "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz", 2539 | "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==", 2540 | "dev": true, 2541 | "requires": { 2542 | "available-typed-arrays": "^1.0.5", 2543 | "call-bind": "^1.0.2", 2544 | "for-each": "^0.3.3", 2545 | "gopd": "^1.0.1", 2546 | "has-tostringtag": "^1.0.0" 2547 | } 2548 | }, 2549 | "is-unicode-supported": { 2550 | "version": "0.1.0", 2551 | "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", 2552 | "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", 2553 | "dev": true 2554 | }, 2555 | "jake": { 2556 | "version": "10.8.5", 2557 | "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.5.tgz", 2558 | "integrity": "sha512-sVpxYeuAhWt0OTWITwT98oyV0GsXyMlXCF+3L1SuafBVUIr/uILGRB+NqwkzhgXKvoJpDIpQvqkUALgdmQsQxw==", 2559 | "dev": true, 2560 | "requires": { 2561 | "async": "^3.2.3", 2562 | "chalk": "^4.0.2", 2563 | "filelist": "^1.0.1", 2564 | "minimatch": "^3.0.4" 2565 | } 2566 | }, 2567 | "js-sha3": { 2568 | "version": "0.8.0", 2569 | "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", 2570 | "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==", 2571 | "dev": true 2572 | }, 2573 | "js-yaml": { 2574 | "version": "4.1.0", 2575 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", 2576 | "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", 2577 | "dev": true, 2578 | "requires": { 2579 | "argparse": "^2.0.1" 2580 | } 2581 | }, 2582 | "json5": { 2583 | "version": "1.0.2", 2584 | "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz", 2585 | "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", 2586 | "dev": true, 2587 | "optional": true, 2588 | "requires": { 2589 | "minimist": "^1.2.0" 2590 | } 2591 | }, 2592 | "locate-path": { 2593 | "version": "6.0.0", 2594 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", 2595 | "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", 2596 | "dev": true, 2597 | "requires": { 2598 | "p-locate": "^5.0.0" 2599 | } 2600 | }, 2601 | "log-symbols": { 2602 | "version": "4.1.0", 2603 | "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", 2604 | "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", 2605 | "dev": true, 2606 | "requires": { 2607 | "chalk": "^4.1.0", 2608 | "is-unicode-supported": "^0.1.0" 2609 | } 2610 | }, 2611 | "logplease": { 2612 | "version": "1.2.15", 2613 | "resolved": "https://registry.npmjs.org/logplease/-/logplease-1.2.15.tgz", 2614 | "integrity": "sha512-jLlHnlsPSJjpwUfcNyUxXCl33AYg2cHhIf9QhGL2T4iPT0XPB+xP1LRKFPgIg1M/sg9kAJvy94w9CzBNrfnstA==", 2615 | "dev": true 2616 | }, 2617 | "loupe": { 2618 | "version": "2.3.6", 2619 | "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.6.tgz", 2620 | "integrity": "sha512-RaPMZKiMy8/JruncMU5Bt6na1eftNoo++R4Y+N2FrxkDVTrGvcyzFTsaGif4QTeKESheMGegbhw6iUAq+5A8zA==", 2621 | "dev": true, 2622 | "requires": { 2623 | "get-func-name": "^2.0.0" 2624 | } 2625 | }, 2626 | "make-error": { 2627 | "version": "1.3.6", 2628 | "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", 2629 | "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", 2630 | "dev": true 2631 | }, 2632 | "minimatch": { 2633 | "version": "3.1.2", 2634 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 2635 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 2636 | "dev": true, 2637 | "requires": { 2638 | "brace-expansion": "^1.1.7" 2639 | } 2640 | }, 2641 | "minimist": { 2642 | "version": "1.2.8", 2643 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", 2644 | "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", 2645 | "dev": true 2646 | }, 2647 | "mkdirp": { 2648 | "version": "0.5.6", 2649 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", 2650 | "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", 2651 | "dev": true, 2652 | "requires": { 2653 | "minimist": "^1.2.6" 2654 | } 2655 | }, 2656 | "mocha": { 2657 | "version": "10.2.0", 2658 | "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.2.0.tgz", 2659 | "integrity": "sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg==", 2660 | "dev": true, 2661 | "requires": { 2662 | "ansi-colors": "4.1.1", 2663 | "browser-stdout": "1.3.1", 2664 | "chokidar": "3.5.3", 2665 | "debug": "4.3.4", 2666 | "diff": "5.0.0", 2667 | "escape-string-regexp": "4.0.0", 2668 | "find-up": "5.0.0", 2669 | "glob": "7.2.0", 2670 | "he": "1.2.0", 2671 | "js-yaml": "4.1.0", 2672 | "log-symbols": "4.1.0", 2673 | "minimatch": "5.0.1", 2674 | "ms": "2.1.3", 2675 | "nanoid": "3.3.3", 2676 | "serialize-javascript": "6.0.0", 2677 | "strip-json-comments": "3.1.1", 2678 | "supports-color": "8.1.1", 2679 | "workerpool": "6.2.1", 2680 | "yargs": "16.2.0", 2681 | "yargs-parser": "20.2.4", 2682 | "yargs-unparser": "2.0.0" 2683 | }, 2684 | "dependencies": { 2685 | "brace-expansion": { 2686 | "version": "2.0.1", 2687 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", 2688 | "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", 2689 | "dev": true, 2690 | "requires": { 2691 | "balanced-match": "^1.0.0" 2692 | } 2693 | }, 2694 | "minimatch": { 2695 | "version": "5.0.1", 2696 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz", 2697 | "integrity": "sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==", 2698 | "dev": true, 2699 | "requires": { 2700 | "brace-expansion": "^2.0.1" 2701 | } 2702 | }, 2703 | "supports-color": { 2704 | "version": "8.1.1", 2705 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", 2706 | "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", 2707 | "dev": true, 2708 | "requires": { 2709 | "has-flag": "^4.0.0" 2710 | } 2711 | } 2712 | } 2713 | }, 2714 | "ms": { 2715 | "version": "2.1.3", 2716 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", 2717 | "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", 2718 | "dev": true 2719 | }, 2720 | "nanoassert": { 2721 | "version": "2.0.0", 2722 | "resolved": "https://registry.npmjs.org/nanoassert/-/nanoassert-2.0.0.tgz", 2723 | "integrity": "sha512-7vO7n28+aYO4J+8w96AzhmU8G+Y/xpPDJz/se19ICsqj/momRbb9mh9ZUtkoJ5X3nTnPdhEJyc0qnM6yAsHBaA==", 2724 | "dev": true 2725 | }, 2726 | "nanoid": { 2727 | "version": "3.3.3", 2728 | "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", 2729 | "integrity": "sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==", 2730 | "dev": true 2731 | }, 2732 | "normalize-path": { 2733 | "version": "3.0.0", 2734 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", 2735 | "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", 2736 | "dev": true 2737 | }, 2738 | "once": { 2739 | "version": "1.4.0", 2740 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 2741 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", 2742 | "dev": true, 2743 | "requires": { 2744 | "wrappy": "1" 2745 | } 2746 | }, 2747 | "p-limit": { 2748 | "version": "3.1.0", 2749 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", 2750 | "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", 2751 | "dev": true, 2752 | "requires": { 2753 | "yocto-queue": "^0.1.0" 2754 | } 2755 | }, 2756 | "p-locate": { 2757 | "version": "5.0.0", 2758 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", 2759 | "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", 2760 | "dev": true, 2761 | "requires": { 2762 | "p-limit": "^3.0.2" 2763 | } 2764 | }, 2765 | "path-exists": { 2766 | "version": "4.0.0", 2767 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", 2768 | "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", 2769 | "dev": true 2770 | }, 2771 | "path-is-absolute": { 2772 | "version": "1.0.1", 2773 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 2774 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", 2775 | "dev": true 2776 | }, 2777 | "pathval": { 2778 | "version": "1.1.1", 2779 | "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", 2780 | "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", 2781 | "dev": true 2782 | }, 2783 | "picomatch": { 2784 | "version": "2.3.1", 2785 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", 2786 | "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", 2787 | "dev": true 2788 | }, 2789 | "poseidon-lite": { 2790 | "version": "0.0.2", 2791 | "resolved": "https://registry.npmjs.org/poseidon-lite/-/poseidon-lite-0.0.2.tgz", 2792 | "integrity": "sha512-bGdDPTOQkJbBjbtSEWc3gY+YhqlGTxGlZ8041F8TGGg5QyGGp1Cfs4b8AEnFFjHbkPg6WdWXUgEjU1GKOKWAPw==", 2793 | "dev": true 2794 | }, 2795 | "r1csfile": { 2796 | "version": "0.0.41", 2797 | "resolved": "https://registry.npmjs.org/r1csfile/-/r1csfile-0.0.41.tgz", 2798 | "integrity": "sha512-Q1WDF3u1vYeAwjHo4YuddkA8Aq0TulbKjmGm99+Atn13Lf5fTsMZBnBV9T741w8iSyPFG6Uh6sapQby77sREqA==", 2799 | "dev": true, 2800 | "requires": { 2801 | "@iden3/bigarray": "0.0.2", 2802 | "@iden3/binfileutils": "0.0.11", 2803 | "fastfile": "0.0.20", 2804 | "ffjavascript": "0.2.56" 2805 | }, 2806 | "dependencies": { 2807 | "ffjavascript": { 2808 | "version": "0.2.56", 2809 | "resolved": "https://registry.npmjs.org/ffjavascript/-/ffjavascript-0.2.56.tgz", 2810 | "integrity": "sha512-em6G5Lrj7ucIqj4TYEgyoHs/j99Urwwqa4+YxEVY2hggnpRimVj+noX5pZQTxI1pvtiekZI4rG65JBf0xraXrg==", 2811 | "dev": true, 2812 | "requires": { 2813 | "wasmbuilder": "0.0.16", 2814 | "wasmcurves": "0.2.0", 2815 | "web-worker": "^1.2.0" 2816 | } 2817 | } 2818 | } 2819 | }, 2820 | "randombytes": { 2821 | "version": "2.1.0", 2822 | "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", 2823 | "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", 2824 | "dev": true, 2825 | "requires": { 2826 | "safe-buffer": "^5.1.0" 2827 | } 2828 | }, 2829 | "readdirp": { 2830 | "version": "3.6.0", 2831 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", 2832 | "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", 2833 | "dev": true, 2834 | "requires": { 2835 | "picomatch": "^2.2.1" 2836 | } 2837 | }, 2838 | "require-directory": { 2839 | "version": "2.1.1", 2840 | "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", 2841 | "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", 2842 | "dev": true 2843 | }, 2844 | "rimraf": { 2845 | "version": "3.0.2", 2846 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", 2847 | "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", 2848 | "dev": true, 2849 | "requires": { 2850 | "glob": "^7.1.3" 2851 | } 2852 | }, 2853 | "safe-buffer": { 2854 | "version": "5.2.1", 2855 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 2856 | "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", 2857 | "dev": true 2858 | }, 2859 | "serialize-javascript": { 2860 | "version": "6.0.0", 2861 | "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", 2862 | "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", 2863 | "dev": true, 2864 | "requires": { 2865 | "randombytes": "^2.1.0" 2866 | } 2867 | }, 2868 | "snarkjs": { 2869 | "version": "0.7.0", 2870 | "resolved": "https://registry.npmjs.org/snarkjs/-/snarkjs-0.7.0.tgz", 2871 | "integrity": "sha512-Vu5W+0Va6X1xvlCllpZ2r3/S7MafnL6IrAv09lk/F+VNDHuHEHx3xopR9Kr70p2KpbBBJ/HB9VCDZWism8WGlA==", 2872 | "dev": true, 2873 | "requires": { 2874 | "@iden3/binfileutils": "0.0.11", 2875 | "bfj": "^7.0.2", 2876 | "blake2b-wasm": "^2.4.0", 2877 | "circom_runtime": "0.1.22", 2878 | "ejs": "^3.1.6", 2879 | "fastfile": "0.0.20", 2880 | "ffjavascript": "0.2.59", 2881 | "js-sha3": "^0.8.0", 2882 | "logplease": "^1.2.15", 2883 | "r1csfile": "0.0.45" 2884 | }, 2885 | "dependencies": { 2886 | "ffjavascript": { 2887 | "version": "0.2.59", 2888 | "resolved": "https://registry.npmjs.org/ffjavascript/-/ffjavascript-0.2.59.tgz", 2889 | "integrity": "sha512-QssOEUv+wilz9Sg7Zaj6KWAm7QceOAEsFuEBTltUsDo1cjn11rA/LGYvzFBPbzNfxRlZxwgJ7uxpCQcdDlrNfw==", 2890 | "dev": true, 2891 | "requires": { 2892 | "wasmbuilder": "0.0.16", 2893 | "wasmcurves": "0.2.1", 2894 | "web-worker": "^1.2.0" 2895 | } 2896 | }, 2897 | "r1csfile": { 2898 | "version": "0.0.45", 2899 | "resolved": "https://registry.npmjs.org/r1csfile/-/r1csfile-0.0.45.tgz", 2900 | "integrity": "sha512-YKIp4D441aZ6OoI9y+bfAyb2j4Cl+OFq/iiX6pPWDrL4ZO968h0dq0w07i65edvrTt7/G43mTnl0qEuLXyp/Yw==", 2901 | "dev": true, 2902 | "requires": { 2903 | "@iden3/bigarray": "0.0.2", 2904 | "@iden3/binfileutils": "0.0.11", 2905 | "fastfile": "0.0.20", 2906 | "ffjavascript": "0.2.57" 2907 | }, 2908 | "dependencies": { 2909 | "ffjavascript": { 2910 | "version": "0.2.57", 2911 | "resolved": "https://registry.npmjs.org/ffjavascript/-/ffjavascript-0.2.57.tgz", 2912 | "integrity": "sha512-V+vxZ/zPNcthrWmqfe/1YGgqdkTamJeXiED0tsk7B84g40DKlrTdx47IqZuiygqAVG6zMw4qYuvXftIJWsmfKQ==", 2913 | "dev": true, 2914 | "requires": { 2915 | "wasmbuilder": "0.0.16", 2916 | "wasmcurves": "0.2.0", 2917 | "web-worker": "^1.2.0" 2918 | } 2919 | }, 2920 | "wasmcurves": { 2921 | "version": "0.2.0", 2922 | "resolved": "https://registry.npmjs.org/wasmcurves/-/wasmcurves-0.2.0.tgz", 2923 | "integrity": "sha512-3e2rbxdujOwaod657gxgmdhZNn+i1qKdHO3Y/bK+8E7bV8ttV/fu5FO4/WLBACF375cK0QDLOP+65Na63qYuWA==", 2924 | "dev": true, 2925 | "requires": { 2926 | "wasmbuilder": "0.0.16" 2927 | } 2928 | } 2929 | } 2930 | }, 2931 | "wasmcurves": { 2932 | "version": "0.2.1", 2933 | "resolved": "https://registry.npmjs.org/wasmcurves/-/wasmcurves-0.2.1.tgz", 2934 | "integrity": "sha512-9ciO7bUE5bgpbOcdK7IO3enrSVIKHwrQmPibok4GLJWaCA7Wyqc9PRYnu5HbiFv9NDFNqVKPtU5R6Is5KujBLg==", 2935 | "dev": true, 2936 | "requires": { 2937 | "wasmbuilder": "0.0.16" 2938 | } 2939 | } 2940 | } 2941 | }, 2942 | "source-map": { 2943 | "version": "0.6.1", 2944 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", 2945 | "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", 2946 | "dev": true 2947 | }, 2948 | "source-map-support": { 2949 | "version": "0.5.21", 2950 | "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", 2951 | "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", 2952 | "dev": true, 2953 | "requires": { 2954 | "buffer-from": "^1.0.0", 2955 | "source-map": "^0.6.0" 2956 | } 2957 | }, 2958 | "string-width": { 2959 | "version": "4.2.3", 2960 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 2961 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 2962 | "dev": true, 2963 | "requires": { 2964 | "emoji-regex": "^8.0.0", 2965 | "is-fullwidth-code-point": "^3.0.0", 2966 | "strip-ansi": "^6.0.1" 2967 | } 2968 | }, 2969 | "strip-ansi": { 2970 | "version": "6.0.1", 2971 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 2972 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 2973 | "dev": true, 2974 | "requires": { 2975 | "ansi-regex": "^5.0.1" 2976 | } 2977 | }, 2978 | "strip-bom": { 2979 | "version": "3.0.0", 2980 | "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", 2981 | "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", 2982 | "dev": true, 2983 | "optional": true 2984 | }, 2985 | "strip-json-comments": { 2986 | "version": "3.1.1", 2987 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", 2988 | "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", 2989 | "dev": true 2990 | }, 2991 | "supports-color": { 2992 | "version": "7.2.0", 2993 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 2994 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 2995 | "dev": true, 2996 | "requires": { 2997 | "has-flag": "^4.0.0" 2998 | } 2999 | }, 3000 | "tmp": { 3001 | "version": "0.2.1", 3002 | "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", 3003 | "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", 3004 | "dev": true, 3005 | "requires": { 3006 | "rimraf": "^3.0.0" 3007 | } 3008 | }, 3009 | "tmp-promise": { 3010 | "version": "3.0.3", 3011 | "resolved": "https://registry.npmjs.org/tmp-promise/-/tmp-promise-3.0.3.tgz", 3012 | "integrity": "sha512-RwM7MoPojPxsOBYnyd2hy0bxtIlVrihNs9pj5SUvY8Zz1sQcQG2tG1hSr8PDxfgEB8RNKDhqbIlroIarSNDNsQ==", 3013 | "dev": true, 3014 | "requires": { 3015 | "tmp": "^0.2.0" 3016 | } 3017 | }, 3018 | "to-regex-range": { 3019 | "version": "5.0.1", 3020 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", 3021 | "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", 3022 | "dev": true, 3023 | "requires": { 3024 | "is-number": "^7.0.0" 3025 | } 3026 | }, 3027 | "tryer": { 3028 | "version": "1.0.1", 3029 | "resolved": "https://registry.npmjs.org/tryer/-/tryer-1.0.1.tgz", 3030 | "integrity": "sha512-c3zayb8/kWWpycWYg87P71E1S1ZL6b6IJxfb5fvsUgsf0S2MVGaDhDXXjDMpdCpfWXqptc+4mXwmiy1ypXqRAA==", 3031 | "dev": true 3032 | }, 3033 | "ts-mocha": { 3034 | "version": "10.0.0", 3035 | "resolved": "https://registry.npmjs.org/ts-mocha/-/ts-mocha-10.0.0.tgz", 3036 | "integrity": "sha512-VRfgDO+iiuJFlNB18tzOfypJ21xn2xbuZyDvJvqpTbWgkAgD17ONGr8t+Tl8rcBtOBdjXp5e/Rk+d39f7XBHRw==", 3037 | "dev": true, 3038 | "requires": { 3039 | "ts-node": "7.0.1", 3040 | "tsconfig-paths": "^3.5.0" 3041 | } 3042 | }, 3043 | "ts-node": { 3044 | "version": "7.0.1", 3045 | "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-7.0.1.tgz", 3046 | "integrity": "sha512-BVwVbPJRspzNh2yfslyT1PSbl5uIk03EZlb493RKHN4qej/D06n1cEhjlOJG69oFsE7OT8XjpTUcYf6pKTLMhw==", 3047 | "dev": true, 3048 | "requires": { 3049 | "arrify": "^1.0.0", 3050 | "buffer-from": "^1.1.0", 3051 | "diff": "^3.1.0", 3052 | "make-error": "^1.1.1", 3053 | "minimist": "^1.2.0", 3054 | "mkdirp": "^0.5.1", 3055 | "source-map-support": "^0.5.6", 3056 | "yn": "^2.0.0" 3057 | }, 3058 | "dependencies": { 3059 | "diff": { 3060 | "version": "3.5.0", 3061 | "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", 3062 | "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", 3063 | "dev": true 3064 | } 3065 | } 3066 | }, 3067 | "tsconfig-paths": { 3068 | "version": "3.14.2", 3069 | "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz", 3070 | "integrity": "sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g==", 3071 | "dev": true, 3072 | "optional": true, 3073 | "requires": { 3074 | "@types/json5": "^0.0.29", 3075 | "json5": "^1.0.2", 3076 | "minimist": "^1.2.6", 3077 | "strip-bom": "^3.0.0" 3078 | } 3079 | }, 3080 | "type-detect": { 3081 | "version": "4.0.8", 3082 | "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", 3083 | "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", 3084 | "dev": true 3085 | }, 3086 | "typescript": { 3087 | "version": "4.9.5", 3088 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", 3089 | "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", 3090 | "dev": true 3091 | }, 3092 | "util": { 3093 | "version": "0.12.5", 3094 | "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", 3095 | "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", 3096 | "dev": true, 3097 | "requires": { 3098 | "inherits": "^2.0.3", 3099 | "is-arguments": "^1.0.4", 3100 | "is-generator-function": "^1.0.7", 3101 | "is-typed-array": "^1.1.3", 3102 | "which-typed-array": "^1.1.2" 3103 | } 3104 | }, 3105 | "wasmbuilder": { 3106 | "version": "0.0.16", 3107 | "resolved": "https://registry.npmjs.org/wasmbuilder/-/wasmbuilder-0.0.16.tgz", 3108 | "integrity": "sha512-Qx3lEFqaVvp1cEYW7Bfi+ebRJrOiwz2Ieu7ZG2l7YyeSJIok/reEQCQCuicj/Y32ITIJuGIM9xZQppGx5LrQdA==", 3109 | "dev": true 3110 | }, 3111 | "wasmcurves": { 3112 | "version": "0.2.0", 3113 | "resolved": "https://registry.npmjs.org/wasmcurves/-/wasmcurves-0.2.0.tgz", 3114 | "integrity": "sha512-3e2rbxdujOwaod657gxgmdhZNn+i1qKdHO3Y/bK+8E7bV8ttV/fu5FO4/WLBACF375cK0QDLOP+65Na63qYuWA==", 3115 | "dev": true, 3116 | "requires": { 3117 | "wasmbuilder": "0.0.16" 3118 | } 3119 | }, 3120 | "web-worker": { 3121 | "version": "1.2.0", 3122 | "resolved": "https://registry.npmjs.org/web-worker/-/web-worker-1.2.0.tgz", 3123 | "integrity": "sha512-PgF341avzqyx60neE9DD+XS26MMNMoUQRz9NOZwW32nPQrF6p77f1htcnjBSEV8BGMKZ16choqUG4hyI0Hx7mA==", 3124 | "dev": true 3125 | }, 3126 | "which-typed-array": { 3127 | "version": "1.1.9", 3128 | "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz", 3129 | "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==", 3130 | "dev": true, 3131 | "requires": { 3132 | "available-typed-arrays": "^1.0.5", 3133 | "call-bind": "^1.0.2", 3134 | "for-each": "^0.3.3", 3135 | "gopd": "^1.0.1", 3136 | "has-tostringtag": "^1.0.0", 3137 | "is-typed-array": "^1.1.10" 3138 | } 3139 | }, 3140 | "workerpool": { 3141 | "version": "6.2.1", 3142 | "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz", 3143 | "integrity": "sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==", 3144 | "dev": true 3145 | }, 3146 | "wrap-ansi": { 3147 | "version": "7.0.0", 3148 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", 3149 | "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", 3150 | "dev": true, 3151 | "requires": { 3152 | "ansi-styles": "^4.0.0", 3153 | "string-width": "^4.1.0", 3154 | "strip-ansi": "^6.0.0" 3155 | } 3156 | }, 3157 | "wrappy": { 3158 | "version": "1.0.2", 3159 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 3160 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", 3161 | "dev": true 3162 | }, 3163 | "y18n": { 3164 | "version": "5.0.8", 3165 | "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", 3166 | "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", 3167 | "dev": true 3168 | }, 3169 | "yargs": { 3170 | "version": "16.2.0", 3171 | "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", 3172 | "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", 3173 | "dev": true, 3174 | "requires": { 3175 | "cliui": "^7.0.2", 3176 | "escalade": "^3.1.1", 3177 | "get-caller-file": "^2.0.5", 3178 | "require-directory": "^2.1.1", 3179 | "string-width": "^4.2.0", 3180 | "y18n": "^5.0.5", 3181 | "yargs-parser": "^20.2.2" 3182 | } 3183 | }, 3184 | "yargs-parser": { 3185 | "version": "20.2.4", 3186 | "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", 3187 | "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", 3188 | "dev": true 3189 | }, 3190 | "yargs-unparser": { 3191 | "version": "2.0.0", 3192 | "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", 3193 | "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", 3194 | "dev": true, 3195 | "requires": { 3196 | "camelcase": "^6.0.0", 3197 | "decamelize": "^4.0.0", 3198 | "flat": "^5.0.2", 3199 | "is-plain-obj": "^2.1.0" 3200 | } 3201 | }, 3202 | "yn": { 3203 | "version": "2.0.0", 3204 | "resolved": "https://registry.npmjs.org/yn/-/yn-2.0.0.tgz", 3205 | "integrity": "sha512-uTv8J/wiWTgUTg+9vLTi//leUl5vDQS6uii/emeTb2ssY7vl6QWf2fFbIIGjnhjvbdKlU0ed7QPgY1htTC86jQ==", 3206 | "dev": true 3207 | }, 3208 | "yocto-queue": { 3209 | "version": "0.1.0", 3210 | "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", 3211 | "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", 3212 | "dev": true 3213 | } 3214 | } 3215 | } 3216 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "scripts": { 3 | "build": "./scripts/build-circuits.sh rln && ./scripts/build-circuits.sh withdraw", 4 | "test": "ts-mocha --exit test/**/*.test.ts" 5 | }, 6 | "dependencies": { 7 | "circomlib": "^2.0.5" 8 | }, 9 | "devDependencies": { 10 | "@types/mocha": "^10.0.1", 11 | "@types/node": "^18.14.6", 12 | "@zk-kit/incremental-merkle-tree": "^1.0.0", 13 | "circom_tester": "^0.0.19", 14 | "mocha": "^10.2.0", 15 | "poseidon-lite": "^0.0.2", 16 | "snarkjs": "^0.7.0", 17 | "ts-mocha": "^10.0.0", 18 | "typescript": "^4.9.5" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /scripts/build-circuits.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | cd "$(dirname "$0")" 5 | mkdir -p ../build/contracts 6 | mkdir -p ../build/setup 7 | 8 | # Build context 9 | cd ../build 10 | echo -e "\033[36m----------------------\033[0m" 11 | echo -e "\033[36mSETTING UP ENVIRONMENT\033[0m" 12 | echo -e "\033[36m----------------------\033[0m" 13 | if [ -f ./powersOfTau28_hez_final_14.ptau ]; then 14 | echo -e "\033[33mpowersOfTau28_hez_final_14.ptau already exists. Skipping.\033[0m" 15 | else 16 | echo -e "\033[33mDownloading powersOfTau28_hez_final_14.ptau\033[0m" 17 | wget https://hermez.s3-eu-west-1.amazonaws.com/powersOfTau28_hez_final_14.ptau 18 | fi 19 | 20 | circuit_dir="../circuits" 21 | circuit_path="" 22 | circuit_type="" 23 | zkeydir="../zkeyFiles" 24 | 25 | if [ "$1" = "rln" ]; then 26 | echo -e "\033[32mUsing RLN circuit\033[0m" 27 | circuit_name="rln" 28 | elif [ "$1" = "withdraw" ]; then 29 | echo -e "\033[32mUsing Withdraw circuit\033[0m" 30 | circuit_name="withdraw" 31 | else 32 | echo -e "\033[33mUnrecognized argument" 33 | exit 1 34 | fi 35 | circuit_path="$circuit_dir/$circuit_name.circom" 36 | zkeypath="$zkeydir/$circuit_name" 37 | 38 | if ! [ -x "$(command -v circom)" ]; then 39 | echo -e '\033[31mError: circom is not installed.\033[0m' >&2 40 | echo -e '\033[31mError: please install circom: https://docs.circom.io/getting-started/installation/.\033[0m' >&2 41 | exit 1 42 | fi 43 | 44 | echo -e "Circuit path: $circuit_path" 45 | echo -e "\033[36m-----------------\033[0m" 46 | echo -e "\033[36mCOMPILING CIRCUIT\033[0m" 47 | echo -e "\033[36m-----------------\033[0m" 48 | 49 | echo -e "\033[36mBuild Path: $PWD\033[0m" 50 | 51 | circom --version 52 | circom $circuit_path --r1cs --wasm --sym 53 | 54 | npx snarkjs r1cs export json $circuit_name.r1cs $circuit_name.r1cs.json 55 | 56 | echo -e "\033[36mRunning groth16 trusted setup\033[0m" 57 | 58 | npx snarkjs groth16 setup $circuit_name.r1cs powersOfTau28_hez_final_14.ptau setup/circuit_00000.zkey 59 | 60 | npx snarkjs zkey contribute setup/circuit_00000.zkey setup/circuit_00001.zkey --name="First contribution" -v -e="Random entropy" 61 | npx snarkjs zkey contribute setup/circuit_00001.zkey setup/circuit_00002.zkey --name="Second contribution" -v -e="Another random entropy" 62 | npx snarkjs zkey beacon setup/circuit_00002.zkey setup/final.zkey 0102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f 10 -n="Final Beacon phase2" 63 | 64 | echo -e "Exporting artifacts to zkeyFiles and contracts directory" 65 | 66 | mkdir -p $zkeypath 67 | npx snarkjs zkey export verificationkey setup/final.zkey $zkeypath/verification_key.json 68 | npx snarkjs zkey export solidityverifier setup/final.zkey contracts/verifier.sol 69 | 70 | cp $circuit_name\_js/$circuit_name.wasm $zkeypath/circuit.wasm 71 | cp setup/final.zkey $zkeypath/final.zkey 72 | 73 | shasumcmd="shasum -a 256" 74 | 75 | config_path="$zkeypath/circuit.config.toml" 76 | echo -e "[Circuit_Version]" > $config_path 77 | echo -e "RLN_Version = 2" >> $config_path 78 | echo -e "RLN_Type = \"$circuit_name\"" >> $config_path 79 | 80 | echo -e "" >> $config_path 81 | 82 | echo -e "[Circuit_Build]" >> $config_path 83 | echo -e "Circom_Version = \"$(circom --version)\"" >> $config_path 84 | echo -e "GitHub_URL = \"$(git config --get remote.origin.url)\"" >> $config_path 85 | echo -e "Git_Commit = \"$(git describe --always)\"" >> $config_path 86 | echo -e "Compilation_Time = $(date +%s)" >> $config_path 87 | 88 | echo -e "" >> $config_path 89 | echo -e "[Files]" >> $config_path 90 | echo -e "Wasm = \"circuit.wasm\"" >> $config_path 91 | wasm_sha256=$($shasumcmd $zkeypath/circuit.wasm | awk '{print $1}') 92 | echo -e "Wasm_SHA256SUM = \"$wasm_sha256\"" >> $config_path 93 | echo -e "Zkey = \"final.zkey\"" >> $config_path 94 | zkey_sha256=$($shasumcmd $zkeypath/final.zkey | awk '{print $1}') 95 | echo -e "Zkey_SHA256SUM = \"$zkey_sha256\"" >> $config_path 96 | echo -e "Verification_Key = \"verification_key.json\"" >> $config_path 97 | vkey_sha256=$($shasumcmd $zkeypath/verification_key.json | awk '{print $1}') 98 | echo -e "Verification_Key_SHA256SUM = \"$vkey_sha256\"" >> $config_path -------------------------------------------------------------------------------- /scripts/install-circom.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | circom_version=v2.1.5 4 | 5 | if ! [ -x "$(command -v circom)" ]; then 6 | git clone https://github.com/iden3/circom.git 7 | cd circom 8 | git checkout $circom_version 9 | cargo build --release 10 | cargo install --path circom 11 | fi 12 | -------------------------------------------------------------------------------- /test/configs.ts: -------------------------------------------------------------------------------- 1 | // MERKLE TREE 2 | export const MERKLE_TREE_DEPTH = 20; 3 | export const MERKLE_TREE_ZERO_VALUE = BigInt(0); 4 | -------------------------------------------------------------------------------- /test/rln.test.ts: -------------------------------------------------------------------------------- 1 | import * as path from "path"; 2 | import assert from "assert"; 3 | const tester = require("circom_tester").wasm; 4 | import poseidon from "poseidon-lite"; 5 | import { calculateOutput, genFieldElement, genMerkleProof, getSignal } from "./utils" 6 | 7 | 8 | const circuitPath = path.join(__dirname, "..", "circuits", "rln.circom"); 9 | 10 | // ffjavascript has no types so leave circuit with untyped 11 | type CircuitT = any; 12 | 13 | 14 | function calculateLeaf(identitySecret: bigint, userMessageLimit: bigint) { 15 | const identityCommitment = poseidon([identitySecret]) 16 | const rateCommitment = poseidon([identityCommitment, userMessageLimit]) 17 | return rateCommitment 18 | } 19 | 20 | 21 | describe("Test rln.circom", function () { 22 | let circuit: CircuitT; 23 | 24 | this.timeout(30000); 25 | 26 | before(async function () { 27 | circuit = await tester(circuitPath); 28 | }); 29 | 30 | it("Should generate witness with correct outputs", async () => { 31 | // Public inputs 32 | const x = genFieldElement(); 33 | const externalNullifier = genFieldElement(); 34 | // Private inputs 35 | const identitySecret = genFieldElement(); 36 | const userMessageLimit = BigInt(10) 37 | const leaf = calculateLeaf(identitySecret, userMessageLimit) 38 | const merkleProof = genMerkleProof([leaf], 0) 39 | const merkleRoot = merkleProof.root 40 | const messageId = userMessageLimit - BigInt(1) 41 | 42 | const inputs = { 43 | // Private inputs 44 | identitySecret, 45 | userMessageLimit, 46 | messageId, 47 | pathElements: merkleProof.siblings, 48 | identityPathIndex: merkleProof.pathIndices, 49 | // Public inputs 50 | x, 51 | externalNullifier, 52 | } 53 | 54 | // Test: should generate proof if inputs are correct 55 | const witness: bigint[] = await circuit.calculateWitness(inputs, true); 56 | await circuit.checkConstraints(witness); 57 | 58 | const {y, nullifier} = calculateOutput(identitySecret, x, externalNullifier, messageId) 59 | 60 | const outputRoot = await getSignal(circuit, witness, "root") 61 | const outputY = await getSignal(circuit, witness, "y") 62 | const outputNullifier = await getSignal(circuit, witness, "nullifier") 63 | 64 | assert.equal(outputY, y) 65 | assert.equal(outputRoot, merkleRoot) 66 | assert.equal(outputNullifier, nullifier) 67 | }); 68 | 69 | it("should fail to generate witness if messageId is not in range [0, userMessageLimit-1]", async function () { 70 | // Public inputs 71 | const x = genFieldElement(); 72 | const externalNullifier = genFieldElement(); 73 | // Private inputs 74 | const identitySecret = genFieldElement(); 75 | const identitySecretCommitment = poseidon([identitySecret]); 76 | const merkleProof = genMerkleProof([identitySecretCommitment], 0) 77 | const userMessageLimit = BigInt(10) 78 | // valid message id is in the range [0, userMessageLimit-1] 79 | const invalidMessageIds = [userMessageLimit, userMessageLimit + BigInt(1)] 80 | 81 | for (const invalidMessageId of invalidMessageIds) { 82 | const inputs = { 83 | // Private inputs 84 | identitySecret, 85 | userMessageLimit, 86 | messageId: invalidMessageId, 87 | pathElements: merkleProof.siblings, 88 | identityPathIndex: merkleProof.pathIndices, 89 | // Public inputs 90 | x, 91 | externalNullifier, 92 | } 93 | await assert.rejects(async () => { 94 | await circuit.calculateWitness(inputs, true); 95 | }, /Error: Assert Failed/); 96 | } 97 | }); 98 | 99 | }); -------------------------------------------------------------------------------- /test/utils.ts: -------------------------------------------------------------------------------- 1 | import { IncrementalMerkleTree } from "@zk-kit/incremental-merkle-tree"; 2 | import poseidon from "poseidon-lite"; 3 | const ffjavascript = require("ffjavascript"); 4 | 5 | import { MERKLE_TREE_DEPTH, MERKLE_TREE_ZERO_VALUE } from "./configs"; 6 | 7 | 8 | // ffjavascript has no types so leave circuit with untyped 9 | type CircuitT = any; 10 | 11 | const SNARK_FIELD_SIZE = BigInt('21888242871839275222246405745257275088548364400416034343698204186575808495617') 12 | const F = new ffjavascript.ZqField(SNARK_FIELD_SIZE); 13 | 14 | export function genFieldElement() { 15 | return F.random() 16 | } 17 | 18 | export function genMerkleProof(elements: BigInt[], leafIndex: number) { 19 | const tree = new IncrementalMerkleTree(poseidon, MERKLE_TREE_DEPTH, MERKLE_TREE_ZERO_VALUE, 2); 20 | for (let i = 0; i < elements.length; i++) { 21 | tree.insert(elements[i]); 22 | } 23 | const merkleProof = tree.createProof(leafIndex) 24 | merkleProof.siblings = merkleProof.siblings.map((s) => s[0]) 25 | return merkleProof; 26 | } 27 | 28 | export function calculateOutput(identitySecret: bigint, x: bigint, externalNullifier: bigint, messageId: bigint) { 29 | // signal a1 <== Poseidon(3)([identitySecret, externalNullifier, messageId]); 30 | const a1 = poseidon([identitySecret, externalNullifier, messageId]); 31 | // y <== identitySecret + a1 * x; 32 | const y = F.normalize(identitySecret + a1 * x); 33 | const nullifier = poseidon([a1]); 34 | return {y, nullifier} 35 | } 36 | 37 | 38 | export async function getSignal(circuit: CircuitT, witness: bigint[], name: string) { 39 | const prefix = "main" 40 | // E.g. the full name of the signal "root" is "main.root" 41 | // You can look up the signal names using `circuit.getDecoratedOutput(witness))` 42 | const signalFullName = `${prefix}.${name}` 43 | await circuit.loadSymbols() 44 | // symbols[n] = { labelIdx: 1, varIdx: 1, componentIdx: 142 }, 45 | const signalMeta = circuit.symbols[signalFullName] 46 | // Assigned value of the signal is located in the `varIdx`th position 47 | // of the witness array 48 | const indexInWitness = signalMeta.varIdx 49 | return BigInt(witness[indexInWitness]); 50 | } 51 | -------------------------------------------------------------------------------- /test/withdraw.test.ts: -------------------------------------------------------------------------------- 1 | import * as path from "path"; 2 | import assert from "assert"; 3 | const tester = require("circom_tester").wasm; 4 | import poseidon from "poseidon-lite"; 5 | import { genFieldElement, getSignal } from "./utils"; 6 | 7 | const circuitPath = path.join(__dirname, "..", "circuits", "withdraw.circom"); 8 | 9 | // ffjavascript has no types so leave circuit with untyped 10 | type CircuitT = any; 11 | 12 | 13 | describe("Test withdraw.circom", function () { 14 | let circuit: CircuitT; 15 | 16 | this.timeout(30000); 17 | 18 | before(async function () { 19 | circuit = await tester(circuitPath); 20 | }); 21 | 22 | it("Should generate witness with correct outputs", async () => { 23 | // Private inputs 24 | const identitySecret = genFieldElement(); 25 | // Public inputs 26 | const address = genFieldElement(); 27 | // Test: should generate proof if inputs are correct 28 | const witness: bigint[] = await circuit.calculateWitness({identitySecret, address}, true); 29 | await circuit.checkConstraints(witness); 30 | const expectedIdentityCommitment = poseidon([identitySecret]) 31 | const outputIdentityCommitment = await getSignal(circuit, witness, "identityCommitment") 32 | assert.equal(outputIdentityCommitment, expectedIdentityCommitment) 33 | }); 34 | }); -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "es6", 5 | "strict": true, 6 | "esModuleInterop": true, 7 | "forceConsistentCasingInFileNames": true, 8 | "resolveJsonModule": true, 9 | "declaration": true, 10 | "sourceMap": true, 11 | "types": ["mocha", "node"] 12 | }, 13 | "include": ["test/**/*.ts"], 14 | "exclude": ["node_modules"] 15 | } 16 | --------------------------------------------------------------------------------